[meta-xilinx] failure : SD to u-boot SPL to u-boot on zcu102-zynqmp
Nathan Rossi
nathan at nathanrossi.com
Thu Mar 16 12:00:29 PDT 2017
On 17 March 2017 at 04:22, Jean-Francois Dagenais
<jeff.dagenais at gmail.com> wrote:
> Hi Shabbir,
>
> Thanks for your answer. See below...
>
> On Mar 16, 2017, at 13:51, Shabbir Khan <shabbirkhank at gmail.com> wrote:
>
> Can you try creating atf-uboot.ub image using below command:
>
> /usr/bin/mkimage -A arm64 -O linux -T kernel -C none -a 0XFFFEA000 -e
> 0XFFFEA000 -d /path/to/bl31.bin atf-uboot.ub
>
>
> The yocto build process does generate a arm-trusted-firmware.ub file which I
> did copy it to the SD card with the right name, this is what I get:
>
> <debug_uart> Debug uart enabled
>
> U-Boot SPL 2017.01 (Mar 16 2017 - 14:12:52)
> EL Level: EL3
> Trying to boot from MMC1
> reading u-boot.bin
> reading atf-uboot.ub
> reading atf-uboot.ub
If this is the artifact name that u-boot expects then the
arm-trusted-firmware recipe should create a deployed symlink with that
name as well.
> NOTICE: ATF running on XCZU9EG/silicon v3/RTL5.1 at 0xfffea000
> NOTICE: BL31: Secure code at 0x0
> NOTICE: BL31: Non secure code at 0x8000000
> NOTICE: BL31: v1.2(release):a9e3716
> NOTICE: BL31: Built : 16:41:21, Mar 9 2017
> PMUFW is not found - Please load it!
Yes, the new fun that has begun. The PMU Firmware is to be a hard
dependency for the next release (at least that is what I heard) of
u-boot-xlnx/linux-xlnx and probably ATF as well.
I have been looking at getting meta-xilinx to build the PMU firmware,
however since it is actually firmware that runs on a baremetal (with
dep on newlib) microblaze it is not quite so straight forward. There
are some WIP branches of oe-core and meta-xilinx where I have the
firmware building from the github.com/Xilinx/embeddedsw repo. Feel
free to play around with it, without hardware its hard to be sure its
fully functional but it was working with u-boot-xlnx on the zcu102
emulated with qemu-xilinx:
https://github.com/nathanrossi/meta-xilinx/commits/nrossi/wip-pmu-firmware
https://github.com/nathanrossi/openembedded-core/commits/nrossi/wip/newlib-support
At the moment you need to build the firmware separately using the
"zynqmp-pmu-microblaze" MACHINE, with bitbake pmu-firmware, and the
.elf will be in the deploy dir for that machine. Thought I am not sure
of the boot process for SPL with regards to how the pmu-firmware is
actually loaded.
On a side note, in your first email you changed the UBOOT_MACHINE to
"xilinx_zynqmp_zcu102_rev1.0_defconfig", just wanted to query what
revision of the zcu102 you have.
Regards,
Nathan
More information about the meta-xilinx
mailing list