2015-08-07

Hi All,

So I am trying to boot linux on zc706 from SD card. However, after the kernel is booted, the command prompt freezes and I cannot type any words. Any ideas on what is gonig on? I am using linaro file system but that should not be a big issue...

Many thanks!

Here is the information I get when trying to load kernel till the point where I cannot type anything in the terminal:

U-Boot 2015.04-00006-g95fc48f-dirty (Aug 04 2015 - 19:33:23)

Board: Xilinx Zynq
I2C: ready
DRAM: ECC disabled 1 GiB
MMC: zynq_sdhci: 0
SF: Detected S25FL128S_64K with page size 512 Bytes, erase size 128 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Board: Xilinx Zynq
Net: Gem.e000b000
Hit any key to stop autoboot: 0
Device: zynq_sdhci
Manufacturer ID: 1b
OEM: 534d
Name: 00000
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 3.7 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
reading uEnv.txt
** Unable to read file uEnv.txt **
Copying Linux from SD to RAM...
reading uImage
3559848 bytes read in 343 ms (9.9 MiB/s)
reading devicetree.dtb
12874 bytes read in 16 ms (785.2 KiB/s)
## Booting kernel from Legacy Image at 02080000 ...
Image Name: Linux-4.0.0-xilinx-11404-g8494e8
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3559784 Bytes = 3.4 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 02000000
Booting using the fdt blob at 0x2000000
Loading Kernel Image ... OK
Loading Device Tree to 1fff9000, end 1ffff249 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.0.0-xilinx-11404-g8494e82-dirty (tianzhao@herakles) (gcc version 4.7.3 (Sourcery CodeBench Lite 2013.05-40) ) #7 SMP PREEMPT Tue Aug 4 19:43:57 PDT 2015
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Zynq ZC706 Development Board
cma: Reserved 64 MiB at 0x3c000000
Memory policy: Data cache writealloc
PERCPU: Embedded 11 pages/cpu @eefd1000 s12672 r8192 d24192 u45056
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260624
Kernel command line: cma=64M console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait devtmpfs.mount=1
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 966636K/1048576K available (4839K kernel code, 222K rwdata, 1704K rodata, 220K init, 208K bss, 16404K reserved, 65536K cma-reserved, 204800K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc066c00c (6545 kB)
.init : 0xc066d000 - 0xc06a4000 ( 220 kB)
.data : 0xc06a4000 - 0xc06dba60 ( 223 kB)
.bss : 0xc06dba60 - 0xc070fd74 ( 209 kB)
Preemptible hierarchical RCU implementation.
Additional per-CPU info printed with stalls.
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: platform modifies aux control register: 0x72360000 -> 0x72760000
L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
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 0x76760001
slcr mapped to f0004000
zynq_clock_init: clkc starts at f0004100
Zynq clock init
sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 3298534883328ns
timer #0 at f0008000, irq=17
Console: colour dummy device 80x30
Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x491068 - 0x4910c0
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (2664.03 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
zynq-gpio e000a000.gpio: could not find pctldev for node /amba/slcr@f8000000/pinctrl@700/gpio0-default, deferring probe
platform e000a000.gpio: Driver zynq-gpio requests probe deferral
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 @ 0xf0080000
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
phy0 supply vcc not found, using dummy regulator
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.
Switched to clocksource arm_global_timer
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 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.
bounce: pool size: 64 pages
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
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
e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 26, base_baud = 3125000) is a xuartps
console [ttyPS0] enabled
xdevcfg f8007000.devcfg: ioremap 0xf8007000 to f006a000
[drm] Initialized drm 1.1.0 20060810
brd: module loaded
loop: module loaded
m25p80 spi0.0: found s25fl128s, expected n25q128a11
m25p80 spi0.0: s25fl128s (32768 Kbytes)
5 ofpart partitions found on MTD device spi0.0
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000100000 : "qspi-fsbl-uboot"
0x000000100000-0x000000600000 : "qspi-linux"
0x000000600000-0x000000620000 : "qspi-device-tree"
0x000000620000-0x000000c00000 : "qspi-rootfs"
0x000000c00000-0x000001000000 : "qspi-bitstream"
CAN device driver interface
libphy: MACB_mii_bus: probed
macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 28 (00:0a:35:00:01:22)
macb e000b000.ethernet eth0: attached PHY driver [Marvell 88E1116R] (mii_bus:phy_addr=e000b000.etherne:07, irq=-1)
e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
e1000e: Copyright(c) 1999 - 2014 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
usbcore: registered new interface driver usb-storage
e0002000.usb supply vbus not found, using dummy regulator
ci_hdrc ci_hdrc.0: EHCI Host Controller
ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 23
i2c i2c-0: Added multiplexed i2c bus 1
i2c i2c-0: Added multiplexed i2c bus 2
at24 3-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
i2c i2c-0: Added multiplexed i2c bus 3
i2c i2c-0: Added multiplexed i2c bus 4
rtc-pcf8563 5-0051: chip found, driver version 0.4.3
rtc-pcf8563 5-0051: rtc core: registered rtc-pcf8563 as rtc0
i2c i2c-0: Added multiplexed i2c bus 5
i2c i2c-0: Added multiplexed i2c bus 6
i2c i2c-0: Added multiplexed i2c bus 7
i2c i2c-0: Added multiplexed i2c bus 8
pca954x 0-0074: registered 8 multiplexed busses for I2C switch pca9548
ucd9000 8-0065: Device ID UCD90120A|2.3.4.0000|110603
Xilinx Zynq CpuIdle Driver started
Driver 'mmcblk' needs updating - please use bus_type methods
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
si570 1-005d: registered, current frequency 148500000 Hz
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
rtc-pcf8563 5-0051: setting system clock to 1970-01-03 22:08:18 UTC (252498)
ALSA device list:
No soundcards found.
mmc0: new high speed SDHC card at address 59b4
Waiting for root device /dev/mmcblk0p2...
mmcblk0: mmc0:59b4 00000 3.67 GiB
mmcblk0: p1 p2
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 220K (c066d000 - c06a4000)
random: init urandom read with 23 bits of entropy available
init: ureadahead main process (645) terminated with status 5with status 1
* Starting Mount filesystems on boot[ OK ]
* Starting Signal sysvinit that the rootfs is mounted[ OK ]
* Starting Fix-up sensitive /proc filesystem entries[ OK ]
* Starting Populate /dev filesystem[ OK ]
* Stopping Fix-up sensitive /proc filesystem entries[ OK ]
* Stopping Populate /dev filesystem[ OK ]
* Starting Clean /tmp directory[ OK ]
* Starting Populate and link to /run filesystem[ OK ]
* Stopping Populate and link to /run filesystem[ OK ]
* Stopping Clean /tmp directory[ OK ]
* Stopping Track if upstart is running in a container[ OK ]
* Starting cgroup management daemon[ OK ]
* Starting Initialize or finalize resolvconf[ OK ]
* Starting set console keymap[ OK ]
* Starting Signal sysvinit that virtual filesystems are mounted[ OK ]
* Starting Signal sysvinit that virtual filesystems are mounted[ OK ]
* Starting Bridge udev events into upstart[ OK ]
* Stopping set console keymap[ OK ]
* Starting Signal sysvinit that local filesystems are mounted[ OK ]
* Starting restore software rfkill state[ OK ]
* Starting cgroup management proxy[ OK ]
* Stopping restore software rfkill state[ OK ]
* Starting Signal sysvinit that remote filesystems are mounted[ OK ]
* Starting device node and kernel event manager[ OK ]
* Starting flush early job output to logs[ OK ]
* Stopping Mount filesystems on boot[ OK ]
* Stopping flush early job output to logs[ OK ]
* Starting load modules from /etc/modules[ OK ]
* Starting log initial device creation[ OK ]
* Starting cold plug devices[ OK ]
* Starting D-Bus system message bus[ OK ]
* Starting system logging daemon[ OK ]
* Stopping load modules from /etc/modules[ OK ]
* Starting mDNS/DNS-SD daemon[ OK ]
* Stopping cold plug devices[ OK ]
* Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated[ OK ]
* Stopping log initial device creation[ OK ]
* Starting load fallback graphics devices[ OK ]
* Starting configure network device security[ OK ]
* Starting configure network device security[ OK ]
* Stopping Reload cups, upon starting avahi-daemon to make sure remote queues are populated[ OK ]
* Stopping load fallback graphics devices[ OK ]
* Starting set console font[ OK ]
* Starting save udev log and update rules[ OK ]
* Starting configure network device[ OK ]
* Starting configure network device security[ OK ]
* Stopping set console font[ OK ]
* Starting userspace bootsplash[ OK ]
* Stopping userspace bootsplash[ OK ]
* Starting Send an event to indicate plymouth is up[ OK ]
* Starting CUPS printing spooler/server[ OK ]
* Starting configure network device[ OK ]
* Starting Mount network filesystems[ OK ]
* Starting Failsafe Boot Delay[ OK ]
* Stopping Failsafe Boot Delay[ OK ]
* Starting System V initialisation compatibility[ OK ]
* Starting modem connection manager[ OK ]
* Starting configure network device security[ OK ]
* Stopping Mount network filesystems[ OK ]
* Starting configure virtual network devices[ OK ]
* Starting cups-browsed - Bonjour remote printer browsing daemon[ OK ]
* Starting bluetooth daemon[ OK ]
* Starting network connection manager[ OK ]
* Starting bluetooth daemon[ OK ]
* Starting Bridge socket events into upstart[ OK ]
* Starting bluetooth daemon[ OK ]
* Starting Bridge file events into upstart[ OK ]
* Starting bluetooth daemon[ OK ]
[ OK ]ting up X socket directories...
* Starting bluetooth daemon[ OK ]
* Starting bluetooth daemon[ OK ]
* Starting bluetooth daemon[ OK ]
* Starting bluetooth daemon[ OK ]
* Starting bluetooth daemon[ OK ]
* Stopping System V initialisation compatibility[ OK ]
* Starting System V runlevel compatibility[ OK ]
* Starting save kernel messages[ OK ]
* Starting regular background program processing daemon[ OK ]
* Starting anac(h)ronistic cron[ OK ]
* Stopping Restore Sound Card State[ OK ]
* Stopping save kernel messages[ OK ]
* Starting GNOME Display Manager[ OK ]
* Stopping Send an event to indicate plymouth is up[ OK ]
* Starting OpenSSH server[ OK ]
* Starting automatic crash report generation[ OK ]
* Stopping Restore Sound Card State[ OK ]
* Starting bluetooth daemon[ OK ]
* Starting bluetooth daemon[ OK ]
* Starting bluetooth daemon[ OK ]
* Starting bluetooth daemon[ OK ]
* Starting bluetooth daemon[ OK ]
[ OK ]rting NTP server ntpd
* Starting bluetooth daemon[ OK ]
* Starting bluetooth daemon[fail]
SpamAssassin Mail Filter Daemon: disabled, see /etc/default/spamassassin
* Stopping bluetooth daemon[ OK ]
* Starting Mount filesystems on boot[ OK ]
* Starting Signal sysvinit that the rootfs is mounted[ OK ]
* Starting Fix-up sensitive /proc filesystem entries[ OK ]
* Starting Populate /dev filesystem[ OK ]
* Stopping Fix-up sensitive /proc filesystem entries[ OK ]
* Stopping Populate /dev filesystem[ OK ]
* Starting Clean /tmp directory[ OK ]
* Starting Populate and link to /run filesystem[ OK ]
* Stopping Populate and link to /run filesystem[ OK ]
* Stopping Clean /tmp directory[ OK ]
* Stopping Track if upstart is running in a container[ OK ]
* Starting cgroup management daemon[ OK ]
* Starting Initialize or finalize resolvconf[ OK ]
* Starting set console keymap[ OK ]
* Starting Signal sysvinit that virtual filesystems are mounted[ OK ]
* Starting Signal sysvinit that virtual filesystems are mounted[ OK ]
* Starting Bridge udev events into upstart[ OK ]
* Stopping set console keymap[ OK ]
* Starting Signal sysvinit that local filesystems are mounted[ OK ]
* Starting restore software rfkill state[ OK ]
* Starting cgroup management proxy[ OK ]
* Stopping restore software rfkill state[ OK ]
* Starting Signal sysvinit that remote filesystems are mounted[ OK ]
* Starting device node and kernel event manager[ OK ]
* Starting flush early job output to logs[ OK ]
* Stopping Mount filesystems on boot[ OK ]
* Stopping flush early job output to logs[ OK ]
* Starting load modules from /etc/modules[ OK ]
* Starting log initial device creation[ OK ]
* Starting cold plug devices[ OK ]
* Starting D-Bus system message bus[ OK ]
* Starting system logging daemon[ OK ]
* Stopping load modules from /etc/modules[ OK ]
* Starting mDNS/DNS-SD daemon[ OK ]
* Stopping cold plug devices[ OK ]
* Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated[ OK ]
* Stopping log initial device creation[ OK ]
* Starting load fallback graphics devices[ OK ]
* Starting configure network device security[ OK ]
* Starting configure network device security[ OK ]
* Stopping Reload cups, upon starting avahi-daemon to make sure remote queues are populated[ OK ]
* Stopping load fallback graphics devices[ OK ]
* Starting set console font[ OK ]
* Starting save udev log and update rules[ OK ]
* Starting configure network device[ OK ]
* Starting configure network device security[ OK ]
* Stopping set console font[ OK ]
* Starting userspace bootsplash[ OK ]
* Stopping userspace bootsplash[ OK ]
* Starting Send an event to indicate plymouth is up[ OK ]
* Starting CUPS printing spooler/server[ OK ]
* Starting configure network device[ OK ]
* Starting Mount network filesrting System V runlevel compatibility[ OK ]
* Starting save kernel messages[ OK ]
* Starting regular background program processing daemon[ OK ]
* Star@Z��anac(h)ronistic cron[ OK ]
* Stopping Restore Sound Card State[ OK ]
* Stopping save kernel messages[ OK ]
* Starting GNOME Display Manager[ OK ]
* Stopping Send an event to indicate plymouth is up[ OK ]
* Starting OpenSSH server[ OK ]
* Starting automatic crash report generation[ OK ]
* Stopping Restore Sound Card State[ OK ]
* Starting bluetooth daemon[ OK ]
* Starting bluetooth daemon[ OK ]
* Starting bluetooth daemon[ OK ]
* Starting bluetooth daemon[ OK ]
* Stopping System V runlevel compatibility[ OK ]

Last login: Sat Jan 3 21:51:15 UTC 1970 on tty1
Welcome to Ubuntu 14.10 (GNU/Linux 4.0.0-xilinx-11404-g8494e82-dirty armv7l)

* Documentation: http://www.linaro.org
systemd-logind[1495]: Failed to start unit user@0.service: Unknown unit: user@0.service
systemd-logind[1495]: Failed to start user service: Unknown unit: user@0.service
root@linaro-gnome:~#

Show more