Jump to content
  • 0

Zybo u-boot load bitstream fails


Tommy

Question

Hi,

I successfully followed the "How to use the ZYBO Yocto BSP" Quick start guide using the "loading bitstream in U-Boot" alternative.

Looking into the bitream file I noticed that it was generated using Vivado 15.4.
Then I installed this version of Vivado and downloaded the "Base system design". I was noticed that the project was generated using an old version and "Report IP Status" suggested upgrade for some IPs which I accepted. I then generated a new bitfile and wrote it to my SD card.

After Power-on, my Linux kernel just stops when almost ready during boot? Do I have to configure the reference design in any way to get it working?

Any help is appreciated!

Regards,
Tommy

Console output:


 
U-Boot 2016.03 (Jun 16 2017 - 13:57:56 +0200)

Model: Zynq ZYBO Development Board
Board: Xilinx Zynq
I2C:   ready
DRAM:  ECC disabled 512 MiB
MMC:   sdhci@e0100000: 0
SF: Detected S25FL128S_64K with page size 256 Bytes, erase size 64 KiB, total 16 MiB
In:    serial@e0001000
Out:   serial@e0001000
Err:   serial@e0001000
Model: Zynq ZYBO Development Board
Board: Xilinx Zynq
Net:   ZYNQ GEM: e000b000, phyaddr 0, interface rgmii-id
I2C EEPROM MAC address read failed

Warning: ethernet@e000b000 (eth0) using random MAC address - aa:39:a6:0d:aa:d8
eth0: ethernet@e000b000
Checking if uenvcmd is set ...
Hit any key to stop autoboot:  3 2 1 0
reading download.bit
2083850 bytes read in 192 ms (10.4 MiB/s)
  design filename = "system_wrapper;UserID=0XFFFFFFFF;Version=2015.4"
  part number = "7z010clg400"
  date = "2017/07/05"
  time = "09:30:32"
  bytes in bitstream = 2083740
zynq_align_dma_buffer: Align buffer at 200006e to 2000000(swap 1)
Copying FIT from SD to RAM...
reading fit.itb
8497320 bytes read in 738 ms (11 MiB/s)
## Loading kernel from FIT Image at 02000000 ...
   Using 'conf@1' configuration
   Verifying Hash Integrity ... OK
   Trying 'kernel@1' kernel subimage
     Description:  Linux kernel
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x02000104
     Data Size:    3661408 Bytes = 3.5 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x00008000
     Entry Point:  0x00008000
     Hash algo:    sha1
     Hash value:   6bf49520f7629cf78c0caabd8401c00f83be01ac
   Verifying Hash Integrity ... sha1+ OK
## Loading ramdisk from FIT Image at 02000000 ...
   Using 'conf@1' configuration
   Trying 'ramdisk@1' ramdisk subimage
     Description:  arm zybo-linux-bd-zynq7 ramdisk
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x0237e060
     Data Size:    4804608 Bytes = 4.6 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    sha1
     Hash value:   4e568596c446a0761ff0a132fc0e73ee62731514
   Verifying Hash Integrity ... sha1+ OK
## Loading fdt from FIT Image at 02000000 ...
   Using 'conf@1' configuration
   Trying 'fdt@1' fdt subimage
     Description:  Flattened Device Tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x02813134
     Data Size:    29732 Bytes = 29 KiB
     Architecture: ARM
     Hash algo:    sha1
     Hash value:   c0e814e97ca8acf1c7ff865a13712b38a23c8921
   Verifying Hash Integrity ... sha1+ OK
   Booting using the fdt blob at 0x2813134
   Loading Kernel Image ... OK
   Loading Ramdisk to 1e68c000, end 1eb21000 ... OK
   Loading Device Tree to 1e681000, end 1e68b423 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.0.0-digilent (kevin@dell5) (gcc version 5.2.0 (GCC) ) #1 SMP PREEMPT Fri Jun 16 13:51:42 CEST 2017
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Digilent-Zybo-Linux-BD-v2015.4
[    0.000000] cma: Reserved 40 MiB at 0x1bc00000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] PERCPU: Embedded 11 pages/cpu @dfbc0000 s12672 r8192 d24192 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyPS0,115200 earlyprintk
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 466516K/524288K available (4980K kernel code, 198K rwdata, 1708K rodata, 228K init, 209K bss, 16812K reserved, 40960K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc06903ec   (6689 kB)
[    0.000000]       .init : 0xc0691000 - 0xc06ca000   ( 228 kB)
[    0.000000]       .data : 0xc06ca000 - 0xc06fbb00   ( 199 kB)
[    0.000000]        .bss : 0xc06fbb00 - 0xc072ffec   ( 210 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C: platform modifies aux control register: 0x02060000 -> 0x32460000
[    0.000000] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x32460000
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76460001
[    0.000000] slcr mapped to e0804000
[    0.000000] zynq_clock_init: clkc starts at e0804100
[    0.000000] Zynq clock init
[    0.000009] sched_clock: 64 bits at 325MHz, resolution 3ns, wraps every 3383112499200ns
[    0.000135] timer #0 at e0808000, irq=17
[    0.000538] Console: colour dummy device 80x30
[    0.000559] Calibrating delay loop... 1292.69 BogoMIPS (lpj=6463488)
[    0.040231] pid_max: default: 32768 minimum: 301
[    0.040376] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.040390] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.041037] CPU: Testing write buffer coherency: ok
[    0.041229] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.041317] Setting up static identity map for 0x4bfc10 - 0x4bfc68
[    0.190266] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.190343] Brought up 2 CPUs
[    0.190362] SMP: Total of 2 processors activated (2591.94 BogoMIPS).
[    0.190370] CPU: All CPU(s) started in SVC mode.
[    0.190876] devtmpfs: initialized
[    0.191434] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.193916] pinctrl core: initialized pinctrl subsystem
[    0.199120] NET: Registered protocol family 16
[    0.201255] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.230282] cpuidle: using governor ladder
[    0.260240] cpuidle: using governor menu
[    0.269174] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.269189] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.269335] zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xe0880000
[    0.282388] GPIO IRQ not connected
[    0.282405] XGpio: /amba_pl/gpio@41210000: registered, base is 902
[    0.282633] XGpio: /amba_pl/gpio@41230000: registered, base is 901
[    0.282836] GPIO IRQ not connected
[    0.282849] XGpio: /amba_pl/gpio@41200000: registered, base is 897
[    0.283042] GPIO IRQ not connected
[    0.283055] XGpio: /amba_pl/gpio@41220000: registered, base is 893
[    0.284092] SCSI subsystem initialized
[    0.284501] usbcore: registered new interface driver usbfs
[    0.284595] usbcore: registered new interface driver hub
[    0.284699] usbcore: registered new device driver usb
[    0.284916] usb_phy@0 supply vcc not found, using dummy regulator
[    0.285311] pps_core: LinuxPPS API ver. 1 registered
[    0.285323] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.285371] PTP clock support registered
[    0.285507] EDAC MC: Ver: 3.0.0
[    0.286258] Advanced Linux Sound Architecture Driver Initialized.
[    0.287044] Switched to clocksource arm_global_timer
[    0.300188] NET: Registered protocol family 2
[    0.300920] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.300979] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.301059] TCP: Hash tables configured (established 4096 bind 4096)
[    0.301105] TCP: reno registered
[    0.301121] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.301157] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.301355] NET: Registered protocol family 1
[    0.301678] RPC: Registered named UNIX socket transport module.
[    0.301691] RPC: Registered udp transport module.
[    0.301700] RPC: Registered tcp transport module.
[    0.301709] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.301943] Trying to unpack rootfs image as initramfs...
[    0.368128] Freeing initrd memory: 4692K (de68c000 - deb21000)
[    0.368359] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.369756] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.369858] audit: initializing netlink subsys (disabled)
[    0.369905] audit: type=2000 audit(0.359:1): initialized
[    0.371594] jffs2: version 2.2. (NAND) (SUMMARY)     2001-2006 Red Hat, Inc.
[    0.381107] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.381132] io scheduler noop registered
[    0.381148] io scheduler deadline registered
[    0.381209] io scheduler cfq registered (default)
[    0.381495] zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
[    0.383203] dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
[    0.383223] dma-pl330 f8003000.dmac:  DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
[    0.383676] xilinx-vdma 43000000.dma: Xilinx AXI VDMA Engine Driver Probed!!
[    0.383969] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.385743] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 145, base_baud = 6250000) is a xuartps
[    1.036307] console [ttyPS0] enabled
[    1.040518] xdevcfg f8007000.devcfg: ioremap 0xf8007000 to e081c000
[    1.047323] [drm] Initialized drm 1.1.0 20060810
[    1.052715] [drm] load() is defered & will be called again
[    1.058649] platform amba_pl:xilinx_drm: Driver xilinx-drm requests probe deferral
[    1.069456] brd: module loaded
[    1.078249] loop: module loaded
[    1.086886] m25p80 spi0.0: found s25fl128s, expected m25p80
[    1.092427] m25p80 spi0.0: s25fl128s (16384 Kbytes)
[    1.097287] 4 ofpart partitions found on MTD device spi0.0
[    1.102702] Creating 4 MTD partitions on "spi0.0":
[    1.107498] 0x000000000000-0x000000300000 : "boot"
[    1.113375] 0x000000300000-0x000000320000 : "bootenv"
[    1.119462] 0x000000320000-0x000000da0000 : "kernel"
[    1.125383] 0x000000da0000-0x000001000000 : "spare"
[    1.132286] CAN device driver interface
[    1.137314] libphy: MACB_mii_bus: probed
[    1.141163] mdio_bus e000b000.etherne: /amba/ethernet@e000b000/mdio has invalid PHY address
[    1.149517] mdio_bus e000b000.etherne: scan phy mdio at address 0
[    1.159377] mdio_bus e000b000.etherne: scan phy mdio at address 1
[    1.169098] mdio_bus e000b000.etherne: scan phy mdio at address 2
[    1.175177] mdio_bus e000b000.etherne: scan phy mdio at address 3
[    1.181294] mdio_bus e000b000.etherne: scan phy mdio at address 4
[    1.187385] mdio_bus e000b000.etherne: scan phy mdio at address 5
[    1.193454] mdio_bus e000b000.etherne: scan phy mdio at address 6
[    1.199566] mdio_bus e000b000.etherne: scan phy mdio at address 7
[    1.205631] mdio_bus e000b000.etherne: scan phy mdio at address 8
[    1.211722] mdio_bus e000b000.etherne: scan phy mdio at address 9
[    1.217810] mdio_bus e000b000.etherne: scan phy mdio at address 10
[    1.223963] mdio_bus e000b000.etherne: scan phy mdio at address 11
[    1.230149] mdio_bus e000b000.etherne: scan phy mdio at address 12
[    1.236307] mdio_bus e000b000.etherne: scan phy mdio at address 13
[    1.242486] mdio_bus e000b000.etherne: scan phy mdio at address 14
[    1.248655] mdio_bus e000b000.etherne: scan phy mdio at address 15
[    1.254812] mdio_bus e000b000.etherne: scan phy mdio at address 16
[    1.260990] mdio_bus e000b000.etherne: scan phy mdio at address 17
[    1.267160] mdio_bus e000b000.etherne: scan phy mdio at address 18
[    1.273318] mdio_bus e000b000.etherne: scan phy mdio at address 19
[    1.279496] mdio_bus e000b000.etherne: scan phy mdio at address 20
[    1.285652] mdio_bus e000b000.etherne: scan phy mdio at address 21
[    1.291832] mdio_bus e000b000.etherne: scan phy mdio at address 22
[    1.298002] mdio_bus e000b000.etherne: scan phy mdio at address 23
[    1.304158] mdio_bus e000b000.etherne: scan phy mdio at address 24
[    1.310335] mdio_bus e000b000.etherne: scan phy mdio at address 25
[    1.316492] mdio_bus e000b000.etherne: scan phy mdio at address 26
[    1.322669] mdio_bus e000b000.etherne: scan phy mdio at address 27
[    1.328841] mdio_bus e000b000.etherne: scan phy mdio at address 28
[    1.334998] mdio_bus e000b000.etherne: scan phy mdio at address 29
[    1.341176] mdio_bus e000b000.etherne: scan phy mdio at address 30
[    1.347346] mdio_bus e000b000.etherne: scan phy mdio at address 31
[    1.487208] macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 147 (aa:39:a6:0d:aa:d8)
[    1.497083] macb e000b000.ethernet eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=e000b000.etherne:00, irq=-1)
[    1.508916] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.515458] usbcore: registered new interface driver usb-storage
[    1.521668] e0002000.usb supply vbus not found, using dummy regulator
[    1.548355] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    1.553176] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    1.577081] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    1.583284] hub 1-0:1.0: USB hub found
[    1.586986] hub 1-0:1.0: 1 port detected
[    1.592575] mousedev: PS/2 mouse device common for all mice
[    1.598645] i2c /dev entries driver
[    1.602800] at24 0-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[    1.609494] cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 141
[    1.615892] cdns-i2c e0005000.i2c: 400 kHz mmio e0005000 irq 142
[    1.623468] Xilinx Zynq CpuIdle Driver started
[    1.628126] Driver 'mmcblk' needs updating - please use bus_type methods
[    1.634796] sdhci: Secure Digital Host Controller Interface driver
[    1.640923] sdhci: Copyright(c) Pierre Ossman
[    1.645252] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.651260] sdhci-arasan e0100000.sdhci: No vmmc regulator found
[    1.657205] sdhci-arasan e0100000.sdhci: No vqmmc regulator found
[    1.697102] mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA
[    1.704818] usbcore: registered new interface driver usbhid
[    1.710594] usbhid: USB HID core driver
[    1.717953] platform amba_pl:sound: Driver asoc-simple-card requests probe deferral

Boot ends here!

Previously working system also had this console output:


[    1.726276] TCP: cubic registered
[    1.729546] NET: Registered protocol family 17
[    1.733948] can: controller area network core (rev 20120528 abi 9)
[    1.740204] NET: Registered protocol family 29
[    1.744574] can: raw protocol (rev 20120528)
[    1.748863] can: broadcast manager protocol (rev 20120528 t)
[    1.754488] can: netlink gateway (rev 20130117) max_hops=1
[    1.760176] Registering SWP/SWPB emulation handler
[    1.767172] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.773810] [drm] No driver support for vblank timestamp query.
[    1.778668] mmc0: new high speed SDHC card at address e624
[    1.779145] mmcblk0: mmc0:e624 SS16G 14.8 GiB
[    1.781484]  mmcblk0: p1 p2
[    1.792486] xilinx-drm amba_pl:xilinx_drm: No connectors reported connected with modes
[    1.800348] [drm] Cannot find any crtc or sizes - going 1024x768
[    1.834831] Console: switching to colour frame buffer device 128x48
[    1.852795] xilinx-drm amba_pl:xilinx_drm: fb0:  frame buffer device
[    1.859123] xilinx-drm amba_pl:xilinx_drm: registered panic notifier
[    1.865457] [drm] Initialized xilinx_drm 1.0.0 20130509 on minor 0
[    1.877082] asoc-simple-card amba_pl:sound: ssm2602-hifi <-> 43c20000.axi_i2s_adi mapping ok
[    1.887251] input: gpio-keys as /devices/soc0/gpio-keys/input/input0
[    1.899183] ALSA device list:
[    1.902073]   #0: ZYBO-Sound-Card
[    1.905919] Freeing unused kernel memory: 228K (c0691000 - c06ca000)
INIT: version 2.88 booting
Starting udev
[    2.113070] udevd[643]: starting version 182
bootlogd: cannot allocate pseudo tty: No such file or directory
[    2.483477] random: dd urandom read with 8 bits of entropy available
Populating dev cache
Disable console blank
Mon Jul  3 11:21:27 UTC 2017
INIT: Entering runlevel: 5
Configuring network interfaces... udhcpc (v1.23.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
done.
Starting syslogd/klogd: done
Poky (Yocto Project Reference Distro) 2.0.3 zybo-linux-bd-zynq7 /dev/ttyPS0
zybo-linux-bd-zynq7 login:

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...