summaryrefslogtreecommitdiff
path: root/board/olimex
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2015-06-26 12:06:57 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-06-28 15:31:20 +0200
commit53369fbcf45054ebc24da0a55462d17ac1eb7965 (patch)
tree8d9e9286d09a701fb4dbd48ebe11336a0db5706b /board/olimex
parent7eeb2ab72017cdd6ec261157b3b7555f32f171c5 (diff)
configs/olimex_a20_olinuxino_lime_mali_defconfig: new board
This commit adds a new defconfig for the Olimex A20 OLinuxino Lime board, based on the 3.4.x vendor specific kernel, which allows to use the Mali 3D acceleration for OpenGL support. Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/olimex')
-rw-r--r--board/olimex/a20_olinuxino_lime/boot-mali.cmd5
-rwxr-xr-xboard/olimex/a20_olinuxino_lime/post-build.sh4
-rw-r--r--board/olimex/a20_olinuxino_lime/readme.txt16
3 files changed, 24 insertions, 1 deletions
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 000000000..9fa5d6541
--- /dev/null
+++ b/board/olimex/a20_olinuxino_lime/boot-mali.cmd
@@ -0,0 +1,5 @@
+setenv bootm_boot_mode sec
+setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait panic=10 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 consoleblank=0 ${extra}
+ext4load mmc 0 0x43000000 /boot/script.bin
+ext4load mmc 0 0x48000000 /boot/zImage
+bootz 0x48000000
diff --git a/board/olimex/a20_olinuxino_lime/post-build.sh b/board/olimex/a20_olinuxino_lime/post-build.sh
index 4e6fbec95..ac8d4df18 100755
--- a/board/olimex/a20_olinuxino_lime/post-build.sh
+++ b/board/olimex/a20_olinuxino_lime/post-build.sh
@@ -6,3 +6,7 @@
MKIMAGE=$HOST_DIR/usr/bin/mkimage
$MKIMAGE -A arm -O linux -T script -C none -d $2 $3/boot.scr
+
+if [ -e $BINARIES_DIR/script.bin ]; then
+ cp $BINARIES_DIR/script.bin $3/script.bin
+fi
diff --git a/board/olimex/a20_olinuxino_lime/readme.txt b/board/olimex/a20_olinuxino_lime/readme.txt
index 3fc9c029b..92ee24a42 100644
--- a/board/olimex/a20_olinuxino_lime/readme.txt
+++ b/board/olimex/a20_olinuxino_lime/readme.txt
@@ -6,11 +6,24 @@ 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_lime_defconfig
+or
+
+ $ make olimex_a20_olinuxino_lime_mali_defconfig
+
Compile everything and build the rootfs image:
$ make
@@ -23,7 +36,8 @@ After building, you should get a tree like this:
output/images/
+-- rootfs.ext2
+-- rootfs.ext4 -> rootfs.ext2
- +-- sun7i-a20-olinuxino-lime.dtb
+ +-- script.bin (mali)
+ +-- sun7i-a20-olinuxino-lime.dtb (mainline)
+-- u-boot.bin
+-- u-boot-sunxi-with-spl.bin
`-- zImage