From bcd880c8e4085c943a055bcb2e2dc78feda33bea Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 19 May 2019 19:04:07 +0300 Subject: Modularise image handling Signed-off-by: Laurent Pinchart --- platforms/gen3.sh | 2 +- platforms/imx7.sh | 2 +- platforms/omap3.sh | 2 +- platforms/omap4+.sh | 2 +- platforms/scarlet.sh | 2 +- platforms/soraka.sh | 2 +- platforms/x86.sh | 2 +- platforms/zynqmp.sh | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) (limited to 'platforms') diff --git a/platforms/gen3.sh b/platforms/gen3.sh index 73a51a7..7b7ae6d 100644 --- a/platforms/gen3.sh +++ b/platforms/gen3.sh @@ -5,5 +5,5 @@ BOOT_DIR=$TFTP_ROOT/gen3 DTBS="renesas/r8a7795-es1-h3ulcb.dtb renesas/r8a7795-es1-salvator-x.dtb renesas/r8a7795-h3ulcb.dtb renesas/r8a7795-h3ulcb-kf.dtb renesas/r8a7795-salvator-x.dtb renesas/r8a7795-salvator-xs.dtb renesas/r8a7796-m3ulcb.dtb renesas/r8a7796-salvator-x.dtb renesas/r8a77995-draak.dtb" DTBS=$(cd arch/arm64/boot/dts ; ls renesas/*.dts | sed 's/\.dts/.dtb/') #DTBS="renesas/r8a77965-salvator-xs.dtb" -IMAGE=FIT +image=FIT LOADADDR=0x48080000 diff --git a/platforms/imx7.sh b/platforms/imx7.sh index 6e4d3cc..736e5ae 100644 --- a/platforms/imx7.sh +++ b/platforms/imx7.sh @@ -4,5 +4,5 @@ arch=arm #BOOT_DIR=$TFTP_ROOT/imx7 BOOT_DIR=$NFS_ROOT/arm32/boot DTBS="imx7d-sx-pl-emar.dtb imx7d-sx-pl-test.dtb" -IMAGE=zImage +image=zImage LOADADDR=0x80008000 diff --git a/platforms/omap3.sh b/platforms/omap3.sh index a0afae6..b6d7e2d 100644 --- a/platforms/omap3.sh +++ b/platforms/omap3.sh @@ -3,4 +3,4 @@ dir_pattern=media arch=arm BOOT_DIR=$TFTP_ROOT/omap3 DTBS="omap3-beagle-xm.dtb omap3-overo-storm-tobi.dtb" -IMAGE=zImage +image=zImage diff --git a/platforms/omap4+.sh b/platforms/omap4+.sh index 59e3441..646518b 100644 --- a/platforms/omap4+.sh +++ b/platforms/omap4+.sh @@ -3,5 +3,5 @@ dir_pattern=omap arch=arm BOOT_DIR=$TFTP_ROOT/omap4 DTBS="omap4-panda.dtb omap4-panda-es.dtb am57xx-evm-reva3.dtb:am57xx-beagle-x15.dtb" -IMAGE=FIT +image=FIT LOADADDR=0x80008000 diff --git a/platforms/scarlet.sh b/platforms/scarlet.sh index 530748d..4702900 100644 --- a/platforms/scarlet.sh +++ b/platforms/scarlet.sh @@ -4,5 +4,5 @@ BOOT_DIR=$NFS_ROOT/arm64/boot CMDLINE="console=ttyS2,115200n8 earlyprintk=ttyS2,115200n8 console=tty1 init=/sbin/init root=PARTUUID=%U/PARTNROFF=1 rootwait rw noinitrd ignore_loglevel" CMDLINE="console=ttyS2,115200n8 earlyprintk=ttyS2,115200n8 console=tty1 ip=dhcp root=/dev/nfs rootwait rw noinitrd ignore_loglevel" DTBS="rockchip/rk3399-gru-scarlet-inx.dtb" -IMAGE=cros-arm +image=CrOS LOADADDR=0 diff --git a/platforms/soraka.sh b/platforms/soraka.sh index 571fce1..d278b34 100644 --- a/platforms/soraka.sh +++ b/platforms/soraka.sh @@ -3,5 +3,5 @@ dir_pattern=libcamera arch=x86 BOOT_DIR=$TFTP_ROOT/x86 CMDLINE="console=ttyS0,115200n8 earlyprintk=ttyS0,115200n8 console=tty1 ip=dhcp root=/dev/nfs rootwait rw noinitrd ignore_loglevel" -IMAGE=cros-x86 +image=CrOS KCFLAGS="$KCFLAGS -Wno-error=frame-larger-than=" diff --git a/platforms/x86.sh b/platforms/x86.sh index 97d3358..5c61998 100644 --- a/platforms/x86.sh +++ b/platforms/x86.sh @@ -1,5 +1,5 @@ platform=x86 arch=x86 BOOT_DIR=$TFTP_ROOT/x86 -IMAGE=bzImage +image=bzImage KCFLAGS="$KCFLAGS -Wno-error=frame-larger-than=" diff --git a/platforms/zynqmp.sh b/platforms/zynqmp.sh index cc936e7..3f9b302 100644 --- a/platforms/zynqmp.sh +++ b/platforms/zynqmp.sh @@ -3,7 +3,7 @@ dir_pattern=xilinx arch=arm64 BOOT_DIR=$TFTP_ROOT/xilinx DTBS="xilinx/zynqmp-zcu106-revA.dtb" -IMAGE=Image +image=Image LOADADDR=0x10000000 KCFLAGS="$KCFLAGS -Wno-error=packed-not-aligned -Wno-error=sizeof-pointer-memaccess -Wno-error=stringop-truncation -Wno-error=stringop-overflow" target_dir=$NFS_ROOT/zynqmp -- cgit v1.2.3