Message ID | 20210112105154.31531-3-michael@walle.cc |
---|---|
State | Accepted |
Headers | show |
Series | Add support for an RCW on sl28 boards | expand |
diff --git a/board/kontron/smarc-sal28/genimage.cfg b/board/kontron/smarc-sal28/genimage.cfg index d75234d997..f3fb77e00a 100644 --- a/board/kontron/smarc-sal28/genimage.cfg +++ b/board/kontron/smarc-sal28/genimage.cfg @@ -3,6 +3,12 @@ image sdcard-emmc.img { gpt = true } + partition rcw { + offset = 4k + in-partition-table = "no" + image = "rcw.bin" + } + partition u-boot { offset = 1M in-partition-table = "no" diff --git a/configs/kontron_smarc_sal28_defconfig b/configs/kontron_smarc_sal28_defconfig index 767858f601..ddc7022886 100644 --- a/configs/kontron_smarc_sal28_defconfig +++ b/configs/kontron_smarc_sal28_defconfig @@ -16,6 +16,7 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-ls1028a-kontron-sl28 freescale/f BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y BR2_LINUX_KERNEL_INSTALL_TARGET=y BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_PACKAGE_RCW_SMARC_SAL28=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_ROOTFS_EXT2_SIZE="128M"
Integrate the RCW into the storage device image, so the image can also be used a boot source. The SoC expects the RCW at offset 4096 of the SD card or eMMC. Signed-off-by: Michael Walle <michael@walle.cc> --- board/kontron/smarc-sal28/genimage.cfg | 6 ++++++ configs/kontron_smarc_sal28_defconfig | 1 + 2 files changed, 7 insertions(+)