openwrtv3/target/linux/ipq806x
Felix Fietkau bdcba36442 ipq806x: fix boot freeze on zImage kernel
ARCH_QCOM is using the ARCH_MULTIPLATFORM option, as now recommended
on most ARM architectures. This automatically calculate ZRELADDR by
masking PHYS_OFFSET with 0xf8000000.

On IPQ806x though, the first ~20MB of RAM is reserved for the hardware.
In newer bootloader, when DT is used, this is not a problem, we just
reserve this memory in the device tree. But if the bootloader doesn't
have DT support, then ATAGS have to be used. In this case, the ARM
decompressor will position the kernel in this low mem, which will not be
in the RAM section mapped by the bootloader, which means the kernel will
freeze in the middle of the boot process trying to map the memory.

As a work around, this patch allows disabling AUTO_ZRELADDR when
ARCH_QCOM is selected. It makes the zImage usage possible on bootloaders
which don't support device-tree, which is the case on certain early
IPQ806x based designs.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45661
2015-05-10 11:46:56 +00:00
..
base-files ipq806x: add db149 support to OpenWrt init scripts 2015-04-21 07:15:47 +00:00
image ipq806x: add db149 support to OpenWrt init scripts 2015-04-21 07:15:47 +00:00
patches-3.18 ipq806x: fix boot freeze on zImage kernel 2015-05-10 11:46:56 +00:00
patches-4.0 ipq806x: fix boot freeze on zImage kernel 2015-05-10 11:46:56 +00:00
profiles ipq806x: automatically select kmod-usb-phy-qcom-dwc3 2015-04-10 08:28:44 +00:00
base-files.mk ipq806x: Add support for IPQ806x chip family 2014-08-30 09:32:58 +00:00
config-3.18 ipq806x: enable AT803x driver 2015-04-21 07:15:30 +00:00
config-4.0 ipq806x: enable AT803x driver 2015-04-21 07:15:30 +00:00
Makefile ipq806x: add ahci to default packages 2015-02-24 12:00:22 +00:00
modules.mk kernel: add package for dwc3 usb driver used on ipq806x 2015-04-03 19:06:21 +00:00