OpenWrt Forum Archive

Topic: Kamikaze PXE boot on Soekris net4526?

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

Hi,

Been a while since I've been on but trying to get back into the swing of things with Kamikaze.

I have a net4526 and I'm trying to PXE boot it.  Followed the instructions here http://wiki.openwrt.org/SoekrisPort

Here is what I have done so far:
1.  I copied the openwrt-x86-vmlinuz (from http://downloads.openwrt.org/kamikaze/8.09/x86/) to my /tftpboot dir as vmlinuz.ram
2.  My /tftpboot/pxelinux.cfg/default file looks like:
serial 0 38400 0x303
console 0
label linux
        kernel vmlinuz.ram
        append init=/etc/preinit console=tty0 console=ttyS0,38400n8 reboot=bios

... and when I boot f0, I see the kernel download but then nothing after that. 

So my questions are:

1. What kind of kernel is the openwrt-x86-vmlinuz?  Does it have kernel + ramdisk?
2. If openwrt-x86-vmlinuz doesn't have a ramdisk, then it looks like I would need to download the development environment and config the target for ramdisk.  If I did all that, what should my config above look like?  Would this look like the .tgz example on the SoekrisPort page?  I'm not sure what my config file should have.

I got this board used and it has a install of monowall on it.  Would I need to erase that before trying to PXE boot OpenWRT?  Just for kicks to see if my PXE setup was working, I found a Pyramid kernel and copied it to my /tftpboot directory as vmlinuz.ram and did a boot f0.  It downloaded and the kernel ran (saw kernel message on the screen) but then it rebooted and the monowall install ran sad.  But at least I know my PXE/DHCP setup is working.

Would like to hear from folks that have done PXE booting before.

TIA!

(Last edited by hutchman on 12 Mar 2009, 19:53)

Update.

The openwrt-x86-vmlinuz I downloaded from kamikaze/8.09/x86/ just gives a blank screen when I PXE boot it on a Soekris net4526 (Elan SC520 .. not Geode).

So, thinking that the image didn't have a ramdisk, I downloaded kamikaze_8.09_source.tar.bz2 and did menuconfig to change Target Images-> to ramdisk.

This image did the same thing.  Blank screen.  (minicom capture shows vmlinuz ...... ready and nothing follows).  Sounds like this same problem: http://www.mail-archive.com/openwrt-dev … 02254.html

Next I downloaded trunk with SVN.

Configured target for net45xx, Target Images -> ramdisk.
Did make which failed on hotplug2.  Noticed URL path was wrong in Makefile.  Edited Makefile to right path ... http://isteve.bofh.cz/~isteve/hotplug2/ … 0.9.tar.gz (downloads was missing).  Turns out it didn't help as my companies firewall was messing something up so I finally just downloaded the files manually into the kamikaze/dl dir. Build finished after I did that.

This image PXE boots up OK (reports bleeding edge, r14843)

Just wanted to post an update.

I have net4521. I downloaded the x86 package. dd it to CF card and booted the box. I have excactly the same problem. The grub menu show, then item is chosen and it stops like this. This is the last line i see:

 
Filesystem type is ext2fs, partition type 0x83                                                                           
kernel  /boot/vmlinuz root=/dev/hda2 rootfstype=ext2 init=/etc/preinit  noinitrd console=tty0 console=ttyS0,38400n8 reboot=bios
[Linux-bzImage, setup=0x2a00, size=0x11ae3c]
boot

I tried:
http://downloads.openwrt.org/kamikaze/8 … ext2.image
http://downloads.openwrt.org/kamikaze/8 … ext2.image
Then i rebuilt the openwrt images based on 8.09.1 using generic or soekris from build menu.
Still the same.


Any ideas?

Well, what do you know - took the svn r17603. Compiled it, and it works. Chose net45xx from menu.

(Last edited by jannoke on 17 Sep 2009, 18:08)

The discussion might have continued from here.