关于Gx8的的BSP手册,写得确实不甚详细......
相比ExBrain的手册,BootLoader部分写得很简单......通过反复实践,得如下理解:
GP8的Linux编译全部都是使用教本完成,通过读相关的教本,可以作相应的修改,一是编译的用户问题,可以通过修改教本,解除非root用户的限制。
还有就是分区,RedBoot占/dev/mtdblock0,Linux的内核和文件系统占用接下来的两个分区:/dev/mtdblock1,/dev/mtdblock2.
帮助:
RedBoot>help
显示分区:
RedBoot>fis list -d
TFTP下载(文件系统):
RedBoot>load -r -b 0x100000 XBoard_GP8_Project.rootfs
写入板载FLASH:
RedBoot>fis create -b 0x100000 -l 0xb00000 linuxroot
TFTP下载(内核):
RedBoot>load -r -b 0x100000 vmlinuz
写入板载FLASH:
RedBoot>fis create -b 0x100000 -l 0x200000 linux
重启:
RedBoot>reset
加载内核:
RedBoot>fis load linux
运行内核:
RedBoot>exec -c "root=/dev/mtdblock2"
显示IP设置:
RedBoot>ip_address
NFS加载文件系统:
RedBoot>fis load linux
RedBoot>exec -c "ip=bootp root=nfs"
(设置好NFS,DHCP)
生成配置文件:
RedBoot>fconfig
不支持PS2的键盘,有VGA显示,USB的设备暂时不能用......

