Rainbow Electronics QIL-A9260-C11 User Manual

Page 10

Advertising
background image

Let's erase the second partition with the following command:

# flash_eraseall -j /dev/mtd2
Erasing 128 Kibyte @ 77e0000 -- 99 % complete. Cleanmarker written at 77e0000.

Let's copy the new root file system on the second partition
# flashcp rootfs.arm.jffs2 /dev/mtd2

Now reboot the QIL-A9260 by issuing the following command
# reboot

During the reboot, press a key when you will see the uboot countdown:

Hit any key to stop autoboot: 0

Now you can modify the u-boot bootargs variable

QIL-A9260> printenv
bootdelay=3
baudrate=115200
ethaddr=00:0D:00:0D:00:AB
netmask=255.255.255.0
autostart=yes
serverip=192.168.1.15
ipaddr=192.168.1.100
bootargs=rootfstype=jffs2 root=/dev/mtdblock1
bootcmd=nboot 21000000 0 500000
stdin=serial
stdout=serial
stderr=serial

Environment size: 252/4092 bytes
QIL-A9260> setenv bootargs rootfstype=jffs2 root=/dev/mtdblock2
QIL-A9260> saveenv
Saving Environment to dataflash...
QIL-A9260>

Now you can reset the QIL-A9260 and see if the new RFS is ok !!!!!

Datasheet GSG-00006-A01

10/34

Advertising