Skip to content

Instantly share code, notes, and snippets.

@ptpt52
Created March 9, 2020 07:42
Show Gist options
  • Save ptpt52/446835e2a6a8ef78c6dfd0180615956d to your computer and use it in GitHub Desktop.
Save ptpt52/446835e2a6a8ef78c6dfd0180615956d to your computer and use it in GitHub Desktop.
Press Meta-Z for help on special keys
?????????~???<27 8 (1~53)27
1 (1~54)27 9 (1~55)28
2 (1~53)27 10 (1~57)29
3 (2~58)30 11 (1~55)28
4 (1~55)28 12 (1~56)28
5 (1~57)29 13 (1~56)28
6 (1~52)26 14 (1~57)29
7 (2~57)29ࣅ??5
==================================================================
bit| 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 14 12 13 13 13 10 15 11 8 10
10 | 9 12 9 11 8 10
==================================================================
==================================================================
TX perbyte calibration
==================================================================
DQS loop = 15, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqsdly_pass[0]=15, finish count=1
dqs_perbyte_dly.last_dqsdly_pass[1]=15, finish count=2
DQ loop=15, cmp_err_1 = ffff00aa
dqs_perbyte_dly.last_dqdly_pass[1]=15, finish count=1
DQ loop=14, cmp_err_1 = ffff0080
DQ loop=13, cmp_err_1 = ffff0080
DQ loop=12, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqdly_pass[0]=12, finish count=2
byte:0, (DQS,DQ)=(9,8)
byte:1, (DQS,DQ)=(8,8)
20,data:89
[EMI] DRAMC calibration passed
===================================================================
MT7621 stage1 code done
CPU=50000000 HZ BUS=16666666 HZ
===================================================================
U-Boot 1.1.3 (UBNT Build Version: e51_001_1e49c) (Jul 27 2018 - 04:44:57)
Board: Ralink APSoC DRAM: 256 MB
relocate_code Pointer at: 8ffac000
Config XHCI 40M PLL
Allocate 16 byte aligned buffer: 8ffdfba0
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [C2 DA 90 95 06]
Device found in MTK table, ID: c2da, EXT_ID: 909506
Support this Device in MTK table! c2da
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 2047
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64, mtd->erasesize=131072 devinfo.iowidth=8
..
UBNT e51 13-02122-14 18E829251799
UBNT BD type=e51, mac=18E829251799, s/n=18E829251799, mrev=14, k_idx=1
============================================
Ralink UBoot Version: 4.3.S.0
--------------------------------------------
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection
DRAM_TYPE: DDR3
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/3
Flash component: NAND Flash
Date:Jul 27 2018 Time:04:44:57
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 880 MHZ ####
estimate memory size =256 Mbytes
#Reset_MT7530
Enable port 0
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.
r: Start TFTP recovery.
default: 3
You choosed 3
0
3: System Boot system code via Flash.
## Booting image at c0040000 ...
Image Name: MIPS X-WRT Linux-4.14.149
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 2025982 Bytes = 1.9 MB
Load Address: 80001000
Entry Point: 80001000
............................... Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 256
Starting kernel ...
[ 0.000000] Linux version 4.14.149 (ptpt52@SC-GAME) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r11252-8ab2525069)) #0 SMP Tue Oct 22 14:51:01 2019
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is UBNT-ERX-SFP
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 10000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] VPE topology {2,2} total 4
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] random: get_random_bytes called from start_kernel+0x9c/0x4d8 with crng_init=0
[ 0.000000] percpu: Embedded 14 pages/cpu s26064 r8192 d23088 u57344
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Writing ErrCtl register=0000b086
[ 0.000000] Readback ErrCtl register=0000b086
[ 0.000000] Memory: 251632K/262144K available (4826K kernel code, 249K rwdata, 1048K rodata, 1288K init, 253K bss, 10512K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS: 256
[ 0.000000] CPU Clock: 880MHz
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[ 0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[ 0.015493] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.087823] pid_max: default: 32768 minimum: 301
[ 0.097184] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.110208] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.126302] Hierarchical SRCU implementation.
[ 0.135824] smp: Bringing up secondary CPUs ...
[ 0.164286] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.164295] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.164306] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.164440] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.205149] Synchronize counters for CPU 1: done.
[ 0.288045] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.288053] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.288061] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.288135] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.326081] Synchronize counters for CPU 2: done.
[ 0.405166] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.405175] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.405182] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.405258] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.445643] Synchronize counters for CPU 3: done.
[ 0.505256] smp: Brought up 1 node, 4 CPUs
[ 0.514157] devtmpfs: initialized
[ 0.524474] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.543951] futex hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.556486] pinctrl core: initialized pinctrl subsystem
[ 0.568114] NET: Registered protocol family 16
[ 0.594568] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.605957] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.617360] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.631276] clocksource: Switched to clocksource GIC
[ 0.643723] NET: Registered protocol family 2
[ 0.653019] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.666785] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.679554] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.692285] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.703787] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.716456] NET: Registered protocol family 1
[ 0.961215] 4 CPUs re-calibrate udelay(lpj = 2924544)
[ 0.972697] Crashlog allocated RAM at address 0x3f00000
[ 0.983217] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 1.004680] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.016178] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.037271] random: fast init done
[ 1.045721] io scheduler noop registered
[ 1.053407] io scheduler deadline registered (default)
[ 1.064656] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 1.078809] console [ttyS0] disabled
[ 1.085904] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[ 1.103806] console [ttyS0] enabled
[ 1.103806] console [ttyS0] enabled
[ 1.117598] bootconsole [early0] disabled
[ 1.117598] bootconsole [early0] disabled
[ 1.135532] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[ 1.149587] Enable NFI Clock
[ 1.155333] # MTK NAND # : Use HW ECC
[ 1.162648] Device not found, ID: c2da
[ 1.170089] Not Support this Device!
[ 1.177548] chip_mode=00000001
[ 1.183636] Support this Device in MTK table! c2da
[ 1.193527] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[ 1.206404] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[ 1.219051] nand: Macronix NAND 256MiB 3,3V 8-bit
[ 1.228422] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.243532] Scanning device for bad blocks
[ 1.752833] 6 fixed-partitions partitions found on MTD device MT7621-NAND
[ 1.766355] Creating 6 MTD partitions on "MT7621-NAND":
[ 1.776773] 0x000000000000-0x000000080000 : "u-boot"
[ 1.788224] 0x000000080000-0x0000000e0000 : "u-boot-env"
[ 1.800285] 0x0000000e0000-0x000000140000 : "factory"
[ 1.811902] 0x000000140000-0x000000440000 : "kernel1"
[ 1.823451] 0x000000440000-0x000000740000 : "kernel2"
[ 1.835004] 0x000000740000-0x00000ff00000 : "ubi"
[ 1.847717] [mtk_nand] probe successfully!
[ 1.856618] Signature matched and data read!
[ 1.865125] load_fact_bbt success 2047
[ 1.873320] libphy: Fixed MDIO Bus: probed
[ 1.952860] mt7621-gsw 1e110000.gsw: Setup P5, HWTRAP=0x17c8f, intf_sel=GMAC5, phy-mode=rgmii-rxid
[ 1.970800] mt7621-gsw 1e110000.gsw: phy 7 at803x mode BX1000, 1Gbit
[ 1.984911] libphy: mdio: probed
[ 3.393216] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[ 3.405791] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[ 3.424807] NET: Registered protocol family 10
[ 3.435291] Segment Routing with IPv6
[ 3.442710] NET: Registered protocol family 17
[ 3.451648] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 3.477442] 8021q: 802.1Q VLAN Support v1.8
[ 3.488814] UBI: auto-attach mtd5
[ 3.495459] ubi0: attaching mtd5
[ 5.768685] ubi0: scanning is finished
[ 5.793648] ubi0: attached mtd5 (name "ubi", size 247 MiB)
[ 5.804594] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 5.818281] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 5.831794] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 5.845647] ubi0: good PEBs: 1982, bad PEBs: 0, corrupted PEBs: 0
[ 5.857772] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 5.872151] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1319621856
[ 5.890325] ubi0: available PEBs: 0, total reserved PEBs: 1982, PEBs reserved for bad PEB handling: 40
[ 5.908870] ubi0: background thread "ubi_bgt0d" started, PID 365
[ 5.910122] block ubiblock0_0: created from ubi0:0(rootfs)
[ 5.931787] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 5.945655] hctosys: unable to open rtc device (rtc0)
[ 5.956641] UBIFS error (ubi0:0 pid 1): ubifs_is_mapped: ubi_is_mapped failed for LEB 0, error -9
[ 5.974340] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.14.149 #0
[ 5.986453] Stack : 00000000 00000000 8fe89700 80077424 80600000 8059882c 00000000 00000000
[ 6.003085] 80562ca8 8fc2dc74 8fc3838c 805d29c7 8055da30 00000001 8fc2dc18 53261674
[ 6.019714] 00000000 00000000 80750000 00000000 807484a0 00000093 00000007 00000000
[ 6.036342] 00000000 00000000 000ede04 ffffffff 00000000 00000000 80600000 8fe89000
[ 6.052971] 00008000 8076abb0 00000001 00000000 00000000 802d38f0 00000004 80740004
[ 6.069599] ...
[ 6.074457] Call Trace:
[ 6.079334] [<8000c4d4>] show_stack+0x58/0x100
[ 6.088180] [<804994bc>] dump_stack+0x9c/0xe0
[ 6.096844] [<801e67bc>] ubifs_is_mapped+0x4c/0x68
[ 6.106370] [<801e39cc>] ubifs_mount+0x864/0x17c8
[ 6.115734] [<80145e5c>] mount_fs+0x20/0xc4
[ 6.124069] [<80168064>] vfs_kern_mount.part.40+0x60/0x134
[ 6.134978] [<8016b694>] do_mount+0x89c/0xd18
[ 6.143640] [<8016bed8>] SyS_mount+0xb8/0xfc
[ 6.152138] [<805ff024>] do_mount_root+0x28/0xac
[ 6.161319] [<805ff484>] mount_root+0x3c/0x100
[ 6.170149] [<805ff710>] prepare_namespace+0x1c8/0x20c
[ 6.180365] [<805feeac>] kernel_init_freeable+0x278/0x2a8
[ 6.191115] [<804b0998>] kernel_init+0x10/0xf8
[ 6.199950] [<80006fb8>] ret_from_kernel_thread+0x14/0x1c
[ 6.211934] print_req_error: I/O error, dev ubiblock0_0, sector 0
[ 6.224139] SQUASHFS error: squashfs_read_data failed to read block 0x0
[ 6.237318] squashfs: SQUASHFS error: unable to read squashfs_super_block
[ 6.250950] VFS: Cannot open root device "(null)" or unknown-block(254,0): error -5
[ 6.266189] Please append a correct "root=" boot option; here are the available partitions:
[ 6.282825] 1f00 512 mtdblock0
[ 6.282832] (driver?)
[ 6.295834] 1f01 384 mtdblock1
[ 6.295839] (driver?)
[ 6.308838] 1f02 384 mtdblock2
[ 6.308843] (driver?)
[ 6.321855] 1f03 3072 mtdblock3
[ 6.321860] (driver?)
[ 6.334860] 1f04 3072 mtdblock4
[ 6.334866] (driver?)
[ 6.347870] 1f05 253696 mtdblock5
[ 6.347874] (driver?)
[ 6.360873] fe00 6448 ubiblock0_0
[ 6.360879] (driver?)
[ 6.374236] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(254,0)
[ 6.392791] Rebooting in 1 seconds..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment