All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-rockchip] [PATCH] Stop u-boot sections partition table
@ 2023-10-03  1:26 anthony.t.davies
  2023-10-03 10:22 ` [yocto] " Quentin Schulz
  0 siblings, 1 reply; 4+ messages in thread
From: anthony.t.davies @ 2023-10-03  1:26 UTC (permalink / raw)
  To: yocto; +Cc: twoerner, Anthony Davies

From: Anthony Davies <anthony.t.davies@gmail.com>

When checking the partition table of builds using this layer you get
numerous extra partitions due to each bootloader entry creating a
partition. --no-table on these entries should stop this from happening.

Signed-off-by: Anthony Davies <anthony.t.davies@gmail.com>
---
 wic/rockchip.wks | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/wic/rockchip.wks b/wic/rockchip.wks
index 1cc30ae..eb50d8c 100644
--- a/wic/rockchip.wks
+++ b/wic/rockchip.wks
@@ -15,11 +15,11 @@
 #   boot        32768           229376
 #   root        262144          -           (suggested)
 
-part loader1    --offset 32     --fixed-size 4000K            --source rawcopy                                                 --sourceparams="file=${SPL_BINARY}"
-part reserved1  --offset 4032   --fixed-size 64K
-part reserved2  --offset 4096   --fixed-size 4096K
-part loader2    --offset 8192   --fixed-size 4096K            --source rawcopy                                                 --sourceparams="file=u-boot.${UBOOT_SUFFIX}"
-part atf        --offset 12288  --fixed-size 4096K
+part loader1    --offset 32     --fixed-size 4000K            --source rawcopy           --no-table                            --sourceparams="file=${SPL_BINARY}"
+part reserved1  --offset 4032   --fixed-size 64K                                         --no-table
+part reserved2  --offset 4096   --fixed-size 4096K                                       --no-table
+part loader2    --offset 8192   --fixed-size 4096K            --source rawcopy           --no-table                            --sourceparams="file=u-boot.${UBOOT_SUFFIX}"
+part atf        --offset 12288  --fixed-size 4096K                                       --no-table
 part /boot      --offset 16384  --size       114688K --active --source bootimg-partition --fstype=vfat --label boot --use-uuid --sourceparams="loader=u-boot"
 part /                                                        --source rootfs            --fstype=ext4 --label root --use-uuid
 
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-03 22:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-03  1:26 [meta-rockchip] [PATCH] Stop u-boot sections partition table anthony.t.davies
2023-10-03 10:22 ` [yocto] " Quentin Schulz
2023-10-03 13:42   ` Trevor Woerner
2023-10-03 22:55     ` Anthony Davies

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.