imx7d-pico: Update settings to use U-Boot SPL

This updates the machine settings so it makes use of the SPL support
and also adds the extra machine U-Boot config, so it allows for a
direct booting in pico-pi baseboard if needed.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2018-06-08 10:38:34 -03:00
parent cc89a9b637
commit 2f04b01bed

View File

@ -13,7 +13,14 @@ SERIAL_CONSOLE = "115200 ttymxc4"
KERNEL_DEVICETREE = "imx7d-pico-pi.dtb"
UBOOT_MACHINE = "pico-imx7d_defconfig"
SPL_BINARY = "SPL"
UBOOT_SUFFIX = "img"
UBOOT_MAKE_TARGET = ""
UBOOT_CONFIG ??= "pi generic"
UBOOT_CONFIG[generic] = "pico-imx7d_defconfig"
UBOOT_CONFIG[pi] = "pico-pi-imx7d_defconfig"
UBOOT_EXTLINUX = "1"
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
UBOOT_EXTLINUX_CONSOLE = "console=${console},${baudrate}"
@ -24,5 +31,6 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \
u-boot-fslc \
"
WKS_FILES ?= "imx-uboot.wks"
WKS_FILES ?= "imx-uboot-spl.wks"
WKS_FILE_DEPENDS ?= ""
IMAGE_FSTYPES = "ext4.gz"