Omega2p warp core boot problem



  • Hello, i just worked with my omega2p when suddenly it freezes, and after reboot i got a warp core issue:

    [   33.123550] _      _____   ___  ___    _________  ___  ____
    [   33.123550] | | /| / / _ | / _ \/ _ \  / ___/ __ \/ _ \/ __/ V1.1
    [   33.123550] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/
    [   33.123550] |__/|__/_/ |_/_/|_/_/     \___/\____/_/|_/___/
    [   33.123550]             Onion Enhanced MT7688 WiFi Driver
    [   33.123550]
    [   33.973870] DMA Scheduler Mode=0(LMAC)
    [   33.977701] efuse_probe: efuse = 10000012
    [   33.981868] 1. Phy Mode = 14
    [   34.195788] ERROR: initialization error 781:
    [   34.195788] buffer=303030303030303030303030
    [   34.195788]
    [   34.844470] ERROR: initialization error 781:
    [   34.844470] buffer=303030303030303030303030
    [   34.844470]
    [   35.579208] ERROR: initialization error 781:
    [   35.579208] buffer=303030303030303030303030
    

    but omega worked after all. So i tried to do factory reboot and it caused kernel panic at the next boot. Then i flashed a new firmware via web interface and this is boot process: (nothing changes)

       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     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: 87f5c000
    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:Sep 19 2017  Time:15:11:41
    ============================================
    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.
    wifi mac address = 000000000000.
    
    
    **************************************
    * Hold Reset button for more options *
    **************************************
    
    
    
    Boot Linux from Flash NO RESET PRESSED.
    ## Booting image at bc050000 ...
       Image Name:   MIPS OpenWrt Linux-4.14.81
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    1572470 Bytes =  1.5 MB
       Load Address: 80000000
       Entry Point:  80000000
       Verifying Checksum ... OK
       Uncompressing Kernel Image ... OK
    No initrd
    ## Transferring control to Linux (at address 80000000) ...
    ## Giving linux memsize in MB, 128
    
    Starting kernel ...
    
    [    0.000000] Linux version 4.14.81 (root@bbafc6eec382) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r0-)) #0 Sat Jul 13 13:13:24 2019
    [    0.000000] Board has DDR2
    [    0.000000] Analog PMU set to hw control
    [    0.000000] Digital PMU set to hw control
    [    0.000000] SoC Type: MediaTek MT7688 ver:1 eco:2
    [    0.000000] bootconsole [early0] enabled
    [    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
    [    0.000000] MIPS: machine is Onion Omega2+
    [    0.000000] Determined physical RAM map:
    [    0.000000]  memory: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000000000000-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] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0
    [    0.000000] Built 1 zonelists, 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=0006eec0
    [    0.000000] Readback ErrCtl register=0006eec0
    [    0.000000] Memory: 124712K/131072K available (3613K kernel code, 198K rwdata, 900K rodata, 208K init, 202K bss, 6360K reserved, 0K cma-reserved)
    [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] NR_IRQS: 256
    [    0.000000] intc: using register map from devicetree
    [    0.000000] CPU Clock: 580MHz
    [    0.000000] timer_probe: no matching timers found
    [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
    [    0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
    [    0.007540] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
    [    0.073499] pid_max: default: 32768 minimum: 301
    [    0.078198] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.084544] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.098608] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.108102] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.114050] pinctrl core: initialized pinctrl subsystem
    [    0.119618] NET: Registered protocol family 16
    [    0.152389] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.158002] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.163601] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.170079] i2c-mt7621 10000900.i2c: clock 100 kHz
    [    0.179530] clocksource: Switched to clocksource MIPS
    [    0.185777] NET: Registered protocol family 2
    [    0.190964] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.197656] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.203841] TCP: Hash tables configured (established 1024 bind 1024)
    [    0.210089] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.215689] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.222051] NET: Registered protocol family 1
    [    0.230003] Crashlog allocated RAM at address 0x3f00000
    [    0.236572] workingset: timestamp_bits=30 max_order=15 bucket_order=0
    [    0.248752] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.254375] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.274176] io scheduler noop registered
    [    0.277907] io scheduler deadline registered (default)
    [    0.283925] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
    [    0.291275] console [ttyS0] disabled
    [    0.294711] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
    [    0.303486] console [ttyS0] enabled
    [    0.303486] console [ttyS0] enabled
    [    0.310478] bootconsole [early0] disabled
    [    0.310478] bootconsole [early0] disabled
    [    0.319209] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
    [    0.328814] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
    [    0.338313] cacheinfo: Failed to find cpu0 device node
    [    0.343563] cacheinfo: Unable to detect cache hierarchy for CPU 0
    [    0.350547] spi-mt7621 10000b00.spi: sys_freq: 193333333
    [    0.361713] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
    [    0.366891] 4 fixed-partitions partitions found on MTD device spi0.0
    [    0.373395] Creating 4 MTD partitions on "spi0.0":
    [    0.378262] 0x000000000000-0x000000030000 : "u-boot"
    [    0.384257] 0x000000030000-0x000000040000 : "u-boot-env"
    [    0.390565] 0x000000040000-0x000000050000 : "factory"
    [    0.396503] 0x000000050000-0x000002000000 : "firmware"
    [    0.474456] 2 uimage-fw partitions found on MTD device firmware
    [    0.480511] 0x000000050000-0x0000001cfeb6 : "kernel"
    [    0.486481] 0x0000001cfeb6-0x000002000000 : "rootfs"
    [    0.492377] mtd: device 5 (rootfs) set to be root filesystem
    [    0.499695] 1 squashfs-split partitions found on MTD device rootfs
    [    0.505983] 0x000000970000-0x000002000000 : "rootfs_data"
    [    0.513412] libphy: Fixed MDIO Bus: probed
    [    0.526223] rt3050-esw 10110000.esw: link changed 0x00
    [    0.535104] mtk_soc_eth 10100000.ethernet: generated random MAC address 4a:a5:ac:63:19:0d
    [    0.544182] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
    [    0.552850] i2c /dev entries driver
    [    0.558210] NET: Registered protocol family 10
    [    0.567039] Segment Routing with IPv6
    [    0.570947] NET: Registered protocol family 17
    [    0.575509] 8021q: 802.1Q VLAN Support v1.8
    [    0.588273] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
    [    0.596623] Freeing unused kernel memory: 208K
    [    0.601169] This architecture does not have kernel memory protection.
    [    1.512492] init: Console is alive
    [    1.516186] init: - watchdog -
    [    2.239581] random: fast init done
    [    5.011159] kmodloader: loading kernel modules from /etc/modules-boot.d/*
    [    5.307253] usbcore: registered new interface driver usbfs
    [    5.312997] usbcore: registered new interface driver hub
    [    5.318514] usbcore: registered new device driver usb
    [    5.330221] exFAT: Version 1.2.9
    [    5.369334] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    5.385838] SCSI subsystem initialized
    [    5.395374] ehci-platform: EHCI generic platform driver
    [    5.411094] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
    [    5.417898] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
    [    5.423236] ehci-platform 101c0000.ehci: EHCI Host Controller
    [    5.429097] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
    [    5.437273] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
    [    5.469580] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
    [    5.477069] hub 1-0:1.0: USB hub found
    [    5.481333] hub 1-0:1.0: 1 port detected
    [    5.491354] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    5.499199] ohci-platform: OHCI generic platform driver
    [    5.504877] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
    [    5.511844] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
    [    5.519979] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
    [    5.594601] hub 2-0:1.0: USB hub found
    [    5.598876] hub 2-0:1.0: 1 port detected
    [    5.617654] MTK MSDC device init.
    [    5.679766] mtk-sd: MediaTek MT6575 MSDC Driver
    [    5.691409] sdhci: Secure Digital Host Controller Interface driver
    [    5.697705] sdhci: Copyright(c) Pierre Ossman
    [    5.703772] sdhci-pltfm: SDHCI platform and OF driver helper
    [    5.715609] usbcore: registered new interface driver usb-storage
    [    5.727554] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
    [    5.745452] init: - preinit -
    [    5.930803] mmc0: new high speed SDHC card at address 0001
    [    5.945394] mmcblk0: mmc0:0001 SD16G 7.51 GiB
    [    5.958716]  mmcblk0: p1
    [    7.150523] rt3050-esw 10110000.esw: link changed 0x00
    Press the [f] key and hit [enter] to enter failsafe mode
    Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
    [    7.351080] random: procd: uninitialized urandom read (4 bytes read)
    [   10.603684] mount_root: loading kmods from internal overlay
    [   10.675988] kmodloader: loading kernel modules from //etc/modules-boot.d/*
    [   10.689401] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
    [   11.961609] block: attempting to load /etc/config/fstab
    [   11.972312] block: unable to load configuration (fstab: Entry not found)
    [   11.979188] block: no usable configuration
    [   11.984377] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
    [   12.060781] urandom-seed: Seed file not found (/etc/urandom.seed)
    [   12.271496] procd: - early -
    [   12.274529] procd: - watchdog -
    [   12.945765] procd: - watchdog -
    [   12.949264] procd: - ubus -
    [   13.050360] random: ubusd: uninitialized urandom read (4 bytes read)
    [   13.249461] random: ubusd: uninitialized urandom read (4 bytes read)
    [   13.256527] random: ubusd: uninitialized urandom read (4 bytes read)
    [   13.264111] procd: - init -
    Please press Enter to activate this console.
    [   13.823781] kmodloader: loading kernel modules from /etc/modules.d/*
    [   13.991769] RPC: Registered named UNIX socket transport module.
    [   13.997782] RPC: Registered udp transport module.
    [   14.002614] RPC: Registered tcp transport module.
    [   14.007380] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [   14.025912] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [   14.117247] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   14.729274]
    [   14.729274]
    [   14.729274] === pAd = c062b000, size = 1178064 ===
    [   14.729274]
    [   14.740642] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628))
    [   14.890472] Linux video capture interface: v2.00
    [   14.907883] hidraw: raw HID events driver (C) Jiri Kosina
    [   14.937365] ledchain: pwm_base=0xB0005000
    [   14.941661] ledchain: v2 - Device: /dev/ledchain2
    [   14.946432] ledchain: - PWM channel    : 2
    [   14.950609] ledchain: - PWM buffer size: 12
    [   14.954847] ledchain: - Number of LEDs : 1
    [   14.958996] ledchain: - Inverted       : 0
    [   14.963168] ledchain: - LED type       : WS2812
    [   14.967759] ledchain: - Max retries    : 3
    [   14.971921] ledchain: - Max Tpassive   : 10000 nS
    [   15.135505] Bluetooth: Core ver 2.22
    [   15.139238] NET: Registered protocol family 31
    [   15.143793] Bluetooth: HCI device and connection manager initialized
    [   15.150259] Bluetooth: HCI socket layer initialized
    [   15.155211] Bluetooth: L2CAP socket layer initialized
    [   15.160397] Bluetooth: SCO socket layer initialized
    [   15.168188] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   15.173654] Bluetooth: BNEP filters: protocol multicast
    [   15.178965] Bluetooth: BNEP socket layer initialized
    [   15.191701] usbcore: registered new interface driver btusb
    [   15.202032] usbcore: registered new interface driver cdc_acm
    [   15.207783] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   15.255559] Bluetooth: HCI UART driver ver 2.3
    [   15.260147] Bluetooth: HCI UART protocol H4 registered
    [   15.265356] Bluetooth: HCI UART protocol BCSP registered
    [   15.281965] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [   15.287995] Bluetooth: HIDP socket layer initialized
    [   15.299130] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   15.327081] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
    [   15.425570] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm
    [   15.435193] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22
    [   15.441573] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0  on device rt2880-pinmux
    [   15.451463] mtk-pwm 10005000.pwm: Error applying setting, reverse things back
    [   15.465959] Bluetooth: RFCOMM TTY layer initialized
    [   15.470999] Bluetooth: RFCOMM socket layer initialized
    [   15.476239] Bluetooth: RFCOMM ver 1.11
    [   15.497213] usbcore: registered new interface driver ums-alauda
    [   15.506465] usbcore: registered new interface driver ums-cypress
    [   15.515968] usbcore: registered new interface driver ums-datafab
    [   15.525174] usbcore: registered new interface driver ums-freecom
    [   15.534582] usbcore: registered new interface driver ums-isd200
    [   15.544099] usbcore: registered new interface driver ums-jumpshot
    [   15.553475] usbcore: registered new interface driver ums-karma
    [   15.563601] usbcore: registered new interface driver ums-sddr09
    [   15.572998] usbcore: registered new interface driver ums-sddr55
    [   15.582788] usbcore: registered new interface driver ums-usbat
    [   15.596043] usbcore: registered new interface driver usbhid
    [   15.601771] usbhid: USB HID core driver
    [   15.610060] usbcore: registered new interface driver usblp
    [   15.625573] usbcore: registered new interface driver usbserial
    [   15.631661] usbcore: registered new interface driver usbserial_generic
    [   15.638369] usbserial: USB Serial support registered for generic
    [   15.657942] Driver for 1-wire Dallas network protocol.
    [   15.687143] xt_time: kernel timezone is -0000
    [   15.694175] usbcore: registered new interface driver ch341
    [   15.699944] usbserial: USB Serial support registered for ch341-uart
    [   15.709333] usbcore: registered new interface driver cp210x
    [   15.715184] usbserial: USB Serial support registered for cp210x
    [   15.725186] usbcore: registered new interface driver ftdi_sio
    [   15.731210] usbserial: USB Serial support registered for FTDI USB Serial Device
    [   15.752564] usbcore: registered new interface driver pl2303
    [   15.758322] usbserial: USB Serial support registered for pl2303
    [   15.770342] PPP generic driver version 2.4.2
    [   15.778124] NET: Registered protocol family 24
    [   15.797699] usbcore: registered new interface driver snd-usb-audio
    [   15.821227] usbcore: registered new interface driver uvcvideo
    [   15.827064] USB Video Class driver (1.1.1)
    [   15.838259] usbcore: registered new interface driver option
    [   15.844098] usbserial: USB Serial support registered for GSM modem (1-port)
    [   15.856762] kmodloader: done loading kernel modules from /etc/modules.d/*
    [   16.197177] urandom_read: 5 callbacks suppressed
    [   16.197188] random: jshn: uninitialized urandom read (4 bytes read)
    [   26.797491] EXT4-fs (mmcblk0p1): recovery complete
    [   26.802444] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts:
    [   31.491417] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready
    [   32.384112]
    [   32.384112] _      _____   ___  ___    _________  ___  ____
    [   32.384112] | | /| / / _ | / _ \/ _ \  / ___/ __ \/ _ \/ __/ V1.1
    [   32.384112] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/
    [   32.384112] |__/|__/_/ |_/_/|_/_/     \___/\____/_/|_/___/
    [   32.384112]             Onion Enhanced MT7688 WiFi Driver
    [   32.384112]
    [   33.253659] DMA Scheduler Mode=0(LMAC)
    [   33.257491] efuse_probe: efuse = 10000012
    [   33.261652] 1. Phy Mode = 14
    [   33.533425] ERROR: initialization error 781:
    [   33.533425] buffer=303030303030303030303030
    [   33.533425]
    [   34.417859] ERROR: initialization error 781:
    [   34.417859] buffer=303030303030303030303030
    [   34.417859]
    [   35.167554] ERROR: initialization error 781:
    [   35.167554] buffer=303030303030303030303030
    [   35.167554]
    [   64.583569]
    [   64.583569] _      _____   ___  ___    _________  ___  ____
    [   64.583569] | | /| / / _ | / _ \/ _ \  / ___/ __ \/ _ \/ __/ V1.1
    [   64.583569] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/
    [   64.583569] |__/|__/_/ |_/_/|_/_/     \___/\____/_/|_/___/
    [   64.583569]             Onion Enhanced MT7688 WiFi Driver
    [   64.583569]
    [   64.658134] Kernel bug detected[#1]:
    [   64.661783] CPU: 0 PID: 1646 Comm: ifconfig Not tainted 4.14.81 #0
    [   64.668051] task: 85c2e100 task.stack: 8659e000
    [   64.672639] $ 0   : 00000000 804d0000 00000001 ffffa40f
    [   64.677946] $ 4   : c06dbbac ffffa419 86e75560 c06dbbac
    [   64.683250] $ 8   : c06c1e24 0000001c 86e40fd8 00000000
    [   64.688554] $12   : 7fe85b10 00000000 00000000 77ffd2c0
    [   64.693858] $16   : c06dbbac 00090000 000b0000 86f40000
    [   64.699162] $20   : c06dbbac c06bb000 00000001 7f81ac6c
    [   64.704468] $24   : 00000018 80045dec
    [   64.709772] $28   : 8659e000 8659fc48 00403a18 86e5121c
    [   64.715077] Hi    : 00000000
    [   64.717993] Lo    : 0000000a
    [   64.720944] epc   : 8005ad78 add_timer+0x8/0x14
    [   64.726047] ra    : 86e5121c RTMPSetTimer+0x8c/0x10c [mt_wifi]
    [   64.731958] Status: 1100e403 KERNEL EXL IE
    [   64.736210] Cause : 10800034 (ExcCode 0d)
    [   64.740272] PrId  : 00019655 (MIPS 24KEc)
    [   64.744332] Modules linked in: pppoe ppp_async option w1_therm w1_gpio uvcvideo usb_wwan snd_usb_audio pppox ppp_generic pl2303 nf_conntrack_ipv6 lzo iptable_nat ipt_REJECT ipt_MASQUERADE ftdi_sio cp210x ch341 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD wire videobuf2_v4l2 usbserial usblp usbhid ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uinput spidev snd_usbmidi_lib slhc rfcomm pwm_mediatek_ramips nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack lzo_decompress lzo_compress iptable_mangle
    [   64.816070]  iptable_filter ip_tables hwmon hidp hid_generic hci_uart crc_ccitt cdc_acm btusb btintel bnep bluetooth p44_ledchain snd_soc_simple_card snd_soc_simple_card_utils snd_soc_ralink_i2s snd_soc_wm8960 videobuf2_vmalloc videobuf2_memops videobuf2_core hid v4l2_common videodev evdev snd_soc_core mt_wifi ralink_gdma virt_dma 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 nfs 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 lockd sunrpc grace configfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_spi regmap_i2c dma_shared_buffer ecdh_generic kpp ecb cmac crypto_acompress
    [   64.888182]  mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 jbd2 mbcache exfat usbcore nls_base usb_common crc16 aead crypto_null cryptomgr crc32c_generic crypto_hash
    [   64.914277] Process ifconfig (pid: 1646, threadinfo=8659e000, task=85c2e100, tls=78001dc0)
    [   64.922648] Stack : c062b000 00090000 000b0000 86f40000 c062b000 86e3fb40 00000000 c074b000
    [   64.931136]         86f15fe8 86eab250 00000001 86e4f9c8 c062b000 86f40000 c074b000 86f15fe8
    [   64.939622]         86f15fe8 7f81acec 00008914 86e52530 00008914 86efe244 86f15fe8 00000001
    [   64.948107]         00000100 00000200 86c3b800 c062b000 86c3b800 c062b000 80480000 ffffa408
    [   64.956593]         7f81acec 86ed8ea8 8782e89c 8782e884 8659fcd8 8659fcd8 00000000 00000000
    [   64.965077]         ...
    [   64.967559] Call Trace:
    [   64.970061] [<8005ad78>] add_timer+0x8/0x14
    [   64.974786] [<86e5121c>] RTMPSetTimer+0x8c/0x10c [mt_wifi]
    [   64.981297] [<86e3fb40>] MlmeInit+0x1ac/0x2f4 [mt_wifi]
    [   64.987543] [<86e52530>] rt28xx_init+0x124/0x72c [mt_wifi]
    [   64.994067] [<86ed8ea8>] rt28xx_open+0xbc/0x30c [mt_wifi]
    [   65.000504] [<86e69194>] RTMP_COM_IoctlHandle+0x52c/0x984 [mt_wifi]
    [   65.007824] [<86ed87f4>] MainVirtualIF_open+0x74/0x110 [mt_wifi]
    [   65.014408] [<8026eff8>] __dev_open+0x128/0x140
    [   65.019007] [<8026f2d0>] __dev_change_flags+0xe4/0x198
    [   65.024222] [<8026f3ac>] dev_change_flags+0x28/0x70
    [   65.029181] [<802dfe40>] devinet_ioctl+0x2f0/0x6d0
    [   65.034046] [<8024ff34>] sock_ioctl+0x140/0x328
    [   65.038655] [<800e15c0>] vfs_ioctl+0x28/0x40
    [   65.042989] [<800e1764>] do_vfs_ioctl+0xb8/0x728
    [   65.047676] [<800e1e24>] SyS_ioctl+0x50/0x9c
    [   65.052016] [<8001354c>] syscall_common+0x34/0x58
    [   65.056783] Code: 8fa20014  8c820004  0002102b <00020336> 08016b01  8c850008  27bdffd8  afb10020  afb0001c
    [   65.066691]
    [   65.068281] ---[ end trace c780d9f801017248 ]---
    [   65.076225] Kernel panic - not syncing: Fatal exception in interrupt
    [   65.084183] Rebooting in 3 seconds..
    

    Can someone help me with that?



  • @Grag how are you powering the Omega? I suspect you have insufficient power.



  • @crispyoz i use expansion dock connected to my laptop. I changed my cable and power unit but the problem was not solved. Tommorow i will try another one dock. I have connected several devices to my one so maybe power circluit died a little.



  • @Grag if you have another way to power the dock it would at least eliminate this as a cause. My Microsoft Surface cannot reliably power an Omega Pro, I will get various kernel panics and CRC issues, it also performs poorly in charging my phone. If I plug the same Omega Pro into my older Lenovo T530 everything is good. I tested several USB hubs and seen similar issues, the Omega needs sufficient power or it will do lots of wierd things. At least this is a place to start.



  • @crispyoz well today i tried using another one board, it seems that the problem is not powering. Moreover, I measured the voltage on both power pins of the onion and they are 3.33 v during the boot.
    BTW I watched ifconfig and find out that ra0 is not found in there.

    root@(none):/# ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 4E:7D:57:31:EA:FF
              inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::4c7d:57ff:fe31:eaff/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:1629 (1.5 KiB)
              Interrupt:5
    
    lo        Link encap:Local Loopback
              LOOPBACK  MTU:65536  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)
    
    root@(none):/# ifconfig -v
    ifconfig: -v: error fetching interface information: Device not found
    

    Looks like the cause is wifi module does not starting up



  • @Grag the next step I would perform is download the latest firmware version from http://repo.onion.io/omega2/images
    Then use the serial console to run sysupdate -n -v <firmware file>
    Still make sure you have sufficient power to the dock, if you check the power draw will fluctuate during boot anyway.



  • @crispyoz thank you, i don't knew about that repo! I tried the last one "omega2p-v0.2.2-b202.bin" and it crushes the same:

    root@(none):/tmp# sysupgrade -n -v omega2p-v0.2.2-b202.bin
    Commencing upgrade. Closing all shell sessions.
    Watchdog handover: fd=3
    - watchdog -
    root@(none):/tmp# killall: telnetd: no process killed
    Killed
    Sending TERM to remaining processes ... sh sleep
    Sending KILL to remaining processes ...
    Switching to ramdisk...
    ln: /tmp/root//etc/resolv.conf: No such file or directory
    Performing system upgrade...
    Unlocking firmware ...
    
    Writing from <stdin> to firmware ...
    Upgrade completed
    Rebooting system...
    umount: can't unmount /tmp: Resource busy
    umount: can't unmount /dev: Resource busy
    [ 1781.133198] 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: 87f5c000
    ******************************
    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:Sep 19 2017  Time:15:11:41
    ============================================
    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.
    wifi mac address = 000000000000.
    
    
    **************************************
    * 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:    1341944 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
    [    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=0006e68e
    [    0.000000] Readback ErrCtl register=0006e68e
    [    0.000000] Memory: 125488K/131072K available (3103K kernel code, 145K rwdata, 740K rodata, 164K init, 196K bss, 5584K 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.000011] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
    [    0.007521] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
    [    0.070042] pid_max: default: 32768 minimum: 301
    [    0.074638] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.080974] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.094658] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.104168] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.110173] pinctrl core: initialized pinctrl subsystem
    [    0.115945] NET: Registered protocol family 16
    [    0.141128] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.146674] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.152091] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.158685] i2c-mt7621 10000900.i2c: clock 100 kHz
    [    0.164443] clocksource: Switched to clocksource MIPS
    [    0.171002] NET: Registered protocol family 2
    [    0.176214] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.182903] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.189091] TCP: Hash tables configured (established 1024 bind 1024)
    [    0.195282] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.200880] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.207271] NET: Registered protocol family 1
    [    0.217809] Crashlog allocated RAM at address 0x3f00000
    [    0.239238] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.244896] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.257672] io scheduler noop registered
    [    0.261414] io scheduler deadline registered (default)
    [    0.267342] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm
    [    0.276424] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22
    [    0.282422] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0  on device rt2880-pinmux
    [    0.291834] mtk-pwm 10005000.pwm: Error applying setting, reverse things back
    [    0.299194] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
    [    0.306644] console [ttyS0] disabled
    [    0.310079] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
    [    0.318854] console [ttyS0] enabled
    [    0.318854] console [ttyS0] enabled
    [    0.325844] bootconsole [early0] disabled
    [    0.325844] bootconsole [early0] disabled
    [    0.334544] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
    [    0.344009] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
    [    0.354640] spi-mt7621 10000b00.spi: sys_freq: 193333333
    [    0.364819] m25p80 spi32766.0: using chunked io (size=31)
    [    0.370318] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
    [    0.375860] 4 ofpart partitions found on MTD device spi32766.0
    [    0.381773] Creating 4 MTD partitions on "spi32766.0":
    [    0.387002] 0x000000000000-0x000000030000 : "u-boot"
    [    0.393845] 0x000000030000-0x000000040000 : "u-boot-env"
    [    0.401186] 0x000000040000-0x000000050000 : "factory"
    [    0.408230] 0x000000050000-0x000002000000 : "firmware"
    [    0.456244] 2 uimage-fw partitions found on MTD device firmware
    [    0.462270] 0x000000050000-0x000000197a38 : "kernel"
    [    0.468975] 0x000000197a38-0x000002000000 : "rootfs"
    [    0.475889] mtd: device 5 (rootfs) set to be root filesystem
    [    0.481704] 1 squashfs-split partitions found on MTD device rootfs
    [    0.488048] 0x0000007a0000-0x000002000000 : "rootfs_data"
    [    0.505467] rt3050-esw 10110000.esw: link changed 0x00
    [    0.512438] mtk_soc_eth 10100000.ethernet: generated random MAC address 36:e2:27:5c:a7:2a
    [    0.521635] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
    [    0.530270] i2c /dev entries driver
    [    0.534393] mt7621_wdt 10000120.watchdog: Initialized
    [    0.541123] NET: Registered protocol family 10
    [    0.549844] NET: Registered protocol family 17
    [    0.554522] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    0.567335] 8021q: 802.1Q VLAN Support v1.8
    [    0.579546] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
    [    0.587683] Freeing unused kernel memory: 164K (803e7000 - 80410000)
    [    1.885461] init: Console is alive
    [    1.889138] init: - watchdog -
    [    4.463675] kmodloader: loading kernel modules from /etc/modules-boot.d/*
    [    4.624280] usbcore: registered new interface driver usbfs
    [    4.630015] usbcore: registered new interface driver hub
    [    4.635554] usbcore: registered new device driver usb
    [    4.647102] exFAT: Version 1.2.9
    [    4.691724] SCSI subsystem initialized
    [    4.702315] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    4.710766] ehci-platform: EHCI generic platform driver
    [    4.726486] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
    [    4.733292] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
    [    4.738637] ehci-platform 101c0000.ehci: EHCI Host Controller
    [    4.744517] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
    [    4.752667] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
    [    4.774490] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
    [    4.781994] hub 1-0:1.0: USB hub found
    [    4.786244] hub 1-0:1.0: 1 port detected
    [    4.795265] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    4.803206] ohci-platform: OHCI generic platform driver
    [    4.808863] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
    [    4.815832] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
    [    4.823949] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
    [    4.889627] hub 2-0:1.0: USB hub found
    [    4.893888] hub 2-0:1.0: 1 port detected
    [    4.911165] MTK MSDC device init.
    [    4.954623] mtk-sd: MediaTek MT6575 MSDC Driver
    [    4.962889] sdhci: Secure Digital Host Controller Interface driver
    [    4.969235] sdhci: Copyright(c) Pierre Ossman
    [    4.977314] sdhci-pltfm: SDHCI platform and OF driver helper
    [    4.987978] usbcore: registered new interface driver usb-storage
    [    5.001082] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
    [    5.018948] init: - preinit -
    [    5.109439] mmc0: new high speed SDHC card at address 0001
    [    5.251704] mmcblk0: mmc0:0001 SD16G 7.51 GiB
    [    5.258635]  mmcblk0: p1
    [    5.981198] 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[    6.180313] random: procd: uninitialized urandom read (4 bytes read, 11 bits of entropy available)
     level
    [    9.419927] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
    [    9.431105] urandom-seed: Seed file not found (/etc/urandom.seed)
    [    9.518448] rt3050-esw 10110000.esw: link changed 0x01
    [    9.672476] procd: - early -
    [    9.676258] procd: - watchdog -
    [   10.328975] procd: - watchdog -
    [   10.332424] procd: - ubus -
    [   10.506550] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
    [   10.516266] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
    [   10.525495] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
    [   10.535095] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
    [   10.544238] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
    [   10.553572] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
    [   10.562944] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
    [   10.572492] procd: - init -
    Please press Enter to activate this console.
    [   11.101956] kmodloader: loading kernel modules from /etc/modules.d/*
    [   11.141104] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [   11.211099] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   11.237632] gdma-rt2880 10002800.gdma: revision: 3, channels: 16
    [   11.690184]
    [   11.690184]
    [   11.690184] === pAd = c056b000, size = 1182848 ===
    [   11.690184]
    [   11.701069] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628))
    [   11.747591] Linux video capture interface: v2.00
    [   11.764121] hidraw: raw HID events driver (C) Jiri Kosina
    [   11.789303] ralink-i2s 10000a00.i2s: mclk 480KHz
    [   11.797394] max98090 0-0010: Failed to reset codec: -6
    [   11.802795] max98090 0-0010: Failed to read device revision: -1
    [   11.808883] max98090 0-0010: ASoC: failed to probe component -1
    [   11.815536] asoc-simple-card sound: ASoC: failed to instantiate card -1
    [   11.822352] asoc-simple-card: probe of sound failed with error -1
    [   11.852437] Bluetooth: Core ver 2.21
    [   11.856258] NET: Registered protocol family 31
    [   11.860767] Bluetooth: HCI device and connection manager initialized
    [   11.867248] Bluetooth: HCI socket layer initialized
    [   11.872208] Bluetooth: L2CAP socket layer initialized
    [   11.877386] Bluetooth: SCO socket layer initialized
    [   11.916184] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   11.921585] Bluetooth: BNEP filters: protocol multicast
    [   11.926963] Bluetooth: BNEP socket layer initialized
    [   11.950063] usbcore: registered new interface driver btusb
    [   11.959794] usbcore: registered new interface driver cdc_acm
    [   11.965618] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   11.977633] Bluetooth: HCI UART driver ver 2.3
    [   11.982155] Bluetooth: HCI UART protocol H4 registered
    [   11.987430] Bluetooth: HCI UART protocol BCSP registered
    [   11.997088] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [   12.003119] Bluetooth: HIDP socket layer initialized
    [   12.011313] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   12.032796] nf_conntrack version 0.5.0 (1963 buckets, 7852 max)
    [   12.063701] Bluetooth: RFCOMM TTY layer initialized
    [   12.068749] Bluetooth: RFCOMM socket layer initialized
    [   12.073985] Bluetooth: RFCOMM ver 1.11
    [   12.093441] usbcore: registered new interface driver ums-alauda
    [   12.102511] usbcore: registered new interface driver ums-cypress
    [   12.111740] usbcore: registered new interface driver ums-datafab
    [   12.120762] usbcore: registered new interface driver ums-freecom
    [   12.129940] usbcore: registered new interface driver ums-isd200
    [   12.139224] usbcore: registered new interface driver ums-jumpshot
    [   12.148333] usbcore: registered new interface driver ums-karma
    [   12.158201] usbcore: registered new interface driver ums-sddr09
    [   12.167357] usbcore: registered new interface driver ums-sddr55
    [   12.176900] usbcore: registered new interface driver ums-usbat
    [   12.189278] usbcore: registered new interface driver usbhid
    [   12.195002] usbhid: USB HID core driver
    [   12.202786] usbcore: registered new interface driver usblp
    [   12.217111] usbcore: registered new interface driver usbserial
    [   12.223138] usbcore: registered new interface driver usbserial_generic
    [   12.229945] usbserial: USB Serial support registered for generic
    [   12.248776] Driver for 1-wire Dallas network protocol.
    [   12.275519] xt_time: kernel timezone is -0000
    [   12.282151] usbcore: registered new interface driver ch341
    [   12.287938] usbserial: USB Serial support registered for ch341-uart
    [   12.296774] usbcore: registered new interface driver cp210x
    [   12.302542] usbserial: USB Serial support registered for cp210x
    [   12.312113] usbcore: registered new interface driver ftdi_sio
    [   12.318155] usbserial: USB Serial support registered for FTDI USB Serial Device
    [   12.340337] usbcore: registered new interface driver pl2303
    [   12.346207] usbserial: USB Serial support registered for pl2303
    [   12.357771] PPP generic driver version 2.4.2
    [   12.365472] NET: Registered protocol family 24
    [   12.383451] usbcore: registered new interface driver snd-usb-audio
    [   12.405663] usbcore: registered new interface driver uvcvideo
    [   12.411501] USB Video Class driver (1.1.1)
    [   12.424313] usbcore: registered new interface driver option
    [   12.430175] usbserial: USB Serial support registered for GSM modem (1-port)
    [   12.442720] kmodloader: done loading kernel modules from /etc/modules.d/*
    [   12.692764] random: jshn: uninitialized urandom read (4 bytes read, 22 bits of entropy available)
    [   12.774094] random: jshn: uninitialized urandom read (4 bytes read, 22 bits of entropy available)
    [   17.464274] EXT4-fs (mmcblk0p1): recovery complete
    [   17.469245] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [   24.315974] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready
    [   24.968093]
    [   24.968093] _      _____   ___  ___    _________  ___  ____
    [   24.968093] | | /| / / _ | / _ \/ _ \  / ___/ __ \/ _ \/ __/ V1.0
    [   24.968093] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/
    [   24.968093] |__/|__/_/ |_/_/|_/_/     \___/\____/_/|_/___/
    [   24.968093]             Onion Enhanced MT7688 WiFi Driver
    [   24.968093]
    [   25.364089] DMA Scheduler Mode=0(LMAC)
    [   25.367997] efuse_probe: efuse = 10000012
    [   25.372120] 1. Phy Mode = 14
    [   25.548973] ERROR: initialization error 781:
    [   25.548973] buffer=303030303030303030303030
    [   25.548973]
    [   26.042405] ERROR: initialization error 781:
    [   26.042405] buffer=303030303030303030303030
    [   26.042405]
    [   26.488379] ERROR: initialization error 781:
    [   26.488379] buffer=303030303030303030303030
    [   26.488379]
    [   54.688120]
    [   54.688120] _      _____   ___  ___    _________  ___  ____
    [   54.688120] | | /| / / _ | / _ \/ _ \  / ___/ __ \/ _ \/ __/ V1.0
    [   54.688120] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/
    [   54.688120] |__/|__/_/ |_/_/|_/_/     \___/\____/_/|_/___/
    [   54.688120]             Onion Enhanced MT7688 WiFi Driver
    [   54.688120]
    [   54.765250] Kernel bug detected[#1]:
    [   54.768904] CPU: 0 PID: 1369 Comm: ifconfig Not tainted 4.4.74 #0
    [   54.775087] task: 86531e30 ti: 86d76000 task.ti: 86d76000
    [   54.780556] $ 0   : 00000000 80410000 00000001 ffffa033
    [   54.785876] $ 4   : c061c02c ffffa03d 86e765f0 c061c02c
    [   54.791189] $ 8   : 0000001c c0602238 86e41f2c 00000000
    [   54.796498] $12   : 00000000 2096a147 00000000 00000000
    [   54.801808] $16   : c061c02c 00090000 000b0000 86f40000
    [   54.807120] $20   : c061c02c c05fb000 00000001 7ffa621c
    [   54.812430] $24   : 00000018 80043388
    [   54.817742] $28   : 86d76000 86d77c78 00000000 86e52630
    [   54.823053] Hi    : 00000000
    [   54.825970] Lo    : 0000000a
    [   54.828906] epc   : 80053f18 add_timer+0x8/0x14
    [   54.834015] ra    : 86e52630 RTMPSetTimer+0x80/0x110 [mt_wifi]
    [   54.839928] Status: 1100e503 KERNEL EXL IE
    [   54.844186] Cause : 10800034 (ExcCode 0d)
    [   54.848249] PrId  : 00019655 (MIPS 24KEc)
    [   54.852309] Modules linked in: pppoe ppp_async option iptable_nat w1_therm w1_gpio uvcvideo usb_wwan snd_usb_audio pppox ppp_generic pl2303 nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE ftdi_sio cp210x ch341 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG wire videobuf2_v4l2 usbserial usblp usbhid ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uinput spidev snd_usbmidi_lib slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_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 snd_soc_max98090 videobuf2_vmalloc videobuf2_memops videobuf2_core hid v4l2_common videodev evdev snd_soc_core mt_wifi ralink_gdma virt_dma 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 cryptomgr aead crypto_null crc32c_generic crypto_hash
    [   55.002407] Process ifconfig (pid: 1369, threadinfo=86d76000, task=86531e30, tls=77805d48)
    [   55.010779] Stack : c056b000 00090000 000b0000 c056b000 c056b000 86e40a74 c056f960 c068b000
              86f16314 86eaafb0 00000001 86e50bf8 c056b000 86f40000 c068b000 86f16314
              86f16314 8764bd00 7ffa623c 86e53948 7ffa623c 86efe2f0 86f16314 00000000
              00000141 00005a2a 86fe8000 c056b000 86fe8000 0000502e 803d0000 ffffa02b
              8764bd00 86ed8fd0 803caa00 87819060 86d77d08 86d77d08 00000000 00000000
              ...
    [   55.046914] Call Trace:
    [   55.049404] [<80053f18>] add_timer+0x8/0x14
    [   55.054113] [<86e52630>] RTMPSetTimer+0x80/0x110 [mt_wifi]
    [   55.060596] [<86e40a74>] MlmeInit+0x1ac/0x2f4 [mt_wifi]
    [   55.066816] [<86e53948>] rt28xx_init+0x114/0x720 [mt_wifi]
    [   55.073304] [<86ed8fd0>] rt28xx_open+0xbc/0x320 [mt_wifi]
    [   55.079708] [<86e6a068>] RTMP_COM_IoctlHandle+0x508/0x9a4 [mt_wifi]
    [   55.086991] [<86ed87f4>] MainVirtualIF_open+0x74/0x110 [mt_wifi]
    [   55.093559] [<8021f220>] __dev_open+0xe0/0x148
    [   55.098074] [<8021f524>] __dev_change_flags+0xb8/0x174
    [   55.103290] [<8021f608>] dev_change_flags+0x28/0x70
    [   55.108242] [<80283094>] devinet_ioctl+0x224/0x6dc
    [   55.113115] [<8020441c>] sock_ioctl+0x298/0x2f8
    [   55.117722] [<800bbbac>] do_vfs_ioctl+0x4fc/0x5b4
    [   55.122496] [<800bbcb4>] SyS_ioctl+0x50/0x98
    [   55.126837] [<8000682c>] syscall_common+0x30/0x54
    [   55.131601]
    [   55.133110]
    Code: 27bd0030  8c820004  0002102b <00020336> 08014f5f  8c850008  27bdffd0  afbf002c  afb30028
    [   55.143279] ---[ end trace 74ba6f2e2517592c ]---
    [   55.151395] Kernel panic - not syncing: Fatal exception in interrupt
    [   55.159474] Rebooting in 3 seconds..
    

    i also tried the earliest version "omega2-v0.1.5-b129.bin" - without warp core - it doesn't crash and works well except wifi. Ifconfog writes ra0 has HWaddr 00:00:00:00:00:00.

    root@Omega-0000:~# ifconfig
    apcli0    Link encap:Ethernet  HWaddr 02:00:00:00:00:00
              inet6 addr: fe80::ff:fe00:0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:1 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 9E:64:99:08:83:8C
              inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
              inet6 addr: fd1d:48c4:7633::1/60 Scope:Global
              inet6 addr: fe80::9c64:99ff:fe08:838c/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:12079 (11.7 KiB)
    
    eth0      Link encap:Ethernet  HWaddr 9E:64:99:08:83:8C
              inet6 addr: fe80::9c64:99ff:fe08:838c/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:251 errors:0 dropped:4 overruns:0 frame:0
              TX packets:148 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:25861 (25.2 KiB)  TX bytes:32794 (32.0 KiB)
              Interrupt:5
    
    eth0.1    Link encap:Ethernet  HWaddr 9E:64:99:08:83:8C
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:11735 (11.4 KiB)
    
    eth0.2    Link encap:Ethernet  HWaddr 9E:64:99:08:83:8C
              inet6 addr: fe80::9c64:99ff:fe08:838c/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:14242 (13.9 KiB)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:68 errors:0 dropped:0 overruns:0 frame:0
              TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1
              RX bytes:3988 (3.8 KiB)  TX bytes:3988 (3.8 KiB)
    
    ra0       Link encap:Ethernet  HWaddr 00:00:00:00:00:00
              inet6 addr: fe80::200:ff:fe00:0/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)
              Interrupt:6
    
    

    Also i find out onion every boot have been trying to say it haha:

    Initializing MT7688 GPIO system.
    wifi mac address = 000000000000.
    

    i don't know what does that mean at all, but i'm pretty shure it is not good



  • @Grag I think you may have a hardware issue, I might be wrong but this is what I suspect. You can see the MAC address by this:

    cat /sys/class/net/ra0/address

    if the the above command returns a valid MAC address you could run this script manually to fix the settings.

    #!/bin/sh

    . /lib/ramips.sh
    board=$(ramips_board_name)

    m1=$(cat /sys/class/net/ra0/address | awk -F':' '{ print $5 }' | awk '{print toupper($0)}')
    m2=$(cat /sys/class/net/ra0/address | awk -F':' '{ print $6 }' | awk '{print toupper($0)}')

    uci -q batch <<-EOF > /dev/null
    set system.@system[0].hostname=Omega-$m1$m2
    set system.@led[0].sysfs="$board:amber:system"
    set system.@led[0].trigger='default-on'
    commit system
    set wireless.@wifi-iface[0].ssid='Omega-$m1$m2'
    set wireless.sta.led='${board}:blue:wifi'
    commit wireless
    EOF



  • @crispyoz NOOooo it doesn't. Just 00:00:00:00:00:00. Looks like i need new omega 🙂 Anyway, thank you very much for helping!



  • @Grag I'm sorry to see that. Maybe someone else has another suggestion. I always like to order 2 of everything, that makes it easier to swap things in and out to help troubleshoot things.

    Sorry I cannot be of more help.



  • For future reference. I had the same issue on an Omega2Pro yesterday. The factory partition was was messed up, I cloned another device and this fixed the issue, but perhaps the radio is not perfectly calibrated.



  • I had three dozen O2P with this issue in our manufacturing facility. I recovered with this procedure:
    https://github.com/OnionIoT/Onion-Docs/blob/master/Omega2/Documentation/Doing-Stuff/Advanced/Firmware-Flashing-Web-Recovery.md
    I loaded b258 (the latest at this time 9/5/24). This worked.
    If I re-install b233 (the latest "stable" build loaded by" oupgrade -force") the error returns. This is highly repeatable. Therefore, there is more to it than "factory partition messed up".


  • administrators

    Hi @mikeH, I think the original post and your issue have two separate root causes.

    In your case, it looks like you've run into an incompatibility that older builds of the v0.3.3 Omega firmware have with Omega2 modules produced since November 2022 (date codes 2245 and later, MAC addresses starting with 88:1E:59).

    We recommend updating or rebuilding your firmware so that it is based on the latest v0.3.4 b257 version of the Onion firmware and uses WiFi Warp Core v1.2.
    This latest firmware resolves the incompatibility, ensuring normal device operation.

    See our blog post on this here: https://onion.io/firmware-compatibility-issue-notice-jul-2023/

    Hope this helps!



  • @Lazar-Demin
    Thank you very much. That explains a lot. I am sorry I did not see the notice on this before. I now know how to avoid this in our factory without having to manually re-flash anything.

    The following:
    https://api.onioniot.com/firmware/omega2p/stable
    is queried by the Omega to determine the latest "stable" version. The result is:
    {
    "version": "0.3.2",
    "url": "http://repo.onioniot.com/omega2/images/omega2p-v0.3.2-b233.bin",
    "build": 233,
    "device": "omega2+",
    "stable": true
    }
    Is there a reason why the latest stable is still reported as b233 when b257 is required by newer hardware?

    Thanks, and regards,
    Mike Hanson


  • administrators

    @mikeH happy to help!

    The firmware API returning b233 as stable was due to an oversight. This has been fixed, it now returns:

    {
      "version": "0.3.4",
      "url": "http://repo.onioniot.com/omega2/images/omega2p-v0.3.4-b258.bin",
      "build": 258,
      "device": "omega2+",
      "stable": true
    }
    

    Thanks for bringing this to our attention



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