Skip to content

Instantly share code, notes, and snippets.

@shibajee
Created July 25, 2020 07:02
Show Gist options
  • Save shibajee/8ec3b69b6c6ca7cf084d2b88c218c8ea to your computer and use it in GitHub Desktop.
Save shibajee/8ec3b69b6c6ca7cf084d2b88c218c8ea to your computer and use it in GitHub Desktop.
3: System Boot system code via Flash.
## Booting image at bc020000 ...
Image Name: MIPS LEDE Linux-4.4.194
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1279186 Bytes = 1.2 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 4.4.194 (home@ubuntu) (gcc version 5.4.0 (LEDE GCC 5.4.0 r4048-9fb9116a45) ) #0 Fri Jul 24 13:35:56 2020
[ 0.000000] Board has DDR1
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7620N ver:2 eco:6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is Netgear JWNR2010v5
[ 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 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, 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=000783fa
[ 0.000000] Readback ErrCtl register=000783fa
[ 0.000000] Memory: 28232K/32768K available (2954K kernel code, 138K rwdata, 700K rodata, 168K init, 195K bss, 4536K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[ 0.000000] systick: enable autosleep mode
[ 0.000000] systick: running - mult: 214748, shift: 32
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.015444] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.080605] pid_max: default: 32768 minimum: 301
[ 0.089924] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.102940] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.122558] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.142045] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.154294] pinctrl core: initialized pinctrl subsystem
[ 0.165302] NET: Registered protocol family 16
[ 0.194095] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.205118] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.217518] rt2880_gpio 10000638.gpio: registering 16 gpios
[ 0.228488] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[ 0.240924] rt2880_gpio 10000660.gpio: registering 32 gpios
[ 0.251898] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[ 0.264332] rt2880_gpio 10000688.gpio: registering 1 gpios
[ 0.275134] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[ 0.288792] clocksource: Switched to clocksource systick
[ 0.300764] NET: Registered protocol family 2
[ 0.310237] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.324011] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.336600] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.349322] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.360857] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.373605] NET: Registered protocol family 1
[ 0.387095] rt-timer 10000100.timer: maximum frequency is 1220Hz
[ 0.399933] Crashlog allocated RAM at address 0x1f00000
[ 0.427468] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.438995] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.461432] io scheduler noop registered
[ 0.469142] io scheduler deadline registered (default)
[ 0.479562] ralink-usb-phy usbphy: invalid resource
[ 0.489805] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.503502] console [ttyS0] disabled
[ 0.510542] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[ 0.530217] console [ttyS0] enabled
[ 0.530217] console [ttyS0] enabled
[ 0.544036] bootconsole [early0] disabled
[ 0.544036] bootconsole [early0] disabled
[ 0.565140] spi spi0.0: force spi mode3
[ 0.573351] m25p80 spi0.0: mx25l3205d (4096 Kbytes)
[ 0.583138] 5 ofpart partitions found on MTD device spi0.0
[ 0.594068] Creating 5 MTD partitions on "spi0.0":
[ 0.603622] 0x000000000000-0x000000020000 : "u-boot"
[ 0.615375] 0x000000020000-0x0000003c0000 : "firmware"
[ 0.933536] 2 uimage-fw partitions found on MTD device firmware
[ 0.945367] 0x000000020000-0x000000159000 : "kernel"
[ 0.956931] 0x000000159000-0x0000003c0000 : "rootfs"
[ 0.968857] mtd: device 3 (rootfs) set to be root filesystem
[ 0.980286] 1 squashfs-split partitions found on MTD device rootfs
[ 0.992620] 0x00000038a000-0x0000003c0000 : "rootfs_data"
[ 1.005388] 0x0000003c0000-0x0000003e0000 : "reserved"
[ 1.017650] 0x0000003e0000-0x0000003f0000 : "nvram"
[ 1.029462] 0x0000003f0000-0x000000400000 : "factory"
[ 1.044959] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 1.057596] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 1.074620] rt2880_wdt 10000120.watchdog: Initialized
[ 1.086254] NET: Registered protocol family 10
[ 1.099445] NET: Registered protocol family 17
[ 1.108358] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.133533] 8021q: 802.1Q VLAN Support v1.8
[ 1.157091] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 1.172096] Freeing unused kernel memory: 168K
[ 3.570960] init: Console is alive
[ 3.577934] init: - watchdog -
[ 4.985995] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 5.083338] leds-gpio: probe of gpio-leds failed with error -2
[ 5.095995] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 5.112148] init: - preinit -
[ 6.373981] 8021q: adding VLAN 0 to HW filter on device eth0
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
[ 6.847318] jffs2: notice: (312) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 6.880440] mount_root: switching to jffs2 overlay
[ 6.901999] urandom-seed: Seeding with /etc/urandom.seed
[ 7.157961] procd: - early -
[ 7.163792] procd: - watchdog -
[ 7.366811] procd: - watchdog -
[ 7.373393] procd: - ubus -
[ 7.501835] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[ 7.520276] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[ 7.538270] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[ 7.557005] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[ 7.574988] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[ 7.593061] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[ 7.611567] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[ 7.629898] procd: - init -
Please press Enter to activate this console.
[ 8.051509] kmodloader: loading kernel modules from /etc/modules.d/*
[ 8.070448] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 8.091939] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 8.107955] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 8.179682] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 8.199052] nf_conntrack version 0.5.0 (443 buckets, 1772 max)
[ 8.255279] xt_time: kernel timezone is -0000
[ 8.276901] PPP generic driver version 2.4.2
[ 8.288323] NET: Registered protocol family 24
[ 8.314975] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[ 8.329446] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[ 8.344893] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[ 8.458827] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 9.495342] random: jshn: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[ 9.602628] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[ 9.620855] random: ubus: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[ 15.834466] 8021q: adding VLAN 0 to HW filter on device eth0
[ 15.865212] device eth0.1 entered promiscuous mode
[ 15.874967] device eth0 entered promiscuous mode
[ 15.920596] br-lan: port 1(eth0.1) entered forwarding state
[ 15.931801] br-lan: port 1(eth0.1) entered forwarding state
[ 17.634445] br-lan: port 1(eth0.1) entered forwarding state
[ 19.172749] mtk_soc_eth 10100000.ethernet eth0: port 3 link up (100Mbps/Full duplex)
[ 20.779841] mtk_soc_eth 10100000.ethernet eth0: port 3 link down
[ 20.792495] br-lan: port 1(eth0.1) entered disabled state
[ 21.365405] mtk_soc_eth 10100000.ethernet eth0: port 0 link up (100Mbps/Full duplex)
[ 21.381252] br-lan: port 1(eth0.1) entered forwarding state
[ 21.392415] br-lan: port 1(eth0.1) entered forwarding state
[ 21.945119] br-lan: port 1(eth0.1) entered forwarding state
[ 24.581811] random: nonblocking pool is initialized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment