configs/kontron_smarc_sal28: integrate RCW into rootfs image
authorMichael Walle <michael@walle.cc>
Tue, 12 Jan 2021 10:51:54 +0000 (11:51 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 14 Jan 2021 21:30:46 +0000 (22:30 +0100)
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>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
board/kontron/smarc-sal28/genimage.cfg
configs/kontron_smarc_sal28_defconfig

index d75234d997929586d0c039d7169953ab843a19ff..f3fb77e00a0070630e72a6645f954e01625cf1b4 100644 (file)
@@ -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"
index a8412b9c38d3317c2634539b2c967f9de9c009b5..fd001614f4077d2451b91dab9bcf1640e0e9d6b1 100644 (file)
@@ -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"