# Porting meta mender software onto zcu102 board with petalinux 2019.1

**URL:** <https://hub.mender.io/t/porting-meta-mender-software-onto-zcu102-board-with-petalinux-2019-1/1384>\
**Category:** General Discussions\
**Tags:** thud\
**Created:** [December 24, 2019, 7:02pm UTC](https://hub.mender.io/t/porting-meta-mender-software-onto-zcu102-board-with-petalinux-2019-1/1384 "2019-12-24T19:02:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![adavappa](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@adavappa](https://hub.mender.io/u/adavappa)\
**Post date:** [December 24, 2019, 7:02pm UTC](https://hub.mender.io/t/porting-meta-mender-software-onto-zcu102-board-with-petalinux-2019-1/1384/1 "2019-12-24T19:02:30Z")

</div>

Hello Team,

I am working on xilinx ZCU102 board with petalinux 2019.1. Wanted to port the meta-mender client onto board. Petalinux 2019.1 uses the thud branch. porting required for standalone mode. Is there any support available for this board integration ?

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [December 26, 2019, 6:47pm UTC](https://hub.mender.io/t/porting-meta-mender-software-onto-zcu102-board-with-petalinux-2019-1/1384/2 "2019-12-26T18:47:30Z")

</div>

Hi @adavappa, welcome to Mender hub.

The thud branch is well supported in Mender so that should not be an issue. I am unaware of any specific integrations into either Petalinux or the ZCU boards so it will probably require an integration effort. See our [Yocto integration docs](https://docs.mender.io/2.2/devices/yocto-project) for the full details.

Drew

---

<div class="post-metadata">

**Author:** ![wkswain](https://avatars.discourse-cdn.com/v4/letter/w/3e96dc/32.png) [@wkswain](https://hub.mender.io/u/wkswain)\
**Post date:** [May 25, 2020, 11:07pm UTC](https://hub.mender.io/t/porting-meta-mender-software-onto-zcu102-board-with-petalinux-2019-1/1384/3 "2020-05-25T23:07:23Z")

</div>

@adavappa  
I have a working implementation of mender on petalinux 2019.1 for zcu102. It depends how you want your configuration to work. I reconfigured my build to produce a fitImage consisting of kernel, device-tree, and rootfs. That way the image simply runs out of RAM. I then removed everything from the image except for the fitimage, uEnv.txt, and fpga.bin.

If that is something that’s of interest, I could send some tips.

---

<div class="post-metadata">

**Author:** ![P3Pierre](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@P3Pierre](https://hub.mender.io/u/P3Pierre)\
**Post date:** [August 2, 2021, 12:32pm UTC](https://hub.mender.io/t/porting-meta-mender-software-onto-zcu102-board-with-petalinux-2019-1/1384/4 "2021-08-02T12:32:20Z")

</div>

@wkswain I would be very interested into some tips for the ZCU102 🙂  
We are trying to integrate Mender into our Petalinux build and it seems from what I read in your posts that you succeeded !

---

<div class="post-metadata">

**Author:** ![wkswain](https://avatars.discourse-cdn.com/v4/letter/w/3e96dc/32.png) [@wkswain](https://hub.mender.io/u/wkswain)\
**Post date:** [August 3, 2021, 2:53am UTC](https://hub.mender.io/t/porting-meta-mender-software-onto-zcu102-board-with-petalinux-2019-1/1384/5 "2021-08-03T02:53:23Z")

</div>

We didn’t finish the ZCU102 implementation, but did get it working on the Zynq7. We are just starting the ZCU102 integration again, and I expect few problems. I may have more on that as we work through it.

Much of the work was started here (by a working colleague), and has some readme stuff and instructions:

> **[GitHub - reachBAM/meta-mender-zynq: OpenEmbedded/Yocto/Petalinux layer for...](https://github.com/reachBAM/meta-mender-zynq)**
>
> OpenEmbedded/Yocto/Petalinux layer for adding support of Mender - GitHub - reachBAM/meta-mender-zynq: OpenEmbedded/Yocto/Petalinux layer for adding support of Mender

From what I recall, we followed the directions for mender U-boot integration. You have to setup the memory partitions and do your own custom U-boot patches, and uEnv.txt.

We didn’t do a traditional file system implementation. OS partitions A and B contain a single file which is a fit image. The fit image contains the rootfs, device-tree and kernel.

I was unable to figure out how to build an image from an image, so the first build creates the image. The second build image recipe target creates the mender image. Our system runs from RAM. We can power off at any time with no data loss. If you unplug during update that isn’t committed, it reverts to the previous OS image. It’s pretty ideal - no data loss, and no bricking. We are not using any of the OTA features, just local file updates through a web browser, much like an internet router.

---

<div class="post-metadata">

**Author:** ![P3Pierre](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@P3Pierre](https://hub.mender.io/u/P3Pierre)\
**Post date:** [August 6, 2021, 6:02am UTC](https://hub.mender.io/t/porting-meta-mender-software-onto-zcu102-board-with-petalinux-2019-1/1384/6 "2021-08-06T06:02:54Z")

</div>

@wkswain  
Thanks for the reply! I am currently trying to implement meta-mender with Petalinux 2020.2 on an Enclustra XU8+ module.  
I saw your repo on github and started to modify it to be used by the newer version of Petalinux.  
My first roadblock is that Xilinx decided to use a patched version of u-boot (u-boot-xlnx) and therefore, I have to modify something in meta-mender to even start the compilation (otherwise, the build complains that I don’t provide u-boot).  
If anyone has an idea about the subject, I am more than open!

Pi-r

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [August 9, 2021, 6:48am UTC](https://hub.mender.io/t/porting-meta-mender-software-onto-zcu102-board-with-petalinux-2019-1/1384/7 "2021-08-09T06:48:06Z")

</div>

There is information about how to deal with that in the [Forks of U-Boot](https://docs.mender.io/system-updates-yocto-project/board-integration/bootloader-support/u-boot#forks-of-u-boot) section in the Mender documentation.

---

<div class="post-metadata">

**Author:** ![P3Pierre](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@P3Pierre](https://hub.mender.io/u/P3Pierre)\
**Post date:** [August 9, 2021, 6:56am UTC](https://hub.mender.io/t/porting-meta-mender-software-onto-zcu102-board-with-petalinux-2019-1/1384/8 "2021-08-09T06:56:57Z")

</div>

Thanks! To be cleaner I started a new thread for the integration of my board.
