package: layerscape: change loadaddr address
authorPawel Dembicki <paweldembicki@gmail.com>
Tue, 18 Apr 2023 09:37:04 +0000 (11:37 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 28 May 2023 18:22:23 +0000 (20:22 +0200)
commit0822040671e6177020892e0ddbdfafd4bb3690e0
treed7a86834f52576a04f8c493054a8b04a19e2058b
parenta7e9445975f832db887e6044d7e84220d2a68cf1
package: layerscape: change loadaddr address

At this moment loadaddr in most layerscape boards are configured to
0x81000000. 5.15 kernel on some boards is bigger than 5.10 and it cause error:

Loading kernel from FIT Image at 81000000 ...

Using 'config-1' configuration
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-5.15.112
Created: 2023-05-21 17:39:35 UTC
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x810000ec
Data Size: 7513944 Bytes = 7.2 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x80000000
Entry Point: 0x80000000
Hash algo: crc32
Hash value: 6fd69550
Hash algo: sha1
Hash value: ee34c753ffb615e199a428762824ad4a0aaef90a
Verifying Hash Integrity ... crc32+ sha1+ OK
Loading fdt from FIT Image at 81000000 ...

Using 'config-1' configuration
Trying 'fdt-1' fdt subimage
Description: ARM64 OpenWrt fsl_ls1088a-rdb-sdboot device tree blob
Created: 2023-05-21 17:39:35 UTC
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x8172a98c
Data Size: 19794 Bytes = 19.3 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: 59792ba3
Hash algo: sha1
Hash value: 135585a49f86cd85acea559b78b0098ae99d5e12
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x8172a98c
Uncompressing Kernel Image
ERROR: new format image overwritten - must RESET the board to recover
resetting ...

This patch changes loadaddr to 0x88000000 (like LS1012A-FRDM board) to
avoid overlapping for bigger images (like initramfs) too.

Tested-by: Alexandra Alth <alexandra@alth.de> [LS1088ARDB]
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
16 files changed:
package/boot/uboot-layerscape/files/fsl_ls1012a-frwy-sdboot-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1012a-rdb-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1021a-iot-sdboot-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1021a-twr-sdboot-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1021a-twr-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1043a-rdb-sdboot-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1043a-rdb-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1046a-frwy-sdboot-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1046a-frwy-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1046a-rdb-sdboot-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1046a-rdb-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1088a-rdb-sdboot-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1088a-rdb-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls2088a-rdb-uEnv.txt
package/boot/uboot-layerscape/files/fsl_lx2160a-rdb-sdboot-uEnv.txt
package/boot/uboot-layerscape/files/fsl_lx2160a-rdb-uEnv.txt