A20-OLinuXino-Lime: new board
v2 cover A20-OLinuXino-Lime: new board
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
Signature · 1 line
2.1.4
PATCH v2 1/4 sunxi-board: bump to version a6a4e94066f4ec6b26fc7060dc453a6bcf26a504
--- package/sunxi-boards/sunxi-boards.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/sunxi-boards/sunxi-boards.mk +1 -1
@@ -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
Signature · 1 line
2.1.4
Thomas Petazzoni
AppliedPATCH v2 1/4 sunxi-board: bump to version a6a4e94066f4ec6b26fc7060dc453a6bcf26a504
Dear Francois Perrad,
Quoted 4 lines · Francois Perrad
Signed-off-by Francois Perrad <[email protected]>--- 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
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v2 2/4 a10disp: bump to version v0.6.1
In reply to Francois Perrad--- package/a10disp/a10disp.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/a10disp/a10disp.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -A10DISP_VERSION = a899cc6dcf909360aac00482ede5369f3656f226 +A10DISP_VERSION = v0.6.1 A10DISP_SITE = $(call github,hglm,a10disp,$(A10DISP_VERSION)) A10DISP_LICENSE = MIT
Signature · 1 line
2.1.4
Thomas Petazzoni
AppliedPATCH v2 2/4 a10disp: bump to version v0.6.1
Dear Francois Perrad,
Quoted 4 lines · Francois Perrad
Signed-off-by Francois Perrad <[email protected]>--- package/a10disp/a10disp.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v2 3/4 A20-OLinuXino-Lime: new board (mainline)
In reply to Francois Perradconfig device tree / mainline (4.0.5)
--- 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
board/olimex/a20_olinuxino_lime/boot.cmd new file +5 -0
@@ -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
board/olimex/a20_olinuxino_lime/post-build.sh new file +8 -0
@@ -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
board/olimex/a20_olinuxino_lime/readme.txt new file +86 -0
86 lines not on this page · raw message
configs/olimex_a20_olinuxino_defconfig new file +41 -0
41 lines not on this page · raw message
Signature · 1 line
2.1.4
PATCH v2 3/4 A20-OLinuXino-Lime: new board (mainline)
Quoted 3 lines · Francois Perrad
config device tree / mainline (4.0.5)
Signed-off-by Francois Perrad <[email protected]>
Just some minor documentation fixes... With that:
[snip]
board/olimex/a20_olinuxino_lime/readme.txt line 14
Quoted 6 lines
board/olimex/a20_olinuxino_lime/readme.txt new file +6
-0+How to build it +=============== + + $ make olimex_a20_olinuxino_defconfig + +Compile all and build rootfs image:
Compile everything and build the rootfs image:
Quoted 8 lines
board/olimex/a20_olinuxino_lime/readme.txt new file +8
-0+ + $ make + +Result of the build +------------------- + +After building, you should get a tree like this: +
board/olimex/a20_olinuxino_lime/readme.txt line 32
Quoted 10 lines
board/olimex/a20_olinuxino_lime/readme.txt new file +10
-0+ 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
Quoted 36 lines
+==========================
board/olimex/a20_olinuxino_lime/readme.txt new file +35
-0+ + +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 +
board/olimex/a20_olinuxino_lime/readme.txt line 78
Quoted 10 lines
board/olimex/a20_olinuxino_lime/readme.txt new file +10
-0+ 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.
Quoted 14 lines
board/olimex/a20_olinuxino_lime/readme.txt new file +8
-0+ # 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. +configs/olimex_a20_olinuxino_defconfig new file +0
-0
configs/olimex_a20_olinuxino_defconfig line 10
Quoted 10 lines
configs/olimex_a20_olinuxino_defconfig new file +10
-0@@ -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
Quoted 4 lines
configs/olimex_a20_olinuxino_defconfig new file +4
-0+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]
Signature · 6 lines
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
PATCH v2 3/4 A20-OLinuXino-Lime: new board (mainline)
Dear Arnout,
Quoted 8 lines · Arnout Vandecappelle
Quoted 3 lines · Francois Perrad
config device tree / mainline (4.0.5)
Signed-off-by Francois Perrad <[email protected]>Just some minor documentation fixes... With that:
Looks like your tag has not been picked up by patchwork (ART=0/0/1). Maybe leading spaces are not taken into account?
[...]
Quoted 8 lines
board/olimex/a20_olinuxino_lime/readme.txt line 78
Quoted 4 lines
board/olimex/a20_olinuxino_lime/readme.txt new file +4
-0+Copy images on the SD card +-------------------------- + + # dd if=output/images/rootfs.ext2 of=/dev/sdX1rootfs.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.
Signature · 1 line
Luca
PATCH v2 3/4 A20-OLinuXino-Lime: new board (mainline)
Luca, Arnout, All,
On 2015-06-22 14:23 +0200, Luca Ceresoli spake thusly:
Quoted 4 lines
Quoted 3 lines · Arnout Vandecappelle
Quoted 2 lines · Francois Perrad
config device tree / mainline (4.0.5)
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by Francois Perrad <[email protected]>Just some minor documentation fixes... With that:
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.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | 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. | '------------------------------^-------^------------------^--------------------'
PATCH v2 3/4 A20-OLinuXino-Lime: new board (mainline)
In reply to Luca CeresoliQuoted 6 lines · Luca Ceresoli
Dear Arnout,
Quoted 3 lines · Arnout Vandecappelle
Quoted 2 lines · Francois Perrad
config device tree / mainline (4.0.5)
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by Francois Perrad <[email protected]>Just some minor documentation fixes... With that:
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]
Signature · 6 lines
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
PATCH v2 3/4 A20-OLinuXino-Lime: new board (mainline)
In reply to Francois PerradDear Francois,
Quoted 8 lines · Francois Perrad
config device tree / mainline (4.0.5)
Signed-off-by Francois Perrad <[email protected]>--- 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.
[...]
board/olimex/a20_olinuxino_lime/readme.txt line 7
Quoted 13 lines
board/olimex/a20_olinuxino_lime/readme.txt new file +7
-0@@ -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.
Signature · 1 line
Luca
PATCH v2 4/4 A20-OLinuXino-Lime: new board (mali)
In reply to Francois Perradconfig mali / sunxi like Cubieboard2
--- 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
board/olimex/a20_olinuxino_lime/boot-mali.cmd new file +4 -0
@@ -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
board/olimex/a20_olinuxino_lime/mksunxicard.sh new file +1 -0
@@ -0,0 +1 @@ +../../cubietech/cubieboard/mkcubiecard.sh
board/olimex/a20_olinuxino_lime/readme-mali.txt new file +65 -0
65 lines not on this page · raw message
configs/olimex_a20_olinuxino_mali_defconfig new file +44 -0
44 lines not on this page · raw message
Signature · 1 line
2.1.4
PATCH v2 4/4 A20-OLinuXino-Lime: new board (mali)
Quoted 140 lines · Francois Perrad
config mali / sunxi like Cubieboard2
Signed-off-by Francois Perrad <[email protected]>--- 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_defconfigboard/olimex/a20_olinuxino_lime/boot-mali.cmd new file +4
-0@@ -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 0x48000000board/olimex/a20_olinuxino_lime/mksunxicard.sh new file +1
-0@@ -0,0 +1 @@ +../../cubietech/cubieboard/mkcubiecard.shboard/olimex/a20_olinuxino_lime/readme-mali.txt new file +65
-0@@ -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. +configs/olimex_a20_olinuxino_mali_defconfig new file +31
-0@@ -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
configs/olimex_a20_olinuxino_mali_defconfig line 41
Quoted 10 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +10
-0+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
Signature · 10 lines
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>
PATCH v2 4/4 A20-OLinuXino-Lime: new board (mali)
2015-06-19 22:08 GMT+02:00 Maxime Ripard <[email protected]>:
Quoted 146 lines · Francois Perrad
Quoted 145 lines
config mali / sunxi like Cubieboard2
Signed-off-by Francois Perrad <[email protected]>--- 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_defconfigboard/olimex/a20_olinuxino_lime/boot-mali.cmd new file +4
-0@@ -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 0x48000000board/olimex/a20_olinuxino_lime/mksunxicard.sh new file +1
-0@@ -0,0 +1 @@ +../../cubietech/cubieboard/mkcubiecard.shboard/olimex/a20_olinuxino_lime/readme-mali.txt new file +65
-0@@ -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. +configs/olimex_a20_olinuxino_mali_defconfig new file +36
-0@@ -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"
Quoted 9 lines
configs/olimex_a20_olinuxino_mali_defconfig line 41
Quoted 5 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +5
-0+# 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
Quoted 11 lines
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
PATCH v2 4/4 A20-OLinuXino-Lime: new board (mali)
Quoted 16 lines · Fran?ois Perrad
Quoted 6 lines
Quoted 6 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +6
-0+# 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"Quoted 9 lines
configs/olimex_a20_olinuxino_mali_defconfig line 41
Quoted 5 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +5
-0+# 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.
Quoted 5 lines
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
Signature · 10 lines
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>
PATCH v2 4/4 A20-OLinuXino-Lime: new board (mali)
In reply to Francois PerradHi Francois,
Quoted 3 lines · Francois Perrad
config mali / sunxi like Cubieboard2
Signed-off-by Francois Perrad <[email protected]>
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:
[snip]
Quoted 1 line
+How setting up the SD card
How to write the SD card
Quoted 7 lines
+==========================
board/olimex/a20_olinuxino_lime/readme-mali.txt new file +6
-0+ +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.
board/olimex/a20_olinuxino_lime/readme-mali.txt line 58
Quoted 10 lines
board/olimex/a20_olinuxino_lime/readme-mali.txt new file +10
-0+ +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
Quoted 13 lines
board/olimex/a20_olinuxino_lime/readme-mali.txt new file +7
-0+ + +Finish +====== + +Eject the SD card, insert it in the A20-OLinuXino-LIME board, and power it up. +configs/olimex_a20_olinuxino_mali_defconfig new file +0
-0
configs/olimex_a20_olinuxino_mali_defconfig line 10
Quoted 10 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +10
-0@@ -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
Quoted 35 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +34
-0+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
Signature · 6 lines
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
PATCH v2 4/4 A20-OLinuXino-Lime: new board (mali)
2015-06-19 22:49 GMT+02:00 Arnout Vandecappelle <[email protected]>:
Quoted 11 lines
Hi Francois,
Quoted 3 lines · Francois Perrad
config mali / sunxi like Cubieboard2
Signed-off-by Francois Perrad <[email protected]>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
Quoted 106 lines
Again some minor documentation fixes below, otherwise:
[snip]
Quoted 1 line
+How setting up the SD card
How to write the SD card
Quoted 7 lines
+==========================
board/olimex/a20_olinuxino_lime/readme-mali.txt new file +6
-0+ +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.board/olimex/a20_olinuxino_lime/readme-mali.txt line 58
Quoted 10 lines
board/olimex/a20_olinuxino_lime/readme-mali.txt new file +10
-0+ +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/sdXor/dev/mmcblkXQuoted 13 lines
board/olimex/a20_olinuxino_lime/readme-mali.txt new file +7
-0+ + +Finish +====== + +Eject the SD card, insert it in the A20-OLinuXino-LIME board, and power it up. +configs/olimex_a20_olinuxino_mali_defconfig new file +0
-0configs/olimex_a20_olinuxino_mali_defconfig line 10
Quoted 10 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +10
-0@@ -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,
ArnoutQuoted 25 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +24
-0+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=yconfigs/olimex_a20_olinuxino_mali_defconfig line 44
Quoted 10 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +10
-0+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
PATCH v2 4/4 A20-OLinuXino-Lime: new board (mali)
In reply to Francois PerradOn 06/19/15 21:13, Francois Perrad wrote:
[snip]
configs/olimex_a20_olinuxino_mali_defconfig line 22
Quoted 5 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +5
-0+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?
Quoted 6 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +6
-0+BR2_LINUX_KERNEL_USE_DEFCONFIG=y +BR2_LINUX_KERNEL_DEFCONFIG="sun7i" + +# sunxi packages +BR2_PACKAGE_SUNXI_TOOLS=y +BR2_PACKAGE_SUNXI_BOARDS=y
configs/olimex_a20_olinuxino_mali_defconfig line 38
Quoted 10 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +10
-0+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
Quoted 7 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +6
-0+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
Signature · 6 lines
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
PATCH v2 4/4 A20-OLinuXino-Lime: new board (mali)
2015-06-19 23:55 GMT+02:00 Arnout Vandecappelle <[email protected]>:
Quoted 11 lines · Francois Perrad
[snip]
configs/olimex_a20_olinuxino_mali_defconfig line 22
Quoted 5 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +5
-0+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
Quoted 44 lines
Quoted 7 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +6
-0+BR2_LINUX_KERNEL_USE_DEFCONFIG=y +BR2_LINUX_KERNEL_DEFCONFIG="sun7i" + +# sunxi packages +BR2_PACKAGE_SUNXI_TOOLS=y +BR2_PACKAGE_SUNXI_BOARDS=yconfigs/olimex_a20_olinuxino_mali_defconfig line 38
Quoted 10 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +10
-0+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,
Arnoutconfigs/olimex_a20_olinuxino_mali_defconfig line 44
Quoted 7 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +6
-0+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
PATCH v2 4/4 A20-OLinuXino-Lime: new board (mali)
Quoted 18 lines · Fran?ois Perrad
2015-06-19 23:55 GMT+02:00 Arnout Vandecappelle <[email protected]>:
Quoted 11 lines · Francois Perrad
[snip]
configs/olimex_a20_olinuxino_mali_defconfig line 22
Quoted 5 lines
configs/olimex_a20_olinuxino_mali_defconfig new file +5
-0+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:
(quoted diff) +2
-2-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
Quoted 1 line
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
Quoted 10 lines
(quoted diff) +2
-2-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="$(callgithub,linux-sunxi,u-boot-sunxi,ea1ac32bf76eb60baef474c2516fc431b381d952)"
May be, I misunderstood somethings.
Fran?ois
[snip]
Signature · 6 lines
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