ipq806x: add support for non-dt enabled ap148 bootloader
authorFelix Fietkau <nbd@openwrt.org>
Tue, 4 Aug 2015 23:09:43 +0000 (23:09 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 4 Aug 2015 23:09:43 +0000 (23:09 +0000)
commitc5b5afd934c7c81639e404f4ee6366e46c6536cd
tree2d5a00890d862b7596e80b5f76dd4f39e2958d9c
parentc07a4c5ce538fbaadd79888928a1d4f3bb84b503
ipq806x: add support for non-dt enabled ap148 bootloader

Certain AP148 platforms (and derivative) use bootloaders which did not
have DT enabled.
In order to support these old platforms, we'll now make the following
modifications:
*explicitely add the memory node in the AP148 DT: this used to be added
 by new u-boot through a run-time patch mechanism. We'll now add it
 explicitely so it works on boots which don't support that feature. New
 boots will have the node twice, the second one will be ignored.
*add the zImage generation next to the FIT image for AP148.

Other platforms using non-DT enabled bootloaders may want to leverage
this zImage code to generate their own firmare as well.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 46555
target/linux/ipq806x/image/Makefile
target/linux/ipq806x/patches-3.18/024-ap148-add-memory-node.patch [new file with mode: 0644]
target/linux/ipq806x/patches-4.1/024-ap148-add-memory-node.patch [new file with mode: 0644]
target/linux/ipq806x/patches-4.1/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch
target/linux/ipq806x/patches-4.1/144-ARM-dts-qcom-Add-necessary-DT-data-for-Krait-cpufreq.patch
target/linux/ipq806x/patches-4.1/707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch
target/linux/ipq806x/patches-4.1/708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch