(1)#cd ../rootfs/
  #ln -s ./bin/busybox init 创建软链接    
(2)进入Linux内核
  #make menuconfig
    General setup-->Initial RAM filesystem and RAM disk (initramfs/initrd) support
    选择上该选项
    General setup-->Initramfs source file(s) 输入rootfs的路径
(3)重新编译内核
(4)进入u-boot设置环境变量并下载启动内核
  #setenv bootargs noinitrd console=ttySAC0,115200
  #save
  #tftp c0008000 uImage
  #bootm c0008000

相关文章:

  • 2022-12-23
  • 2021-11-20
  • 2021-11-25
  • 2021-12-13
  • 2021-11-05
  • 2021-05-22
  • 2021-11-09
  • 2021-12-02
猜你喜欢
  • 2022-12-23
  • 2021-10-17
  • 2021-11-13
  • 2021-12-14
  • 2022-12-23
  • 2021-10-14
  • 2021-12-01
相关资源
相似解决方案