[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [RFC PATCH] xen/arm64: Add Support for Marvell ARMADA 3700 SoC
This patch-set is an attempt to enable XEN on ESPRESSObin[1] based on Marvell's ARMADA 3700 SoC It includes simple serial port driver for ARMADA 3700 SoC.Platform itself is discovered via device-tree. With this patch, we can boot both Dom0 and DomU kernel on ESPRESSObin board. root@localhost:/home/amit/xen/tools/xl# xl list Name ID Mem VCPUs State Time(s) Domain-0 0 512 2 r----- 18.1 guest-1 1 256 1 -b---- 6.0 Following command line is passed to XEN from bootloader. tftp 0x2500000 Image;tftp 0x1500000 armada-3720-espressobin.dtb;tftp 0x1000000 xen setenv Image_name Image;setenv fdt_name armada-3720-espressobin.dtb setenv kernel_addr_r 0x2500000;setenv fdt_addr_r 0x1500000;setenv xen_addr_r 0x1000000 setenv fdt_high 0xffffffff;fdt addr $fdt_addr_r;fdt resize setenv xen_bootargs console=dtuart dtuart=/soc/internal-regs@d0000000/serial@12000 dom0_mem=512M setenv dom0_bootargs console=ttyMV0 console=hvc0,115200n8 earlycon=xenboot debug clk_ignore_unused root=/dev/mmcblk0p1 rw rootwait fdt set /chosen xen,xen-bootargs \"$xen_bootargs\";fdt resize fdt set /chosen xen,dom0-bootargs \"$dom0_bootargs\";fdt mknode /chosen modules fdt set /chosen/modules '#address-cells' <1>;fdt set /chosen/modules '#size-cells' <1>;fdt mknode /chosen/modules module@0 fdt set /chosen/modules/module@0 compatible "multiboot,kernel", "multiboot,module";fdt resize fdt set /chosen/modules/module@0 reg < $kernel_addr_r 0x1800000 > booti ${xen_addr_r} - ${fdt_addr_r} I would really like to Thanks Andre for helping me out on this. [1]http://wiki.espressobin.net/tiki-index.php Amit Singh Tomar (1): xen/arm: Add MVEBU UART driver for Armada 3700 SoC xen/drivers/char/Kconfig | 8 ++ xen/drivers/char/Makefile | 1 + xen/drivers/char/mvebu-uart.c | 315 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 324 insertions(+) create mode 100644 xen/drivers/char/mvebu-uart.c -- 1.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |