From: Gustavo Zacarias <gustavo@zacarias.com.ar>
To: buildroot@busybox.net
Subject: [Buildroot] Newbie questions on building images for EP405
Date: Mon, 08 Apr 2013 13:31:30 -0300 [thread overview]
Message-ID: <5162F0E2.2030103@zacarias.com.ar> (raw)
In-Reply-To: <CAADET=fm0cNPKvvRj6k9nOiGqXZqVGLM7fabj=y8X8sR197WUw@mail.gmail.com>
On 04/08/2013 12:20 PM, David Li wrote:
> Hello,
>
> I am new to using buildroot and I am learning this with an ep405 (ppc)
> board. My goal is to build an Linux image and boot it up. The
> board comes with u-boot loader on bootup.
> I did make menuconfig with minmal packages (busybox, devtmpfs,
> native buildroot tool chain etc). After make, I got two image files
> in output/images: rootfs.tar and uImage.
>
> My questions are:
> 1. There are two def kernel config files I used in
> output/build/linux-3.7.8/arch/
> powerpc/configs/. which one is really for ep405? I tried both in make
> menuconfig and all of them built OK:
>
> ppc40x_defconfig
> 40x/ep405_defconfig
Hi.
The ppc40x_defconfig is the "common" config - useful if you're
targetting different 40x-based boards.
The ep405_defconfig is targetted towards the embedded planet ep405 board
explicitly - the kernel will be somewhat smaller.
> 2. There are two files in output/images/ - one kernel and the
> other a roof filesystem. Can they be combined into one image and boot
> up with ep405 uboot?
Yes, you probably want to use an initramfs target for that. In the
Filesystem images menu you've got "initial RAM filesystem linked into
the linux kernel" option, that's what you'd want for a quick test.
The uImage is the kernel prepared/formatted for u-boot to use.
The tar is just a simple archive of the root filesystem, usable for
example if you are NFS-booting the board or dumping it into some form of
removable media (SD card and so on).
> 3. The ep405 board already boots up uboot. Do I need use buildroot to
> build another uboot image?
If it's already working like you want it too usually there's no need to
upgrade the booatloader, specially since in many cases you'll need
specialized hardware to recover from a botched upgrade.
Regards.
next prev parent reply other threads:[~2013-04-08 16:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-08 15:20 [Buildroot] Newbie questions on building images for EP405 David Li
2013-04-08 16:31 ` Gustavo Zacarias [this message]
2013-04-09 15:13 ` David Li
2013-04-09 16:43 ` Arnout Vandecappelle
2013-04-10 3:16 ` David Li
2013-04-10 4:18 ` Reuben Dowle
2013-04-10 15:20 ` David Li
2013-04-10 20:20 ` Reuben Dowle
2013-04-11 0:46 ` David Li
2013-04-11 1:50 ` Reuben Dowle
2013-04-11 4:01 ` David Li
2013-04-11 4:10 ` Reuben Dowle
2013-04-12 20:15 ` David Li
2013-04-14 20:42 ` Reuben Dowle
2013-04-15 17:59 ` David Li
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=5162F0E2.2030103@zacarias.com.ar \
--to=gustavo@zacarias.com.ar \
--cc=buildroot@busybox.net \
/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.