Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ptpt52/5c50008ee418f48ca41a3fffafc6a466 to your computer and use it in GitHub Desktop.
Save ptpt52/5c50008ee418f48ca41a3fffafc6a466 to your computer and use it in GitHub Desktop.
Loading: checksum bad
checksum bad
Got ARP REPLY, set server/gtwy eth addr (00:e0:4c:68:00:7a)
Got it
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#############################
done
Bytes transferred = 8800507 (8648fb hex)
NetBootFileXferSize= 008648fb
..Erasing NAND Flash...
ranand_erase: start:80000, len:20000
.Writing to NAND Flash...
done
Automatic boot of image at addr 0x80A00000 ...
## Booting image at 80a00000 ...
Image Name: MIPS OpenWrt Linux-5.4.24
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 8800443 Bytes = 8.4 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 5.4.24 (LGA1150@Haswell) (gcc version 9.2.0 (OpenWrt GCC 9.2.0 r12425-d83150e3fb)) #0 SMP Mon Mar 9 05:07:47 2020
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is UBNT-ERX-SFP
[ 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] percpu: Embedded 14 pages/cpu s26960 r8192 d22192 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] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Writing ErrCtl register=00002080
[ 0.000000] Readback ErrCtl register=00002080
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 244460K/262144K available (5960K kernel code, 212K rwdata, 1256K rodata, 7216K init, 232K bss, 17684K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 256
[ 0.000000] random: get_random_bytes called from start_kernel+0x340/0x554 with crng_init=0
[ 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.015490] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.087818] pid_max: default: 32768 minimum: 301
[ 0.097145] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.111549] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.129585] rcu: Hierarchical SRCU implementation.
[ 0.139695] smp: Bringing up secondary CPUs ...
[ 0.149418] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.149428] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.149440] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.149540] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.209333] Synchronize counters for CPU 1: done.
[ 0.272913] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.272922] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.272930] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.272989] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.329798] Synchronize counters for CPU 2: done.
[ 0.390081] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.390089] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.390098] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.390158] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.449375] Synchronize counters for CPU 3: done.
[ 0.508978] smp: Brought up 1 node, 4 CPUs
[ 0.521246] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.540743] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.554675] pinctrl core: initialized pinctrl subsystem
[ 0.566588] NET: Registered protocol family 16
[ 0.601473] random: fast init done
[ 0.614425] clocksource: Switched to clocksource GIC
[ 0.626161] NET: Registered protocol family 2
[ 0.635698] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.652414] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.667556] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.681706] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.694490] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.707366] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.721462] NET: Registered protocol family 1
[ 0.730016] PCI: CLS 0 bytes, default 32
[ 8.474378] 4 CPUs re-calibrate udelay(lpj = 2924544)
[ 8.485994] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 8.510293] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 8.521772] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 8.544547] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 8.555825] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 8.567093] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 8.578808] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 8.592688] printk: console [ttyS0] disabled
[ 8.601124] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[ 8.619056] printk: console [ttyS0] enabled
[ 8.619056] printk: console [ttyS0] enabled
[ 8.635608] printk: bootconsole [early0] disabled
[ 8.635608] printk: bootconsole [early0] disabled
[ 8.656391] mt7621-nand: NAND register bank at 0xbe003000
[ 8.667227] mt7621-nand: ECC register bank at 0xbe003800
[ 8.677894] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[ 8.690540] nand: Macronix NAND 256MiB 3,3V 8-bit
[ 8.699900] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 8.714967] mt7621-nand: ecc bit: 4, spare_per_sector: 16
[ 8.728123] Bad block table not found for chip 0
[ 8.739609] Bad block table not found for chip 0
[ 8.748795] Scanning device for bad blocks
[ 9.291508] Bad block table written to 0x00000ffe0000, version 0x01
[ 9.305431] Bad block table written to 0x00000ffc0000, version 0x01
[ 9.318000] 6 fixed-partitions partitions found on MTD device MT7621-NAND
[ 9.331509] Creating 6 MTD partitions on "MT7621-NAND":
[ 9.341915] 0x000000000000-0x000000080000 : "u-boot"
[ 9.352977] 0x000000080000-0x0000000e0000 : "u-boot-env"
[ 9.364685] 0x0000000e0000-0x000000140000 : "factory"
[ 9.375810] 0x000000140000-0x000000440000 : "kernel1"
[ 9.386929] 0x000000440000-0x000000740000 : "kernel2"
[ 9.398043] 0x000000740000-0x00000ff00000 : "ubi"
[ 9.411491] libphy: Fixed MDIO Bus: probed
[ 9.454815] libphy: mdio: probed
[ 9.461424] mt7530 mdio-bus:00: MT7530 adapts as multi-chip module
[ 9.545888] mtk_soc_eth 1e100000.ethernet dsa: mediatek frame engine at 0xbe100000, irq 20
[ 9.566339] NET: Registered protocol family 10
[ 9.576739] Segment Routing with IPv6
[ 9.584110] NET: Registered protocol family 17
[ 9.593278] 8021q: 802.1Q VLAN Support v1.8
[ 9.604990] mt7530 mdio-bus:00: MT7530 adapts as multi-chip module
[ 11.850273] libphy: dsa slave smi: probed
[ 11.884442] mt7530 mdio-bus:00 eth0 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[ 11.934425] mt7530 mdio-bus:00 eth1 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[ 11.984420] mt7530 mdio-bus:00 eth2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[ 12.034430] mt7530 mdio-bus:00 eth3 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[ 12.084432] mt7530 mdio-bus:00 eth4 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[ 12.164426] mt7530 mdio-bus:00 eth5 (uninitialized): PHY [mdio-bus:07] driver [Atheros 8031 ethernet]
[ 12.184008] mt7530 mdio-bus:00: configuring for fixed/trgmii link mode
[ 13.144413] mt7530 mdio-bus:00: Link is Up - 1Gbps/Full - flow control off
[ 13.394443] DSA: tree 0 setup
[ 13.401726] UBI: auto-attach mtd5
[ 13.408360] ubi0: attaching mtd5
[ 15.690712] ubi0: scanning is finished
[ 15.715566] ubi0: attached mtd5 (name "ubi", size 247 MiB)
[ 15.726511] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 15.740190] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 15.753696] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 15.767551] ubi0: good PEBs: 1982, bad PEBs: 0, corrupted PEBs: 0
[ 15.779672] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 15.794050] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1319621856
[ 15.812226] ubi0: available PEBs: 0, total reserved PEBs: 1982, PEBs reserved for bad PEB handling: 40
[ 15.830776] ubi0: background thread "ubi_bgt0d" started, PID 462
[ 15.832975] block ubiblock0_0: created from ubi0:0(rootfs)
[ 15.853684] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 15.867551] hctosys: unable to open rtc device (rtc0)
[ 15.905081] Freeing unused kernel memory: 7216K
[ 15.914096] This architecture does not have kernel memory protection.
[ 15.926918] Run /init as init process
[ 16.008433] init: Console is alive
[ 16.015493] init: - watchdog -
[ 16.057659] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 16.119802] usbcore: registered new interface driver usbfs
[ 16.130904] usbcore: registered new interface driver hub
[ 16.141667] usbcore: registered new device driver usb
[ 16.153890] exfat: module is from the staging directory, the quality is unknown, you have been warned.
[ 16.174139] exFAT: Version 1.3.0
[ 16.212808] SCSI subsystem initialized
[ 16.236926] usbcore: registered new interface driver usb-storage
[ 16.250496] usbcore: registered new interface driver uas
[ 16.261479] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 16.294850] init: - preinit -
/etc/preinit: line 51: swconfig: not found
/etc/preinit: line 52: swconfig: not found
/etc/preinit: line 53: swconfig: not found
RTNETLINK answers: Network is down
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
sendto(): Network unreachable
sendto(): Network unreachable
[ 20.556347] procd: - early -
[ 20.562172] procd: - watchdog -
[ 21.104593] procd: - watchdog -
[ 21.111146] procd: - ubus -
[ 21.121792] random: ubusd: uninitialized urandom read (4 bytes read)
[ 21.174969] random: ubusd: uninitialized urandom read (4 bytes read)
[ 21.188022] random: ubusd: uninitialized urandom read (4 bytes read)
[ 21.201579] procd: - init -
Please press Enter to activate this console.
[ 21.514035] kmodloader: loading kernel modules from /etc/modules.d/*
[ 21.679876] urngd: v1.0.2 started.
[ 21.834203] random: crng init done
[ 21.841026] random: 7 urandom warning(s) missed due to ratelimiting
[ 22.355529] tun: Universal TUN/TAP device driver, 1.6
[ 22.375959] ipip: IPv4 and MPLS over IPv4 tunneling driver
[ 22.393230] l2tp_core: L2TP core driver, V2.0
[ 22.403674] l2tp_netlink: L2TP netlink interface
[ 22.415614] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 22.430887] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
[ 22.445428] l2tp_ip: L2TP IP encapsulation support (L2TPv3)
[ 22.458754] l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3)
[ 22.547803] Mirror/redirect action on
[ 22.568173] u32 classifier
[ 22.573592] input device check on
[ 22.581143] Actions configured
[ 22.618670] GACT probability on
[ 22.631022] Simple TC action Loaded
[ 22.666563] fuse: init (API version 7.31)
[ 22.814644] usbcore: registered new interface driver usblp
[ 22.870824] xt_time: kernel timezone is -0000
[ 22.885731] PPP generic driver version 2.4.2
[ 22.895988] NET: Registered protocol family 24
[ 22.907827] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 36.971567] mtk_soc_eth 1e100000.ethernet dsa: configuring for fixed/trgmii link mode
[ 36.987975] mtk_soc_eth 1e100000.ethernet dsa: Link is Up - 1Gbps/Full - flow control rx/tx
[ 37.005046] IPv6: ADDRCONF(NETDEV_CHANGE): dsa: link becomes ready
[ 37.194545] mt7530 mdio-bus:00 eth1: configuring for phy/gmii link mode
[ 37.274703] 8021q: adding VLAN 0 to HW filter on device eth1
[ 37.287142] br-lan: port 1(eth1) entered blocking state
[ 37.297630] br-lan: port 1(eth1) entered disabled state
[ 37.374551] device eth1 entered promiscuous mode
[ 37.383760] device dsa entered promiscuous mode
[ 37.734504] mt7530 mdio-bus:00 eth2: configuring for phy/gmii link mode
[ 37.814806] 8021q: adding VLAN 0 to HW filter on device eth2
[ 37.826914] br-lan: port 2(eth2) entered blocking state
[ 37.837391] br-lan: port 2(eth2) entered disabled state
[ 37.974530] device eth2 entered promiscuous mode
[ 38.344504] mt7530 mdio-bus:00 eth3: configuring for phy/gmii link mode
[ 38.424753] 8021q: adding VLAN 0 to HW filter on device eth3
[ 38.436915] br-lan: port 3(eth3) entered blocking state
[ 38.447383] br-lan: port 3(eth3) entered disabled state
[ 38.664540] device eth3 entered promiscuous mode
[ 39.024428] mt7530 mdio-bus:00 eth4: configuring for phy/gmii link mode
[ 39.104613] 8021q: adding VLAN 0 to HW filter on device eth4
[ 39.117271] br-lan: port 4(eth4) entered blocking state
[ 39.127740] br-lan: port 4(eth4) entered disabled state
[ 39.404446] device eth4 entered promiscuous mode
[ 39.754453] mt7530 mdio-bus:00 eth0: configuring for phy/gmii link mode
[ 39.834609] 8021q: adding VLAN 0 to HW filter on device eth0
[ 43.234454] mt7530 mdio-bus:00 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 43.249418] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
BusyBox v1.31.1 () built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r12490-04a87fedda
-----------------------------------------------------
root@OpenWrt:/#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment