mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 16:58:22 +00:00
image-commands: tplink-v2-header: pass kernel loadaddr and entry
Initramfs images won't boot if the default loadaddr and entrypont is different. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
This commit is contained in:
parent
a5d016f361
commit
49b84624eb
@ -249,7 +249,8 @@ endef
|
|||||||
|
|
||||||
define Build/tplink-v2-header
|
define Build/tplink-v2-header
|
||||||
$(STAGING_DIR_HOST)/bin/mktplinkfw2 \
|
$(STAGING_DIR_HOST)/bin/mktplinkfw2 \
|
||||||
-c -H $(TPLINK_HWID) -W $(TPLINK_HWREV) \
|
-c -H $(TPLINK_HWID) -W $(TPLINK_HWREV) -L $(KERNEL_LOADADDR) \
|
||||||
|
-E $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
|
||||||
-w $(TPLINK_HWREVADD) -F "$(TPLINK_FLASHLAYOUT)" \
|
-w $(TPLINK_HWREVADD) -F "$(TPLINK_FLASHLAYOUT)" \
|
||||||
-T $(TPLINK_HVERSION) -V "ver. 2.0" \
|
-T $(TPLINK_HVERSION) -V "ver. 2.0" \
|
||||||
-k $@ -o $@.new $(1)
|
-k $@ -o $@.new $(1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user