Технический форум по робототехнике.
MINI2440 # nand erase rootfs
NAND erase: device 0 offset 0x560000, size 0x3aa0000
Skipping bad block at 0x01260000
Skipping bad block at 0x01fc8000
Skipping bad block at 0x03ff0000
Skipping bad block at 0x03ff4000
Skipping bad block at 0x03ff8000
Skipping bad block at 0x03ffc000
OK
MINI2440 # nand write.e 0x32000000 rootfs ${filesize}
NAND write: device 0 offset 0x560000, size 0x1800000
Bad block at 0x1260000 in erase block from 0x1260000 will be skipped
Writing data at 0x1d63e00 -- 100% complete.
25165824 bytes written: OK
MINI2440 # nand write.e 0x32000000 1D64000 ${filesize}
NAND write: device 0 offset 0x1d64000, size 0x10d0000
Bad block at 0x1fc8000 in erase block from 0x1fc8000 will be skipped
Writing data at 0x2e37e00 -- 100% complete.
17629184 bytes written: OK
копируем и разворачиваем архив linux/arm-qtopia-20100108.tar.gz с диска контроллера (или подготавливаем свою сборку):
# tar -xvzf ./arm-qtopia-20100108.tar.gz -C /tftproot/root_qtopia
eth0: link down
IP-Config: Complete:
device=eth0, addr=192.168.1.11, mask=255.255.255.0, gw=192.168.1.1,
host=192.168.1.11, domain=, nis-domain=(none),
bootserver=192.168.1.74, rootserver=192.168.1.74, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.74
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Looking up port of RPC 100005/1 on 192.168.1.74
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
setenv bootargs console=ttySAC0,115200 noinitrd init=/sbin/init mini2440=0tb nfsroot=192.168.1.74:/tftproot/root_qtopia.jffs2 root=/dev/nfs rw rootfstype=jffs2 ip=192.168.1.11:192.168.1.74:192.168.1.1:255.255.255.0
alien писал(а):ясно спс. просто делал все по тому как описанно в первом посте )