Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] bare-bone support for Soekris net4501
Date: Tue, 21 Dec 2010 10:36:59 +0100	[thread overview]
Message-ID: <20101221103659.08f633f4@surf> (raw)
In-Reply-To: <AANLkTim9KWDfq9pkkUodr19FVTNBZsAiYYLt258Uux0d@mail.gmail.com>

Hello,

On Mon, 20 Dec 2010 20:26:38 -0500
Chris Schaefer <chris@dtzq.com> wrote:

> I had needed bare-bone configs (kernel, buildroot, busybox, uClibc) as
> a starting point for projects running on a Soekris net4501 device. I'v
> attached what I have been using in hopes it could benefit others. This
> is my first experience w/ buildroot so please let me know any
> feedback/suggestions.

Thanks a lot! Support for such platforms is very welcome!

I have a couple of comments below, though.

> diff --git a/configs/soekris-net4501_defconfig
> b/configs/soekris-net4501_defconfig

Your patch is wrapped, something is wrong in your e-mail configuration.

Moreover, the Buildroot configuration file should be a minimal
configuration. To do so :

	make savedefconfig
	cp defconfig configs/soekris-net4501_defconfig

> diff --git a/target/device/soekris/net4501/busybox.config
> b/target/device/soekris/net4501/busybox.config

Why do you need a special Busybox configuration file ?

> diff --git a/target/device/soekris/net4501/device_table.txt
> b/target/device/soekris/net4501/device_table.txt

Could you detail the differences with the default device table ?

> diff --git a/target/device/soekris/net4501/linux26.config
> b/target/device/soekris/net4501/linux26.config

It should be stored in:

	board/soekris/net4501

And it should be a minimal kernel configuration. So in your kernel tree:

	make savedefconfig

and then

	cp defconfig /path/to/buildroot/board/soekris/net4501/linux-x.y.z.config

> diff --git a/target/device/soekris/net4501/target_skeleton/bin/.empty
> b/target/device/soekris/net4501/target_skeleton/bin/.empty

Could you highlight the differences between this target skeleton and
the default one ? I'm trying to avoid the duplication of skeletons, so
I need to understand what this one adds, and how we can solve it
without duplicating the complete target skeleton.

> diff --git a/target/device/soekris/net4501/uClibc.config
> b/target/device/soekris/net4501/uClibc.config

Could you detail why a specific uClibc configuration is needed compared
to the default one we ship in toolchain/uClibc/ ?

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2010-12-21  9:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-21  1:26 [Buildroot] [PATCH] bare-bone support for Soekris net4501 Chris Schaefer
2010-12-21  9:36 ` Thomas Petazzoni [this message]
2010-12-24  5:19   ` Chris Schaefer
2011-01-05  5:06     ` Chris Schaefer

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=20101221103659.08f633f4@surf \
    --to=thomas.petazzoni@free-electrons.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox