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

Re: [Xen-devel] Dom0 kernel for Xen4.6 on R-Car H2 (LAGER)



Many thanks for the attention, and the help so far!

* There are still warnings about the console not being properly configured. 
This issue seems not urgent to me, also I would appreciate a fix.

* Something goes wrong while booting Dom0.  Please help me in understanding why?

* I still don't know too much about how to modify Dom0.  I just try to run a 
Poky I created with Renesas' help, which has been successfully running on the 
board without Xen.

The device tree I used to get the following log (with DEBUG_DT defined) is 
attached:
My  r8a7790-lager-xen.dts  includes  r8a7790-lager.dts,  which originates from 
git://xenbits.xen.org/people/ianc/device-tree-rebasing.git
Thanks to Ian for this!


----- 8< -----

LAGER SPI_LOADER V0.28 2014.09.29
DEVICE S25FL512


U-Boot 2014.10-00441-gf7ca1f7-dirty (Oct 19 2015 - 12:32:17)

CPU: Renesas Electronics R8A7790 rev 2.0
Board: Lager
I2C:   ready
DRAM:  2 GiB
SF: Detected S25FL512S_256K with page size 512 Bytes, erase size 256 KiB, total 
64 MiB
In:    serial
Out:   serial
Err:   serial
Net:   Please set MAC address
sh_eth
Error: sh_eth address not set.

=> env default -a -f
## Resetting to default environment
=> env set baudrate 38400
=> env set stderr serial
=> env set stdin serial
=> env set stdout serial
=>
=> env set ethaddr 2e:09:0a:00:6d:c9
=> env set ipaddr 192.168.0.5
=> env set serverip 192.168.0.15
=> env set gatewayip 192.168.0.15
=> env set netmask 255.255.255.0
=> env set hostname lager
=> env set dnsip
=> env set dnsip2
=> env set ip 
${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:eth0::${dnsip}:${dnsip2}
=>
=> env set load_xen  'tftp 0x70007fc0 xen-uImage;            env set xen_addr 
${fileaddr}; env set xen_size ${filesize}'
=> env set load_dtb  'tftp 0x70f00000 r8a7790-lager-xen.dtb; env set dtb_addr 
${fileaddr}; env set dtb_size ${filesize}'
=> env set load_dom0 'tftp 0x72000000 zImage-uImage;         env set dom0_addr 
${fileaddr}; env set dom0_size ${filesize}'
=> env set load_xsm  'tftp 0x74000000 xenpolicy;             env set xsm_addr 
${fileaddr}; env set xsm_size ${filesize}'
=>
=>
=> env set fdt_addr_resize    'fdt addr ${dtb_addr}; fdt resize'
=> env set dtb 'run load_dtb fdt_addr_resize'
=>
=> # env set fdt_dom0_mknode 'fdt mknode /chosen/modules module@0x${dom0_addr} 
|| help'
Unknown command '#' - try 'help'
=> # env set fdt_dom0_compat 'fdt set /chosen/modules/module@0x${dom0_addr} 
compatible xen,linux-zimage xen,multiboot-module'
Unknown command '#' - try 'help'
=> env set fdt_dom0_reg    'fdt set /chosen/modules/module@0x${dom0_addr} reg 
<0x${dom0_addr} 0x${dom0_size}>'
=> env set dom0 'run load_dom0 fdt_dom0_reg'
=>
=> # env set fdt_xsm_mknode 'fdt mknode /chosen/modules module@0x${xsm_addr} || 
help'
Unknown command '#' - try 'help'
=> # env set fdt_xsm_compat 'fdt set /chosen/modules/module@0x${xsm_addr} 
compatible xen,linux-zimage xen,multiboot-module'
Unknown command '#' - try 'help'
=> env set fdt_xsm_reg    'fdt set /chosen/modules/module@0x${xsm_addr} reg 
<0x${xsm_addr} 0x${xsm_size}>'
=> env set xsm 'run load_xsm fdt_xsm_reg'
=>
=> env set fdt_print 'fdt print /chosen'
=>
=> env set xen 'run load_xen; bootm ${xen_addr} - ${dtb_addr}'
=>
=> env set bootcmd  run dtb dom0 xsm fdt_print xen
=> env print
baudrate=38400
bootcmd=run dtb dom0 xsm fdt_print xen
bootdelay=3
dom0=run load_dom0 fdt_dom0_reg
dtb=run load_dtb fdt_addr_resize
ethaddr=2e:09:0a:00:6d:c9
fdt_addr_resize=fdt addr ${dtb_addr}; fdt resize
fdt_dom0_reg=fdt set /chosen/modules/module@0x${dom0_addr} reg <0x${dom0_addr} 
0x${dom0_size}>
fdt_print=fdt print /chosen
fdt_xsm_reg=fdt set /chosen/modules/module@0x${xsm_addr} reg <0x${xsm_addr} 
0x${xsm_size}>
gatewayip=192.168.0.15
hostname=lager
ip=192.168.0.5:192.168.0.15:192.168.0.15:255.255.255.0:lager:eth0:::
ipaddr=192.168.0.5
load_dom0=tftp 0x72000000 zImage-uImage; env set dom0_addr ${fileaddr}; env set 
dom0_size ${filesize}
load_dtb=tftp 0x70f00000 r8a7790-lager-xen.dtb; env set dtb_addr ${fileaddr}; 
env set dtb_size ${filesize}
load_xen=tftp 0x70007fc0 xen-uImage; env set xen_addr ${fileaddr}; env set 
xen_size ${filesize}
load_xsm=tftp 0x74000000 xenpolicy; env set xsm_addr ${fileaddr}; env set 
xsm_size ${filesize}
netmask=255.255.255.0
serverip=192.168.0.15
stderr=serial
stdin=serial
stdout=serial
xen=run load_xen; bootm ${xen_addr} - ${dtb_addr}
xsm=run load_xsm fdt_xsm_reg

Environment size: 1161/262140 bytes
=> run bootcmd
sh_eth Waiting for PHY auto negotiation to complete... done
sh_eth: 100Base/Half
Using sh_eth device
TFTP from server 192.168.0.15; our IP address is 192.168.0.5
Filename 'r8a7790-lager-xen.dtb'.
Load address: 0x70f00000
Loading: #########
         382.8 KiB/s
done
Bytes transferred = 42371 (a583 hex)
sh_eth:1 is connected to sh_eth.  Reconnecting to sh_eth
sh_eth Waiting for PHY auto negotiation to complete... done
sh_eth: 100Base/Half
Using sh_eth device
TFTP from server 192.168.0.15; our IP address is 192.168.0.5
Filename 'zImage-uImage'.
Load address: 0x72000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ############################
         606.4 KiB/s
done
Bytes transferred = 3133784 (2fd158 hex)
sh_eth:1 is connected to sh_eth.  Reconnecting to sh_eth
sh_eth Waiting for PHY auto negotiation to complete... done
sh_eth: 100Base/Half
Using sh_eth device
TFTP from server 192.168.0.15; our IP address is 192.168.0.5
Filename 'xenpolicy'.
Load address: 0x74000000
Loading: ##
         198.2 KiB/s
done
Bytes transferred = 9561 (2559 hex)
chosen {
        bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
        stdout-path = "/serial@e6c40000";
        xen,xen-bootargs = "console=dtuart dom0_mem=1G";
        xen,dom0-bootargs = "console=hvc0 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 rootwait clk_ignore_unused";
        modules {
                #address-cells = <0x00000001>;
                #size-cells = <0x00000001>;
                module@0x72000000 {
                        reg = <0x72000000 0x002fd158>;
                        compatible = "multiboot,kernel", "multiboot,module";
                };
                module@0x74000000 {
                        reg = <0x74000000 0x00002559>;
                        compatible = "xen,xsm-policy", "multiboot,module";
                };
        };
};
sh_eth:1 is connected to sh_eth.  Reconnecting to sh_eth
sh_eth Waiting for PHY auto negotiation to complete... done
sh_eth: 100Base/Half
Using sh_eth device
TFTP from server 192.168.0.15; our IP address is 192.168.0.5
Filename 'xen-uImage'.
Load address: 0x70007fc0
Loading: #################################################################
         #################################################################
         #####################################
         611.3 KiB/s
done
Bytes transferred = 852948 (d03d4 hex)
## Booting kernel from Legacy Image at 70007fc0 ...
   Image Name:   XEN4.6-LAGER
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    852884 Bytes = 832.9 KiB
   Load Address: 90000000
   Entry Point:  90000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 70f00000
   Booting using the fdt blob at 0x70f00000
   Loading Kernel Image ... OK
   reserving fdt memory region: addr=70f00000 size=b000
   Loading Device Tree to 407f2000, end 407fffff ... OK

Starting kernel ...

- UART enabled -
- CPU 00000000 booting -
- Xen starting in Hyp mode -
- Zero BSS -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) Checking for initrd in /chosen
(XEN) RAM: 0000000040000000 - 000000007fffffff
(XEN) RAM: 0000000140000000 - 00000001ffffffff
(XEN)
(XEN) MODULE[0]: 00000000407f2000 - 00000000407fd000 Device Tree
(XEN) MODULE[1]: 0000000072000000 - 00000000722fd158 Kernel
(XEN) MODULE[2]: 0000000074000000 - 0000000074002559 XSM
(XEN)  RESVD[0]: 0000000070f00000 - 0000000070f0b000
(XEN)  RESVD[1]: 000000007ff9a000 - 000000007ff9a120
(XEN)  RESVD[2]: 00000000407f2000 - 00000000407fd000
(XEN)
(XEN) Command line: console=dtuart dom0_mem=1G
(XEN) Placing Xen at 0x000000007fc00000-0x000000007fe00000
(XEN) Update BOOTMOD_XEN from 0000000090000000-000000009011b701 => 
000000007fc00000-000000007fd1b701
(XEN) Xen heap: 00000001f8000000-0000000200000000 (32768 pages)
(XEN) Dom heap: 1015808 pages
(XEN) Domain heap initialised
(XEN) Platform: Renesas R-Car Gen2
(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'
 __  __            _  _    __    ___
 \ \/ /___ _ __   | || |  / /_  / _ \
  \  // _ \ '_ \  | || |_| '_ \| | | |
  /  \  __/ | | | |__   _| (_) | |_| |
 /_/\_\___|_| |_|    |_|(_)___(_)___/

(XEN) Xen version 4.6.0 (aen@) (arm-linux-gnueabihf-gcc (Ubuntu/Linaro 
4.8.2-16ubuntu4) 4.8.2) debug=y Tue Oct 20 10:12:41 CEST 2015
(XEN) Latest ChangeSet: Mon Oct 5 15:33:39 2015 +0100 git:b24ad7b-dirty
(XEN) Processor: 413fc0f2: "ARM Limited", variant: 0x3, part 0xc0f, rev 0x2
(XEN) 32-bit Execution:
(XEN)   Processor Features: 00001131:00011011
(XEN)     Instruction Sets: AArch32 A32 Thumb Thumb-2 ThumbEE Jazelle
(XEN)     Extensions: GenericTimer Security
(XEN)   Debug Features: 02010555
(XEN)   Auxiliary Features: 00000000
(XEN)   Memory Model Features: 10201105 40000000 01240000 02102211
(XEN)  ISA Features: 02101110 13112111 21232041 11112131 10011142 00000000
(XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27 Freq: 10000 KHz
(XEN) GICv2 initialization:
(XEN)         gic_dist_addr=00000000f1001000
(XEN)         gic_cpu_addr=00000000f1002000
(XEN)         gic_hyp_addr=00000000f1004000
(XEN)         gic_vcpu_addr=00000000f1006000
(XEN)         gic_maintenance_irq=25
(XEN) GICv2: 416 lines, 8 cpus, secure (IID 0200043b).
(XEN) XSM Framework v1.0.0 initialized
(XEN) xsm: Policy len = 0x0000000000002559 start at 0x0000000074000000
(XEN) Flask: 64 avtab hash slots, 236 rules.
(XEN) Flask: 64 avtab hash slots, 236 rules.
(XEN) Flask:  3 users, 3 roles, 36 types, 2 bools
(XEN) Flask:  12 classes, 236 rules
(XEN) Flask:  Starting in permissive mode.
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Allocated console ring of 64 KiB.
(XEN) VFP implementer 0x41 architecture 4 part 0x30 variant 0xf rev 0x0
(XEN) Bringing up CPU1
(XEN) CPU1 never came online
(XEN) Failed to bring up CPU 1 (error -5)
(XEN) Bringing up CPU2
(XEN) CPU2 never came online
(XEN) Failed to bring up CPU 2 (error -5)
(XEN) Bringing up CPU3
(XEN) CPU3 never came online
(XEN) Failed to bring up CPU 3 (error -5)
(XEN) Bringing up CPU4
(XEN) CPU4 never came online
(XEN) Failed to bring up CPU 4 (error -5)
(XEN) Bringing up CPU5
(XEN) CPU5 never came online
(XEN) Failed to bring up CPU 5 (error -5)
(XEN) Bringing up CPU6
(XEN) CPU6 never came online
(XEN) Failed to bring up CPU 6 (error -5)
(XEN) Bringing up CPU7
(XEN) CPU7 never came online
(XEN) Failed to bring up CPU 7 (error -5)
(XEN) Brought up 1 CPUs
(XEN) P2M: 40-bit IPA
(XEN) P2M: 3 levels with order-1 root, VTCR 0x80003558
(XEN) I/O virtualisation disabled
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Loading kernel from boot module @ 0000000072000000
(XEN) Allocating 1:1 mappings totalling 1024MB for dom0:
(XEN) BANK[0] 0x00000048000000-0x00000070000000 (640MB)
(XEN) BANK[1] 0x000001d8000000-0x000001f0000000 (384MB)
(XEN) Grant table range: 0x0000007fc00000-0x0000007fc72000
(XEN) handle /
(XEN) / passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /aliases
(XEN) /aliases passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /cpus
(XEN)   Skip it (matched)
(XEN) handle /interrupt-controller@f1001000
(XEN) Create gic node
(XEN)   Set phandle = 0x1
(XEN) handle /gpio@e6050000
(XEN) /gpio@e6050000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 36
(XEN)   - MMIO: 00e6050000 - 00e6050050
(XEN) handle /gpio@e6051000
(XEN) /gpio@e6051000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 37
(XEN)   - MMIO: 00e6051000 - 00e6051050
(XEN) handle /gpio@e6052000
(XEN) /gpio@e6052000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 38
(XEN)   - MMIO: 00e6052000 - 00e6052050
(XEN) handle /gpio@e6053000
(XEN) /gpio@e6053000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 39
(XEN)   - MMIO: 00e6053000 - 00e6053050
(XEN) handle /gpio@e6054000
(XEN) /gpio@e6054000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 40
(XEN)   - MMIO: 00e6054000 - 00e6054050
(XEN) handle /gpio@e6055000
(XEN) /gpio@e6055000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 41
(XEN)   - MMIO: 00e6055000 - 00e6055050
(XEN) handle /thermal@e61f0000
(XEN) /thermal@e61f0000 passthrough = 1 nirq = 1 naddr = 2
(XEN)   - IRQ: 101
(XEN)   - MMIO: 00e61f0000 - 00e61f0014
(XEN)   - MMIO: 00e61f0100 - 00e61f0138
(XEN) handle /timer
(XEN) Create timer node
(XEN)   Secure interrupt 29
(XEN)   Non secure interrupt 30
(XEN)   Virt interrupt 27
(XEN) handle /timer@ffca0000
(XEN) /timer@ffca0000 passthrough = 1 nirq = 2 naddr = 1
(XEN)   - IRQ: 174
(XEN)   - IRQ: 175
(XEN)   - MMIO: 00ffca0000 - 00ffca1004
(XEN) handle /timer@e6130000
(XEN) /timer@e6130000 passthrough = 1 nirq = 8 naddr = 1
(XEN)   - IRQ: 152
(XEN)   - IRQ: 153
(XEN)   - IRQ: 154
(XEN)   - IRQ: 155
(XEN)   - IRQ: 156
(XEN)   - IRQ: 157
(XEN)   - IRQ: 158
(XEN)   - IRQ: 159
(XEN)   - MMIO: 00e6130000 - 00e6131004
(XEN) handle /interrupt-controller@e61c0000
(XEN) /interrupt-controller@e61c0000 passthrough = 1 nirq = 4 naddr = 1
(XEN)   - IRQ: 32
(XEN)   - IRQ: 33
(XEN)   - IRQ: 34
(XEN)   - IRQ: 35
(XEN)   - MMIO: 00e61c0000 - 00e61c0200
(XEN) handle /dma-controller@e6700000
(XEN) /dma-controller@e6700000 passthrough = 1 nirq = 16 naddr = 1
(XEN)   - IRQ: 229
(XEN)   - IRQ: 232
(XEN)   - IRQ: 233
(XEN)   - IRQ: 234
(XEN)   - IRQ: 235
(XEN)   - IRQ: 236
(XEN)   - IRQ: 237
(XEN)   - IRQ: 238
(XEN)   - IRQ: 239
(XEN)   - IRQ: 240
(XEN)   - IRQ: 241
(XEN)   - IRQ: 242
(XEN)   - IRQ: 243
(XEN)   - IRQ: 244
(XEN)   - IRQ: 245
(XEN)   - IRQ: 246
(XEN)   - MMIO: 00e6700000 - 00e6720000
(XEN) handle /dma-controller@e6720000
(XEN) /dma-controller@e6720000 passthrough = 1 nirq = 16 naddr = 1
(XEN)   - IRQ: 252
(XEN)   - IRQ: 248
(XEN)   - IRQ: 249
(XEN)   - IRQ: 250
(XEN)   - IRQ: 251
(XEN)   - IRQ: 340
(XEN)   - IRQ: 341
(XEN)   - IRQ: 342
(XEN)   - IRQ: 343
(XEN)   - IRQ: 344
(XEN)   - IRQ: 345
(XEN)   - IRQ: 346
(XEN)   - IRQ: 347
(XEN)   - IRQ: 348
(XEN)   - IRQ: 349
(XEN)   - IRQ: 350
(XEN)   - MMIO: 00e6720000 - 00e6740000
(XEN) handle /dma-controller@ec700000
(XEN) /dma-controller@ec700000 passthrough = 1 nirq = 14 naddr = 1
(XEN)   - IRQ: 378
(XEN)   - IRQ: 352
(XEN)   - IRQ: 353
(XEN)   - IRQ: 354
(XEN)   - IRQ: 355
(XEN)   - IRQ: 356
(XEN)   - IRQ: 357
(XEN)   - IRQ: 358
(XEN)   - IRQ: 359
(XEN)   - IRQ: 360
(XEN)   - IRQ: 361
(XEN)   - IRQ: 362
(XEN)   - IRQ: 363
(XEN)   - IRQ: 364
(XEN)   - MMIO: 00ec700000 - 00ec710000
(XEN) handle /dma-controller@ec720000
(XEN) /dma-controller@ec720000 passthrough = 1 nirq = 14 naddr = 1
(XEN)   - IRQ: 379
(XEN)   - IRQ: 365
(XEN)   - IRQ: 366
(XEN)   - IRQ: 367
(XEN)   - IRQ: 368
(XEN)   - IRQ: 369
(XEN)   - IRQ: 370
(XEN)   - IRQ: 371
(XEN)   - IRQ: 372
(XEN)   - IRQ: 373
(XEN)   - IRQ: 374
(XEN)   - IRQ: 375
(XEN)   - IRQ: 376
(XEN)   - IRQ: 377
(XEN)   - MMIO: 00ec720000 - 00ec730000
(XEN) handle /dma-controller@e65a0000
(XEN) /dma-controller@e65a0000 passthrough = 1 nirq = 2 naddr = 1
(XEN)   - IRQ: 141
(XEN)   - IRQ: 141
(XEN)   - MMIO: 00e65a0000 - 00e65a0100
(XEN) handle /dma-controller@e65b0000
(XEN) /dma-controller@e65b0000 passthrough = 1 nirq = 2 naddr = 1
(XEN)   - IRQ: 142
(XEN)   - IRQ: 142
(XEN)   - MMIO: 00e65b0000 - 00e65b0100
(XEN) handle /i2c@e6508000
(XEN) /i2c@e6508000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 319
(XEN)   - MMIO: 00e6508000 - 00e6508040
(XEN) handle /i2c@e6518000
(XEN) /i2c@e6518000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 320
(XEN)   - MMIO: 00e6518000 - 00e6518040
(XEN) handle /i2c@e6530000
(XEN) /i2c@e6530000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 318
(XEN)   - MMIO: 00e6530000 - 00e6530040
(XEN) handle /i2c@e6540000
(XEN) /i2c@e6540000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 322
(XEN)   - MMIO: 00e6540000 - 00e6540040
(XEN) handle /i2c@e6500000
(XEN) /i2c@e6500000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 206
(XEN)   - MMIO: 00e6500000 - 00e6500425
(XEN) handle /i2c@e6510000
(XEN) /i2c@e6510000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 207
(XEN)   - MMIO: 00e6510000 - 00e6510425
(XEN) handle /i2c@e6520000
(XEN) /i2c@e6520000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 208
(XEN)   - MMIO: 00e6520000 - 00e6520425
(XEN) handle /i2c@e6520000/codec@12
(XEN) /i2c@e6520000/codec@12 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /i2c@e6520000/composite-in@20
(XEN) /i2c@e6520000/composite-in@20 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /i2c@e6520000/composite-in@20/port
(XEN) /i2c@e6520000/composite-in@20/port passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /i2c@e6520000/composite-in@20/port/endpoint
(XEN) /i2c@e6520000/composite-in@20/port/endpoint passthrough = 1 nirq = 0 
naddr = 0
(XEN) handle /i2c@e6520000/hdmi@39
(XEN) /i2c@e6520000/hdmi@39 passthrough = 1 nirq = 1 naddr = 0
(XEN) irq 0 not connected to primary controller.Connected to /gpio@e6051000
(XEN) handle /i2c@e6520000/hdmi@39/ports
(XEN) /i2c@e6520000/hdmi@39/ports passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /i2c@e6520000/hdmi@39/ports/port@0
(XEN) /i2c@e6520000/hdmi@39/ports/port@0 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /i2c@e6520000/hdmi@39/ports/port@0/endpoint
(XEN) /i2c@e6520000/hdmi@39/ports/port@0/endpoint passthrough = 1 nirq = 0 
naddr = 0
(XEN) handle /i2c@e6520000/hdmi@39/ports/port@1
(XEN) /i2c@e6520000/hdmi@39/ports/port@1 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /i2c@e6520000/hdmi@39/ports/port@1/endpoint
(XEN) /i2c@e6520000/hdmi@39/ports/port@1/endpoint passthrough = 1 nirq = 0 
naddr = 0
(XEN) handle /i2c@e60b0000
(XEN) /i2c@e60b0000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 205
(XEN)   - MMIO: 00e60b0000 - 00e60b0425
(XEN) handle /i2c@e60b0000/pmic@58
(XEN) /i2c@e60b0000/pmic@58 passthrough = 1 nirq = 1 naddr = 0
(XEN) irq 0 not connected to primary controller.Connected to 
/interrupt-controller@e61c0000
(XEN) handle /i2c@e60b0000/pmic@58/rtc
(XEN) /i2c@e60b0000/pmic@58/rtc passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /i2c@e60b0000/pmic@58/wdt
(XEN) /i2c@e60b0000/pmic@58/wdt passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /i2c@e60b0000/regulator@68
(XEN) /i2c@e60b0000/regulator@68 passthrough = 1 nirq = 1 naddr = 0
(XEN) irq 0 not connected to primary controller.Connected to 
/interrupt-controller@e61c0000
(XEN) handle /mmc@ee200000
(XEN) /mmc@ee200000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 201
(XEN)   - MMIO: 00ee200000 - 00ee200080
(XEN) handle /mmc@ee220000
(XEN) /mmc@ee220000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 202
(XEN)   - MMIO: 00ee220000 - 00ee220080
(XEN) handle /pfc@e6060000
(XEN) /pfc@e6060000 passthrough = 1 nirq = 0 naddr = 1
(XEN)   - MMIO: 00e6060000 - 00e6060250
(XEN) handle /pfc@e6060000/du
(XEN) /pfc@e6060000/du passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/serial0
(XEN) /pfc@e6060000/serial0 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/ether
(XEN) /pfc@e6060000/ether passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/phy1
(XEN) /pfc@e6060000/phy1 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/serial1
(XEN) /pfc@e6060000/serial1 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/sd0
(XEN) /pfc@e6060000/sd0 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/sd2
(XEN) /pfc@e6060000/sd2 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/mmc1
(XEN) /pfc@e6060000/mmc1 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/spi0
(XEN) /pfc@e6060000/spi0 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/spi2
(XEN) /pfc@e6060000/spi2 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/iic1
(XEN) /pfc@e6060000/iic1 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/iic2
(XEN) /pfc@e6060000/iic2 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/iic3
(XEN) /pfc@e6060000/iic3 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/hsusb
(XEN) /pfc@e6060000/hsusb passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/usb0
(XEN) /pfc@e6060000/usb0 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/usb1
(XEN) /pfc@e6060000/usb1 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/usb2
(XEN) /pfc@e6060000/usb2 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/vin
(XEN) /pfc@e6060000/vin passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/sound
(XEN) /pfc@e6060000/sound passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /pfc@e6060000/sound_clk
(XEN) /pfc@e6060000/sound_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /sd@ee100000
(XEN) /sd@ee100000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 197
(XEN)   - MMIO: 00ee100000 - 00ee100328
(XEN) handle /sd@ee120000
(XEN) /sd@ee120000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 198
(XEN)   - MMIO: 00ee120000 - 00ee120328
(XEN) handle /sd@ee140000
(XEN) /sd@ee140000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 199
(XEN)   - MMIO: 00ee140000 - 00ee140100
(XEN) handle /sd@ee160000
(XEN) /sd@ee160000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 200
(XEN)   - MMIO: 00ee160000 - 00ee160100
(XEN) handle /serial@e6c40000
(XEN) /serial@e6c40000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 176
(XEN)   - MMIO: 00e6c40000 - 00e6c40040
(XEN) handle /serial@e6c50000
(XEN) /serial@e6c50000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 177
(XEN)   - MMIO: 00e6c50000 - 00e6c50040
(XEN) handle /serial@e6c60000
(XEN) /serial@e6c60000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 183
(XEN)   - MMIO: 00e6c60000 - 00e6c60040
(XEN) handle /serial@e6c20000
(XEN) /serial@e6c20000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 180
(XEN)   - MMIO: 00e6c20000 - 00e6c20040
(XEN) handle /serial@e6c30000
(XEN) /serial@e6c30000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 181
(XEN)   - MMIO: 00e6c30000 - 00e6c30040
(XEN) handle /serial@e6ce0000
(XEN) /serial@e6ce0000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 182
(XEN)   - MMIO: 00e6ce0000 - 00e6ce0040
(XEN) handle /serial@e6e60000
(XEN) /serial@e6e60000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 184
(XEN)   - MMIO: 00e6e60000 - 00e6e60040
(XEN) handle /serial@e6e68000
(XEN) /serial@e6e68000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 185
(XEN)   - MMIO: 00e6e68000 - 00e6e68040
(XEN) handle /serial@e62c0000
(XEN) /serial@e62c0000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 186
(XEN)   - MMIO: 00e62c0000 - 00e62c0060
(XEN) handle /serial@e62c8000
(XEN) /serial@e62c8000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 187
(XEN)   - MMIO: 00e62c8000 - 00e62c8060
(XEN) handle /ethernet@ee700000
(XEN) /ethernet@ee700000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 194
(XEN)   - MMIO: 00ee700000 - 00ee700400
(XEN) handle /ethernet@ee700000/ethernet-phy@1
(XEN) /ethernet@ee700000/ethernet-phy@1 passthrough = 1 nirq = 1 naddr = 0
(XEN) irq 0 not connected to primary controller.Connected to 
/interrupt-controller@e61c0000
(XEN) handle /sata@ee300000
(XEN) /sata@ee300000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 137
(XEN)   - MMIO: 00ee300000 - 00ee302000
(XEN) handle /sata@ee500000
(XEN) /sata@ee500000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 138
(XEN)   - MMIO: 00ee500000 - 00ee502000
(XEN) handle /usb@e6590000
(XEN) /usb@e6590000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 139
(XEN)   - MMIO: 00e6590000 - 00e6590100
(XEN) handle /usb-phy@e6590100
(XEN) /usb-phy@e6590100 passthrough = 1 nirq = 0 naddr = 1
(XEN)   - MMIO: 00e6590100 - 00e6590200
(XEN) handle /usb-phy@e6590100/usb-channel@0
(XEN) /usb-phy@e6590100/usb-channel@0 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /usb-phy@e6590100/usb-channel@2
(XEN) /usb-phy@e6590100/usb-channel@2 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /video@e6ef0000
(XEN) /video@e6ef0000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 220
(XEN)   - MMIO: 00e6ef0000 - 00e6ef1000
(XEN) handle /video@e6ef1000
(XEN) /video@e6ef1000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 221
(XEN)   - MMIO: 00e6ef1000 - 00e6ef2000
(XEN) handle /video@e6ef1000/port
(XEN) /video@e6ef1000/port passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /video@e6ef1000/port/endpoint
(XEN) /video@e6ef1000/port/endpoint passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /video@e6ef2000
(XEN) /video@e6ef2000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 222
(XEN)   - MMIO: 00e6ef2000 - 00e6ef3000
(XEN) handle /video@e6ef3000
(XEN) /video@e6ef3000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 223
(XEN)   - MMIO: 00e6ef3000 - 00e6ef4000
(XEN) handle /vsp1@fe920000
(XEN) /vsp1@fe920000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 298
(XEN)   - MMIO: 00fe920000 - 00fe928000
(XEN) handle /vsp1@fe928000
(XEN) /vsp1@fe928000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 299
(XEN)   - MMIO: 00fe928000 - 00fe930000
(XEN) handle /vsp1@fe930000
(XEN) /vsp1@fe930000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 278
(XEN)   - MMIO: 00fe930000 - 00fe938000
(XEN) handle /vsp1@fe938000
(XEN) /vsp1@fe938000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 279
(XEN)   - MMIO: 00fe938000 - 00fe940000
(XEN) handle /display@feb00000
(XEN) /display@feb00000 passthrough = 1 nirq = 3 naddr = 3
(XEN)   - IRQ: 288
(XEN)   - IRQ: 300
(XEN)   - IRQ: 301
(XEN)   - MMIO: 00feb00000 - 00feb70000
(XEN)   - MMIO: 00feb90000 - 00feb9001c
(XEN)   - MMIO: 00feb94000 - 00feb9401c
(XEN) handle /display@feb00000/ports
(XEN) /display@feb00000/ports passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /display@feb00000/ports/port@0
(XEN) /display@feb00000/ports/port@0 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /display@feb00000/ports/port@0/endpoint
(XEN) /display@feb00000/ports/port@0/endpoint passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /display@feb00000/ports/port@1
(XEN) /display@feb00000/ports/port@1 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /display@feb00000/ports/port@1/endpoint
(XEN) /display@feb00000/ports/port@1/endpoint passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /display@feb00000/ports/port@2
(XEN) /display@feb00000/ports/port@2 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /display@feb00000/ports/port@2/endpoint
(XEN) /display@feb00000/ports/port@2/endpoint passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /can@e6e80000
(XEN) /can@e6e80000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 218
(XEN)   - MMIO: 00e6e80000 - 00e6e81000
(XEN) handle /can@e6e88000
(XEN) /can@e6e88000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 219
(XEN)   - MMIO: 00e6e88000 - 00e6e89000
(XEN) handle /clocks
(XEN) /clocks passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/extal_clk
(XEN) /clocks/extal_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/pcie_bus_clk
(XEN) /clocks/pcie_bus_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/audio_clk_a
(XEN) /clocks/audio_clk_a passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/audio_clk_b
(XEN) /clocks/audio_clk_b passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/audio_clk_c
(XEN) /clocks/audio_clk_c passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/usb_extal_clk
(XEN) /clocks/usb_extal_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/can_clk
(XEN) /clocks/can_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/cpg_clocks@e6150000
(XEN) /clocks/cpg_clocks@e6150000 passthrough = 1 nirq = 0 naddr = 1
(XEN)   - MMIO: 00e6150000 - 00e6151000
(XEN) handle /clocks/sd2_clk@e6150078
(XEN) /clocks/sd2_clk@e6150078 passthrough = 1 nirq = 0 naddr = 1
(XEN)   - MMIO: 00e6150078 - 00e615007c
(XEN) handle /clocks/sd3_clk@e615026c
(XEN) /clocks/sd3_clk@e615026c passthrough = 1 nirq = 0 naddr = 1
(XEN)   - MMIO: 00e615026c - 00e6150270
(XEN) handle /clocks/mmc0_clk@e6150240
(XEN) /clocks/mmc0_clk@e6150240 passthrough = 1 nirq = 0 naddr = 1
(XEN)   - MMIO: 00e6150240 - 00e6150244
(XEN) handle /clocks/mmc1_clk@e6150244
(XEN) /clocks/mmc1_clk@e6150244 passthrough = 1 nirq = 0 naddr = 1
(XEN)   - MMIO: 00e6150244 - 00e6150248
(XEN) handle /clocks/ssp_clk@e6150248
(XEN) /clocks/ssp_clk@e6150248 passthrough = 1 nirq = 0 naddr = 1
(XEN)   - MMIO: 00e6150248 - 00e615024c
(XEN) handle /clocks/ssprs_clk@e615024c
(XEN) /clocks/ssprs_clk@e615024c passthrough = 1 nirq = 0 naddr = 1
(XEN)   - MMIO: 00e615024c - 00e6150250
(XEN) handle /clocks/pll1_div2_clk
(XEN) /clocks/pll1_div2_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/z2_clk
(XEN) /clocks/z2_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/zg_clk
(XEN) /clocks/zg_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/zx_clk
(XEN) /clocks/zx_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/zs_clk
(XEN) /clocks/zs_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/hp_clk
(XEN) /clocks/hp_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/i_clk
(XEN) /clocks/i_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/b_clk
(XEN) /clocks/b_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/p_clk
(XEN) /clocks/p_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/cl_clk
(XEN) /clocks/cl_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/m2_clk
(XEN) /clocks/m2_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/imp_clk
(XEN) /clocks/imp_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/rclk_clk
(XEN) /clocks/rclk_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/oscclk_clk
(XEN) /clocks/oscclk_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/zb3_clk
(XEN) /clocks/zb3_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/zb3d2_clk
(XEN) /clocks/zb3d2_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/ddr_clk
(XEN) /clocks/ddr_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/mp_clk
(XEN) /clocks/mp_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/cp_clk
(XEN) /clocks/cp_clk passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /clocks/mstp0_clks@e6150130
(XEN) /clocks/mstp0_clks@e6150130 passthrough = 1 nirq = 0 naddr = 2
(XEN)   - MMIO: 00e6150130 - 00e6150134
(XEN)   - MMIO: 00e6150030 - 00e6150034
(XEN) handle /clocks/mstp1_clks@e6150134
(XEN) /clocks/mstp1_clks@e6150134 passthrough = 1 nirq = 0 naddr = 2
(XEN)   - MMIO: 00e6150134 - 00e6150138
(XEN)   - MMIO: 00e6150038 - 00e615003c
(XEN) handle /clocks/mstp2_clks@e6150138
(XEN) /clocks/mstp2_clks@e6150138 passthrough = 1 nirq = 0 naddr = 2
(XEN)   - MMIO: 00e6150138 - 00e615013c
(XEN)   - MMIO: 00e6150040 - 00e6150044
(XEN) handle /clocks/mstp3_clks@e615013c
(XEN) /clocks/mstp3_clks@e615013c passthrough = 1 nirq = 0 naddr = 2
(XEN)   - MMIO: 00e615013c - 00e6150140
(XEN)   - MMIO: 00e6150048 - 00e615004c
(XEN) handle /clocks/mstp4_clks@e6150140
(XEN) /clocks/mstp4_clks@e6150140 passthrough = 1 nirq = 0 naddr = 2
(XEN)   - MMIO: 00e6150140 - 00e6150144
(XEN)   - MMIO: 00e615004c - 00e6150050
(XEN) handle /clocks/mstp5_clks@e6150144
(XEN) /clocks/mstp5_clks@e6150144 passthrough = 1 nirq = 0 naddr = 2
(XEN)   - MMIO: 00e6150144 - 00e6150148
(XEN)   - MMIO: 00e615003c - 00e6150040
(XEN) handle /clocks/mstp7_clks@e615014c
(XEN) /clocks/mstp7_clks@e615014c passthrough = 1 nirq = 0 naddr = 2
(XEN)   - MMIO: 00e615014c - 00e6150150
(XEN)   - MMIO: 00e61501c4 - 00e61501c8
(XEN) handle /clocks/mstp8_clks@e6150990
(XEN) /clocks/mstp8_clks@e6150990 passthrough = 1 nirq = 0 naddr = 2
(XEN)   - MMIO: 00e6150990 - 00e6150994
(XEN)   - MMIO: 00e61509a0 - 00e61509a4
(XEN) handle /clocks/mstp9_clks@e6150994
(XEN) /clocks/mstp9_clks@e6150994 passthrough = 1 nirq = 0 naddr = 2
(XEN)   - MMIO: 00e6150994 - 00e6150998
(XEN)   - MMIO: 00e61509a4 - 00e61509a8
(XEN) handle /clocks/mstp10_clks@e6150998
(XEN) /clocks/mstp10_clks@e6150998 passthrough = 1 nirq = 0 naddr = 2
(XEN)   - MMIO: 00e6150998 - 00e615099c
(XEN)   - MMIO: 00e61509a8 - 00e61509ac
(XEN) handle /spi@e6b10000
(XEN) /spi@e6b10000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 216
(XEN)   - MMIO: 00e6b10000 - 00e6b1002c
(XEN) handle /spi@e6b10000/flash@0
(XEN) /spi@e6b10000/flash@0 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /spi@e6b10000/flash@0/partition@0
(XEN) /spi@e6b10000/flash@0/partition@0 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /spi@e6b10000/flash@0/partition@40000
(XEN) /spi@e6b10000/flash@0/partition@40000 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /spi@e6b10000/flash@0/partition@440000
(XEN) /spi@e6b10000/flash@0/partition@440000 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /spi@e6e20000
(XEN) /spi@e6e20000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 188
(XEN)   - MMIO: 00e6e20000 - 00e6e20064
(XEN) handle /spi@e6e10000
(XEN) /spi@e6e10000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 189
(XEN)   - MMIO: 00e6e10000 - 00e6e10064
(XEN) handle /spi@e6e10000/pmic@0
(XEN) /spi@e6e10000/pmic@0 passthrough = 1 nirq = 0 naddr = 0
(XEN) handle /spi@e6e00000
(XEN) /spi@e6e00000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 190
(XEN)   - MMIO: 00e6e00000 - 00e6e00064
(XEN) handle /spi@e6c90000
(XEN) /spi@e6c90000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 191
(XEN)   - MMIO: 00e6c90000 - 00e6c90064
(XEN) handle /usb@ee000000
(XEN) /usb@ee000000 passthrough = 1 nirq = 1 naddr = 1
(XEN)   - IRQ: 133
(XEN)   - MMIO: 00ee000000 - 00ee000c00
(XEN) handle /pci@ee090000
(XEN) /pci@ee090000 passthrough = 1 nirq = 1 naddr = 2
(XEN)   - IRQ: 140
(XEN)   - MMIO: 00ee090000 - 00ee090c00
(XEN)   - MMIO: 00ee080000 - 00ee081100
(XEN) Mapping children of /pci@ee090000 to guest
(XEN)   - IRQ: 140
(XEN)   - IRQ: 140
(XEN)   - IRQ: 140
(XEN)   - MMIO: 00ee080000 - 00ee090000
(XEN) handle /pci@ee090000/usb@0,1
(XEN) /pci@ee090000/usb@0,1 passthrough = 1 nirq = 0 naddr = 0
(XEN) Mapping children of /pci@ee090000/usb@0,1 to guest
(XEN) DT: no ranges; cannot enumerate
(XEN) Device tree generation failed (-22).
(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) Could not set up DOM0 guest OS
(XEN) ****************************************
(XEN)
(XEN) Reboot in five seconds...
----- 8< -----

Mit freundlichen GrÃÃen / Kind regards

Leopold Kostal GmbH & Co. KG
Automobil Elektrik / Automotive Electrical Systems 

Max Ferger 
AEN5 Vorentwicklung Produktinnovationen
Advance Development Innovative Products

Hauert 16, 44227 Dortmund
Deutschland / Germany
Telefon: +49 231 7588 965
E-Mail: m.ferger@xxxxxxxxxx

Internet: http://www.kostal.com

-----UrsprÃngliche Nachricht-----
Von: Julien Grall [mailto:julien.grall@xxxxxxxxxx] 
Gesendet: Montag, 19. Oktober 2015 14:44
An: Ferger, Max <M.Ferger@xxxxxxxxxx>; Ian Campbell <ian.campbell@xxxxxxxxxx>; 
xen-devel@xxxxxxxxxxxxx
Cc: Oleksandr Tyshchenko <oleksandr.tyshchenko@xxxxxxxxxxxxxxx>; Iurii 
Konovalenko <iurii.konovalenko@xxxxxxxxxxxxxxx>
Betreff: Re: [Xen-devel] Dom0 kernel for Xen4.6 on R-Car H2 (LAGER)

Hello Max,

On 19/10/15 13:09, Ferger, Max wrote:
> - UART enabled -
> - CPU 00000000 booting -
> - Xen starting in Hyp mode -
> - Zero BSS -
> - Setting up control registers -
> - Turning on paging -
> - Ready -
> (XEN) Checking for initrd in /chosen
> (XEN) RAM: 0000000040000000 - 000000007fffffff
> (XEN) RAM: 0000000140000000 - 00000001ffffffff
> (XEN)
> (XEN) MODULE[0]: 00000000407f2000 - 00000000407fd000 Device Tree
> (XEN) MODULE[1]: 0000000072000000 - 00000000722fd158 Kernel
> (XEN) MODULE[2]: 0000000074000000 - 0000000074002559 XSM
> (XEN)  RESVD[0]: 0000000070f00000 - 0000000070f0b000
> (XEN)  RESVD[1]: 000000007ff9a000 - 000000007ff9a120
> (XEN)  RESVD[2]: 00000000407f2000 - 00000000407fd000
> (XEN)
> (XEN) Command line: console=dtuart dtuart=/soc/serial@e6c50000 
> dom0_mem=1G
> (XEN) Placing Xen at 0x000000007fc00000-0x000000007fe00000
> (XEN) Update BOOTMOD_XEN from 0000000090000000-000000009011b701 => 
> 000000007fc00000-000000007fd1b701
> (XEN) Xen heap: 00000001f8000000-0000000200000000 (32768 pages)
> (XEN) Dom heap: 1015808 pages
> (XEN) Domain heap initialised
> (XEN) Platform: Renesas R-Car Gen2
> (XEN) Looking for dtuart at "/soc/serial@e6c50000", options ""
> (XEN) Unable to find device "/soc/serial@e6c50000"

You provided the wrong path to the UART. Xen will use earlyprintk rather than 
the console.

If you use the upstream DT (arch/arm/boot/dts/r8a7790-lager.dts), it contains a 
property stdout-path in the chosen node. As Xen is able to understand it, you 
can drop "dtuart=/soc/...." and only keep console=dtuart on the command line.

[...]

> (XEN) *** LOADING DOMAIN 0 ***
> (XEN) Loading kernel from boot module @ 0000000072000000
> (XEN) Allocating 1:1 mappings totalling 1024MB for dom0:
> (XEN) BANK[0] 0x00000048000000-0x00000070000000 (640MB)
> (XEN) BANK[1] 0x000001d8000000-0x000001f0000000 (384MB)
> (XEN) Grant table range: 0x0000007fc00000-0x0000007fc72000
> (XEN) DT: no ranges; cannot enumerate
> (XEN) Device tree generation failed (-22).

Can you turn on DEBUG_DT in xen/arch/arm/domain_build.c (see patch [1]) and 
paste the log here?

Also, can you send the device tree you are using?

Regards,

[1]
diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index 
0c3441a..bdb8b1f 100644
--- a/xen/arch/arm/domain_build.c
+++ b/xen/arch/arm/domain_build.c
@@ -40,7 +40,7 @@ static void __init parse_dom0_mem(const char *s)  }  
custom_param("dom0_mem", parse_dom0_mem);
 
-//#define DEBUG_DT
+#define DEBUG_DT
 
 #ifdef DEBUG_DT
 # define DPRINT(fmt, args...) printk(XENLOG_DEBUG fmt, ##args)

--
Julien Grall



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

Attachment: r8a7790-lager-xen.dts
Description: r8a7790-lager-xen.dts

Attachment: r8a7790-lager.dts
Description: r8a7790-lager.dts

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

 


Rackspace

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