Commit d983b7a1 authored by Rui Silva's avatar Rui Silva Committed by Manish Pandey
Browse files

corstone700: fdts: using DDR memory and XIP rootfs



This patch allows to use DDR address in memory node because on FPGA we
typically use DDR instead of shared RAM.

This patch also modifies the kernel arguments to allow the rootfs to be
mounted from a direct mapping of the QSPI NOR flash using the physmap
driver in the kernel. This allows to support CRAMFS XIP.

Change-Id: I4e2bc6a1f48449c7f60e00f5f1a698df8cb2ba89
Signed-off-by: default avatarVishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: default avatarAbdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
parent 8a10c6c2
......@@ -14,9 +14,10 @@
#size-cells = <1>;
chosen {
bootargs = "console=ttyAMA0 root=/dev/vda2 rw loglevel=9";
linux,initrd-start = <0x02a00000>;
linux,initrd-end = <0x04000000>;
bootargs = "console=ttyAMA0 \
root=mtd:physmap-flash.0 \
ro \
loglevel=9";
};
cpus {
......@@ -32,9 +33,9 @@
};
memory@2000000 {
memory@80000000 {
device_type = "memory";
reg = <0x02000000 0x02000000>;
reg = <0x80000000 0x80000000>;
};
gic: interrupt-controller@1c000000 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment