05-25-2020 04:46 AM
For Buildroot Linux on ZCU102, I am trying to use a prebuilt PMU FW, but it only exists for ZCU106.
It doesn't make immediate sense to me that these PMU FWs are hardware platform specific. What specific configurations are different between these two development board related with PMU FW?
05-26-2020 03:13 PM
I believe the ZCU102 actually uses a GPIO pin on the PMU to shut the board off, as an example - there may be other system-specific customization for the ZCU106. Ideally you should build PMU firmware from the SDK using your exported design (from Vivado) to configure it, but it can be built outside of SDK if you must.
If you don't want to use Vivado and the SDK to build PMU firmware, the project at https://github.com/lucaceresoli/zynqmp-pmufw-builder is a script that will build a generic PMU firmware with a fixed config. I have used a similar approach with buildroot on the ZCU102 myself and found it to work fine.
05-26-2020 09:22 PM
I've had a look at that one and it keeps complaining about GNU Bash version not being >3, but it is actually version 5. Perhaps it was a while since you used it?
In reality I'm just trying to do a quick tutorial of Petalinux, but with Buildroot. Lots to get a hang on!
Would you know of a PMUFW for the zcu102?
05-27-2020 12:10 PM
Yes, it has been a while - I'm mostly using PetaLinux now since it automates much of this.
If you do not want to build your own PMUFW from source, the ZCU102 BSP, found on the board page, should have a pre-built one inside it.