[ECOS] Booting rootfs over TFTP with RedBoot

Stephen Crocker scrocker@ampltd.com
Fri May 14 11:48:00 GMT 2010


I am currently attempting to test a system using OpenWRT on a Gateworks 
Cambria board with an XScale CPU.  I have produced a new rootfs for 
experimentation purposes but I do not want to overwrite the rootfs that 
is currently in the flash.

I have successfully used the following commands in the past to load 
kernels remotely with an existing rootfs:
load -r -b 0x00800000 -h 192.168.1.241 -m tftp zImage
exec

However, I am unable to see how I can do the same for a rootfs loaded 
over TFTP.  The flash has the following layout:
RedBoot> fis list
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0x50000000  0x50000000  0x00080000  0x00000000
linux             0x50080000  0x00800000  0x00100000  0x00800000
rootfs            0x50180000  0x00800000  0x01E60000  0x00800000
FIS directory     0x51FE0000  0x51FE0000  0x0001F000  0x00000000
RedBoot config    0x51FFF000  0x51FFF000  0x00001000  0x00000000
RedBoot>

Clearly the kernel and rootfs are intended to be loaded into RAM at the 
same location, but this is not possible if the rootfs is to be loaded 
over TFTP.  Is there any way to specify a different rootfs offset to the 
kernel?

The rootfs currently in flash is very important for testing something 
else, so I do not want to risk losing it.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list