Zedboard doesn't boot

I have tried with every kind of files, from both the latest official release and a compiled by me, and nothing works.

This is the log through the serial line. After the starting kernel, the tty stops responding and there is no feedback on other ports.

$ picocom -b 115200 /dev/ttyACM0

picocom v3.1
                                                                                                                                                                                                                                                                                          
port is        : /dev/ttyACM0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
stopbits are   : 1
escape is      : C-a
local echo is  : no                                                                                                                                                                                                                                                                       
noinit is      : no                                                                                                                                                                                                                                                                       
noreset is     : no                                                                                                                                                                                                                                                                       
hangup is      : no                                                                                                                                                                                                                                                                       
nolock is      : no

send_cmd is    : sz -vv
receive_cmd is : rz -vv -E
imap is        : 
omap is        : 
emap is        : crcrlf,delbs,
logfile is     : none
initstring     : none
exit_after is  : not set
exit is        : no

Type [C-a] [C-h] to see available commands
Terminal ready
        ۱M*** Warning - bad CRC, using default environment

In:    serial@e0001000
Out:   serial@e0001000
Err:   serial@e0001000
Model: Zynq Zed Development Board
Board: Xilinx Zynq
Net:   ZYNQ GEM: e000b000, phyaddr 0, interface rgmii-id

Warning: ethernet@e000b000 (eth0) using random MAC address - 82:30:4a:38:f7:04
eth0: ethernet@e000b000
Hit any key to stop autoboot:  0
Copying FIT from SD to RAM...
reading fit.itb
3653128 bytes read in 326 ms (10.7 MiB/s)
## Loading kernel from FIT Image at 02000000 ...
   Using 'config@1' configuration
   Verifying Hash Integrity ... OK
   Trying 'kernel@1' kernel subimage
     Description:  ARM OpenWrt Linux-4.4.119
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x020000e4
     Data Size:    3643720 Bytes = 3.5 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x00008000
     Entry Point:  0x00008000
     Hash algo:    crc32
     Hash value:   d5678bf5
     Hash algo:    sha1
     Hash value:   a3ef7461cc233dacee6a0162f4967d8dacd2310f
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading ramdisk from FIT Image at 02000000 ...
   Using 'config@1' configuration
   Trying 'ramdisk@1' ramdisk subimage
     Description:  ARM OpenWrt zed ramdisk
     Type:         RAMDisk Image
     Compression:  gzip compressed
     Data Start:   0x02379b54
     Data Size:    20 Bytes = 20 Bytes
     Architecture: ARM
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   2ad5ee64
     Hash algo:    sha1
     Hash value:   a0fddd5458378c1bf3c10dd2f5c060d1347741ed
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 02000000 ...
   Using 'config@1' configuration
   Trying 'fdt@1' fdt subimage
     Description:  ARM OpenWrt zed device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x02379c78
     Data Size:    7803 Bytes = 7.6 KiB
     Architecture: ARM
     Hash algo:    crc32
     Hash value:   fb282817
     Hash algo:    sha1
     Hash value:   c88e379c845bc5b5bcb5f1f27711bfd3bd794614
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x2379c78
   Loading Kernel Image ... OK
   Loading Ramdisk to 1eb25000, end 1eb25014 ... OK
   Loading Device Tree to 1eb20000, end 1eb24e7a ... OK

Starting kernel ...

In the case of using the latest release, the following continues, in a continuous loop.

undefined instruction
pc : [<0000800c>]          lr : [<1ff4a86c>]
reloc pc : [<e40be00c>]    lr : [<0400086c>]
sp : 1eb26a58  ip : 000000ff     fp : 00000000
r10: 00000001  r9 : 1eb29ef0     r8 : 1ff4a8f8
r7 : 00000000  r6 : 00008000     r5 : 1ffa6b90  r4 : 00000000
r3 : 00001e7b  r2 : 1e950000     r1 : 00000000  r0 : 1eb29fb0
Flags: nZCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

resetting ...

What firmware file did you use, and where did you download it?

1 Like

I downloaded it from https://downloads.openwrt.org/releases/17.01.4/targets/zynq/generic/

I am building master anyway, and looks like the most promissing... But it doesn't work

I have found that this is reported in the bug tracker already... https://bugs.openwrt.org/index.php?do=details&task_id=1204

I am also running into this problem. Do we have an image that works that we can help test and triage the problem. Thanks in advance.

Hey,

I've tried to compile from master too, and I got the same errors.
Fortunately I had a little free time and updated the zynq target.
You can find the changes on the pull request #942.

To test the changes:

  • Copy the U-Boot files and the initramfs image to the SD-Card.

  • At the U-Boot prompt you issue the following commands:

Zynq> setenv fit_image openwrt-zynq-xlnx_zynq-zed-initramfs-fit-uImage.itb
Zynq> boot

I can also provide compiled images if you like.

Cheers,

Luis Araneda.

this version of openwrt should use zImage instead of uImage