summaryrefslogtreecommitdiffstats
path: root/wic
diff options
context:
space:
mode:
authorMax Krummenacher <max.oss.09@gmail.com>2019-01-28 16:05:50 +0100
committerDaiane Angolini <daiane.angolini@nxp.com>2019-01-29 15:03:40 -0200
commit3083912e9a7209280d8e24f7c450fbcab60b6822 (patch)
tree6dfeff56af0a9724d54f4d63a95cf70ac0ac2f49 /wic
parent95c1f9561b94ce3fadfa105a1773440898b5564b (diff)
downloadmeta-freescale-3083912e9a7209280d8e24f7c450fbcab60b6822.tar.gz
imx-imx-boot-bootpart.wks: change default offset of bootloader
The i.MX 8QXP bootrom in B0 silicon reads the 1st image container at offset 32k while tha A0 silicon started at 33k. The machine configurations already contain the variable IMX_BOOT_SEEK to specify the needed offset. Change the wks file accordingly. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'wic')
-rw-r--r--wic/imx-imx-boot-bootpart.wks.in (renamed from wic/imx-imx-boot-bootpart.wks)5
1 files changed, 3 insertions, 2 deletions
diff --git a/wic/imx-imx-boot-bootpart.wks b/wic/imx-imx-boot-bootpart.wks.in
index 11b90492..601b9340 100644
--- a/wic/imx-imx-boot-bootpart.wks
+++ b/wic/imx-imx-boot-bootpart.wks.in
@@ -10,9 +10,10 @@
10# - ---------- -------------- -------------- 10# - ---------- -------------- --------------
11# ^ ^ ^ ^ 11# ^ ^ ^ ^
12# | | | | 12# | | | |
13# 0 33kiB 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) 13# 0 | 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
14# ${IMX_BOOT_SEEK} 32 or 33kiB, see reference manual
14# 15#
15part u-boot --source rawcopy --sourceparams="file=imx-boot" --ondisk mmcblk --no-table --align 33 16part u-boot --source rawcopy --sourceparams="file=imx-boot" --ondisk mmcblk --no-table --align ${IMX_BOOT_SEEK}
16part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 16 17part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 16
17part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 18part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096
18 19