On Thursday 14 February 2013 11:24:50 you wrote:
> On 02/14/2013 11:18 AM, Florian Fainelli wrote:
> > Hello,
> > 
> > On 02/14/2013 09:39 AM, Tijs Van Buggenhout wrote:
> > 
> > [snip]
> > 
> >> Device eth0: hwaddr 00-00-00-00-00-00, ipaddr 192.168.1.1, mask
> >> 255.255.255.0
> >> 
> >> gateway not set, nameserver not set
> >> 
> >> cfe_led_init: start to set power LED and switch LEDs.
> >> 
> >> Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)
> >> 
> >> Loading: .. 10679296 bytes read
> >> 
> >> Entry at 0x807a0440
> >> 
> >> Loader:raw Filesys:memory Dev:eth0 File::0x807a0440 Options:(null)
> >> 
> >> Loading: . 0 bytes read
> >> 
> >> Failed.
> >> 
> >> Could not load :0x807a0440: Error
> >> 
> >> CFE>
> > 
> > You should be able to use load -elf to ensure that the file you want to
> > load is an ELF one. I am not sure whether this is available for your
> > specific device though. Playing with "load help" will give you more infos.

The load command is available ... "help load" gives more information ;-)

> There is also a wiki page about network boot with CFE:
> 
> http://wiki.openwrt.org/doc/hardware/soc/soc.broadcom.bcm47xx#network.boot
> 
> Hauke

CFE> boot -tftp -elf 192.168.1.113:openwrt-brcm47xx-vmlinux.elf
Loader:elf Filesys:tftp Dev:eth0 File:192.168.1.113:openwrt-brcm47xx-
vmlinux.elf Options:(null)
Loading: 0x80001000/6802772 0x8067dd54/234764 Entry at 0x802512e0
Closing network.
Starting program at 0x802512e0

Works nicely,thanks!

Would there also be a way to have the system load an image (elf/bin) 
automatically? When I start up the device, it seems to have started a tftp 
server, but thus far unclear to what purpose or how it can be used (putting an 
elf/bin openwrt image fails).

Regards,
Tijs
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to