All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Walsh <tom@openhardware.net>
To: openembedded-devel@lists.openembedded.org
Subject: howto? Build something but not deploy in root image
Date: Thu, 05 Jul 2007 01:01:05 -0400	[thread overview]
Message-ID: <468C7B11.8050809@openhardware.net> (raw)

I know, this has come up before.  Reading through some of the old 
messages I see this discussed, but, I do not see any solution(s) mentioned?

I have several parts to this project that must be built during the 
bitbake process (bootstrap-image), but are not part of the target 
filesystem image.  The total system parts are:

* bootloader - ARM - resides in Flash.
* kernel - ARM - resides in Flash.
* target rootfs image - ARM - resides on MMC card.
* Flash Utility - native (x86) - runs on host computer.

The concept for the system is that the bootloader starts the RAM and 
other hardware up.  It then copies the kernel image into RAM and 
launches it.  The kernel is configured to look for its root filesystem 
on the MMC card.  Essentially, I boot the kernel from Flash, but the 
kernel boots from the MMC card.

The only thing that I need in the root filesystem (tmp/rootfs/) is the 
packages I named from the local conf files.  The kernel does need to be 
there, it soaks up space uselessly.

As to the bootloader, it comes in two sections (files), these are 
programmed by the Flash Utility into the target system.  The bootloader 
is not needed in the root filesystem.

The problem is not getting these things built, but preventing them from 
being installed in the tmp/rootfs/ filesystem or tarball.  They should 
only go into tmp/deploy/image/, which  I currently have them going 
into...  However, the bitbake system assumes that anything that is 
packaged, must be deployed into the root filesystem!?

How do you build a bootloader that resides in Flash and doesn't get 
stuck into the filesystem image?  The same would hold true for the 
native (linux PC) app which flashes the target memory.

Regards,

TomW

-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net http://cyberiansoftware.com http://openzipit.org
"Windows? No thanks, I have work to do..."
----------------------------------------------------





             reply	other threads:[~2007-07-05  5:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-05  5:01 Tom Walsh [this message]
2007-07-05 13:52 ` howto? Build something but not deploy in root image Justin Patrin
2007-07-05 16:03 ` Paul Sokolovsky
2007-07-09 14:42 ` Marcin Juszkiewicz
2007-07-15 13:28   ` Tom Walsh
2007-07-15 13:33     ` Koen Kooi
2007-07-15 14:53       ` Holger Freyther

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=468C7B11.8050809@openhardware.net \
    --to=tom@openhardware.net \
    --cc=openembedded-devel@lists.openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.