aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/octeon
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2020-06-17 23:48:32 +0200
committerPetr Štetiar <ynezz@true.cz>2020-12-17 15:51:43 +0100
commitb14eeccdfeeeaad30ab301401432e217c1b77180 (patch)
treece5b091e86aeba25f3deda5878e95678b5db3742 /target/linux/octeon
parentcb58c7fe733ee168c9909b208af4c676ce3e0499 (diff)
downloadupstream-b14eeccdfeeeaad30ab301401432e217c1b77180.tar.gz
upstream-b14eeccdfeeeaad30ab301401432e217c1b77180.tar.bz2
upstream-b14eeccdfeeeaad30ab301401432e217c1b77180.zip
ath79: image: fix initramfs for safeloader devices
Currently it's not possible to tftpboot initramfs image on archer-c7-v5 as the image contains tplink-v1-header which leads to: ath> bootm ## Booting image at 81000000 ... Bad Magic Number as U-Boot expects uImage wrapped image. This is caused by following inheritance issue: define Device/Init KERNEL_INITRAMFS = $$(KERNEL) define Device/tplink-v1 KERNEL := kernel-bin | append-dtb | lzma KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | tplink-v1-header define Device/tplink-safeloader $(Device/tplink-v1) define Device/tplink-safeloader-uimage $(Device/tplink-safeloader) KERNEL := kernel-bin | append-dtb | lzma | uImageArcher lzma define Device/tplink_archer-c7-v5 $(Device/tplink-safeloader-uimage) where tplink-v1 defines KERNEL_INITRAMFS with tplink-v1-header and it's then used by all devices inheriting from tplink-safeloader. Fix this by overriding KERNEL_INITRAMFS to KERNEL variable again. Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit ceeece9ffaa5a3a336505332c39794d76c08b2ca)
Diffstat (limited to 'target/linux/octeon')
0 files changed, 0 insertions, 0 deletions