From 0ddcbee2615197c8905408422b4a8a9fe7dbe954 Mon Sep 17 00:00:00 2001 From: Adrian Panella Date: Fri, 10 Jun 2016 19:10:15 -0500 Subject: 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: 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 --- target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts | 1 + 1 file changed, 1 insertion(+) (limited to 'target/linux/ipq806x/files/arch/arm') 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 { -- cgit v1.2.3