[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-users
Subject:    [Xen-users] Xen 4.8.3 running on BeagleBoard X-15 - problem with paging
From:       Iain Hunter <drhunter95 () gmail ! com>
Date:       2018-01-31 12:30:51
Message-ID: 5a71b6f8.2f86df0a.1320a.3c62 () mx ! google ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,
I am trying to run xen 4.8.3 on BeagleBoard X-15. When switching the pc to a virtual \
address (label paging: in head.s) I get an abort. This is seen single stepping.

- Xen is build with CONFIG_EARLY_PRINTK=omap5432 ( as it uses same uart as omap5432 \
                and different to dra7xx)
- Uboot is built as standard from \
https://eewiki.net/display/linuxonarm/BeagleBoard-X15#BeagleBoard-X15-Bootloader:U-Boot. \
                This brings up A15 in hypervisor mode
- Device tree is built with addition of
+        chosen {
+                xen,dom0-bootargs = "console=hvc0,115200n8", "earlyprintk=xen", \
"debug", "loglevel=debug", "root=/dev/nfs", \
"nfsroot=192.168.1.231:/home/iain/Desktop/work/bosch/x15-xen/fs/debian-9.3-minimal-armhf-2017-12-09/rootfs,nolock", \
"rootwait", "fixrtc"; +                xen,xen-bootargs = "sync_console", \
"console=dtuart", "dtuart=/ocp/serial@48020000"; +                stdout-path = \
"/ocp/serial@48020000"; +                modules {
+                        #size-cells = <0x00000001>;
+                        #address-cells = <0x00000001>;
+                        module@0 {
+                                reg = <0xa0000000 0x00a00000>;
+                                compatible = "xen,linux-zimage", \
"xen,multiboot-module"; +                        };
+                };
+        };
 

Has anyone build xen for x-15?
Any tips to debug the virtual addressing?

Thanks, Iain

Sent from Mail for Windows 10


[Attachment #5 (unknown)]

<html xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type \
content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:36.0pt;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:546725315;
	mso-list-type:hybrid;
	mso-list-template-ids:-1452225148 -1 134807555 134807557 134807553 134807555 \
134807557 134807553 134807555 134807557;} @list l0:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></style></head><body lang=EN-GB link=blue vlink="#954F72"><div \
class=WordSection1><p class=MsoNormal>Hi,</p><p class=MsoNormal>I am trying to run \
xen 4.8.3 on BeagleBoard X-15. When switching the pc to a virtual address (label \
paging: in head.s) I get an abort. This is seen single stepping.</p><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><ul style='margin-top:0cm' type=disc><li \
class=MsoListParagraph style='margin-left:0cm;mso-list:l0 level1 lfo1'>Xen is build \
with CONFIG_EARLY_PRINTK=omap5432 ( as it uses same uart as omap5432 and different to \
dra7xx)</li><li class=MsoListParagraph style='margin-left:0cm;mso-list:l0 level1 \
lfo1'>Uboot is built as standard from <a \
href="https://eewiki.net/display/linuxonarm/BeagleBoard-X15#BeagleBoard-X15-Bootloader \
:U-Boot">https://eewiki.net/display/linuxonarm/BeagleBoard-X15#BeagleBoard-X15-Bootloader:U-Boot</a>. \
This brings up A15 in hypervisor mode</li><li class=MsoListParagraph \
style='margin-left:0cm;mso-list:l0 level1 lfo1'>Device tree is built with addition \
of</li></ul><p class=MsoListParagraph>+               chosen {</p><p \
class=MsoListParagraph>+                               xen,dom0-bootargs = \
&quot;console=hvc0,115200n8&quot;, &quot;earlyprintk=xen&quot;, &quot;debug&quot;, \
&quot;loglevel=debug&quot;, &quot;root=/dev/nfs&quot;, \
&quot;nfsroot=192.168.1.231:/home/iain/Desktop/work/bosch/x15-xen/fs/debian-9.3-minimal-armhf-2017-12-09/rootfs,nolock&quot;, \
&quot;rootwait&quot;, &quot;fixrtc&quot;;</p><p class=MsoListParagraph>+              \
xen,xen-bootargs = &quot;sync_console&quot;, &quot;console=dtuart&quot;, \
&quot;dtuart=/ocp/serial@48020000&quot;;</p><p class=MsoListParagraph>+               \
stdout-path = &quot;/ocp/serial@48020000&quot;;</p><p class=MsoListParagraph>+        \
modules {</p><p class=MsoListParagraph>+                                              \
#size-cells = &lt;0x00000001&gt;;</p><p class=MsoListParagraph>+                      \
#address-cells = &lt;0x00000001&gt;;</p><p class=MsoListParagraph>+                   \
module@0 {</p><p class=MsoListParagraph>+                                             \
reg = &lt;0xa0000000 0x00a00000&gt;;</p><p class=MsoListParagraph>+                   \
compatible = &quot;xen,linux-zimage&quot;, &quot;xen,multiboot-module&quot;;</p><p \
class=MsoListParagraph>+                                               };</p><p \
class=MsoListParagraph>+                               };</p><p \
class=MsoListParagraph>+               };</p><p class=MsoNormal> </p><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Has anyone build xen for \
x-15?</p><p class=MsoNormal>Any tips to debug the virtual addressing?</p><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Thanks, Iain</p><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Sent from <a \
href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10</p><p \
class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>


[Attachment #6 (text/plain)]

_______________________________________________
Xen-users mailing list
Xen-users@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic