Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Boot HLK-RM02 various configs
root@OpenWrt:/# dmesg
[ 0.000000] Linux version 3.10.13 (bogdan@osc) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r38333) ) #7 Thu Dec 26 17:46:27 EET 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 HILINK HLK-RM04
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 01000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x00ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x00ffffff]
[ 0.000000] On node 0 totalpages: 4096
[ 0.000000] free_area_init_node: node 0, pgdat 80258990, node_mem_map 802d0f20
[ 0.000000] Normal zone: 32 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 4096 pages, LIFO batch:0
[ 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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2 mem=16M
[ 0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Writing ErrCtl register=00058f10
[ 0.000000] Readback ErrCtl register=00058f10
[ 0.000000] Memory: 13300k/16384k available (2102k kernel code, 3084k reserved, 368k data, 216k 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.060000] 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.110000] rt2880-pinmux pinctrl.1: try to register 42 pins ...
[ 0.110000] pinctrl core: registered pin 0 (io0) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 1 (io1) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 2 (io2) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 3 (io3) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 4 (io4) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 5 (io5) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 6 (io6) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 7 (io7) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 8 (io8) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 9 (io9) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 10 (io10) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 11 (io11) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 12 (io12) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 13 (io13) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 14 (io14) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 15 (io15) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 16 (io16) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 17 (io17) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 18 (io18) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 19 (io19) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 20 (io20) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 21 (io21) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 22 (io22) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 23 (io23) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 24 (io24) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 25 (io25) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 26 (io26) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 27 (io27) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 28 (io28) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 29 (io29) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 30 (io30) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 31 (io31) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 32 (io32) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 33 (io33) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 34 (io34) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 35 (io35) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 36 (io36) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 37 (io37) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 38 (io38) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 39 (io39) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 40 (io40) on rt2880-pinmux
[ 0.110000] pinctrl core: registered pin 41 (io41) on rt2880-pinmux
[ 0.110000] pinctrl core: add 3 pinmux maps
[ 0.110000] rt2880-pinmux pinctrl.1: found group selector 4 for jtag
[ 0.110000] rt2880-pinmux pinctrl.1: invalid group "rgmii" for function "gpio"
[ 0.120000] rt2880-pinmux pinctrl.1: invalid group "mdio" for function "gpio"
[ 0.150000] bio: create slab <bio-0> at 0
[ 0.160000] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.170000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.180000] Switching to clocksource MIPS
[ 0.190000] NET: Registered protocol family 2
[ 0.200000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.220000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.230000] TCP: Hash tables configured (established 512 bind 512)
[ 0.240000] TCP: reno registered
[ 0.250000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.260000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.270000] NET: Registered protocol family 1
[ 0.280000] rt-timer 10000100.timer: maximum frequncy is 7324Hz
[ 0.300000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
[ 0.330000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.340000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.370000] msgmni has been set to 25
[ 0.380000] io scheduler noop registered
[ 0.380000] io scheduler deadline registered (default)
[ 0.400000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.410000] serial8250 serial8250: no of_node; not parsing pinctrl DT
[ 0.410000] pinctrl core: add 1 pinmux maps
[ 0.410000] rt2880-pinmux pinctrl.1: found group selector 3 for uartlite
[ 0.410000] rt2880-pinmux pinctrl.1: request pin 15 (io15) for 10000c00.uartlite
[ 0.410000] rt2880-pinmux pinctrl.1: request pin 16 (io16) for 10000c00.uartlite
[ 0.410000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A
[ 0.430000] console [ttyS0] enabled, bootconsole disabled
[ 0.450000] 10000500.uart: ttyS1 at MMIO 0x10000500 (irq = 13) is a 16550A
[ 0.470000] m25p80 spi32766.0: found w25q32, expected s25fl064k
[ 0.490000] m25p80 spi32766.0: w25q32 (4096 Kbytes)
[ 0.500000] 4 ofpart partitions found on MTD device spi32766.0
[ 0.510000] Creating 4 MTD partitions on "spi32766.0":
[ 0.520000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.530000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.550000] 0x000000040000-0x000000050000 : "factory"
[ 0.560000] 0x000000050000-0x000000400000 : "firmware"
[ 0.570000] 0x000000128946-0x000000400000 : "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.630000] mtd: partition "rootfs_data" created automatically, ofs=0x2a0000, len=0x160000
[ 0.640000] 0x0000002a0000-0x000000400000 : "rootfs_data"
[ 0.670000] eth0: done loading
[ 0.670000] rt3xxx-usbphy ubsphy.3: loaded
[ 0.680000] rt2880_wdt 10000120.watchdog: Initialized
[ 0.700000] TCP: cubic registered
[ 0.700000] NET: Registered protocol family 17
[ 0.710000] 8021q: 802.1Q VLAN Support v1.8
[ 0.740000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 0.760000] Freeing unused kernel memory: 216K (8026a000 - 802a0000)
[ 6.810000] usbcore: registered new interface driver usbfs
[ 6.830000] usbcore: registered new interface driver hub
[ 6.840000] usbcore: registered new device driver usb
[ 6.850000] Button Hotplug driver version 0.4.1
[ 6.870000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.880000] ehci-platform: EHCI generic platform driver
[ 7.090000] rt3xxx-usbphy ubsphy.3: remote usb device wakeup disabled
[ 7.110000] rt3xxx-usbphy ubsphy.3: UTMI 16bit 30MHz
[ 7.120000] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 7.130000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 7.140000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 7.180000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 7.190000] usb usb1: no of_node; not parsing pinctrl DT
[ 7.190000] hub 1-0:1.0: no of_node; not parsing pinctrl DT
[ 7.190000] hub 1-0:1.0: USB hub found
[ 7.200000] hub 1-0:1.0: 1 port detected
[ 7.210000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 7.220000] ohci-platform 101c1000.ohci: Generic Platform OHCI Controller
[ 7.240000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 7.250000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 7.320000] usb usb2: no of_node; not parsing pinctrl DT
[ 7.320000] hub 2-0:1.0: no of_node; not parsing pinctrl DT
[ 7.320000] hub 2-0:1.0: USB hub found
[ 7.330000] hub 2-0:1.0: 1 port detected
[ 7.340000] leds-gpio gpio-leds.5: pins are not configured from the driver
[ 7.350000] rt2880-pinmux pinctrl.1: request pin 0 (io0) for pio:0
[ 7.360000] rt2880-pinmux pinctrl.1: request pin 14 (io14) for pio:14
[ 7.360000] rt2880-pinmux pinctrl.1: pin 14 is not set to gpio mux
[ 7.370000] rt2880-pinmux pinctrl.1: request() failed for pin 14
[ 7.380000] rt2880-pinmux pinctrl.1: pin-14 (pio:14) status -22
[ 7.400000] gpio-keys-polled gpio-keys-polled.4: unable to claim gpio 14, err=-22
[ 7.410000] gpio-keys-polled: probe of gpio-keys-polled.4 failed with error -22
[ 7.850000] rt305x-esw 10110000.esw: link changed 0x00
[ 9.560000] rt305x-esw 10110000.esw: link changed 0x10
[ 12.120000] NET: Registered protocol family 10
[ 12.150000] nf_conntrack version 0.5.0 (211 buckets, 844 max)
[ 12.170000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 12.210000] usbcore: registered new interface driver cdc_acm
[ 12.220000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 12.240000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5
[ 12.260000] Backport generated by backports.git backports-20130617-4-ge3220f5
[ 12.280000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 12.320000] usbcore: registered new interface driver usbserial
[ 12.330000] usbcore: registered new interface driver usbserial_generic
[ 12.340000] usbserial: USB Serial support registered for generic
[ 12.380000] xt_time: kernel timezone is -0000
[ 12.400000] usbcore: registered new interface driver asix
[ 12.410000] usbcore: registered new interface driver cdc_ether
[ 12.460000] cfg80211: Calling CRDA to update world regulatory domain
[ 12.480000] cfg80211: World regulatory domain updated:
[ 12.490000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 12.500000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 12.520000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 12.530000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 12.550000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 12.560000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 12.640000] usbcore: registered new interface driver rndis_host
[ 12.680000] usbcore: registered new interface driver option
[ 12.700000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 12.740000] rt2800_wmac 10180000.wmac: failed to load eeprom property
[ 12.750000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'.
[ 12.970000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected
[ 12.980000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350 detected
[ 13.000000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 16.680000] rt305x-esw 10110000.esw: link changed 0x00
[ 18.140000] device eth0.1 entered promiscuous mode
[ 18.150000] device eth0 entered promiscuous mode
[ 18.160000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 18.170000] br-lan: port 1(eth0.1) entered forwarding state
[ 18.180000] br-lan: port 1(eth0.1) entered forwarding state
[ 18.320000] rt305x-esw 10110000.esw: link changed 0x10
[ 20.180000] br-lan: port 1(eth0.1) entered forwarding state
[ 22.000000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 22.020000] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 22.030000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[ 35.170000] jffs2: notice: (692) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
U-Boot 1.1.3 (Jul 31 2013 - 23:35:04)
Board: Ralink APSoC DRAM: 16 MB
relocate_code Pointer at: 80fb4000
spi_wait_nsec: 42
spi device id: ef 40 16 0 0 (40160000)
find flash: W25Q32BV
raspi_read: from:30000 len:1000
.raspi_read: from:30000 len:1000
.============================================
Ralink UBoot Version: 3.6.0.0
--------------------------------------------
ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: EEPROM
DRAM_SIZE: 128 Mbits SDR
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 16 MBytes
Flash component: SPI Flash
Date:Jul 31 2013 Time:23:35:04
============================================
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 =16 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: HLK-RM02
Created: 2013-07-23 12:01:07 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3289822 Bytes = 3.1 MB
Load Address: 80000000
Entry Point: 8024e000
raspi_read: from:50040 len:3232de
................................................... Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 8024e000) ...
## Giving linux memsize in MB, 16
Starting kernel ...
U-Boot 1.1.3 (Jul 31 2013 - 23:35:04)
Board: Ralink APSoC DRAM: 16 MB
relocate_code Pointer at: 80fb4000
spi_wait_nsec: 42
spi device id: ef 40 16 0 0 (40160000)
find flash: W25Q32BV
raspi_read: from:30000 len:1000
.raspi_read: from:30000 len:1000
.============================================
Ralink UBoot Version: 3.6.0.0
--------------------------------------------
ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: EEPROM
DRAM_SIZE: 128 Mbits SDR
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 16 MBytes
Flash component: SPI Flash
Date:Jul 31 2013 Time:23:35:04
============================================
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 =16 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.
You choosed 1
0
raspi_read: from:40028 len:6
.
1: System Load Linux to SDRAM via TFTP.
Please Input new ones /or Ctrl-C to discard
Input device IP (192.168.16.1) ==:192.168.16.1
Input server IP (192.168.16.100) ==:192.168.16.100
Input Linux Kernel filename (/tmp/hlk-rm04.bin) ==:/tmp/hlk-rm04.bin
netboot_common, argc= 3
NetTxPacket = 0x80FE5EC0
KSEG1ADDR(NetTxPacket) = 0xA0FE5EC0
NetLoop,call eth_halt !
NetLoop,call eth_init !
Trying Eth0 (10/100-M)
Waitting for RX_DMA_BUSY status Start... done
Header Payload scatter function is Disable !!
ETH_STATE_ACTIVE!!
Using Eth0 (10/100-M) device
TFTP from server 192.168.16.100; our IP address is 192.168.16.1
Filename '/tmp/hlk-rm04.bin'.
TIMEOUT_COUNT=10,Load address: 0x80800000
Loading: Got ARP REPLY, set server/gtwy eth addr (f0:bf:97:dd:2e:0c)
Got it
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##
done
Bytes transferred = 3670020 (380004 hex)
NetBootFileXferSize= 00380004
Automatic boot of image at addr 0x80800000 ...
## Booting image at 80800000 ...
Image Name: HLK-RM02
Created: 2013-10-31 2:41:16 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 962362 Bytes = 939.8 kB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 16
Starting kernel ...
[ 0.000000] Linux version 3.10.12 (lich@lich-pc) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r38025) ) #10 Thu Oct 31 10:41:02 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 HILINK HLK-RM04
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 01000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x00ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x00ffffff]
[ 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 off. Total pages: 4064
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2 mem=16M
[ 0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Writing ErrCtl register=00058e10
[ 0.000000] Readback ErrCtl register=00058e10
[ 0.000000] Memory: 13176k/16384k available (2104k kernel code, 3208k reserved, 526k data, 184k 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.290000] msgmni has been set to 25
[ 0.290000] io scheduler noop registered
[ 0.290000] 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] 10000500.uart: ttyS1 at MMIO 0x10000500 (irq = 13) is a 16550A
[ 0.400000] m25p80 spi32766.0: found w25q32, expected s25fl064k
[ 0.420000] m25p80 spi32766.0: w25q32 (4096 Kbytes)
[ 0.420000] 4 ofpart partitions found on MTD device spi32766.0
[ 0.440000] Creating 4 MTD partitions on "spi32766.0":
[ 0.440000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.460000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.470000] 0x000000040000-0x000000050000 : "factory"
[ 0.490000] 0x000000050000-0x000000400000 : "firmware"
[ 0.500000] 0x00000037331e-0x000000400000 : "rootfs"
[ 0.510000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.540000] mtd: partition "rootfs" set to be root filesystem
[ 0.560000] split_squashfs: no squashfs found in "spi32766.0"
[ 0.580000] eth0: done loading
[ 0.580000] rt3xxx-usbphy ubsphy.2: loaded
[ 0.580000] rt2880_wdt 10000120.watchdog: Initialized
[ 0.600000] TCP: cubic registered
[ 0.610000] NET: Registered protocol family 17
[ 0.620000] 8021q: 802.1Q VLAN Support v1.8
[ 0.630000] jffs2: Flash size not aligned to erasesize, reducing to 512KiB
[ 0.650000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0x2a21 instead
[ 0.670000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0xea0d instead
[ 0.690000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0x7225 instead
[ 0.710000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001000c: 0x38ba instead
[ 0.730000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010010: 0x4aeb instead
[ 0.750000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010014: 0xdaac instead
[ 0.770000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010018: 0x6a29 instead
[ 0.790000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001001c: 0x4774 instead
[ 0.790000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010020: 0xbc42 instead
[ 0.820000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010024: 0x75c4 instead
[ 0.840000] jffs2: Further such events for this erase block will not be printed
[ 0.860000] jffs2: Old JFFS2 bitmask found at 0x00018bf4
[ 0.860000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[ 0.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0x86c4 instead
[ 0.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0xc0c4 instead
[ 0.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0x9564 instead
[ 0.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c: 0x3270 instead
[ 0.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010: 0x22cb instead
[ 0.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014: 0x4dfe instead
[ 0.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018: 0x02d1 instead
[ 1.190000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c: 0x6922 instead
[ 1.210000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020020: 0x39c0 instead
[ 1.230000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020024: 0xd8ab instead
[ 1.250000] jffs2: Further such events for this erase block will not be printed
[ 1.280000] jffs2: Old JFFS2 bitmask found at 0x00021660
[ 1.290000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[ 1.460000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030000: 0xfdc9 instead
[ 1.480000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030004: 0x8610 instead
[ 1.500000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030008: 0xd796 instead
[ 1.520000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003000c: 0xa5b3 instead
[ 1.540000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030010: 0x0c2b instead
[ 1.560000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030014: 0x8984 instead
[ 1.580000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030018: 0x44bd instead
[ 1.600000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003001c: 0x323d instead
[ 1.620000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030020: 0xa0bc instead
[ 1.630000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030024: 0xab8d instead
[ 1.650000] jffs2: Further such events for this erase block will not be printed
[ 1.840000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0x261f instead
[ 1.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0xb098 instead
[ 1.880000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0x2af0 instead
[ 1.900000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004000c: 0xac7c instead
[ 1.920000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040010: 0xdf7b instead
[ 1.940000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040014: 0x0f3a instead
[ 1.960000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040018: 0xe983 instead
[ 1.980000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004001c: 0x219e instead
[ 2.000000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040020: 0x0bac instead
[ 2.020000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040024: 0x216e instead
[ 2.030000] jffs2: Further such events for this erase block will not be printed
[ 2.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050000: 0x1e48 instead
[ 2.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050004: 0x93ad instead
[ 2.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050008: 0x0763 instead
[ 2.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0005000c: 0x8000 instead
[ 2.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050010: 0x0004 instead
[ 2.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050018: 0x0101 instead
[ 2.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0005001c: 0x880b instead
[ 2.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050020: 0xd009 instead
[ 2.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050024: 0x0f42 instead
[ 2.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050028: 0x44f9 instead
[ 2.170000] jffs2: Further such events for this erase block will not be printed
[ 2.610000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000601f0: 0x2137 instead
[ 2.640000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000601f4: 0xc6cd instead
[ 2.660000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000601f8: 0x6b8c instead
[ 2.670000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000601fc: 0xa9cb instead
[ 2.690000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060200: 0xc1b6 instead
[ 2.710000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060204: 0xa951 instead
[ 2.730000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060208: 0x808f instead
[ 2.750000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006020c: 0xc7ec instead
[ 2.770000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060210: 0x2903 instead
[ 2.790000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060214: 0x320d instead
[ 2.810000] jffs2: Further such events for this erase block will not be printed
[ 2.990000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070000: 0xb5a8 instead
[ 3.010000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070004: 0x3e02 instead
[ 3.030000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070008: 0x2dc3 instead
[ 3.050000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007000c: 0x698b instead
[ 3.050000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070010: 0x58d2 instead
[ 3.080000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070014: 0xbdee instead
[ 3.100000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070018: 0x2d12 instead
[ 3.120000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007001c: 0x6697 instead
[ 3.140000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070020: 0xeb22 instead
[ 3.160000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070024: 0xcbd5 instead
[ 3.180000] jffs2: Further such events for this erase block will not be printed
[ 3.360000] jffs2: Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[ 3.390000] jffs2: empty_blocks 1, bad_blocks 0, c->nr_blocks 8
[ 3.390000] VFS: Cannot open root device "(null)" or unknown-block(31,4): error -5
[ 3.410000] Please append a correct "root=" boot option; here are the available partitions:
[ 3.430000] 1f00 192 mtdblock0 (driver?)
[ 3.430000] 1f01 64 mtdblock1 (driver?)
[ 3.450000] 1f02 64 mtdblock2 (driver?)
[ 3.450000] 1f03 3776 mtdblock3 (driver?)
[ 3.470000] 1f04 563 mtdblock4 (driver?)
[ 3.470000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,4)
RT5350 # printenv
bootcmd=tftp
bootdelay=1
baudrate=57600
ethaddr="00:AA:BB:CC:DD:10"
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off
addmisc=setenv bootargs $(bootargs) console=ttyS0,$(baudrate) ethaddr=$(ethaddr) panic=1
flash_self=run ramargs addip addmisc;bootm $(kernel_addr) $(ramdisk_addr)
kernel_addr=BFC40000
u-boot=u-boot.bin
load=tftp 8A100000 $(u-boot)
u_b=protect off 1:0-1;era 1:0-1;cp.b 8A100000 BC400000 $(filesize)
loadfs=tftp 8A100000 root.cramfs
u_fs=era bc540000 bc83ffff;cp.b 8A100000 BC540000 $(filesize)
test_tftp=tftp 8A100000 root.cramfs;run test_tftp
ethact=Eth0 (10/100-M)
bootargs=console=/dev/null,57600n8 root=/dev/mtdblock5
autostart=no
bootfile=/tmp/hlk-rm04.bin
stdin=serial
stdout=serial
stderr=serial
filesize=380004
fileaddr=80100000
ipaddr=192.168.16.1
serverip=192.168.16.100
Environment size: 898/4092 bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.