From: Ned Ludd <solar@gentoo.org>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Bootloader for Embedded System
Date: Tue, 28 Mar 2006 07:03:25 -0500 [thread overview]
Message-ID: <1143547405.28311.15.camel@localhost> (raw)
In-Reply-To: <442903E6.8000709@sit.fraunhofer.de>
I always used lilo for this task. I found grub to be way to problematic
and BIG. On x86 I'd chroot into the CF and run lilo. It can be tricky
and a tad confusing at times till you make that mental map of where the
devices live. Note be careful or you could end up killing the wrong
boot sector or device.
My CF was my /dev/sdb but CF is IDE so I needed a conf like this.
http://dev.gentoo.org/~solar/embedded/local/local/customize/etc/lilo.conf
The kernel got installed to sdb1->hda1 and sdb2->hda2 was used as the
ROOT file system.
I also used these two scripts to speed up the task.
(Format the CF)
http://dev.gentoo.org/~solar/embedded/fdisk_cf_flash
(Copy the FS to flash and run the bootloader)
http://dev.gentoo.org/~solar/embedded/flash_cf_disk
.. good luck.
On Tue, 2006-03-28 at 11:37 +0200, Lutz Schönemann wrote:
> Hi,
> I'm trying to get Linux running on a x86 embedded-system (Panel PC
> "Atlas"). The os should be loaded from a CF-Card (CF-Card reader is
> onboard and bootable). My current problem with it is that I don't know
> how to get a bootloader installed on a CF-Card.
> I have a Gentoo-Box (Toshiba Laptop) compiled for i386. The CF-Card is
> connected via USB. When ever I install a bootloader on the CF-Card a
> Dell laptop is able to boot from it but the embedded system doesn't do
> it. It seems to be the problem that the two BIOS differ to much from
> each other.
> How can I install a bootloader that works on other hardware (with
> different BIOS)?
>
> Someone told me to build a very small kernel and put that into the
> master boot record (must be smaller than 446 bytes). How can I do this?
> I have deactivated nearly all features, compiled everything as module
> that could be build as module but the kernel size is 627k !?!
>
> For more information on the hardware:
> http://www.kws-computer.de/ppcatlas.html
>
> there is a link to the data sheet (Datenblatt)
>
> Thanks for help
>
> --
> Lutz Schönemann
>
> Addr: Fraunhofer Institut für Sichere Informations Technologie SIT
> Rheinstrasse 75, 64295 Darmstadt, Germany
> WWW: http://www.sit.fraunhofer.de
>
> Zertifizierungen in der FhG: http://pki.fraunhofer.de
--
Ned Ludd <solar@gentoo.org>
Gentoo Linux
--
gentoo-embedded@gentoo.org mailing list
next prev parent reply other threads:[~2006-03-28 12:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-28 9:37 [gentoo-embedded] Bootloader for Embedded System Lutz Schönemann
2006-03-28 12:03 ` Ned Ludd [this message]
2006-03-29 11:16 ` Lutz Schönemann
2006-04-02 12:28 ` Sergi Castaño Elias
2006-03-28 12:34 ` Natanael Copa
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=1143547405.28311.15.camel@localhost \
--to=solar@gentoo.org \
--cc=gentoo-embedded@lists.gentoo.org \
/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