Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#13952 closed defect (fixed)

RT5350 ochi can't start. Trunk 37551.

Reported by: gapleehit@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

I compile openwrt select MPR-A2, I got this boot log:

U-Boot 1.1.3 (Apr 11 2013 - 00:10:51)

Board: Ralink APSoC DRAM: 32 MB
relocate_code Pointer at: 81fb4000
spi_wait_nsec: 42
spi device id: ef 40 17 0 0 (40170000)
find flash: W25Q64BV
raspi_read: from:30000 len:1000
.* Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 3.6.0.0


ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: EEPROM
DRAM_SIZE: 256 Mbits SDR
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 32 MBytes
Flash component: SPI Flash
Date:Apr 11 2013 Time:00:10:51
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

##### The CPU freq = 360 MHZ ####
estimate memory size =32 Mbytes

Please choose the operation:

1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP. 3

You choosed 3

0

3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
. Image Name: Linux Kernel Image

Created: 2013-07-26 16:27:27 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 960943 Bytes = 938.4 kB
Load Address: 80000000
Entry Point: 80000000

raspi_read: from:50040 len:ea9af
............... Verifying Checksum ... OK

Uncompressing Kernel Image ... OK

No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32

Starting kernel ...

[ 0.000000] Linux version 3.10.3 (lich@lich-pc) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2012.12 r37551) ) #2 Sat Jul 27 00:27:09 CST 2013
[ 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 HAME MPR-A2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] User-defined 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 mem=32M
[ 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=0004c61a
[ 0.000000] Readback ErrCtl register=0004c61a
[ 0.000000] Memory: 29420k/32768k available (2101k kernel code, 3348k reserved, 520k data, 192k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:128
[ 0.000000] CPU Clock: 360MHz
[ 0.000000] systick: runing - mult: 214748, shift: 32
[ 0.000000] Calibrating delay loop... 479.23 BogoMIPS (lpj=2396160)
[ 0.060000] pid_max: default: 32768 minimum: 301
[ 0.060000] Mount-cache hash table entries: 512
[ 0.070000] NET: Registered protocol family 16
[ 0.090000] bio: create slab <bio-0> at 0
[ 0.100000] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.100000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.110000] Switching to clocksource systick
[ 0.120000] NET: Registered protocol family 2
[ 0.120000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.140000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.140000] TCP: Hash tables configured (established 512 bind 512)
[ 0.160000] TCP: reno registered
[ 0.160000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.190000] NET: Registered protocol family 1
[ 0.200000] rt-timer 10000100.timer: maximum frequncy is 7324Hz
[ 0.240000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.260000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.280000] msgmni has been set to 57
[ 0.290000] io scheduler noop registered
[ 0.300000] io scheduler deadline registered (default)
[ 0.310000] gpio-export gpio_export.5: 2 gpio(s) exported
[ 0.330000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.330000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A
[ 0.360000] console [ttyS0] enabled, bootconsole disabled
[ 0.360000] console [ttyS0] enabled, bootconsole disabled
[ 0.380000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[ 0.400000] 4 ofpart partitions found on MTD device spi0.0
[ 0.400000] Creating 4 MTD partitions on "spi0.0":
[ 0.420000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.430000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.450000] 0x000000040000-0x000000050000 : "factory"
[ 0.450000] 0x000000050000-0x000000800000 : "firmware"
[ 0.470000] 0x00000013a9ef-0x000000800000 : "rootfs"
[ 0.490000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.510000] mtd: partition "rootfs" set to be root filesystem
[ 0.530000] mtd: partition "rootfs_data" created automatically, ofs=0x300000, len=0x500000
[ 0.530000] 0x000000300000-0x000000800000 : "rootfs_data"
[ 0.560000] eth0: done loading
[ 0.570000] rt2880_wdt 10000120.watchdog: Initialized
[ 0.590000] TCP: cubic registered
[ 0.590000] NET: Registered protocol family 17
[ 0.590000] 8021q: 802.1Q VLAN Support v1.8
[ 0.620000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 0.640000] Freeing unused kernel memory: 192K (80290000 - 802c0000)
procd: Console is alive
procd: - watchdog -
[ 5.120000] usbcore: registered new interface driver usbfs
[ 5.140000] usbcore: registered new interface driver hub
[ 5.140000] usbcore: registered new device driver usb
[ 5.350000] Button Hotplug driver version 0.4.1
[ 5.470000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.490000] ehci-platform: EHCI generic platform driver
[ 5.510000] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 5.510000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 5.530000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 5.570000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 5.570000] hub 1-0:1.0: USB hub found
[ 5.590000] hub 1-0:1.0: 1 port detected
[ 5.700000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.720000] ohci-platform 101c1000.ohci: Generic Platform OHCI Controller
[ 5.730000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2

===============================================================

Until this, the openwrt seems be trapped and after about 1 minute or longer, openwrt restarts automatically.

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by gapleehit@…

Trunk 36898(The revision MPR-A2 is first added ) runs ok.

U-Boot 1.1.3 (Apr 11 2013 - 00:10:51)

Board: Ralink APSoC DRAM: 32 MB
relocate_code Pointer at: 81fb4000

Software System Reset Occurred

spi_wait_nsec: 42
spi device id: ef 40 17 0 0 (40170000)
find flash: W25Q64BV
raspi_read: from:30000 len:1000
.* Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 3.6.0.0


ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: EEPROM
DRAM_SIZE: 256 Mbits SDR
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 32 MBytes
Flash component: SPI Flash
Date:Apr 11 2013 Time:00:10:51
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

##### The CPU freq = 360 MHZ ####
estimate memory size =32 Mbytes

Please choose the operation:

1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP. 0

3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
. Image Name: Linux Kernel Image

Created: 2013-07-26 20:21:17 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 956010 Bytes = 933.6 kB
Load Address: 80000000
Entry Point: 80000000

raspi_read: from:50040 len:e966a
............... Verifying Checksum ... OK

Uncompressing Kernel Image ... OK

No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32

Starting kernel ...

[ 0.000000] Linux version 3.8.13 (lich@lich-pc) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2012.12 r36898) ) #1 Sat Jul 27 04:20:58 CST 2013
[ 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 HAME MPR-A2
[ 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] ex_table already sorted, skipping sort
[ 0.000000] Writing ErrCtl register=00004e70
[ 0.000000] Readback ErrCtl register=00004e70
[ 0.000000] Memory: 29424k/32768k available (2087k kernel code, 3344k reserved, 515k data, 212k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:128
[ 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] NET: Registered protocol family 16
[ 0.120000] bio: create slab <bio-0> at 0
[ 0.130000] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.140000] Switching to clocksource MIPS
[ 0.150000] NET: Registered protocol family 2
[ 0.160000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.180000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.190000] TCP: Hash tables configured (established 512 bind 512)
[ 0.200000] TCP: reno registered
[ 0.210000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.220000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.230000] NET: Registered protocol family 1
[ 0.240000] rt-timer 10000100.timer: maximum frequncy is 7324Hz
[ 0.290000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.300000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.320000] msgmni has been set to 57
[ 0.330000] io scheduler noop registered
[ 0.340000] io scheduler deadline registered (default)
[ 0.350000] gpio-export gpio_export.3: 2 gpio(s) exported
[ 0.360000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.380000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A
[ 0.390000] console [ttyS0] enabled, bootconsole disabled
[ 0.390000] console [ttyS0] enabled, bootconsole disabled
[ 0.430000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[ 0.440000] 4 ofpart partitions found on MTD device spi0.0
[ 0.450000] Creating 4 MTD partitions on "spi0.0":
[ 0.460000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.470000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.480000] 0x000000040000-0x000000050000 : "factory"
[ 0.500000] 0x000000050000-0x000000800000 : "firmware"
[ 0.510000] found squashfs behind kernel
[ 0.520000] Creating 2 MTD partitions on "spi0.0":
[ 0.530000] 0x000000050000-0x0000001396aa : "kernel"
[ 0.540000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.570000] 0x0000001396aa-0x000000800000 : "rootfs"
[ 0.580000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.610000] mtd: partition "rootfs" set to be root filesystem
[ 0.620000] mtd: partition "rootfs_data" created automatically, ofs=300000, len=500000
[ 0.630000] 0x000000300000-0x000000800000 : "rootfs_data"
[ 0.650000] rt305x-esw 10110000.esw: link changed 0x08
[ 0.670000] eth0: done loading
[ 0.680000] TCP: cubic registered
[ 0.680000] NET: Registered protocol family 17
[ 0.690000] 8021q: 802.1Q VLAN Support v1.8
[ 0.720000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 0.740000] Freeing unused kernel memory: 212k freed
[ 5.570000] input: gpio-keys-polled.2 as /devices/gpio-keys-polled.2/input/input0
[ 5.710000] Button Hotplug driver version 0.4.1

  • preinit -

Press the [f] key and hit [enter] to enter failsafe mode

  • regular preinit -

[ 9.540000] jffs2: notice: (412) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 8 of xref (0 dead, 2 orphan) found.
switching to jffs2

  • init -

Please press Enter to activate this console. [ 10.900000] compat-drivers backport release: compat-drivers-2013-03-28-5
[ 10.920000] Backport based on wireless-testing.git master-2013-04-16
[ 10.930000] compat.git: wireless-testing.git
[ 10.980000] cfg80211: Calling CRDA to update world regulatory domain
[ 10.990000] cfg80211: World regulatory domain updated:
[ 11.000000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 11.020000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 11.040000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 11.050000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 11.070000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 11.080000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 11.720000] NET: Registered protocol family 10
[ 12.650000] usbcore: registered new interface driver usbfs
[ 12.660000] usbcore: registered new interface driver hub
[ 12.680000] usbcore: registered new device driver usb
[ 13.470000] rt2800_wmac 10180000.wmac: failed to load eeprom property
[ 13.480000] phy0 -> rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'.
[ 13.500000] phy0 -> rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected
[ 13.520000] phy0 -> rt2x00_set_rf: Info - RF chipset 5350 detected
[ 13.610000] PPP generic driver version 2.4.2
[ 13.920000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 14.120000] xt_time: kernel timezone is -0000
[ 14.270000] NET: Registered protocol family 24
[ 14.300000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 14.330000] ehci-platform: EHCI generic platform driver
[ 15.350000] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 15.360000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 15.370000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 15.410000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 15.420000] hub 1-0:1.0: USB hub found
[ 15.430000] hub 1-0:1.0: 1 port detected
[ 15.460000] nf_conntrack version 0.5.0 (463 buckets, 1852 max)
[ 16.300000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 16.540000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 16.560000] ohci-platform 101c1000.ohci: Generic Platform OHCI Controller
[ 16.570000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 16.590000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 16.660000] hub 2-0:1.0: USB hub found
[ 16.670000] hub 2-0:1.0: 1 port detected
[ 16.760000] usbcore: registered new interface driver cdc_acm
[ 16.770000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 16.960000] usbcore: registered new interface driver usbserial
[ 16.980000] usbcore: registered new interface driver usbserial_generic
[ 16.990000] usbserial: USB Serial support registered for generic
[ 17.030000] usbcore: registered new interface driver asix
[ 17.060000] usbcore: registered new interface driver cdc_ether
[ 17.290000] usbcore: registered new interface driver rndis_host
[ 17.330000] usbcore: registered new interface driver option
[ 17.340000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 25.650000] device eth0.1 entered promiscuous mode
[ 25.660000] device eth0 entered promiscuous mode
[ 25.680000] br-lan: port 1(eth0.1) entered forwarding state
[ 25.690000] br-lan: port 1(eth0.1) entered forwarding state
[ 26.640000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 27.290000] ralink-wdt: timeout value 60 must be 0 < timeout <= 35, using 30
[ 27.690000] br-lan: port 1(eth0.1) entered forwarding state

BusyBox v1.19.4 (2013-07-27 04:02:30 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

_

| |.-----.-----.-----.| | | |.----.| |_

| - |_
_ | -| | | _ _|
|_||| ||

|| W I R E L E S S F R E E D O M

-----------------------------------------------------
BARRIER BREAKER (Bleeding Edge, r36898)
-----------------------------------------------------

  • 1/2 oz Galliano Pour all ingredients into
  • 4 oz cold Coffee an irish coffee mug filled
  • 1 1/2 oz Dark Rum with crushed ice. Stir.
  • 2 tsp. Creme de Cacao

-----------------------------------------------------

root@OpenWrt:/#
======================================================================================

comment:2 Changed 5 years ago by blogic

  • Resolution set to fixed
  • Status changed from new to closed

fixed it just now. however the rt5350 wifi seems to be broken

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.