aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/files/arch/arm
diff options
context:
space:
mode:
authorAdrian Panella <ianchi74@outlook.com>2016-06-10 19:10:15 -0500
committerJohn Crispin <john@phrozen.org>2016-06-17 04:13:07 +0200
commit0ddcbee2615197c8905408422b4a8a9fe7dbe954 (patch)
treeb0178e10b33097e19c8805e29a53ea25095298d6 /target/linux/ipq806x/files/arch/arm
parentf532191c1cefa9950d4064dbd9dd810b90b169bd (diff)
downloadupstream-0ddcbee2615197c8905408422b4a8a9fe7dbe954.tar.gz
upstream-0ddcbee2615197c8905408422b4a8a9fe7dbe954.tar.bz2
upstream-0ddcbee2615197c8905408422b4a8a9fe7dbe954.zip
ipq806x: activate ATAG DTB mangle and EA8500 rootblock in dts
The command-line arguments provided by the boot loader will be appended to a new device tree property: bootloader-args. If there is a property "append-rootblock" in DT under /chosen and a root= option in bootloaders command line it will be parsed and added to DT bootargs with the form: <append-rootblock>XX. Only command line ATAG will be processed, the rest of the ATAGs sent by bootloader will be ignored. This is usefull in dual boot systems, to get the current root partition without afecting the rest of the system. Signed-off-by: Adrian Panella <ianchi74@outlook.com>
Diffstat (limited to 'target/linux/ipq806x/files/arch/arm')
-rw-r--r--target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts
index 2c5e1107a1..4576a715ef 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts
@@ -29,6 +29,7 @@
chosen {
bootargs = "console=ttyMSM0,115200n8";
linux,stdout-path = "serial0:115200n8";
+ append-rootblock = "ubi.mtd="; /* append to bootargs adding the root deviceblock nbr from bootloader */
};
soc {