diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-10-29 09:05:32 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-10-29 09:05:32 +0100 |
commit | 69cd682083cce025282ad6f2d47bbb5ffffd9b55 (patch) | |
tree | 17b61f4e70aac6ac219ec61eb5886154ac6ea982 | |
parent | 7b5b2de02017cedc0926aa4ea9adf97f197b9328 (diff) |
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.
-rwxr-xr-x | recipes/images/files/library/imx6/update.sh | 13 | ||||
-rwxr-xr-x | recipes/images/files/library/tegra/update.sh | 10 |
2 files changed, 14 insertions, 9 deletions
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 # |