개발자 블로그
uboot booting 문제2(해결중) 본문
터미널창1(u-boot file 다운로드 및 실행)
명령어
xmd
connect arm hw
source ./ps7_init.tcl (내가 맞는지는 모르겠지만 임의의 vivado 프로젝트 생성하여 sdk 까지 실행하면 프로젝트 폴더에 자동으로 생성되어 있음, 여러곳에 있으나 아무거나 하나 복사해서 u-boot-xlnx 폴더에 넣어두고 실행했음)
ps7_init
dow u-boot.elf
run 입력하면 터미널창2에 출력이 되는데 자꾸 timeout 되고 잘안됨...
device tree를 먼저 다운로드 받으라고하는데
https://forums.xilinx.com/t5/Embedded-Linux/Load-rootfs-via-JTAG-using-XMD-commands/td-p/699953
터미널창2( uart 출력 디스플레이)
virtualubuntu16043@virtualubuntu16043-VirtualBox:~$ sudo picocom --b 115200 --f n --p n /dev/ttyUSB1
[sudo] password for virtualubuntu16043:
picocom v1.7
port is : /dev/ttyUSB1
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv
imap is :
omap is :
emap is : crcrlf,delbs,
Terminal ready
U-Boot 2021.01-00042-gd6ad7d2-dirty (Jul 24 2021 - 21:16:06 +0900)
CPU: Zynq 7z010
Silicon: v3.1
Model: Digilent Zybo Z7 board
DRAM: ECC disabled 1 GiB
Flash: 0 Bytes
NAND: 0 MiB
MMC: mmc@e0100000: 0
In: serial@e0001000
Out: serial@e0001000
Err: serial@e0001000
Net:
ZYNQ GEM: e000b000, mdio bus e000b000, phyaddr 0, interface rgmii-id
Warning: ethernet@e000b000 (eth0) using random MAC address - ee:9c:ba:1a:43:dc
eth0: ethernet@e000b000
Hit any key to stop autoboot: 0
JTAG: Trying to boot script at 3000000
## Executing script at 03000000
Wrong image format for "source" command
JTAG: 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
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-zynq-zynq
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-zynq
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Config file not found
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
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
MMC Device 1 not found
no mmc device at slot 1
SF: Detected s25fl128s with page size 256 Bytes, erase size 64 KiB, total 16 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...
Device 0: unknown device
Device 1: unknown device
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-zynq-zynq
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-zynq
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Config file not found
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Zynq>