You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux
Sven Eckelmann 71ed9f10a3 ipq40xx: Use detailed reserved memory for A42
The APPSBL and anything after that it not allowed to touch some of the
memory regions which are used by other components. Still trying to write to
the memory can lead to sudden device restarts

  (IPQ40xx) # mw 87e80000 0
  data abort
  pc : [<873149f8>]          lr : [<87308578>]
  sp : 86edfc28  ip : 86ef4412     fp : 00000000
  r10: 00000000  r9 : 00000000     r8 : 86edff68
  r7 : 00000003  r6 : 8737e624     r5 : 86ef4420  r4 : 8736c154
  r3 : 00000000  r2 : 00000010     r1 : 00000000  r0 : 00000000
  Flags: nZCv  IRQs off  FIQs off  Mode SVC_32
  Resetting CPU ...

The device manufacturer only provided a very rough list of regions:

* rsvd1:     0x87000000 0x500000
* wifi_dump: 0x87500000 0x600000
* rsvd2:     0x87b00000 0x500000

A more detailed list for devices using the AP.DK reference design memory
maps was provided by Roman Yeryomin <roman@advem.lv> in commit 56f2df879fd
("ipq806x: ipq4019: add ap-dk01.1-c1 board support"):

* apps_bl:          0x87000000 0x400000
* sbl:              0x87400000 0x100000
* cnss_debug:       0x87500000 0x600000
* cpu_context_dump: 0x87b00000 0x080000
* tz_apps:          0x87b80000 0x280000
* smem:             0x87e00000 0x080000
* tz:               0x87e80000 0x180000

The u-boot function ipq_fdt_mem_rsvd_fixup seems to suggest that only the
rsvd2 (tz_apps, smem, tz) should be protected. All other regions would have
been removed by it when CONFIG_QCA_APPSBL_DLOAD is not enabled. This allows
to reduce the 16MB reserved memory region to only 4.5MB.

Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
6 years ago
..
adm5120 treewide: remove obsolete sysupgrade watchdog kill 6 years ago
adm8668 build: fix subtarget descriptions 8 years ago
apm821xx apm821xx: nand remove obsolete kernel config symbol 6 years ago
ar7 kernel: bump 4.9 to 4.9.82 6 years ago
ar71xx ar71xx: fix Fritz 300e initramfs image 6 years ago
arc770 arc770: mark as source-only 7 years ago
archs38 kernel: bump 4.14 to 4.14.20 6 years ago
armvirt armvirt: Resync kernel configuration 7 years ago
at91 at91: fix image building with CONFIG_TARGET_MULTI_PROFILE 6 years ago
ath25 build: replace uses of OpenWrt with $(VERSION_DIST) 6 years ago
au1000 treewide: remove obsolete sysupgrade watchdog kill 6 years ago
bcm53xx bcm53xx: include patch adding WZR-900DHP LEDs support 6 years ago
brcm47xx kernel: unroll MIPS r4k cache blast function 6 years ago
brcm63xx kernel: bump 4.14 to 4.14.27 6 years ago
brcm2708 kernel: bump 4.9 to 4.9.86 6 years ago
cns3xxx treewide: remove obsolete sysupgrade watchdog kill 6 years ago
gemini kernel: Update kernel 4.4 to 4.4.100 7 years ago
generic kernel: fix offloading connections with SNAT + DNAT 6 years ago
imx6 kernel: generic: Move config option to generic 6 years ago
ipq40xx ipq40xx: Use detailed reserved memory for A42 6 years ago
ipq806x ipq806x: add support for Compex WPQ864 6 years ago
ixp4xx kernel: bump 4.9 to 4.9.82 6 years ago
kirkwood kirkwood: fix initramfs boot warning on iconnect 6 years ago
lantiq lantiq: fix DM200 boot with fake uImage headers 6 years ago
layerscape kernel: bump 4.9 to 4.9.87 6 years ago
malta malta: bump tp v4.14 7 years ago
mcs814x build: replace uses of OpenWrt with $(VERSION_DIST) 6 years ago
mediatek kernel: bump to version 4.14.25 6 years ago
mpc85xx kernel: bump 4.9 to 4.9.82 6 years ago
mvebu mvebu: disable cpu idle on WRT1900ACv1 6 years ago
mxs mxs: drop support for 4.9 6 years ago
octeon octeon: switch to kernel 4.14 6 years ago
octeontx octeontx: use the generic board detection 6 years ago
omap omap: clean up configuration 7 years ago
omap24xx omap24xx: remove referece to not existing kmod-usb-musb-tusb6010 7 years ago
orion orion: Switch to 4.9 kernel 7 years ago
oxnas kernel: bump 4.4 to 4.4.119 6 years ago
pistachio kernel: bump 4.9 to 4.9.82 6 years ago
ppc40x treewide: drop target board_name functions 7 years ago
ppc44x ppc44x: mark as broken 8 years ago
ramips ramips: add support for TP-Link TL-WR902AC v3 6 years ago
rb532 treewide: move nand_do_upgrade call to platform_do_upgrade 6 years ago
sunxi sunxi: update Xunlong Orange Pi Zero Plus dts file 6 years ago
uml uml: Remove 4.4 patches 6 years ago
x86 x86: Use kernel 4.14 by default 6 years ago
xburst target: disable CONFIG_PROC_PAGE_MONITOR on most targets 7 years ago
zynq target: disable CONFIG_PROC_PAGE_MONITOR on most targets 7 years ago
Makefile