Post Go back to editing

Kuiper Linux 2021_r1 image do not boots on zynqmp-adrv9009-zu11eg-revb-adrv2crr-fmc-revb following readme.txt

Category: Software
Product Number: zynqmp-adrv9009-zu11eg-revb-adrv2crr-fmc-revb
Software Version: 2021_r1

Hi, following the instructions on ez.analog.com I downloaded the pre-built 2021_r1 SD card image for the zynqmp-adrv9009-zu11eg-revb-adrv2crr-fmc-revb platform.

I followed the instructions in /boot/readme txt:

For the zynqmp projects - copy target/BOOT.BIN, target/<specific_folder>/system.dtb and zynqmp-common/Image to the root of the BOOT FAT32 partition.

Unfortunately, when the system tries to boot I get the following error message:

...

reading uEnv.txt
407 bytes read in 20 ms (19.5 KiB/s)
Loaded environment from uEnv.txt
Importing environment from SD ...
Running uenvcmd ...
Copying Linux from SD to RAM...
** No boot file defined **
SF: Detected n25q512a with page size 512 Bytes, erase size 128 KiB, total 128 MiB
device 0 offset 0x2000000, size 0x20000
SF: 131072 bytes @ 0x2000000 Read: OK
reading system.dtb
79158 bytes read in 29 ms (2.6 MiB/s)
** Unable to read file Image **
## Error: "distro_bootcmd" not defined
ZynqMP>

And the boot hangs. What is the reason for this ? I just flowed 100% the provided instructions. Does 2021_r1 is supposed to work properly on zynqmp-adrv9009-zu11eg-revb-adrv2crr-fmc-revb plugged on a adrv2carr-fmc ?   Any advice?

Thanks, Joel

  • Are you sure you copied Image there and not by accident uImage?

    Xilinx Zynq MP First Stage Boot Loader 
    Release 2021.1   Aug  3 2022  -  11:00:01
    
    
    U-Boot 2018.01-21439-gd244ce5 (Mar 28 2021 - 13:30:43 +0100) Analog Devices Inc. ADR9009-ZU11EG, Bui3
    
    I2C:   ready
    DRAM:  4 GiB
    EL Level:       EL2
    Chip ID:        zu11eg
    MMC:   sdhci@ff170000: 0 (SD)
    *** Warning - bad CRC, using default environment
    
    In:    serial@ff010000
    Out:   serial@ff010000
    Err:   serial@ff010000
    Bootmode: LVL_SHFT_SD_MODE1
    Net:   ZYNQ GEM: ff0b0000, phyaddr 1, interface sgmii
    i2c_mux_set: could not set mux: id: 5 chip: 74 channel: 0
    I2C EEPROM MAC address read failed
    
    Warning: ethernet@ff0b0000 (eth1) using random MAC address - 8e:fd:5f:66:bc:ae
    eth1: ethernet@ff0b0000ZYNQ GEM: ff0e0000, phyaddr 0, interface rgmii-id
    I2C EEPROM MAC address read failed
    
    Warning: ethernet@ff0e0000 (eth0) using random MAC address - 6a:15:2d:15:12:d0
    , eth0: ethernet@ff0e0000
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc0 is current device
    Device: sdhci@ff170000
    Manufacturer ID: 41
    OEM: 3432
    Name: SD16G 
    Tran Speed: 50000000
    Rd Block Len: 512
    SD version 3.0
    High Capacity: Yes
    Capacity: 14.6 GiB
    Bus Width: 4-bit
    Erase Group Size: 512 Bytes
    reading uEnv.txt
    407 bytes read in 21 ms (18.6 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from SD ...
    Running uenvcmd ...
    Copying Linux from SD to RAM...
    ** No boot file defined **
    SF: Detected n25q512a with page size 512 Bytes, erase size 128 KiB, total 128 MiB
    device 0 offset 0x2000000, size 0x20000
    SF: 131072 bytes @ 0x2000000 Read: OK
    reading system.dtb
    79158 bytes read in 31 ms (2.4 MiB/s)
    reading Image
    32514560 bytes read in 2086 ms (14.9 MiB/s)
    ## Flattened Device Tree blob at 04000000
       Booting using the fdt blob at 0x4000000
       Loading Device Tree to 000000000ffe9000, end 000000000ffff535 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 5.10.0-98248-g1bbe32fa5182 (jenkins@romlxbuild1.adlk.analog.com) (aarch2
    [    0.000000] Machine model: Analog Devices ADRV9009-ZU11EG Rev.B
    [    0.000000] earlycon: cdns0 at MMIO 0x00000000ff010000 (options '115200n8')
    [    0.000000] printk: bootconsole [cdns0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 256 MiB at 0x0000000070000000
    [    0.000000] Zone ranges:
    

    I just checked the image, it boots fine..

    -Michael

  • Hi, zynqmp-common in 2022-08-04-ADI-Kuiper-full.img only has Image... no way to copy the wrong file ...

  • ** Unable to read file Image **

    That's typically the case if the file is not there.

    Can you check the md5sum and filesize on a desktop PC?

    michael@HAL9000:/media/michael/BOOT$ md5sum Image
    ba0cfb44abab085147cebc0d315700ee Image

    michael@HAL9000:/media/michael/BOOT$ ls -al Image
    -rw-r--r-- 1 michael michael 32514560 Aug 4 09:17 Image

    -Michael

  • HI:

    joebre@vecellio:/media/joebre/BOOT$ md5sum Image
    ba0cfb44abab085147cebc0d315700ee  Image

    joebre@vecellio:/media/joebre/BOOT$ ls -al Image
    -rw-r--r-- 1 joebre joebre 32514560 ago 19 13:23 Image

    The source platform common Image

    joebre@vecellio:/media/joebre/BOOT/zynqmp-common$ md5sum Image
    ba0cfb44abab085147cebc0d315700ee  Image

    joebre@vecellio:/media/joebre/BOOT/zynqmp-common$ ls -al Image
    -rw-r--r-- 1 joebre joebre 32514560 ago 4 09:17 Image

    Joel

  • Sorry I apologize... I re-burned the image from scratch ... and this time everything worked well ... I should have tried before posting... 

    Anyway many thx for the replay..

    Joel