From 2ed57200f121a1be4e521130007ccc8de73e847a Mon Sep 17 00:00:00 2001 From: parazyd Date: Fri, 27 Oct 2017 18:07:20 +0200 Subject: [PATCH] revise and update sunxi build script --- boards/sunxi.sh | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/boards/sunxi.sh b/boards/sunxi.sh index 1391418..f9faf37 100644 --- a/boards/sunxi.sh +++ b/boards/sunxi.sh @@ -33,20 +33,18 @@ inittab=("T1:12345:respawn:/sbin/agetty -L ttyS0 115200 vt100") parted_type="dos" parted_boot="fat32 2048s 264191s" parted_root="ext4 264192s 100%" -bootfs="vfat" +bootfs="ext4" extra_packages+=() custmodules=() gitkernel="git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git" -gitbranch="linux-4.11.y" +gitbranch="linux-4.13.y" -uboot=mainline -sunxi_uboot="git://git.denx.de/u-boot.git" prebuild() { fn prebuild - req=(device_name strapdir) + req=(device_name) ckreq || return 1 notice "executing $device_name prebuild" @@ -58,6 +56,8 @@ prebuild() { postbuild() { fn postbuild + req=(uboot_configs device_name compiler) + ckreq || return 1 notice "executing $device_name postbuild" @@ -78,9 +78,6 @@ postbuild() { ARCH=arm \ CROSS_COMPILE=$compiler || zerr - #act "dd-ing to image..." - #sudo dd if=u-boot-sunxi-with-spl.bin of=$loopdevice bs=1024 seek=8 || zerr - mv -v u-boot-sunxi-with-spl.bin $R/dist/u-boot/${board}.bin done popd @@ -88,14 +85,15 @@ postbuild() { notice "creating boot.cmd" cat <