mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Gilles Espinasse" <g.esp@free.fr>
To: "Marian Aldenhövel" <marian.aldenhoevel@mba-software.de>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: Building a kernel for SiS55-based system.
Date: Sun, 6 Jul 2008 12:31:13 +0200	[thread overview]
Message-ID: <25e301c8df53$6a525780$f9b5a8c0@pii350> (raw)
In-Reply-To: <48708724.6020904@mba-software.de>

[-- Attachment #1: Type: text/plain, Size: 2757 bytes --]


----- Original Message ----- 
From: "Marian Aldenhövel" <marian.aldenhoevel@mba-software.de>
To: "Gilles Espinasse" <g.esp@free.fr>
Cc: <linux-kernel@vger.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

[-- Attachment #2: ubuntu-8.04-x86pxe-isolinux.cfg.patch --]
[-- Type: application/octet-stream, Size: 2110 bytes --]

--- ubuntu/x86/8.04/isolinux.cfg.orig	2008-07-06 10:40:31.000000000 +0200
+++ ubuntu/x86/8.04/isolinux.cfg	2008-07-06 10:40:49.000000000 +0200
@@ -1,39 +1,39 @@
 
-DISPLAY boot.txt
+DISPLAY /ubuntu/x86/8.04/boot.txt
 
-F1 f1.txt
-F2 f2.txt
-F3 f3.txt
-F4 f4.txt
-F5 f5.txt
-F6 f6.txt
-F7 f7.txt
-F8 f8.txt
-F9 f9.txt
-F0 f10.txt
+F1 /ubuntu/x86/8.04/f1.txt
+F2 /ubuntu/x86/8.04/f2.txt
+F3 /ubuntu/x86/8.04/f3.txt
+F4 /ubuntu/x86/8.04/f4.txt
+F5 /ubuntu/x86/8.04/f5.txt
+F6 /ubuntu/x86/8.04/f6.txt
+F7 /ubuntu/x86/8.04/f7.txt
+F8 /ubuntu/x86/8.04/f8.txt
+F9 /ubuntu/x86/8.04/f9.txt
+F0 /ubuntu/x86/8.04/f10.txt
 
 DEFAULT install
 
 LABEL install
-	kernel linux
-	append vga=normal initrd=initrd.gz -- 
+	kernel /ubuntu/x86/8.04/linux
+	append vga=normal initrd=/ubuntu/x86/8.04/initrd.gz -- 
 LABEL linux
-	kernel linux
-	append vga=normal initrd=initrd.gz -- 
+	kernel /ubuntu/x86/8.04/linux
+	append vga=normal initrd=/ubuntu/x86/8.04/initrd.gz -- 
 LABEL cli
-	kernel linux
-	append tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false vga=normal initrd=initrd.gz -- 
+	kernel /ubuntu/x86/8.04/linux
+	append tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false vga=normal initrd=/ubuntu/x86/8.04/initrd.gz -- 
 
 LABEL expert
-	kernel linux
-	append priority=low vga=normal initrd=initrd.gz -- 
+	kernel /ubuntu/x86/8.04/linux
+	append priority=low vga=normal initrd=/ubuntu/x86/8.04/initrd.gz -- 
 LABEL cli-expert
-	kernel linux
-	append tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false priority=low vga=normal initrd=initrd.gz -- 
+	kernel /ubuntu/x86/8.04/linux
+	append tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false priority=low vga=normal initrd=/ubuntu/x86/8.04/initrd.gz -- 
 
 LABEL rescue
-	kernel linux
-	append vga=normal initrd=initrd.gz rescue/enable=true -- 
+	kernel /ubuntu/x86/8.04/linux
+	append vga=normal initrd=/ubuntu/x86/8.04/initrd.gz rescue/enable=true -- 
 
 PROMPT 1
 TIMEOUT 0

  reply	other threads:[~2008-07-06 10:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-24  6:35 Marian Aldenhövel
2008-06-26  9:16 ` Gilles Espinasse
2008-07-06  8:49   ` Marian Aldenhövel
2008-07-06 10:31     ` Gilles Espinasse [this message]
2008-07-11 15:43       ` Building a kernel for SiS55-based system. No, wait! It's a Vortex86SX Marian Aldenhövel
2008-07-11 15:31         ` Alan Cox
2008-07-11 15:35         ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='25e301c8df53$6a525780$f9b5a8c0@pii350' \
    --to=g.esp@free.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marian.aldenhoevel@mba-software.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®