summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2020-05-07 07:07:57 +0000
committerDenys Dmytriyenko <denys@ti.com>2020-05-07 01:16:33 +0000
commita83fb916dcfcad3028256ba8ff7d0626cf475cc5 (patch)
tree29f4debcd0eff3c901b8083fa4d4221399f2d83f
parent676c7ba681e462e15d5c09d3da6460cf87f89cc3 (diff)
downloadmeta-ti-ti2020.01.00.tar.gz
conf/wic: switch back to 2-partition SD images, reserve extra space in bootti2020.01.00
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--conf/machine/include/k3.inc2
-rw-r--r--conf/machine/include/omap-a15.inc2
-rw-r--r--conf/machine/include/ti33x.inc2
-rw-r--r--conf/machine/include/ti43x.inc2
-rw-r--r--wic/sdimage-2part.wks6
-rw-r--r--wic/sdimage-3part.wks8
6 files changed, 10 insertions, 12 deletions
diff --git a/conf/machine/include/k3.inc b/conf/machine/include/k3.inc
index 765e0ee3..54b17892 100644
--- a/conf/machine/include/k3.inc
+++ b/conf/machine/include/k3.inc
@@ -39,7 +39,7 @@ MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa etherne
39IMAGE_FSTYPES += "tar.xz wic.xz" 39IMAGE_FSTYPES += "tar.xz wic.xz"
40 40
41IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysfw.itb" 41IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysfw.itb"
42WKS_FILE ?= "sdimage-3part.wks" 42WKS_FILE ?= "sdimage-2part.wks"
43do_image_wic[depends] += "virtual/bootloader:do_deploy" 43do_image_wic[depends] += "virtual/bootloader:do_deploy"
44do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy" 44do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy"
45do_image_tar[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy" 45do_image_tar[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy"
diff --git a/conf/machine/include/omap-a15.inc b/conf/machine/include/omap-a15.inc
index c22e6dd6..e491d2b5 100644
--- a/conf/machine/include/omap-a15.inc
+++ b/conf/machine/include/omap-a15.inc
@@ -39,6 +39,6 @@ UBI_VOLNAME = "rootfs"
39MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu mmip dsp gc320" 39MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu mmip dsp gc320"
40 40
41IMAGE_FSTYPES += "tar.xz wic.xz" 41IMAGE_FSTYPES += "tar.xz wic.xz"
42WKS_FILE ?= "sdimage-3part.wks" 42WKS_FILE ?= "sdimage-2part.wks"
43IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}" 43IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
44do_image_wic[depends] += "u-boot:do_deploy" 44do_image_wic[depends] += "u-boot:do_deploy"
diff --git a/conf/machine/include/ti33x.inc b/conf/machine/include/ti33x.inc
index bf9b5570..abfd7ec7 100644
--- a/conf/machine/include/ti33x.inc
+++ b/conf/machine/include/ti33x.inc
@@ -61,6 +61,6 @@ TI_PDK_LIMIT_SOCS = "am335x"
61TI_PDK_LIMIT_BOARDS = "evmAM335x icev2AM335x iceAMIC110 bbbAM335x skAM335x" 61TI_PDK_LIMIT_BOARDS = "evmAM335x icev2AM335x iceAMIC110 bbbAM335x skAM335x"
62 62
63IMAGE_FSTYPES += "tar.xz wic.xz" 63IMAGE_FSTYPES += "tar.xz wic.xz"
64WKS_FILE ?= "sdimage-3part.wks" 64WKS_FILE ?= "sdimage-2part.wks"
65IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}" 65IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
66do_image_wic[depends] += "u-boot:do_deploy" 66do_image_wic[depends] += "u-boot:do_deploy"
diff --git a/conf/machine/include/ti43x.inc b/conf/machine/include/ti43x.inc
index 5d6ea412..524b0b2c 100644
--- a/conf/machine/include/ti43x.inc
+++ b/conf/machine/include/ti43x.inc
@@ -57,6 +57,6 @@ TI_PDK_LIMIT_SOCS = "am437x"
57TI_PDK_LIMIT_BOARDS = "evmAM437x idkAM437x skAM437x" 57TI_PDK_LIMIT_BOARDS = "evmAM437x idkAM437x skAM437x"
58 58
59IMAGE_FSTYPES += "tar.xz wic.xz" 59IMAGE_FSTYPES += "tar.xz wic.xz"
60WKS_FILE ?= "sdimage-3part.wks" 60WKS_FILE ?= "sdimage-2part.wks"
61IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}" 61IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
62do_image_wic[depends] += "u-boot:do_deploy" 62do_image_wic[depends] += "u-boot:do_deploy"
diff --git a/wic/sdimage-2part.wks b/wic/sdimage-2part.wks
new file mode 100644
index 00000000..77d6f7b5
--- /dev/null
+++ b/wic/sdimage-2part.wks
@@ -0,0 +1,6 @@
1# short-description: Create SD card image with 2 partitions
2# long-description: Creates a partitioned SD card image for TI platforms.
3# Boot files are located in the first vfat partition with extra reserved space.
4
5part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --extra-space 100M --use-uuid
6part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 1024 --use-uuid
diff --git a/wic/sdimage-3part.wks b/wic/sdimage-3part.wks
deleted file mode 100644
index 86aeb1cc..00000000
--- a/wic/sdimage-3part.wks
+++ /dev/null
@@ -1,8 +0,0 @@
1# short-description: Create SD card image with 3 partitions
2# long-description: Creates a partitioned SD card image for testing TI platforms.
3# Boot files are located in the first vfat partition.
4# Second ext4 partition is empty and is used for testing.
5
6part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --size 100M --use-uuid
7part test --ondisk mmcblk0 --fstype=ext4 --label test --align 1024 --size 1G --use-uuid
8part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 1024 --extra-space 500M --use-uuid