-
Notifications
You must be signed in to change notification settings - Fork 0
Linux porting to lainsoc, based on LoongsonEdu/la32r-Linux
License
LainChip/la32r-Linux
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
内核编译 1.进入源码目录 cd linux-5.14-loongarch32 2.配置la_build.sh下loongarch32工具链位置 vim la_build.sh 修改CROSS_COMPILE参数,例:CROSS_COMPILE=~/work/toolchain/install/bin/loongarch32-linux-gnu- 3.编译好的busybox放在了initrd_pck32目录下,编译内核时需要指明其路径,修改方式有两种: 3.1 修改la_build/.config文件中的CONFIG_INITRAMFS_SOURCE参数 例:CONFIG_INITRAMFS_SOURCE="~/linux-5.14-loongarch32/initrd_pck32" 3.2 在menuconfig中"General Setup" -> "Initramfs source file(s)" 修改 4. 执行 ./la_build.sh开始编译. 5.生成的vmlinux内核位于la_build目录下
About
Linux porting to lainsoc, based on LoongsonEdu/la32r-Linux
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published