Omega2 stuck in factory reset loop after reboot



  • @Chris-Morgan Maybe. Your log file is not fully clear for me. Please be patient - forget the keyboard during boot - and show us a "clear" log file with that loop.
    Please try to do what I wrote. I think you will not lose anything.



  • @György-Farkas ok. I’ll repost the console output after the factory reset. Because it keeps factory resetting I don’t have any configuration on the device so no worries on my part about losing data now but it is concerning that this occurred.



  • @György-Farkas alright I ran through the reset via the button, reconfigured the module wifi, it was on my wifi network and I and was able to, after setting the timezone manually on the omega2 (is this a known bug? until I set the timezone I'm not able to connect from cloud to device...), able to connect from the cloud to the device.

    BUT after rebooting from the terminal the module is back to its initial state again, console log below ends right before the console reboot, next post will contain the remainder (discourse limit here is 32k so can't post the whole log in one post):

    root@Omega-C0FB:~# 
    root@Omega-C0FB:~# FACTORY RESET
    [19517.699865] jffs2: warning: (1846) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [19517.708177] jffs2: warning: (1846) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [19517.717097] jffs2: iget() failed for ino #4
    [19517.722772] jffs2: warning: (1846) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [19517.731145] jffs2: warning: (1846) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [19517.740006] jffs2: iget() failed for ino #4
    [19518.141862] br-wlan: port 2(ra0) entered disabled state
    [19518.147247] br-wlan: port 1(eth0.1) entered disabled state
    [19518.178880] device eth0.1 left promiscuous mode
    [19518.183493] device eth0 left promiscuous mode
    [19518.188077] br-wlan: port 1(eth0.1) entered disabled state
    [19518.212386] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
    [19518.232875] device ra0 left promiscuous mode
    [19518.237328] br-wlan: port 2(ra0) entered disabled state
    [19522.523714] reboot: Restarting system
    
    
       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/"
    
    Board: Onion Omega2 APSoC DRAM:  128 MB
    relocate_code Pointer at: 87f60000
    ******************************
    Software System Reset Occurred
    ******************************
    flash manufacture id: c2, device id 20 19
    find flash: MX25L25635E
    *** Warning - bad CRC, using default environment
    
    ============================================ 
    Onion Omega2 UBoot Version: 4.3.0.3
    -------------------------------------------- 
    ASIC 7628_MP (Port5<->None)
    DRAM component: 1024 Mbits DDR, width 16
    DRAM bus: 16 bit
    Total memory: 128 MBytes
    Flash component: SPI Flash
    Date:Oct 18 2016  Time:17:29:05
    ============================================ 
    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 = 128 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 LEDE Linux-4.4.46
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    1311684 Bytes =  1.3 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, 128
    
    Starting kernel ...
    
    [    0.000000] Linux version 4.4.46 (root@2272a3272872) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3273-a0888ec) ) #0 Thu Feb 2 23:46:03 2017
    [    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: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
    [    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: 32512
    [    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Writing ErrCtl register=00041700
    [    0.000000] Readback ErrCtl register=00041700
    [    0.000000] Memory: 125556K/131072K available (3025K kernel code, 142K rwdata, 728K rodata, 192K init, 196K bss, 5516K 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] clocksource_probe: no matching clocksources found
    [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
    [    0.000010] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
    [    0.007520] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
    [    0.070042] pid_max: default: 32768 minimum: 301
    [    0.074637] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.080977] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.094351] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.104013] pinctrl core: initialized pinctrl subsystem
    [    0.109719] NET: Registered protocol family 16
    [    0.133602] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.139146] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.144577] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.151099] i2c-mt7621 10000900.i2c: clock 100KHz, re-start not support
    [    0.158636] clocksource: Switched to clocksource MIPS
    [    0.165155] NET: Registered protocol family 2
    [    0.170276] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.176968] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.183149] TCP: Hash tables configured (established 1024 bind 1024)
    [    0.189353] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.194956] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.201299] NET: Registered protocol family 1
    [    0.211307] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.217261] Crashlog allocated RAM at address 0x3f00000
    [    0.237565] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.243220] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.255815] io scheduler noop registered
    [    0.259616] io scheduler deadline registered (default)
    [    0.265407] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm
    [    0.274489] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22
    [    0.280500] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0  on device rt2880-pinmux
    [    0.289902] mtk-pwm 10005000.pwm: Error applying setting, reverse things back
    [    0.297273] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    0.304884] console [ttyS0] disabled
    [    0.308318] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
    [    0.317097] console [ttyS0] enabled
    [    0.317097] console [ttyS0] enabled
    [    0.324091] bootconsole [early0] disabled
    [    0.324091] bootconsole [early0] disabled
    [    0.332770] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
    [    0.342288] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
    [    0.352938] spi-mt7621 10000b00.spi: sys_freq: 193333333
    [    0.363013] m25p80 spi32766.0: using chunked io (size=31)
    [    0.368510] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
    [    0.374078] 4 ofpart partitions found on MTD device spi32766.0
    [    0.380002] Creating 4 MTD partitions on "spi32766.0":
    [    0.385218] 0x000000000000-0x000000030000 : "u-boot"
    [    0.392044] 0x000000030000-0x000000040000 : "u-boot-env"
    [    0.399330] 0x000000040000-0x000000050000 : "factory"
    [    0.406277] 0x000000050000-0x000002000000 : "firmware"
    [    0.454000] 2 uimage-fw partitions found on MTD device firmware
    [    0.460051] 0x000000050000-0x000000190404 : "kernel"
    [    0.466771] 0x000000190404-0x000002000000 : "rootfs"
    [    0.473700] mtd: device 5 (rootfs) set to be root filesystem
    [    0.479577] 1 squashfs-split partitions found on MTD device rootfs
    [    0.485854] 0x0000006f0000-0x000002000000 : "rootfs_data"
    [    0.503288] rt3050-esw 10110000.esw: link changed 0x00
    [    0.511022] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
    [    0.519699] i2c /dev entries driver
    [    0.523838] mt7621_wdt 10000120.watchdog: Initialized
    [    0.530587] NET: Registered protocol family 10
    [    0.539169] NET: Registered protocol family 17
    [    0.543788] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    0.556633] 8021q: 802.1Q VLAN Support v1.8
    [    0.567928] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
    [    0.576213] Freeing unused kernel memory: 192K (803d0000 - 80400000)
    [    1.569362] init: Console is alive
    [    1.573024] init: - watchdog -
    [    4.000929] kmodloader: loading kernel modules from /etc/modules-boot.d/*
    [    4.154339] usbcore: registered new interface driver usbfs
    [    4.160073] usbcore: registered new interface driver hub
    [    4.165560] usbcore: registered new device driver usb
    [    4.177074] exFAT: Version 1.2.9
    [    4.221839] SCSI subsystem initialized
    [    4.232742] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    4.241106] ehci-platform: EHCI generic platform driver
    [    4.256761] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
    [    4.263578] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
    [    4.268920] ehci-platform 101c0000.ehci: EHCI Host Controller
    [    4.274785] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
    [    4.282965] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
    [    4.308677] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
    [    4.316166] hub 1-0:1.0: USB hub found
    [    4.320403] hub 1-0:1.0: 1 port detected
    [    4.329454] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    4.337390] ohci-platform: OHCI generic platform driver
    [    4.343050] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
    [    4.350023] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
    [    4.358137] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
    [    4.423799] hub 2-0:1.0: USB hub found
    [    4.428043] hub 2-0:1.0: 1 port detected
    [    4.445387] MTK MSDC device init.
    [    4.488811] mtk-sd: MediaTek MT6575 MSDC Driver
    [    4.496804] sdhci: Secure Digital Host Controller Interface driver
    [    4.503153] sdhci: Copyright(c) Pierre Ossman
    [    4.509059] sdhci-pltfm: SDHCI platform and OF driver helper
    [    4.519431] usbcore: registered new interface driver usb-storage
    [    4.529122] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
    [    4.546954] init: - preinit -
    [    5.389752] 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[    5.589178] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
     level
    [    7.914266] jffs2: notice: (396) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [    7.930468] jffs2: notice: (396) jffs2_get_inode_nodes: Node header CRC failed at 0x13a1588. {ffff,ffff,ffffffff,ffffffff}
    [    7.941795] jffs2: notice: (396) jffs2_get_inode_nodes: Node header CRC failed at 0x13a0f24. {ffff,ffff,ffffffff,ffffffff}
    [    7.953023] jffs2: warning: (396) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    7.961779] jffs2: iget() failed for ino #4
    [    7.966133] jffs2: warning: (396) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [    7.974369] jffs2: warning: (396) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    7.983120] jffs2: iget() failed for ino #4
    [    7.988794] mount_root: overlay filesystem has not been fully initialized yet
    [    7.996376] jffs2: warning: (396) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [    8.004650] jffs2: warning: (396) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    8.013405] jffs2: iget() failed for ino #4
    [    8.018076] jffs2: warning: (396) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [    8.026334] jffs2: warning: (396) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    8.035087] jffs2: iget() failed for ino #4
    [    8.039610] mount_root: switching to jffs2 overlay
    [    8.069722] jffs2: warning: (396) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [    8.077943] jffs2: warning: (396) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    8.086739] jffs2: iget() failed for ino #4
    [    8.091765] jffs2: warning: (396) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [    8.100033] jffs2: warning: (396) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    8.108796] jffs2: iget() failed for ino #4
    [    8.113085] overlayfs: failed to resolve '/overlay/upper': -5
    [    8.144427] mount_root: mount failed: No such device, options lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work
    [    8.155533] mount_root: switching to jffs2 failed - fallback to ramoverlay
    [    8.191378] urandom-seed: Seed file not found (/etc/urandom.seed)
    [    8.357783] procd: - early -
    [    8.361523] procd: - watchdog -
    [    9.010113] procd: - ubus -
    [    9.214600] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.224324] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.233555] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.243150] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.252368] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.261723] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.271061] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.280637] procd: - init -
    Please press Enter to activate this console.
    [    9.922316] kmodloader: loading kernel modules from /etc/modules.d/*
    [    9.957878] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [   10.028245] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   10.052569] Ralink/MTK WiFi EEPROM API Build for MT7620. 
    [   10.095404] WRTnode AP Driver version: 4.1.0.0
    [   10.247081] Linux video capture interface: v2.00
    [   10.396823] hidraw: raw HID events driver (C) Jiri Kosina
    [   10.442162] Bluetooth: Core ver 2.21
    [   10.445897] NET: Registered protocol family 31
    [   10.450454] Bluetooth: HCI device and connection manager initialized
    [   10.456907] Bluetooth: HCI socket layer initialized
    [   10.461870] Bluetooth: L2CAP socket layer initialized
    [   10.467023] Bluetooth: SCO socket layer initialized
    [   10.474512] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   10.479965] Bluetooth: BNEP filters: protocol multicast
    [   10.485277] Bluetooth: BNEP socket layer initialized
    [   10.497113] usbcore: registered new interface driver btusb
    [   10.508688] usbcore: registered new interface driver cdc_acm
    [   10.514439] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   10.541060] Bluetooth: HCI UART driver ver 2.3
    [   10.545582] Bluetooth: HCI UART protocol H4 registered
    [   10.550857] Bluetooth: HCI UART protocol BCSP registered
    [   10.560561] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [   10.566590] Bluetooth: HIDP socket layer initialized
    [   10.574878] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   10.596427] nf_conntrack version 0.5.0 (1964 buckets, 7856 max)
    [   10.655288] Bluetooth: RFCOMM TTY layer initialized
    [   10.660341] Bluetooth: RFCOMM socket layer initialized
    [   10.665577] Bluetooth: RFCOMM ver 1.11
    [   10.677385] spidev spi32766.1: buggy DT: spidev listed directly in DT
    [   10.684001] ------------[ cut here ]------------
    [   10.688713] WARNING: CPU: 0 PID: 480 at drivers/spi/spidev.c:720 0x8710033c()
    [   10.695943] Modules linked in: spidev(+) snd_usbmidi_lib slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables hidp hid_generic hci_uart crc_ccitt cdc_acm btusb btintel bnep bluetooth snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 videobuf2_vmalloc videobuf2_memops videobuf2_core hid v4l2_common videodev evdev snd_soc_core ralink_gdma virt_dma mt76x8 ralink_eeprom_api ledtrig_oneshot ledtrig_morse ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat ntfs configfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_i2c dma_shared_buffer ecb cmac mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache exfat usbcore nls_base usb_common crc16 aead crypto_null cryptomgr crc32c_generic crypto_hash
    [   10.805493] CPU: 0 PID: 480 Comm: kmodloader Not tainted 4.4.46 #0
    [   10.811769] Stack : 8036b8a8 00000000 00000001 803c0000 87d2078c 803b4d83 8034ce68 000001e0
    	  80403438 0000000b 0000001a 024000c0 80066220 8004ae40 80352364 803b0000
    	  00000003 0000000b 80350768 87581b4c 80066220 80048dac 00000000 00000000
    	  00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    	  ...
    [   10.847916] Call Trace:
    [   10.850471] [<80066220>] module_sect_show+0x0/0x18
    [   10.855337] [<8004ae40>] vprintk_default+0x24/0x30
    [   10.860229] [<80066220>] module_sect_show+0x0/0x18
    [   10.865092] [<80048dac>] printk+0x2c/0x38
    [   10.869190] [<80025430>] warn_slowpath_common+0xa0/0xd0
    [   10.874504] [<8014c338>] dump_stack+0x14/0x28
    [   10.878940] [<80014874>] show_stack+0x50/0x84
    [   10.883360] [<80025430>] warn_slowpath_common+0xa0/0xd0
    [   10.888674] [<8710033c>] 0x8710033c
    [   10.892212] [<87100000>] 0x87100000
    [   10.895765] [<800254e8>] warn_slowpath_null+0x18/0x24
    [   10.900919] [<801f9818>] of_match_node+0x20/0x44
    [   10.905620] [<87100000>] 0x87100000
    [   10.909175] [<8710033c>] 0x8710033c
    [   10.912733] [<801bef78>] devm_kfree+0x20/0x44
    [   10.917169] [<801e01bc>] spi_drv_probe+0x3c/0x84
    [   10.921882] [<801bbaa8>] driver_probe_device+0x120/0x288
    [   10.927289] [<8008a134>] kstrdup+0x44/0x8c
    [   10.931466] [<801e00bc>] spi_match_device+0x38/0xa8
    [   10.936435] [<801bbc8c>] __driver_attach+0x7c/0xb4
    [   10.941311] [<801b9eb0>] next_device+0x10/0x30
    [   10.945830] [<801bbc10>] __driver_attach+0x0/0xb4
    [   10.950617] [<801b9f6c>] bus_for_each_dev+0x9c/0xac
    [   10.955595] [<802f087c>] klist_add_tail+0x24/0x50
    [   10.960385] [<87100000>] 0x87100000
    [   10.963944] [<801b9d40>] bus_get+0x2c/0x50
    [   10.968131] [<801bb1a0>] bus_add_driver+0xec/0x20c
    [   10.973013] [<800ad190>] exact_match+0x0/0x8
    [   10.977347] [<800ad698>] exact_lock+0x0/0x24
    [   10.981694] [<87100000>] 0x87100000
    [   10.985233] [<87100000>] 0x87100000
    [   10.988782] [<801bc3a4>] driver_register+0xa8/0xf8
    [   10.993648] [<877d7000>] init_module+0x0/0xdc [spidev]
    [   10.998885] [<87100000>] 0x87100000
    [   11.002431] [<87100000>] 0x87100000
    [   11.005968] [<87100000>] 0x87100000
    [   11.009535] [<877d7098>] init_module+0x98/0xdc [spidev]
    [   11.014844] [<80157f08>] kasprintf+0x1c/0x28
    [   11.019203] [<80045798>] __wake_up+0x24/0x48
    [   11.023542] [<877d7000>] init_module+0x0/0xdc [spidev]
    [   11.028793] [<8000d890>] do_one_initcall+0x1e8/0x214
    [   11.033843] [<80045798>] __wake_up+0x24/0x48
    [   11.038180] [<877d7000>] init_module+0x0/0xdc [spidev]
    [   11.043428] [<80034450>] call_usermodehelper_exec+0x144/0x160
    [   11.049285] [<80033f40>] call_usermodehelper_setup+0x38/0xa8
    [   11.055051] [<80066220>] module_sect_show+0x0/0x18
    [   11.059951] [<80067440>] do_init_module+0x74/0x1cc
    [   11.064823] [<8009dc7c>] __vunmap+0xf0/0x114
    [   11.069208] [<80068cd4>] load_module+0x16c0/0x1b68
    [   11.074074] [<8006680c>] unknown_module_param_cb+0x0/0xac
    [   11.079571] [<8009e170>] __vmalloc_node+0x34/0x40
    [   11.084368] [<80069210>] SyS_init_module+0x94/0x180
    [   11.089337] [<800692ac>] SyS_init_module+0x130/0x180
    [   11.094406] [<8000682c>] syscall_common+0x30/0x54
    [   11.099201] [<80008c58>] __bzero+0xbc/0x164
    [   11.103442] 
    [   11.104954] ---[ end trace c36e4de637b49322 ]---
    [   11.117059] usbcore: registered new interface driver ums-alauda
    [   11.126219] usbcore: registered new interface driver ums-cypress
    [   11.135487] usbcore: registered new interface driver ums-datafab
    [   11.144442] usbcore: registered new interface driver ums-freecom
    [   11.153602] usbcore: registered new interface driver ums-isd200
    [   11.162785] usbcore: registered new interface driver ums-jumpshot
    [   11.171880] usbcore: registered new interface driver ums-karma
    [   11.181649] usbcore: registered new interface driver ums-sddr09
    [   11.190801] usbcore: registered new interface driver ums-sddr55
    [   11.200271] usbcore: registered new interface driver ums-usbat
    [   11.212616] usbcore: registered new interface driver usbhid
    [   11.218278] usbhid: USB HID core driver
    [   11.226046] usbcore: registered new interface driver usblp
    [   11.240270] usbcore: registered new interface driver usbserial
    [   11.246295] usbcore: registered new interface driver usbserial_generic
    [   11.253088] usbserial: USB Serial support registered for generic
    [   11.271924] Driver for 1-wire Dallas network protocol.
    [   11.298476] xt_time: kernel timezone is -0000
    [   11.305356] usbcore: registered new interface driver ch341
    [   11.311107] usbserial: USB Serial support registered for ch341-uart
    [   11.319989] usbcore: registered new interface driver cp210x
    [   11.325763] usbserial: USB Serial support registered for cp210x
    [   11.335394] usbcore: registered new interface driver ftdi_sio
    [   11.341422] usbserial: USB Serial support registered for FTDI USB Serial Device
    [   11.360369] usbcore: registered new interface driver pl2303
    [   11.366141] usbserial: USB Serial support registered for pl2303
    [   11.377645] PPP generic driver version 2.4.2
    [   11.385368] NET: Registered protocol family 24
    [   11.403525] usbcore: registered new interface driver snd-usb-audio
    [   11.425687] usbcore: registered new interface driver uvcvideo
    [   11.431583] USB Video Class driver (1.1.1)
    [   11.442596] usbcore: registered new interface driver option
    [   11.448369] usbserial: USB Serial support registered for GSM modem (1-port)
    [   11.461061] kmodloader: done loading kernel modules from /etc/modules.d/*
    [   11.705345] random: jshn: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
    [   11.869651] random: jshn: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
    
    
    
    BusyBox v1.26.2 () built-in shell (ash)
    
       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/
     -----------------------------------------------------
       Ω-ware: 0.1.10 b160
     -----------------------------------------------------
    root@Omega-0000:/# 
    root@Omega-0000:/# cat /etc/config/wi[   23.892584] EEPROM:Read from [factory] offset 0x0,length 0x400.
    root@Omega-0000:/# cat /etc/config/wireless 
    
    config wifi-device 'ra0'
    	option type 'ralink'
    	option mode '9'
    	option channel 'auto'
    	option txpower '100'
    	option ht '20'
    	option country 'US'
    	option disabled '0'
    
    config wifi-iface
    	option device 'ra0'
    	option network 'wlan'
    	option mode 'ap'
    	option encryption 'psk2'
    	option key '12345678'
    	option ApCliEnable '1'
    	option ApCliSsid 'yourwifissid'
    	option ApCliAuthMode 'WPA2PSK'
    	option ApCliEncrypType 'AES'
    	option ApCliPassWord 'yourpassword'
    	option ssid 'Omega-0000'
    
    root@Omega-0000:/# [   26.288662]  ch6 bssid=9e:8f:e0:94:6c:8a
    [   26.292662]  ch6 bssid=7e:8f:e0:94:6c:8a
    [   26.296639]  ch6 bssid=5c:8f:e0:94:6c:8a
    [   26.300648]  ch11 bssid=30:ae:a4:5d:95:05
    [   26.304759]  ch11 bssid=6c:70:9f:e4:32:fe
    [   26.308838] =====================================================
    [   26.315044] Channel 1 : Dirty = 0, False CCA = 0, Busy Time = 2, Skip Channel = FALSE
    [   26.323025] Channel 2 : Dirty = 60, False CCA = 0, Busy Time = 17, Skip Channel = FALSE
    [   26.331151] Channel 3 : Dirty = 72, False CCA = 0, Busy Time = 59, Skip Channel = FALSE
    [   26.339283] Channel 4 : Dirty = 84, False CCA = 0, Busy Time = 37, Skip Channel = FALSE
    [   26.347425] Channel 5 : Dirty = 96, False CCA = 0, Busy Time = 64, Skip Channel = FALSE
    [   26.355558] Channel 6 : Dirty = 210, False CCA = 0, Busy Time = 646, Skip Channel = FALSE
    [   26.363866] Channel 7 : Dirty = 136, False CCA = 0, Busy Time = 337, Skip Channel = FALSE
    [   26.372175] Channel 8 : Dirty = 132, False CCA = 0, Busy Time = 13, Skip Channel = FALSE
    [   26.380402] Channel 9 : Dirty = 128, False CCA = 0, Busy Time = 6, Skip Channel = FALSE
    [   26.388518] Channel 10 : Dirty = 124, False CCA = 0, Busy Time = 1219, Skip Channel = FALSE
    [   26.397000] Channel 11 : Dirty = 140, False CCA = 0, Busy Time = 4253, Skip Channel = FALSE
    [   26.405478] =====================================================
    [   26.411672] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 1 
    [   26.420406] Min Dirty = 0
    [   26.423059] ExChannel = 0 , 0
    [   26.426063] BW        = 20
    [   27.080291] device eth0.1 entered promiscuous mode
    [   27.085170] device eth0 entered promiscuous mode
    [   27.113801] br-wlan: port 1(eth0.1) entered forwarding state
    [   27.119682] br-wlan: port 1(eth0.1) entered forwarding state
    [   29.118659] br-wlan: port 1(eth0.1) entered forwarding state
    [   34.576153] device ra0 entered promiscuous mode
    [   36.388737] EEPROM:Read from [factory] offset 0x0,length 0x400.
    [   38.778665]  ch11 bssid=30:ae:a4:5d:95:05
    [   38.782752]  ch11 bssid=6c:70:9f:e4:32:fe
    [   38.786813] =====================================================
    [   38.793021] Channel 1 : Dirty = 0, False CCA = 0, Busy Time = 6, Skip Channel = FALSE
    [   38.800971] Channel 2 : Dirty = 0, False CCA = 0, Busy Time = 35, Skip Channel = FALSE
    [   38.809015] Channel 3 : Dirty = 0, False CCA = 0, Busy Time = 21, Skip Channel = FALSE
    [   38.817041] Channel 4 : Dirty = 0, False CCA = 0, Busy Time = 26, Skip Channel = FALSE
    [   38.825095] Channel 5 : Dirty = 0, False CCA = 0, Busy Time = 43, Skip Channel = FALSE
    [   38.833139] Channel 6 : Dirty = 0, False CCA = 0, Busy Time = 341, Skip Channel = FALSE
    [   38.841264] Channel 7 : Dirty = 40, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
    [   38.849307] Channel 8 : Dirty = 48, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
    [   38.857334] Channel 9 : Dirty = 56, False CCA = 0, Busy Time = 9, Skip Channel = FALSE
    [   38.865376] Channel 10 : Dirty = 64, False CCA = 0, Busy Time = 7093, Skip Channel = FALSE
    [   38.873772] Channel 11 : Dirty = 140, False CCA = 0, Busy Time = 2236, Skip Channel = FALSE
    [   38.882251] =====================================================
    [   38.888428] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 1 
    [   38.897168] Min Dirty = 0
    [   38.899830] ExChannel = 0 , 0
    [   38.902835] BW        = 20
    [   39.069731] br-wlan: port 2(ra0) entered forwarding state
    [   39.075268] br-wlan: port 2(ra0) entered forwarding state
    
    root@Omega-C0FB:/# 
    root@Omega-C0FB:/# 
    root@Omega-C0FB:/# [   41.068652] br-wlan: port 2(ra0) entered forwarding state
    
    root@Omega-C0FB:/# wifisetup
    Onion Omega Wifi Setup
    
    Select from the following:
    1) Scan for Wifi networks
    2) Type network info
    q) Exit
    
    Selection: 1
    Scanning for wifi networks...
    
    Select Wifi network:
    1) (ssid 1 was here)
    2) (ssid 2 was here)
    
    Selection: 1
    Network: (wifi said was here)
    Authentication type: WPA2PSK
    Enter password: [   60.752244] random: nonblocking pool is initialized
    xxxxxxxxxxxxxxx (wifi password was here)
    
    > Restarting wifimanager for changes to take effect
    root@Omega-C0FB:/# [   94.434160] br-wlan: port 2(ra0) entered disabled state
    [   96.129169] EEPROM:Read from [factory] offset 0x0,length 0x400.
    [   98.528658]  ch6 bssid=9e:8f:e0:94:6c:8a
    [   98.532656]  ch6 bssid=7e:8f:e0:94:6c:8a
    [   98.536635]  ch6 bssid=5c:8f:e0:94:6c:8a
    [   98.540646]  ch11 bssid=6c:70:9f:e4:32:fe
    [   98.544709] =====================================================
    [   98.550908] Channel 1 : Dirty = 0, False CCA = 0, Busy Time = 20, Skip Channel = FALSE
    [   98.558953] Channel 2 : Dirty = 60, False CCA = 0, Busy Time = 38, Skip Channel = FALSE
    [   98.567066] Channel 3 : Dirty = 72, False CCA = 0, Busy Time = 47, Skip Channel = FALSE
    [   98.575205] Channel 4 : Dirty = 84, False CCA = 0, Busy Time = 39, Skip Channel = FALSE
    [   98.583337] Channel 5 : Dirty = 96, False CCA = 0, Busy Time = 243, Skip Channel = FALSE
    [   98.591557] Channel 6 : Dirty = 210, False CCA = 0, Busy Time = 495, Skip Channel = FALSE
    [   98.599858] Channel 7 : Dirty = 116, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
    [   98.607972] Channel 8 : Dirty = 108, False CCA = 0, Busy Time = 1791, Skip Channel = FALSE
    [   98.616367] Channel 9 : Dirty = 100, False CCA = 0, Busy Time = 3, Skip Channel = FALSE
    [   98.624499] Channel 10 : Dirty = 92, False CCA = 0, Busy Time = 689, Skip Channel = FALSE
    [   98.632806] Channel 11 : Dirty = 70, False CCA = 0, Busy Time = 2048, Skip Channel = FALSE
    [   98.641190] =====================================================
    [   98.647367] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 1 
    [   98.656108] Min Dirty = 0
    [   98.658770] ExChannel = 0 , 0
    [   98.661774] BW        = 20
    [   98.689955] br-wlan: port 2(ra0) entered forwarding state
    [   98.695476] br-wlan: port 2(ra0) entered forwarding state
    [  100.688646] br-wlan: port 2(ra0) entered forwarding state
    [  104.092837] !!! APCLI LINK UP - IF(apcli0) AuthMode(7)=WPA2PSK, WepStatus(6)=AES!
    


  • And here is the reboot with the default wifi configuration file, which shouldn't be default because I just configured it and simply rebooted...

    
    root@Omega-C0FB:/# 
    root@Omega-C0FB:/# sync
    root@Omega-C0FB:/# reboot
    root@Omega-C0FB:/# [  365.282114] br-wlan: port 2(ra0) entered disabled state
    [  365.287560] br-wlan: port 1(eth0.1) entered disabled state
    [  365.305232] device eth0.1 left promiscuous mode
    [  365.309921] device eth0 left promiscuous mode
    [  365.314452] br-wlan: port 1(eth0.1) entered disabled state
    [  365.339363] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
    [  365.355098] device ra0 left promiscuous mode
    [  365.359552] br-wlan: port 2(ra0) entered disabled state
    [  365.563190] !!! APCLI LINK DOWN - IF(apcli0)!!!
    [  369.684532] reboot: Restarting system
    
    
       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/"
    
    Board: Onion Omega2 APSoC DRAM:  128 MB
    relocate_code Pointer at: 87f60000
    ******************************
    Software System Reset Occurred
    ******************************
    flash manufacture id: c2, device id 20 19
    find flash: MX25L25635E
    *** Warning - bad CRC, using default environment
    
    ============================================ 
    Onion Omega2 UBoot Version: 4.3.0.3
    -------------------------------------------- 
    ASIC 7628_MP (Port5<->None)
    DRAM component: 1024 Mbits DDR, width 16
    DRAM bus: 16 bit
    Total memory: 128 MBytes
    Flash component: SPI Flash
    Date:Oct 18 2016  Time:17:29:05
    ============================================ 
    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 = 128 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 LEDE Linux-4.4.46
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    1311684 Bytes =  1.3 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, 128
    
    Starting kernel ...
    
    [    0.000000] Linux version 4.4.46 (root@2272a3272872) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3273-a0888ec) ) #0 Thu Feb 2 23:46:03 2017
    [    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: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
    [    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: 32512
    [    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Writing ErrCtl register=00041700
    [    0.000000] Readback ErrCtl register=00041700
    [    0.000000] Memory: 125556K/131072K available (3025K kernel code, 142K rwdata, 728K rodata, 192K init, 196K bss, 5516K 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] clocksource_probe: no matching clocksources found
    [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
    [    0.000010] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
    [    0.007520] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
    [    0.070042] pid_max: default: 32768 minimum: 301
    [    0.074637] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.080977] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.094351] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.104013] pinctrl core: initialized pinctrl subsystem
    [    0.109719] NET: Registered protocol family 16
    [    0.133601] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.139145] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.144576] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.151098] i2c-mt7621 10000900.i2c: clock 100KHz, re-start not support
    [    0.158635] clocksource: Switched to clocksource MIPS
    [    0.165153] NET: Registered protocol family 2
    [    0.170274] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.176966] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.183147] TCP: Hash tables configured (established 1024 bind 1024)
    [    0.189349] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.194953] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.201295] NET: Registered protocol family 1
    [    0.211302] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.217255] Crashlog allocated RAM at address 0x3f00000
    [    0.237560] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.243214] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.255809] io scheduler noop registered
    [    0.259610] io scheduler deadline registered (default)
    [    0.265401] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm
    [    0.274483] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22
    [    0.280494] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0  on device rt2880-pinmux
    [    0.289896] mtk-pwm 10005000.pwm: Error applying setting, reverse things back
    [    0.297267] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    0.304877] console [ttyS0] disabled
    [    0.308311] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
    [    0.317091] console [ttyS0] enabled
    [    0.317091] console [ttyS0] enabled
    [    0.324084] bootconsole [early0] disabled
    [    0.324084] bootconsole [early0] disabled
    [    0.332763] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
    [    0.342281] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
    [    0.352931] spi-mt7621 10000b00.spi: sys_freq: 193333333
    [    0.363006] m25p80 spi32766.0: using chunked io (size=31)
    [    0.368503] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
    [    0.374071] 4 ofpart partitions found on MTD device spi32766.0
    [    0.379995] Creating 4 MTD partitions on "spi32766.0":
    [    0.385211] 0x000000000000-0x000000030000 : "u-boot"
    [    0.392036] 0x000000030000-0x000000040000 : "u-boot-env"
    [    0.399322] 0x000000040000-0x000000050000 : "factory"
    [    0.406268] 0x000000050000-0x000002000000 : "firmware"
    [    0.453999] 2 uimage-fw partitions found on MTD device firmware
    [    0.460050] 0x000000050000-0x000000190404 : "kernel"
    [    0.466770] 0x000000190404-0x000002000000 : "rootfs"
    [    0.473699] mtd: device 5 (rootfs) set to be root filesystem
    [    0.479576] 1 squashfs-split partitions found on MTD device rootfs
    [    0.485852] 0x0000006f0000-0x000002000000 : "rootfs_data"
    [    0.503289] rt3050-esw 10110000.esw: link changed 0x00
    [    0.511022] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
    [    0.519700] i2c /dev entries driver
    [    0.523839] mt7621_wdt 10000120.watchdog: Initialized
    [    0.530588] NET: Registered protocol family 10
    [    0.539169] NET: Registered protocol family 17
    [    0.543789] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    0.556635] 8021q: 802.1Q VLAN Support v1.8
    [    0.567931] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
    [    0.576215] Freeing unused kernel memory: 192K (803d0000 - 80400000)
    [    1.568751] init: Console is alive
    [    1.572429] init: - watchdog -
    [    4.001726] kmodloader: loading kernel modules from /etc/modules-boot.d/*
    [    4.155911] usbcore: registered new interface driver usbfs
    [    4.161655] usbcore: registered new interface driver hub
    [    4.167140] usbcore: registered new device driver usb
    [    4.178800] exFAT: Version 1.2.9
    [    4.223461] SCSI subsystem initialized
    [    4.234224] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    4.242657] ehci-platform: EHCI generic platform driver
    [    4.258315] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
    [    4.265133] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
    [    4.270475] ehci-platform 101c0000.ehci: EHCI Host Controller
    [    4.276339] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
    [    4.284520] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
    [    4.308675] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
    [    4.316177] hub 1-0:1.0: USB hub found
    [    4.320413] hub 1-0:1.0: 1 port detected
    [    4.329491] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    4.337423] ohci-platform: OHCI generic platform driver
    [    4.343084] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
    [    4.350055] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
    [    4.358171] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
    [    4.423800] hub 2-0:1.0: USB hub found
    [    4.428044] hub 2-0:1.0: 1 port detected
    [    4.445628] MTK MSDC device init.
    [    4.488809] mtk-sd: MediaTek MT6575 MSDC Driver
    [    4.496843] sdhci: Secure Digital Host Controller Interface driver
    [    4.503191] sdhci: Copyright(c) Pierre Ossman
    [    4.509134] sdhci-pltfm: SDHCI platform and OF driver helper
    [    4.519515] usbcore: registered new interface driver usb-storage
    [    4.529209] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
    [    4.547044] init: - preinit -
    [    5.391391] 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[    5.591392] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
     level
    [    7.916751] jffs2: notice: (396) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [    7.932978] jffs2: notice: (396) jffs2_get_inode_nodes: Node header CRC failed at 0x13a1588. {ffff,ffff,ffffffff,ffffffff}
    [    7.944305] jffs2: notice: (396) jffs2_get_inode_nodes: Node header CRC failed at 0x13a0f24. {ffff,ffff,ffffffff,ffffffff}
    [    7.955532] jffs2: warning: (396) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    7.964288] jffs2: iget() failed for ino #4
    [    7.968665] jffs2: warning: (396) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [    7.976874] jffs2: warning: (396) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    7.985629] jffs2: iget() failed for ino #4
    [    7.991287] mount_root: switching to jffs2 overlay
    [    8.021360] jffs2: warning: (396) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [    8.029641] jffs2: warning: (396) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    8.038383] jffs2: iget() failed for ino #4
    [    8.043090] jffs2: warning: (396) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [    8.051364] jffs2: warning: (396) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    8.060126] jffs2: iget() failed for ino #4
    [    8.064414] overlayfs: failed to resolve '/overlay/upper': -5
    [    8.095652] mount_root: mount failed: No such device, options lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work
    [    8.106755] mount_root: switching to jffs2 failed - fallback to ramoverlay
    [    8.142646] urandom-seed: Seed file not found (/etc/urandom.seed)
    [    8.309733] procd: - early -
    [    8.312767] procd: - watchdog -
    [    8.960991] procd: - ubus -
    [    9.165509] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.175212] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.184505] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.194070] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.203322] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.212655] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.222032] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.231609] procd: - init -
    Please press Enter to activate this console.
    [    9.874883] kmodloader: loading kernel modules from /etc/modules.d/*
    [    9.910899] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [    9.981036] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   10.005301] Ralink/MTK WiFi EEPROM API Build for MT7620. 
    [   10.047818] WRTnode AP Driver version: 4.1.0.0
    [   10.124642] Linux video capture interface: v2.00
    [   10.349233] hidraw: raw HID events driver (C) Jiri Kosina
    [   10.395137] Bluetooth: Core ver 2.21
    [   10.398966] NET: Registered protocol family 31
    [   10.403473] Bluetooth: HCI device and connection manager initialized
    [   10.409955] Bluetooth: HCI socket layer initialized
    [   10.414907] Bluetooth: L2CAP socket layer initialized
    [   10.420072] Bluetooth: SCO socket layer initialized
    [   10.427529] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   10.432997] Bluetooth: BNEP filters: protocol multicast
    [   10.438311] Bluetooth: BNEP socket layer initialized
    [   10.450175] usbcore: registered new interface driver btusb
    [   10.461745] usbcore: registered new interface driver cdc_acm
    [   10.467496] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   10.494371] Bluetooth: HCI UART driver ver 2.3
    [   10.498966] Bluetooth: HCI UART protocol H4 registered
    [   10.504175] Bluetooth: HCI UART protocol BCSP registered
    [   10.513792] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [   10.519890] Bluetooth: HIDP socket layer initialized
    [   10.528118] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   10.549747] nf_conntrack version 0.5.0 (1964 buckets, 7856 max)
    [   10.608501] Bluetooth: RFCOMM TTY layer initialized
    [   10.613554] Bluetooth: RFCOMM socket layer initialized
    [   10.618803] Bluetooth: RFCOMM ver 1.11
    [   10.630662] spidev spi32766.1: buggy DT: spidev listed directly in DT
    [   10.637209] ------------[ cut here ]------------
    [   10.641981] WARNING: CPU: 0 PID: 480 at drivers/spi/spidev.c:720 0x8711433c()
    [   10.649230] Modules linked in: spidev(+) snd_usbmidi_lib slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables hidp hid_generic hci_uart crc_ccitt cdc_acm btusb btintel bnep bluetooth snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 videobuf2_vmalloc videobuf2_memops videobuf2_core hid v4l2_common videodev evdev snd_soc_core ralink_gdma virt_dma mt76x8 ralink_eeprom_api ledtrig_oneshot ledtrig_morse ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat ntfs configfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_i2c dma_shared_buffer ecb cmac mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache exfat usbcore nls_base usb_common crc16 aead crypto_null cryptomgr crc32c_generic crypto_hash
    [   10.758777] CPU: 0 PID: 480 Comm: kmodloader Not tainted 4.4.46 #0
    [   10.765041] Stack : 8036b8a8 00000000 00000001 803c0000 87d216a4 803b4d83 8034ce68 000001e0
    	  80403438 0000000b 0000001a 024000c0 80066220 8004ae40 80352364 803b0000
    	  00000003 0000000b 80350768 87597b4c 80066220 80048dac 00000000 00000000
    	  00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    	  ...
    [   10.801202] Call Trace:
    [   10.803737] [<80066220>] module_sect_show+0x0/0x18
    [   10.808603] [<8004ae40>] vprintk_default+0x24/0x30
    [   10.813493] [<80066220>] module_sect_show+0x0/0x18
    [   10.818355] [<80048dac>] printk+0x2c/0x38
    [   10.822453] [<80025430>] warn_slowpath_common+0xa0/0xd0
    [   10.827767] [<8014c338>] dump_stack+0x14/0x28
    [   10.832202] [<80014874>] show_stack+0x50/0x84
    [   10.836623] [<80025430>] warn_slowpath_common+0xa0/0xd0
    [   10.841936] [<8711433c>] 0x8711433c
    [   10.845493] [<800254e8>] warn_slowpath_null+0x18/0x24
    [   10.850646] [<801f9818>] of_match_node+0x20/0x44
    [   10.855355] [<8711433c>] 0x8711433c
    [   10.858927] [<801bef78>] devm_kfree+0x20/0x44
    [   10.863364] [<801e01bc>] spi_drv_probe+0x3c/0x84
    [   10.868056] [<801bbaa8>] driver_probe_device+0x120/0x288
    [   10.873476] [<8008a134>] kstrdup+0x44/0x8c
    [   10.877644] [<801e00bc>] spi_match_device+0x38/0xa8
    [   10.882628] [<801bbc8c>] __driver_attach+0x7c/0xb4
    [   10.887488] [<801b9eb0>] next_device+0x10/0x30
    [   10.892018] [<801bbc10>] __driver_attach+0x0/0xb4
    [   10.896789] [<801b9f6c>] bus_for_each_dev+0x9c/0xac
    [   10.901779] [<802f087c>] klist_add_tail+0x24/0x50
    [   10.906579] [<801b9d40>] bus_get+0x2c/0x50
    [   10.910775] [<801bb1a0>] bus_add_driver+0xec/0x20c
    [   10.915642] [<800ad190>] exact_match+0x0/0x8
    [   10.919988] [<800ad698>] exact_lock+0x0/0x24
    [   10.924339] [<801bc3a4>] driver_register+0xa8/0xf8
    [   10.929220] [<877c1000>] init_module+0x0/0xdc [spidev]
    [   10.934461] [<877c1098>] init_module+0x98/0xdc [spidev]
    [   10.939783] [<80157f08>] kasprintf+0x1c/0x28
    [   10.944131] [<800a5b58>] ___slab_alloc.isra.12.constprop.18+0x104/0x240
    [   10.950857] [<877c1000>] init_module+0x0/0xdc [spidev]
    [   10.956093] [<8000d890>] do_one_initcall+0x1e8/0x214
    [   10.961158] [<877c1000>] init_module+0x0/0xdc [spidev]
    [   10.966380] [<800a5ec8>] kmem_cache_alloc+0x40/0xfc
    [   10.971372] [<80033f40>] call_usermodehelper_setup+0x38/0xa8
    [   10.977137] [<800a5cb4>] __slab_alloc.isra.13.constprop.17+0x20/0x44
    [   10.983612] [<80066220>] module_sect_show+0x0/0x18
    [   10.988496] [<80067440>] do_init_module+0x74/0x1cc
    [   10.993380] [<8009dc7c>] __vunmap+0xf0/0x114
    [   10.997743] [<80068cd4>] load_module+0x16c0/0x1b68
    [   11.002623] [<8006680c>] unknown_module_param_cb+0x0/0xac
    [   11.008106] [<8009e170>] __vmalloc_node+0x34/0x40
    [   11.012923] [<80069210>] SyS_init_module+0x94/0x180
    [   11.017875] [<800692ac>] SyS_init_module+0x130/0x180
    [   11.022954] [<8000682c>] syscall_common+0x30/0x54
    [   11.027736] [<80008c58>] __bzero+0xbc/0x164
    [   11.031988] 
    [   11.033500] ---[ end trace e0ff46c2064c97f1 ]---
    [   11.045672] usbcore: registered new interface driver ums-alauda
    [   11.054863] usbcore: registered new interface driver ums-cypress
    [   11.064155] usbcore: registered new interface driver ums-datafab
    [   11.073147] usbcore: registered new interface driver ums-freecom
    [   11.082357] usbcore: registered new interface driver ums-isd200
    [   11.091616] usbcore: registered new interface driver ums-jumpshot
    [   11.100756] usbcore: registered new interface driver ums-karma
    [   11.110589] usbcore: registered new interface driver ums-sddr09
    [   11.119752] usbcore: registered new interface driver ums-sddr55
    [   11.129327] usbcore: registered new interface driver ums-usbat
    [   11.141608] usbcore: registered new interface driver usbhid
    [   11.147270] usbhid: USB HID core driver
    [   11.155007] usbcore: registered new interface driver usblp
    [   11.169142] usbcore: registered new interface driver usbserial
    [   11.175170] usbcore: registered new interface driver usbserial_generic
    [   11.181943] usbserial: USB Serial support registered for generic
    [   11.200815] Driver for 1-wire Dallas network protocol.
    [   11.227572] xt_time: kernel timezone is -0000
    [   11.234340] usbcore: registered new interface driver ch341
    [   11.240119] usbserial: USB Serial support registered for ch341-uart
    [   11.249000] usbcore: registered new interface driver cp210x
    [   11.254770] usbserial: USB Serial support registered for cp210x
    [   11.264373] usbcore: registered new interface driver ftdi_sio
    [   11.270406] usbserial: USB Serial support registered for FTDI USB Serial Device
    [   11.289386] usbcore: registered new interface driver pl2303
    [   11.295152] usbserial: USB Serial support registered for pl2303
    [   11.306731] PPP generic driver version 2.4.2
    [   11.314452] NET: Registered protocol family 24
    [   11.332581] usbcore: registered new interface driver snd-usb-audio
    [   11.354605] usbcore: registered new interface driver uvcvideo
    [   11.360500] USB Video Class driver (1.1.1)
    [   11.371528] usbcore: registered new interface driver option
    [   11.377301] usbserial: USB Serial support registered for GSM modem (1-port)
    [   11.389977] kmodloader: done loading kernel modules from /etc/modules.d/*
    [   11.634178] random: jshn: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
    [   11.798413] random: jshn: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
    [   23.912716] EEPROM:Read from [factory] offset 0x0,length 0x400.
    
    
    
    BusyBox v1.26.2 () built-in shell (ash)
    
       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/
     -----------------------------------------------------
       Ω-ware: 0.1.10 b160
     -----------------------------------------------------
    root@Omega-0000:/# [   26.408658]  ch6 bssid=9e:8f:e0:94:6c:8a
    [   26.412656]  ch6 bssid=7e:8f:e0:94:6c:8a
    [   26.416634]  ch6 bssid=5c:8f:e0:94:6c:8a
    [   26.420645]  ch11 bssid=6c:70:9f:e4:32:fe
    [   26.424714]  ch11 bssid=30:ae:a4:5d:95:05
    [   26.428790] =====================================================
    [   26.434974] Channel 1 : Dirty = 0, False CCA = 0, Busy Time = 35, Skip Channel = FALSE
    [   26.443030] Channel 2 : Dirty = 60, False CCA = 0, Busy Time = 26, Skip Channel = FALSE
    [   26.451161] Channel 3 : Dirty = 72, False CCA = 0, Busy Time = 54, Skip Channel = FALSE
    [   26.459293] Channel 4 : Dirty = 84, False CCA = 0, Busy Time = 25, Skip Channel = FALSE
    [   26.467409] Channel 5 : Dirty = 96, False CCA = 0, Busy Time = 55, Skip Channel = FALSE
    [   26.475540] Channel 6 : Dirty = 210, False CCA = 0, Busy Time = 521, Skip Channel = FALSE
    [   26.483848] Channel 7 : Dirty = 136, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
    [   26.491986] Channel 8 : Dirty = 132, False CCA = 0, Busy Time = 15, Skip Channel = FALSE
    [   26.500229] Channel 9 : Dirty = 128, False CCA = 0, Busy Time = 164, Skip Channel = FALSE
    [   26.508523] Channel 10 : Dirty = 124, False CCA = 0, Busy Time = 1133, Skip Channel = FALSE
    [   26.517006] Channel 11 : Dirty = 140, False CCA = 0, Busy Time = 1569, Skip Channel = FALSE
    [   26.525484] =====================================================
    [   26.531669] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 1 
    [   26.540409] Min Dirty = 0
    [   26.543062] ExChannel = 0 , 0
    [   26.546066] BW        = 20
    
    root@Omega-0000:/# 
    root@Omega-0000:/# [   26.791927] device eth0.1 entered promiscuous mode
    [   26.796806] device eth0 entered promiscuous mode
    [   26.862767] br-wlan: port 1(eth0.1) entered forwarding state
    [   26.868577] br-wlan: port 1(eth0.1) entered forwarding state
    
    root@Omega-0000:/# [   28.858659] br-wlan: port 1(eth0.1) entered forwarding state
    
    root@Omega-C0FB:/# 
    root@Omega-C0FB:/# 
    root@Omega-C0FB:/# cat [   32.059757] device ra0 entered promiscuous mode
    [   32.064433] br-wlan: port 2(ra0) entered forwarding state
    [   32.070006] br-wlan: port 2(ra0) entered forwarding state
    [   32.816668] br-wlan: port 2(ra0) entered disabled state
    [   34.102701] EEPROM:Read from [factory] offset 0x0,length 0x400.
    [   36.488658]  ch6 bssid=5c:8f:e0:94:6c:8a
    [   36.492657]  ch6 bssid=9e:8f:e0:94:6c:8a
    [   36.496690]  ch6 bssid=7e:8f:e0:94:6c:8a
    [   36.500704]  ch11 bssid=6c:70:9f:e4:32:fe
    [   36.504773]  ch11 bssid=30:ae:a4:5d:95:05
    [   36.508849] =====================================================
    [   36.515033] Channel 1 : Dirty = 0, False CCA = 0, Busy Time = 80, Skip Channel = FALSE
    [   36.523076] Channel 2 : Dirty = 60, False CCA = 0, Busy Time = 242, Skip Channel = FALSE
    [   36.531302] Channel 3 : Dirty = 72, False CCA = 0, Busy Time = 275, Skip Channel = FALSE
    [   36.539521] Channel 4 : Dirty = 84, False CCA = 0, Busy Time = 453, Skip Channel = FALSE
    [   36.547725] Channel 5 : Dirty = 96, False CCA = 0, Busy Time = 429, Skip Channel = FALSE
    [   36.555943] Channel 6 : Dirty = 210, False CCA = 0, Busy Time = 1158, Skip Channel = FALSE
    [   36.564339] Channel 7 : Dirty = 136, False CCA = 0, Busy Time = 36, Skip Channel = FALSE
    [   36.572552] Channel 8 : Dirty = 132, False CCA = 0, Busy Time = 21, Skip Channel = FALSE
    [   36.580778] Channel 9 : Dirty = 128, False CCA = 0, Busy Time = 22, Skip Channel = FALSE
    [   36.588999] Channel 10 : Dirty = 124, False CCA = 0, Busy Time = 1057, Skip Channel = FALSE
    [   36.597465] Channel 11 : Dirty = 140, False CCA = 0, Busy Time = 1498, Skip Channel = FALSE
    [   36.605942] =====================================================
    [   36.612127] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 1 
    [   36.620867] Min Dirty = 0
    [   36.623520] ExChannel = 0 , 0
    [   36.626524] BW        = 20
    [   36.654690] br-wlan: port 2(ra0) entered forwarding state
    [   36.660271] br-wlan: port 2(ra0) entered forwarding state
    [   38.658646] br-wlan: port 2(ra0) entered forwarding state
    root@Omega-C0FB:/# cat /etc/config/wireless 
    
    config wifi-device 'ra0'
    	option type 'ralink'
    	option mode '9'
    	option channel 'auto'
    	option txpower '100'
    	option ht '20'
    	option country 'US'
    	option disabled '0'
    
    config wifi-iface
    	option device 'ra0'
    	option network 'wlan'
    	option mode 'ap'
    	option encryption 'psk2'
    	option key '12345678'
    	option ApCliEnable '1'
    	option ApCliSsid 'yourwifissid'
    	option ApCliAuthMode 'WPA2PSK'
    	option ApCliEncrypType 'AES'
    	option ApCliPassWord 'yourpassword'
    	option ssid 'Omega-C0FB'
    
    root@Omega-C0FB:/#
    


  • @Chris-Morgan Sorry, I'm afraid you are not patient enough. 😉
    Here you are my 'stoical' boot log: Omega2+ v0.1.10 b160, Arduino Dock 2

    root@Omega-99A5:/# FACTORY RESET
    [  440.593695] Removing MTD device #6 (rootfs_data) with use count 1
    [  440.624921] reboot: Restarting system
    
    
       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/"
    
    Board: Onion Omega2 APSoC DRAM:  128 MB
    relocate_code Pointer at: 87f60000
    ******************************
    Software System Reset Occurred
    ******************************
    flash manufacture id: c2, device id 20 19
    find flash: MX25L25635E
    *** Warning - bad CRC, using default environment
    
    ============================================
    Onion Omega2 UBoot Version: 4.3.0.3
    --------------------------------------------
    ASIC 7628_MP (Port5<->None)
    DRAM component: 1024 Mbits DDR, width 16
    DRAM bus: 16 bit   
    Total memory: 128 MBytes
    Flash component: SPI Flash
    Date:Oct 18 2016  Time:17:29:05
    ============================================
    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 = 128 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 LEDE Linux-4.4.46
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    1311684 Bytes =  1.3 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, 128
    
    Starting kernel ...
    
    [    0.000000] Linux version 4.4.46 (root@2272a3272872) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3273-a0888ec) ) #0 Thu Feb 2 23:46:03 2017
    [    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: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
    [    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: 32512
    [    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Writing ErrCtl register=000714b0
    [    0.000000] Readback ErrCtl register=000714b0
    [    0.000000] Memory: 125556K/131072K available (3025K kernel code, 142K rwdata, 728K rodata, 192K init, 196K bss, 5516K 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] clocksource_probe: no matching clocksources found
    [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
    [    0.000010] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
    [    0.007520] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
    [    0.070042] pid_max: default: 32768 minimum: 301
    [    0.074637] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.080977] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.094351] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.104013] pinctrl core: initialized pinctrl subsystem
    [    0.109719] NET: Registered protocol family 16
    [    0.133601] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.139144] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.144575] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.151097] i2c-mt7621 10000900.i2c: clock 100KHz, re-start not support
    [    0.158634] clocksource: Switched to clocksource MIPS
    [    0.165152] NET: Registered protocol family 2
    [    0.170273] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.176966] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.183146] TCP: Hash tables configured (established 1024 bind 1024)
    [    0.189349] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.194952] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.201295] NET: Registered protocol family 1
    [    0.211302] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.217257] Crashlog allocated RAM at address 0x3f00000
    [    0.237559] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.243214] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.255808] io scheduler noop registered
    [    0.259609] io scheduler deadline registered (default)
    [    0.265401] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm
    [    0.274483] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22
    [    0.280493] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0  on device rt2880-pinmux
    [    0.289896] mtk-pwm 10005000.pwm: Error applying setting, reverse things back
    [    0.297266] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    0.304877] console [ttyS0] disabled
    [    0.308311] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
    [    0.317090] console [ttyS0] enabled
    [    0.317090] console [ttyS0] enabled
    [    0.324084] bootconsole [early0] disabled
    [    0.324084] bootconsole [early0] disabled
    [    0.332763] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
    [    0.342280] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
    [    0.352930] spi-mt7621 10000b00.spi: sys_freq: 193333333
    [    0.363005] m25p80 spi32766.0: using chunked io (size=31)
    [    0.368502] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
    [    0.374070] 4 ofpart partitions found on MTD device spi32766.0
    [    0.379994] Creating 4 MTD partitions on "spi32766.0":
    [    0.385210] 0x000000000000-0x000000030000 : "u-boot"
    [    0.392035] 0x000000030000-0x000000040000 : "u-boot-env"
    [    0.399322] 0x000000040000-0x000000050000 : "factory"
    [    0.406268] 0x000000050000-0x000002000000 : "firmware"
    [    0.453999] 2 uimage-fw partitions found on MTD device firmware
    [    0.460049] 0x000000050000-0x000000190404 : "kernel"
    [    0.466769] 0x000000190404-0x000002000000 : "rootfs"
    [    0.473698] mtd: device 5 (rootfs) set to be root filesystem
    [    0.479575] 1 squashfs-split partitions found on MTD device rootfs
    [    0.485851] 0x0000006f0000-0x000002000000 : "rootfs_data"
    [    0.503071] rt3050-esw 10110000.esw: link changed 0x00
    [    0.510810] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
    [    0.519486] i2c /dev entries driver
    [    0.523625] mt7621_wdt 10000120.watchdog: Initialized
    [    0.530374] NET: Registered protocol family 10
    [    0.538957] NET: Registered protocol family 17
    [    0.543577] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    0.556418] 8021q: 802.1Q VLAN Support v1.8
    [    0.567714] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
    [    0.575999] Freeing unused kernel memory: 192K (803d0000 - 80400000)
    [    1.568414] init: Console is alive
    [    1.572168] init: - watchdog -
    [    4.000300] kmodloader: loading kernel modules from /etc/modules-boot.d/*
    [    4.154968] usbcore: registered new interface driver usbfs
    [    4.160713] usbcore: registered new interface driver hub
    [    4.166198] usbcore: registered new device driver usb
    [    4.177751] exFAT: Version 1.2.9
    [    4.220790] SCSI subsystem initialized
    [    4.231622] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    4.240127] ehci-platform: EHCI generic platform driver
    [    4.255782] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
    [    4.262602] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
    [    4.267930] ehci-platform 101c0000.ehci: EHCI Host Controller
    [    4.273809] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
    [    4.281985] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
    [    4.298675] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
    [    4.306141] hub 1-0:1.0: USB hub found
    [    4.310417] hub 1-0:1.0: 1 port detected
    [    4.319443] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    4.327418] ohci-platform: OHCI generic platform driver
    [    4.333077] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
    [    4.340050] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
    [    4.348165] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
    [    4.413809] hub 2-0:1.0: USB hub found
    [    4.418050] hub 2-0:1.0: 1 port detected
    [    4.435673] MTK MSDC device init.
    [    4.478809] mtk-sd: MediaTek MT6575 MSDC Driver
    [    4.486831] sdhci: Secure Digital Host Controller Interface driver
    [    4.493179] sdhci: Copyright(c) Pierre Ossman
    [    4.499116] sdhci-pltfm: SDHCI platform and OF driver helper
    [    4.509511] usbcore: registered new interface driver usb-storage
    [    4.519208] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
    [    4.537038] init: - preinit -
    [    5.380715] 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[    5.580667] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
     level
    [    8.910776] jffs2: notice: (397) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [    8.928200] mount_root: overlay filesystem has not been fully initialized yet
    [    8.942464] mount_root: switching to jffs2 overlay
    [    8.976999] urandom-seed: Seed file not found (/etc/urandom.seed)
    [    9.144043] procd: - early -
    [    9.147085] procd: - watchdog -
    [    9.794789] procd: - ubus -
    [    9.999354] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.009074] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.018247] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.027849] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.037097] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.046426] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.055801] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.065351] procd: - init -
    Please press Enter to activate this console.
    [   10.713567] kmodloader: loading kernel modules from /etc/modules.d/*
    [   10.749640] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [   10.820243] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   10.844435] Ralink/MTK WiFi EEPROM API Build for MT7620.
    [   10.887861] WRTnode AP Driver version: 4.1.0.0
    [   11.041366] Linux video capture interface: v2.00
    [   11.191077] hidraw: raw HID events driver (C) Jiri Kosina
    [   11.235985] Bluetooth: Core ver 2.21
    [   11.239801] NET: Registered protocol family 31
    [   11.244308] Bluetooth: HCI device and connection manager initialized
    [   11.250793] Bluetooth: HCI socket layer initialized
    [   11.255744] Bluetooth: L2CAP socket layer initialized
    [   11.260908] Bluetooth: SCO socket layer initialized
    [   11.268348] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   11.273817] Bluetooth: BNEP filters: protocol multicast
    [   11.279143] Bluetooth: BNEP socket layer initialized
    [   11.291106] usbcore: registered new interface driver btusb
    [   11.301947] usbcore: registered new interface driver cdc_acm
    [   11.307698] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   11.335241] Bluetooth: HCI UART driver ver 2.3
    [   11.339835] Bluetooth: HCI UART protocol H4 registered
    [   11.345044] Bluetooth: HCI UART protocol BCSP registered
    [   11.354655] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [   11.360754] Bluetooth: HIDP socket layer initialized
    [   11.368969] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   11.390436] nf_conntrack version 0.5.0 (1964 buckets, 7856 max)
    [   11.449370] Bluetooth: RFCOMM TTY layer initialized
    [   11.454356] Bluetooth: RFCOMM socket layer initialized
    [   11.459644] Bluetooth: RFCOMM ver 1.11
    [   11.471510] spidev spi32766.1: buggy DT: spidev listed directly in DT
    [   11.478058] ------------[ cut here ]------------
    [   11.482823] WARNING: CPU: 0 PID: 479 at drivers/spi/spidev.c:720 0x8712633c()
    [   11.490068] Modules linked in: spidev(+) snd_usbmidi_lib slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables hidp hid_generic hci_uart crc_ccitt cdc_acm btusb btintel bnep bluetooth snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 videobuf2_vmalloc videobuf2_memops videobuf2_core hid v4l2_common videodev evdev snd_soc_core ralink_gdma virt_dma mt76x8 ralink_eeprom_api ledtrig_oneshot ledtrig_morse ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat ntfs configfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_i2c dma_shared_buffer ecb cmac mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache exfat usbcore nls_base usb_common crc16 aead crypto_null cryptomgr crc32c_generic crypto_hash
    [   11.599622] CPU: 0 PID: 479 Comm: kmodloader Not tainted 4.4.46 #0
    [   11.605886] Stack : 8036b8a8 00000000 00000001 803c0000 87d2078c 803b4d83 8034ce68 000001df
              80403438 0000000b 0000001a 024000c0 80066220 8004ae40 80352364 803b0000
              00000003 0000000b 80350768 87521b4c 80066220 80048dac 00000000 00000000
              00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
              00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
              ...
    [   11.642056] Call Trace:
    [   11.644592] [<80066220>] module_sect_show+0x0/0x18
    [   11.649489] [<8004ae40>] vprintk_default+0x24/0x30
    [   11.654366] [<80066220>] module_sect_show+0x0/0x18
    [   11.659243] [<80048dac>] printk+0x2c/0x38
    [   11.663327] [<80025430>] warn_slowpath_common+0xa0/0xd0
    [   11.668655] [<8014c338>] dump_stack+0x14/0x28
    [   11.673076] [<80014874>] show_stack+0x50/0x84
    [   11.677495] [<80025430>] warn_slowpath_common+0xa0/0xd0
    [   11.682809] [<8712633c>] 0x8712633c
    [   11.686367] [<800254e8>] warn_slowpath_null+0x18/0x24
    [   11.691521] [<801f9818>] of_match_node+0x20/0x44
    [   11.696230] [<8712633c>] 0x8712633c
    [   11.699796] [<801bef78>] devm_kfree+0x20/0x44
    [   11.704232] [<801e01bc>] spi_drv_probe+0x3c/0x84
    [   11.708945] [<801bbaa8>] driver_probe_device+0x120/0x288
    [   11.714351] [<8008a134>] kstrdup+0x44/0x8c
    [   11.718516] [<801e00bc>] spi_match_device+0x38/0xa8
    [   11.723500] [<801bbc8c>] __driver_attach+0x7c/0xb4
    [   11.728361] [<801b9eb0>] next_device+0x10/0x30
    [   11.732892] [<801bbc10>] __driver_attach+0x0/0xb4
    [   11.737663] [<801b9f6c>] bus_for_each_dev+0x9c/0xac
    [   11.742655] [<802f087c>] klist_add_tail+0x24/0x50
    [   11.747455] [<801b9d40>] bus_get+0x2c/0x50
    [   11.751651] [<801bb1a0>] bus_add_driver+0xec/0x20c
    [   11.756518] [<800ad190>] exact_match+0x0/0x8
    [   11.760860] [<800ad698>] exact_lock+0x0/0x24
    [   11.765211] [<801bc3a4>] driver_register+0xa8/0xf8
    [   11.770093] [<87133000>] init_module+0x0/0xdc [spidev]
    [   11.775335] [<87133098>] init_module+0x98/0xdc [spidev]
    [   11.780658] [<80157f08>] kasprintf+0x1c/0x28
    [   11.785007] [<80045798>] __wake_up+0x24/0x48
    [   11.789357] [<87133000>] init_module+0x0/0xdc [spidev]
    [   11.794592] [<8000d890>] do_one_initcall+0x1e8/0x214
    [   11.799656] [<80045798>] __wake_up+0x24/0x48
    [   11.803995] [<87133000>] init_module+0x0/0xdc [spidev]
    [   11.809241] [<80034450>] call_usermodehelper_exec+0x144/0x160
    [   11.815085] [<80033f40>] call_usermodehelper_setup+0x38/0xa8
    [   11.820867] [<80066220>] module_sect_show+0x0/0x18
    [   11.825746] [<80067440>] do_init_module+0x74/0x1cc
    [   11.830636] [<8009dc7c>] __vunmap+0xf0/0x114
    [   11.835002] [<80068cd4>] load_module+0x16c0/0x1b68
    [   11.839883] [<8006680c>] unknown_module_param_cb+0x0/0xac
    [   11.845366] [<8009e170>] __vmalloc_node+0x34/0x40
    [   11.850176] [<80069210>] SyS_init_module+0x94/0x180
    [   11.855128] [<800692ac>] SyS_init_module+0x130/0x180
    [   11.860210] [<8000682c>] syscall_common+0x30/0x54
    [   11.864991] [<80008c58>] __bzero+0xbc/0x164
    [   11.869244]
    [   11.870757] ---[ end trace 4664f39f8bcf0bf4 ]---
    [   11.882905] usbcore: registered new interface driver ums-alauda
    [   11.892100] usbcore: registered new interface driver ums-cypress
    [   11.901356] usbcore: registered new interface driver ums-datafab
    [   11.910342] usbcore: registered new interface driver ums-freecom
    [   11.919592] usbcore: registered new interface driver ums-isd200
    [   11.928864] usbcore: registered new interface driver ums-jumpshot
    [   11.937912] usbcore: registered new interface driver ums-karma
    [   11.947713] usbcore: registered new interface driver ums-sddr09
    [   11.956861] usbcore: registered new interface driver ums-sddr55
    [   11.966355] usbcore: registered new interface driver ums-usbat
    [   11.978735] usbcore: registered new interface driver usbhid
    [   11.984397] usbhid: USB HID core driver
    [   11.992140] usbcore: registered new interface driver usblp
    [   12.006193] usbcore: registered new interface driver usbserial
    [   12.012312] usbcore: registered new interface driver usbserial_generic
    [   12.019056] usbserial: USB Serial support registered for generic
    [   12.037816] Driver for 1-wire Dallas network protocol.
    [   12.064548] xt_time: kernel timezone is -0000
    [   12.071327] usbcore: registered new interface driver ch341
    [   12.077007] usbserial: USB Serial support registered for ch341-uart
    [   12.085861] usbcore: registered new interface driver cp210x
    [   12.091714] usbserial: USB Serial support registered for cp210x
    [   12.101337] usbcore: registered new interface driver ftdi_sio
    [   12.107300] usbserial: USB Serial support registered for FTDI USB Serial Device
    [   12.126207] usbcore: registered new interface driver pl2303
    [   12.132057] usbserial: USB Serial support registered for pl2303
    [   12.143575] PPP generic driver version 2.4.2
    [   12.151250] NET: Registered protocol family 24
    [   12.169522] usbcore: registered new interface driver snd-usb-audio
    [   12.191732] usbcore: registered new interface driver uvcvideo
    [   12.197570] USB Video Class driver (1.1.1)
    [   12.208509] usbcore: registered new interface driver option
    [   12.214366] usbserial: USB Serial support registered for GSM modem (1-port)
    [   12.226939] kmodloader: done loading kernel modules from /etc/modules.d/*
    [   12.471387] random: jshn: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
    [   12.643641] random: jshn: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
    [   24.958731] EEPROM:Read from [factory] offset 0x0,length 0x400.
    [   27.388661]  ch1 bssid=a0:39:ee:a8:c0:16
    [   27.392660]  ch1 bssid=9c:74:1a:ea:17:cc
    [   27.396639]  ch1 bssid=a0:39:ee:a8:64:66
    [   27.400667]  ch1 bssid=58:90:43:6a:5c:76
    [   27.404649]  ch6 bssid=e8:de:27:d5:da:88
    [   27.408645]  ch6 bssid=78:96:82:72:ea:a1
    [   27.412625]  ch6 bssid=c8:3a:35:10:72:b0
    [   27.416603]  ch7 bssid=3c:78:43:45:58:4c
    [   27.420601]  ch10 bssid=04:27:58:33:44:60
    [   27.424668]  ch11 bssid=84:16:f9:d5:db:35
    [   27.428753]  ch11 bssid=d8:d7:75:e0:b0:7b
    [   27.432819]  ch11 bssid=04:27:58:34:0c:d0
    [   27.436880] =====================================================
    [   27.443079] Channel 1 : Dirty = 300, False CCA = 0, Busy Time = 3925, Skip Channel = FALSE
    [   27.451476] Channel 2 : Dirty = 188, False CCA = 0, Busy Time = 2720, Skip Channel = FALSE
    [   27.459874] Channel 3 : Dirty = 204, False CCA = 0, Busy Time = 1491, Skip Channel = FALSE
    [   27.468251] Channel 4 : Dirty = 204, False CCA = 0, Busy Time = 85, Skip Channel = FALSE
    [   27.476470] Channel 5 : Dirty = 204, False CCA = 0, Busy Time = 1211, Skip Channel = FALSE
    [   27.484866] Channel 6 : Dirty = 262, False CCA = 0, Busy Time = 2921, Skip Channel = FALSE
    [   27.493262] Channel 7 : Dirty = 250, False CCA = 0, Busy Time = 2263, Skip Channel = FALSE
    [   27.501658] Channel 8 : Dirty = 216, False CCA = 0, Busy Time = 54, Skip Channel = FALSE
    [   27.509871] Channel 9 : Dirty = 216, False CCA = 0, Busy Time = 1052, Skip Channel = FALSE
    [   27.518248] Channel 10 : Dirty = 260, False CCA = 0, Busy Time = 1729, Skip Channel = FALSE
    [   27.526735] Channel 11 : Dirty = 262, False CCA = 0, Busy Time = 7065, Skip Channel = FALSE
    [   27.535214] =====================================================
    [   27.541405] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 2
    [   27.550138] Min Dirty = 188
    [   27.552968] ExChannel = 0 , 0
    [   27.555972] BW        = 20
    [   28.341798] device eth0.1 entered promiscuous mode
    [   28.346678] device eth0 entered promiscuous mode
    [   28.374497] br-wlan: port 1(eth0.1) entered forwarding state
    [   28.380365] br-wlan: port 1(eth0.1) entered forwarding state
    [   30.378847] br-wlan: port 1(eth0.1) entered forwarding state
    [   33.492107] device ra0 entered promiscuous mode
    [   33.496801] br-wlan: port 2(ra0) entered forwarding state
    [   33.502368] br-wlan: port 2(ra0) entered forwarding state
    [   34.282083] br-wlan: port 2(ra0) entered disabled state
    [   35.102699] EEPROM:Read from [factory] offset 0x0,length 0x400.
    [   37.658657]  ch1 bssid=a0:39:ee:a8:c0:16
    [   37.662696]  ch1 bssid=58:90:43:6a:5c:76
    [   37.666698]  ch1 bssid=9c:74:1a:ea:17:cc
    [   37.670708]  ch1 bssid=a0:39:ee:a8:64:66
    [   37.674688]  ch4 bssid=04:9f:ca:77:31:0c
    [   37.678700]  ch6 bssid=78:96:82:72:ea:a1
    [   37.682723]  ch6 bssid=e8:de:27:d5:da:88
    [   37.686703]  ch6 bssid=c8:3a:35:10:72:b0
    [   37.690711]  ch7 bssid=3c:78:43:45:58:4c
    [   37.694691]  ch10 bssid=04:27:58:33:44:60
    [   37.698775]  ch11 bssid=04:27:58:34:0c:d0
    [   37.702842]  ch11 bssid=84:16:f9:d5:db:35
    [   37.706903] =====================================================
    [   37.713102] Channel 1 : Dirty = 324, False CCA = 0, Busy Time = 8561, Skip Channel = FALSE
    [   37.721497] Channel 2 : Dirty = 216, False CCA = 0, Busy Time = 8618, Skip Channel = FALSE
    [   37.729887] Channel 3 : Dirty = 236, False CCA = 0, Busy Time = 1660, Skip Channel = FALSE
    [   37.738265] Channel 4 : Dirty = 274, False CCA = 0, Busy Time = 527, Skip Channel = FALSE
    [   37.746572] Channel 5 : Dirty = 236, False CCA = 0, Busy Time = 1023, Skip Channel = FALSE
    [   37.754967] Channel 6 : Dirty = 290, False CCA = 0, Busy Time = 3276, Skip Channel = FALSE
    [   37.763363] Channel 7 : Dirty = 254, False CCA = 0, Busy Time = 1650, Skip Channel = FALSE
    [   37.771759] Channel 8 : Dirty = 212, False CCA = 0, Busy Time = 15, Skip Channel = FALSE
    [   37.779972] Channel 9 : Dirty = 188, False CCA = 0, Busy Time = 1040, Skip Channel = FALSE
    [   37.788351] Channel 10 : Dirty = 228, False CCA = 0, Busy Time = 4156, Skip Channel = FALSE
    [   37.796833] Channel 11 : Dirty = 192, False CCA = 0, Busy Time = 7517, Skip Channel = FALSE
    [   37.805311] =====================================================
    [   37.811503] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 9
    [   37.820236] Min Dirty = 188
    [   37.823066] ExChannel = 0 , 0
    [   37.826070] BW        = 20
    [   37.857600] br-wlan: port 2(ra0) entered forwarding state
    [   37.863183] br-wlan: port 2(ra0) entered forwarding state
    [   39.858663] br-wlan: port 2(ra0) entered forwarding state
    [   61.095384] random: nonblocking pool is initialized
    

    ... no more system messages

    [Enter]
    cat /etc/config/wireless
    wifisetup

    BusyBox v1.26.2 () built-in shell (ash)
    
       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/
     -----------------------------------------------------
       Ω-ware: 0.1.10 b160
     -----------------------------------------------------
    root@Omega-99A5:/# cat /etc/config/wireless
    
    config wifi-device 'ra0'
            option type 'ralink'
            option mode '9'
            option channel 'auto'
            option txpower '100'
            option ht '20'
            option country 'US'
            option disabled '0'
    
    config wifi-iface  
            option device 'ra0'
            option network 'wlan'
            option mode 'ap'
            option encryption 'psk2'
            option key '12345678'
            option ApCliEnable '1'
            option ApCliSsid 'yourwifissid'
            option ApCliAuthMode 'WPA2PSK'
            option ApCliEncrypType 'AES'
            option ApCliPassWord 'yourpassword'
            option ssid 'Omega-99A5'
    
    root@Omega-99A5:/# wifisetup
    Onion Omega Wifi Setup
    
    Select from the following:
    1) Scan for Wifi networks
    2) Type network info
    q) Exit
    
    Selection: 1
    Scanning for wifi networks...
    
    Select Wifi network:
    1) ...  
    2) ...
    3) DIGI-wzxY
    4) ...  
    5) ...
    6) ...
    7) ... 
    8) ...
    9) ...
    10) ...
    11) ...
    
    Selection: 3
    Network: DIGI-wzxY 
    Authentication type: WPA2PSK
    Enter password: MyPassword
    
    > Restarting wifimanager for changes to take effect
    root@Omega-99A5:/# [12133.731243] br-wlan: port 2(ra0) entered disabled state
    [12135.430417] EEPROM:Read from [factory] offset 0x0,length 0x400.
    [12137.858459]  ch1 bssid=9c:74:1a:ea:17:cc
    [12137.862459]  ch1 bssid=40:65:a3:ec:52:7e
    [12137.866437]  ch1 bssid=a0:39:ee:a8:c0:16
    [12137.870454]  ch1 bssid=c8:3a:35:10:72:b0
    [12137.874435]  ch1 bssid=a0:39:ee:a8:64:66
    [12137.878414]  ch1 bssid=24:7f:20:ad:21:d6
    [12137.882414]  ch6 bssid=78:96:82:72:ea:a1
    [12137.886394]  ch7 bssid=3c:78:43:45:58:4c
    [12137.890392]  ch9 bssid=c4:86:e9:1b:8a:a0
    [12137.894373]  ch9 bssid=7c:39:53:fc:df:5f
    [12137.898353]  ch10 bssid=04:27:58:33:44:60
    [12137.902439]  ch11 bssid=04:27:58:34:0c:d0
    [12137.906506]  ch11 bssid=84:16:f9:d5:db:35
    [12137.910577] =====================================================
    [12137.916761] Channel 1 : Dirty = 440, False CCA = 0, Busy Time = 4863, Skip Channel = FALSE
    [12137.925156] Channel 2 : Dirty = 212, False CCA = 0, Busy Time = 1606, Skip Channel = FALSE
    [12137.933553] Channel 3 : Dirty = 212, False CCA = 0, Busy Time = 528, Skip Channel = FALSE
    [12137.941862] Channel 4 : Dirty = 196, False CCA = 0, Busy Time = 524, Skip Channel = FALSE
    [12137.950165] Channel 5 : Dirty = 220, False CCA = 0, Busy Time = 1187, Skip Channel = FALSE
    [12137.958561] Channel 6 : Dirty = 170, False CCA = 0, Busy Time = 1752, Skip Channel = FALSE
    [12137.966940] Channel 7 : Dirty = 222, False CCA = 0, Busy Time = 2298, Skip Channel = FALSE
    [12137.975345] Channel 8 : Dirty = 200, False CCA = 0, Busy Time = 50, Skip Channel = FALSE
    [12137.983567] Channel 9 : Dirty = 280, False CCA = 0, Busy Time = 2465, Skip Channel = FALSE
    [12137.991964] Channel 10 : Dirty = 252, False CCA = 0, Busy Time = 3270, Skip Channel = FALSE
    [12138.000442] Channel 11 : Dirty = 258, False CCA = 0, Busy Time = 3131, Skip Channel = FALSE
    [12138.008922] =====================================================
    [12138.015100] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 6
    [12138.023841] Min Dirty = 170
    [12138.026673] ExChannel = 0 , 0
    [12138.029687] BW        = 20
    [12138.057898] br-wlan: port 2(ra0) entered forwarding state
    [12138.063482] br-wlan: port 2(ra0) entered forwarding state
    [12140.058443] br-wlan: port 2(ra0) entered forwarding state
    [12143.472634] !!! APCLI LINK UP - IF(apcli0) AuthMode(7)=WPA2PSK, WepStatus(6)=AES!
    

    ... no more system messages

    [Enter]
    cat /etc/config/wireless
    ifconfig | head

    root@Omega-99A5:/# cat /etc/config/wireless
    
    config wifi-device 'ra0'
            option type 'ralink'
            option mode '9'
            option channel 'auto'
            option txpower '100'
            option ht '20'
            option country 'US'
            option disabled '0'
    
    config wifi-iface  
            option device 'ra0'
            option network 'wlan'
            option mode 'ap'
            option encryption 'psk2'
            option key '12345678'
            option ApCliEnable '1'
            option ApCliAuthMode 'WPA2PSK'
            option ApCliEncrypType 'AES'
            option ssid 'Omega-99A5'
            option ApCliSsid 'DIGI-wzxY'
            option ApCliPassWord 'MyPassword'
    
    config wifi-config 
            option ssid 'DIGI-wzxY'
            option encryption 'WPA2PSK'
            option key 'MyPassword'
    
    root@Omega-99A5:/# ifconfig | head
    apcli0    Link encap:Ethernet  HWaddr 42:A3:6B:00:99:A5  
              inet addr:192.168.100.4  Bcast:192.168.100.255  Mask:255.255.255.0
              inet6 addr: fe80::40a3:6bff:fe00:99a5/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:6891 errors:0 dropped:0 overruns:0 frame:0
              TX packets:8461 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:964618 (942.0 KiB)  TX bytes:559110 (546.0 KiB)
    
    br-wlan   Link encap:Ethernet  HWaddr 40:A3:6B:C0:99:A7
    

    Done.



  • Hi @György-Farkas.

    Agreed that I didn't wait until the system messages stopped in all cases. Some show up 30 seconds after another. It seemed odd that you'd have to wait given that the console is typically unavailable during critical system startup. In any case I can appreciate that it could make a difference and re-ran the commands and the same issue occurs. The module's configuration is lost upon reboot, entirely blank. It's like the flash partitions are messed up or the environment has a stuck flag that causes factory reset each time the module boots.

    Here is the console output to confirm:

    pressing reset button and releasing it
    waiting for that entropy pool message
    cat /etc/config/wireless
    wificonfig
    
    root@Omega-C0FB:/# 
    root@Omega-C0FB:/# FACTORY RESET
    [ 7368.174059] jffs2: warning: (1839) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [ 7368.182471] jffs2: warning: (1839) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [ 7368.191328] jffs2: iget() failed for ino #4
    [ 7368.197076] jffs2: warning: (1839) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [ 7368.205451] jffs2: warning: (1839) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [ 7368.214301] jffs2: iget() failed for ino #4
    [ 7368.617740] br-wlan: port 2(ra0) entered disabled state
    [ 7368.623185] br-wlan: port 1(eth0.1) entered disabled state
    [ 7368.652739] device eth0.1 left promiscuous mode
    [ 7368.657352] device eth0 left promiscuous mode
    [ 7368.661948] br-wlan: port 1(eth0.1) entered disabled state
    [ 7368.685797] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
    [ 7368.701470] device ra0 left promiscuous mode
    [ 7368.705948] br-wlan: port 2(ra0) entered disabled state
    [ 7373.103163] reboot: Restarting system
    
    
       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/"
    
    Board: Onion Omega2 APSoC DRAM:  128 MB
    relocate_code Pointer at: 87f60000
    ******************************
    Software System Reset Occurred
    ******************************
    flash manufacture id: c2, device id 20 19
    find flash: MX25L25635E
    *** Warning - bad CRC, using default environment
    
    ============================================ 
    Onion Omega2 UBoot Version: 4.3.0.3
    -------------------------------------------- 
    ASIC 7628_MP (Port5<->None)
    DRAM component: 1024 Mbits DDR, width 16
    DRAM bus: 16 bit
    Total memory: 128 MBytes
    Flash component: SPI Flash
    Date:Oct 18 2016  Time:17:29:05
    ============================================ 
    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 = 128 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 LEDE Linux-4.4.46
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    1311684 Bytes =  1.3 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, 128
    
    Starting kernel ...
    
    [    0.000000] Linux version 4.4.46 (root@2272a3272872) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3273-a0888ec) ) #0 Thu Feb 2 23:46:03 2017
    [    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: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
    [    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: 32512
    [    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Writing ErrCtl register=00041700
    [    0.000000] Readback ErrCtl register=00041700
    [    0.000000] Memory: 125556K/131072K available (3025K kernel code, 142K rwdata, 728K rodata, 192K init, 196K bss, 5516K 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] clocksource_probe: no matching clocksources found
    [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
    [    0.000010] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
    [    0.007520] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
    [    0.070042] pid_max: default: 32768 minimum: 301
    [    0.074637] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.080977] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.094351] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.104013] pinctrl core: initialized pinctrl subsystem
    [    0.109719] NET: Registered protocol family 16
    [    0.133602] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.139145] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.144576] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.151098] i2c-mt7621 10000900.i2c: clock 100KHz, re-start not support
    [    0.158635] clocksource: Switched to clocksource MIPS
    [    0.165154] NET: Registered protocol family 2
    [    0.170275] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.176967] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.183148] TCP: Hash tables configured (established 1024 bind 1024)
    [    0.189351] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.194955] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.201298] NET: Registered protocol family 1
    [    0.211305] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.217259] Crashlog allocated RAM at address 0x3f00000
    [    0.237563] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.243218] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.255812] io scheduler noop registered
    [    0.259613] io scheduler deadline registered (default)
    [    0.265404] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm
    [    0.274487] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22
    [    0.280497] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0  on device rt2880-pinmux
    [    0.289899] mtk-pwm 10005000.pwm: Error applying setting, reverse things back
    [    0.297270] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    0.304881] console [ttyS0] disabled
    [    0.308314] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
    [    0.317094] console [ttyS0] enabled
    [    0.317094] console [ttyS0] enabled
    [    0.324088] bootconsole [early0] disabled
    [    0.324088] bootconsole [early0] disabled
    [    0.332767] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
    [    0.342284] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
    [    0.352935] spi-mt7621 10000b00.spi: sys_freq: 193333333
    [    0.363011] m25p80 spi32766.0: using chunked io (size=31)
    [    0.368509] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
    [    0.374077] 4 ofpart partitions found on MTD device spi32766.0
    [    0.380000] Creating 4 MTD partitions on "spi32766.0":
    [    0.385216] 0x000000000000-0x000000030000 : "u-boot"
    [    0.392042] 0x000000030000-0x000000040000 : "u-boot-env"
    [    0.399329] 0x000000040000-0x000000050000 : "factory"
    [    0.406275] 0x000000050000-0x000002000000 : "firmware"
    [    0.454000] 2 uimage-fw partitions found on MTD device firmware
    [    0.460050] 0x000000050000-0x000000190404 : "kernel"
    [    0.466770] 0x000000190404-0x000002000000 : "rootfs"
    [    0.473699] mtd: device 5 (rootfs) set to be root filesystem
    [    0.479576] 1 squashfs-split partitions found on MTD device rootfs
    [    0.485853] 0x0000006f0000-0x000002000000 : "rootfs_data"
    [    0.503289] rt3050-esw 10110000.esw: link changed 0x00
    [    0.511023] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
    [    0.519700] i2c /dev entries driver
    [    0.523839] mt7621_wdt 10000120.watchdog: Initialized
    [    0.530588] NET: Registered protocol family 10
    [    0.539168] NET: Registered protocol family 17
    [    0.543788] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    0.556634] 8021q: 802.1Q VLAN Support v1.8
    [    0.567930] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
    [    0.576214] Freeing unused kernel memory: 192K (803d0000 - 80400000)
    [    1.568501] init: Console is alive
    [    1.572263] init: - watchdog -
    [    4.000669] kmodloader: loading kernel modules from /etc/modules-boot.d/*
    [    4.154202] usbcore: registered new interface driver usbfs
    [    4.159938] usbcore: registered new interface driver hub
    [    4.165423] usbcore: registered new device driver usb
    [    4.176888] exFAT: Version 1.2.9
    [    4.221724] SCSI subsystem initialized
    [    4.232463] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    4.240896] ehci-platform: EHCI generic platform driver
    [    4.256554] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
    [    4.263372] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
    [    4.268714] ehci-platform 101c0000.ehci: EHCI Host Controller
    [    4.274579] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
    [    4.282759] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
    [    4.308677] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
    [    4.316180] hub 1-0:1.0: USB hub found
    [    4.320415] hub 1-0:1.0: 1 port detected
    [    4.329462] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    4.337389] ohci-platform: OHCI generic platform driver
    [    4.343050] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
    [    4.350021] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
    [    4.358135] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
    [    4.423807] hub 2-0:1.0: USB hub found
    [    4.428049] hub 2-0:1.0: 1 port detected
    [    4.445599] MTK MSDC device init.
    [    4.488809] mtk-sd: MediaTek MT6575 MSDC Driver
    [    4.496813] sdhci: Secure Digital Host Controller Interface driver
    [    4.503162] sdhci: Copyright(c) Pierre Ossman
    [    4.509101] sdhci-pltfm: SDHCI platform and OF driver helper
    [    4.519472] usbcore: registered new interface driver usb-storage
    [    4.529141] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
    [    4.546973] init: - preinit -
    [    5.391602] 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[    5.591761] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
     level
    [    7.917209] jffs2: notice: (396) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [    7.933455] jffs2: notice: (396) jffs2_get_inode_nodes: Node header CRC failed at 0x13a1588. {ffff,ffff,ffffffff,ffffffff}
    [    7.944782] jffs2: notice: (396) jffs2_get_inode_nodes: Node header CRC failed at 0x13a0f24. {ffff,ffff,ffffffff,ffffffff}
    [    7.956011] jffs2: warning: (396) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    7.964767] jffs2: iget() failed for ino #4
    [    7.969137] jffs2: warning: (396) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [    7.977347] jffs2: warning: (396) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    7.986111] jffs2: iget() failed for ino #4
    [    7.991783] mount_root: overlay filesystem has not been fully initialized yet
    [    7.999435] jffs2: warning: (396) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [    8.007648] jffs2: warning: (396) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    8.016448] jffs2: iget() failed for ino #4
    [    8.021155] jffs2: warning: (396) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [    8.029410] jffs2: warning: (396) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    8.038145] jffs2: iget() failed for ino #4
    [    8.042672] mount_root: switching to jffs2 overlay
    [    8.073328] jffs2: warning: (396) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [    8.081608] jffs2: warning: (396) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    8.090357] jffs2: iget() failed for ino #4
    [    8.095355] jffs2: warning: (396) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [    8.103623] jffs2: warning: (396) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    8.112385] jffs2: iget() failed for ino #4
    [    8.116673] overlayfs: failed to resolve '/overlay/upper': -5
    [    8.147918] mount_root: mount failed: No such device, options lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work
    [    8.159025] mount_root: switching to jffs2 failed - fallback to ramoverlay
    [    8.194275] urandom-seed: Seed file not found (/etc/urandom.seed)
    [    8.361402] procd: - early -
    [    8.364437] procd: - watchdog -
    [    9.013124] procd: - ubus -
    [    9.217655] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.227356] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.236647] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.246211] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.255468] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.264801] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.274178] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [    9.283754] procd: - init -
    Please press Enter to activate this console.
    [    9.929864] kmodloader: loading kernel modules from /etc/modules.d/*
    [    9.965485] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [   10.035785] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   10.060154] Ralink/MTK WiFi EEPROM API Build for MT7620. 
    [   10.106016] WRTnode AP Driver version: 4.1.0.0
    [   10.183680] Linux video capture interface: v2.00
    [   10.407682] hidraw: raw HID events driver (C) Jiri Kosina
    [   10.453726] Bluetooth: Core ver 2.21
    [   10.457463] NET: Registered protocol family 31
    [   10.462012] Bluetooth: HCI device and connection manager initialized
    [   10.468465] Bluetooth: HCI socket layer initialized
    [   10.473428] Bluetooth: L2CAP socket layer initialized
    [   10.478580] Bluetooth: SCO socket layer initialized
    [   10.486039] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   10.491507] Bluetooth: BNEP filters: protocol multicast
    [   10.496821] Bluetooth: BNEP socket layer initialized
    [   10.508769] usbcore: registered new interface driver btusb
    [   10.520340] usbcore: registered new interface driver cdc_acm
    [   10.526091] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   10.552924] Bluetooth: HCI UART driver ver 2.3
    [   10.557447] Bluetooth: HCI UART protocol H4 registered
    [   10.562722] Bluetooth: HCI UART protocol BCSP registered
    [   10.572423] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [   10.578453] Bluetooth: HIDP socket layer initialized
    [   10.586597] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   10.608175] nf_conntrack version 0.5.0 (1964 buckets, 7856 max)
    [   10.667098] Bluetooth: RFCOMM TTY layer initialized
    [   10.672151] Bluetooth: RFCOMM socket layer initialized
    [   10.677388] Bluetooth: RFCOMM ver 1.11
    [   10.689224] spidev spi32766.1: buggy DT: spidev listed directly in DT
    [   10.695771] ------------[ cut here ]------------
    [   10.700524] WARNING: CPU: 0 PID: 480 at drivers/spi/spidev.c:720 0x8712a33c()
    [   10.707754] Modules linked in: spidev(+) snd_usbmidi_lib slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables hidp hid_generic hci_uart crc_ccitt cdc_acm btusb btintel bnep bluetooth snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 videobuf2_vmalloc videobuf2_memops videobuf2_core hid v4l2_common videodev evdev snd_soc_core ralink_gdma virt_dma mt76x8 ralink_eeprom_api ledtrig_oneshot ledtrig_morse ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat ntfs configfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_i2c dma_shared_buffer ecb cmac mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache exfat usbcore nls_base usb_common crc16 aead crypto_null cryptomgr crc32c_generic crypto_hash
    [   10.817314] CPU: 0 PID: 480 Comm: kmodloader Not tainted 4.4.46 #0
    [   10.823590] Stack : 8036b8a8 00000000 00000001 803c0000 87d239dc 803b4d83 8034ce68 000001e0
    	  80403438 0000000b 0000001a 024000c0 80066220 8004ae40 80352364 803b0000
    	  00000003 0000000b 80350768 8758db4c 80066220 80048dac 00000000 00000000
    	  00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    	  ...
    [   10.859759] Call Trace:
    [   10.862296] [<80066220>] module_sect_show+0x0/0x18
    [   10.867162] [<8004ae40>] vprintk_default+0x24/0x30
    [   10.872052] [<80066220>] module_sect_show+0x0/0x18
    [   10.876914] [<80048dac>] printk+0x2c/0x38
    [   10.881013] [<80025430>] warn_slowpath_common+0xa0/0xd0
    [   10.886327] [<8014c338>] dump_stack+0x14/0x28
    [   10.890762] [<80014874>] show_stack+0x50/0x84
    [   10.895183] [<80025430>] warn_slowpath_common+0xa0/0xd0
    [   10.900496] [<8712a33c>] 0x8712a33c
    [   10.904052] [<800254e8>] warn_slowpath_null+0x18/0x24
    [   10.909207] [<801f9818>] of_match_node+0x20/0x44
    [   10.913915] [<8712a33c>] 0x8712a33c
    [   10.917471] [<801bef78>] devm_kfree+0x20/0x44
    [   10.921924] [<801e01bc>] spi_drv_probe+0x3c/0x84
    [   10.926619] [<801bbaa8>] driver_probe_device+0x120/0x288
    [   10.932040] [<8008a134>] kstrdup+0x44/0x8c
    [   10.936207] [<801e00bc>] spi_match_device+0x38/0xa8
    [   10.941190] [<801bbc8c>] __driver_attach+0x7c/0xb4
    [   10.946051] [<801b9eb0>] next_device+0x10/0x30
    [   10.950581] [<801bbc10>] __driver_attach+0x0/0xb4
    [   10.955351] [<801b9f6c>] bus_for_each_dev+0x9c/0xac
    [   10.960342] [<802f087c>] klist_add_tail+0x24/0x50
    [   10.965143] [<801b9d40>] bus_get+0x2c/0x50
    [   10.969340] [<801bb1a0>] bus_add_driver+0xec/0x20c
    [   10.974207] [<800ad190>] exact_match+0x0/0x8
    [   10.978539] [<800ad698>] exact_lock+0x0/0x24
    [   10.982902] [<801bc3a4>] driver_register+0xa8/0xf8
    [   10.987770] [<87137000>] init_module+0x0/0xdc [spidev]
    [   10.993029] [<87137098>] init_module+0x98/0xdc [spidev]
    [   10.998338] [<80157f08>] kasprintf+0x1c/0x28
    [   11.002699] [<80045798>] __wake_up+0x24/0x48
    [   11.007037] [<87137000>] init_module+0x0/0xdc [spidev]
    [   11.012286] [<8000d890>] do_one_initcall+0x1e8/0x214
    [   11.017334] [<80045798>] __wake_up+0x24/0x48
    [   11.021686] [<87137000>] init_module+0x0/0xdc [spidev]
    [   11.026919] [<80034450>] call_usermodehelper_exec+0x144/0x160
    [   11.032785] [<80033f40>] call_usermodehelper_setup+0x38/0xa8
    [   11.038552] [<80066220>] module_sect_show+0x0/0x18
    [   11.043449] [<80067440>] do_init_module+0x74/0x1cc
    [   11.048320] [<8009dc7c>] __vunmap+0xf0/0x114
    [   11.052703] [<80068cd4>] load_module+0x16c0/0x1b68
    [   11.057569] [<8006680c>] unknown_module_param_cb+0x0/0xac
    [   11.063065] [<8009e170>] __vmalloc_node+0x34/0x40
    [   11.067860] [<80069210>] SyS_init_module+0x94/0x180
    [   11.072829] [<800692ac>] SyS_init_module+0x130/0x180
    [   11.077894] [<8000682c>] syscall_common+0x30/0x54
    [   11.082689] [<80008c58>] __bzero+0xbc/0x164
    [   11.086931] 
    [   11.088442] ---[ end trace 101e276f1cb7f3c5 ]---
    [   11.100646] usbcore: registered new interface driver ums-alauda
    [   11.109835] usbcore: registered new interface driver ums-cypress
    [   11.119125] usbcore: registered new interface driver ums-datafab
    [   11.128035] usbcore: registered new interface driver ums-freecom
    [   11.137230] usbcore: registered new interface driver ums-isd200
    [   11.146467] usbcore: registered new interface driver ums-jumpshot
    [   11.155601] usbcore: registered new interface driver ums-karma
    [   11.165422] usbcore: registered new interface driver ums-sddr09
    [   11.174581] usbcore: registered new interface driver ums-sddr55
    [   11.184088] usbcore: registered new interface driver ums-usbat
    [   11.196419] usbcore: registered new interface driver usbhid
    [   11.202148] usbhid: USB HID core driver
    [   11.209926] usbcore: registered new interface driver usblp
    [   11.224052] usbcore: registered new interface driver usbserial
    [   11.230158] usbcore: registered new interface driver usbserial_generic
    [   11.236893] usbserial: USB Serial support registered for generic
    [   11.255815] Driver for 1-wire Dallas network protocol.
    [   11.282626] xt_time: kernel timezone is -0000
    [   11.289433] usbcore: registered new interface driver ch341
    [   11.295114] usbserial: USB Serial support registered for ch341-uart
    [   11.303974] usbcore: registered new interface driver cp210x
    [   11.309828] usbserial: USB Serial support registered for cp210x
    [   11.319450] usbcore: registered new interface driver ftdi_sio
    [   11.325394] usbserial: USB Serial support registered for FTDI USB Serial Device
    [   11.344348] usbcore: registered new interface driver pl2303
    [   11.350226] usbserial: USB Serial support registered for pl2303
    [   11.361721] PPP generic driver version 2.4.2
    [   11.369443] NET: Registered protocol family 24
    [   11.387544] usbcore: registered new interface driver snd-usb-audio
    [   11.409805] usbcore: registered new interface driver uvcvideo
    [   11.415643] USB Video Class driver (1.1.1)
    [   11.426703] usbcore: registered new interface driver option
    [   11.432561] usbserial: USB Serial support registered for GSM modem (1-port)
    [   11.445154] kmodloader: done loading kernel modules from /etc/modules.d/*
    [   11.689299] random: jshn: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
    [   11.853843] random: jshn: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
    [   23.872622] EEPROM:Read from [factory] offset 0x0,length 0x400.
    [   26.268664]  ch6 bssid=7e:8f:e0:94:6c:8a
    [   26.272664]  ch6 bssid=5c:8f:e0:94:6c:8a
    [   26.276642]  ch11 bssid=6c:70:9f:e4:32:fe
    [   26.280740]  ch11 bssid=30:ae:a4:5d:95:05
    [   26.284803] =====================================================
    [   26.291003] Channel 1 : Dirty = 0, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
    [   26.298959] Channel 2 : Dirty = 40, False CCA = 0, Busy Time = 33, Skip Channel = FALSE
    [   26.307145] Channel 3 : Dirty = 48, False CCA = 0, Busy Time = 46, Skip Channel = FALSE
    [   26.315283] Channel 4 : Dirty = 56, False CCA = 0, Busy Time = 31, Skip Channel = FALSE
    [   26.323415] Channel 5 : Dirty = 64, False CCA = 0, Busy Time = 56, Skip Channel = FALSE
    [   26.331548] Channel 6 : Dirty = 140, False CCA = 0, Busy Time = 248, Skip Channel = FALSE
    [   26.339856] Channel 7 : Dirty = 104, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
    [   26.347970] Channel 8 : Dirty = 104, False CCA = 0, Busy Time = 728, Skip Channel = FALSE
    [   26.356276] Channel 9 : Dirty = 104, False CCA = 0, Busy Time = 19, Skip Channel = FALSE
    [   26.364496] Channel 10 : Dirty = 104, False CCA = 0, Busy Time = 8085, Skip Channel = FALSE
    [   26.372980] Channel 11 : Dirty = 140, False CCA = 0, Busy Time = 1920, Skip Channel = FALSE
    [   26.381459] =====================================================
    [   26.387636] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 1 
    [   26.396375] Min Dirty = 0
    [   26.399043] ExChannel = 0 , 0
    [   26.402047] BW        = 20
    [   27.141990] device eth0.1 entered promiscuous mode
    [   27.146869] device eth0 entered promiscuous mode
    [   27.178756] br-wlan: port 1(eth0.1) entered forwarding state
    [   27.184569] br-wlan: port 1(eth0.1) entered forwarding state
    [   29.178692] br-wlan: port 1(eth0.1) entered forwarding state
    [   34.891341] device ra0 entered promiscuous mode
    [   36.552626] EEPROM:Read from [factory] offset 0x0,length 0x400.
    [   38.948661]  ch6 bssid=5c:8f:e0:94:6c:8a
    [   38.952661]  ch6 bssid=9e:8f:e0:94:6c:8a
    [   38.956641]  ch6 bssid=7e:8f:e0:94:6c:8a
    [   38.960653]  ch11 bssid=6c:70:9f:e4:32:fe
    [   38.964723]  ch11 bssid=30:ae:a4:5d:95:05
    [   38.968799] =====================================================
    [   38.974983] Channel 1 : Dirty = 0, False CCA = 0, Busy Time = 2, Skip Channel = FALSE
    [   38.982938] Channel 2 : Dirty = 60, False CCA = 0, Busy Time = 2, Skip Channel = FALSE
    [   38.990982] Channel 3 : Dirty = 72, False CCA = 0, Busy Time = 4, Skip Channel = FALSE
    [   38.999052] Channel 4 : Dirty = 84, False CCA = 0, Busy Time = 29, Skip Channel = FALSE
    [   39.007166] Channel 5 : Dirty = 96, False CCA = 0, Busy Time = 3, Skip Channel = FALSE
    [   39.015211] Channel 6 : Dirty = 210, False CCA = 0, Busy Time = 494, Skip Channel = FALSE
    [   39.023519] Channel 7 : Dirty = 136, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
    [   39.031651] Channel 8 : Dirty = 132, False CCA = 0, Busy Time = 5, Skip Channel = FALSE
    [   39.039783] Channel 9 : Dirty = 128, False CCA = 0, Busy Time = 16, Skip Channel = FALSE
    [   39.047985] Channel 10 : Dirty = 124, False CCA = 0, Busy Time = 2919, Skip Channel = FALSE
    [   39.056468] Channel 11 : Dirty = 140, False CCA = 0, Busy Time = 1498, Skip Channel = FALSE
    [   39.064946] =====================================================
    [   39.071138] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 1 
    [   39.079878] Min Dirty = 0
    [   39.082532] ExChannel = 0 , 0
    [   39.085537] BW        = 20
    [   39.259738] br-wlan: port 2(ra0) entered forwarding state
    [   39.265272] br-wlan: port 2(ra0) entered forwarding state
    [   41.258655] br-wlan: port 2(ra0) entered forwarding state
    [   62.598686] random: nonblocking pool is initialized
    
    
    
    BusyBox v1.26.2 () built-in shell (ash)
    
       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/
     -----------------------------------------------------
       Ω-ware: 0.1.10 b160
     -----------------------------------------------------
    root@Omega-C0FB:/# cat /etc/config/wireless
    
    config wifi-device 'ra0'
    	option type 'ralink'
    	option mode '9'
    	option channel 'auto'
    	option txpower '100'
    	option ht '20'
    	option country 'US'
    	option disabled '0'
    
    config wifi-iface
    	option device 'ra0'
    	option network 'wlan'
    	option mode 'ap'
    	option encryption 'psk2'
    	option key '12345678'
    	option ApCliEnable '1'
    	option ApCliSsid 'yourwifissid'
    	option ApCliAuthMode 'WPA2PSK'
    	option ApCliEncrypType 'AES'
    	option ApCliPassWord 'yourpassword'
    	option ssid 'Omega-C0FB'
    
    root@Omega-C0FB:/# wifisetup
    Onion Omega Wifi Setup
    
    Select from the following:
    1) Scan for Wifi networks
    2) Type network info
    q) Exit
    
    Selection: 1
    Scanning for wifi networks...
    
    Select Wifi network:
    1) ---------
    2) aaaaaaaaa
    3) ---------
    
    Selection: 2
    Network: aaaaaaaaa
    Authentication type: WPA2PSK
    Enter password: xxxxxxxxxxx
    
    > Restarting wifimanager for changes to take effect
    root@Omega-C0FB:/# [  204.449279] br-wlan: port 2(ra0) entered disabled state
    [  206.120410] EEPROM:Read from [factory] offset 0x0,length 0x400.
    [  208.518656]  ch6 bssid=5c:8f:e0:94:6c:8a
    [  208.522655]  ch6 bssid=9e:8f:e0:94:6c:8a
    [  208.526634]  ch6 bssid=7e:8f:e0:94:6c:8a
    [  208.530646]  ch11 bssid=6c:70:9f:e4:32:fe
    [  208.534713]  ch11 bssid=30:ae:a4:5d:95:05
    [  208.538791] =====================================================
    [  208.544975] Channel 1 : Dirty = 0, False CCA = 0, Busy Time = 16, Skip Channel = FALSE
    [  208.553018] Channel 2 : Dirty = 60, False CCA = 0, Busy Time = 49, Skip Channel = FALSE
    [  208.561151] Channel 3 : Dirty = 72, False CCA = 0, Busy Time = 105, Skip Channel = FALSE
    [  208.569371] Channel 4 : Dirty = 84, False CCA = 0, Busy Time = 48, Skip Channel = FALSE
    [  208.577525] Channel 5 : Dirty = 96, False CCA = 0, Busy Time = 88, Skip Channel = FALSE
    [  208.585660] Channel 6 : Dirty = 210, False CCA = 0, Busy Time = 494, Skip Channel = FALSE
    [  208.593982] Channel 7 : Dirty = 136, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
    [  208.602114] Channel 8 : Dirty = 132, False CCA = 0, Busy Time = 4, Skip Channel = FALSE
    [  208.610253] Channel 9 : Dirty = 128, False CCA = 0, Busy Time = 67, Skip Channel = FALSE
    [  208.618456] Channel 10 : Dirty = 124, False CCA = 0, Busy Time = 529, Skip Channel = FALSE
    [  208.626850] Channel 11 : Dirty = 140, False CCA = 0, Busy Time = 3151, Skip Channel = FALSE
    [  208.635329] =====================================================
    [  208.641521] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 1 
    [  208.650261] Min Dirty = 0
    [  208.652914] ExChannel = 0 , 0
    [  208.655919] BW        = 20
    [  208.684098] br-wlan: port 2(ra0) entered forwarding state
    [  208.689682] br-wlan: port 2(ra0) entered forwarding state
    [  210.688646] br-wlan: port 2(ra0) entered forwarding state
    [  216.092823] !!! APCLI LINK UP - IF(apcli0) AuthMode(7)=WPA2PSK, WepStatus(6)=AES!
    

    Continued in next post



  • cat /etc/config/wireless
    ifconfig |head
    sync
    reboot
    
    root@Omega-C0FB:/# cat /etc/config/wireless
    
    config wifi-device 'ra0'
    	option type 'ralink'
    	option mode '9'
    	option channel 'auto'
    	option txpower '100'
    	option ht '20'
    	option country 'US'
    	option disabled '0'
    
    config wifi-iface
    	option device 'ra0'
    	option network 'wlan'
    	option mode 'ap'
    	option encryption 'psk2'
    	option key '12345678'
    	option ApCliEnable '1'
    	option ApCliAuthMode 'WPA2PSK'
    	option ApCliEncrypType 'AES'
    	option ssid 'Omega-C0FB'
    	option ApCliSsid 'aaaaaaaaaaa'
    	option ApCliPassWord 'xxxxxxxxxxxxx'
    
    config wifi-config
    	option ssid 'aaaaaaaaaa'
    	option encryption 'WPA2PSK'
    	option key 'xxxxxxxxxxx'
    
    root@Omega-C0FB:/# ifconfig | head
    apcli0    Link encap:Ethernet  HWaddr 42:A3:6B:01:C0:FB  
              inet addr:10.0.1.42  Bcast:10.0.1.255  Mask:255.255.255.0
              inet6 addr: fe80::40a3:6bff:fe01:c0fb/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1133 errors:0 dropped:0 overruns:0 frame:0
              TX packets:993 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:199119 (194.4 KiB)  TX bytes:100659 (98.2 KiB)
    
    br-wlan   Link encap:Ethernet  HWaddr 40:A3:6B:C1:C0:FB  
    root@Omega-C0FB:/# sync
    root@Omega-C0FB:/# reboot
    root@Omega-C0FB:/# [  256.415028] br-wlan: port 2(ra0) entered disabled state
    [  256.420471] br-wlan: port 1(eth0.1) entered disabled state
    [  256.439143] device eth0.1 left promiscuous mode
    [  256.443756] device eth0 left promiscuous mode
    [  256.448287] br-wlan: port 1(eth0.1) entered disabled state
    [  256.473553] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
    [  256.494085] device ra0 left promiscuous mode
    [  256.498542] br-wlan: port 2(ra0) entered disabled state
    [  256.698230] !!! APCLI LINK DOWN - IF(apcli0)!!!
    [  260.793613] reboot: Restarting system
    
    
       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/"
    
    Board: Onion Omega2 APSoC DRAM:  128 MB
    relocate_code Pointer at: 87f60000
    ******************************
    Software System Reset Occurred
    ******************************
    flash manufacture id: c2, device id 20 19
    find flash: MX25L25635E
    *** Warning - bad CRC, using default environment
    
    ============================================ 
    Onion Omega2 UBoot Version: 4.3.0.3
    -------------------------------------------- 
    ASIC 7628_MP (Port5<->None)
    DRAM component: 1024 Mbits DDR, width 16
    DRAM bus: 16 bit
    Total memory: 128 MBytes
    Flash component: SPI Flash
    Date:Oct 18 2016  Time:17:29:05
    ============================================ 
    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 = 128 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 LEDE Linux-4.4.46
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    1311684 Bytes =  1.3 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, 128
    
    Starting kernel ...
    
    [    0.000000] Linux version 4.4.46 (root@2272a3272872) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3273-a0888ec) ) #0 Thu Feb 2 23:46:03 2017
    [    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: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
    [    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: 32512
    [    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Writing ErrCtl register=00041700
    [    0.000000] Readback ErrCtl register=00041700
    [    0.000000] Memory: 125556K/131072K available (3025K kernel code, 142K rwdata, 728K rodata, 192K init, 196K bss, 5516K 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] clocksource_probe: no matching clocksources found
    [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
    [    0.000010] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
    [    0.007520] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
    [    0.070042] pid_max: default: 32768 minimum: 301
    [    0.074637] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.080977] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.094351] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.104013] pinctrl core: initialized pinctrl subsystem
    [    0.109719] NET: Registered protocol family 16
    [    0.133600] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.139144] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.144575] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.151097] i2c-mt7621 10000900.i2c: clock 100KHz, re-start not support
    [    0.158634] clocksource: Switched to clocksource MIPS
    [    0.165152] NET: Registered protocol family 2
    [    0.170273] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.176966] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.183146] TCP: Hash tables configured (established 1024 bind 1024)
    [    0.189349] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.194952] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.201295] NET: Registered protocol family 1
    [    0.211302] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.217255] Crashlog allocated RAM at address 0x3f00000
    [    0.237559] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.243214] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.255808] io scheduler noop registered
    [    0.259609] io scheduler deadline registered (default)
    [    0.265400] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm
    [    0.274482] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22
    [    0.280493] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0  on device rt2880-pinmux
    [    0.289895] mtk-pwm 10005000.pwm: Error applying setting, reverse things back
    [    0.297266] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    0.304876] console [ttyS0] disabled
    [    0.308310] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
    [    0.317090] console [ttyS0] enabled
    [    0.317090] console [ttyS0] enabled
    [    0.324083] bootconsole [early0] disabled
    [    0.324083] bootconsole [early0] disabled
    [    0.332762] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
    [    0.342279] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
    [    0.352930] spi-mt7621 10000b00.spi: sys_freq: 193333333
    [    0.363004] m25p80 spi32766.0: using chunked io (size=31)
    [    0.368502] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
    [    0.374070] 4 ofpart partitions found on MTD device spi32766.0
    [    0.379993] Creating 4 MTD partitions on "spi32766.0":
    [    0.385210] 0x000000000000-0x000000030000 : "u-boot"
    [    0.392035] 0x000000030000-0x000000040000 : "u-boot-env"
    [    0.399321] 0x000000040000-0x000000050000 : "factory"
    [    0.406268] 0x000000050000-0x000002000000 : "firmware"
    [    0.453998] 2 uimage-fw partitions found on MTD device firmware
    [    0.460049] 0x000000050000-0x000000190404 : "kernel"
    [    0.466769] 0x000000190404-0x000002000000 : "rootfs"
    [    0.473698] mtd: device 5 (rootfs) set to be root filesystem
    [    0.479575] 1 squashfs-split partitions found on MTD device rootfs
    [    0.485851] 0x0000006f0000-0x000002000000 : "rootfs_data"
    [    0.503072] rt3050-esw 10110000.esw: link changed 0x00
    [    0.510812] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
    [    0.519489] i2c /dev entries driver
    [    0.523627] mt7621_wdt 10000120.watchdog: Initialized
    [    0.530376] NET: Registered protocol family 10
    [    0.538958] NET: Registered protocol family 17
    [    0.543579] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    0.556419] 8021q: 802.1Q VLAN Support v1.8
    [    0.567714] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
    [    0.575999] Freeing unused kernel memory: 192K (803d0000 - 80400000)
    [    1.568738] init: Console is alive
    [    1.572424] init: - watchdog -
    [    4.002098] kmodloader: loading kernel modules from /etc/modules-boot.d/*
    [    4.156471] usbcore: registered new interface driver usbfs
    [    4.162221] usbcore: registered new interface driver hub
    [    4.167705] usbcore: registered new device driver usb
    [    4.179471] exFAT: Version 1.2.9
    [    4.224306] SCSI subsystem initialized
    [    4.235061] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    4.243495] ehci-platform: EHCI generic platform driver
    [    4.259182] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
    [    4.265987] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
    [    4.271326] ehci-platform 101c0000.ehci: EHCI Host Controller
    [    4.277190] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
    [    4.285371] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
    [    4.308676] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
    [    4.316178] hub 1-0:1.0: USB hub found
    [    4.320414] hub 1-0:1.0: 1 port detected
    [    4.329485] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    4.337419] ohci-platform: OHCI generic platform driver
    [    4.343078] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
    [    4.350051] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
    [    4.358166] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
    [    4.423800] hub 2-0:1.0: USB hub found
    [    4.428042] hub 2-0:1.0: 1 port detected
    [    4.445619] MTK MSDC device init.
    [    4.488808] mtk-sd: MediaTek MT6575 MSDC Driver
    [    4.496810] sdhci: Secure Digital Host Controller Interface driver
    [    4.503158] sdhci: Copyright(c) Pierre Ossman
    [    4.509101] sdhci-pltfm: SDHCI platform and OF driver helper
    [    4.519506] usbcore: registered new interface driver usb-storage
    [    4.529174] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
    [    4.547004] init: - preinit -
    [    5.390207] 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[    5.590035] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
     level
    [    8.922779] jffs2: notice: (397) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [    8.939007] jffs2: notice: (397) jffs2_get_inode_nodes: Node header CRC failed at 0x13a1588. {ffff,ffff,ffffffff,ffffffff}
    [    8.950353] jffs2: notice: (397) jffs2_get_inode_nodes: Node header CRC failed at 0x13a0f24. {ffff,ffff,ffffffff,ffffffff}
    [    8.961577] jffs2: warning: (397) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    8.970335] jffs2: iget() failed for ino #4
    [    8.974676] jffs2: warning: (397) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [    8.982914] jffs2: warning: (397) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    8.991665] jffs2: iget() failed for ino #4
    [    8.997300] mount_root: switching to jffs2 overlay
    [    9.027604] jffs2: warning: (397) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [    9.035885] jffs2: warning: (397) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    9.044636] jffs2: iget() failed for ino #4
    [    9.049324] jffs2: warning: (397) jffs2_get_inode_nodes: Eep. No valid nodes for ino #4.
    [    9.057542] jffs2: warning: (397) jffs2_do_read_inode_internal: no data nodes found for ino #4
    [    9.066339] jffs2: iget() failed for ino #4
    [    9.070650] overlayfs: failed to resolve '/overlay/upper': -5
    [    9.101331] mount_root: mount failed: No such device, options lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work
    [    9.112437] mount_root: switching to jffs2 failed - fallback to ramoverlay
    [    9.147778] urandom-seed: Seed file not found (/etc/urandom.seed)
    [    9.314123] procd: - early -
    [    9.317160] procd: - watchdog -
    [    9.966957] procd: - ubus -
    [   10.171527] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.181267] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.190500] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.200103] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.209311] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.218605] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.227984] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.237557] procd: - init -
    Please press Enter to activate this console.
    [   10.884926] kmodloader: loading kernel modules from /etc/modules.d/*
    [   10.920770] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [   10.991380] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   11.015839] Ralink/MTK WiFi EEPROM API Build for MT7620. 
    [   11.061527] WRTnode AP Driver version: 4.1.0.0
    [   11.214118] Linux video capture interface: v2.00
    [   11.363830] hidraw: raw HID events driver (C) Jiri Kosina
    [   11.409471] Bluetooth: Core ver 2.21
    [   11.413204] NET: Registered protocol family 31
    [   11.417709] Bluetooth: HCI device and connection manager initialized
    [   11.424204] Bluetooth: HCI socket layer initialized
    [   11.429165] Bluetooth: L2CAP socket layer initialized
    [   11.434314] Bluetooth: SCO socket layer initialized
    [   11.441772] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   11.447171] Bluetooth: BNEP filters: protocol multicast
    [   11.452548] Bluetooth: BNEP socket layer initialized
    [   11.464609] usbcore: registered new interface driver btusb
    [   11.477602] usbcore: registered new interface driver cdc_acm
    [   11.483432] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   11.508521] Bluetooth: HCI UART driver ver 2.3
    [   11.513115] Bluetooth: HCI UART protocol H4 registered
    [   11.518324] Bluetooth: HCI UART protocol BCSP registered
    [   11.527939] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [   11.534039] Bluetooth: HIDP socket layer initialized
    [   11.542292] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   11.563936] nf_conntrack version 0.5.0 (1964 buckets, 7856 max)
    [   11.623254] Bluetooth: RFCOMM TTY layer initialized
    [   11.628238] Bluetooth: RFCOMM socket layer initialized
    [   11.633544] Bluetooth: RFCOMM ver 1.11
    [   11.645393] spidev spi32766.1: buggy DT: spidev listed directly in DT
    [   11.652018] ------------[ cut here ]------------
    [   11.656721] WARNING: CPU: 0 PID: 481 at drivers/spi/spidev.c:720 init_module+0x68933c/0x689dec [spidev]()
    [   11.666433] Modules linked in: spidev(+) snd_usbmidi_lib slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables hidp hid_generic hci_uart crc_ccitt cdc_acm btusb btintel bnep bluetooth snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 videobuf2_vmalloc videobuf2_memops videobuf2_core hid v4l2_common videodev evdev snd_soc_core ralink_gdma virt_dma mt76x8 ralink_eeprom_api ledtrig_oneshot ledtrig_morse ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat ntfs configfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_i2c dma_shared_buffer ecb cmac mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache exfat usbcore nls_base usb_common crc16 aead crypto_null cryptomgr crc32c_generic crypto_hash
    [   11.775977] CPU: 0 PID: 481 Comm: kmodloader Not tainted 4.4.46 #0
    [   11.782253] Stack : 8036b8a8 00000000 00000001 803c0000 87d22ac4 803b4d83 8034ce68 000001e1
    	  80403438 0000000b 0000001a 024000c0 80066220 8004ae40 80352364 803b0000
    	  00000003 0000000b 80350768 87587b4c 80066220 80048dac 00000000 00000000
    	  00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    	  ...
    [   11.818399] Call Trace:
    [   11.820949] [<80066220>] module_sect_show+0x0/0x18
    [   11.825816] [<8004ae40>] vprintk_default+0x24/0x30
    [   11.830709] [<80066220>] module_sect_show+0x0/0x18
    [   11.835570] [<80048dac>] printk+0x2c/0x38
    [   11.839670] [<80025430>] warn_slowpath_common+0xa0/0xd0
    [   11.844986] [<8014c338>] dump_stack+0x14/0x28
    [   11.849421] [<80014874>] show_stack+0x50/0x84
    [   11.853841] [<80025430>] warn_slowpath_common+0xa0/0xd0
    [   11.859162] [<877c033c>] init_module+0x68933c/0x689dec [spidev]
    [   11.865170] [<877c0000>] init_module+0x689000/0x689dec [spidev]
    [   11.871202] [<800254e8>] warn_slowpath_null+0x18/0x24
    [   11.876344] [<801f9818>] of_match_node+0x20/0x44
    [   11.881067] [<877c0000>] init_module+0x689000/0x689dec [spidev]
    [   11.887075] [<877c033c>] init_module+0x68933c/0x689dec [spidev]
    [   11.893110] [<801bef78>] devm_kfree+0x20/0x44
    [   11.897550] [<801e01bc>] spi_drv_probe+0x3c/0x84
    [   11.902262] [<801bbaa8>] driver_probe_device+0x120/0x288
    [   11.907670] [<8008a134>] kstrdup+0x44/0x8c
    [   11.911854] [<801e00bc>] spi_match_device+0x38/0xa8
    [   11.916825] [<801bbc8c>] __driver_attach+0x7c/0xb4
    [   11.921699] [<801b9eb0>] next_device+0x10/0x30
    [   11.926217] [<801bbc10>] __driver_attach+0x0/0xb4
    [   11.931004] [<801b9f6c>] bus_for_each_dev+0x9c/0xac
    [   11.935984] [<802f087c>] klist_add_tail+0x24/0x50
    [   11.940779] [<877c0000>] init_module+0x689000/0x689dec [spidev]
    [   11.946803] [<801b9d40>] bus_get+0x2c/0x50
    [   11.951002] [<801bb1a0>] bus_add_driver+0xec/0x20c
    [   11.955867] [<800ad190>] exact_match+0x0/0x8
    [   11.960216] [<800ad698>] exact_lock+0x0/0x24
    [   11.964557] [<877c0000>] init_module+0x689000/0x689dec [spidev]
    [   11.970580] [<877c0000>] init_module+0x689000/0x689dec [spidev]
    [   11.976586] [<801bc3a4>] driver_register+0xa8/0xf8
    [   11.981464] [<87137000>] init_module+0x0/0xdc [spidev]
    [   11.986694] [<877c0000>] init_module+0x689000/0x689dec [spidev]
    [   11.992729] [<877c0000>] init_module+0x689000/0x689dec [spidev]
    [   11.998755] [<877c0000>] init_module+0x689000/0x689dec [spidev]
    [   12.004761] [<87137098>] init_module+0x98/0xdc [spidev]
    [   12.010082] [<80157f08>] kasprintf+0x1c/0x28
    [   12.014431] [<80045798>] __wake_up+0x24/0x48
    [   12.018781] [<87137000>] init_module+0x0/0xdc [spidev]
    [   12.024016] [<8000d890>] do_one_initcall+0x1e8/0x214
    [   12.029083] [<80045798>] __wake_up+0x24/0x48
    [   12.033419] [<87137000>] init_module+0x0/0xdc [spidev]
    [   12.038668] [<80034450>] call_usermodehelper_exec+0x144/0x160
    [   12.044514] [<80033f40>] call_usermodehelper_setup+0x38/0xa8
    [   12.050299] [<80066220>] module_sect_show+0x0/0x18
    [   12.055179] [<80067440>] do_init_module+0x74/0x1cc
    [   12.060071] [<8009dc7c>] __vunmap+0xf0/0x114
    [   12.064438] [<80068cd4>] load_module+0x16c0/0x1b68
    [   12.069320] [<8006680c>] unknown_module_param_cb+0x0/0xac
    [   12.074801] [<8009e170>] __vmalloc_node+0x34/0x40
    [   12.079609] [<80069210>] SyS_init_module+0x94/0x180
    [   12.084562] [<800692ac>] SyS_init_module+0x130/0x180
    [   12.089645] [<8000682c>] syscall_common+0x30/0x54
    [   12.094426] [<80008c58>] __bzero+0xbc/0x164
    [   12.098680] 
    [   12.100192] ---[ end trace 0332c040d14e5288 ]---
    [   12.112425] usbcore: registered new interface driver ums-alauda
    [   12.121628] usbcore: registered new interface driver ums-cypress
    [   12.130887] usbcore: registered new interface driver ums-datafab
    [   12.139901] usbcore: registered new interface driver ums-freecom
    [   12.149120] usbcore: registered new interface driver ums-isd200
    [   12.158310] usbcore: registered new interface driver ums-jumpshot
    [   12.167477] usbcore: registered new interface driver ums-karma
    [   12.177292] usbcore: registered new interface driver ums-sddr09
    [   12.186470] usbcore: registered new interface driver ums-sddr55
    [   12.195976] usbcore: registered new interface driver ums-usbat
    [   12.208317] usbcore: registered new interface driver usbhid
    [   12.214046] usbhid: USB HID core driver
    [   12.221812] usbcore: registered new interface driver usblp
    [   12.235894] usbcore: registered new interface driver usbserial
    [   12.242026] usbcore: registered new interface driver usbserial_generic
    [   12.248791] usbserial: USB Serial support registered for generic
    [   12.267612] Driver for 1-wire Dallas network protocol.
    [   12.294245] xt_time: kernel timezone is -0000
    [   12.301090] usbcore: registered new interface driver ch341
    [   12.306780] usbserial: USB Serial support registered for ch341-uart
    [   12.315637] usbcore: registered new interface driver cp210x
    [   12.321486] usbserial: USB Serial support registered for cp210x
    [   12.331101] usbcore: registered new interface driver ftdi_sio
    [   12.337046] usbserial: USB Serial support registered for FTDI USB Serial Device
    [   12.355962] usbcore: registered new interface driver pl2303
    [   12.361814] usbserial: USB Serial support registered for pl2303
    [   12.373383] PPP generic driver version 2.4.2
    [   12.381116] NET: Registered protocol family 24
    [   12.399325] usbcore: registered new interface driver snd-usb-audio
    [   12.421588] usbcore: registered new interface driver uvcvideo
    [   12.427425] USB Video Class driver (1.1.1)
    [   12.438419] usbcore: registered new interface driver option
    [   12.444289] usbserial: USB Serial support registered for GSM modem (1-port)
    [   12.456909] kmodloader: done loading kernel modules from /etc/modules.d/*
    [   12.701205] random: jshn: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
    [   12.865461] random: jshn: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
    [   24.922613] EEPROM:Read from [factory] offset 0x0,length 0x400.
    [   27.318662]  ch6 bssid=5c:8f:e0:94:6c:8a
    [   27.322661]  ch6 bssid=9e:8f:e0:94:6c:8a
    [   27.326642]  ch11 bssid=6c:70:9f:e4:32:fe
    [   27.330747]  ch11 bssid=30:ae:a4:5d:95:05
    [   27.334809] =====================================================
    [   27.341009] Channel 1 : Dirty = 0, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
    [   27.348965] Channel 2 : Dirty = 40, False CCA = 0, Busy Time = 24, Skip Channel = FALSE
    [   27.357082] Channel 3 : Dirty = 48, False CCA = 0, Busy Time = 97, Skip Channel = FALSE
    [   27.365212] Channel 4 : Dirty = 56, False CCA = 0, Busy Time = 16, Skip Channel = FALSE
    [   27.373337] Channel 5 : Dirty = 64, False CCA = 0, Busy Time = 3, Skip Channel = FALSE
    [   27.381380] Channel 6 : Dirty = 140, False CCA = 0, Busy Time = 620, Skip Channel = FALSE
    [   27.389688] Channel 7 : Dirty = 104, False CCA = 0, Busy Time = 1, Skip Channel = FALSE
    [   27.397803] Channel 8 : Dirty = 104, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
    [   27.405933] Channel 9 : Dirty = 104, False CCA = 0, Busy Time = 143, Skip Channel = FALSE
    [   27.414240] Channel 10 : Dirty = 104, False CCA = 0, Busy Time = 568, Skip Channel = FALSE
    [   27.422630] Channel 11 : Dirty = 140, False CCA = 0, Busy Time = 3016, Skip Channel = FALSE
    [   27.431108] =====================================================
    [   27.437285] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 1 
    [   27.446025] Min Dirty = 0
    [   27.448686] ExChannel = 0 , 0
    [   27.451690] BW        = 20
    [   28.120252] device eth0.1 entered promiscuous mode
    [   28.125130] device eth0 entered promiscuous mode
    [   28.153782] br-wlan: port 1(eth0.1) entered forwarding state
    [   28.159661] br-wlan: port 1(eth0.1) entered forwarding state
    [   30.158662] br-wlan: port 1(eth0.1) entered forwarding state
    [   35.911301] device ra0 entered promiscuous mode
    [   37.552599] EEPROM:Read from [factory] offset 0x0,length 0x400.
    [   39.938663]  ch6 bssid=5c:8f:e0:94:6c:8a
    [   39.942663]  ch6 bssid=9e:8f:e0:94:6c:8a
    [   39.946650]  ch6 bssid=7e:8f:e0:94:6c:8a
    [   39.950654]  ch11 bssid=6c:70:9f:e4:32:fe
    [   39.954721]  ch11 bssid=30:ae:a4:5d:95:05
    [   39.958798] =====================================================
    [   39.964983] Channel 1 : Dirty = 0, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
    [   39.972944] Channel 2 : Dirty = 60, False CCA = 0, Busy Time = 3, Skip Channel = FALSE
    [   39.980987] Channel 3 : Dirty = 72, False CCA = 0, Busy Time = 1, Skip Channel = FALSE
    [   39.989031] Channel 4 : Dirty = 84, False CCA = 0, Busy Time = 13, Skip Channel = FALSE
    [   39.997146] Channel 5 : Dirty = 96, False CCA = 0, Busy Time = 2, Skip Channel = FALSE
    [   40.005188] Channel 6 : Dirty = 210, False CCA = 0, Busy Time = 428, Skip Channel = FALSE
    [   40.013489] Channel 7 : Dirty = 136, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
    [   40.021621] Channel 8 : Dirty = 132, False CCA = 0, Busy Time = 24, Skip Channel = FALSE
    [   40.029841] Channel 9 : Dirty = 128, False CCA = 0, Busy Time = 1967, Skip Channel = FALSE
    [   40.038220] Channel 10 : Dirty = 124, False CCA = 0, Busy Time = 1560, Skip Channel = FALSE
    [   40.046705] Channel 11 : Dirty = 150, False CCA = 0, Busy Time = 1938, Skip Channel = FALSE
    [   40.055184] =====================================================
    [   40.061370] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 1 
    [   40.070109] Min Dirty = 0
    [   40.072763] ExChannel = 0 , 0
    [   40.075767] BW        = 20
    [   40.249726] br-wlan: port 2(ra0) entered forwarding state
    [   40.255260] br-wlan: port 2(ra0) entered forwarding state
    [   42.248649] br-wlan: port 2(ra0) entered forwarding state
    [   62.938698] random: nonblocking pool is initialized
    
    cat /etc/config/wireless
    
    BusyBox v1.26.2 () built-in shell (ash)
    
       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/
     -----------------------------------------------------
       Ω-ware: 0.1.10 b160
     -----------------------------------------------------
    root@Omega-C0FB:/# cat /etc/config/wireless 
    
    config wifi-device 'ra0'
    	option type 'ralink'
    	option mode '9'
    	option channel 'auto'
    	option txpower '100'
    	option ht '20'
    	option country 'US'
    	option disabled '0'
    
    config wifi-iface
    	option device 'ra0'
    	option network 'wlan'
    	option mode 'ap'
    	option encryption 'psk2'
    	option key '12345678'
    	option ApCliEnable '1'
    	option ApCliSsid 'yourwifissid'
    	option ApCliAuthMode 'WPA2PSK'
    	option ApCliEncrypType 'AES'
    	option ApCliPassWord 'yourpassword'
    	option ssid 'Omega-C0FB'
    


  • @Chris-Morgan I continue here my previous post.
    The v0.1.10 b160 is a fairly old firmware - I want to use the latest (v0.2.0 b196 2018-09-10).

    oupgrade -l -f

    root@Omega-99A5:/# oupgrade -l -f
    > Device Firmware Version: 0.1.10 b160
    > Checking latest version online...
    > Repo Firmware Version: 0.2.0 b196
    > New firmware version available, need to upgrade device firmware
    > Downloading new firmware ...
    /usr/bin/oupgrade: local: line 377: not in a function
    --2018-09-21 19:47:17--  http://repo.onion.io/omega2/images/omega2p-v0.2.0-b196.bin
    Resolving repo.onion.io... 54.231.81.74
    Connecting to repo.onion.io|54.231.81.74|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 7864493 (7.5M) [application/octet-stream]
    Saving to: '/tmp/omega2p-v0.2.0-b196.bin'
    
    /tmp/omega2p-v0.2.0 100%[===================>]   7.50M  1.25MB/s    in 6.5s
    
    2018-09-21 19:47:24 (1.15 MB/s) - '/tmp/omega2p-v0.2.0-b196.bin' saved [7864493/7864493]
    
    > Starting firmware upgrade....
    Saving config files...
    killall: watchdog: no process killed
    Sending TERM to remaining processes ... uhttpd device-client onion-helper udhcpc avahi-daemon mountd ntpd udhcpc dnsmasq oupgrade Terminated
    root@Omega-99A5:/# ubusd logd rpcd netifd odhcpd
    Sending KILL to remaining processes ...
    Switching to ramdisk...
    mount: mounting /dev/mtdblock6 on /overlay failed: Resource busy
    Performing system upgrade...
    Unlocking firmware ...
    
    Writing from <stdin> to firmware ...
    Appending jffs2 data from /tmp/sysupgrade.tgz to firmware..
    .
    Writing from <stdin> to firmware ...
    Upgrade completed  
    Rebooting system...
    umount: can't unmount /dev: Resource busy
    [21664.269285] Removing MTD device #6 (rootfs_data) with use count 1
    [21664.310607] reboot: Restarting system
    
    
       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/"
    
    Board: Onion Omega2 APSoC DRAM:  128 MB
    relocate_code Pointer at: 87f60000
    ******************************
    Software System Reset Occurred
    ******************************
    flash manufacture id: c2, device id 20 19
    find flash: MX25L25635E
    *** Warning - bad CRC, using default environment
    
    ============================================
    Onion Omega2 UBoot Version: 4.3.0.3
    --------------------------------------------
    ASIC 7628_MP (Port5<->None)
    DRAM component: 1024 Mbits DDR, width 16
    DRAM bus: 16 bit   
    Total memory: 128 MBytes
    Flash component: SPI Flash
    Date:Oct 18 2016  Time:17:29:05
    ============================================
    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 = 128 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 LEDE Linux-4.4.74
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    1341943 Bytes =  1.3 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, 128
     
    Starting kernel ...
     
    [    0.000000] Linux version 4.4.74 (root@3fbe4dcb626f) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3484-d8f14ba) ) #0 Tue Jul 31 16:32:08 2018
    
    ...
    ...
    ...
    
    [  171.304476] br-wlan: port 1(ra0) entered forwarding state
    

    The amber LED has stopped blinking.

    [Enter]
    cat /etc/config/wireless

    BusyBox v1.25.1 () built-in shell (ash)
     
       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/
     -----------------------------------------------------
       Ω-ware: 0.2.0 b196
     -----------------------------------------------------
    root@Omega-99A5:/# cat /etc/config/wireless
     
    config wifi-device 'radio0'
            option type 'ralink'
            option variant 'mt7628'
            option country 'US'
            option hwmode '11g'
            option htmode 'HT40'
            option channel 'auto'
            option disabled '0'
            option device_mode 'apsta'
            option op_mode 'preference'
     
    config wifi-iface 'ap'
            option device 'radio0'
            option mode 'ap'
            option network 'wlan'
            option ifname 'ra0'
            option encryption 'psk2'
            option key '12345678'
            option disabled '0'
            option ssid 'Omega-99A5'
     
    config wifi-iface 'sta'
            option device 'radio0'
            option mode 'sta'
            option ifname 'apcli0'
            option encryption 'psk2'
            option ssid 'YourSsidHere'
            option key 'YourPasswordHere'
            option network 'wwan'
            option disabled '1'
    

    The '/etc/config/wireless' file has changed (from v0.1.0 to v0.2.0) so I must repeat
    wifisetup

    root@Omega-99A5:/# wifisetup
    Onion Omega Wifi Setup
     
    Select from the following:
    1) Scan for Wifi networks
    2) Type network info
    q) Exit
     
    Selection: 1
    Scanning for wifi networks...
     
    Select Wifi network:
    1) ...
    2) ...
    3) ...
    4) ...
    5) DIGI-wzxY
    6) ...
    7) ...
    8) ...
    9) ...
    10) ...
    11) ...
    12) ...
    13) ...
    14) ...
    15) ...
     
    Selection: 5
    Network: DIGI-wzxY
    Encryption type: psk2
    Enter password: MyPassword
     
    > Restarting wifimanager for changes to take effect
    root@Omega-99A5:/# [  337.643111] br-wlan: port 1(ra0) entered disabled state
    [  337.661826] device ra0 left promiscuous mode
    [  337.666343] br-wlan: port 1(ra0) entered disabled state
    [  337.706147] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready
    [  340.858173] device ra0 entered promiscuous mode
    [  340.862921] br-wlan: port 1(ra0) entered forwarding state
    [  340.868530] br-wlan: port 1(ra0) entered forwarding state
    [  340.874950] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready
    [  342.864450] br-wlan: port 1(ra0) entered forwarding state
    [  344.285355] Interface apcli0 link up! (WPA2PSK AES)
     
    root@Omega-99A5:/# cat /etc/config/wireless
     
    config wifi-device 'radio0'
            option type 'ralink'
            option variant 'mt7628'
            option country 'US'
            option hwmode '11g'
            option htmode 'HT40'
            option channel 'auto'
            option disabled '0'
            option device_mode 'apsta'
            option op_mode 'preference'
     
    config wifi-iface 'ap'
            option device 'radio0'
            option mode 'ap'
            option network 'wlan'
            option ifname 'ra0'
            option encryption 'psk2'
            option key '12345678'
            option disabled '0'
            option ssid 'Omega-99A5'
     
    config wifi-iface 'sta'
            option device 'radio0'
            option mode 'sta'
            option ifname 'apcli0'
            option encryption 'psk2'
            option network 'wwan'
            option disabled '0'
            option key 'MyPassword'
            option ssid 'DIGI-wzxY'
     
    config wifi-config
            option key 'MyPassword'
            option ssid 'DIGI-wzxY
            option encryption 'psk2'
     
    root@Omega-99A5:/# ifconfig | head
    apcli0    Link encap:Ethernet  HWaddr 40:A3:6B:C0:99:A6
              inet addr:192.168.100.5  Bcast:192.168.100.255  Mask:255.255.255.0
              inet6 addr: fe80::42a3:6bff:fec0:99a6/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
     
    br-wlan   Link encap:Ethernet  HWaddr 40:A3:6B:C0:99:A5
    

    Done.

    It's really simple to set the TimeZone here.
    My location is near Budapest (the capital of Hungary, Central Europe):
    onion time list | grep Budapest
    Europe/Budapest CET-1CEST,M3.5.0,M10.5.0/3

    OK it's in the list:
    onion time set $(onion time list | grep Budapest)

    date
    Fri Sep 21 22:47:30 CEST 2018

    Sorry I don't use Onion's web based stuff at all and don't know what is the situation with the Onion's cloud now.

    I hope this help you a little. 🙂



  • What the heck... I would have upgraded the firmware sooner but this is what the web console reported:

    0_1537568564318_Screen Shot 2018-09-21 at 6.20.05 PM.png

    Let me upgrade as you've recommended and see if the behavior changes.



  • @György-Farkas alright, after the upgrade to 0.2.x content and configuration is persisting across power cycles. Thank you for your help. It's too bad the UI told me that the old version I had was the latest version. If it had prompted me to upgrade I wouldn't have had any of these issues!

    Now the new web interface is missing the "Settings" app. Trying to figure out what package that is contained in so I can install/reinstall that!



Looks like your connection to Community was lost, please wait while we try to reconnect.