@Maximilian-Gerhardt Thank you for your reply.
GPIO16 and GPIO17 work on the Expansion dock but GPIO15 is always at 1.5V. I tested the same program on another MT7688 module but the same issue persists.
I am using openwrt 18.06 for the onion omega.
Posts made by Gnichi Mohamed
-
RE: About Fast-GPIO
-
About Fast-GPIO
Hi guys,
In the fast-gpio repository opening /dev/mem is executed in the Module::_SetupAddress.
After opening /dev/mem the close(m_mfd) function is called which closes /dev/mem before doing any write command.
I am trying to toggle gpio15 in my C++ program and its not working yet. -
RE: OpenWrt Images found for Omega2+
OpenWRT 18.06 is the latest stable version. you can tweak it as you want and you will never be disappointed.
My Omega is running quite well for 48 hours, make sure to enable Luci in make menuconfig. You can setup all wifi and network interfaces from there.Cheers.
-
RE: warp-core kernel panic
Hello @Lazar-Demin
I tried eveything,
I just compiled openwrt18.06 and everything is fine now.
Bests -
RE: warp-core kernel panic
BTW this is the diff between the official config and my config
/home/lede/source # ❯❯❯ diff .config .configold lede-17.01 ✱ ◼ 2887d2886 < # CONFIG_PACKAGE_kmod-mt76-core is not set 2889,2890d2887 < # CONFIG_PACKAGE_kmod-mt7603 is not set < # CONFIG_PACKAGE_kmod-mt76x2 is not set 3995a3993 > # CONFIG_PACKAGE_libzmq is not set 4037a4036 > # CONFIG_LUCI_LANG_uk is not set 4040d4038 < # CONFIG_LUCI_LANG_sk is not set 4044c4042 < # CONFIG_LUCI_LANG_uk is not set --- > # CONFIG_LUCI_LANG_sk is not set 4047c4045 < # CONFIG_LUCI_LANG_de is not set --- > # CONFIG_LUCI_LANG_he is not set 4049d4046 < # CONFIG_LUCI_LANG_pt-br is not set 4054c4051 < # CONFIG_LUCI_LANG_he is not set --- > # CONFIG_LUCI_LANG_de is not set 4058a4056 > # CONFIG_LUCI_LANG_pt-br is not set 4290a4289 > # CONFIG_PACKAGE_nodogsplash2 is not set 4814a4814,4817 > # Telephony Lantiq > # > > # 5302a5306 > # CONFIG_PACKAGE_libonionili9341 is not set 5308a5313 > # CONFIG_PACKAGE_libonionst7735 is not set 5323a5329 > # CONFIG_PACKAGE_pyOnionSt7735 is not set 5340a5347,5350 > # CONFIG_PACKAGE_wdb40 is not set > # CONFIG_PACKAGE_wifimanager is not set > # CONFIG_PACKAGE_wifisaint is not set > # CONFIG_PACKAGE_wifisetup is not set 5345c5355 < CONFIG_PACKAGE_node-red-contrib-ibm-watson-iot=m --- > # CONFIG_PACKAGE_node-red-contrib-ibm-watson-iot is not set 5372a5383 > # CONFIG_PACKAGE_ili9341-test is not set 5383a5395 > # CONFIG_PACKAGE_st7735-test is not set 5931a5944 > CONFIG_OVERRIDE_PKGS="f2fs-tools mt76"
-
RE: warp-core kernel panic
@Lazar-Demin said in warp-core kernel panic:
Build the firmware, install and test it on your device, it should work
Hello @Lazar-Demin ,
Thank you very much. The issue is persisting and I tried to build the image on two seperate machines. -
RE: warp-core kernel panic
@TomiCode said in warp-core kernel panic:
I've had a similar issue, when I didn't deliver enough power to my Omega2+. After I've attached two 47 µF capacitors in parallel to the 3.3V rail the issue disappeared, but I wasn't using a proper extension board! This probably isn't related to Your issue after all
Hi!
I have 2A buck driver on my proper board and in the worst case scnerio the onion will not consume more than 500mA at max when initializing the warp-core.
I did all your suggestions but the problem remains
Thank you @TomiCode -
warp-core kernel panic
Hi guys,
After I compiled lede for onion and booting I get a kernel panic.[ 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=ttyS1,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=0006b40c [ 0.000000] Readback ErrCtl register=0006b40c [ 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.074639] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.080975] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.094653] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.104163] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.110168] pinctrl core: initialized pinctrl subsystem [ 0.115941] NET: Registered protocol family 16 [ 0.141125] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.146671] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.152088] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.158684] i2c-mt7621 10000900.i2c: clock 100 kHz [ 0.164442] clocksource: Switched to clocksource MIPS [ 0.171001] NET: Registered protocol family 2 [ 0.176212] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.182901] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.189089] TCP: Hash tables configured (established 1024 bind 1024) [ 0.195280] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.200878] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.207269] NET: Registered protocol family 1 [ 0.217802] Crashlog allocated RAM at address 0x3f00000 [ 0.239228] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.244885] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.257661] io scheduler noop registered [ 0.261403] io scheduler deadline registered (default) [ 0.267331] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm [ 0.276414] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22 [ 0.282412] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0 on device rt2880-pinmux [ 0.291824] mtk-pwm 10005000.pwm: Error applying setting, reverse things back [ 0.299184] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.306658] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A [ 0.315920] console [ttyS1] disabled [ 0.319351] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A [ 0.327874] console [ttyS1] enabled [ 0.327874] console [ttyS1] enabled [ 0.334865] bootconsole [early0] disabled [ 0.334865] bootconsole [early0] disabled [ 0.343533] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A [ 0.354105] spi-mt7621 10000b00.spi: sys_freq: 193333333 [ 0.364284] m25p80 spi32766.0: using chunked io (size=31) [ 0.369850] m25p80 spi32766.0: w25q256 (32768 Kbytes) [ 0.375018] 4 ofpart partitions found on MTD device spi32766.0 [ 0.380931] Creating 4 MTD partitions on "spi32766.0": [ 0.386160] 0x000000000000-0x000000030000 : "u-boot" [ 0.393001] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.400341] 0x000000040000-0x000000050000 : "factory" [ 0.407386] 0x000000050000-0x000002000000 : "firmware" [ 0.455350] 2 uimage-fw partitions found on MTD device firmware [ 0.461377] 0x000000050000-0x0000001979b1 : "kernel" [ 0.468081] 0x0000001979b1-0x000002000000 : "rootfs" [ 0.474998] mtd: device 5 (rootfs) set to be root filesystem [ 0.480813] 1 squashfs-split partitions found on MTD device rootfs [ 0.487137] 0x0000007a0000-0x000002000000 : "rootfs_data" [ 0.504425] rt3050-esw 10110000.esw: link changed 0x00 [ 0.512254] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 0.520904] i2c /dev entries driver [ 0.525064] mt7621_wdt 10000120.watchdog: Initialized [ 0.531726] NET: Registered protocol family 10 [ 0.540448] NET: Registered protocol family 17 [ 0.545136] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 0.557956] 8021q: 802.1Q VLAN Support v1.8 [ 0.570670] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 0.578809] Freeing unused kernel memory: 164K (803e7000 - 80410000) [ 1.867333] init: Console is alive [ 1.871011] init: - watchdog - [ 4.455212] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 4.617945] usbcore: registered new interface driver usbfs [ 4.623620] usbcore: registered new interface driver hub [ 4.629205] usbcore: registered new device driver usb [ 4.640992] exFAT: Version 1.2.9 [ 4.685474] SCSI subsystem initialized [ 4.696658] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.704970] ehci-platform: EHCI generic platform driver [ 4.720631] phy phy-10120000.usbphy.0: remote usb device wakeup disabled [ 4.727448] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz [ 4.732781] ehci-platform 101c0000.ehci: EHCI Host Controller [ 4.738659] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 4.746823] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 4.764484] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 4.771962] hub 1-0:1.0: USB hub found [ 4.776255] hub 1-0:1.0: 1 port detected [ 4.785243] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.793219] ohci-platform: OHCI generic platform driver [ 4.798876] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 4.805848] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 4.813965] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 4.879637] hub 2-0:1.0: USB hub found [ 4.883902] hub 2-0:1.0: 1 port detected [ 4.901201] MTK MSDC device init. [ 4.944622] mtk-sd: MediaTek MT6575 MSDC Driver [ 4.954885] sdhci: Secure Digital Host Controller Interface driver [ 4.961177] sdhci: Copyright(c) Pierre Ossman [ 4.966196] mtk-sd 10130000.sdhci: no support for card's volts [ 4.972126] mmc0: error -22 whilst initialising SDIO card [ 4.978721] sdhci-pltfm: SDHCI platform and OF driver helper [ 4.989202] usbcore: registered new interface driver usb-storage [ 4.998535] mtk-sd 10130000.sdhci: no support for card's volts [ 5.004526] mmc0: error -22 whilst initialising MMC card [ 5.010737] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 5.020609] init: - preinit - [ 5.254918] mtk-sd 10130000.sdhci: no support for card's volts [ 5.260855] mmc0: error -22 whilst initialising SDIO card [ 5.357872] mtk-sd 10130000.sdhci: no support for card's volts [ 5.363809] mmc0: error -22 whilst initialising MMC card [ 5.604596] mtk-sd 10130000.sdhci: no support for card's volts [ 5.610532] mmc0: error -22 whilst initialising SDIO card [ 5.633762] mtk-sd 10130000.sdhci: no support for card's volts [ 5.639780] mmc0: error -22 whilst initialising MMC card [ 6.030179] 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.228868] random: procd: uninitialized urandom read (4 bytes read, 11 bits of entropy available) level [ 8.458543] mount_root: jffs2 not ready yet, using temporary tmpfs overlay [ 8.469626] urandom-seed: Seed file not found (/etc/urandom.seed) [ 8.710127] procd: - early - [ 8.713170] procd: - watchdog - [ 9.026755] rt3050-esw 10110000.esw: link changed 0x01 [ 9.369578] procd: - watchdog - [ 9.373010] procd: - ubus - [ 9.546619] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available) [ 9.556295] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available) [ 9.565588] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available) [ 9.575135] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available) [ 9.584278] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available) [ 9.593649] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available) [ 9.602980] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available) [ 9.612542] procd: - init - Please press Enter to activate this console. [ 10.135730] kmodloader: loading kernel modules from /etc/modules.d/* [ 10.174322] ntfs: driver 2.1.32 [Flags: R/O MODULE]. [ 10.244141] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 10.270503] gdma-rt2880 10002800.gdma: revision: 3, channels: 16 [ 10.720056] [ 10.720056] [ 10.720056] === pAd = c0569000, size = 1182848 === [ 10.720056] [ 10.730943] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) [ 10.778197] Linux video capture interface: v2.00 [ 10.794949] hidraw: raw HID events driver (C) Jiri Kosina [ 10.820104] ralink-i2s 10000a00.i2s: mclk 480KHz [ 10.828203] max98090 0-0010: Failed to reset codec: -6 [ 10.833603] max98090 0-0010: Failed to read device revision: -1 [ 10.839694] max98090 0-0010: ASoC: failed to probe component -1 [ 10.846349] asoc-simple-card sound: ASoC: failed to instantiate card -1 [ 10.853164] asoc-simple-card: probe of sound failed with error -1 [ 10.881803] Bluetooth: Core ver 2.21 [ 10.885637] NET: Registered protocol family 31 [ 10.890147] Bluetooth: HCI device and connection manager initialized [ 10.896630] Bluetooth: HCI socket layer initialized [ 10.901583] Bluetooth: L2CAP socket layer initialized [ 10.906751] Bluetooth: SCO socket layer initialized [ 10.945153] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 10.950554] Bluetooth: BNEP filters: protocol multicast [ 10.955911] Bluetooth: BNEP socket layer initialized [ 10.979058] usbcore: registered new interface driver btusb [ 10.988678] usbcore: registered new interface driver cdc_acm [ 10.994510] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 11.006508] Bluetooth: HCI UART driver ver 2.3 [ 11.011029] Bluetooth: HCI UART protocol H4 registered [ 11.016314] Bluetooth: HCI UART protocol BCSP registered [ 11.025967] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 11.031998] Bluetooth: HIDP socket layer initialized [ 11.040235] ip_tables: (C) 2000-2006 Netfilter Core Team [ 11.061471] nf_conntrack version 0.5.0 (1963 buckets, 7852 max) [ 11.092171] Bluetooth: RFCOMM TTY layer initialized [ 11.097218] Bluetooth: RFCOMM socket layer initialized [ 11.102453] Bluetooth: RFCOMM ver 1.11 [ 11.121823] usbcore: registered new interface driver ums-alauda [ 11.130871] usbcore: registered new interface driver ums-cypress [ 11.140116] usbcore: registered new interface driver ums-datafab [ 11.149096] usbcore: registered new interface driver ums-freecom [ 11.158296] usbcore: registered new interface driver ums-isd200 [ 11.167549] usbcore: registered new interface driver ums-jumpshot [ 11.176644] usbcore: registered new interface driver ums-karma [ 11.186420] usbcore: registered new interface driver ums-sddr09 [ 11.195560] usbcore: registered new interface driver ums-sddr55 [ 11.205033] usbcore: registered new interface driver ums-usbat [ 11.217329] usbcore: registered new interface driver usbhid [ 11.222991] usbhid: USB HID core driver [ 11.230730] usbcore: registered new interface driver usblp [ 11.244862] usbcore: registered new interface driver usbserial [ 11.250888] usbcore: registered new interface driver usbserial_generic [ 11.257672] usbserial: USB Serial support registered for generic [ 11.276282] Driver for 1-wire Dallas network protocol. [ 11.302867] xt_time: kernel timezone is -0000 [ 11.309738] usbcore: registered new interface driver ch341 [ 11.315487] usbserial: USB Serial support registered for ch341-uart [ 11.324223] usbcore: registered new interface driver cp210x [ 11.330086] usbserial: USB Serial support registered for cp210x [ 11.339643] usbcore: registered new interface driver ftdi_sio [ 11.345699] usbserial: USB Serial support registered for FTDI USB Serial Device [ 11.367893] usbcore: registered new interface driver pl2303 [ 11.373663] usbserial: USB Serial support registered for pl2303 [ 11.385267] PPP generic driver version 2.4.2 [ 11.392832] NET: Registered protocol family 24 [ 11.410772] usbcore: registered new interface driver snd-usb-audio [ 11.432796] usbcore: registered new interface driver uvcvideo [ 11.438698] USB Video Class driver (1.1.1) [ 11.451516] usbcore: registered new interface driver option [ 11.457396] usbserial: USB Serial support registered for GSM modem (1-port) [ 11.469942] kmodloader: done loading kernel modules from /etc/modules.d/* [ 11.720023] random: jshn: uninitialized urandom read (4 bytes read, 20 bits of entropy available) [ 11.798112] random: jshn: uninitialized urandom read (4 bytes read, 20 bits of entropy available) 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.2 b201 ----------------------------------------------------- root@Omega-0000:/# [ 23.465953] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready [ 24.106673] [ 24.106673] _ _____ ___ ___ _________ ___ ____ [ 24.106673] | | /| / / _ | / _ \/ _ \ / ___/ __ \/ _ \/ __/ V1.0 [ 24.106673] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/ [ 24.106673] |__/|__/_/ |_/_/|_/_/ \___/\____/_/|_/___/ [ 24.106673] Onion Enhanced MT7688 WiFi Driver [ 24.106673] [ 24.488406] DMA Scheduler Mode=0(LMAC) [ 24.492240] efuse_probe: efuse = 10000012 [ 24.496406] 1. Phy Mode = 14 [ 24.666444] ERROR: initialization error 781: [ 24.666444] buffer=343064363363303332656262 [ 24.666444] [ 25.168525] ERROR: initialization error 781: [ 25.168525] buffer=343064363363303332656262 [ 25.168525] [ 25.733248] ERROR: initialization error 781: [ 25.733248] buffer=343064363363303332656262 [ 25.733248] [ 53.329877] [ 53.329877] _ _____ ___ ___ _________ ___ ____ [ 53.329877] | | /| / / _ | / _ \/ _ \ / ___/ __ \/ _ \/ __/ V1.0 [ 53.329877] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/ [ 53.329877] |__/|__/_/ |_/_/|_/_/ \___/\____/_/|_/___/ [ 53.329877] Onion Enhanced MT7688 WiFi Driver [ 53.329877] [ 53.367072] Kernel bug detected[#1]: [ 53.370720] CPU: 0 PID: 1380 Comm: ifconfig Not tainted 4.4.74 #0 [ 53.376903] task: 87dced48 ti: 86436000 task.ti: 86436000 [ 53.382374] $ 0 : 00000000 80410000 00000001 ffff9fa7 [ 53.387691] $ 4 : c061a02c ffff9fb1 86e765f0 c061a02c [ 53.393003] $ 8 : 0000001c c0600238 86e41f2c 00000000 [ 53.398311] $12 : 00000000 785d51ee 00000000 00000000 [ 53.403621] $16 : c061a02c 00090000 000b0000 86f40000 [ 53.408933] $20 : c061a02c c05f9000 00000001 7f84333c [ 53.414244] $24 : 00000018 80043388 [ 53.419555] $28 : 86436000 86437c78 00000000 86e52630 [ 53.424866] Hi : 00000000 [ 53.427782] Lo : 0000000a [ 53.430720] epc : 80053f18 add_timer+0x8/0x14 [ 53.435822] ra : 86e52630 RTMPSetTimer+0x80/0x110 [mt_wifi] [ 53.441735] Status: 1100e503 KERNEL EXL IE [ 53.445995] Cause : 10800034 (ExcCode 0d) [ 53.450059] PrId : 00019655 (MIPS 24KEc) [ 53.454120] 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 [ 53.604218] Process ifconfig (pid: 1380, threadinfo=86436000, task=87dced48, tls=77127d48) [ 53.612590] Stack : c0569000 00090000 000b0000 c0569000 c0569000 86e40a74 c056d960 c0689000 86f16314 86eaafb0 00000001 86e50bf8 c0569000 86f40000 c0689000 86f16314 86f16314 8762a800 7f84337c 86e53948 7f84337c 86efe2f0 86f16314 00000000 00000141 00005a81 86c54000 c0569000 86c54000 0000502e 803d0000 ffff9fa3 8762a800 86ed8fd0 803caa00 8780ff00 86437d08 86437d08 00000000 00000000 ... [ 53.648719] Call Trace: [ 53.651210] [<80053f18>] add_timer+0x8/0x14 [ 53.655918] [<86e52630>] RTMPSetTimer+0x80/0x110 [mt_wifi] [ 53.662402] [<86e40a74>] MlmeInit+0x1ac/0x2f4 [mt_wifi] [ 53.668621] [<86e53948>] rt28xx_init+0x114/0x720 [mt_wifi] [ 53.675110] [<86ed8fd0>] rt28xx_open+0xbc/0x320 [mt_wifi] [ 53.681514] [<86e6a068>] RTMP_COM_IoctlHandle+0x508/0x9a4 [mt_wifi] [ 53.688800] [<86ed87f4>] MainVirtualIF_open+0x74/0x110 [mt_wifi] [ 53.695366] [<8021f220>] __dev_open+0xe0/0x148 [ 53.699881] [<8021f524>] __dev_change_flags+0xb8/0x174 [ 53.705097] [<8021f608>] dev_change_flags+0x28/0x70 [ 53.710049] [<80283094>] devinet_ioctl+0x224/0x6dc [ 53.714923] [<8020441c>] sock_ioctl+0x298/0x2f8 [ 53.719531] [<800bbbac>] do_vfs_ioctl+0x4fc/0x5b4 [ 53.724304] [<800bbcb4>] SyS_ioctl+0x50/0x98 [ 53.728646] [<8000682c>] syscall_common+0x30/0x54 [ 53.733411] [ 53.734918] Code: 27bd0030 8c820004 0002102b <00020336> 08014f5f 8c850008 27bdffd0 afbf002c afb30028 [ 53.745106] ---[ end trace 48509499894c6359 ]--- [ 53.753242] Kernel panic - not syncing: Fatal exception in interrupt [ 53.761350] Rebooting in 3 seconds..
When I use the image from the repository, the same issue happens.
Thanks -
RE: Onion omega has no name
@Lazar-Demin I am compiling my own image from the onion LEDE repo.
I compiled a new Uboot image that allowed me to rewrite the mac address but still the name of my omega doesn't show and there is no wifi interface with ifconfig -a.
Only ethernet works -
Onion omega has no name
Hello
After updating uboot, it seems that the mac address is not recognized as my omega is named Omega-:
So nothing works, only eth0 is fine.
The system is build on my laptop
dmesg:[ 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] On node 0 totalpages: 32768 [ 0.000000] free_area_init_node: node 0, pgdat 803ca4c0, node_mem_map 81000000 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32768 pages, LIFO batch:7 [ 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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS1,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=0006b400 [ 0.000000] Readback ErrCtl register=0006b400 [ 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.007522] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.070043] pid_max: default: 32768 minimum: 301 [ 0.074639] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.080976] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.094661] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.104172] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.110187] pinctrl core: initialized pinctrl subsystem [ 0.115948] NET: Registered protocol family 16 [ 0.140786] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.146344] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.151760] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.158365] i2c-mt7621 10000900.i2c: clock 100 kHz [ 0.164125] clocksource: Switched to clocksource MIPS [ 0.170690] NET: Registered protocol family 2 [ 0.175906] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.182597] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.188784] TCP: Hash tables configured (established 1024 bind 1024) [ 0.194976] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.200574] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.206967] NET: Registered protocol family 1 [ 0.211196] PCI: CLS 0 bytes, default 32 [ 0.217516] Crashlog allocated RAM at address 0x3f00000 [ 0.238909] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.244566] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.257331] io scheduler noop registered [ 0.261073] io scheduler deadline registered (default) [ 0.267180] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.274631] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A [ 0.283825] console [ttyS1] disabled [ 0.287311] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A [ 0.295778] console [ttyS1] enabled [ 0.302777] bootconsole [early0] disabled [ 0.311447] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A [ 0.322010] spi-mt7621 10000b00.spi: sys_freq: 193333333 [ 0.332053] m25p80 spi32766.0: using chunked io (size=31) [ 0.337618] m25p80 spi32766.0: w25q256 (32768 Kbytes) [ 0.342776] 4 ofpart partitions found on MTD device spi32766.0 [ 0.348705] Creating 4 MTD partitions on "spi32766.0": [ 0.353922] 0x000000000000-0x000000030000 : "u-boot" [ 0.360751] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.368068] 0x000000040000-0x000000050000 : "factory" [ 0.375128] 0x000000050000-0x000002000000 : "firmware" [ 0.423031] 2 uimage-fw partitions found on MTD device firmware [ 0.429082] 0x000000050000-0x000000197a3a : "kernel" [ 0.435802] 0x000000197a3a-0x000002000000 : "rootfs" [ 0.442625] mtd: device 5 (rootfs) set to be root filesystem [ 0.448509] 1 squashfs-split partitions found on MTD device rootfs [ 0.454804] 0x0000005d0000-0x000002000000 : "rootfs_data" [ 0.471948] rt3050-esw 10110000.esw: link changed 0x00 [ 0.479750] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 0.488402] i2c /dev entries driver [ 0.492513] mt7621_wdt 10000120.watchdog: Initialized [ 0.499242] NET: Registered protocol family 10 [ 0.507956] NET: Registered protocol family 17 [ 0.512556] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 0.525428] 8021q: 802.1Q VLAN Support v1.8 [ 0.537234] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 0.545366] Freeing unused kernel memory: 164K (803e7000 - 80410000) [ 1.827126] init: Console is alive [ 1.830796] init: - watchdog - [ 3.901073] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 4.050221] usbcore: registered new interface driver usbfs [ 4.055952] usbcore: registered new interface driver hub [ 4.061439] usbcore: registered new device driver usb [ 4.106840] SCSI subsystem initialized [ 4.117467] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.125896] ehci-platform: EHCI generic platform driver [ 4.141565] phy phy-10120000.usbphy.0: remote usb device wakeup disabled [ 4.148378] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz [ 4.153710] ehci-platform 101c0000.ehci: EHCI Host Controller [ 4.159588] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 4.167761] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 4.184174] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 4.191681] hub 1-0:1.0: USB hub found [ 4.195961] hub 1-0:1.0: 1 port detected [ 4.204911] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.212810] ohci-platform: OHCI generic platform driver [ 4.218479] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 4.225447] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 4.233560] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 4.299325] hub 2-0:1.0: USB hub found [ 4.303577] hub 2-0:1.0: 1 port detected [ 4.320795] MTK MSDC device init. [ 4.364305] mtk-sd: MediaTek MT6575 MSDC Driver [ 4.374508] sdhci: Secure Digital Host Controller Interface driver [ 4.380798] sdhci: Copyright(c) Pierre Ossman [ 4.385804] mtk-sd 10130000.sdhci: no support for card's volts [ 4.391735] mmc0: error -22 whilst initialising SDIO card [ 4.398317] sdhci-pltfm: SDHCI platform and OF driver helper [ 4.408714] usbcore: registered new interface driver usb-storage [ 4.418050] mtk-sd 10130000.sdhci: no support for card's volts [ 4.423982] mmc0: error -22 whilst initialising MMC card [ 4.430200] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 4.440106] init: - preinit - [ 4.684244] mtk-sd 10130000.sdhci: no support for card's volts [ 4.690181] mmc0: error -22 whilst initialising SDIO card [ 4.782029] mtk-sd 10130000.sdhci: no support for card's volts [ 4.788016] mmc0: error -22 whilst initialising MMC card [ 4.976919] mtk-sd 10130000.sdhci: no support for card's volts [ 4.982855] mmc0: error -22 whilst initialising SDIO card [ 5.014239] mtk-sd 10130000.sdhci: no support for card's volts [ 5.020176] mmc0: error -22 whilst initialising MMC card [ 5.374626] rt3050-esw 10110000.esw: link changed 0x00 [ 5.557656] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available) [ 8.370983] rt3050-esw 10110000.esw: link changed 0x01 [ 8.865313] jffs2: notice: (398) 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.882873] mount_root: switching to jffs2 overlay [ 8.895077] urandom-seed: Seeding with /etc/urandom.seed [ 9.031205] procd: - early - [ 9.034975] procd: - watchdog - [ 9.835867] procd: - watchdog - [ 9.839340] procd: - ubus - [ 10.236677] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available) [ 10.246364] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available) [ 10.255659] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available) [ 10.265223] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available) [ 10.274475] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available) [ 10.283768] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available) [ 10.293512] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available) [ 10.303139] procd: - init - [ 10.908664] kmodloader: loading kernel modules from /etc/modules.d/* [ 10.943997] ntfs: driver 2.1.32 [Flags: R/O MODULE]. [ 11.012546] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 11.038778] gdma-rt2880 10002800.gdma: revision: 3, channels: 16 [ 11.089674] Linux video capture interface: v2.00 [ 11.106339] hidraw: raw HID events driver (C) Jiri Kosina [ 11.131702] ralink-i2s 10000a00.i2s: mclk 480KHz [ 11.139697] max98090 0-0010: Failed to reset codec: -6 [ 11.145170] max98090 0-0010: Failed to read device revision: -1 [ 11.151176] max98090 0-0010: ASoC: failed to probe component -1 [ 11.157847] asoc-simple-card sound: ASoC: failed to instantiate card -1 [ 11.164720] asoc-simple-card: probe of sound failed with error -1 [ 11.194860] Bluetooth: Core ver 2.21 [ 11.198601] NET: Registered protocol family 31 [ 11.203106] Bluetooth: HCI device and connection manager initialized [ 11.209607] Bluetooth: HCI socket layer initialized [ 11.214571] Bluetooth: L2CAP socket layer initialized [ 11.219724] Bluetooth: SCO socket layer initialized [ 11.227148] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 11.232548] Bluetooth: BNEP filters: protocol multicast [ 11.237939] Bluetooth: BNEP socket layer initialized [ 11.249735] usbcore: registered new interface driver btusb [ 11.259300] usbcore: registered new interface driver cdc_acm [ 11.265130] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 11.277126] Bluetooth: HCI UART driver ver 2.3 [ 11.281648] Bluetooth: HCI UART protocol H4 registered [ 11.286930] Bluetooth: HCI UART protocol BCSP registered [ 11.296627] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 11.302657] Bluetooth: HIDP socket layer initialized [ 11.310901] ip_tables: (C) 2000-2006 Netfilter Core Team [ 11.331991] nf_conntrack version 0.5.0 (1963 buckets, 7852 max) [ 11.362525] Bluetooth: RFCOMM TTY layer initialized [ 11.367573] Bluetooth: RFCOMM socket layer initialized [ 11.372809] Bluetooth: RFCOMM ver 1.11 [ 11.391965] usbcore: registered new interface driver ums-alauda [ 11.400975] usbcore: registered new interface driver ums-cypress [ 11.410181] usbcore: registered new interface driver ums-datafab [ 11.419140] usbcore: registered new interface driver ums-freecom [ 11.428278] usbcore: registered new interface driver ums-isd200 [ 11.437505] usbcore: registered new interface driver ums-jumpshot [ 11.446574] usbcore: registered new interface driver ums-karma [ 11.456361] usbcore: registered new interface driver ums-sddr09 [ 11.465533] usbcore: registered new interface driver ums-sddr55 [ 11.475007] usbcore: registered new interface driver ums-usbat [ 11.487197] usbcore: registered new interface driver usbhid [ 11.492859] usbhid: USB HID core driver [ 11.500547] usbcore: registered new interface driver usblp [ 11.514578] usbcore: registered new interface driver usbserial [ 11.520607] usbcore: registered new interface driver usbserial_generic [ 11.527400] usbserial: USB Serial support registered for generic [ 11.546027] Driver for 1-wire Dallas network protocol. [ 11.572588] xt_time: kernel timezone is -0000 [ 11.579411] usbcore: registered new interface driver ch341 [ 11.585189] usbserial: USB Serial support registered for ch341-uart [ 11.594011] usbcore: registered new interface driver cp210x [ 11.599881] usbserial: USB Serial support registered for cp210x [ 11.609441] usbcore: registered new interface driver ftdi_sio [ 11.615476] usbserial: USB Serial support registered for FTDI USB Serial Device [ 11.637692] usbcore: registered new interface driver pl2303 [ 11.643479] usbserial: USB Serial support registered for pl2303 [ 11.655055] PPP generic driver version 2.4.2 [ 11.662655] NET: Registered protocol family 24 [ 11.680936] usbcore: registered new interface driver snd-usb-audio [ 11.702795] usbcore: registered new interface driver uvcvideo [ 11.708701] USB Video Class driver (1.1.1) [ 11.721555] usbcore: registered new interface driver option [ 11.727442] usbserial: USB Serial support registered for GSM modem (1-port) [ 11.740046] kmodloader: done loading kernel modules from /etc/modules.d/* [ 12.416295] random: jshn: uninitialized urandom read (4 bytes read, 21 bits of entropy available) [ 12.512473] random: ubusd: uninitialized urandom read (4 bytes read, 21 bits of entropy available) [ 72.389993] random: nonblocking pool is initialized
fw_printenv:
root@Omega-:/# fw_printenv bootcmd=tftp bootdelay=5 baudrate=115200 ethaddr="00:AA:BB:CC:DD:10" ipaddr=192.168.8.8 serverip=192.168.8.1 stdin=serial stdout=serial stderr=serial
If i get into uboot to change ethaddr, it tells me it can't override it.
-
RE: enable uart2 is posiible on Omega2+??
@pablo-campos said in enable uart2 is posiible on Omega2+??:
On uart0 log, omega2-ctrl and some forums I saw there are 3 uarts (tx2/rx2 on pins 16/17), but only 2 are available.
The HLK-7866 module exposes UART2 pins, you need to compile new u-boot and modify the Kernel and then you can get UBOOT and Kernel console on UART2
-
Onion Omega2+ bootloader
Hello,
I would like to ask if there is anyway to flash a new bootloader in the onion omega2+ after i installed the last version.
I want to change uboot and kernel console to UART2.
TFTP doesn't seem to work
There is no Loadb in the new bootloader firmware
Does a sysupgrade image contain u-boot?Thank you