openwrtv4/target/linux
Rafał Miłecki 5e885c09c6 bcm53xx: switch back to standalone ASM entry flushing cache
Over a year ago in a commit ac96a1665a ("bcm53xx: update Disable MMU
and Dcache during decompression") we switched to Florian's patch for
workarounding CFE bug. The main difference was using a part of existing
__armv7_mmu_cache_flush instead of implementing flushing separately.

This worked well for Northstar devices but doesn't work for BCM53573 as
these devices simply don't start booting with Florian's patch. It's
because of the ldmfd ASM instruction in the __armv7_mmu_cache_flush.

So this commit switches back to using standalone implementation. This
time instead of copying Broadcom's copy of cache-v7.S, we just make a
copy of the original file on our own. Unfortunately we can't cross-dir
compile cache-v7.S from ../../mm/ as that one also adds __INITDATA with
define_cache_functions v7 which would just trigger
> Error: unrecognized/unsupported machine ID (r1 = 0x0000007f).

The only real change Broadcom did in copied .S file was modifying mcr
instruction to use c6 instead of c14. It isn't clear to me if we really
need it, but let's use it for now.

By the way we also update commit message of the
[PATCH] ARM: BCM5301X: Disable MMU and Dcache during decompression

This makes kernel booting on BCM53573 successfully.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-19 11:38:44 +02:00
..
adm5120 kernel: remove unused morse led trigger driver 2016-08-04 20:53:02 +02:00
adm8668 treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
apm821xx apm821xx: fix IB image building 2016-08-01 17:59:16 +02:00
ar7 all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
ar71xx ar71xx: add support for Zbtlink ZBT-WE1526 2016-08-18 09:49:18 +02:00
arc770 arc: use patched .dts from sources 2016-08-16 12:18:28 +02:00
archs38 archs38: Introduce images for SD-cards 2016-08-16 12:20:32 +02:00
arm64 kernel: remove bogus CONFIG_LOG_BUF_SHIFT overrides 2016-05-21 22:35:41 +02:00
at91 at91: fix SAMA5D3 subtarget 2016-04-25 14:54:07 +02:00
ath25 ath25: fix duplicate LZMA compression 2016-08-09 17:28:19 +02:00
au1000 au1000: rename patches directory to patches-3.18 2016-08-15 15:32:37 +02:00
bcm53xx bcm53xx: switch back to standalone ASM entry flushing cache 2016-08-19 11:38:44 +02:00
brcm47xx build: remove MIPS dsp/dsp2 CPU_SUBTYPE 2016-08-03 14:56:45 +02:00
brcm63xx brcm63xx: switch to board based failsafe networking 2016-08-13 15:50:23 +02:00
brcm2708 image: add a helper variable for getting kernel/rootfs from within image Build/* templates 2016-07-31 12:25:25 +02:00
cns3xxx cns3xxx: remove obsolete jffs2 image build code 2016-07-20 10:13:50 +02:00
gemini gemini: delete 3.18 support 2016-05-12 17:55:15 +02:00
generic kernel: bgmac: add support for BCM53573 2016-08-18 06:59:44 +02:00
imx6 imx6: clean up / fix ventana image build code 2016-07-31 19:35:05 +02:00
ipq806x ipq806x: sync with latest patches sent by QCA 2016-08-18 09:49:18 +02:00
ixp4xx ixp4xx: fix Avila SoC audio driver compilation 2016-06-07 11:15:55 +02:00
kirkwood build: rename sysupgrade-nand to sysupgrade-tar 2016-07-29 16:53:03 +02:00
lantiq lantiq/xrx200-net: Add support for eth0 as WAN interface 2016-08-15 21:52:04 +02:00
malta malta: enable be64 and le64 subtargets 2016-08-15 15:32:36 +02:00
mcs814x branding: add LEDE branding 2016-03-24 22:40:13 +01:00
mediatek kernel: update kernel 4.4 to version 4.4.15 2016-07-13 15:39:15 +02:00
mpc85xx ppc4xx: remove booke-wdt watchdog package 2016-07-22 09:48:12 +02:00
mvebu mvebu: fix boot stalls on WRT1900AC V1 2016-08-18 09:49:18 +02:00
mxs mxs: unconditionally install kernel images/dtb files into rootfs (needed by boards) 2016-07-20 10:13:50 +02:00
octeon octeon: remove the now redundant cpu cflags override 2016-08-15 15:32:36 +02:00
omap omap: rename patches directory to patches-4.4 2016-08-15 15:32:37 +02:00
omap24xx image / basefiles: make console password configurable 2016-04-18 21:53:07 +02:00
orion orion: rename patches directory to patches-3.18 2016-08-15 15:32:37 +02:00
oxnas oxnas: set preinit network interface 2016-08-11 17:16:03 +02:00
ppc40x ppc4xx: remove booke-wdt watchdog package 2016-07-22 09:48:12 +02:00
ppc44x ppc4xx: remove booke-wdt watchdog package 2016-07-22 09:48:12 +02:00
ramips swconfig: revert the portmapping patches, they seem to cause a segfault 2016-08-16 10:20:01 +02:00
rb532 rb532: rename patches directory to patches-4.1 2016-08-15 15:32:37 +02:00
realview realview: sync kernel config file 2016-06-15 15:58:05 +02:00
sunxi sunxi/pcduino3: Remove selection of absent rtl8188eu 2016-07-23 12:27:42 +02:00
uml uml: revert accidentally committed change 2016-04-25 14:09:05 +02:00
x86 x86: enable CPU frequency scaling 2016-08-03 15:30:13 +02:00
xburst xburst: remove target specific /etc/config/system 2016-06-08 00:31:09 +02:00
zynq build: remove cpio.gz and tar.gz from regular filesystem types 2016-07-25 12:43:39 +02:00
Makefile