aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/files
diff options
context:
space:
mode:
authorAdrian Panella <ianchi74@outlook.com>2016-06-23 18:56:47 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-06-23 18:56:47 +0200
commitcdb3053a3af5e71ee070d9a645f52f80c2eae5c6 (patch)
tree2a263405ac9abb746c037fc7a28717e02d3bd797 /target/linux/ipq806x/files
parent422c5fb53e4e7de4f5c10098e20d4ae53bbe8447 (diff)
downloadmaster-187ad058-cdb3053a3af5e71ee070d9a645f52f80c2eae5c6.tar.gz
master-187ad058-cdb3053a3af5e71ee070d9a645f52f80c2eae5c6.tar.bz2
master-187ad058-cdb3053a3af5e71ee070d9a645f52f80c2eae5c6.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')
-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 {