1、buildroot常用make 命令
常用命令
意义
make menuconfig buildroot菜单
make uboot-menuconfig
uboot菜单
make linux-menuconfig
linux菜单
make busybox-menuconfig
busybox菜单
make 编译buildroot
make linux-rebuild
重新编译linux
make uboot-rebuild
重新编译uboot
make busybox-rebuild
重新编译busybox
make 软件包-rebuild
对于任何软件包编译
make clean 清除编译
make distclean 清除编译以及配置
原文链接:https://blog.csdn.net/qq_20017379/article/details/127154287
2、CherryPi-F1C200S 樱桃派改成从spi-nand启动,默认的工程是从sd卡启动
/home/test/lc/buildroot/board/widora/mangopi/r3/devicetree/linux/devicetree.dts
修改启动参数
chosen {
#address-cells = <1>;
#size-cells = <1>;
ranges;
//for NAND or Nor
bootargs = "console=ttyS0,115200 rootwait init=/preinit root=/dev/mtdblock2 rootfstype=squashfs overlayfsdev=/dev/mtdblock3";
//for sd-card
//bootargs = "console=ttyS0,115200 earlyprintk rootwait init=/preinit root=/dev/mmcblk0p3";
离线