kumquat-buildroot/board
Julien Olivain d130f0a837 board/freescale/common/imx: use nodtb variant in uboot images for 8M
In board/freescale/common/imx/imx8-bootloader-prepare.sh, when
invoking mkimage_fit_atf.sh, the U-Boot DTB is passed as parameter, to
be included in the FIT image. This parameter usually comes from
BR2_ROOTFS_POST_SCRIPT_ARGS config option. The variable
BL33=u-boot.bin set in the invocation uses the u-boot image which is
including its embedded DTB. This means the U-Boot DTB is included
twice.

The upstream script mkimage_fit_atf.sh plus its Buildroot patch are
meant to use by default the nodtb variant and use the DTB in a
separate image. See [1] and [2].

The U-Boot default DTB which will be included in u-boot.bin image is
selected with U-Boot CONFIG_DEFAULT_DEVICE_TREE, or DEVICE_TREE
variable when invoking "make". If one of those option is not aligned
to the BR2_ROOTFS_POST_SCRIPT_ARGS config option, it's possible the
two included U-Boot DTBs are different. If such case happens, the
built-in DTB is always used, regardless of the other one, selected
with BR2_ROOTFS_POST_SCRIPT_ARGS.

For example, this case happens for TechNexion Pico Pi i.MX8M and
i.MX8MMini. Since the U-Boot defconfig assumes the nodtb version will
be used, it does not set the default DTB. The u-boot.bin will include
the fsl-imx8mm-evk instead. Including the wrong board DTB breaks the
USB and UMS commands (and possibly others). Since those boards does
not have SD card slots, a recovery serial download is needed at every
update.

This patch make sure that only the separate U-Boot DTB will be
included in the FIT image by using the nodtb variant.

[1] https://source.codeaurora.org/external/imx/imx-mkimage/tree/iMX8M/mkimage_fit_atf.sh?h=rel_imx_4.14.98_2.0.0_ga#n35
[2] https://git.busybox.net/buildroot/tree/package/imx-mkimage/0001-add-support-for-overriding-bl32-and-bl33-not-only-bl.patch?h=2019.11#n42

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-12-24 14:24:43 +01:00
..
aarch64-efi configs/aarch64_efi_defconfig: new defconfig 2018-11-26 21:11:08 +01:00
acmesystems configs/acmesystems_arietta_g25: bump Linux and AT91Bootstrap versions 2019-08-11 21:58:05 +02:00
altera/socrates_cyclone5 configs/socrates_cyclone5: new defconfig 2017-08-02 21:45:26 +02:00
amarula configs/amarula_vyasa_rk3288: adjust U-Boot config to boot larger kernel image 2019-04-21 12:18:00 +02:00
andes configs/andes_ae3xx: new defconfig 2019-04-17 09:20:55 +02:00
arcturus configs/arcturus_ucp1020: bump Linux and U-Boot 2019-06-23 17:26:55 +02:00
arm
armadeus board/armadeus: replace utf-8 graphic sympols by ascii characters 2019-05-18 23:34:18 +02:00
asus/tinker configs/asus_tinker_rk3288: adjust U-Boot config to boot larger kernel image 2019-04-15 21:37:43 +02:00
atmel board/atmel: genimage: remove display variant dtbs 2019-08-01 20:23:25 +02:00
avnet/s6lx9_microboard
bananapi configs/bananapi_m2_ultra: new defconfig 2018-10-14 10:10:36 +02:00
beagleboardx15 configs/beagleboardx15: drop custom post-image script 2019-10-27 12:20:43 +01:00
beaglebone board/beaglebone: fix boot on BeagleBone Black 2019-11-15 23:38:29 +01:00
beagleboneai configs/beagleboneai: new defconfig 2019-09-25 22:59:32 +02:00
beelink/gs1 board: add Beelink GS1 support 2019-11-24 09:47:24 +01:00
boundarydevices/common board/boundarydevices: add i.MX8MQ support to u-boot scripts 2018-07-19 15:43:26 +02:00
chromebook/snow chromebook snow: bump kernel to 4.15 2018-03-05 23:19:33 +01:00
ci20 ci20: Fix U-Boot build with codesourcery toolchain 2018-12-15 11:15:34 +01:00
csky configs/csky_gx6605s: bump kernel to 5.0 and use buildroot toolchain 2019-08-02 23:42:51 +02:00
cubietech/cubieboard2 configs/cubieboard2_defconfig: use U-Boot boot script generation logic 2017-06-22 13:06:51 +02:00
embest/riotboard board: resurrect support for RIoTboard 2018-09-10 21:57:33 +02:00
engicam boarde: icorem6: clarify the common vs. board-specific things in readme.txt 2017-10-06 22:14:07 +02:00
freescale board/freescale/common/imx: use nodtb variant in uboot images for 8M 2019-12-24 14:24:43 +01:00
friendlyarm configs/friendlyarm_nanopi_neo_plus2: use an extlinux instead of boot.cmd 2019-12-10 09:02:25 +01:00
grinn configs/liteboard: Bump to kernel 4.10 2017-02-21 16:11:05 +01:00
hardkernel configs/odroidxu4: new defconfig 2018-10-21 11:00:04 +02:00
intel/galileo configs/galileo: add CONFIG_LBDAF=y in the kernel configuration 2017-09-02 20:14:14 +02:00
lego/ev3 configs/lego_ev3: update to Linux kernel 4.19 and U-Boot 2018.11 2018-12-28 11:50:11 +01:00
lemaker/bananapro configs/bananapro: bump Linux to 5.3.4 2019-10-08 09:14:56 +02:00
librecomputer/lafrite configs/lafrite: new defconfig 2019-09-15 16:00:56 +02:00
licheepi configs/licheepi_zero: new defconfig 2019-03-28 18:05:45 +01:00
linksprite/pcduino boards: replace $HOST_DIR/usr/ with $HOST_DIR/ in scripts 2017-07-05 15:23:13 +02:00
minnowboard configs/minnowboard_max: drop custom post-image script 2019-10-27 12:21:22 +01:00
nexbox/a95x configs: nexbox_a95x_defconfig: bump to kernel 4.12 2017-07-12 18:38:32 +02:00
olimex configs/olimex_a33_olinuxino: new defconfig 2019-08-03 08:28:35 +02:00
openblocks/a6 openblocks_a6_defconfig: improve/fix configuration 2017-06-17 10:48:05 +02:00
orangepi config: add defconfig for orangepi-r1 2019-05-05 21:12:04 +02:00
pandaboard configs/pandaboard: drop custom post-image script 2019-10-27 12:21:29 +01:00
pc board/pc/post-build.sh: fix typo in grub boot.img path 2019-12-16 11:01:49 +01:00
pine64 configs/pine64_rockpro64: remove defconfig 2019-09-01 11:36:49 +02:00
qemu board/qemu/arm-vexpress-tz: fixup GDB config info 2019-10-29 22:24:32 +01:00
raspberrypi configs/raspberrypi4_64: new defconfig 2019-12-08 21:49:08 +01:00
roseapplepi configs/roseapplepi: drop custom post-image script 2019-10-27 12:22:14 +01:00
sheevaplug sheevaplug: add a basic readme 2018-08-17 16:51:10 +02:00
sifive/hifive-unleashed configs/hifive_unleashed: new defconfig 2019-08-03 10:31:55 +02:00
sinovoip/m2-plus Added support for Sinovoip BananaPi M2 Plus board. 2017-09-22 23:11:01 +02:00
solidrun board/solidrun/clearfog_gt_8k: fix auto-load of dsa driver 2019-09-29 09:16:01 +02:00
stmicroelectronics board/stm32mp157c-dk2: fix typos in readme and extlinux file 2019-10-27 20:16:05 +01:00
synopsys board/synopsys/hsdk: remove duplicate console 2018-09-10 22:55:55 +02:00
technexion configs/imx7dpico: Bump U-Boot to 2019.07 and kernel to version 5.1.16. 2019-07-09 20:04:58 +02:00
technologic configs/ts4800: remove defconfig 2019-09-01 11:36:28 +02:00
toradex/apalis-imx6
udoo configs/mx6udoo: Bump kernel and U-Boot versions 2017-10-15 15:54:04 +02:00
wandboard configs/wandboard: drop custom post-image script 2019-10-27 12:22:26 +01:00
warp7 configs/warp7: Bump kernel and U-Boot versions 2019-07-14 11:57:39 +02:00
zynq boards/zynq: use genimage to generate a bootable SD card image 2017-12-11 22:39:19 +01:00
zynqmp board/zynqmp/post-image.sh: support dots in DTS file names 2018-10-26 20:54:00 +02:00
raspberrypi0
raspberrypi0w configs/raspberrypi0w_defconfig: new defconfig for Raspberry Pi Zero W 2018-03-31 12:31:32 +02:00
raspberrypi2
raspberrypi3
raspberrypi3-64 configs: add raspberrypi3 64bits defconfig 2017-05-04 09:25:20 +02:00
raspberrypi4 board/raspberrypi: add support for the new pi4 2019-08-03 11:06:44 +02:00
raspberrypi4-64 configs/raspberrypi4_64: new defconfig 2019-12-08 21:49:08 +01:00