All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH] xen/arm64: Add Support for Marvell ARMADA 3700 SoC
@ 2018-03-10 16:44 Amit Singh Tomar
  2018-03-10 16:44 ` [RFC PATCH] xen/arm: Add MVEBU UART driver for Armada " Amit Singh Tomar
  2018-03-11 18:58 ` [RFC PATCH] xen/arm64: Add Support for Marvell ARMADA " Julien Grall
  0 siblings, 2 replies; 10+ messages in thread
From: Amit Singh Tomar @ 2018-03-10 16:44 UTC (permalink / raw)
  To: xen-devel; +Cc: andre.przywara, julien.grall, sstabellini, Amit Singh Tomar

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@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-03-17 11:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-10 16:44 [RFC PATCH] xen/arm64: Add Support for Marvell ARMADA 3700 SoC Amit Singh Tomar
2018-03-10 16:44 ` [RFC PATCH] xen/arm: Add MVEBU UART driver for Armada " Amit Singh Tomar
2018-03-11 19:13   ` Julien Grall
2018-03-12 14:36     ` Amit Tomer
2018-03-12 14:43       ` Julien Grall
2018-03-12 17:33         ` Amit Tomer
2018-03-13 16:07           ` Julien Grall
2018-03-17 11:58             ` Amit Tomer
2018-03-11 18:58 ` [RFC PATCH] xen/arm64: Add Support for Marvell ARMADA " Julien Grall
2018-03-12 14:04   ` Amit Tomer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.