mini6410 NFS文件系统及内核

1.修改U-BOOT的mini6410配置文件,以下两处改为如下:

#define CONFIG_BOOTARGS     "root=/dev/nfs nfsroot=192.168.1.213:/opt/FriendlyARM/mini6410/rootfs_qtopia_qt4 ip=192.168.1.2:192.168.1.213:192.168.1.1:255.255.255.0:arm6410:eth0:off console=ttySAC0,115200 mem=256M"

#define CONFIG_BOOTCOMMAND  "nfs 0x50018000 192.168.1.213:/opt/FriendlyARM/mini6410/zImage;bootm 0x50018000"

2.使用U-boot的mkimage来处理zImage:

mkimage -A arm -O linux -T kernel -C none -a 0x50018000 -e 0x50018040 -d zImage zImage.img

3.将U-BOOT重新编译,生成u-boot-nand.bin,将其改为u-boot_nand-ram256.bin考到SD卡烧写。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wwxzzf.html