____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ W H A T W I L L Y O U I N V E N T ? /___/" Board: Onion Omega2 APSoC DRAM: 64 MB relocate_code Pointer at: 83f60000 flash manufacture id: ef, device id 40 18 find flash: W25Q128BV *** Warning - bad CRC, using default environment ============================================ Onion Omega2 UBoot Version: 4.3.0.3 -------------------------------------------- ASIC 7628_MP (Port5<->None) DRAM component: 512 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 64 MBytes Flash component: SPI Flash Date:Oct 18 2016 Time:17:30:55 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 CPU freq = 575 MHZ Estimated memory size = 64 Mbytes Resetting MT7628 PHY. Initializing MT7688 GPIO system. ************************************** * Hold Reset button for more options * ************************************** Boot Linux from Flash NO RESET PRESSED. ## Booting image at bc050000 ... Image Name: MIPS OpenWrt Linux-4.14.81 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1614143 Bytes = 1.5 MB 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, 64 Starting kernel ... [ 0.000000] Linux version 4.14.81 (root@bd51b33d7aa3) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r0-)) #0 Fri Dec 6 16:28:06 2019 [ 0.000000] Board has DDR2 [ 0.000000] Analog PMU set to hw control [ 0.000000] Digital PMU set to hw control [ 0.000000] SoC Type: MediaTek MT7688 ver:1 eco:2 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc) [ 0.000000] MIPS: machine is Onion Omega2 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 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] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Writing ErrCtl register=0000b71e [ 0.000000] Readback ErrCtl register=0000b71e [ 0.000000] Memory: 59672K/65536K available (3699K kernel code, 204K rwdata, 916K rodata, 164K init, 205K bss, 5864K 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] intc: using register map from devicetree [ 0.000000] CPU Clock: 580MHz [ 0.000000] timer_probe: no matching timers found [ 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.007674] Console: colour dummy device 80x25 [ 0.011931] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.073523] pid_max: default: 32768 minimum: 301 [ 0.078206] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.084558] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.098480] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.107972] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.113922] pinctrl core: initialized pinctrl subsystem [ 0.119493] NET: Registered protocol family 16 [ 0.155528] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.161203] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.166711] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.173312] i2c-mt7621 10000900.i2c: clock 100 kHz [ 0.182882] clocksource: Switched to clocksource MIPS [ 0.194662] NET: Registered protocol family 2 [ 0.199778] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.206531] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.212627] TCP: Hash tables configured (established 1024 bind 1024) [ 0.218912] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.224552] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.230851] NET: Registered protocol family 1 [ 0.249481] Crashlog allocated RAM at address 0x3f00000 [ 0.256100] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.268309] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.273930] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.293650] io scheduler noop registered [ 0.297381] io scheduler deadline registered (default) [ 0.303433] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.310724] console [ttyS0] disabled [ 0.314220] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A [ 0.322941] console [ttyS0] enabled [ 0.322941] console [ttyS0] enabled [ 0.329938] bootconsole [early0] disabled [ 0.329938] bootconsole [early0] disabled [ 0.338749] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A [ 0.348394] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A [ 0.357906] cacheinfo: Failed to find cpu0 device node [ 0.363160] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.370116] spi-mt7621 10000b00.spi: sys_freq: 193333333 [ 0.391298] m25p80 spi0.0: w25q128 (16384 Kbytes) [ 0.396164] 4 fixed-partitions partitions found on MTD device spi0.0 [ 0.402605] Creating 4 MTD partitions on "spi0.0": [ 0.407488] 0x000000000000-0x000000030000 : "u-boot" [ 0.413542] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.419759] 0x000000040000-0x000000050000 : "factory" [ 0.425792] 0x000000050000-0x000001000000 : "firmware" [ 0.473383] 2 uimage-fw partitions found on MTD device firmware [ 0.479412] 0x000000050000-0x0000001da17f : "kernel" [ 0.485396] 0x0000001da17f-0x000001000000 : "rootfs" [ 0.491217] mtd: device 5 (rootfs) set to be root filesystem [ 0.498480] 1 squashfs-split partitions found on MTD device rootfs [ 0.504818] 0x000000970000-0x000001000000 : "rootfs_data" [ 0.512192] libphy: Fixed MDIO Bus: probed [ 0.527311] rt3050-esw 10110000.esw: link changed 0x00 [ 0.534262] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 0.542962] i2c /dev entries driver [ 0.548295] NET: Registered protocol family 10 [ 0.557109] Segment Routing with IPv6 [ 0.560952] NET: Registered protocol family 17 [ 0.565590] 8021q: 802.1Q VLAN Support v1.8 [ 0.579662] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 0.587771] Freeing unused kernel memory: 164K [ 0.592276] This architecture does not have kernel memory protection. [ 1.549719] init: Console is alive [ 1.553498] init: - watchdog - [ 2.212891] random: fast init done [ 5.168731] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 5.471014] usbcore: registered new interface driver usbfs [ 5.476757] usbcore: registered new interface driver hub [ 5.482252] usbcore: registered new device driver usb [ 5.493762] exFAT: Version 1.2.9 [ 5.531201] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.547396] SCSI subsystem initialized [ 5.556834] ehci-platform: EHCI generic platform driver [ 5.572499] phy phy-10120000.usbphy.0: remote usb device wakeup disabled [ 5.579310] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz [ 5.584648] ehci-platform 101c0000.ehci: EHCI Host Controller [ 5.590510] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 5.598692] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 5.632928] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 5.640412] hub 1-0:1.0: USB hub found [ 5.644658] hub 1-0:1.0: 1 port detected [ 5.654571] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.662442] ohci-platform: OHCI generic platform driver [ 5.668117] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 5.675088] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 5.683232] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 5.757947] hub 2-0:1.0: USB hub found [ 5.762220] hub 2-0:1.0: 1 port detected [ 5.780771] MTK MSDC device init. [ 5.843112] mtk-sd: MediaTek MT6575 MSDC Driver [ 5.852094] sdhci: Secure Digital Host Controller Interface driver [ 5.858436] sdhci: Copyright(c) Pierre Ossman [ 5.864237] sdhci-pltfm: SDHCI platform and OF driver helper [ 5.874628] usbcore: registered new interface driver usb-storage [ 5.884388] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 5.902236] init: - preinit - [ 7.413951] rt3050-esw 10110000.esw: link changed 0x00 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 [ 7.612647] random: procd: uninitialized urandom read (4 bytes read) [ 10.856358] mount_root: loading kmods from internal overlay [ 10.926972] kmodloader: loading kernel modules from //etc/modules-boot.d/* [ 10.940258] kmodloader: done loading kernel modules from //etc/modules-boot.d/* [ 12.046742] jffs2: notice: (513) jffs2_build_xattr_subsystem: complete building xattr subsystem, 9 of xdatum (2 unchecked, 7 orphan) and 33 of xref (7 dead, 1 orphan) found. [ 12.063228] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 12.075862] block: extroot: not configured [ 12.154092] jffs2: notice: (511) jffs2_build_xattr_subsystem: complete building xattr subsystem, 9 of xdatum (2 unchecked, 7 orphan) and 33 of xref (7 dead, 1 orphan) found. [ 12.171259] mount_root: loading kmods from internal overlay [ 12.241949] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/* [ 12.253589] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/* [ 12.916130] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 12.925946] block: extroot: not configured [ 12.931258] mount_root: switching to jffs2 overlay [ 13.001988] overlayfs: upper fs does not support tmpfile. [ 13.012693] urandom-seed: Seeding with /etc/urandom.seed [ 13.151198] procd: - early - [ 13.154327] procd: - watchdog - [ 13.969483] procd: - watchdog - [ 13.973063] procd: - ubus - [ 14.072445] random: ubusd: uninitialized urandom read (4 bytes read) [ 14.081564] random: ubusd: uninitialized urandom read (4 bytes read) [ 14.088630] random: ubusd: uninitialized urandom read (4 bytes read) [ 14.096232] procd: - init - Please press Enter to activate this console. [ 14.862799] kmodloader: loading kernel modules from /etc/modules.d/* [ 14.923318] RPC: Registered named UNIX socket transport module. [ 14.929333] RPC: Registered udp transport module. [ 14.934153] RPC: Registered tcp transport module. [ 14.938922] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 14.957369] ntfs: driver 2.1.32 [Flags: R/O MODULE]. [ 15.041430] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 15.675598] [ 15.675598] [ 15.675598] === pAd = c062a000, size = 1178064 === [ 15.675598] [ 15.686902] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) [ 15.763512] Linux video capture interface: v2.00 [ 16.056916] hidraw: raw HID events driver (C) Jiri Kosina [ 16.095262] ledchain: pwm_base=0xB0005000 [ 16.099478] ledchain: v2 - Device: /dev/ledchain2 [ 16.104316] ledchain: - PWM channel : 2 [ 16.108465] ledchain: - PWM buffer size: 12 [ 16.112703] ledchain: - Number of LEDs : 1 [ 16.116873] ledchain: - Inverted : 0 [ 16.121025] ledchain: - LED type : WS2812 [ 16.125625] ledchain: - Max retries : 3 [ 16.129776] ledchain: - Max Tpassive : 10000 nS [ 16.166494] Bluetooth: Core ver 2.22 [ 16.170238] NET: Registered protocol family 31 [ 16.174801] Bluetooth: HCI device and connection manager initialized [ 16.181258] Bluetooth: HCI socket layer initialized [ 16.186219] Bluetooth: L2CAP socket layer initialized [ 16.191376] Bluetooth: SCO socket layer initialized [ 16.199207] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 16.204671] Bluetooth: BNEP filters: protocol multicast [ 16.209982] Bluetooth: BNEP socket layer initialized [ 16.222546] usbcore: registered new interface driver btusb [ 16.232790] usbcore: registered new interface driver cdc_acm [ 16.238608] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 16.251119] Bluetooth: HCI UART driver ver 2.3 [ 16.255714] Bluetooth: HCI UART protocol H4 registered [ 16.260924] Bluetooth: HCI UART protocol BCSP registered [ 16.270676] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 16.276773] Bluetooth: HIDP socket layer initialized [ 16.287816] ip_tables: (C) 2000-2006 Netfilter Core Team [ 16.315448] nf_conntrack version 0.5.0 (1024 buckets, 4096 max) [ 16.412160] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm [ 16.421783] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22 [ 16.428154] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0 on device rt2880-pinmux [ 16.438041] mtk-pwm 10005000.pwm: Error applying setting, reverse things back [ 16.452477] Bluetooth: RFCOMM TTY layer initialized [ 16.457513] Bluetooth: RFCOMM socket layer initialized [ 16.462772] Bluetooth: RFCOMM ver 1.11 [ 16.482722] usbcore: registered new interface driver ums-alauda [ 16.491902] usbcore: registered new interface driver ums-cypress [ 16.501304] usbcore: registered new interface driver ums-datafab [ 16.510486] usbcore: registered new interface driver ums-freecom [ 16.519815] usbcore: registered new interface driver ums-isd200 [ 16.529281] usbcore: registered new interface driver ums-jumpshot [ 16.538589] usbcore: registered new interface driver ums-karma [ 16.548631] usbcore: registered new interface driver ums-sddr09 [ 16.557981] usbcore: registered new interface driver ums-sddr55 [ 16.567771] usbcore: registered new interface driver ums-usbat [ 16.580858] usbcore: registered new interface driver usbhid [ 16.586586] usbhid: USB HID core driver [ 16.594874] usbcore: registered new interface driver usblp [ 16.610191] usbcore: registered new interface driver usbserial [ 16.616280] usbcore: registered new interface driver usbserial_generic [ 16.623056] usbserial: USB Serial support registered for generic [ 16.642433] Driver for 1-wire Dallas network protocol. [ 16.671793] xt_time: kernel timezone is -0000 [ 16.678826] usbcore: registered new interface driver ch341 [ 16.684599] usbserial: USB Serial support registered for ch341-uart [ 16.694058] usbcore: registered new interface driver cp210x [ 16.699816] usbserial: USB Serial support registered for cp210x [ 16.709763] usbcore: registered new interface driver ftdi_sio [ 16.715798] usbserial: USB Serial support registered for FTDI USB Serial Device [ 16.737298] usbcore: registered new interface driver pl2303 [ 16.743142] usbserial: USB Serial support registered for pl2303 [ 16.755047] PPP generic driver version 2.4.2 [ 16.762807] NET: Registered protocol family 24 [ 16.782156] usbcore: registered new interface driver snd-usb-audio [ 16.804864] usbcore: registered new interface driver uvcvideo [ 16.810701] USB Video Class driver (1.1.1) [ 16.821891] usbcore: registered new interface driver option [ 16.827734] usbserial: USB Serial support registered for GSM modem (1-port) [ 16.840354] kmodloader: done loading kernel modules from /etc/modules.d/* [ 17.625932] urandom_read: 5 callbacks suppressed [ 17.625943] random: jshn: uninitialized urandom read (4 bytes read) [ 29.503370] br-wlan: port 1(eth0.1) entered blocking state [ 29.508949] br-wlan: port 1(eth0.1) entered disabled state [ 29.514959] device eth0.1 entered promiscuous mode [ 29.519826] device eth0 entered promiscuous mode [ 29.787473] br-wlan: port 1(eth0.1) entered blocking state [ 29.793111] br-wlan: port 1(eth0.1) entered forwarding state [ 29.799206] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready [ 30.847579] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready