Skip to content
Permalink
Browse files

add custom WIC file for coral-dev machine

The Cora Dev board by default assumes that the boot part is 'ext4',
the wic files in meta-freescale all use 'vfat' for the boot part.

Signed-off-by: Mirza Krak <mirza@mkrak.org>
  • Loading branch information
mirzak committed Jul 12, 2019
1 parent 295d5db commit 0e5a3c81fe176fc3828cca93690dfc24b33fef59
Showing with 23 additions and 0 deletions.
  1. +2 −0 conf/machine/coral-dev.conf
  2. +21 −0 wic/coral-bootpart.wks.in
@@ -6,6 +6,8 @@

MACHINEOVERRIDES =. "mx8:mx8m:mx8mq:"

WKS_FILE ?= "coral-bootpart.wks.in"

require conf/machine/include/imx-base.inc
require conf/machine/include/arm/arch-arm64.inc

@@ -0,0 +1,21 @@
# short-description: Create SD card image with a boot partition
# long-description:
# Create an image that can be written onto a SD card using dd for use
# with i.MX SoC family
# It uses u-boot + other binaries gathered together on imx-boot file
#
# The disk layout used is:
# - ---------- -------------- --------------
# | | imx-boot | boot | rootfs |
# - ---------- -------------- --------------
# ^ ^ ^ ^
# | | | |
# 0 | 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
# ${IMX_BOOT_SEEK} 32 or 33kiB, see reference manual
#
part u-boot --source rawcopy --sourceparams="file=imx-boot" --ondisk mmcblk --no-table --align ${IMX_BOOT_SEEK}
part /boot --source bootimg-partition --ondisk mmcblk --fstype=ext4 --label boot --active --align 4096 --size 16
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096

bootloader --ptable msdos

0 comments on commit 0e5a3c8

Please sign in to comment.
You can’t perform that action at this time.