OpenWrt Forum Archive

Topic: fonera boot kernel from ram

The content of this topic has been archived on 15 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm trying to boot an openwrt kernel after loading through tftp in ram. The kernel is not booting. What is wrong ?

Board: ap51
RAM: 0x80000000-0x81000000, [0x80040450-0x80fe1000] available
FLASH: 0xa8000000 - 0xa87f0000, 128 blocks of 0x00010000 bytes each.
== Executing boot script in 10.000 seconds - enter ^C to abort
^C
RedBoot> ip_address -l 192.168.1.254 -h 192.168.1.166
IP: 192.168.1.254/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.1.166
RedBoot> load -r -b 0x80041000 openwrt-atheros-2.6-vmlinux.elf
Using default protocol (TFTP)
Raw file loaded 0x80041000-0x8028871b, assumed entry at 0x80041000
RedBoot> exec -c "console=ttyS0,9600"
Now booting linux kernel:
 Base address 0x80030000 Entry 0x80041000
 Cmdline : console=ttyS0,9600

It works for me like this:

load openwrt-atheros-2.6-vmlinux.elf
exec

I've tried it with an recent target image -> ram kernel...

Thanks OLG that DID it !

I was trying using: load -r -b

Now I 'm able to load failsafe kernel and fix jffs2 from redboot.

I have serial cable and managed to stop the reboot from serial console.

Anyway thanks for your help !

(Last edited by intrax on 3 Apr 2007, 23:28)

The discussion might have continued from here.