Hi, I currently have difficulty in getting Ubuntu running on my zedboard. I am using the tutorial 'Zedboard Ubuntu, Vivado 2013.4' which I obtained from | Zedboard . I'm using Vivado 2013.4 as well as CentOS8 as my Virtual machine with Windows 10 as my host. My problem is that at the final stage(experiment 8) my zedboard fails to boot with ubuntu. The error that is displayed from teraterm is as follows-
Device: zynq_sdhci
Manufacturer ID: 3
OEM: 5344
Name: SU04G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 3.7 GiB
Bus Width: 4-bit
reading uEnv.txt
** Unable to read file uEnv.txt **
Copying Linux from SD to RAM...RFS in ext4...
reading uImage
2946168 bytes read in 282 ms (10 MiB/s)
reading devicetree.dtb
9802 bytes read in 14 ms (683.6 KiB/s)
## Booting kernel from Legacy Image at 03000000 ...
Image Name: Linux-3.13.0-g5aa6400
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2946104 Bytes = 2.8 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 02a00000
Booting using the fdt blob at 0x2a00000
Loading Kernel Image ... OK
Loading Device Tree to 1fb29000, end 1fb2e649 ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 3.13.0-g5aa6400 (ron@ubuntu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #1 SMP PREEMPT Thu Apr 24 15:16:47 PDT 2014
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Xilinx Zynq ZED
bootconsole [earlycon0] enabled
cma: CMA: reserved 40 MiB at 1d000000
Memory policy: Data cache writealloc
PERCPU: Embedded 7 pages/cpu @c09e2000 s7616 r8192 d12864 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
Kernel command line: = console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait devtmpfs.mount=0
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 472628K/524288K available (3922K kernel code, 237K rwdata, 1484K rodata, 183K init, 128K bss, 51660K reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc054fb08 (5407 kB)
.init : 0xc0550000 - 0xc057ddc0 ( 184 kB)
.data : 0xc057e000 - 0xc05b9440 ( 238 kB)
.bss : 0xc05b944c - 0xc05d94a4 ( 129 kB)
Preemptible hierarchical RCU implementation.
Dump stacks of tasks blocking RCU-preempt GP.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
NR_IRQS:16 nr_irqs:16 16
slcr mapped to e0802000
Zynq clock init
sched_clock: 16 bits at 54kHz, resolution 18432ns, wraps every 1207951633ns
timer #0 at e0804000, irq=43
Console: colour dummy device 80x30
Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x3b4518 - 0x3b454c
L310 cache controller enabled
l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72360000, Cache size: 512 kB
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated.
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
zynq-gpio e000a000.gpio: gpio at 0xe000a000 mapped to 0xe080e000
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
zynq-ocm fffc0000.ps7-ocm: ZYNQ OCM pool: 256 KiB @ 0xe0880000
zynq-ocm fffc0000.ps7-ocm: can't request region for resource [mem 0xfffc0000-0xffffffff]
zynq-ocm: probe of fffc0000.ps7-ocm failed with error -16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
media: Linux media interface: v0.10
Linux video capture interface: v2.00
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksource ttc_clocksource
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
msgmni has been set to 1003
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
dma-pl330 f8003000.ps7-dma: Loaded driver for PL330 DMAC-2364208
dma-pl330 f8003000.ps7-dma: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
e0001000.uart: ttyPS0 atconsole [ttyPS0] enabled
console [ttyPS0] enabled
bootconsole [earlycon0] disabled
bootconsole [earlycon0] disabled
xdevcfg f8007000.devcfg: ioremap 0xf8007000 to e0814000
[drm] Initialized drm 1.1.0 20060810
platform 70e00000.axi_hdmi: Driver axi-hdmi requests probe deferral
brd: module loaded
loop: module loaded
zynq-qspi e000d000.qspi: master is unqueued, this is deprecated
m25p80 spi32766.0: found s25fl256s1, expected m25p80
m25p80 spi32766.0: s25fl256s1 (32768 Kbytes)
5 ofpart partitions found on MTD device spi32766.0
Creating 5 MTD partitions on "spi32766.0":
0x000000000000-0x000000500000 : "boot"
0x000000500000-0x000000520000 : "bootenv"
0x000000520000-0x000000540000 : "config"
0x000000540000-0x000000fc0000 : "image"
0x000000fc0000-0x000002000000 : "spare"
zynq-qspi e000d000.qspi: at 0xE000D000 mapped to 0xE0816000, irq=51
libphy: XEMACPS mii bus: probed
xemacps e000b000.eth: pdev->id -1, baseaddr 0xe000b000, irq 54
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ULPI transceiver vendor/product ID 0x0451/0x1507
Found TI TUSB1210 ULPI transceiver.
ULPI integrity check: passed.
zynq-ehci zynq-ehci.0: Xilinx Zynq USB EHCI Host Controller
zynq-ehci zynq-ehci.0: new USB bus registered, assigned bus number 1
zynq-ehci zynq-ehci.0: irq 53, io mem 0x00000000
zynq-ehci zynq-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver ftdi_sio
usbserial: USB Serial support registered for FTDI USB Serial Device
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
zynq-wdt f8005000.swdt: Xilinx Watchdog Timer at e081c000 with timeout 10s
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-arasan e0100000.sdhci: dummy supplies not allowed
mmc0: no vqmmc regulator found
sdhci-arasan e0100000.sdhci: dummy supplies not allowed
mmc0: no vmmc regulator found
mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA
ledtrig-cpu: registered to indicate activity on CPUs
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
adv7511-hdmi-snd adv7511_hdmi_snd.4: adv7511 <-> 75c00000.axi-spdif-tx mapping ok
mmc0: new high speed SDHC card at address e624
mmcblk0: mmc0:e624 SU04G 3.69 GiB
mmcblk0: p1 p2
zed-adau1761-snd zed_sound.5: adau-hifi <-> 77600000.axi-i2s mapping ok
TCP: cubic registered
NET: Registered protocol family 17
Registering SWP/SWPB emulation handler
axi-hdmi 70e00000.axi_hdmi: No connectors reported connected with modes
[drm] Cannot find any crtc or sizes - going 1024x768
Console: switching to colour frame buffer device 128x48
axi-hdmi 70e00000.axi_hdmi: fb0: frame buffer device
axi-hdmi 70e00000.axi_hdmi: registered panic notifier
[drm] Initialized axi_hdmi_drm 1.0.0 20120930 on minor 0
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
ALSA device list:
#0: HDMI monitor
#1: ZED ADAU1761
JBD2: Unrecognised features on journal
EXT4-fs (mmcblk0p2): error loading journal
List of all partitions:
1f00 5120 mtdblock0 (driver?)
1f01 128 mtdblock1 (driver?)
1f02 128 mtdblock2 (driver?)
1f03 10752 mtdblock3 (driver?)
1f04 16640 mtdblock4 (driver?)
b300 3872256 mmcblk0 driver: mmcblk
b301 53248 mmcblk0p1 34c47715-01
b302 3814400 mmcblk0p2 34c47715-02
No filesystem could mount root, tried: ext4
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.13.0-g5aa6400 #1
[<c00135d8>] (unwind_backtrace+0x0/0xe0) from [<c0010ab4>] (show_stack+0x10/0x14)
[<c0010ab4>] (show_stack+0x10/0x14) from [<c03afc34>] (dump_stack+0x78/0xc8)
[<c03afc34>] (dump_stack+0x78/0xc8) from [<c03ae2cc>] (panic+0x84/0x1d8)
[<c03ae2cc>] (panic+0x84/0x1d8) from [<c0550fcc>] (mount_block_root+0x244/0x290)
[<c0550fcc>] (mount_block_root+0x244/0x290) from [<c05512bc>] (prepare_namespace+0x15c/0x1bc)
[<c05512bc>] (prepare_namespace+0x15c/0x1bc) from [<c0550c38>] (kernel_init_freeable+0x178/0x1c0)
[<c0550c38>] (kernel_init_freeable+0x178/0x1c0) from [<c03acf98>] (kernel_init+0x8/0x100)
[<c03acf98>] (kernel_init+0x8/0x100) from [<c000db38>] (ret_from_fork+0x14/0x3c)
CPU1: stopping
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.13.0-g5aa6400 #1
[<c00135d8>] (unwind_backtrace+0x0/0xe0) from [<c0010ab4>] (show_stack+0x10/0x14)
[<c0010ab4>] (show_stack+0x10/0x14) from [<c03afc34>] (dump_stack+0x78/0xc8)
[<c03afc34>] (dump_stack+0x78/0xc8) from [<c0012010>] (ipi_cpu_stop+0x3c/0x68)
[<c0012010>] (ipi_cpu_stop+0x3c/0x68) from [<c00126ac>] (handle_IPI+0x5c/0x7c)
[<c00126ac>] (handle_IPI+0x5c/0x7c) from [<c00084d4>] (gic_handle_irq+0x50/0x58)
[<c00084d4>] (gic_handle_irq+0x50/0x58) from [<c0011580>] (__irq_svc+0x40/0x70)
Exception stack(0xdcc85fa0 to 0xdcc85fe8)
5fa0: c09ea718 00000000 00000000 00000000 dcc84000 c05b934b c0586464 c03b6c40
5fc0: 0000406a 413fc090 00000000 00000000 00000000 dcc85fe8 c000e62c c000e630
5fe0: 60000113 ffffffff
[<c0011580>] (__irq_svc+0x40/0x70) from [<c000e630>] (arch_cpu_idle+0x24/0x2c)
[<c000e630>] (arch_cpu_idle+0x24/0x2c) from [<c004d9a4>] (cpu_startup_entry+0xa8/0x10c)
[<c004d9a4>] (cpu_startup_entry+0xa8/0x10c) from [<00008564>] (0x8564)
drm_kms_helper: panic occurred, switching back to text console
I have done everything as stated in the tutorial, but I still receive this error. When I checked appendix 5 its written that the kernel panic occurs when the rootfs is not present in the ext4 second partition. I partitioned the sd card using gparted in centos and have extracted the linaro ubuntu files into the second ext4 partition. Upon searching online I found a solution here- https://stackoverflow.com/questions/50220156/error-in-booting-from-usd-card-no-filesystem-could-mount-root-triedext4
Using the solution there I canceled the autoboot and entered the command suggested,setenv bootargs console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait, and saveenv. It boots and then freezes at booting kernel
Device: zynq_sdhci
Manufacturer ID: 3
OEM: 5344
Name: SU04G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 3.7 GiB
Bus Width: 4-bit
reading uEnv.txt
** Unable to read file uEnv.txt **
Copying Linux from SD to RAM...RFS in ext4...
reading uImage
2946168 bytes read in 282 ms (10 MiB/s)
reading devicetree.dtb
9802 bytes read in 14 ms (683.6 KiB/s)
## Booting kernel from Legacy Image at 03000000 ...
Image Name: Linux-3.13.0-g5aa6400
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2946104 Bytes = 2.8 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 02a00000
Booting using the fdt blob at 0x2a00000
Loading Kernel Image ... OK
Loading Device Tree to 1fb29000, end 1fb2e649 ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
It would be great if someone could help me with this. I'd also like to mention that I used the prebuilt files provided in the tutorial for the first fat32 partition, which are the three files boot.bin, devicetree.dtb and uImage. I did so because I had difficulties using the arm cross compiler in Linux. Thanks in advance!