[source] image-commands: tplink-v2-header: pass kernel loadaddr and entry
LEDE Commits
lede-commits at lists.infradead.org
Mon Oct 9 08:35:56 PDT 2017
lynxis pushed a commit to source.git, branch master:
https://git.lede-project.org/49b84624eb694ed8238472db758708384fe62ce6
commit 49b84624eb694ed8238472db758708384fe62ce6
Author: Alexander Couzens <lynxis at fe80.eu>
AuthorDate: Mon Oct 9 13:50:03 2017 +0200
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 at fe80.eu>
---
include/image-commands.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/image-commands.mk b/include/image-commands.mk
index 4fe8c0f..aaece70 100644
--- a/include/image-commands.mk
+++ b/include/image-commands.mk
@@ -249,7 +249,8 @@ endef
define Build/tplink-v2-header
$(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)" \
-T $(TPLINK_HVERSION) -V "ver. 2.0" \
-k $@ -o $@.new $(1)
More information about the lede-commits
mailing list