[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <25e301c8df53$6a525780$f9b5a8c0@pii350>
Date: Sun, 6 Jul 2008 12:31:13 +0200
From: "Gilles Espinasse" <g.esp@...e.fr>
To: Marian Aldenhövel
<marian.aldenhoevel@...-software.de>
Cc: <linux-kernel@...r.kernel.org>
Subject: Re: Building a kernel for SiS55-based system.
----- Original Message -----
From: "Marian Aldenhövel" <marian.aldenhoevel@...-software.de>
To: "Gilles Espinasse" <g.esp@...e.fr>
Cc: <linux-kernel@...r.kernel.org>
Sent: Sunday, July 06, 2008 10:49 AM
Subject: Re: Building a kernel for SiS55-based system.
>> What version of gcc,binutils?
>
> Gcc: 4.2.3
> Binutils: 2.18.50.0.3
>
>> Could you try with distrib images to know if it could be related to your
>> compilation system
>
> As I have to boot off CF card, the system does not have a hard disk and
does
> not like to boot off my USB-CD-Drive, my choices in prebuilt-Distributions
> are a bit limited.
>
- usb or classic floppy?
If you have that, you could try the test images I have made for IPCop
http://g.esp.free.fr/download/ipcop-1.9.2-boot.img
http://g.esp.free.fr/download/ipcop-1.9.2-root-1.img
http://g.esp.free.fr/download/ipcop-1.9.2-root-2.img
6ed40c877c9d47103a498193d65e4fea ipcop-1.9.2-boot.img
ea7f81b3cdcfdae3eb42227e5bb9423e ipcop-1.9.2-root-1.img
c2b442569c863841571f01eeac1f0882 ipcop-1.9.2-root-2.img
that's should boot any 486 (even with mmu emulation) or better with 16 MB
memory.
You need three floppies without error.
Corresponding kernel (2.6.24) .config is available at
http://ipcop.svn.sourceforge.net/viewvc/ipcop/ipcop/trunk/config/kernel/
- or booting from usb key?
- pxe-boot
pxe is the easiest way for testing but require some infrastructure.
You need a tftp server, a dhcp server and a card that support pxe.
If your bios does not support pxe with a built-in card, try with an e100
card.
All e100 nic cards I have support pxe boot and have a nice prompt at boot
after bios start.
You may prefere to update the nic pxe stack, all my e100 cards has been
updated with proboot.exe v10.3 (boot agent v4.19). I haven't tried more
recent versions.
Any modified isolinux.cfg could be modified to support pxe boot, you just
have to adjust the path from tftproot.
For example with Ubuntu, put the files in place with
mount -o loop ubuntu-8.04-mini.iso iso-test
mkdir -p /var/tfpt/ubuntu/x86/8.04 # /var/tfpt is my tftproot, yours may
vary
cd iso-test
cp * /var/tfpt/ubuntu/x86/8.04
Attached is the patch that modify the path in original Ubuntu isolinux.cfg
to match installed files
Add to the dhcp server in dhcp.conf (this is for ISC dhcp)
host fooname
{
hardware ethernet aa:bb:cc:dd:ee:ff; (set the real MAC address)
fixed-address 192.168.<ip to the machine>;
next-server 192.168.<ip to tftp server>;
filename "pxelinux.0";
option host-name "fooname";
}
Then set the link for nic MAC address to isolinux.cfg
cd /var/tftp/pxelinux.cfg
ln -sf ../ubuntu/x86/8.04/isolinux.cfg 01-aa-bb-cc-dd-ee-ff (lowercase for
a..f letters, always 01 prefix)
And the machine should be ready to boot from network.
Gilles
Download attachment "ubuntu-8.04-x86pxe-isolinux.cfg.patch" of type "application/octet-stream" (2046 bytes)
Powered by blists - more mailing lists