legacy-bsp: Add wic files for armada devices

id:458169
This commit is contained in:
Alexandre Bard 2023-10-31 11:03:22 +01:00
parent 64bc9777e8
commit 20b9904c2b
3 changed files with 15 additions and 1 deletions

View File

@ -16,6 +16,9 @@ INODE_SIZE = "1024"
DIR_INODE_SIZE = "1024"
FILE_INODE_SIZE = "0"
WKS_FILE ?= "nm-armada-385-mmc.wks"
do_image_wic[depends] += "virtual/bootloader:do_deploy"
MACHINE_FEATURES:remove = "bluetooth"
PREFERRED_PROVIDER_virtual/kernel = "linux-nrsw"

View File

@ -666,7 +666,7 @@ CONFIG_MSDOS_PARTITION=y
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
CONFIG_EFI_PARTITION=y
# CONFIG_SYSV68_PARTITION is not set
# CONFIG_CMDLINE_PARTITION is not set
# end of Partition Types

View File

@ -0,0 +1,11 @@
# Dual root partition for armada devices
bootloader --ptable gpt
part u-boot --source rawcopy --sourceparams="file=u-boot-spl.kwb" --ondisk mmcblk --no-table --align 384
part / --source rootfs --fstype=ext4 --ondisk mmcblk0 --fixed-size 1G --label "rootfs0"
part / --source rootfs --fstype=ext4 --ondisk mmcblk0 --fixed-size 1G --label "rootfs1"
# Shared data partition
part /data --fstype=ext4 --ondisk mmcblk0 --size 100M --label data