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

Re: [Xen-devel] XEN on R-CAR H3




On 06.02.19 16:41, Amit Tomer wrote:
HI,

Hi


Trying to boot XEN on R-CAR H3 starter Kit board.

Linux image based on 5.0.0-rc5 and XEN image is 4.12

tftp 0x48000000 xen;tftp 0x7a000000 Image; tftp 4a000000 r8a7795-h3ulcb.dtb
setenv xen_addr_r 0x48000000
setenv fdt_addr_r 4a000000
setenv kernel_addr_r 0x7a000000
fdt addr $fdt_addr_r
fdt resize
fdt set /chosen xen,xen-bootargs "console=dtuart dom0_mem=384M"
fdt set /chosen \#address-cells <1>
fdt set /chosen \#size-cells <1>
fdt mknod /chosen module@0
fdt resize
fdt set /chosen/module@0 compatible "xen,linux-zimage" "xen,multiboot-module"
fdt set /chosen/module@0 reg <$kernel_addr_r 0x1800000>
setenv bootargs "console=hvc0 ro root=/dev/mmcblk0p2 clk_ignore_unused
rootwait earlycon=xenboot"

But when It boot it, I see following crash:


booti 0x48000000 - 0x4a000000
## Flattened Device Tree blob at 4a000000
  Booting using the fdt blob at 0x4a000000
reserving fdt memory region: addr=4a000000 size=10000
Using Device Tree in place at 000000004a000000, end
000000004a012fff

  Starting kernel ...
  UART enabled -
- CPU 00000000 booting -
- Current EL 00000008 -
- Xen starting at EL2 -
- Zero BSS -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) Checking for initrd in /chosen
(XEN) RAM: 0000000048000000 - 000000007fffffff
(XEN) RAM: 0000000500000000 - 000000053fffffff
(XEN) RAM: 0000000600000000 - 000000063fffffff
(XEN) RAM: 0000000700000000 - 000000073fffffff
(XEN) RAM: 0000000500000000 - 000000053fffffff
(XEN) RAM: 0000000600000000 - 000000063fffffff
(XEN) RAM: 0000000700000000 - 000000073fffffff

Memory nodes got duplicated somehow. Likely U-Boot did something incorrect.

Try to use single memory node in your device-tree instead of separated by each bank nodes:

memory@48000000 {
        device_type = "memory";
        /* first 128MB is reserved for secure area. */
        reg = <0x0 0x48000000 0x0 0x38000000>,
              <0x5 0x00000000 0x0 0x40000000>,
              <0x6 0x00000000 0x0 0x40000000>,
              <0x7 0x00000000 0x0 0x40000000>;
};

--

Regards,

Oleksandr Tyshchenko


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

 


Rackspace

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