Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: Natanael Copa <mlists@...>
Subject: Re: Bootloader for Embedded System
Date: Tue, 28 Mar 2006 14:34:17 +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)?

I use syslinux.

> 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 !?!

No. You dont need to install the kernel on the MBR. the MBR is the data
that lies before the first partition. Normally (in dos times) the mra
contained code that found the first partition that is marked bootable
and the boot that partition (something like that).

You need to:
1. mark the boot partition as bootable. (fdisk /dev/sdX -> 'a')
2. install lilo/syslinux on the the boot partition (syslinux /dev/sdX1)
3. install the mbr, in case you have overwritten it with grub or
seomthing like that. (dd if=/usr/lib/syslinux/mbr.bin of=/dev/sdX)

The example is  how I would do it here, using syslinux. It will be
different with lilo.

replace sdX with your device.


> 
> 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
> 

-- 
gentoo-embedded@g.o mailing list


References:
Bootloader for Embedded System
-- Lutz Schönemann
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Bootloader for Embedded System
Next by thread:
can't resolve symbol '__udivsi3'
Previous by date:
Re: Bootloader for Embedded System
Next by date:
Re: [gentoo-user-de] nss on arm - trying to use glibc


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.