Patchwork Add Gnublin board support

mail settings
Submitter Zoltan Gyarmati
Date Feb. 8, 2013, 11:31 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/219115/
State Superseded
Headers show


Zoltan Gyarmati - Feb. 8, 2013, 11:31 a.m.
Signed-off-by: Zoltan Gyarmati <>
 board/gnublin/README      |   52 +++++++++++++++++++++++++++++++++++++++++++++
 configs/gnublin_defconfig |   16 ++++++++++++++
 2 files changed, 68 insertions(+)
 create mode 100644 board/gnublin/README
 create mode 100644 configs/gnublin_defconfig
Gustavo Zacarias - Feb. 8, 2013, 11:43 a.m.
On 02/08/2013 08:31 AM, Zoltan Gyarmati wrote:


Can you add these lines too?


These are to lock down on kernel headers.
It's not a problem at the moment since the default buildroot version is
3.7.x, but this will change in the future when 3.8, 3.9, so on are
released and it's bad building a toolchain with newer headers than the
running kernel (eventual breakage).


diff --git a/board/gnublin/README b/board/gnublin/README
new file mode 100644
index 0000000..e58b366
--- /dev/null
+++ b/board/gnublin/README
@@ -0,0 +1,52 @@ 
+This the Buildroot support for the  LPC3131 based Gnublin board (see here:
+ and for the Elektor Linux board
+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.
+Base kernel version: 3.7 (available here:
+U-boot version: 2009.11 (available here:
+Steps to create a bootable SD card (with the given config you need an at least
+500 MB SD card):
+1.Config buildroot with the gnublin_defconfig:
+$ make gnublin_defconfig
+2.Tweak the config for your needs:
+$ make menuconfig
+$ make
+4.Create two 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.
+5.From the output/images directory dump the u-boot image to the BootIt partition
+(probably you have to modify the output /dev files according to your system):
+$ dd if=output/images/u-boot.bin of=/dev/sdc1
+6.Dump the root fs image as well:
+$ dd if=output/images/rootfs.ext2 of=/dev/sdc2
+7.Insert the SD card into the board's slot, and your board should boot up with
+your newly created system.
+Any feedback/report is welcome on the mr.zoltan.gyarmati[at] 
diff --git a/configs/gnublin_defconfig b/configs/gnublin_defconfig
new file mode 100644
index 0000000..68deca9
--- /dev/null
+++ b/configs/gnublin_defconfig
@@ -0,0 +1,16 @@ 
+BR2_TARGET_GENERIC_ISSUE="Welcome to Gnublin"