openwrt/package
Mathias Kresin 8fb714edd6 uboot-lantiq: danube: fix hanging lzma kernel uncompression
At least since gcc 7.3.0 (OpenWrt 18.06) lwr/lwl are used in the
assembly of LzmaProps_Decode. While the decission made by the compiler
looks perfect fine, it triggers some obscure hang on lantiq danube-s
v1.5 with MX29LV640EB NOR flash chips.

Only if the offset 1 is used, the hang can be observed. Using any other
offset works fine:

  lwl s0,0(a1) - s0 == 0x6d000080
  lwl s0,1(a1) - hangs
  lwl s0,2(a1) - s0 == 0x0080xxxx
  lwl s0,3(a1) - s0 == 0x80xxxxxx

It isn't clear whether it is a limitation of the flash chip, the EBU or
something else.

Force 8bit reads to prevent gcc optimizing the read with lwr/lwl
instructions.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2021-11-14 21:36:15 +01:00
..
base-files OpenWrt v19.07.8: revert to branch defaults 2021-08-01 18:46:20 +02:00
boot uboot-lantiq: danube: fix hanging lzma kernel uncompression 2021-11-14 21:36:15 +01:00
devel perf: build with NO_LIBCAP=1 2020-05-05 00:05:28 +02:00
firmware wireless-regdb: update to version 2021.08.28 2021-11-07 19:49:57 +01:00
kernel mac80211: Update to backports-4.19.207-1 2021-09-22 23:23:57 +02:00
libs openssl: bump to 1.1.1l 2021-08-30 17:15:37 +02:00
network dropbear: Fix CVE-2020-36254 2021-05-03 20:08:53 +02:00
system ubus: update to version 2021-07-01 2021-07-29 21:50:28 +02:00
utils busybox: delete redundant patch 2020-08-12 11:10:16 +02:00
Makefile packages: apply usign padding workarounds to package indexes if needed 2019-08-07 07:22:37 +02:00