From: Amit Singh Tomar <amittomer25@gmail.com>
To: xen-devel@lists.xenproject.org
Cc: andre.przywara@arm.com, julien.grall@arm.com,
sstabellini@kernel.org, Amit Singh Tomar <amittomer25@gmail.com>
Subject: [RFC PATCH] xen/arm64: Add Support for Marvell ARMADA 3700 SoC
Date: Sat, 10 Mar 2018 22:14:11 +0530 [thread overview]
Message-ID: <1520700252-19385-1-git-send-email-amittomer25@gmail.com> (raw)
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
next reply other threads:[~2018-03-10 16:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-10 16:44 Amit Singh Tomar [this message]
2018-03-10 16:44 ` [RFC PATCH] xen/arm: Add MVEBU UART driver for Armada 3700 SoC 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1520700252-19385-1-git-send-email-amittomer25@gmail.com \
--to=amittomer25@gmail.com \
--cc=andre.przywara@arm.com \
--cc=julien.grall@arm.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).