wic: implement wic list and tweak description

This now produces sensible output in
    wic list images
    wic list rockchip help

Signed-off-by: André Draszik <git@andred.net>
This commit is contained in:
André Draszik 2024-01-18 08:42:03 +00:00 committed by Trevor Woerner
parent f7f2878e02
commit 5f10374c07

View File

@ -2,15 +2,17 @@
# Copyright (C) 2021 Trevor Woerner
# Released under the MIT license (see COPYING.MIT for the terms)
#
# short-description: Create a disk image suitable for booting Rockchip from SD-card
# long-description: Creates a disk image partitioned using GPT, suitable for Rockchip
# Disk layout
# Note that the reference documentation refers to 512 byte disk sectors, but
# wic uses 1KB blocks
# wic uses 1KB blocks. The following table uses 512 byte sectors:
#
# Partition Start Sector Number of Sectors
# loader1 64 8000
# loader1 64 8000 (idbloader / U-Boot SPL)
# reserved1 8064 128
# reserved2 8192 8192
# loader2 16384 8192
# loader2 16384 8192 (U-Boot proper)
# atf 24576 8192
# boot 32768 229376
# root 262144 - (suggested)