[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] [Renesas][Lager] Booting with XEN 4.6



Hello!

> From: xen-users-bounces@xxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxx] On Behalf Of ???
> Sent: Monday, October 26, 2015 3:54 AM
> To: xen-users@xxxxxxxxxxxxx
> Subject: [Xen-users] [Renesas][Lager] Booting with XEN 4.6
> 
> I have problem on the step of booting with xen with the reference site
> (http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/Lager).

Maybe, youâd like to read about the mostly similar problems I had
and about some that could be solved with Renesasâ Lager board ?
http://lists.xen.org/archives/html/xen-devel/2015-10/msg01718.html

> I have used the environment like below.
> 
> - xen version : xen4.6 Release version
> - linux kernel : mainline 3.19.8 with DTS(r8a7790-lager.dts)
> - Without using XSM module ( I got error message for compiling XSM 
> module on ubuntu14.04 host, if any got how to compile let me know)

My Linux Mint 17 didn't complain, but it is based on a similar Ubuntu.

> I had tried  to setup board and started,and then got 
> below message that did not bring up CPU1 ~ 7.
> Lager board got brought up CPU0 only.
> .....@3rd problem Got errors on bring up CPSs  ...................

My Lager board doesn't boot CPU1 t/m CPU7 neither, so far.

It was possible for me to see Dom0 messages, still no login.

> Also did not get problem for the console.
> .....@2nd problem Got errors on uart from the chosen node of original  DTB  
> ...................
> (XEN) Taking dtuart configuration from /chosen/stdout-path
> (XEN) Looking for dtuart at "/serial@e6c40000", options ""
> (XEN) Unable to initialize dtuart: -9
> (XEN) Bad console= option 'dtuart'

I got a similar message.  Please integrate the device tree (DT)
changes I added to the /Lager wiki last week!

You can find out, whether they are applied via 'fdt' command in U-Boot:

fdt print /chosen

Should give:
----- 8< -----
chosen {
        bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
        stdout-path = "/serial@e6e60000";
        xen,xen-bootargs = "console=dtuart dom0_mem=1G";
        xen,dom0-bootargs = "console=hvc0 earlyprintk=xen debug ignore_loglevel 
vmalloc=384M video=HDMI-A-1:1920x1080-32@60 
ip=192.168.0.5:192.168.0.15:192.168.0.15:255.255.255.0:lager:eth0::: 
root=/dev/nfs rw nfsroot=192.168.0.15:/nfsroot rootdelay clk_ignore_unused";
        modules {
                #address-cells = <0x00000001>;
                #size-cells = <0x00000001>;
                module@0x72000000 {
                        reg = <0x72000000 0x002fcca0>;
                        compatible = "multiboot,kernel", "multiboot,module";
                };
                module@0x74000000 {
                        reg = <0x74000000 0x00002559>;
                        compatible = "xen,xsm-policy", "multiboot,module";
                };
        };
};
----- 8< -----


> .....@4th problem Got errors on create DOM0 kernel  ...................
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN) Loading kernel from boot module @ 0000000060000000
> (XEN) Allocating 1:1 mappings totalling 128MB for dom0:
> (XEN) BANK[0] 0x00000068000000-0x00000070000000 (128MB)
> (XEN) Grant table range: 0x0000007fc00000-0x0000007fc61000
> (XEN) DT: no ranges; cannot enumerate
> (XEN) Device tree generation failed (-22).

This is fixable by DTS addition:
----- 8< -----
{
        /* add required 'ranges;' to all PCI devices */
        pci0: pci@ee090000 {
                usb@0,1 {
                        #address-cells = <3>;
                        #size-cells = <2>;
                        ranges;
                };
                usb@0,2 {
                        #address-cells = <3>;
                        #size-cells = <2>;
                        ranges;
                };
        };
        pci2: pci@ee0d0000 {
                usb@0,1 {
                        #address-cells = <3>;
                        #size-cells = <2>;
                        ranges;
                };
                usb@0,2 {
                        #address-cells = <3>;
                        #size-cells = <2>;
                        ranges;
                };
        };
};
----- 8< -----

Good luck and please get me updated on further progres!

Max Ferger
m.ferger@xxxxxxxxxx



Leopold KOSTAL GmbH & Co. KG - Sitz LÃdenscheid, Registergericht Iserlohn HRA 
2854, phG Kostal Verwaltungsgesellschaft mbH, Registergericht Iserlohn HRB 4061 
- USt-Id-Nr./Vat No.: DE 125800885
Post- und Werksanschrift: An der Bellmerei 10, D-58513 LÃdenscheid * Telefon: 
+49 2351 16-0 * Telefax: +49 2351 16-2400 Bellmerei
GeschÃftsfÃhrung: Dipl.-Oec. Andreas Kostal (Vorsitzender), Dipl.-Kfm. Helmut 
Kostal, Dipl.-Ing. Marwin Kinzl, Dr.-Ing. Ludger Laufenberg, Dipl.-Kfm. Ulrich 
Zimmermann

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.