nwl-test-image: Create a wic file for sitara devices
id:458169
This commit is contained in:
parent
f7a130b901
commit
19f4f4f7a3
|
|
@ -22,14 +22,13 @@ include conf/machine/include/arm/armv7a/tune-cortexa8.inc
|
|||
|
||||
# IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap"
|
||||
# EXTRA_IMAGECMD_jffs2 = "-lnp "
|
||||
# WKS_FILE ?= "beaglebone-yocto.wks"
|
||||
# IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
|
||||
# do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
|
||||
|
||||
# SERIAL_CONSOLES = "115200;ttyO0"
|
||||
|
||||
# PREFERRED_PROVIDER_virtual/kernel ?= "linux-mainline"
|
||||
# PREFERRED_VERSION_linux-yocto ?= "4.18%"
|
||||
WKS_FILE ?= "nm-am335x-mmc.wks"
|
||||
do_image_wic[depends] += "virtual/bootloader:do_deploy"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
# Dual root partition for sitara devices
|
||||
|
||||
part SPL --offset 256S --source rawcopy --sourceparams="file=MLO" --ondisk mmcblk1 --part-name "spl" --no-table
|
||||
part u-boot --offset 768S --source rawcopy --sourceparams="file=u-boot.img" --ondisk mmcblk1 --part-name "uboot0" --no-table
|
||||
part u-boot --offset 6912S --source rawcopy --sourceparams="file=u-boot.img" --ondisk mmcblk1 --part-name "uboot1" --no-table
|
||||
|
||||
part / --source rootfs --fstype=ext4 --ondisk mmcblk1 --fixed-size 1G --label "rootfs0"
|
||||
part / --source rootfs --fstype=ext4 --ondisk mmcblk1 --fixed-size 1G --label "rootfs1"
|
||||
|
||||
# Shared data partition to be extended on live system
|
||||
part /data --fstype=ext4 --ondisk mmcblk1 --size 100M --label "data" --part-name "data"
|
||||
|
||||
bootloader --ptable gpt
|
||||
|
|
@ -1,2 +1,5 @@
|
|||
# Base classe for all image based on NWL
|
||||
COREOS_IMAGE_GENERATE_SWU = "0"
|
||||
COREOS_IMAGE_GENERATE_INSTALLER = "0"
|
||||
|
||||
inherit coreos-image
|
||||
|
|
|
|||
|
|
@ -15,3 +15,5 @@ inherit nwl-image
|
|||
# Add features and packages that are used in our tests:
|
||||
IMAGE_FEATURES += "ssh-server networkmanager swupdate"
|
||||
IMAGE_INSTALL:append = " packagegroup-core-full-cmdline swupdate-www"
|
||||
|
||||
IMAGE_FSTYPES += "wic.xz wic.bmap"
|
||||
|
|
|
|||
Loading…
Reference in New Issue