[FS#542] ipq806x: unable to boot linux-4.9.10 uboot seeing Bad Magic Number

LEDE Bugs lede-bugs at lists.infradead.org
Tue Feb 21 05:03:17 PST 2017


The following task has a new comment added:

FS#542 - ipq806x: unable to boot linux-4.9.10 uboot seeing Bad Magic Number
User who did this - Jonas Gorski (jogo)

----------
Ah, that commit has the clue:

-	KERNEL = kernel-bin | append-dtb | pad-to $$$$(($$(KERNEL_SIZE)-2*64-1)) | uImage none | append-file $(KDIR)/root.dummy
+	KERNEL = kernel-bin | append-dtb | uImage none | pad-offset $$(KERNEL_SIZE) 64 | \
+		append-uImage-fakeroot-hdr


The commit switched the order of wrapping in uImage and padding the kernel, which is likely the issue.

Can you try putting the uImage non after the pad-offset command?
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=542#comment1910



More information about the lede-bugs mailing list