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: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
This commit is contained in:
Rui Silva 2019-10-09 12:54:30 +01:00 committed by Manish Pandey
parent 8a10c6c274
commit d983b7a167
1 changed files with 6 additions and 5 deletions

View File

@ -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 {