flsgavin / Quick-Build-Ubuntu-On-ZedBoard

This project provides a quick way to build Ubuntu on the Xilinx ZedBoard.
3 stars 1 forks source link

Can't run project on Zedboard Rev E #1

Open marcosjl opened 1 year ago

marcosjl commented 1 year ago

Hi, I followed the instruction to create SD card, but I can't get Linux to boot : nothing shows on minicom session connecter to UART I've also tried latest ubuntu-20.04.6-minimal-armhf-2023-08-22 but nothing happen's either. Rgds Jose

flsgavin commented 1 year ago

Hi, Is FSBL information printed on the terminal? If not, please confirm:

  1. Is the configuration of UART correct
  2. Whether the SD card partition is correct and whether the files in the boot directory are complete
marcosjl commented 1 year ago

Hi,

I launch minicom with : minicom -D /dev/ttyACM0 -b 115200

SD Card is paritioned accordingly to instructions. Here is the output of fdsik /dev/sda :

Device     Boot  Start      End  Sectors  Size Id Type
/dev/sda1         2048   206847   204800  100M 83 Linux
/dev/sda2       206848 30318591 30111744 14.4G 83 Linux

And /media/marcosjl/boot contains :

ls -l /media/marcosjl/boot/
total 8497
drwxr-xr-x  2 marcosjl robot     512 Jan  1  1970 ./
drwxr-xr-x+ 4 root     root     4096 Oct 12 11:52 ../
-rw-r--r--  1 marcosjl robot 2089944 Oct 12 11:03 BOOT.bin
-rw-r--r--  1 marcosjl robot   11879 Oct 12 11:03 devicetree.dtb
-rw-r--r--  1 marcosjl robot     244 Oct 12 11:03 uEnv.txt
-rw-r--r--  1 marcosjl robot 6592984 Oct 12 11:03 uImage
flsgavin commented 1 year ago

Hi,

  1. Please ensure that the Zedboard boot mode is SD card boot
  2. Try chown the file in the boot directory as root Hope it can help you
marcosjl commented 1 year ago

It turns JP6 was not shorted.

After modification of JP6, here is what I get at the console :+1:

PCAP:StatusReg = 0x40000A30
PCAP:device ready
PCAP:Clear done
Level Shifter Value = 0xA 
Devcfg Status register = 0x40000A30 
PCAP:Fabric is Initialized done
PCAP register dump:
PCAP CTRL 0xF8007000: 0x4C00E07F
PCAP LOCK 0xF8007004: 0x0000001A
PCAP CONFIG 0xF8007008: 0x00000508
PCAP ISR 0xF800700C: 0x0802000B
PCAP IMR 0xF8007010: 0xFFFFFFFF
PCAP STATUS 0xF8007014: 0x50000A20
PCAP DMA SRC ADDR 0xF8007018: 0x00100001
PCAP DMA DEST ADDR 0xF800701C: 0xFFFFFFFF
PCAP DMA SRC LEN 0xF8007020: 0x000585C0
PCAP DMA DEST LEN 0xF8007024: 0x000585C0
PCAP ROM SHADOW CTRL 0xF8007028: 0xFFFFFFFF
PCAP MBOOT 0xF800702C: 0x0000C000
PCAP SW ID 0xF8007030: 0x00000000
PCAP UNLOCK 0xF8007034: 0x757BDF0D
PCAP MCTRL 0xF8007080: 0x30800100

DMA Done ! 
...................................................................................................PCAP transfer timed  
PCAP_FPGA_DONE_FAIL
PCAP Bitstream Download Failed
PARTITION_MOVE_FAIL
FSBL Status = 0xA00B

This Boot Mode Doesn't Support Fallback
In FsblHookFallback function