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> Debug uart enabled
>
> "Synchronous Abort" handler, esr 0x96000040
>
> ELR:     fffcaa3c
>
> LR:      fffc774c
>
> x0 : fdfd00011dfd0060 x1 : 0000000000000000
>
> x2 : 0202ffff0202ffa0 x3 : 0000000020000000
>
> x4 : fdfd00011dfd0068 x5 : 0000000000000000
>
> x6 : 00405fffe0405ff4 x7 : 0000000020000008
>
> x8 : 00000000000000ad x9 : 0000000000000080
>
> x10: 000000000000fffd x11: 0000000000000064
>
> x12: 00000000fffffe6a x13: 0981000800000102
>
> x14: ca99010442042023 x15: 0020890800101045
>
> x16: 0001284017244083 x17: 002011001c040041
>
> x18: 00000000ffff7e90 x19: 0000000020000000
>
> x20: 0000000000000000 x21: fdfd00011dfd0060
>
> x22: 0000000000000000 x23: 0000000000000001
>
> x24: 00000000ffff7f20 x25: 00000000fffdaca8
>
> x26: 00000000fffdb000 x27: 00000000fffd977a
>
> x28: 0000000000000000 x29: 00000000ffff7c10
>
>
>
> 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

Reply via email to