Post Go back to editing

pmufw.elf not generated

Category: Software
Product Number: zc706

Hi,

I'm trying to build BOOT.BIN for the ZC706 using the build_zynqmp_boot_bin.sh script https://wiki.analog.com/resources/tools-software/linux-software/build-the-zynqmp-boot-image.

The script constructs a TCL script named create_fsbl_project.tcl and runs it us xsct. According to the script documentation, this should create two files named fsbl.elf and pmufw.elf.

In my case, the script runs to completion, apparently without error, but only fsbl.elf is generated. The pmufw.elf file is not generated.

I'd appreciate someone helping me out here!

Thanks,

Keith

Parents
  • I reboot the system it does not fully reboot into Linux, but instead stops at the Zynq> prompt

    Could you paste here the full log that is printed from when you power on the board until the Zynq prompt? Did you copy the devicetree.dtb and the uImage as well?

    Also, when it starts booting, there's a countdown saying that will prompt you there if you hit any key. I presume you didn't hit a key, right?

  • Hi Iulia,

    I should qualify that I built BOOT.BIN from the stock unmodified code for the adrv937x/zc706 in the hdl repo. Also I'm working remotely, so I rebooted by running "reboot" from the Linux prompt. I also didn't touch any key, and I'm looking at the board now through the serial connection.

    I don't have the full power-on log, but the following is what I see when I run "reset" from the Zynq prompt:

    Zynq> reset
    resetting ...
    
    
    U-Boot 2023.01 (Feb 26 2024 - 07:28:39 -0600)
    
    CPU:   Zynq 7z045
    Silicon: v3.1
    Model: Xilinx ZC706 board
    DRAM:  ECC disabled 1 GiB
    Core:  30 devices, 19 uclasses, devicetree: board
    Flash: 0 Bytes
    NAND:  0 MiB
    MMC:   mmc@e0100000: 0
    Loading Environment from FAT... *** Error - No Valid Environment Area found
    *** Warning - bad env area, using default environment
    
    In:    serial@e0001000
    Out:   serial@e0001000
    Err:   serial@e0001000
    Net:   
    ZYNQ GEM: e000b000, mdio bus e000b000, phyaddr 7, interface rgmii-id
    
    Warning: ethernet@e000b000 (eth0) using random MAC address - ea:e9:d9:b0:c5:00
    eth0: ethernet@e000b000
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    No EFI system partition
    BootOrder not defined
    EFI boot manager: Cannot load any image
    JTAG: Trying to boot script at 3000000
    ## Executing script at 03000000
    Wrong image format for "source" command
    JTAG: SCRIPT FAILED: continuing...
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    BootOrder not defined
    EFI boot manager: Cannot load any image
    MMC Device 1 not found
    no mmc device at slot 1
    SF: Detected s25fl128s with page size 512 Bytes, erase size 128 KiB, total 32 MiB
    device 0 offset 0xfc0000, size 0x40000
    SF: 262144 bytes @ 0xfc0000 Read: OK
    QSPI: Trying to boot script at 3000000
    ## Executing script at 03000000
    Wrong image format for "source" command
    QSPI: SCRIPT FAILED: continuing...
    
    
    no devices available
    NAND: SCRIPT FAILED: continuing...
    NOR: Trying to boot script at 3000000
    ## Executing script at 03000000
    Wrong image format for "source" command
    NOR: SCRIPT FAILED: continuing...
    starting USB...
    Bus usb@e0002000: USB EHCI 1.00
    scanning bus usb@e0002000 for devices... 1 USB Device(s) found
           scanning usb for storage devices... 0 Storage Device(s) found
    
    Device 0: unknown device
    
    Device 1: unknown device
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    BOOTP broadcast 5
    BOOTP broadcast 6
    BOOTP broadcast 7
    BOOTP broadcast 8
    BOOTP broadcast 9
    BOOTP broadcast 10
    BOOTP broadcast 11
    BOOTP broadcast 12
    BOOTP broadcast 13
    BOOTP broadcast 14
    BOOTP broadcast 15
    BOOTP broadcast 16
    BOOTP broadcast 17
    
    Retry time exceeded; starting again
    missing environment variable: pxeuuid
    Retrieving file: pxelinux.cfg/01-ea-e9-d9-b0-c5-00
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/00000000
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/0000000
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/000000
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/00000
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/0000
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/000
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/00
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/0
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/default-arm-zynq-zynq
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/default-arm-zynq
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/default-arm
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/default
    *** ERROR: `serverip' not set
    Config file not found
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    BOOTP broadcast 5
    BOOTP broadcast 6
    BOOTP broadcast 7
    BOOTP broadcast 8
    BOOTP broadcast 9
    BOOTP broadcast 10
    BOOTP broadcast 11
    BOOTP broadcast 12
    BOOTP broadcast 13
    BOOTP broadcast 14
    BOOTP broadcast 15
    BOOTP broadcast 16
    BOOTP broadcast 17
    
    Retry time exceeded; starting again
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    BOOTP broadcast 5
    BOOTP broadcast 6
    BOOTP broadcast 7
    BOOTP broadcast 8
    BOOTP broadcast 9
    BOOTP broadcast 10
    BOOTP broadcast 11
    BOOTP broadcast 12
    BOOTP broadcast 13
    BOOTP broadcast 14
    BOOTP broadcast 15
    BOOTP broadcast 16
    BOOTP broadcast 17
    
    Retry time exceeded; starting again
    Zynq> 
    
    

    I hope this helps.

    Thanks,

    Keith

Reply
  • Hi Iulia,

    I should qualify that I built BOOT.BIN from the stock unmodified code for the adrv937x/zc706 in the hdl repo. Also I'm working remotely, so I rebooted by running "reboot" from the Linux prompt. I also didn't touch any key, and I'm looking at the board now through the serial connection.

    I don't have the full power-on log, but the following is what I see when I run "reset" from the Zynq prompt:

    Zynq> reset
    resetting ...
    
    
    U-Boot 2023.01 (Feb 26 2024 - 07:28:39 -0600)
    
    CPU:   Zynq 7z045
    Silicon: v3.1
    Model: Xilinx ZC706 board
    DRAM:  ECC disabled 1 GiB
    Core:  30 devices, 19 uclasses, devicetree: board
    Flash: 0 Bytes
    NAND:  0 MiB
    MMC:   mmc@e0100000: 0
    Loading Environment from FAT... *** Error - No Valid Environment Area found
    *** Warning - bad env area, using default environment
    
    In:    serial@e0001000
    Out:   serial@e0001000
    Err:   serial@e0001000
    Net:   
    ZYNQ GEM: e000b000, mdio bus e000b000, phyaddr 7, interface rgmii-id
    
    Warning: ethernet@e000b000 (eth0) using random MAC address - ea:e9:d9:b0:c5:00
    eth0: ethernet@e000b000
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    No EFI system partition
    BootOrder not defined
    EFI boot manager: Cannot load any image
    JTAG: Trying to boot script at 3000000
    ## Executing script at 03000000
    Wrong image format for "source" command
    JTAG: SCRIPT FAILED: continuing...
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    BootOrder not defined
    EFI boot manager: Cannot load any image
    MMC Device 1 not found
    no mmc device at slot 1
    SF: Detected s25fl128s with page size 512 Bytes, erase size 128 KiB, total 32 MiB
    device 0 offset 0xfc0000, size 0x40000
    SF: 262144 bytes @ 0xfc0000 Read: OK
    QSPI: Trying to boot script at 3000000
    ## Executing script at 03000000
    Wrong image format for "source" command
    QSPI: SCRIPT FAILED: continuing...
    
    
    no devices available
    NAND: SCRIPT FAILED: continuing...
    NOR: Trying to boot script at 3000000
    ## Executing script at 03000000
    Wrong image format for "source" command
    NOR: SCRIPT FAILED: continuing...
    starting USB...
    Bus usb@e0002000: USB EHCI 1.00
    scanning bus usb@e0002000 for devices... 1 USB Device(s) found
           scanning usb for storage devices... 0 Storage Device(s) found
    
    Device 0: unknown device
    
    Device 1: unknown device
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    BOOTP broadcast 5
    BOOTP broadcast 6
    BOOTP broadcast 7
    BOOTP broadcast 8
    BOOTP broadcast 9
    BOOTP broadcast 10
    BOOTP broadcast 11
    BOOTP broadcast 12
    BOOTP broadcast 13
    BOOTP broadcast 14
    BOOTP broadcast 15
    BOOTP broadcast 16
    BOOTP broadcast 17
    
    Retry time exceeded; starting again
    missing environment variable: pxeuuid
    Retrieving file: pxelinux.cfg/01-ea-e9-d9-b0-c5-00
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/00000000
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/0000000
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/000000
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/00000
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/0000
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/000
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/00
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/0
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/default-arm-zynq-zynq
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/default-arm-zynq
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/default-arm
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/default
    *** ERROR: `serverip' not set
    Config file not found
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    BOOTP broadcast 5
    BOOTP broadcast 6
    BOOTP broadcast 7
    BOOTP broadcast 8
    BOOTP broadcast 9
    BOOTP broadcast 10
    BOOTP broadcast 11
    BOOTP broadcast 12
    BOOTP broadcast 13
    BOOTP broadcast 14
    BOOTP broadcast 15
    BOOTP broadcast 16
    BOOTP broadcast 17
    
    Retry time exceeded; starting again
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    BOOTP broadcast 5
    BOOTP broadcast 6
    BOOTP broadcast 7
    BOOTP broadcast 8
    BOOTP broadcast 9
    BOOTP broadcast 10
    BOOTP broadcast 11
    BOOTP broadcast 12
    BOOTP broadcast 13
    BOOTP broadcast 14
    BOOTP broadcast 15
    BOOTP broadcast 16
    BOOTP broadcast 17
    
    Retry time exceeded; starting again
    Zynq> 
    
    

    I hope this helps.

    Thanks,

    Keith

Children
No Data