Re: [meta-xilinx] Booting zcu102-zynqmp machine crashes in SPL

2019-03-11 Thread Sebastian Panceac
Hi Manjukumar,

Thank you for your answer!

My understanding from the doc you pointed me to, is that applying the
patches to "pmu-firmware" from "topic-embedded" github repo should be
enough to have a board booting with SPL.

I'm building "rel-v2018.3" branch of "meta-xilinx" which is described as
based on "rocko".

I added the append recipe from the "rocko" branch of
https://github.com/topic-embedded-products/meta-topic/tree/rocko/recipes-bsp/pmu-firmware
.

I verified and the patches applied correctly, but unfortunately SPL is
still crashing.

I put some debug logs inside the SPL code and it seems to crash when
calling "dm_init_and_scan(!CONFIG_IS_ENABLED(OF_PLATDATA))" function in the
"spl_common_init()" function of "common/spl/spl.c" source.

Any suggestions about why this would happen?

Thank you!



On Fri, Mar 8, 2019 at 7:54 PM Manjukumar Harthikote Matha <
manju...@xilinx.com> wrote:

> Hi Sebastian,
>
>
>
> Please see (SPL flow section )
>
>
> https://github.com/Xilinx/meta-xilinx/blob/master/meta-xilinx-bsp/README.building.md
>
>
>
> Thanks,
>
> Manju
>
>
>
> *From:* meta-xilinx-boun...@yoctoproject.org [mailto:
> meta-xilinx-boun...@yoctoproject.org] *On Behalf Of *Sebastian Panceac
> *Sent:* Friday, March 08, 2019 1:16 AM
> *To:* meta-xil...@lists.yoctoproject.org
> *Subject:* [meta-xilinx] Booting zcu102-zynqmp machine crashes in SPL
>
>
>
> Hi,
>
>
>
> I'm using the `meta-xilinx` layers to build the OS for the Xilinx ZCU102
> board: https://www.xilinx.com/products/boards-and-kits/ek-u1-zcu102-g.html
> board.
>
>
>
> I compiled for the "zcu102-zynqmp" Yocto machine.
>
>
>
> In order for u-boot to build successfully I had to rename the symbolic
> link from "${DEPLOYDIR}/pmu-firmware-${MACHINE}.bin" to
> "${DEPLOYDIR}/pmu-${MACHINE}.bin" in the "do_install" task of "
> pmu-firmware_2017.3.bb recipe".
>
>
>
> I used the "rel-v2018.3" branch of meta-xilinx.
>
>
>
> I flashed a SD card with the boot files according to:
> https://github.com/Xilinx/meta-xilinx/blob/master/meta-xilinx-bsp/README.booting.md#loading-via-sd
> but the boot process hangs in SPL with this stack trace:
>
>
>
>  Debug uart enabled
>
> "Synchronous Abort" handler, esr 0x9640
>
> ELR: fffcaa3c
>
> LR:  fffc774c
>
> x0 : fdfd00011dfd0060 x1 : 
>
> x2 : 02020202ffa0 x3 : 2000
>
> x4 : fdfd00011dfd0068 x5 : 
>
> x6 : 00405fffe0405ff4 x7 : 2008
>
> x8 : 00ad x9 : 0080
>
> x10: fffd x11: 0064
>
> x12: fe6a x13: 098100080102
>
> x14: ca99010442042023 x15: 0020890800101045
>
> x16: 0001284017244083 x17: 002011001c040041
>
> x18: 7e90 x19: 2000
>
> x20:  x21: fdfd00011dfd0060
>
> x22:  x23: 0001
>
> x24: 7f20 x25: fffdaca8
>
> x26: fffdb000 x27: fffd977a
>
> x28:  x29: 7c10
>
>
>
> Resetting CPU ...
>
>
>
> ### ERROR ### Please RESET the board ###
>
>
>
> Also, is it mandatory to compile also "pmu-rom" for this board to boot?
>
>
>
> Please advise! Thanks!
>
>
>
>
>
>
>
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


[meta-xilinx] Booting zcu102-zynqmp machine crashes in SPL

2019-03-08 Thread Sebastian Panceac
Hi,

I'm using the `meta-xilinx` layers to build the OS for the Xilinx ZCU102
board: https://www.xilinx.com/products/boards-and-kits/ek-u1-zcu102-g.html
board.

I compiled for the "zcu102-zynqmp" Yocto machine.

In order for u-boot to build successfully I had to rename the symbolic link
from "${DEPLOYDIR}/pmu-firmware-${MACHINE}.bin" to
"${DEPLOYDIR}/pmu-${MACHINE}.bin" in the "do_install" task of "
pmu-firmware_2017.3.bb recipe".

I used the "rel-v2018.3" branch of meta-xilinx.

I flashed a SD card with the boot files according to:
https://github.com/Xilinx/meta-xilinx/blob/master/meta-xilinx-bsp/README.booting.md#loading-via-sd
but the boot process hangs in SPL with this stack trace:

 Debug uart enabled
"Synchronous Abort" handler, esr 0x9640
ELR: fffcaa3c
LR:  fffc774c
x0 : fdfd00011dfd0060 x1 : 
x2 : 02020202ffa0 x3 : 2000
x4 : fdfd00011dfd0068 x5 : 
x6 : 00405fffe0405ff4 x7 : 2008
x8 : 00ad x9 : 0080
x10: fffd x11: 0064
x12: fe6a x13: 098100080102
x14: ca99010442042023 x15: 0020890800101045
x16: 0001284017244083 x17: 002011001c040041
x18: 7e90 x19: 2000
x20:  x21: fdfd00011dfd0060
x22:  x23: 0001
x24: 7f20 x25: fffdaca8
x26: fffdb000 x27: fffd977a
x28:  x29: 7c10

Resetting CPU ...

### ERROR ### Please RESET the board ###

Also, is it mandatory to compile also "pmu-rom" for this board to boot?

Please advise! Thanks!
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx