Red pitaya could not start

Just about everything about Red Pitaya
Post Reply
wangfera
Posts: 2
Joined: Thu May 19, 2016 4:46 am

Red pitaya could not start

Post by wangfera » Fri Jul 08, 2016 9:38 am

I have got a Red Pitaya.I used 32GB micro SD card.I used Win32DiskImager to write the image into SD card.But it could not start.I get the starting information.It said that Unable to mount root fs on unknown-block.What's the problem?How can I solve it?

Starting information:

U-Boot 2015.04 (Sep 19 2015 - 21:13:35), Build: jenkins-RedPitaya-Ecosystem-internal-master-375

Board: Xilinx Zynq
I2C: ready
DRAM: ECC disabled 480 MiB
I2C:EEPROM selection failed
MMC: zynq_sdhci: 0
In: serial
Out: serial
Err: serial
Board: Xilinx Zynq
Net: Gem.e000b000
Hit any key to stop autoboot: 3 2 1 0
Running script from SD...
Device: zynq_sdhci
Manufacturer ID: 0
OEM: 3000
Name: APPSD
Tran Speed: 50000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 31.3 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
reading u-boot.scr
576 bytes read in 13 ms (43 KiB/s)
## Executing script at 02000000
Set devicetree and ramdisk high loading address to 512MB-64MB
Loading from SD card (FAT file system) to memory
Device: zynq_sdhci
Manufacturer ID: 0
OEM: 3000
Name: APPSD
Tran Speed: 50000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 31.3 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
reading uImage
3973408 bytes read in 266 ms (14.2 MiB/s)
reading devicetree.dtb
12419 bytes read in 15 ms (807.6 KiB/s)
Booting Linux kernel with ramdisk and devicetree
## Booting kernel from Legacy Image at 02001000 ...
Image Name: Linux-3.18.0-xilinx
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3973344 Bytes = 3.8 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 04000000
Booting using the fdt blob at 0x4000000
Loading Kernel Image ... OK
Loading Device Tree to 1bff9000, end 1bfff082 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 3.18.0-xilinx (jenkins@dragon) (gcc version 4.9.3 20141031 (prerelease) (Linaro GCC 2014.11) ) #1 SMP PREEMPT Sat Sep 19 21:16:12 CEST 2015
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: xlnx,zynq-7000
cma: Reserved 16 MiB at 0x1d000000
Memory policy: Data cache writealloc
PERCPU: Embedded 10 pages/cpu @5cc10000 s8704 r8192 d24064 u40960
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 121920
Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 ro rootfstype=ext4 earlyprintk rootwait
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: 462656K/491520K available (5444K kernel code, 336K rwdata, 1776K rodata, 216K init, 238K bss, 28864K reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xffe00000 (2048 kB)
vmalloc : 0x5e800000 - 0xff000000 (2568 MB)
lowmem : 0x40000000 - 0x5e000000 ( 480 MB)
pkmap : 0x3fe00000 - 0x40000000 ( 2 MB)
modules : 0x3f000000 - 0x3fe00000 ( 14 MB)
.text : 0x40008000 - 0x40715384 (7221 kB)
.init : 0x40716000 - 0x4074c000 ( 216 kB)
.data : 0x4074c000 - 0x407a00e0 ( 337 kB)
.bss : 0x407a00e0 - 0x407db9bc ( 239 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.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 ID prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 512 kB
L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76360001
slcr mapped to 5e804000
zynq_clock_init: clkc starts at 5e804100
Zynq clock init
sched_clock: 64 bits at 249MHz, resolution 4ns, wraps every 2199023255552ns
timer #0 at 5e806000, irq=43
Console: colour dummy device 80x30
Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x52d860 - 0x52d8b8
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
cpuidle: using governor ladder
cpuidle: using governor menu
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0x5e880000
VCCPINT: 1000 mV
vgaarb: loaded
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
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
EDAC MC: Ver: 3.0.0
Advanced Linux Sound Architecture Driver Initialized.
cfg80211: Calling CRDA to update world regulatory domain
Switched to clocksource arm_global_timer
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
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
futex hash table entries: 512 (order: 3, 32768 bytes)
jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
msgmni has been set to 935
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
xuartps e0000000.serial: ttyPS0 at MMIO 0xe0000000 (irq = 59, base_baud = 6249999) is a xuartps
console [ttyPS0] enabled
xuartps e0001000.serial: ttyPS1 at MMIO 0xe0001000 (irq = 82, base_baud = 6249999) is a xuartps
xdevcfg f8007000.devcfg: ioremap 0xf8007000 to 5e86e000
[drm] Initialized drm 1.1.0 20060810
brd: module loaded
loop: module loaded
CAN device driver interface
e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
e1000e: Copyright(c) 1999 - 2014 Intel Corporation.
libphy: XEMACPS mii bus: probed
xemacps e000b000.ethernet: pdev->id -1, baseaddr 0xe000b000, irq 54
usbcore: registered new interface driver rt2800usb
usbcore: registered new interface driver rtl8192cu
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ULPI transceiver vendor/product ID 0x0424/0x0007
Found SMSC USB3320 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 cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
at24 0-0050: 8192 byte 24c64 EEPROM, writable, 32 bytes/write
cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 57
zynq-edac f8006000.memory-controller: ecc not enabled
Xilinx Zynq CpuIdle Driver started
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-arasan e0100000.sdhci: No vmmc regulator found
sdhci-arasan e0100000.sdhci: No vqmmc regulator found
mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA
ledtrig-cpu: registered to indicate activity on CPUs
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
nf_conntrack version 0.5.0 (7485 buckets, 29940 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP: cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
Registering SWP/SWPB emulation handler
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
mmc0: new high speed SDHC card at address 211d
mmcblk0: mmc0:211d APPSD 31.2 GiB
mmcblk0: p1 p2
ALSA device list:
No soundcards found.
JBD2: no valid journal superblock found
EXT4-fs (mmcblk0p2): error loading journal
List of all partitions:
b300 32769024 mmcblk0 driver: mmcblk
b301 120832 mmcblk0p1 22199813-01
b302 3459072 mmcblk0p2 22199813-02
No filesystem could mount root, tried: ext4
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
CPU1: stopping
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.18.0-xilinx #1
[<400146d8>] (unwind_backtrace) from [<40010c94>] (show_stack+0x10/0x14)
[<40010c94>] (show_stack) from [<40528574>] (dump_stack+0x84/0xc8)
[<40528574>] (dump_stack) from [<400130c8>] (ipi_cpu_stop+0x3c/0x6c)
[<400130c8>] (ipi_cpu_stop) from [<400136b4>] (handle_IPI+0x64/0x84)
[<400136b4>] (handle_IPI) from [<400085ac>] (gic_handle_irq+0x54/0x5c)
[<400085ac>] (gic_handle_irq) from [<40011600>] (__irq_svc+0x40/0x74)
Exception stack(0x5c46ff80 to 0x5c46ffc8)
ff80: 43d72dd0 00000000 43d72dd0 00000000 5cc1af30 407975c0 00000000 4052fe84
ffa0: 435bbd74 00000000 00000000 5c46e000 00000009 5c46ffc8 4005de30 403c3624
ffc0: 00000113 ffffffff
[<40011600>] (__irq_svc) from [<403c3624>] (cpuidle_enter_state+0x4c/0xc8)
[<403c3624>] (cpuidle_enter_state) from [<40047ed0>] (cpu_startup_entry+0x174/0x1f4)
[<40047ed0>] (cpu_startup_entry) from [<00008644>] (0x8644)
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-blo
ck(179,2)

User avatar
redpitaya
Site Admin
Posts: 912
Joined: Wed Mar 26, 2014 7:04 pm

Re: Red pitaya could not start

Post by redpitaya » Fri Jul 08, 2016 11:18 am

Hi, have you installed latest OS from: http://redpitaya.com/quick-start/ ? Do you have maybe another SD card to test?

wangfera
Posts: 2
Joined: Thu May 19, 2016 4:46 am

Re: Red pitaya could not start

Post by wangfera » Fri Jul 08, 2016 2:06 pm

redpitaya wrote:Hi, have you installed latest OS from: http://redpitaya.com/quick-start/ ? Do you have maybe another SD card to test?
I have installed latest OS from: http://redpitaya.com/quick-start/.It also could not start and the output messege is same.I didn't use another SD card to test.Does the 32GB SD card is too large? What is suitable memory space?Is 8GB OK?

Nils Roos
Posts: 1441
Joined: Sat Jun 07, 2014 12:49 pm
Location: Königswinter

Re: Red pitaya could not start

Post by Nils Roos » Sun Jul 17, 2016 8:14 pm

I don't think that 32GB is too large, writing the image to the card makes it look as though there are 4GB available, no matter the actual capacity. 4GB is the minimum size that is required, so 8GB is ok, too.

From the look of your trace, I'd say either the card is defective or writing of the image was not complete - it takes quite some time to write the full image.

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 116 guests