Buildroot
源代码
主要
http://git.buildroot.net/buildroot/
https://git.busybox.net/buildroot/
备用
https://github.com/buildroot/buildroot.git
说明
这是一个强大的嵌入式Linux系统构建工具,可一键构建嵌入式Linux。
buildroot可直接构建嵌入式Linux开发的各种工具,不用为编译环境的配置而烦恼。
个人使用场景
- 为LicheePi-Zero(基于全志V3S芯片)构建内核。
使用Qemu测试
buildroot预置大量Qemu defconfig配置文件,使用这些配置可方便使用Qemu测试Linux内核、根文件系统、应用程序等。
在buildroot编译时可采用make defconfig配置文件
,截止编辑时具体支持的defconfig配置文件列表如下:
- qemu_aarch64_ebbr_defconfig
- qemu_aarch64_sbsa_defconfig
- qemu_aarch64_virt_defconfig
- qemu_arm_ebbr_defconfig
- qemu_arm_versatile_defconfig
- qemu_arm_vexpress_defconfig
- qemu_arm_vexpress_tz_defconfig
- qemu_m68k_mcf5208_defconfig
- qemu_m68k_q800_defconfig
- qemu_microblazebe_mmu_defconfig
- qemu_microblazeel_mmu_defconfig
- qemu_mips32r2el_malta_defconfig
- qemu_mips32r2_malta_defconfig
- qemu_mips32r6el_malta_defconfig
- qemu_mips32r6_malta_defconfig
- qemu_mips64el_malta_defconfig
- qemu_mips64_malta_defconfig
- qemu_mips64r6el_malta_defconfig
- qemu_mips64r6_malta_defconfig
- qemu_nios2_10m50_defconfig
- qemu_or1k_defconfig
- qemu_ppc64_e5500_defconfig
- qemu_ppc64le_powernv8_defconfig
- qemu_ppc64le_pseries_defconfig
- qemu_ppc64_pseries_defconfig
- qemu_ppc_bamboo_defconfig
- qemu_ppc_e500mc_defconfig
- qemu_ppc_g3beige_defconfig
- qemu_ppc_mac99_defconfig
- qemu_ppc_mpc8544ds_defconfig
- qemu_riscv32_virt_defconfig
- qemu_riscv64_nommu_virt_defconfig
- qemu_riscv64_virt_defconfig
- qemu_s390x_defconfig
- qemu_sh4eb_r2d_defconfig
- qemu_sh4_r2d_defconfig
- qemu_sparc64_sun4u_defconfig
- qemu_sparc_ss10_defconfig
- qemu_x86_64_defconfig
- qemu_x86_defconfig
- qemu_xtensa_lx60_defconfig
- qemu_xtensa_lx60_nommu_defconfig
buildroot编译完后镜像将在将在output/images/中目录,可使用start-qemu.sh启动Qemu。