From 69cd682083cce025282ad6f2d47bbb5ffffd9b55 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Thu, 29 Oct 2015 09:05:32 +0100 Subject: apalis/colibri_imx6/t30: update.sh: update emmc layout description Now that both Apalis/Colibri iMX6 as well as Apalis/Colibri T30 will use the same eMMC layout also concerning boot loader, environment and configblock locations in the primary eMMC boot area partition update resp. description. --- recipes/images/files/library/imx6/update.sh | 13 +++++++++---- recipes/images/files/library/tegra/update.sh | 10 +++++----- 2 files changed, 14 insertions(+), 9 deletions(-) (limited to 'recipes') diff --git a/recipes/images/files/library/imx6/update.sh b/recipes/images/files/library/imx6/update.sh index 4f4b11e..5a75191 100755 --- a/recipes/images/files/library/imx6/update.sh +++ b/recipes/images/files/library/imx6/update.sh @@ -188,11 +188,18 @@ grep -i imx6 rootfs/etc/issue >> ${BINARIES}/versions.txt #create subdirectory for this module type sudo mkdir -p "$OUT_DIR" -# The emmc layout used is: +# The eMMC layout used is: +# +# boot area partition 1 aka primary eMMC boot sector: +# with U-Boot boot loader and the U-Boot environment before the configblock at +# the end of that boot area partition +# +# boot area partition 2 aka secondary eMMC boot sector: +# reserved # # user area aka general purpose eMMC region: # -# 0 -> IMAGE_ROOTFS_ALIGNMENT - reserved to bootloader (not partitioned) +# 0 -> IMAGE_ROOTFS_ALIGNMENT - reserved (not partitioned) # IMAGE_ROOTFS_ALIGNMENT -> BOOT_SPACE - kernel and other data # BOOT_SPACE -> SDIMG_SIZE - rootfs # @@ -204,8 +211,6 @@ sudo mkdir -p "$OUT_DIR" # ^ ^ ^ ^ # | | | | # 0 4MiB 4MiB + 16MiB EMMC_SIZE -# -# with U-Boot at 1024, the U-Boot environment at 512 * 1024, the config block is at 640 * 1024 # Boot partition [in sectors of 512] diff --git a/recipes/images/files/library/tegra/update.sh b/recipes/images/files/library/tegra/update.sh index 482fd00..c8cd865 100755 --- a/recipes/images/files/library/tegra/update.sh +++ b/recipes/images/files/library/tegra/update.sh @@ -295,18 +295,18 @@ grep -i t[2-3]0 rootfs/etc/issue >> ${BINARIES}/versions.txt #create subdirectory for this module type sudo mkdir -p "$OUT_DIR" -# The emmc layout used is: +# The eMMC layout used is: # # boot area partition 1 aka primary eMMC boot sector: -# with cbootimage containing BCT and U-Boot boot loader -# and the configblock at the end of that boot area partition +# with cbootimage containing BCT and U-Boot boot loader and the U-Boot +# environment before the configblock at the end of that boot area partition # # boot area partition 2 aka secondary eMMC boot sector: -# with the U-Boot environment at the end of that boot area partition +# reserved # # user area aka general purpose eMMC region: # -# 0 -> IMAGE_ROOTFS_ALIGNMENT - reserved ((not partitioned) +# 0 -> IMAGE_ROOTFS_ALIGNMENT - reserved (not partitioned) # IMAGE_ROOTFS_ALIGNMENT -> BOOT_SPACE - kernel and other data # BOOT_SPACE -> SDIMG_SIZE - rootfs # -- cgit v1.2.3