[Buildroot] [PATCH] configs/olimex_a10_olinuxino_lime_defconfig: new board
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Mon Jul 2 20:29:43 UTC 2018
Hello,
On Mon, 2 Jul 2018 17:54:50 +0300, Leon Anavi wrote:
> Add a defconfig for the Olimex A10-OLinuXino-LIME, reusing most
> of the A20-OLinuXino-Lime and A13-OLinuXino files.
>
> The configurations for Olimex A10-OLinuXino-LIME feature:
> - U-Boot 2018.03
> - Mainline Linux kernel 4.14.26
>
> Signed-off-by: Leon Anavi <leon.anavi at konsulko.com>
Thanks for this contribution!
> board/olimex/a10_olinuxino/boot-mali.cmd | 5 +++
> board/olimex/a10_olinuxino/boot.cmd | 5 +++
> board/olimex/a10_olinuxino/genimage.cfg | 17 +++++++++
> board/olimex/a10_olinuxino/post-build.sh | 8 ++++
> board/olimex/a10_olinuxino/readme.txt | 57 +++++++++++++++++++++++++++++
> configs/olimex_a10_olinuxino_lime_defconfig | 48 ++++++++++++++++++++++++
You should add an entry in the DEVELOPERS file for this board (both for
the defconfig and the stuff in board/).
> diff --git a/board/olimex/a10_olinuxino/boot-mali.cmd b/board/olimex/a10_olinuxino/boot-mali.cmd
> new file mode 100644
> index 0000000..9fa5d65
> --- /dev/null
> +++ b/board/olimex/a10_olinuxino/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
Where is this file being used ?
> diff --git a/board/olimex/a10_olinuxino/post-build.sh b/board/olimex/a10_olinuxino/post-build.sh
> new file mode 100755
> index 0000000..7a8a427
> --- /dev/null
> +++ b/board/olimex/a10_olinuxino/post-build.sh
> @@ -0,0 +1,8 @@
> +#!/bin/sh
> +
> +cp $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr
> +
> +if [ -e $BINARIES_DIR/script.bin ]; then
> + # mali requires a legacy kernel
> + cp $BINARIES_DIR/script.bin $TARGET_DIR/boot/script.bin
It's a bit mysterious what is happening here. Where does this
script.bin file comes from ?
Besides those questions, looks good to me.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list