All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [V2 0/4] A20-OLinuXino-Lime: new board
@ 2015-06-19 19:13 Francois Perrad
  2015-06-19 19:13 ` [Buildroot] [V2 1/4] sunxi-board: bump to version a6a4e94066f4ec6b26fc7060dc453a6bcf26a504 Francois Perrad
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Francois Perrad @ 2015-06-19 19:13 UTC (permalink / raw)
  To: buildroot

This set adds the board A20-OLinuXino-Lime, with 2 flavors:
    - kernel mainline + uboot mainline
    - linux-sunxi (3.4.x) + uboot-sunxi

And also updates two sunxi related packages (sunxi-board & a10disp).

Changes V1 -> V2: review/comments by Arnout Vandecappelle
  - mainline:
    - set BR2_KERNEL_HEADERS_4_0=y
    - set BR2_LINUX_KERNEL_INSTALL_TARGET=y
    - set BR2_TARGET_ROOTFS_EXT2_4=y
    - refactor post-build with arguments from BR2_ROOTFS_POST_SCRIPT_ARGS
  - rename of board/cubietech/cubieboard/mkcubiecard.sh
    - patch removed
  - legacy renamed to mali:
    - refactor post-build with arguments from BR2_ROOTFS_POST_SCRIPT_ARGS
    - readme-mali.txt:
      - include text from https://linux-sunxi.org/Linux_Kernel
      - fix a typo


Francois Perrad (4):
  sunxi-board: bump to version a6a4e94066f4ec6b26fc7060dc453a6bcf26a504
  a10disp: bump to version v0.6.1
  A20-OLinuXino-Lime: new board (mainline)
  A20-OLinuXino-Lime: new board (mali)

 board/olimex/a20_olinuxino_lime/boot-mali.cmd   |  4 ++
 board/olimex/a20_olinuxino_lime/boot.cmd        |  5 ++
 board/olimex/a20_olinuxino_lime/mksunxicard.sh  |  1 +
 board/olimex/a20_olinuxino_lime/post-build.sh   |  8 +++
 board/olimex/a20_olinuxino_lime/readme-mali.txt | 65 +++++++++++++++++++
 board/olimex/a20_olinuxino_lime/readme.txt      | 86 +++++++++++++++++++++++++
 configs/olimex_a20_olinuxino_defconfig          | 41 ++++++++++++
 configs/olimex_a20_olinuxino_mali_defconfig     | 44 +++++++++++++
 package/a10disp/a10disp.mk                      |  2 +-
 package/sunxi-boards/sunxi-boards.mk            |  2 +-
 10 files changed, 256 insertions(+), 2 deletions(-)
 create mode 100644 board/olimex/a20_olinuxino_lime/boot-mali.cmd
 create mode 100644 board/olimex/a20_olinuxino_lime/boot.cmd
 create mode 120000 board/olimex/a20_olinuxino_lime/mksunxicard.sh
 create mode 100755 board/olimex/a20_olinuxino_lime/post-build.sh
 create mode 100644 board/olimex/a20_olinuxino_lime/readme-mali.txt
 create mode 100644 board/olimex/a20_olinuxino_lime/readme.txt
 create mode 100644 configs/olimex_a20_olinuxino_defconfig
 create mode 100644 configs/olimex_a20_olinuxino_mali_defconfig

-- 
2.1.4

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 1/4] sunxi-board: bump to version a6a4e94066f4ec6b26fc7060dc453a6bcf26a504
  2015-06-19 19:13 [Buildroot] [V2 0/4] A20-OLinuXino-Lime: new board Francois Perrad
@ 2015-06-19 19:13 ` Francois Perrad
  2015-06-21  4:42   ` Thomas Petazzoni
  2015-06-19 19:13 ` [Buildroot] [V2 2/4] a10disp: bump to version v0.6.1 Francois Perrad
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 20+ messages in thread
From: Francois Perrad @ 2015-06-19 19:13 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/sunxi-boards/sunxi-boards.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/sunxi-boards/sunxi-boards.mk b/package/sunxi-boards/sunxi-boards.mk
index cacf824..83b3842 100644
--- a/package/sunxi-boards/sunxi-boards.mk
+++ b/package/sunxi-boards/sunxi-boards.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SUNXI_BOARDS_VERSION = 68acb3b1610a44b9402560623f7e35b7882585e9
+SUNXI_BOARDS_VERSION = a6a4e94066f4ec6b26fc7060dc453a6bcf26a504
 SUNXI_BOARDS_SITE = $(call github,linux-sunxi,sunxi-boards,$(SUNXI_BOARDS_VERSION))
 SUNXI_BOARDS_DEPENDENCIES = host-sunxi-tools
 SUNXI_BOARDS_INSTALL_IMAGES = YES
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 2/4] a10disp: bump to version v0.6.1
  2015-06-19 19:13 [Buildroot] [V2 0/4] A20-OLinuXino-Lime: new board Francois Perrad
  2015-06-19 19:13 ` [Buildroot] [V2 1/4] sunxi-board: bump to version a6a4e94066f4ec6b26fc7060dc453a6bcf26a504 Francois Perrad
@ 2015-06-19 19:13 ` Francois Perrad
  2015-06-21  4:43   ` Thomas Petazzoni
  2015-06-19 19:13 ` [Buildroot] [V2 3/4] A20-OLinuXino-Lime: new board (mainline) Francois Perrad
  2015-06-19 19:13 ` [Buildroot] [V2 4/4] A20-OLinuXino-Lime: new board (mali) Francois Perrad
  3 siblings, 1 reply; 20+ messages in thread
From: Francois Perrad @ 2015-06-19 19:13 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/a10disp/a10disp.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/a10disp/a10disp.mk b/package/a10disp/a10disp.mk
index 066e988..7353ede 100644
--- a/package/a10disp/a10disp.mk
+++ b/package/a10disp/a10disp.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-A10DISP_VERSION = a899cc6dcf909360aac00482ede5369f3656f226
+A10DISP_VERSION = v0.6.1
 A10DISP_SITE = $(call github,hglm,a10disp,$(A10DISP_VERSION))
 A10DISP_LICENSE = MIT
 
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 3/4] A20-OLinuXino-Lime: new board (mainline)
  2015-06-19 19:13 [Buildroot] [V2 0/4] A20-OLinuXino-Lime: new board Francois Perrad
  2015-06-19 19:13 ` [Buildroot] [V2 1/4] sunxi-board: bump to version a6a4e94066f4ec6b26fc7060dc453a6bcf26a504 Francois Perrad
  2015-06-19 19:13 ` [Buildroot] [V2 2/4] a10disp: bump to version v0.6.1 Francois Perrad
@ 2015-06-19 19:13 ` Francois Perrad
  2015-06-19 20:49   ` Arnout Vandecappelle
  2015-06-22 12:06   ` Luca Ceresoli
  2015-06-19 19:13 ` [Buildroot] [V2 4/4] A20-OLinuXino-Lime: new board (mali) Francois Perrad
  3 siblings, 2 replies; 20+ messages in thread
From: Francois Perrad @ 2015-06-19 19:13 UTC (permalink / raw)
  To: buildroot

config device tree / mainline (4.0.5)

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 board/olimex/a20_olinuxino_lime/boot.cmd      |  5 ++
 board/olimex/a20_olinuxino_lime/post-build.sh |  8 +++
 board/olimex/a20_olinuxino_lime/readme.txt    | 86 +++++++++++++++++++++++++++
 configs/olimex_a20_olinuxino_defconfig        | 41 +++++++++++++
 4 files changed, 140 insertions(+)
 create mode 100644 board/olimex/a20_olinuxino_lime/boot.cmd
 create mode 100755 board/olimex/a20_olinuxino_lime/post-build.sh
 create mode 100644 board/olimex/a20_olinuxino_lime/readme.txt
 create mode 100644 configs/olimex_a20_olinuxino_defconfig

diff --git a/board/olimex/a20_olinuxino_lime/boot.cmd b/board/olimex/a20_olinuxino_lime/boot.cmd
new file mode 100644
index 0000000..1714f20
--- /dev/null
+++ b/board/olimex/a20_olinuxino_lime/boot.cmd
@@ -0,0 +1,5 @@
+setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait panic=10 ${extra}
+ext4load mmc 0 0x49000000 /boot/sun7i-a20-olinuxino-lime.dtb
+ext4load mmc 0 0x46000000 /boot/zImage
+env set fdt_high ffffffff
+bootz 0x46000000 - 0x49000000
diff --git a/board/olimex/a20_olinuxino_lime/post-build.sh b/board/olimex/a20_olinuxino_lime/post-build.sh
new file mode 100755
index 0000000..4e6fbec
--- /dev/null
+++ b/board/olimex/a20_olinuxino_lime/post-build.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# args from BR2_ROOTFS_POST_SCRIPT_ARGS
+# $2    path of boot.cmd
+# $3    output directory for boot.scr
+
+MKIMAGE=$HOST_DIR/usr/bin/mkimage
+
+$MKIMAGE -A arm -O linux -T script -C none -d $2 $3/boot.scr
diff --git a/board/olimex/a20_olinuxino_lime/readme.txt b/board/olimex/a20_olinuxino_lime/readme.txt
new file mode 100644
index 0000000..cc661a6
--- /dev/null
+++ b/board/olimex/a20_olinuxino_lime/readme.txt
@@ -0,0 +1,86 @@
+A20-OLinuXino-LIME
+
+Intro
+=====
+
+This is a open hardware board,
+see https://www.olimex.com/Products/OLinuXino/open-source-hardware
+
+How to build it
+===============
+
+    $ make olimex_a20_olinuxino_defconfig
+
+Compile all and build rootfs image:
+
+    $ make
+
+Result of the build
+-------------------
+
+After building, you should get a tree like this:
+
+    output/images/
+    +-- rootfs.ext2
+    +-- rootfs.ext4 -> rootfs.ext2
+    +-- sun7i-a20-olinuxino-lime.dtb
+    +-- u-boot.bin
+    +-- u-boot-sunxi-with-spl.bin
+    `-- zImage
+
+
+How setting up the SD card
+==========================
+
+
+Prepare the SD card
+-------------------
+
+Erase existing stuff, and create an unique Linux partition with `fdisk`.
+
+    # fdisk /dev/sdX
+    Command (m for help): o
+    Building a new DOS disklabel with disk identifier 0xf9e1616a.
+    Changes will remain in memory only, until you decide to write them.
+    After that, of course, the previous content won't be recoverable.
+
+    Command (m for help): n
+    Partition type:
+        p   primary (0 primary, 0 extended, 4 free)
+        e   extended
+    Select (default p): p
+    Partition number (1-4, default 1): 1
+    First sector (2048-7626751, default 2048): 2048
+    Last sector, +sectors or +size{K,M,G} (2048-7626751, default 7626751): 
+    Using default value 7626751
+
+    Command (m for help): p
+
+    Disk /dev/sdX: 3904 MB, 3904897024 bytes
+    4 heads, 16 sectors/track, 119168 cylinders, total 7626752 sectors
+    Units = sectors of 1 * 512 = 512 bytes
+    Sector size (logical/physical): 512 bytes / 512 bytes
+    I/O size (minimum/optimal): 512 bytes / 512 bytes
+    Disk identifier: 0xf9e1616a
+
+            Device Boot      Start         End      Blocks   Id  System
+    /dev/sdX1                 2048     7626751     3812352   83  Linux
+
+    Command (m for help): w
+    The partition table has been altered!
+
+    Calling ioctl() to re-read partition table.
+    Syncing disks.
+
+Copy images on the SD card
+--------------------------
+
+    # dd if=output/images/rootfs.ext2 of=/dev/sdX1
+    # dd if=output/images/u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8
+
+
+Finish
+======
+
+Eject the SD card, insert it in the A20-OLinuXino-LIME board, and power it up.
+
diff --git a/configs/olimex_a20_olinuxino_defconfig b/configs/olimex_a20_olinuxino_defconfig
new file mode 100644
index 0000000..d59a2cc
--- /dev/null
+++ b/configs/olimex_a20_olinuxino_defconfig
@@ -0,0 +1,41 @@
+# Architecture
+BR2_arm=y
+BR2_cortex_a7=y
+
+# Kernel headers
+BR2_KERNEL_HEADERS_4_0=y
+
+# System configuration
+BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino"
+BR2_TARGET_GENERIC_ISSUE="Welcome to use OLinuXino!"
+BR2_TARGET_GENERIC_GETTY=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino_lime/post-build.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="board/olimex/a20_olinuxino_lime/boot.cmd $(TARGET_DIR)/boot"
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.0.5"
+BR2_LINUX_KERNEL_USE_DEFCONFIG=y
+BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
+BR2_LINUX_KERNEL_ZIMAGE=y
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-olinuxino-lime"
+BR2_LINUX_KERNEL_INSTALL_TARGET=y
+
+# Filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+# BR2_TARGET_ROOTFS_TAR is not set
+
+# Bootloaders
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_VERSION="2015.04"
+BR2_TARGET_UBOOT_BOARDNAME="A20-OLinuXino-Lime"
+BR2_TARGET_UBOOT_FORMAT_BIN=y
+BR2_TARGET_UBOOT_SPL=y
+BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
+
+# Additional tools
+BR2_PACKAGE_HOST_UBOOT_TOOLS=y
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 4/4] A20-OLinuXino-Lime: new board (mali)
  2015-06-19 19:13 [Buildroot] [V2 0/4] A20-OLinuXino-Lime: new board Francois Perrad
                   ` (2 preceding siblings ...)
  2015-06-19 19:13 ` [Buildroot] [V2 3/4] A20-OLinuXino-Lime: new board (mainline) Francois Perrad
@ 2015-06-19 19:13 ` Francois Perrad
  2015-06-19 20:08   ` Maxime Ripard
                     ` (2 more replies)
  3 siblings, 3 replies; 20+ messages in thread
From: Francois Perrad @ 2015-06-19 19:13 UTC (permalink / raw)
  To: buildroot

config mali / sunxi like Cubieboard2

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 board/olimex/a20_olinuxino_lime/boot-mali.cmd   |  4 ++
 board/olimex/a20_olinuxino_lime/mksunxicard.sh  |  1 +
 board/olimex/a20_olinuxino_lime/readme-mali.txt | 65 +++++++++++++++++++++++++
 configs/olimex_a20_olinuxino_mali_defconfig     | 44 +++++++++++++++++
 4 files changed, 114 insertions(+)
 create mode 100644 board/olimex/a20_olinuxino_lime/boot-mali.cmd
 create mode 120000 board/olimex/a20_olinuxino_lime/mksunxicard.sh
 create mode 100644 board/olimex/a20_olinuxino_lime/readme-mali.txt
 create mode 100644 configs/olimex_a20_olinuxino_mali_defconfig

diff --git a/board/olimex/a20_olinuxino_lime/boot-mali.cmd b/board/olimex/a20_olinuxino_lime/boot-mali.cmd
new file mode 100644
index 0000000..849ed00
--- /dev/null
+++ b/board/olimex/a20_olinuxino_lime/boot-mali.cmd
@@ -0,0 +1,4 @@
+setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10 ${extra}
+fatload mmc 0 0x43000000 script.bin
+fatload mmc 0 0x48000000 uImage
+bootm 0x48000000
diff --git a/board/olimex/a20_olinuxino_lime/mksunxicard.sh b/board/olimex/a20_olinuxino_lime/mksunxicard.sh
new file mode 120000
index 0000000..f0fcd02
--- /dev/null
+++ b/board/olimex/a20_olinuxino_lime/mksunxicard.sh
@@ -0,0 +1 @@
+../../cubietech/cubieboard/mkcubiecard.sh
\ No newline at end of file
diff --git a/board/olimex/a20_olinuxino_lime/readme-mali.txt b/board/olimex/a20_olinuxino_lime/readme-mali.txt
new file mode 100644
index 0000000..51e8a1c
--- /dev/null
+++ b/board/olimex/a20_olinuxino_lime/readme-mali.txt
@@ -0,0 +1,65 @@
+A20-OLinuXino-LIME
+
+Intro
+=====
+
+This is a open hardware board,
+see https://www.olimex.com/Products/OLinuXino/open-source-hardware
+
+The legacy linux-sunxi kernels are based on the vendor code drops.
+It is only useful when accelerated 3D graphics and multimedia support
+is strictly necessary.
+
+The Mainline Kernel is already a much better choice for a headless server.
+And also the mainline kernel works fine even for a basic Linux desktop
+system running on top of a simple framebuffer, which may be good enough for
+the users who do not need fancy 3D graphics or video playback acceleration.
+
+How to build it
+===============
+
+    $ make olimex_a20_olinuxino_mali_defconfig
+
+Compile all and build rootfs image:
+
+    $ make
+
+Result of the build
+-------------------
+
+After building, you should get a tree like this:
+
+    output/images/
+    +-- boot.scr
+    +-- rootfs.tar
+    +-- script.bin
+    +-- u-boot-sunxi-with-spl.bin
+    +-- u-boot.bin
+    `-- uImage
+
+
+How setting up the SD card
+==========================
+
+Depending on the rootfs size, you might want to use a 2GB or larger SD-card.
+The script `mksunxicard.sh` will take care of partitioning and formatting
+the SD-card.
+
+BEWARE! This process will erase your SD card.
+
+Use `dmesg` to find out where the SD card is attached in the /dev tree
+(<device>) and then:
+
+    # ./mksunxicard.sh <images_dir> <device>
+
+where:
+    - <images_dir> is the directory containing the generated files (usually
+    output/images)
+    - <device> is the device file of the SD card (usually /dev/sdX)
+
+
+Finish
+======
+
+Eject the SD card, insert it in the A20-OLinuXino-LIME board, and power it up.
+
diff --git a/configs/olimex_a20_olinuxino_mali_defconfig b/configs/olimex_a20_olinuxino_mali_defconfig
new file mode 100644
index 0000000..2af885d
--- /dev/null
+++ b/configs/olimex_a20_olinuxino_mali_defconfig
@@ -0,0 +1,44 @@
+# Architecture
+BR2_arm=y
+BR2_cortex_a7=y
+
+# Kernel headers
+BR2_KERNEL_HEADERS_3_4=y
+
+# System configuration
+BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino"
+BR2_TARGET_GENERIC_ISSUE="Welcome to use OLinuXino!"
+BR2_TARGET_GENERIC_GETTY=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino_lime/post-build.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="board/olimex/a20_olinuxino_lime/boot-mali.cmd $(BINARIES_DIR)"
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_VERSION="sunxi-3.4"
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux-sunxi/linux-sunxi.git"
+# based on Linux version 3.4.103
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9a1cd034181af628d4145202289e1993c1687db6"
+BR2_LINUX_KERNEL_USE_DEFCONFIG=y
+BR2_LINUX_KERNEL_DEFCONFIG="sun7i"
+
+# sunxi packages
+BR2_PACKAGE_SUNXI_TOOLS=y
+BR2_PACKAGE_SUNXI_BOARDS=y
+BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE="a20/a20-olinuxino_lime.fex"
+
+# Bootloaders
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="A20-OLinuXino-Lime"
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_VERSION="sunxi"
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux-sunxi/u-boot-sunxi.git"
+# based on U-Boot 2014.04
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="ea1ac32bf76eb60baef474c2516fc431b381d952"
+BR2_TARGET_UBOOT_FORMAT_BIN=y
+BR2_TARGET_UBOOT_SPL=y
+BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
+
+# Additional tools
+BR2_PACKAGE_HOST_UBOOT_TOOLS=y
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 4/4] A20-OLinuXino-Lime: new board (mali)
  2015-06-19 19:13 ` [Buildroot] [V2 4/4] A20-OLinuXino-Lime: new board (mali) Francois Perrad
@ 2015-06-19 20:08   ` Maxime Ripard
  2015-06-20  5:28     ` François Perrad
  2015-06-19 20:49   ` Arnout Vandecappelle
  2015-06-19 21:55   ` Arnout Vandecappelle
  2 siblings, 1 reply; 20+ messages in thread
From: Maxime Ripard @ 2015-06-19 20:08 UTC (permalink / raw)
  To: buildroot

On Fri, Jun 19, 2015 at 09:13:24PM +0200, Francois Perrad wrote:
> config mali / sunxi like Cubieboard2
> 
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
>  board/olimex/a20_olinuxino_lime/boot-mali.cmd   |  4 ++
>  board/olimex/a20_olinuxino_lime/mksunxicard.sh  |  1 +
>  board/olimex/a20_olinuxino_lime/readme-mali.txt | 65 +++++++++++++++++++++++++
>  configs/olimex_a20_olinuxino_mali_defconfig     | 44 +++++++++++++++++
>  4 files changed, 114 insertions(+)
>  create mode 100644 board/olimex/a20_olinuxino_lime/boot-mali.cmd
>  create mode 120000 board/olimex/a20_olinuxino_lime/mksunxicard.sh
>  create mode 100644 board/olimex/a20_olinuxino_lime/readme-mali.txt
>  create mode 100644 configs/olimex_a20_olinuxino_mali_defconfig
> 
> diff --git a/board/olimex/a20_olinuxino_lime/boot-mali.cmd b/board/olimex/a20_olinuxino_lime/boot-mali.cmd
> new file mode 100644
> index 0000000..849ed00
> --- /dev/null
> +++ b/board/olimex/a20_olinuxino_lime/boot-mali.cmd
> @@ -0,0 +1,4 @@
> +setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10 ${extra}
> +fatload mmc 0 0x43000000 script.bin
> +fatload mmc 0 0x48000000 uImage
> +bootm 0x48000000
> diff --git a/board/olimex/a20_olinuxino_lime/mksunxicard.sh b/board/olimex/a20_olinuxino_lime/mksunxicard.sh
> new file mode 120000
> index 0000000..f0fcd02
> --- /dev/null
> +++ b/board/olimex/a20_olinuxino_lime/mksunxicard.sh
> @@ -0,0 +1 @@
> +../../cubietech/cubieboard/mkcubiecard.sh
> \ No newline at end of file
> diff --git a/board/olimex/a20_olinuxino_lime/readme-mali.txt b/board/olimex/a20_olinuxino_lime/readme-mali.txt
> new file mode 100644
> index 0000000..51e8a1c
> --- /dev/null
> +++ b/board/olimex/a20_olinuxino_lime/readme-mali.txt
> @@ -0,0 +1,65 @@
> +A20-OLinuXino-LIME
> +
> +Intro
> +=====
> +
> +This is a open hardware board,
> +see https://www.olimex.com/Products/OLinuXino/open-source-hardware
> +
> +The legacy linux-sunxi kernels are based on the vendor code drops.
> +It is only useful when accelerated 3D graphics and multimedia support
> +is strictly necessary.
> +
> +The Mainline Kernel is already a much better choice for a headless server.
> +And also the mainline kernel works fine even for a basic Linux desktop
> +system running on top of a simple framebuffer, which may be good enough for
> +the users who do not need fancy 3D graphics or video playback acceleration.
> +
> +How to build it
> +===============
> +
> +    $ make olimex_a20_olinuxino_mali_defconfig
> +
> +Compile all and build rootfs image:
> +
> +    $ make
> +
> +Result of the build
> +-------------------
> +
> +After building, you should get a tree like this:
> +
> +    output/images/
> +    +-- boot.scr
> +    +-- rootfs.tar
> +    +-- script.bin
> +    +-- u-boot-sunxi-with-spl.bin
> +    +-- u-boot.bin
> +    `-- uImage
> +
> +
> +How setting up the SD card
> +==========================
> +
> +Depending on the rootfs size, you might want to use a 2GB or larger SD-card.
> +The script `mksunxicard.sh` will take care of partitioning and formatting
> +the SD-card.
> +
> +BEWARE! This process will erase your SD card.
> +
> +Use `dmesg` to find out where the SD card is attached in the /dev tree
> +(<device>) and then:
> +
> +    # ./mksunxicard.sh <images_dir> <device>
> +
> +where:
> +    - <images_dir> is the directory containing the generated files (usually
> +    output/images)
> +    - <device> is the device file of the SD card (usually /dev/sdX)
> +
> +
> +Finish
> +======
> +
> +Eject the SD card, insert it in the A20-OLinuXino-LIME board, and power it up.
> +
> diff --git a/configs/olimex_a20_olinuxino_mali_defconfig b/configs/olimex_a20_olinuxino_mali_defconfig
> new file mode 100644
> index 0000000..2af885d
> --- /dev/null
> +++ b/configs/olimex_a20_olinuxino_mali_defconfig
> @@ -0,0 +1,44 @@
> +# Architecture
> +BR2_arm=y
> +BR2_cortex_a7=y
> +
> +# Kernel headers
> +BR2_KERNEL_HEADERS_3_4=y
> +
> +# System configuration
> +BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino"
> +BR2_TARGET_GENERIC_ISSUE="Welcome to use OLinuXino!"
> +BR2_TARGET_GENERIC_GETTY=y
> +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
> +BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino_lime/post-build.sh"
> +BR2_ROOTFS_POST_SCRIPT_ARGS="board/olimex/a20_olinuxino_lime/boot-mali.cmd $(BINARIES_DIR)"
> +
> +# Kernel
> +BR2_LINUX_KERNEL=y
> +BR2_LINUX_KERNEL_CUSTOM_GIT=y
> +BR2_LINUX_KERNEL_VERSION="sunxi-3.4"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux-sunxi/linux-sunxi.git"
> +# based on Linux version 3.4.103
> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9a1cd034181af628d4145202289e1993c1687db6"
> +BR2_LINUX_KERNEL_USE_DEFCONFIG=y
> +BR2_LINUX_KERNEL_DEFCONFIG="sun7i"
> +
> +# sunxi packages
> +BR2_PACKAGE_SUNXI_TOOLS=y
> +BR2_PACKAGE_SUNXI_BOARDS=y
> +BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE="a20/a20-olinuxino_lime.fex"
> +
> +# Bootloaders
> +BR2_TARGET_UBOOT=y
> +BR2_TARGET_UBOOT_BOARDNAME="A20-OLinuXino-Lime"
> +BR2_TARGET_UBOOT_CUSTOM_GIT=y
> +BR2_TARGET_UBOOT_VERSION="sunxi"
> +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux-sunxi/u-boot-sunxi.git"
> +# based on U-Boot 2014.04
> +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="ea1ac32bf76eb60baef474c2516fc431b381d952"
> +BR2_TARGET_UBOOT_FORMAT_BIN=y
> +BR2_TARGET_UBOOT_SPL=y
> +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"

U-boot sunxi is unmaintained and deprecated, you probably don't wnat
to use that.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150619/757e6c70/attachment.asc>

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 4/4] A20-OLinuXino-Lime: new board (mali)
  2015-06-19 19:13 ` [Buildroot] [V2 4/4] A20-OLinuXino-Lime: new board (mali) Francois Perrad
  2015-06-19 20:08   ` Maxime Ripard
@ 2015-06-19 20:49   ` Arnout Vandecappelle
  2015-06-20  5:39     ` François Perrad
  2015-06-19 21:55   ` Arnout Vandecappelle
  2 siblings, 1 reply; 20+ messages in thread
From: Arnout Vandecappelle @ 2015-06-19 20:49 UTC (permalink / raw)
  To: buildroot

 Hi Francois,

On 06/19/15 21:13, Francois Perrad wrote:
> config mali / sunxi like Cubieboard2
> 
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>

 It would have been polite to mention in the cover letter or here why you don't
agree with my earlier suggestion to merge the two readme files. But no need to
change that, it's OK to keep them split.

 Again some minor documentation fixes below, otherwise:
 Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

[snip]
> +How setting up the SD card

How to write the SD card

> +==========================
> +
> +Depending on the rootfs size, you might want to use a 2GB or larger SD-card.
> +The script `mksunxicard.sh` will take care of partitioning and formatting
> +the SD-card.
> +
> +BEWARE! This process will erase your SD card.
> +
> +Use `dmesg` to find out where the SD card is attached in the /dev tree
> +(<device>) and then:
> +
> +    # ./mksunxicard.sh <images_dir> <device>
> +
> +where:
> +    - <images_dir> is the directory containing the generated files (usually
> +    output/images)
> +    - <device> is the device file of the SD card (usually /dev/sdX)

/dev/sdX or /dev/mmcblkX

> +
> +
> +Finish
> +======
> +
> +Eject the SD card, insert it in the A20-OLinuXino-LIME board, and power it up.
> +
> diff --git a/configs/olimex_a20_olinuxino_mali_defconfig b/configs/olimex_a20_olinuxino_mali_defconfig
> new file mode 100644
> index 0000000..2af885d
> --- /dev/null
> +++ b/configs/olimex_a20_olinuxino_mali_defconfig
> @@ -0,0 +1,44 @@
> +# Architecture
> +BR2_arm=y
> +BR2_cortex_a7=y
> +
> +# Kernel headers
> +BR2_KERNEL_HEADERS_3_4=y
> +
> +# System configuration
> +BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino"
> +BR2_TARGET_GENERIC_ISSUE="Welcome to use OLinuXino!"

Welcome to OLinuXino!


 Regards,
 Arnout

> +BR2_TARGET_GENERIC_GETTY=y
> +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
> +BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino_lime/post-build.sh"
> +BR2_ROOTFS_POST_SCRIPT_ARGS="board/olimex/a20_olinuxino_lime/boot-mali.cmd $(BINARIES_DIR)"
> +
> +# Kernel
> +BR2_LINUX_KERNEL=y
> +BR2_LINUX_KERNEL_CUSTOM_GIT=y
> +BR2_LINUX_KERNEL_VERSION="sunxi-3.4"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux-sunxi/linux-sunxi.git"
> +# based on Linux version 3.4.103
> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9a1cd034181af628d4145202289e1993c1687db6"
> +BR2_LINUX_KERNEL_USE_DEFCONFIG=y
> +BR2_LINUX_KERNEL_DEFCONFIG="sun7i"
> +
> +# sunxi packages
> +BR2_PACKAGE_SUNXI_TOOLS=y
> +BR2_PACKAGE_SUNXI_BOARDS=y
> +BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE="a20/a20-olinuxino_lime.fex"
> +
> +# Bootloaders
> +BR2_TARGET_UBOOT=y
> +BR2_TARGET_UBOOT_BOARDNAME="A20-OLinuXino-Lime"
> +BR2_TARGET_UBOOT_CUSTOM_GIT=y
> +BR2_TARGET_UBOOT_VERSION="sunxi"
> +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux-sunxi/u-boot-sunxi.git"
> +# based on U-Boot 2014.04
> +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="ea1ac32bf76eb60baef474c2516fc431b381d952"
> +BR2_TARGET_UBOOT_FORMAT_BIN=y
> +BR2_TARGET_UBOOT_SPL=y
> +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
> +
> +# Additional tools
> +BR2_PACKAGE_HOST_UBOOT_TOOLS=y
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 3/4] A20-OLinuXino-Lime: new board (mainline)
  2015-06-19 19:13 ` [Buildroot] [V2 3/4] A20-OLinuXino-Lime: new board (mainline) Francois Perrad
@ 2015-06-19 20:49   ` Arnout Vandecappelle
  2015-06-22 12:23     ` Luca Ceresoli
  2015-06-22 12:06   ` Luca Ceresoli
  1 sibling, 1 reply; 20+ messages in thread
From: Arnout Vandecappelle @ 2015-06-19 20:49 UTC (permalink / raw)
  To: buildroot

On 06/19/15 21:13, Francois Perrad wrote:
> config device tree / mainline (4.0.5)
> 
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>

 Just some minor documentation fixes... With that:

  Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

[snip]
> +How to build it
> +===============
> +
> +    $ make olimex_a20_olinuxino_defconfig
> +
> +Compile all and build rootfs image:

Compile everything and build the rootfs image:

> +
> +    $ make
> +
> +Result of the build
> +-------------------
> +
> +After building, you should get a tree like this:
> +
> +    output/images/
> +    +-- rootfs.ext2
> +    +-- rootfs.ext4 -> rootfs.ext2
> +    +-- sun7i-a20-olinuxino-lime.dtb
> +    +-- u-boot.bin
> +    +-- u-boot-sunxi-with-spl.bin
> +    `-- zImage
> +
> +
> +How setting up the SD card

How to write the SD card

> +==========================
> +
> +
> +Prepare the SD card
> +-------------------
> +
> +Erase existing stuff, and create an unique Linux partition with `fdisk`.
> +
> +    # fdisk /dev/sdX
> +    Command (m for help): o
> +    Building a new DOS disklabel with disk identifier 0xf9e1616a.
> +    Changes will remain in memory only, until you decide to write them.
> +    After that, of course, the previous content won't be recoverable.
> +
> +    Command (m for help): n
> +    Partition type:
> +        p   primary (0 primary, 0 extended, 4 free)
> +        e   extended
> +    Select (default p): p
> +    Partition number (1-4, default 1): 1
> +    First sector (2048-7626751, default 2048): 2048
> +    Last sector, +sectors or +size{K,M,G} (2048-7626751, default 7626751): 
> +    Using default value 7626751
> +
> +    Command (m for help): p
> +
> +    Disk /dev/sdX: 3904 MB, 3904897024 bytes
> +    4 heads, 16 sectors/track, 119168 cylinders, total 7626752 sectors
> +    Units = sectors of 1 * 512 = 512 bytes
> +    Sector size (logical/physical): 512 bytes / 512 bytes
> +    I/O size (minimum/optimal): 512 bytes / 512 bytes
> +    Disk identifier: 0xf9e1616a
> +
> +            Device Boot      Start         End      Blocks   Id  System
> +    /dev/sdX1                 2048     7626751     3812352   83  Linux
> +
> +    Command (m for help): w
> +    The partition table has been altered!
> +
> +    Calling ioctl() to re-read partition table.
> +    Syncing disks.
> +
> +Copy images on the SD card
> +--------------------------
> +
> +    # dd if=output/images/rootfs.ext2 of=/dev/sdX1

 rootfs.ext4

 Also, I personally prefer to use cat rather than dd, it's generally faster.

> +    # dd if=output/images/u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8
> +
> +
> +Finish
> +======
> +
> +Eject the SD card, insert it in the A20-OLinuXino-LIME board, and power it up.
> +
> diff --git a/configs/olimex_a20_olinuxino_defconfig b/configs/olimex_a20_olinuxino_defconfig
> new file mode 100644
> index 0000000..d59a2cc
> --- /dev/null
> +++ b/configs/olimex_a20_olinuxino_defconfig
> @@ -0,0 +1,41 @@
> +# Architecture
> +BR2_arm=y
> +BR2_cortex_a7=y
> +
> +# Kernel headers
> +BR2_KERNEL_HEADERS_4_0=y
> +
> +# System configuration
> +BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino"
> +BR2_TARGET_GENERIC_ISSUE="Welcome to use OLinuXino!"

 The 'use' is redundant here.


 Regards,
 Arnout

> +BR2_TARGET_GENERIC_GETTY=y
> +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
> +BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino_lime/post-build.sh"
> +BR2_ROOTFS_POST_SCRIPT_ARGS="board/olimex/a20_olinuxino_lime/boot.cmd $(TARGET_DIR)/boot"
[snip]


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 4/4] A20-OLinuXino-Lime: new board (mali)
  2015-06-19 19:13 ` [Buildroot] [V2 4/4] A20-OLinuXino-Lime: new board (mali) Francois Perrad
  2015-06-19 20:08   ` Maxime Ripard
  2015-06-19 20:49   ` Arnout Vandecappelle
@ 2015-06-19 21:55   ` Arnout Vandecappelle
  2015-06-20  5:33     ` François Perrad
  2 siblings, 1 reply; 20+ messages in thread
From: Arnout Vandecappelle @ 2015-06-19 21:55 UTC (permalink / raw)
  To: buildroot

On 06/19/15 21:13, Francois Perrad wrote:
[snip]
> +BR2_LINUX_KERNEL_CUSTOM_GIT=y
> +BR2_LINUX_KERNEL_VERSION="sunxi-3.4"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux-sunxi/linux-sunxi.git"
> +# based on Linux version 3.4.103
> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9a1cd034181af628d4145202289e1993c1687db6"

 Hey, why did you drop my suggestion to use a github tarball rather than a full
git clone?


> +BR2_LINUX_KERNEL_USE_DEFCONFIG=y
> +BR2_LINUX_KERNEL_DEFCONFIG="sun7i"
> +
> +# sunxi packages
> +BR2_PACKAGE_SUNXI_TOOLS=y
> +BR2_PACKAGE_SUNXI_BOARDS=y
> +BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE="a20/a20-olinuxino_lime.fex"
> +
> +# Bootloaders
> +BR2_TARGET_UBOOT=y
> +BR2_TARGET_UBOOT_BOARDNAME="A20-OLinuXino-Lime"
> +BR2_TARGET_UBOOT_CUSTOM_GIT=y
> +BR2_TARGET_UBOOT_VERSION="sunxi"
> +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux-sunxi/u-boot-sunxi.git"
> +# based on U-Boot 2014.04
> +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="ea1ac32bf76eb60baef474c2516fc431b381d952"

 Here as well.


 Regards,
 Arnout

> +BR2_TARGET_UBOOT_FORMAT_BIN=y
> +BR2_TARGET_UBOOT_SPL=y
> +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
> +
> +# Additional tools
> +BR2_PACKAGE_HOST_UBOOT_TOOLS=y
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 4/4] A20-OLinuXino-Lime: new board (mali)
  2015-06-19 20:08   ` Maxime Ripard
@ 2015-06-20  5:28     ` François Perrad
  2015-06-20  7:29       ` Maxime Ripard
  0 siblings, 1 reply; 20+ messages in thread
From: François Perrad @ 2015-06-20  5:28 UTC (permalink / raw)
  To: buildroot

2015-06-19 22:08 GMT+02:00 Maxime Ripard <maxime.ripard@free-electrons.com>:
> On Fri, Jun 19, 2015 at 09:13:24PM +0200, Francois Perrad wrote:
>> config mali / sunxi like Cubieboard2
>>
>> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
>> ---
>>  board/olimex/a20_olinuxino_lime/boot-mali.cmd   |  4 ++
>>  board/olimex/a20_olinuxino_lime/mksunxicard.sh  |  1 +
>>  board/olimex/a20_olinuxino_lime/readme-mali.txt | 65 +++++++++++++++++++++++++
>>  configs/olimex_a20_olinuxino_mali_defconfig     | 44 +++++++++++++++++
>>  4 files changed, 114 insertions(+)
>>  create mode 100644 board/olimex/a20_olinuxino_lime/boot-mali.cmd
>>  create mode 120000 board/olimex/a20_olinuxino_lime/mksunxicard.sh
>>  create mode 100644 board/olimex/a20_olinuxino_lime/readme-mali.txt
>>  create mode 100644 configs/olimex_a20_olinuxino_mali_defconfig
>>
>> diff --git a/board/olimex/a20_olinuxino_lime/boot-mali.cmd b/board/olimex/a20_olinuxino_lime/boot-mali.cmd
>> new file mode 100644
>> index 0000000..849ed00
>> --- /dev/null
>> +++ b/board/olimex/a20_olinuxino_lime/boot-mali.cmd
>> @@ -0,0 +1,4 @@
>> +setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10 ${extra}
>> +fatload mmc 0 0x43000000 script.bin
>> +fatload mmc 0 0x48000000 uImage
>> +bootm 0x48000000
>> diff --git a/board/olimex/a20_olinuxino_lime/mksunxicard.sh b/board/olimex/a20_olinuxino_lime/mksunxicard.sh
>> new file mode 120000
>> index 0000000..f0fcd02
>> --- /dev/null
>> +++ b/board/olimex/a20_olinuxino_lime/mksunxicard.sh
>> @@ -0,0 +1 @@
>> +../../cubietech/cubieboard/mkcubiecard.sh
>> \ No newline at end of file
>> diff --git a/board/olimex/a20_olinuxino_lime/readme-mali.txt b/board/olimex/a20_olinuxino_lime/readme-mali.txt
>> new file mode 100644
>> index 0000000..51e8a1c
>> --- /dev/null
>> +++ b/board/olimex/a20_olinuxino_lime/readme-mali.txt
>> @@ -0,0 +1,65 @@
>> +A20-OLinuXino-LIME
>> +
>> +Intro
>> +=====
>> +
>> +This is a open hardware board,
>> +see https://www.olimex.com/Products/OLinuXino/open-source-hardware
>> +
>> +The legacy linux-sunxi kernels are based on the vendor code drops.
>> +It is only useful when accelerated 3D graphics and multimedia support
>> +is strictly necessary.
>> +
>> +The Mainline Kernel is already a much better choice for a headless server.
>> +And also the mainline kernel works fine even for a basic Linux desktop
>> +system running on top of a simple framebuffer, which may be good enough for
>> +the users who do not need fancy 3D graphics or video playback acceleration.
>> +
>> +How to build it
>> +===============
>> +
>> +    $ make olimex_a20_olinuxino_mali_defconfig
>> +
>> +Compile all and build rootfs image:
>> +
>> +    $ make
>> +
>> +Result of the build
>> +-------------------
>> +
>> +After building, you should get a tree like this:
>> +
>> +    output/images/
>> +    +-- boot.scr
>> +    +-- rootfs.tar
>> +    +-- script.bin
>> +    +-- u-boot-sunxi-with-spl.bin
>> +    +-- u-boot.bin
>> +    `-- uImage
>> +
>> +
>> +How setting up the SD card
>> +==========================
>> +
>> +Depending on the rootfs size, you might want to use a 2GB or larger SD-card.
>> +The script `mksunxicard.sh` will take care of partitioning and formatting
>> +the SD-card.
>> +
>> +BEWARE! This process will erase your SD card.
>> +
>> +Use `dmesg` to find out where the SD card is attached in the /dev tree
>> +(<device>) and then:
>> +
>> +    # ./mksunxicard.sh <images_dir> <device>
>> +
>> +where:
>> +    - <images_dir> is the directory containing the generated files (usually
>> +    output/images)
>> +    - <device> is the device file of the SD card (usually /dev/sdX)
>> +
>> +
>> +Finish
>> +======
>> +
>> +Eject the SD card, insert it in the A20-OLinuXino-LIME board, and power it up.
>> +
>> diff --git a/configs/olimex_a20_olinuxino_mali_defconfig b/configs/olimex_a20_olinuxino_mali_defconfig
>> new file mode 100644
>> index 0000000..2af885d
>> --- /dev/null
>> +++ b/configs/olimex_a20_olinuxino_mali_defconfig
>> @@ -0,0 +1,44 @@
>> +# Architecture
>> +BR2_arm=y
>> +BR2_cortex_a7=y
>> +
>> +# Kernel headers
>> +BR2_KERNEL_HEADERS_3_4=y
>> +
>> +# System configuration
>> +BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino"
>> +BR2_TARGET_GENERIC_ISSUE="Welcome to use OLinuXino!"
>> +BR2_TARGET_GENERIC_GETTY=y
>> +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
>> +BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino_lime/post-build.sh"
>> +BR2_ROOTFS_POST_SCRIPT_ARGS="board/olimex/a20_olinuxino_lime/boot-mali.cmd $(BINARIES_DIR)"
>> +
>> +# Kernel
>> +BR2_LINUX_KERNEL=y
>> +BR2_LINUX_KERNEL_CUSTOM_GIT=y
>> +BR2_LINUX_KERNEL_VERSION="sunxi-3.4"
>> +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux-sunxi/linux-sunxi.git"
>> +# based on Linux version 3.4.103
>> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9a1cd034181af628d4145202289e1993c1687db6"
>> +BR2_LINUX_KERNEL_USE_DEFCONFIG=y
>> +BR2_LINUX_KERNEL_DEFCONFIG="sun7i"
>> +
>> +# sunxi packages
>> +BR2_PACKAGE_SUNXI_TOOLS=y
>> +BR2_PACKAGE_SUNXI_BOARDS=y
>> +BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE="a20/a20-olinuxino_lime.fex"
>> +
>> +# Bootloaders
>> +BR2_TARGET_UBOOT=y
>> +BR2_TARGET_UBOOT_BOARDNAME="A20-OLinuXino-Lime"
>> +BR2_TARGET_UBOOT_CUSTOM_GIT=y
>> +BR2_TARGET_UBOOT_VERSION="sunxi"
>> +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux-sunxi/u-boot-sunxi.git"
>> +# based on U-Boot 2014.04
>> +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="ea1ac32bf76eb60baef474c2516fc431b381d952"
>> +BR2_TARGET_UBOOT_FORMAT_BIN=y
>> +BR2_TARGET_UBOOT_SPL=y
>> +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
>
> U-boot sunxi is unmaintained and deprecated, you probably don't wnat
> to use that.
>

When I try to use the mainline U-Boot (which works well with a
mainline kernel), I cannot start the linux-sunxi kernel.
I think that it is problem with bootargs, but I haven't found the good
'magic' value.
So, I stay with U-boot sunxi.

Fran?ois

> Maxime
>
> --
> Maxime Ripard, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 4/4] A20-OLinuXino-Lime: new board (mali)
  2015-06-19 21:55   ` Arnout Vandecappelle
@ 2015-06-20  5:33     ` François Perrad
  2015-06-20  9:26       ` Arnout Vandecappelle
  0 siblings, 1 reply; 20+ messages in thread
From: François Perrad @ 2015-06-20  5:33 UTC (permalink / raw)
  To: buildroot

2015-06-19 23:55 GMT+02:00 Arnout Vandecappelle <arnout@mind.be>:
> On 06/19/15 21:13, Francois Perrad wrote:
> [snip]
>> +BR2_LINUX_KERNEL_CUSTOM_GIT=y
>> +BR2_LINUX_KERNEL_VERSION="sunxi-3.4"
>> +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux-sunxi/linux-sunxi.git"
>> +# based on Linux version 3.4.103
>> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9a1cd034181af628d4145202289e1993c1687db6"
>
>  Hey, why did you drop my suggestion to use a github tarball rather than a full
> git clone?
>

I try without success:
-BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux-sunxi/linux-sunxi.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9a1cd034181af628d4145202289e1993c1687db6"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call
github,linux-sunxi,linux-sunxi,9a1cd034181af628d4145202289e1993c1687db6)"

-BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux-sunxi/u-boot-sunxi.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="ea1ac32bf76eb60baef474c2516fc431b381d952"
+BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
+BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call
github,linux-sunxi,u-boot-sunxi,ea1ac32bf76eb60baef474c2516fc431b381d952)"

May be, I misunderstood somethings.

Fran?ois

>
>> +BR2_LINUX_KERNEL_USE_DEFCONFIG=y
>> +BR2_LINUX_KERNEL_DEFCONFIG="sun7i"
>> +
>> +# sunxi packages
>> +BR2_PACKAGE_SUNXI_TOOLS=y
>> +BR2_PACKAGE_SUNXI_BOARDS=y
>> +BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE="a20/a20-olinuxino_lime.fex"
>> +
>> +# Bootloaders
>> +BR2_TARGET_UBOOT=y
>> +BR2_TARGET_UBOOT_BOARDNAME="A20-OLinuXino-Lime"
>> +BR2_TARGET_UBOOT_CUSTOM_GIT=y
>> +BR2_TARGET_UBOOT_VERSION="sunxi"
>> +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux-sunxi/u-boot-sunxi.git"
>> +# based on U-Boot 2014.04
>> +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="ea1ac32bf76eb60baef474c2516fc431b381d952"
>
>  Here as well.
>
>
>  Regards,
>  Arnout
>
>> +BR2_TARGET_UBOOT_FORMAT_BIN=y
>> +BR2_TARGET_UBOOT_SPL=y
>> +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
>> +
>> +# Additional tools
>> +BR2_PACKAGE_HOST_UBOOT_TOOLS=y
>>
>
>
> --
> Arnout Vandecappelle                          arnout at mind be
> Senior Embedded Software Architect            +32-16-286500
> Essensium/Mind                                http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 4/4] A20-OLinuXino-Lime: new board (mali)
  2015-06-19 20:49   ` Arnout Vandecappelle
@ 2015-06-20  5:39     ` François Perrad
  0 siblings, 0 replies; 20+ messages in thread
From: François Perrad @ 2015-06-20  5:39 UTC (permalink / raw)
  To: buildroot

2015-06-19 22:49 GMT+02:00 Arnout Vandecappelle <arnout@mind.be>:
>  Hi Francois,
>
> On 06/19/15 21:13, Francois Perrad wrote:
>> config mali / sunxi like Cubieboard2
>>
>> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
>
>  It would have been polite to mention in the cover letter or here why you don't
> agree with my earlier suggestion to merge the two readme files. But no need to
> change that, it's OK to keep them split.
>

I'll merge the 2 readme files when I could use the same U-boot mainline.
Currently, with the sunxi u-boot, the installation process are too different.

Fran?ois

>  Again some minor documentation fixes below, otherwise:
>  Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
>
> [snip]
>> +How setting up the SD card
>
> How to write the SD card
>
>> +==========================
>> +
>> +Depending on the rootfs size, you might want to use a 2GB or larger SD-card.
>> +The script `mksunxicard.sh` will take care of partitioning and formatting
>> +the SD-card.
>> +
>> +BEWARE! This process will erase your SD card.
>> +
>> +Use `dmesg` to find out where the SD card is attached in the /dev tree
>> +(<device>) and then:
>> +
>> +    # ./mksunxicard.sh <images_dir> <device>
>> +
>> +where:
>> +    - <images_dir> is the directory containing the generated files (usually
>> +    output/images)
>> +    - <device> is the device file of the SD card (usually /dev/sdX)
>
> /dev/sdX or /dev/mmcblkX
>
>> +
>> +
>> +Finish
>> +======
>> +
>> +Eject the SD card, insert it in the A20-OLinuXino-LIME board, and power it up.
>> +
>> diff --git a/configs/olimex_a20_olinuxino_mali_defconfig b/configs/olimex_a20_olinuxino_mali_defconfig
>> new file mode 100644
>> index 0000000..2af885d
>> --- /dev/null
>> +++ b/configs/olimex_a20_olinuxino_mali_defconfig
>> @@ -0,0 +1,44 @@
>> +# Architecture
>> +BR2_arm=y
>> +BR2_cortex_a7=y
>> +
>> +# Kernel headers
>> +BR2_KERNEL_HEADERS_3_4=y
>> +
>> +# System configuration
>> +BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino"
>> +BR2_TARGET_GENERIC_ISSUE="Welcome to use OLinuXino!"
>
> Welcome to OLinuXino!
>
>
>  Regards,
>  Arnout
>
>> +BR2_TARGET_GENERIC_GETTY=y
>> +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
>> +BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino_lime/post-build.sh"
>> +BR2_ROOTFS_POST_SCRIPT_ARGS="board/olimex/a20_olinuxino_lime/boot-mali.cmd $(BINARIES_DIR)"
>> +
>> +# Kernel
>> +BR2_LINUX_KERNEL=y
>> +BR2_LINUX_KERNEL_CUSTOM_GIT=y
>> +BR2_LINUX_KERNEL_VERSION="sunxi-3.4"
>> +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux-sunxi/linux-sunxi.git"
>> +# based on Linux version 3.4.103
>> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9a1cd034181af628d4145202289e1993c1687db6"
>> +BR2_LINUX_KERNEL_USE_DEFCONFIG=y
>> +BR2_LINUX_KERNEL_DEFCONFIG="sun7i"
>> +
>> +# sunxi packages
>> +BR2_PACKAGE_SUNXI_TOOLS=y
>> +BR2_PACKAGE_SUNXI_BOARDS=y
>> +BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE="a20/a20-olinuxino_lime.fex"
>> +
>> +# Bootloaders
>> +BR2_TARGET_UBOOT=y
>> +BR2_TARGET_UBOOT_BOARDNAME="A20-OLinuXino-Lime"
>> +BR2_TARGET_UBOOT_CUSTOM_GIT=y
>> +BR2_TARGET_UBOOT_VERSION="sunxi"
>> +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux-sunxi/u-boot-sunxi.git"
>> +# based on U-Boot 2014.04
>> +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="ea1ac32bf76eb60baef474c2516fc431b381d952"
>> +BR2_TARGET_UBOOT_FORMAT_BIN=y
>> +BR2_TARGET_UBOOT_SPL=y
>> +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
>> +
>> +# Additional tools
>> +BR2_PACKAGE_HOST_UBOOT_TOOLS=y
>>
>
>
> --
> Arnout Vandecappelle                          arnout at mind be
> Senior Embedded Software Architect            +32-16-286500
> Essensium/Mind                                http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 4/4] A20-OLinuXino-Lime: new board (mali)
  2015-06-20  5:28     ` François Perrad
@ 2015-06-20  7:29       ` Maxime Ripard
  0 siblings, 0 replies; 20+ messages in thread
From: Maxime Ripard @ 2015-06-20  7:29 UTC (permalink / raw)
  To: buildroot

On Sat, Jun 20, 2015 at 07:28:01AM +0200, Fran?ois Perrad wrote:
> >> +# Bootloaders
> >> +BR2_TARGET_UBOOT=y
> >> +BR2_TARGET_UBOOT_BOARDNAME="A20-OLinuXino-Lime"
> >> +BR2_TARGET_UBOOT_CUSTOM_GIT=y
> >> +BR2_TARGET_UBOOT_VERSION="sunxi"
> >> +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux-sunxi/u-boot-sunxi.git"
> >> +# based on U-Boot 2014.04
> >> +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="ea1ac32bf76eb60baef474c2516fc431b381d952"
> >> +BR2_TARGET_UBOOT_FORMAT_BIN=y
> >> +BR2_TARGET_UBOOT_SPL=y
> >> +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
> >
> > U-boot sunxi is unmaintained and deprecated, you probably don't wnat
> > to use that.
> >
> 
> When I try to use the mainline U-Boot (which works well with a
> mainline kernel), I cannot start the linux-sunxi kernel.
> I think that it is problem with bootargs, but I haven't found the good
> 'magic' value.
> So, I stay with U-boot sunxi.

I'm not sure this is a valid argument for such a patch. Have you read
https://linux-sunxi.org/Mainline_U-boot#Boot ?

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150620/39cab939/attachment.asc>

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 4/4] A20-OLinuXino-Lime: new board (mali)
  2015-06-20  5:33     ` François Perrad
@ 2015-06-20  9:26       ` Arnout Vandecappelle
  0 siblings, 0 replies; 20+ messages in thread
From: Arnout Vandecappelle @ 2015-06-20  9:26 UTC (permalink / raw)
  To: buildroot

On 06/20/15 07:33, Fran?ois Perrad wrote:
> 2015-06-19 23:55 GMT+02:00 Arnout Vandecappelle <arnout@mind.be>:
>> On 06/19/15 21:13, Francois Perrad wrote:
>> [snip]
>>> +BR2_LINUX_KERNEL_CUSTOM_GIT=y
>>> +BR2_LINUX_KERNEL_VERSION="sunxi-3.4"
>>> +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux-sunxi/linux-sunxi.git"
>>> +# based on Linux version 3.4.103
>>> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9a1cd034181af628d4145202289e1993c1687db6"
>>
>>  Hey, why did you drop my suggestion to use a github tarball rather than a full
>> git clone?
>>
> 
> I try without success:
> -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux-sunxi/linux-sunxi.git"
> -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9a1cd034181af628d4145202289e1993c1687db6"
> +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
> +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call
> github,linux-sunxi,linux-sunxi,9a1cd034181af628d4145202289e1993c1687db6)"

 Ah, sorry, you have to add the source part as well:

BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux-sunxi,linux-sunxi,9a1cd034181af628d4145202289e1993c1687db6)/9a1cd034181af628d4145202289e1993c1687db6.tar.gz"


 BTW looks like this commit is tagged so you can use sunxi-v3.4.104-r0 instead 
of the commit hash.


 Regards,
 Arnout

> 
> -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux-sunxi/u-boot-sunxi.git"
> -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="ea1ac32bf76eb60baef474c2516fc431b381d952"
> +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
> +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call
> github,linux-sunxi,u-boot-sunxi,ea1ac32bf76eb60baef474c2516fc431b381d952)"
> 
> May be, I misunderstood somethings.
> 
> Fran?ois
[snip]
-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 1/4] sunxi-board: bump to version a6a4e94066f4ec6b26fc7060dc453a6bcf26a504
  2015-06-19 19:13 ` [Buildroot] [V2 1/4] sunxi-board: bump to version a6a4e94066f4ec6b26fc7060dc453a6bcf26a504 Francois Perrad
@ 2015-06-21  4:42   ` Thomas Petazzoni
  0 siblings, 0 replies; 20+ messages in thread
From: Thomas Petazzoni @ 2015-06-21  4:42 UTC (permalink / raw)
  To: buildroot

Dear Francois Perrad,

On Fri, 19 Jun 2015 21:13:21 +0200, Francois Perrad wrote:
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
>  package/sunxi-boards/sunxi-boards.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks. I fixed the commit title so that the package name is
correct: it's sunxi-boards, not sunxi-board.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 2/4] a10disp: bump to version v0.6.1
  2015-06-19 19:13 ` [Buildroot] [V2 2/4] a10disp: bump to version v0.6.1 Francois Perrad
@ 2015-06-21  4:43   ` Thomas Petazzoni
  0 siblings, 0 replies; 20+ messages in thread
From: Thomas Petazzoni @ 2015-06-21  4:43 UTC (permalink / raw)
  To: buildroot

Dear Francois Perrad,

On Fri, 19 Jun 2015 21:13:22 +0200, Francois Perrad wrote:
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
>  package/a10disp/a10disp.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 3/4] A20-OLinuXino-Lime: new board (mainline)
  2015-06-19 19:13 ` [Buildroot] [V2 3/4] A20-OLinuXino-Lime: new board (mainline) Francois Perrad
  2015-06-19 20:49   ` Arnout Vandecappelle
@ 2015-06-22 12:06   ` Luca Ceresoli
  1 sibling, 0 replies; 20+ messages in thread
From: Luca Ceresoli @ 2015-06-22 12:06 UTC (permalink / raw)
  To: buildroot

Dear Francois,

Francois Perrad wrote:
> config device tree / mainline (4.0.5)
>
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
>   board/olimex/a20_olinuxino_lime/boot.cmd      |  5 ++
>   board/olimex/a20_olinuxino_lime/post-build.sh |  8 +++
>   board/olimex/a20_olinuxino_lime/readme.txt    | 86 +++++++++++++++++++++++++++
>   configs/olimex_a20_olinuxino_defconfig        | 41 +++++++++++++

To differentiate it from the Lime2 and the Micro, the defconfig should
be named configs/olimex_a20_olinuxino_lime_defconfig
                                      ^^^^^

It's not just a nitpick. I'm working on a -Micro these days and I will
probably send a defconfig for it. The -Micro must pull a different
U-Boot config, so the Buildroot defconfig will be different as well.

On the other hand, I _suspect_ the files in
boards/olimex/a20_olinuxino_lime can be generalized with minimal effort
to encompass both boards. But I cannot confirm that right now.

[...]

> diff --git a/board/olimex/a20_olinuxino_lime/readme.txt b/board/olimex/a20_olinuxino_lime/readme.txt
> new file mode 100644
> index 0000000..cc661a6
> --- /dev/null
> +++ b/board/olimex/a20_olinuxino_lime/readme.txt
> @@ -0,0 +1,86 @@
> +A20-OLinuXino-LIME
> +
> +Intro
> +=====
> +
> +This is a open hardware board,
> +see https://www.olimex.com/Products/OLinuXino/open-source-hardware

Why not a link to the board page itself as well?
It's https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME/

I build-tested this patch, I should have a board in a few days and be
able to run-test it as well.

[Build test only]
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>

-- 
Luca

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 3/4] A20-OLinuXino-Lime: new board (mainline)
  2015-06-19 20:49   ` Arnout Vandecappelle
@ 2015-06-22 12:23     ` Luca Ceresoli
  2015-06-22 20:56       ` Yann E. MORIN
  2015-06-22 21:22       ` Arnout Vandecappelle
  0 siblings, 2 replies; 20+ messages in thread
From: Luca Ceresoli @ 2015-06-22 12:23 UTC (permalink / raw)
  To: buildroot

Dear Arnout,

Arnout Vandecappelle wrote:
> On 06/19/15 21:13, Francois Perrad wrote:
>> config device tree / mainline (4.0.5)
>>
>> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
>
>   Just some minor documentation fixes... With that:
>
>    Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

Looks like your tag has not been picked up by patchwork (ART=0/0/1).
Maybe leading spaces are not taken into account?

[...]
>> +Copy images on the SD card
>> +--------------------------
>> +
>> +    # dd if=output/images/rootfs.ext2 of=/dev/sdX1
>
>   rootfs.ext4
>
>   Also, I personally prefer to use cat rather than dd, it's generally faster.

Interesting! I don't think there is any noticeable lag copying <7 MB to
an SD card... But since defconfigs are supposed to be used as a starting
point for real, and possibly large, projects, I'm fine with your
suggestion.

-- 
Luca

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 3/4] A20-OLinuXino-Lime: new board (mainline)
  2015-06-22 12:23     ` Luca Ceresoli
@ 2015-06-22 20:56       ` Yann E. MORIN
  2015-06-22 21:22       ` Arnout Vandecappelle
  1 sibling, 0 replies; 20+ messages in thread
From: Yann E. MORIN @ 2015-06-22 20:56 UTC (permalink / raw)
  To: buildroot

Luca, Arnout, All,

On 2015-06-22 14:23 +0200, Luca Ceresoli spake thusly:
> Arnout Vandecappelle wrote:
> >On 06/19/15 21:13, Francois Perrad wrote:
> >>config device tree / mainline (4.0.5)
> >>
> >>Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> >
> >  Just some minor documentation fixes... With that:
> >
> >   Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> 
> Looks like your tag has not been picked up by patchwork (ART=0/0/1).
> Maybe leading spaces are not taken into account?

Indeed, the tags must start in the first column to b recognised by
Patchwork.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] [V2 3/4] A20-OLinuXino-Lime: new board (mainline)
  2015-06-22 12:23     ` Luca Ceresoli
  2015-06-22 20:56       ` Yann E. MORIN
@ 2015-06-22 21:22       ` Arnout Vandecappelle
  1 sibling, 0 replies; 20+ messages in thread
From: Arnout Vandecappelle @ 2015-06-22 21:22 UTC (permalink / raw)
  To: buildroot

On 06/22/15 14:23, Luca Ceresoli wrote:
> Dear Arnout,
> 
> Arnout Vandecappelle wrote:
>> On 06/19/15 21:13, Francois Perrad wrote:
>>> config device tree / mainline (4.0.5)
>>>
>>> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
>>
>>   Just some minor documentation fixes... With that:
>>
>>    Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> 
> Looks like your tag has not been picked up by patchwork (ART=0/0/1).
> Maybe leading spaces are not taken into account?

 Indeed. That's intentional, because I didn't want to add the tag to the patch
as is, but I wanted to signal to Francois that he can add the tag after making
the requested changes.

 Regards,
 Arnout

[snip]


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2015-06-22 21:22 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-19 19:13 [Buildroot] [V2 0/4] A20-OLinuXino-Lime: new board Francois Perrad
2015-06-19 19:13 ` [Buildroot] [V2 1/4] sunxi-board: bump to version a6a4e94066f4ec6b26fc7060dc453a6bcf26a504 Francois Perrad
2015-06-21  4:42   ` Thomas Petazzoni
2015-06-19 19:13 ` [Buildroot] [V2 2/4] a10disp: bump to version v0.6.1 Francois Perrad
2015-06-21  4:43   ` Thomas Petazzoni
2015-06-19 19:13 ` [Buildroot] [V2 3/4] A20-OLinuXino-Lime: new board (mainline) Francois Perrad
2015-06-19 20:49   ` Arnout Vandecappelle
2015-06-22 12:23     ` Luca Ceresoli
2015-06-22 20:56       ` Yann E. MORIN
2015-06-22 21:22       ` Arnout Vandecappelle
2015-06-22 12:06   ` Luca Ceresoli
2015-06-19 19:13 ` [Buildroot] [V2 4/4] A20-OLinuXino-Lime: new board (mali) Francois Perrad
2015-06-19 20:08   ` Maxime Ripard
2015-06-20  5:28     ` François Perrad
2015-06-20  7:29       ` Maxime Ripard
2015-06-19 20:49   ` Arnout Vandecappelle
2015-06-20  5:39     ` François Perrad
2015-06-19 21:55   ` Arnout Vandecappelle
2015-06-20  5:33     ` François Perrad
2015-06-20  9:26       ` Arnout Vandecappelle

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.