From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] add Gnublin board support
Date: Wed, 6 Feb 2013 16:46:54 +0100 [thread overview]
Message-ID: <20130206164654.3952c004@skate> (raw)
In-Reply-To: <1360154267-18767-1-git-send-email-mr.zoltan.gyarmati@gmail.com>
Dear Zoltan Gyarmati,
On Wed, 6 Feb 2013 13:37:47 +0100, Zoltan Gyarmati wrote:
>
> Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
> ---
> board/gnublin/README | 41 +
> board/gnublin/gnublin_kernel_config | 1836 +++++++++++++++++++++++++++++++++++
The kernel configuration file should preferably be a minimal
configuration file, generated using linux-savedefconfig.
> configs/gnublin_defconfig | 1253 ++++++++++++++++++++++++
Ditto here, minimal Buildroot config file preferred. Generated using
make savedefconfig.
> +++ b/board/gnublin/README
> @@ -0,0 +1,41 @@
> +This the Buildroot support for the Gnublin board
> +(see here: http://en.gnublin.org/) and to the Elektor Linux board
> +(http://www.elektor.com/news/elektor-presents-embedded-linux-made-easy.2147294.lynkx)
> +Unfortunately currently the AD and the pwm modules are not supported, i'm about to
> +add also those drivers as well to the current kernel later.
[...]
Could you wrap those lines to ~80 columns maximum? Good text editors
should have a way of doing that automatically for you.
> +Base kernel version: 3.7.0 (available here: https://gitorious.org/linux-3-7-gnublin/linux-3-7-gnublin/commits/gnublin-support)
> +U-boot version: 2009.11 (available here: https://gitorious.org/u-boot-gnublin-support/u-boot-gnublin-support)
> +
> +Steps to create a bootable SD card:
> +
> +#config buildroot with the gnublin_defconfig:
I believe it is a bit strange to have those comments starting with "#"
because "#" is also usually the root prompt. What about something like:
1. Configure buildroot with the gnublin_defconfig
$ make gnublin_defconfig
And ditto for the next steps?
> +
> +$ make gnublin_defconfig
> +
> +#tweak the config for your needs:
> +
> +$ make menuconfig
> +
> +#and build:
> +
> +$ make
> +
> +#Create 2 partitions on your SD card, one with type of BootIt (fdisk ID: df), the size should
> +#be around 1M, and another partition with all of the left space on the card, and
> +#with the type of normal DOS partition.
> +
> +#from the output/images directory dump the u-boot image to the BootIt partition:
> +
> +$ dd if=output/images/u-boot.bin of=/dev/sdc2
> +# ^^^^ modify it accordingly
Are you sure U-Boot goes on the second partition? My understanding of
your text is that the first partition is the small one with a special
type (I assume for the bootloader), and the second, big partition, is
for the root filesystem.
> +#and the dump the root fs image as well:
> +$ dd if=output/images/rootfs.ext2 of=/dev/sdc1
> +# ^^^^ modify it accordingly
Instead of "^^^^ modify it accordingly", just mention it on a different
line, like "Of course, /dev/sdc1 should be adjusted depending on which
device corresponds to the SD card on your system", or something like
that.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2013-02-06 15:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-06 12:37 [Buildroot] [PATCH] add Gnublin board support Zoltan Gyarmati
2013-02-06 15:46 ` Thomas Petazzoni [this message]
2013-02-06 16:07 ` Zoltan Gyarmati
2013-02-06 17:31 ` Arnout Vandecappelle
-- strict thread matches above, loose matches on Subject: below --
2013-02-06 18:13 [Buildroot] [PATCH] Add " Zoltan Gyarmati
2013-02-06 20:33 ` Arnout Vandecappelle
2013-02-07 9:53 ` Zoltan Gyarmati
2013-02-08 11:31 Zoltan Gyarmati
2013-02-08 11:43 ` Gustavo Zacarias
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=20130206164654.3952c004@skate \
--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