cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dupont_francois
Visitor
Visitor
2,526 Views
Registered: ‎03-05-2019

Petalinux ZCU102 : PMU-FW is not running

Hi,

I tried since few days to use petalinux upon ZCU102 board but I get the following message when I boot the board : "PMU-FW is not running".

  • I have downloaded xilinx-zcu102-v2018.3-final.bsp
  • I have installed Petalinux with petalinux-v2018.3-final-installer.run
  • petalinux-create -t project -s xilinx-zcu102-v2018.3-final.bsp
  • petalinux-config --get-hw-description=hardware/xilinx-zcu102-2018.3/xilinx-zcu102-2018.3.sdk
  • petalinux-build
  • petalinux-package --boot --fsbl images/linux/zynqmp_fsbl.elf --u-boot images/linux/u-boot.elf --pmufw images/linux/pmufw.elf
  • I properly created partions in my SD card and copied BOOT.BIN and image.ub in boot partition
  • Then, when I power on the board I get the PMU message...

What did I do wrong ?
Best regards,
Dupont François

0 Kudos
6 Replies
jovitac
Moderator
Moderator
2,506 Views
Registered: ‎05-10-2017

What message do you get? Could you please post your console log?

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
dupont_francois
Visitor
Visitor
2,479 Views
Registered: ‎03-05-2019

Hi,

This is my console log when I power on the board : 

Xilinx Zynq MP First Stage Boot Loader
Release 2018.3 Nov 8 2018 - 19:16:37
PMU-FW is not running, certain applications may not be supported.

0 Kudos
jovitac
Moderator
Moderator
2,465 Views
Registered: ‎05-10-2017

Could you please post the log of your package command? It should list all the image files being included. Please see example below.

As a test, please also try the BOOT.bin and image.ub from the prebuilt directory an see if that boots.

$ petalinux-package --boot --format BIN --fsbl images/linux/zynqmp_fsbl.elf --fpga images/linux/system.bit --u-boot images/linux/u-boot.elf --pmufw images/linux/pmufw.elf --force
INFO: File in BOOT BIN: "/plnx-proj/images/linux/zynqmp_fsbl.elf"
INFO: File in BOOT BIN: "/plnx-proj/images/linux/pmufw.elf"
INFO: File in BOOT BIN: "/plnx-proj/images/linux/system.bit"
INFO: File in BOOT BIN: "/plnx-proj/images/linux/bl31.elf"
INFO: File in BOOT BIN: "/plnx-proj/images/linux/u-boot.elf"
INFO: Generating ZynqMP binary package BOOT.BIN...
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
dupont_francois
Visitor
Visitor
2,435 Views
Registered: ‎03-05-2019

Hi, 
I tried with your command and even with pre-build BOOT.bin and I still get the same message :-/ 
I do not know that can I try now...

INFO: File in BOOT BIN: "/home/dupont/Desktop/petalinux_2018.3/xilinx-zcu102-2018.3/pre-built/linux/images/zynqmp_fsbl.elf"
INFO: File in BOOT BIN: "/home/dupont/Desktop/petalinux_2018.3/xilinx-zcu102-2018.3/pre-built/linux/images/pmufw.elf"
INFO: File in BOOT BIN: "/home/dupont/Desktop/petalinux_2018.3/xilinx-zcu102-2018.3/pre-built/linux/images/system.bit"
INFO: File in BOOT BIN: "/home/dupont/Desktop/petalinux_2018.3/xilinx-zcu102-2018.3/images/linux/bl31.elf"
INFO: File in BOOT BIN: "/home/dupont/Desktop/petalinux_2018.3/xilinx-zcu102-2018.3/pre-built/linux/images/u-boot.elf"
INFO: Generating ZynqMP binary package BOOT.BIN...


****** Xilinx Bootgen v2018.3
**** Build date : Nov 15 2018-19:22:29
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.

INFO: Binary is ready.
WARNING: Unable to access the TFTPBOOT folder /tftpboot!!!
WARNING: Skip file copy to TFTPBOOT folder!!!

 

Thanks for helping me

0 Kudos
2,286 Views
Registered: ‎01-16-2019

I follow https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/130973731/PetaLinux+Build+Tutorial+for+2019.1 to build image for ZCU111 release 2019.1 and also have this problem.
Console stops at "PMU-FW is not running, certain applications may not be supported.\n\r" and PetaLinux does not boot up.

According to xfsbl_misc_drivers.c, it seems to be this line of code which output the error message

```
if ((XFsbl_In32(PMU_GLOBAL_GLOBAL_CNTRL) &
    PMU_GLOBAL_GLOBAL_CNTRL_FW_IS_PRESENT_MASK) !=
    PMU_GLOBAL_GLOBAL_CNTRL_FW_IS_PRESENT_MASK) {
    XFsbl_Printf(DEBUG_PRINT_ALWAYS,"PMU-FW is not running, certain applications may not be supported.\n\r");
    UStatus = XFSBL_SUCCESS;
    goto END;
}
```

And this flag PMU_GLOBAL_GLOBAL_CNTRL_FW_IS_PRESENT_MASK seems to be set at xpfw_core.c 
```

XStatus XPfw_CoreConfigure(void)
{
    u32 Idx;
    XStatus Status;

    if (CorePtr != NULL) {

....    

       XPfw_InterruptStart();
       /* Set the FW_IS_PRESENT bit to flag that PMUFW is up and ready */
       XPfw_RMW32(PMU_GLOBAL_GLOBAL_CNTRL, PMU_GLOBAL_GLOBAL_CNTRL_FW_IS_PRESENT_MASK,
                   PMU_GLOBAL_GLOBAL_CNTRL_FW_IS_PRESENT_MASK);
       Status = XST_SUCCESS;
    } else {
       Status = XST_FAILURE;
    }
    return Status;
}

```

But I have no clue that why it does not set properly.

0 Kudos
dreaguns
Participant
Participant
274 Views
Registered: ‎05-30-2019

Try this resource: PMU Firmware blog post!

0 Kudos