User manual
www.atcom.cn
38/40
ip04>save
ip04>bootm 0x1000000
(uClinux will boot.......)
NOTE: If Linux doesn't boot or you experience other problems reboot into uboot, type "print",
and carefully check bootargs,. The correct bootargs setting should like this:
bootargs=ethaddr=00:09:45:56:43:34 console=ttyBF0,115200 root=/dev/mtdblock0 rw
If you are using the IP08, the command to set bootargs is
ip04>set bootargs ethaddr=your:mac:address eth1addr=you:second:mac:address
console=ttyBF0,115200 root=/dev/mtdblock0 rw
10.9.4 copy /root to yaffs file system
Now we have uClinux running, but using a ram-based ext2 file system
for root. So we need to copy /root into the yaffs file system:
On the IP04:
root:~> /bin/copy_rootfs.sh
root:~> reboot
10.9.5 mount root from yaffs
Now set up u-boot to mount root from yaffs (some of these env variables may be set already,
use 'print' to check):
ip04>set autostart yes
ip04>set bootargs ethaddr=your:mac:address console=ttyBF0,115200 root=/dev/mtdblock2 rw
ip04>set nandboot 'nboot 0x2000000 0x0'
ip04>set bootcmd run nandboot
ip04>save
ip04>reset
Note: if you are using the IP08, the set bootargs, should be:
ip04>set bootargs ethaddr=your:mac:address eth1addr=you:second:mac:address
console=ttyBF0,115200 root=/dev/mtdblock2 rw
10.9.6 boot the IP04 to root prompt and install the packages
Boot IP04 to the uClinux root prompt. Use mount to check that root is mounted on mtdblock2
(yaffs file system).
Note: If you have kernel panic issue on the booting state, please check if you have the correct
bootargs setting in u-boot.
Now we can install the needed packages using ipkg.