aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/backport-5.4/825-v5.8-spi-rb4xx-null-pointer-bug-fix.patch
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2020-06-17 23:48:32 +0200
committerPetr Štetiar <ynezz@true.cz>2020-06-22 12:51:22 +0200
commitceeece9ffaa5a3a336505332c39794d76c08b2ca (patch)
tree8fdc6e1cef58a16b4a3550378d0344db6d9fe9b4 /target/linux/generic/backport-5.4/825-v5.8-spi-rb4xx-null-pointer-bug-fix.patch
parent29e170dbaac0091d09ae52157cd2f1f26a9c8ca4 (diff)
downloadupstream-ceeece9ffaa5a3a336505332c39794d76c08b2ca.tar.gz
upstream-ceeece9ffaa5a3a336505332c39794d76c08b2ca.tar.bz2
upstream-ceeece9ffaa5a3a336505332c39794d76c08b2ca.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>
Diffstat (limited to 'target/linux/generic/backport-5.4/825-v5.8-spi-rb4xx-null-pointer-bug-fix.patch')
0 files changed, 0 insertions, 0 deletions
='n191' href='#n191'>191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237