Unable to read file uImage SD CARD

Hello

I'm trying to evaluate the linux enviroment in zedboard (Zynq 7000 AD9467) following the steps described in:

wiki.analog.com/.../zynq_images

after create the image with win32diskimage (windows 10) and extract the files
from zynq-zed-adv7511-ad9467-fmc-250ebz folder (I have FMC connected)

-boot.bin
-uEnv.txt
-uImage
-devicetree.dtb
-bootgen_sysfiles.tgz


I run the boot commands:

env default -a
saveenv
setenv ethaddr AA:BB:CC:DD:EE:FF
save reset

I get the serial output:

## Resetting to default environment
zynq-uboot> saveenv
Saving Environment to SPI Flash...
SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB
Erasing SPI flash...Writing to SPI flash...done
zynq-uboot> setenv ethaddr 7C:B0:C2:B7:A2:87
zynq-uboot> save
Saving Environment to SPI Flash...
Erasing SPI flash...Writing to SPI flash...done
zynq-uboot> reset
resetting ...
U-Boot 2014.07-dirty (Nov 20 2014 - 17:05:21)

Board: Xilinx Zynq
I2C: ready
DRAM: ECC disabled 512 MiB
MMC: zynq_sdhci: 0
SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB
In: serial
Out: serial
Err: serial
Net: Gem.e000b000
Hit any key to stop autoboot: 0
Device: zynq_sdhci
Manufacturer ID: 27
OEM: 5048
Name: SD32G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 28.9 GiB
Bus Width: 4-bit
reading uEnv.txt
378 bytes read in 8 ms (45.9 KiB/s)
Loaded environment from uEnv.txt
Importing environment from SD ...
Running uenvcmd ...
Copying Linux from SD to RAM...
reading uImage
** Unable to read file uImage **
Copying Linux from SD to RAM...
reading uImage
** Unable to read file uImage **

Can't read file uImage.

I apreciate any help 

thanks

Jael R

Top Replies

    •  Analog Employees 
    Jun 23, 2021 in reply to Jhael +1 verified
    inet 169.254.216.194 netmask 255.255.0.0 broadcast 169.254.255.255

    This means it cannot get an IP address. Make sure your DHCP server is accessible to the device.

    -Travis

Parents Reply Children
  • 0
    •  Analog Employees 
    on Jun 11, 2021 1:15 AM in reply to Jhael
    if I put UImage in zynq-common folder I can boot and access from Teraterm

    This should not work unless you are modifying the uEnv.txt file. Does it reach the Linux login when doing this?

    What version of the SD card image are you downloading?

    -Travis

  • Hello, 

    Just I modified of the uEnv the line that manual indicate, this line:

    bootargs=console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait clk_ignore_unused cpuidle.off=1

    replaced by:bootargs=console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait

    and I rename uImage into uImage.bin and modify the generated uEnv.txt, adding the .bin extension like follows:

     

                                                     kernel_image=uImage     ---->   kernel_image=uImage.bin

     

    and the uImage file I changed by uImage.bin because I can open the terminal when the uImage both files

    When I execute, show the following, it read uEnv file but when is reading show an error

    U-Boot 2014.07-dirty (Nov 20 2014 - 17:05:21)

    Board: Xilinx Zynq
    I2C: ready
    DRAM: ECC disabled 512 MiB
    MMC: zynq_sdhci: 0
    SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB
    In: serial
    Out: serial
    Err: serial
    Net: Gem.e000b000
    Hit any key to stop autoboot: 0
    Device: zynq_sdhci
    Manufacturer ID: 41
    OEM: 3432
    Name: SD8GB
    Tran Speed: 50000000
    Rd Block Len: 512
    SD version 3.0
    High Capacity: Yes
    Capacity: 7.4 GiB
    Bus Width: 4-bit
    reading uEnv.txt
    412 bytes read in 9 ms (43.9 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from SD ...
    Running uenvcmd ...
    Copying Linux from SD to RAM...
    reading kernel_image=uImage.bin
    ** Unable to read file kernel_image=uImage.bin **
    Copying Linux from SD to RAM...
    reading uImage
    ** Unable to read file uImage **