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)
commitc4c986e419d7098104681c364978d065a3b7f2e1
treef655148c3cd2e58c01008a7c117990320ef46ca0
parent4d1656e813336c0fb6f3eb8d0280637e93d0ce74
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