Hi all,
I am trying to bring up a small WinCE based terminal with LinuxBios instead. I'm using the eaglelion/5bcm as a starting point. With this the system comes up, starts etherboot, etherboot loads my Linux kernel (up to text "....done") and then nothing more happens.
Some things confuses me:
.... Devices initialized Copying IRQ routing tables to 0xf0000...done. Verifing copy of IRQ routing tables at 0xf0000...failed Wrote linuxbios table at: 00000000 - 0000017c checksum 2df2 ....
I read in the archives that this failure could be solved be undefining CONFIG_COMPRESS. But it did'nt help. Any other hint to solve it?
When etherboot starts:
..... Etherboot 5.4.2 (GPL) http://etherboot.org Drivers: RTL8139 Images: ELF Protocols: DHCP TFTP Relocating _text from: [000100e0,000219a0) to [03aee740,03b00000) Boot from (N)etwork or (Q)uit?
Probing pci nic... [rtl8139] - ioaddr 0X1000, irq 0, addr 00:30:AA:00:25:1B 100Mbps full-duplex Searching for server (DHCP)..... Me: 192.168.1.5, DHCP: 192.168.1.2, TFTP: 192.168.1.2, Gateway 192.168.1.2 Loading 192.168.1.2:i586Linux ..(ELF).. ....done
Is "irq 0" correct at this point of time?
Does LinuxBIOS needs any preparations/patches on the Linux kernel to boot and run it? I tried with enabled framebuffer console (and activated screen in the Geode) and with console on serial port. Both without success (also I tried 2.4 and 2.6 kernels).
Thanks for any help in advance.
Juergen
Hi all,
some news:
On Monday 29 May 2006 17:46, Juergen Beisert wrote:
Some things confuses me:
.... Devices initialized Copying IRQ routing tables to 0xf0000...done. Verifing copy of IRQ routing tables at 0xf0000...failed Wrote linuxbios table at: 00000000 - 0000017c checksum 2df2 ....
With write enabled E and F segments this message changes to: .... Devices initialized Copying IRQ routing tables to 0xf0000...done. Verifing copy of IRQ routing tables at 0xf0000...done Checking IRQ routing table consistency... check_pirq_routing_table() - irq_routing_table located at: 0x000f0000 done. Wrote linuxbios table at: 00000000 - 0000017c checksum f206 ....
But it still hangs after downloading the Linux kernel :-(
Juergen
* Juergen Beisert juergen127@kreuzholzen.de [060529 18:37]:
With write enabled E and F segments this message changes to: .... Devices initialized Copying IRQ routing tables to 0xf0000...done. Verifing copy of IRQ routing tables at 0xf0000...done Checking IRQ routing table consistency... check_pirq_routing_table() - irq_routing_table located at: 0x000f0000 done.
Can you provide a patch?
But it still hangs after downloading the Linux kernel :-(
Have you enabled serial console in your kernel config? and did you specify it on the kernel command line? (ie. console=ttyS0,115200n8)
Stefan
On Monday 29 May 2006 20:26, Stefan Reinauer wrote:
- Juergen Beisert juergen127@kreuzholzen.de [060529 18:37]:
With write enabled E and F segments this message changes to: .... Devices initialized Copying IRQ routing tables to 0xf0000...done. Verifing copy of IRQ routing tables at 0xf0000...done Checking IRQ routing table consistency... check_pirq_routing_table() - irq_routing_table located at: 0x000f0000 done.
Can you provide a patch?
Yes, attached. But I'm not sure if this is the right place to patch. Maybe there is a better place to enable this feature?
But it still hangs after downloading the Linux kernel :-(
Have you enabled serial console in your kernel config? and did you specify it on the kernel command line? (ie. console=ttyS0,115200n8)
Yes I did. Its not my first embedded target that I bring up (but my first with LinuxBios). So that was the first I care for. The UART address seems ok, so I think Linux can find and use this device.
Regards
Juergen
what version kernel?
enable early printk and boot with earlyprintk=ttyS0,115200,keep
and see what you get (copy to me)
ron
Hi Ronald,
On Tuesday 30 May 2006 06:32, Ronald G Minnich wrote:
what version kernel?
I tried with 2.4.28 and 2.6.16.
enable early printk and boot with earlyprintk=ttyS0,115200,keep
It seems only true for 2.6 kernels, isn't it? I did not find any menu entry in 2.4.28 for this, right?
Kernel image created with:
mkelf-linux --output=/srv/tftpboot/i586Linux "--append=earlyprintk=ttyS0,115200,keep console=ttyS0,115200n8" --rootdir=/srv/nfsexport/rootfs-i486 --rootmode=rw --ip=dhcp /home/jb/Projekte/linux-2.6.16/arch/i386/boot/bzImage
<sound of powering on> .... Probing pci nic... [rtl8139] - ioaddr 0X1000, irq 0, addr 00:30:AA:00:25:1B 100Mbps full-duplex Searching for server (DHCP)..... Me: 192.168.1.5, DHCP: 192.168.1.2, TFTP: 192.168.1.2, Gateway 192.168.1.2 Loading 192.168.1.2:i586Linux ..(ELF)... ............................................................................ ............................................................................. ............................................................................ ............................................................................ ............................................................................ <many dots snipped> ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ........done
and see what you get (copy to me)
Sorry that's all. No more output after the word "done".
I also attach the kernel configuration file.
Maybe etherboot does a bad thing? I built this payload not by my own, I downloaded it from their website (as an "ELF (LinuxBIOS) ROM Image (.elf)"). I didn't touch any of the customising configurations.
Regards
Juergen
* Juergen Beisert juergen127@kreuzholzen.de [060530 12:33]:
Kernel image created with:
mkelf-linux --output=/srv/tftpboot/i586Linux "--append=earlyprintk=ttyS0,115200,keep console=ttyS0,115200n8" --rootdir=/srv/nfsexport/rootfs-i486 --rootmode=rw --ip=dhcp /home/jb/Projekte/linux-2.6.16/arch/i386/boot/bzImage
Uh.. what's mkelf-linux? Try mkelfImage from ftp://ftp.lnxi.com/pub/mkelfImage
Hi Stefan,
On Tuesday 30 May 2006 12:44, Stefan Reinauer wrote:
- Juergen Beisert juergen127@kreuzholzen.de [060530 12:33]:
Kernel image created with:
mkelf-linux --output=/srv/tftpboot/i586Linux "--append=earlyprintk=ttyS0,115200,keep console=ttyS0,115200n8" --rootdir=/srv/nfsexport/rootfs-i486 --rootmode=rw --ip=dhcp /home/jb/Projekte/linux-2.6.16/arch/i386/boot/bzImage
Uh.. what's mkelf-linux? Try mkelfImage from ftp://ftp.lnxi.com/pub/mkelfImage
All right, I tried now:
mkelfImage --command-line="earlyprintk=ttyS0,115200,keep console=ttyS0,115200n8 root=/srv/nfsexport/rootfs-i486 ip=dhcp rw" --kernel=/home/jb/Projekte/linux-2.6.16/vmlinux --output=/srv/tftpboot/i586Linux
The behavior is a _little_ bit different.
<many dots snipped> ....done Unknown firmware type: LinuxBIOS Firmware type: PCBIOS
But nothing else. What does it mean?
BTW: mkelf-linux is from the mknbi-packet that I'm using for other etherboot targets.
Juergen
Hi all,
On Tuesday 30 May 2006 13:13, Juergen Beisert wrote:
<many dots snipped> ....done Unknown firmware type: LinuxBIOS Firmware type: PCBIOS
But nothing else. What does it mean?
Does anybody know who outputs this string? Is it etherboot or the Linux kernel? I cannot find these strings in the sources, neither in the kernel nor etherboot sources.
Juergen
for 2.4 you want eric biederman's early printk patch, and I have it *somewhere*, but can't find it.
ron