07-31-2018 12:50 PM
Hi
I read UG983 for firmware upgrade, and notice that petalinux 2018.2, there is no fwupgrade application anymore,
from "petalinux -c rootfs", anybody knows where I can find it? And UG983 is kind of old, lastest version is 2014.
Anybody knows latest version?
Thanks
07-31-2018 03:36 PM
Hi @lynn.zhang,
This is UG is obsoleted.
08-01-2018 05:17 AM
Hi, Sandeep
Thank you for letting me know. So if I like to firmware update, what procedure should I do?
Any document relate to this?
Thank
02-03-2020 01:16 AM
hi,
if its obsoleted,how is it done in latest version of petalinux?
Regards,
Sriraksha
02-03-2020 02:01 AM
Hi, Sriraksha @lynn.zhang
fwupgrade is not shipped by Xilinx. It is just a utility from older rootfs used in petalinux.
It is recommended to use other utilities like (swupdate, Mender or RAUC.) in the latest projects. (extracted info from https://github.com/tpetazzoni/fwupgrade)
For example, yocto provides SWupdate as meta layer and you may try adding it to petalinux and see if that works. This post might help you in adding this layer
https://www.zachpfeffer.com/single-post/Integrate-SWUpdate-into-a-PetaLinux-Project
Best Regards
Shabbir
02-03-2020 09:15 AM
Hi @sriraksha.nayak ,
What is you actual requirement here, Are you looking for OTA(Over-the-air) update from older version to newer version or Just upgrading the images from incremental builds?
02-03-2020 07:25 PM
hi @sandeepg
I would like to know how to flash the firmware when its Running bare-metal/FreeRTOS.
About firmware update i mean to say adding BOOT.bin in flash (board doesnt have any firmware at present its a dead board).
SDCARD option is ruled out.So if updating BOOT.bin over usb is available or Jatg or if any other options?
Regards,
Sriraksha
02-03-2020 08:23 PM
Hi @sriraksha.nayak ,
If you have SD card on your hardware then you can use SD card to load flash the BOOT.bin to QSPI parition.
If you don't have SD card then only way to program the BOOT.bin to flash on new board using JTAG boot mode via XSDK(2019.1 and below release) or Vitis(2019.2 and above release) tool(Flash Programming method).
For more details refer UG1209.
02-03-2020 09:07 PM
Hi @sandeepg,
Thank you for the reply.
So you are saying other than sd card and jtag we dont have any other options to to push bins in dead board? over usb is there a provision?
we were checking if over usb if its possible?
Regards,
Sriaksha
02-04-2020 09:42 AM
Hi @sriraksha.nayak ,
If you have USB boot mode options on your board.
In below example I used fatload mmc(using SD) you can replace with tftp or dfu commands to copy the BOOT.bin to DDR address.
Xilinx Zynq MP First Stage Boot Loader Release 2018.1 Aug 2 2018 - 21:31:44 NOTICE: ATF running on XCZU9EG/silicon v4/RTL5.1 at 0xfffea000 NOTICE: BL31: Secure code at 0x0 NOTICE: BL31: Non secure code at 0x10080000 NOTICE: BL31: v1.4(release):xilinx-v2017.4-1351-gdf4a7e97 NOTICE: BL31: Built : 03:26:47, Aug 3 2018 PMUFW: v1.0 U-Boot 2018.01 (Aug 02 2018 - 21:27:36 -0600) Xilinx ZynqMP ZCU102 rev1.0 I2C: ready DRAM: 4 GiB EL Level: EL2 Chip ID: zu9eg MMC: sdhci@ff170000: 0 (SD) SF: Detected n25q512a with page size 512 Bytes, erase size 128 KiB, total 128 MiB In: serial@ff000000 Out: serial@ff000000 Err: serial@ff000000 Model: ZynqMP ZCU102 Rev1.0 Board: Xilinx ZynqMP Net: ZYNQ GEM: ff0e0000, phyaddr c, interface rgmii-id eth0: ethernet@ff0e0000 Hit any key to stop autoboot: 0 ZynqMP> sf probe 0 0 0 SF: Detected n25q512a with page size 512 Bytes, erase size 128 KiB, total 128 MiB ZynqMP> fatload mmc 0 0x10000000 qspi-BOOT.bin reading qspi-BOOT.bin 27642392 bytes read in 1814 ms (14.5 MiB/s) ZynqMP> sf erase 0x0 0x1e00000 SF: 31457280 bytes @ 0x0 Erased: OK ZynqMP> sf write 0x10000000 0x0 ${filesize} device 0 offset 0x0, size 0x1a5ca18 SF: 27642392 bytes @ 0x0 Written: OK ZynqMP>
02-04-2020 09:55 PM
Hi @sandeepg,
We were looking for usb options for booting but looks like its not available.
We can find the current boot mode MIO strapping pins in the Zynq 7000 TRM(ug585-Zynq-7000) page 166.
Suggest us the best option to push production code into the flash.
check attachment for reference.
Regards,
Sriraksha
02-05-2020 05:10 PM
Hi @sriraksha.nayak ,
Sorry my bad I thought its ZynqMP architecture, Yes for Zynq7000 we don't have USB boot mode.
Hence you need to use JTAG boot mode.