mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 01:20:20 +00:00
conf/wic: switch back to 2-partition SD images, reserve extra space in boot
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
@@ -39,7 +39,7 @@ MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa etherne
|
||||
IMAGE_FSTYPES += "tar.xz wic.xz"
|
||||
|
||||
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysfw.itb"
|
||||
WKS_FILE ?= "sdimage-3part.wks"
|
||||
WKS_FILE ?= "sdimage-2part.wks"
|
||||
do_image_wic[depends] += "virtual/bootloader:do_deploy"
|
||||
do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy"
|
||||
do_image_tar[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy"
|
||||
|
||||
@@ -39,6 +39,6 @@ UBI_VOLNAME = "rootfs"
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu mmip dsp gc320"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz wic.xz"
|
||||
WKS_FILE ?= "sdimage-3part.wks"
|
||||
WKS_FILE ?= "sdimage-2part.wks"
|
||||
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
|
||||
do_image_wic[depends] += "u-boot:do_deploy"
|
||||
|
||||
@@ -61,6 +61,6 @@ TI_PDK_LIMIT_SOCS = "am335x"
|
||||
TI_PDK_LIMIT_BOARDS = "evmAM335x icev2AM335x iceAMIC110 bbbAM335x skAM335x"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz wic.xz"
|
||||
WKS_FILE ?= "sdimage-3part.wks"
|
||||
WKS_FILE ?= "sdimage-2part.wks"
|
||||
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
|
||||
do_image_wic[depends] += "u-boot:do_deploy"
|
||||
|
||||
@@ -57,6 +57,6 @@ TI_PDK_LIMIT_SOCS = "am437x"
|
||||
TI_PDK_LIMIT_BOARDS = "evmAM437x idkAM437x skAM437x"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz wic.xz"
|
||||
WKS_FILE ?= "sdimage-3part.wks"
|
||||
WKS_FILE ?= "sdimage-2part.wks"
|
||||
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
|
||||
do_image_wic[depends] += "u-boot:do_deploy"
|
||||
|
||||
6
wic/sdimage-2part.wks
Normal file
6
wic/sdimage-2part.wks
Normal file
@@ -0,0 +1,6 @@
|
||||
# short-description: Create SD card image with 2 partitions
|
||||
# long-description: Creates a partitioned SD card image for TI platforms.
|
||||
# Boot files are located in the first vfat partition with extra reserved space.
|
||||
|
||||
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --extra-space 100M --use-uuid
|
||||
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 1024 --use-uuid
|
||||
@@ -1,8 +0,0 @@
|
||||
# short-description: Create SD card image with 3 partitions
|
||||
# long-description: Creates a partitioned SD card image for testing TI platforms.
|
||||
# Boot files are located in the first vfat partition.
|
||||
# Second ext4 partition is empty and is used for testing.
|
||||
|
||||
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --size 100M --use-uuid
|
||||
part test --ondisk mmcblk0 --fstype=ext4 --label test --align 1024 --size 1G --use-uuid
|
||||
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 1024 --extra-space 500M --use-uuid
|
||||
Reference in New Issue
Block a user