From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Boot loader on PC (i386) with flash memory
Date: Thu, 20 Oct 2005 13:37:22 -0400 [thread overview]
Message-ID: <4357D5D2.5080106@smiths-aerospace.com> (raw)
In-Reply-To: <CF2BB830A62F914F848E5AD5FFF57AC2291463@mkmail.MKPROD.COM>
Martin Kajdas wrote:
> Hello,
>
> My situation is:
> I have a custom designed flash memory PCI card in a standard PC motherboard (i386) (no floppy, no hard disk, no CD-ROM).
> Everything else is standard (serial, parallel, USB, VGA, network, BIOS).
> The PC does the standard boot and eventually jumps to expansion ROM on my PCI card which does the rest.
> At this point, I trap the INT 19 and when BIOS is finished, I get to boot my code from flash memory on my card.
>
> My code consists of a Linux kernel with RTAI (real time) extensions, busybox and my application program.
> I tried booting my code from a hard disk (temporarily) and it works well.
> Then, I tried it with BlueCat (LynuxWorks) demo software running from the flash memory and it also worked well.
> But when I found out that LynuxWorks wants $8000 for the privilege of using their software, I decided against it.
> It does too much and I do not need all of their functionality.
>
> All I need is to create bootable root file system (image), have it in flash and then copy it to RAM and boot from it.
>
> After finding U-Boot, I believe that it will work form me, with some customizations on my part which I will release back to U-Boot.
>
> Of course, I do not need all of the power up initialization of the CPU as this is already done by the motherboard's BIOS but the booting of the Linux from flash should be the same.
>
> My questions:
> - is my thinking correct?
> - was this ever done (I would be surprised if it was not) and is there an easier way (another project)?
> - would this be useful to U-Boot community?
> - any ideas on how to proceed?
> - is anybody interested in such a scenario (PC i386 setup)?
>
> I appreciate any feedback,
> Martin
Did you look at GRUB?
Did you look at linuxBIOS?
http://linuxbios.org/index.php/Main_Page
http://www.fsf.org/campaigns/free-bios.html
Do you need a second level boot-loader at all? Between your existing
BIOS and linux, there is only the task of getting linux copied into RAM
and jumpped to. U-boot has 99% overlap with your existing BIOS (and it
ain't gonna be happy about playing second fiddle). Linux already knows
how to run on a PC architecture with very little information from the BIOS.
gvb
prev parent reply other threads:[~2005-10-20 17:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-20 16:44 [U-Boot-Users] Boot loader on PC (i386) with flash memory Martin Kajdas
2005-10-20 17:37 ` Jerry Van Baren [this message]
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=4357D5D2.5080106@smiths-aerospace.com \
--to=gerald.vanbaren@smiths-aerospace.com \
--cc=u-boot@lists.denx.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