]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: image: add rt-loader-no-uimage recipe 21248/head
authorJonas Jelonek <jelonek.jonas@gmail.com>
Mon, 22 Dec 2025 09:57:52 +0000 (09:57 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 22 Dec 2025 23:26:35 +0000 (00:26 +0100)
commit74b5a63cf954219289e35a00d70eb09355b5d5ec
treeabf20ee653e2b9151ee39b9b09dbb64c6d642049
parentb1c1b713f004a74a0138c6f67851c39ce1038112
realtek: image: add rt-loader-no-uimage recipe

Add a new recipe 'rt-loader-no-uimage' that passes the kernel load
address to rt-loader, causing it to use that instead of it's initial run
address.

The usual behavior is fine for uImages where the load address is
predefined in the header, U-boot loads the image to that address and
then runs it, rt-loader just takes over that address. For non-uImage
instead, the address is tightly coupled to where the image has been
transferred during serial or TFTP upload. This may not be possible on
several devices. Passing a separate kernel load address to rt-loader
decouples that and avoids taking the pain to change the load address of
the kernel itself.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21248
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/image/Makefile