Doesn't boot automatically

jmendeth
 
Posts: 6
Joined: Wed Dec 10, 2014 6:54 pm

Doesn't boot automatically

Wed Dec 10, 2014 7:03 pm

I've been playing with the VoCore, and when I built and uploaded my sysupgrade image, it doesn't start.
This is everything it prints:

Code: Select all
U-Boot for VoCore(based on RT5350)Warning: un-recognized chip ID, please update bootloader!
.
Version: May 30 2014 20:52:36

Press 'x' to console...


Booting image at bc050000 .
   Image Name:   MIPS OpenWrt Linux-3.10.49
   Created:      2014-12-10  13:02:26 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1006262 Bytes = 982.7 kB
   Load Address: 80000000
   Entry Point:  80000000
   Load Kernel:  ................

   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

[    0.000000] Linux version 3.10.49 (xavier@xavier-pad) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43321) ) #1 Wed Dec 10 14:02:19 CET 2014
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] MIPS: machine is VoCore
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Linux version 3.10.49 (xavier@xavier-pad) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43321) ) #1 Wed Dec 10 14:02:19 CET 2014
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] MIPS: machine is VoCore
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Linux version 3.10.49 (xavier@xavier-pad) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43321) ) #1 Wed Dec 10 14:02:19 CET 2014
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] MIPS: machine is VoCore
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)


However, if I press "x" and manually tell U-boot to boot, it starts correctly:

Code: Select all
U-Boot for VoCore(based on RT5350)Warning: un-recognized chip ID, please update bootloader!
.
Version: May 30 2014 20:52:36

Press 'x' to console...

.
VoCore> bootm bc050000

Booting image at bc050000 .
   Image Name:   MIPS OpenWrt Linux-3.10.49
   Created:      2014-12-10  13:02:26 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1006262 Bytes = 982.7 kB
   Load Address: 80000000
   Entry Point:  80000000
   Load Kernel:  ................

   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

[    0.000000] Linux version 3.10.49 (xavier@xavier-pad) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43321) ) #1 Wed Dec 10 14:02:19 CET 2014
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] MIPS: machine is VoCore
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00042c30
[    0.000000] Readback ErrCtl register=00042c30
[    0.000000] Memory: 29348k/32768k available (2162k kernel code, 3420k reserved, 557k data, 156k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 360MHz
[    0.000000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 512
[    0.080000] pinctrl core: initialized pinctrl subsystem
[    0.090000] NET: Registered protocol family 16
[    0.140000] bio: create slab <bio-0> at 0
[    0.150000] rt2880_gpio 10000600.gpio: registering 22 gpios
[    0.160000] rt2880_gpio 10000600.gpio: registering 22 irq handlers
[    0.170000] rt2880_gpio 10000660.gpio: registering 6 gpios
[    0.180000] rt2880_gpio 10000660.gpio: registering 6 irq handlers
[    0.190000] Switching to clocksource MIPS
[    0.200000] NET: Registered protocol family 2
[    0.210000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.230000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.240000] TCP: Hash tables configured (established 512 bind 512)
[    0.250000] TCP: reno registered
[    0.260000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.270000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.280000] NET: Registered protocol family 1
[    0.290000] rt-timer 10000100.timer: maximum frequncy is 7324Hz
[    0.350000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.360000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.380000] msgmni has been set to 57
[    0.390000] io scheduler noop registered
[    0.400000] io scheduler deadline registered (default)
[    0.420000] gpio-export gpio-export.4: 17 gpio(s) exported
[    0.440000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.450000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.470000] console [ttyS0] enabled, bootconsole disabled
[    0.470000] console [ttyS0] enabled, bootconsole disabled
[    0.500000] m25p80 spi32766.0: found w25q128, expected s25fl064k
[    0.510000] m25p80 spi32766.0: w25q128 (16384 Kbytes)
[    0.520000] 4 ofpart partitions found on MTD device spi32766.0
[    0.530000] Creating 4 MTD partitions on "spi32766.0":
[    0.550000] 0x000000000000-0x000000030000 : "uboot"
[    0.560000] 0x000000030000-0x000000040000 : "uboot-env"
[    0.570000] 0x000000040000-0x000000050000 : "factory"
[    0.590000] 0x000000050000-0x000001000000 : "firmware"
[    0.600000] 0x000000145af6-0x000001000000 : "rootfs"
[    0.610000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.640000] mtd: device 4 (rootfs) set to be root filesystem
[    0.650000] mtd: partition "rootfs_data" created automatically, ofs=0x330000, len=0xcd0000
[    0.670000] 0x000000330000-0x000001000000 : "rootfs_data"
[    0.700000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[    0.710000] rt3xxx-usbphy usbphy.3: loaded
[    0.720000] rt2880_wdt 10000120.watchdog: Initialized
[    0.730000] TCP: cubic registered
[    0.740000] NET: Registered protocol family 17
[    0.750000] 8021q: 802.1Q VLAN Support v1.8
[    0.780000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.800000] Freeing unused kernel memory: 156K (802a9000 - 802d0000)
procd: Console is alive
procd: - watchdog -
[    6.800000] usbcore: registered new interface driver usbfs
[    6.810000] usbcore: registered new interface driver hub
[    6.820000] usbcore: registered new device driver usb
[    6.840000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.860000] ehci-platform: EHCI generic platform driver
[    7.070000] rt3xxx-usbphy usbphy.3: remote usb device wakeup disabled
[    7.080000] rt3xxx-usbphy usbphy.3: UTMI 16bit 30MHz
[    7.090000] ehci-platform 101c0000.ehci: EHCI Host Controller
[    7.100000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    7.120000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    7.150000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    7.160000] hub 1-0:1.0: USB hub found
[    7.170000] hub 1-0:1.0: 1 port detected
[    7.180000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.190000] ohci-platform 101c1000.ohci: Generic Platform OHCI Controller
[    7.210000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    7.220000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    7.290000] hub 2-0:1.0: USB hub found
[    7.300000] hub 2-0:1.0: 1 port detected
[    7.310000] leds-gpio gpio-leds.5: pins are not configured from the driver
procd: - preinit -
[    8.430000] rt305x-esw 10110000.esw: link changed 0x00
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
jffs2 is ready
jffs2 is ready
[   12.500000] jffs2: notice: (313) jffs2_build_xattr_subsystem: complete building xattr subsystem, 17 of xdatum (0 unchecked, 16 orphan) and 23 of xref (0 dead, 16 orp.
switching to overlay
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[   15.190000] NET: Registered protocol family 10
[   15.210000] nf_conntrack version 0.5.0 (461 buckets, 1844 max)
[   15.240000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.280000] i2c-ralink 10000900.i2c: loaded
[   15.300000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[   15.320000] Backport generated by backports.git backports-20140320-37-g5c33da0
[   15.340000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.420000] xt_time: kernel timezone is -0000
[   15.470000] cfg80211: Calling CRDA to update world regulatory domain
[   15.480000] cfg80211: World regulatory domain updated:
[   15.490000] cfg80211:  DFS Master region: unset
[   15.500000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   15.520000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   15.540000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   15.550000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   15.570000] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[   15.590000] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   15.600000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   15.620000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   15.630000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   15.750000] PPP generic driver version 2.4.2
[   15.760000] NET: Registered protocol family 24
[   15.820000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected
[   15.840000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350 detected
procd: - init complete -


Does anybody know what's happening?
PS: I did the fix on VOCORE.dts before building.

Vonger
 
Posts: 896
Joined: Sun Oct 19, 2014 6:00 am

Re: Doesn't boot automatically

Fri Dec 12, 2014 12:54 pm

do you mean it stopped here?
[ 0.000000] memory: 02000000 @ 00000000 (usable)

jmendeth
 
Posts: 6
Joined: Wed Dec 10, 2014 6:54 pm

Re: Doesn't boot automatically

Sat Dec 13, 2014 11:53 am

Code: Select all
[    0.000000]  memory: 02000000 @ 00000000 (usable)


That's correct, this is the last message it prints (when I let it boot).

jmendeth
 
Posts: 6
Joined: Wed Dec 10, 2014 6:54 pm

Re: Doesn't boot automatically

Sat Dec 13, 2014 11:55 am

After printing this, it won't do anything else.
I have to remove the power and start it again.

Vonger
 
Posts: 896
Joined: Sun Oct 19, 2014 6:00 am

Re: Doesn't boot automatically

Sun Dec 14, 2014 12:23 pm

First time meet such problem.
I guess it is initrd problem. Maybe check Linux kernel code to find out what is happening there. Do you modify any factory setting or initrd parameters?

jmendeth
 
Posts: 6
Joined: Wed Dec 10, 2014 6:54 pm

Re: Doesn't boot automatically

Sun Dec 14, 2014 4:05 pm

This is what I did:

1. Downloaded OpenWRT 14.07 directly (without Git)
2. Modified VOCORE.dts as said in the wiki
3. make menuconfig
4. make
5. Uploaded sysupgrade image via LuCI.

jmendeth
 
Posts: 6
Joined: Wed Dec 10, 2014 6:54 pm

Re: Doesn't boot automatically

Sun Dec 14, 2014 5:32 pm

I did the steps again (downloaded everything again, etc.) and it's working now...
Weird.

Thanks for the help anyway. :)

Return to VoCore & VoCore+Dock

Who is online

Users browsing this forum: No registered users and 26 guests