Sorry, you need to enable JavaScript to visit this website.

Boot doesn't seem to complete

Solved
3 posts / 0 new
geckoman's picture
geckoman
Junior(0)
Boot doesn't seem to complete

Hello, I just started playing with the PicoZed SDR platform and am trying to boot my system.
 
I started this system without the SD card (got it from someone else) so I followed the instructions to make myself a new card. I tried two different images (latest and one back--2015_R2-2016_07_26.img). 
 
During boot I get the following:
 
Hit any key to stop autoboot:  3 ... 2 ... 1 ... 0 

Copying Linux from QSPI flash to RAM...

SF: Detected N25Q256A with page size 256 Bytes, erase size 4 KiB, total 32 MiB

device 0 offset 0x100000, size 0x500000

SF: 5242880 bytes @ 0x100000 Read: OK

device 0 offset 0x600000, size 0x20000

SF: 131072 bytes @ 0x600000 Read: OK

Copying bitstream...

device 0 offset 0x1300000, size 0xd00000

SF: 13631488 bytes @ 0x1300000 Read: OK

  design filename = "system_top;UserID=0XFFFFFFFF;Version=2014.4.1"

  part number = "7z035ifbg676"

  date = "2015/10/29"

  time = "15:33:50"

  bytes in bitstream = 13321404

zynq_align_dma_buffer: Align buffer at 10006d to 100000(swap 1)

Copying ramdisk...

device 0 offset 0x620000, size 0x5e0000

SF: 6160384 bytes @ 0x620000 Read: OK

## Booting kernel from Legacy Image at 02080000 ...

   Image Name:   Linux-4.0.0-g90ab1b2

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    3345736 Bytes = 3.2 MiB

   Load Address: 00008000

   Entry Point:  00008000

   Verifying Checksum ... OK

## Loading init Ramdisk from Legacy Image at 04000000 ...

   Image Name:   

   Image Type:   ARM Linux RAMDisk Image (gzip compressed)

   Data Size:    4865049 Bytes = 4.6 MiB

   Load Address: 00000000

   Entry Point:  00000000

   Verifying Checksum ... OK

## Flattened Device Tree blob at 02000000

   Booting using the fdt blob at 0x2000000

   Loading Kernel Image ... OK

   Loading Ramdisk to 1fb5c000, end 1ffffc19 ... OK

   Loading Device Tree to 1fb55000, end 1fb5bffd ... OK

 

Starting kernel ...

 

Uncompressing Linux... done, booting the kernel.

Booting Linux on physical CPU 0x0

 

Linux version 4.0.0-g90ab1b2 (jenkins@romlx1) (gcc version 4.8.3 20140320 (prerelease) (Sourcery CodeBench Lite 2014.05-29) ) #12 SMP PREEMPT Tue Dec 15 09:51:51 GMT 2015

 

CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d

 

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

 

Machine model: Avnet ZYNQ PicoZed SDR2 (Z7035/AD9361)

 

bootconsole [earlycon0] enabled

 

cma: Reserved 128 MiB at 0x38000000

 

Memory policy: Data cache writealloc

 

PERCPU: Embedded 10 pages/cpu @eefd3000 s12096 r8192 d20672 u40960

 

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624

 

Kernel command line: console=ttyPS0,115200 rootfstype=ramfs root=/dev/ram0 rw earlyprintk

 

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: 896736K/1048576K available (4449K kernel code, 223K rwdata, 1792K rodata, 212K init, 133K bss, 20768K reserved, 131072K cma-reserved, 139264K 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 - 0xc06206d0   (6242 kB)

 

      .init : 0xc0621000 - 0xc0656000   ( 212 kB)

 

      .data : 0xc0656000 - 0xc068dfc0   ( 224 kB)

 

       .bss : 0xc068dfc0 - 0xc06af3e8   ( 134 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 f0006000

 

zynq_clock_init: clkc starts at f0006100

 

Zynq clock init

 

sched_clock: 16 bits at 54kHz, resolution 18432ns, wraps every 1207951633ns

 

timer #0 at f000a000, irq=16

 

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 0x434418 - 0x434470

 

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

 

hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.

 

hw-breakpoint: maximum watchpoint size is 4 bytes.

 

zynq-ocm f800c000.ps7-ocm: ZYNQ OCM pool: 256 KiB @ 0xf0080000

 

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

 

EDAC MC: Ver: 3.0.0

 

Advanced Linux Sound Architecture Driver Initialized.

 

Switched to clocksource ttc_clocksource

 

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

 

Trying to unpack rootfs image as initramfs...

 

Freeing initrd memory: 4752K (dfb5c000 - e0000000)

 

hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available

 

futex hash table entries: 512 (order: 3, 32768 bytes)

 

bounce: pool size: 64 pages

 

io scheduler noop registered

 

io scheduler deadline registered

 

io scheduler cfq registered (default)

 

dma-pl330 f8003000.ps7-dma: Loaded driver for PL330 DMAC-241330

 

dma-pl330 f8003000.ps7-dma: .DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16

 

e0001000.uart: ttyPS0 at MMIO 0xe0001000 (irq = 20, base_baud = 6249999) is a xuartps

‡console [ttyPS0] enabled

console [ttyPS0] enabled

 

bootconsole [earlycon0] disabled

bootconsole [earlycon0] disabled

 

xdevcfg f8007000.devcfg: ioremap 0xf8007000 to f005e000

[drm] Initialized drm 1.1.0 20060810

brd: module loaded

loop: module loaded

m25p80 spi32765.0: Controller not in SPI_TX_QUAD mode, just use extended SPI mode

m25p80 spi32765.0: n25q256a (32768 Kbytes)

6 ofpart partitions found on MTD device spi32765.0

Creating 6 MTD partitions on "spi32765.0":

0x000000000000-0x0000000e0000 : "qspi-fsbl-uboot"

0x0000000e0000-0x000000100000 : "qspi-uboot-env"

0x000000100000-0x000000600000 : "qspi-linux"

0x000000600000-0x000000620000 : "qspi-device-tree"

0x000000620000-0x000001300000 : "qspi-rootfs"

0x000001300000-0x000002000000 : "qspi-bitstream"

libphy: XEMACPS mii bus: probed

xemacps e000b000.eth: pdev->id -1, baseaddr 0xe000b000, irq 33

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

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

e0002000.usb supply vbus not found, using dummy regulator

ULPI transceiver vendor/product ID 0x0424/0x0007

Found SMSC USB3320 ULPI transceiver.

ULPI integrity check: passed.

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

at24 0-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write

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

hidraw: raw HID events driver (C) Jiri Kosina

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

ad7291: probe of 0-002f failed with error -5

platform 79020000.cf-ad9361-lpc: Driver cf_axi_adc requests probe deferral

ad9361 spi32766.0: ad9361_probe : enter

usb 1-1: new full-speed USB device number 2 using ci_hdrc

ad9361 spi32766.0: ad9361_probe : AD9361 Rev 2 successfully initialized

cf_axi_dds 79024000.cf-ad9361-dds-core-lpc: Analog Devices CF_AXI_DDS_DDS MASTER (8.00.b) at 0x79024000 mapped to 0xf0168000, probed DDS AD9361

TCP: cubic registered

NET: Registered protocol family 17

Registering SWP/SWPB emulation handler

input: Telink Wireless Receiver as /devices/soc0/amba@0/e0002000.usb/ci_hdrc.0/usb1/1-1/1-1:1.0/0003:248A:8566.0001/input/input0

hid-generic 0003:248A:8566.0001: input,hidraw0: USB HID v1.11 Keyboard [Telink Wireless Receiver] on usb-ci_hdrc.0-1/input0

input: Telink Wireless Receiver as /devices/soc0/amba@0/e0002000.usb/ci_hdrc.0/usb1/1-1/1-1:1.1/0003:248A:8566.0002/input/input1

hid-generic 0003:248A:8566.0002: input,hidraw1: USB HID v1.11 Mouse [Telink Wireless Receiver] on usb-ci_hdrc.0-1/input1

cf_axi_adc 79020000.cf-ad9361-lpc: ADI AIM (9.00.b) at 0x79020000 mapped to 0xf0170000, probed ADC AD9361 as MASTER

input: gpio_keys as /devices/soc0/gpio_keys/input/input2

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

ALSA device list:

  No soundcards found.

Freeing unused kernel memory: 212K (c0621000 - c0656000)

Starting logging: OK

Initializing random number generator... random: dd urandom read with 69 bits of entropy available

done.

Starting network...

 

Then it gives me a bare prompt (#) and doesn't do anything else.

 

Another strange occurrence is if I for example ls /etc, I get the following:

 

ls /etc

.[0;0mfstab.[0m          .[0;0minittab.[0m        .[0;0mld.so.conf.[0m     .[0;0mnsswitch.conf.[0m  .[0;0mrandom-seed.[0m

.[0;0mgroup.[0m          .[0;0minitt youab.bak.[0m    .[1;34mld.so.conf.d.[0m   .[0;0mos-release.[0m     .[1;36mresolv.conf.[0m

.[0;0mhostname.[0m       .[0;0minputrc.[0m        .[0;0mmke2fs.conf.[0m    .[0;0mpasswd.[0m         .[0;0msecuretty.[0m

.[0;0mhosts.[0m          .[0;0missue.[0m          .[1;36mmtab.[0m           .[0;0mprofile.[0m        .[0;0mservices.[0m

.[1;34minit.d.[0m         .[0;0mld.so.cache.[0m    .[1;34mnetwork.[0m        .[0;0mprotocols.[0m      .[0;0mshadow.[0m

 

This is consistent with the rest of the filesystem, but I can cat /etc/passwd and other files. I also confirmed that if I configure eth0 manually, it will get out to the Internet. However I don't have access to the update script or git or any other tools. Has anyone seen anything like this before?

 

Thank you!

geckoman's picture
geckoman
Junior(0)
May have figured it out

But it seems that the figure in SW1 is supposed to be set towards the RF connectors, but it seems to only work for me when I have it towards the HDMI connector on the carrier card. Any reason why that makes sense?

mbrown's picture
mbrown
Moderator(7)
Hi geckoman,

Hi geckoman,

Are you talking about the 3 boot select switches on the PicoZed SDR SOM? (s1,s3,s4)

If you want to boot from an SD card inserted into the FMC Carrier, then all 3 SOM switches should be moved away from the HDMI connector.

/Matt