[meta-xilinx] Boot.bin file creation in using bitbake core-image-minimal

Martin Siegumfeldt mns at gomspace.com
Fri Nov 2 11:53:00 PDT 2018


Hi Mayur,

It could look like you are missing a patch for allowing the APU to access the SD card, refer to e.g. https://github.com/topic-embedded-products/meta-topic/tree/master/recipes-bsp/pmu-firmware. AFAIK, it is not officially documented by Xilinx anywhere but discussed in this list during the last year or so.

Regards,
Martin
________________________________________
From: meta-xilinx-bounces at yoctoproject.org <meta-xilinx-bounces at yoctoproject.org> on behalf of Mayur Bankhele <Mayur.Bankhele2 at kpit.com>
Sent: Friday, November 2, 2018 10:15:54 AM
To: meta-xilinx at yoctoproject.org
Subject: [meta-xilinx] Boot.bin file creation in using bitbake  core-image-minimal

Hello,
I am trying to build the minimal image for Xilinx zcu102 board.



Need help regarding the hardware boot with yocto image



>From last one week I am trying to boot the hardware using Image using meta-xilinx layer.



I had done the below procedure



git clone -b rocko https://git.yoctoproject.org/git/poky<https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.yoctoproject.org%2Fgit%2Fpoky&data=02%7C01%7C%7C4efc3842e0ce4b8e330008d61d813ff8%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C636728838282162319&sdata=Tc1yMwab7dQifIxWIPAk8ZsZyTtNLDDy64m4aYr6mPE%3D&reserved=0>

git clone -b rocko https://github.com/Xilinx/meta-xilinx<https://github.com/Xilinx/meta-xilinx/>

source ../poky/oe-init-build-env

bitbake-layers add-layer ../meta-xilinx/meta-xilinx-bsp



in conf/local.conf  MACHINE=”zcu102-zynqmp”

run the command bitbake core-image-minimal



after this I got the below file in image folder.

 [cid:image002.png at 01D47295.06B907B0]



 after that i added the file on sdcard boot partition.

boot.bin, atf-uboot.ub, Image, u-boot.bin, uEnv.txt and
Image-zynqmp-zcu102-rev1.0.dtb

and inserted the sdcard in hardware and on minicom i got below data

U-Boot SPL 2017.01 (Oct 31 2018 - 13:33:08)
EL Level:       EL3
Trying to boot from MMC1
reading u-boot.bin
reading atf-uboot.ub
reading atf-uboot.ub
NOTICE:  ATF running on XCZU9EG/silicon v4/RTL5.1 at 0xfffea000, with PMU firmwe
NOTICE:  BL31: Secure code at 0x0
NOTICE:  BL31: Non secure code at 0x8000000
NOTICE:  BL31: v1.3(release):f9b244b
NOTICE:  BL31: Built : 13:33:00, Oct 31 2018
PMUFW:  v0.3
zynqmp_clk_get_peripheral_rate mio read fail
failed to get rate
zynqmp_clk_get_peripheral_rate mio read fail
failed to get rate

how to generate the Boot.bin
Regards,
Mayur Bankhele
KPIT Technologies Limited
Phone: : +020-66525000 Extn: 5243 | cell: +91- 9769763461
_____________________________________________________
KPIT | Web: www.kpit.com<http://www.kpit.com/>   Social: Facebook<http://www.kpit.com/facebook> | Twitter<http://www.kpit.com/twitter> | Linkedin<http://www.kpit.com/linkedin> | Youtube<http://www.kpit.com/youtube>

[I-am-DigiChamp-Signature]

This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 5387 bytes
Desc: image001.jpg
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20181102/63e45d53/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 397524 bytes
Desc: image002.png
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20181102/63e45d53/attachment-0001.png>


More information about the meta-xilinx mailing list