help omega2 not working



  • 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.32 (root@2272a3272872) (gcc version 5.4.0 (LEDE GCC 5.4.0 r2292+1) ) #0 Wed Nov 23 00:21:47 2016
    [ 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=0007b95f
    [ 0.000000] Readback ErrCtl register=0007b95f
    [ 0.000000] Memory: 125488K/131072K available (3103K kernel code, 141K rwdata, 752K rodata, 156K 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.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
    [ 0.007522] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
    [ 0.070037] pid_max: default: 32768 minimum: 301
    [ 0.074638] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.080979] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.094407] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.104062] pinctrl core: initialized pinctrl subsystem
    [ 0.109786] NET: Registered protocol family 16
    [ 0.135690] mt7621_gpio 10000600.gpio: registering 32 gpios
    [ 0.141166] mt7621_gpio 10000600.gpio: registering 32 gpios
    [ 0.146653] mt7621_gpio 10000600.gpio: registering 32 gpios
    [ 0.153211] i2c-mt7621 10000900.i2c: clock 100KHz, re-start not support
    [ 0.161026] clocksource: Switched to clocksource MIPS
    [ 0.167441] NET: Registered protocol family 2
    [ 0.172577] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.179269] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.185449] TCP: Hash tables configured (established 1024 bind 1024)
    [ 0.191651] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.197254] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.203623] NET: Registered protocol family 1
    [ 0.214035] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.219960] Crashlog allocated RAM at address 0x3f00000
    [ 0.240244] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.245900] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [ 0.258137] io scheduler noop registered
    [ 0.261942] io scheduler deadline registered (default)
    [ 0.268315] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [ 0.276011] console [ttyS0] disabled
    [ 0.279438] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
    [ 0.288217] console [ttyS0] enabled
    [ 0.288217] console [ttyS0] enabled
    [ 0.295210] bootconsole [early0] disabled
    [ 0.295210] bootconsole [early0] disabled
    [ 0.303969] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
    [ 0.313561] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
    [ 0.324283] spi-mt7621 10000b00.spi: sys_freq: 193333333
    [ 0.334381] m25p80 spi32766.0: using chunked io (size=31)
    [ 0.339882] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
    [ 0.345451] 4 ofpart partitions found on MTD device spi32766.0
    [ 0.351377] Creating 4 MTD partitions on "spi32766.0":
    [ 0.356594] 0x000000000000-0x000000030000 : "u-boot"
    [ 0.363406] 0x000000030000-0x000000040000 : "u-boot-env"
    [ 0.370633] 0x000000040000-0x000000050000 : "factory"
    [ 0.377672] 0x000000050000-0x000002000000 : "firmware"
    [ 0.425485] 2 uimage-fw partitions found on MTD device firmware
    [ 0.431543] 0x000000050000-0x000000198842 : "kernel"
    [ 0.438236] 0x000000198842-0x000002000000 : "rootfs"
    [ 0.445139] mtd: device 5 (rootfs) set to be root filesystem
    [ 0.450954] 1 squashfs-split partitions found on MTD device rootfs
    [ 0.457291] 0x0000006b0000-0x000002000000 : "rootfs_data"
    [ 0.474398] rt3050-esw 10110000.esw: link changed 0x00
    [ 0.482078] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
    [ 0.490682] i2c /dev entries driver
    [ 0.494876] mt7621_wdt 10000120.watchdog: Initialized
    [ 0.500239] MTK MSDC device init.
    [ 0.541171] mtk-sd: MediaTek MT6575 MSDC Driver
    [ 0.547206] NET: Registered protocol family 10
    [ 0.556047] NET: Registered protocol family 17
    [ 0.560645] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [ 0.573500] 8021q: 802.1Q VLAN Support v1.8
    [ 0.582338] mtk-linkit bootstrap: Version :
    [ 0.586773] mtk-linkit bootstrap: Revision :
    [ 0.599319] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
    [ 0.607413] Freeing unused kernel memory: 156K (803e9000 - 80410000)
    [ 1.102816] mmc0: new high speed SDHC card at address 0007
    [ 1.108774] mmcblk: probe of mmc0:0007 failed with error -28
    [ 1.648974] init: Console is alive
    [ 1.652739] init: - watchdog -
    [ 4.077687] usbcore: registered new interface driver usbfs
    [ 4.083444] usbcore: registered new interface driver hub
    [ 4.088931] usbcore: registered new device driver usb
    [ 4.100002] exFAT: Version 1.2.9
    [ 4.142680] SCSI subsystem initialized
    [ 4.153366] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 4.161563] ehci-platform: EHCI generic platform driver
    [ 4.177200] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
    [ 4.184018] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
    [ 4.189348] ehci-platform 101c0000.ehci: EHCI Host Controller
    [ 4.195227] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
    [ 4.203394] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
    [ 4.221068] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
    [ 4.228538] hub 1-0:1.0: USB hub found
    [ 4.232833] hub 1-0:1.0: 1 port detected
    [ 4.241519] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 4.249348] ohci-platform: OHCI generic platform driver
    [ 4.255009] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
    [ 4.261986] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
    [ 4.270117] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
    [ 4.336248] hub 2-0:1.0: USB hub found
    [ 4.340486] hub 2-0:1.0: 1 port detected
    [ 4.349341] sdhci: Secure Digital Host Controller Interface driver
    [ 4.355695] sdhci: Copyright(c) Pierre Ossman
    [ 4.361719] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 4.371997] usbcore: registered new interface driver usb-storage
    [ 4.388560] init: - preinit -
    [ 5.272290] 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
    [ 8.538981] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
    [ 8.553231] urandom-seed: Seed file not found (/etc/urandom.seed)
    [ 8.717080] procd: - early -
    [ 8.720110] procd: - watchdog -
    [ 9.365746] procd: - ubus -
    [ 9.569923] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [ 9.579600] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [ 9.588878] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    [ 9.598456] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [ 9.607704] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [ 9.617048] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [ 9.626450] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [ 9.636025] procd: - init -
    Please press Enter to activate this console.
    [ 10.162173] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [ 10.227801] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [ 10.250712] Ralink/MTK WiFi EEPROM API Build for MT7620.
    [ 10.293235] WRTnode AP Driver version: 4.1.0.0
    [ 10.366273] Linux video capture interface: v2.00
    [ 10.410802] hidraw: raw HID events driver (C) Jiri Kosina
    [ 10.453742] Bluetooth: Core ver 2.21
    [ 10.457480] NET: Registered protocol family 31
    [ 10.462032] Bluetooth: HCI device and connection manager initialized
    [ 10.468484] Bluetooth: HCI socket layer initialized
    [ 10.473448] Bluetooth: L2CAP socket layer initialized
    [ 10.478633] Bluetooth: SCO socket layer initialized
    [ 10.486091] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 10.491559] Bluetooth: BNEP filters: protocol multicast
    [ 10.496868] Bluetooth: BNEP socket layer initialized
    [ 10.508512] usbcore: registered new interface driver btusb
    [ 10.518031] usbcore: registered new interface driver cdc_acm
    [ 10.523859] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [ 10.535727] Bluetooth: HCI UART driver ver 2.3
    [ 10.540248] Bluetooth: HCI UART protocol H4 registered
    [ 10.545522] Bluetooth: HCI UART protocol BCSP registered
    [ 10.555109] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [ 10.561208] Bluetooth: HIDP socket layer initialized
    [ 10.569436] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 10.591802] nf_conntrack version 0.5.0 (1963 buckets, 7852 max)
    [ 10.621802] Bluetooth: RFCOMM TTY layer initialized
    [ 10.626786] Bluetooth: RFCOMM socket layer initialized
    [ 10.632084] Bluetooth: RFCOMM ver 1.11
    [ 10.643639] spidev spi32766.1: buggy DT: spidev listed directly in DT
    [ 10.650186] ------------[ cut here ]------------
    [ 10.654958] WARNING: CPU: 0 PID: 472 at drivers/spi/spidev.c:719 init_module+0xf33c/0xfdec spidev
    [ 10.664313] Modules linked in: spidev(+) snd_usbmidi_lib slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_d
    efrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables hidp hid_generic hci_uart crc_ccitt c
    dc_acm btusb btintel bnep bluetooth snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 videobuf2_vmalloc videobuf2_memops videobuf2_core hid v4l2_
    common videodev evdev snd_soc_core ralink_gdma virt_dma mt76x8 ralink_eeprom_api ledtrig_oneshot ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject
    _ipv6 nf_log_ipv6 nf_log_common ip6table_raw 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 autofs4 nls_utf8 nls_iso8859_1 nls_cp437 reg
    map_i2c dma_shared_buffer ecb cmac usb_storage sdhci_pltfm sdhci leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform ehci_hcd sd_mod scs
    i_mod gpio_button_hotplug ext4 jbd2 mbcache exfat usbcore nls_base usb_common crc16 cryptomgr aead crypto_null crc32c_generic crypto_hash
    [ 10.769065] CPU: 0 PID: 472 Comm: kmodloader Not tainted 4.4.32 #0
    [ 10.775339] Stack : 80380328 00000000 00000001 803d0000 87da6580 803ccd83 80361c94 000001d8
    80413434 0000000a 0000001a 024000c0 80065e4c 8004aa78 80367190 803d0000
    00000003 0000000a 80365594 8752fb4c 80065e4c 800489e4 00000000 00000000
    00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    ...
    [ 10.811488] Call Trace:
    [ 10.814026] [<80065e4c>] module_sect_show+0x0/0x18
    [ 10.818892] [<8004aa78>] vprintk_default+0x24/0x30
    [ 10.823783] [<80065e4c>] module_sect_show+0x0/0x18
    [ 10.828643] [<800489e4>] printk+0x2c/0x38
    [ 10.832740] [<80025124>] warn_slowpath_common+0xa0/0xd0
    [ 10.838049] [<8014956c>] dump_stack+0x14/0x28
    [ 10.842491] [<80014574>] show_stack+0x50/0x84
    [ 10.846908] [<80025124>] warn_slowpath_common+0xa0/0xd0
    [ 10.852230] [<8705e33c>] init_module+0xf33c/0xfdec [spidev]
    [ 10.857900] [<800251dc>] warn_slowpath_null+0x18/0x24
    [ 10.863062] [<8020d2ac>] of_match_node+0x20/0x44
    [ 10.867772] [<8705e33c>] init_module+0xf33c/0xfdec [spidev]
    [ 10.873454] [<801bbe28>] devm_kfree+0x20/0x44
    [ 10.877886] [<801dcfb4>] spi_drv_probe+0x3c/0x84
    [ 10.882597] [<801b8958>] driver_probe_device+0x120/0x288
    [ 10.888004] [<80089d34>] kstrdup+0x44/0x8c
    [ 10.892205] [<801dceb4>] spi_match_device+0x38/0xa8
    [ 10.897173] [<801b8b3c>] __driver_attach+0x7c/0xb4
    [ 10.902068] [<801b6d60>] next_device+0x10/0x30
    [ 10.906585] [<801b8ac0>] __driver_attach+0x0/0xb4
    [ 10.911379] [<801b6e1c>] bus_for_each_dev+0x9c/0xac
    [ 10.916339] [<80303efc>] klist_add_tail+0x24/0x50
    [ 10.921139] [<801b6bf0>] bus_get+0x2c/0x50
    [ 10.925316] [<801b8050>] bus_add_driver+0xec/0x20c
    [ 10.930182] [<800ac89c>] exact_match+0x0/0x8
    [ 10.934531] [<800acda4>] exact_lock+0x0/0x24
    [ 10.938879] [<801b9254>] driver_register+0xa8/0xf8
    [ 10.943759] [<8704f000>] init_module+0x0/0xdc [spidev]
    [ 10.949000] [<8704f098>] init_module+0x98/0xdc [spidev]
    [ 10.954319] [<80155138>] kasprintf+0x1c/0x28
    [ 10.958667] [<80045400>] __wake_up+0x24/0x48
    [ 10.963018] [<8704f000>] init_module+0x0/0xdc [spidev]
    [ 10.968252] [<8000d5c8>] do_one_initcall+0x1e8/0x214
    [ 10.973317] [<80045400>] __wake_up+0x24/0x48
    [ 10.977651] [<8704f000>] init_module+0x0/0xdc [spidev]
    [ 10.982897] [<800340b8>] call_usermodehelper_exec+0x144/0x160
    [ 10.988741] [<80033ba8>] call_usermodehelper_setup+0x38/0xa8
    [ 10.994524] [<80065e4c>] module_sect_show+0x0/0x18
    [ 10.999404] [<8006706c>] do_init_module+0x74/0x1cc
    [ 11.004291] [<8009d864>] __vunmap+0xf0/0x114
    [ 11.008654] [<80068900>] load_module+0x16c0/0x1b68
    [ 11.013536] [<80066438>] unknown_module_param_cb+0x0/0xac
    [ 11.019017] [<8009dd58>] __vmalloc_node+0x34/0x40
    [ 11.023825] [<80068e3c>] SyS_init_module+0x94/0x180
    [ 11.028778] [<80068ed8>] SyS_init_module+0x130/0x180
    [ 11.033857] [<8000655c>] syscall_common+0x30/0x54
    [ 11.038638] [<80008958>] __bzero+0xbc/0x164
    [ 11.042891]
    [ 11.044404] ---[ end trace d8d9e7943e20727b ]---
    [ 11.056825] usbcore: registered new interface driver ums-alauda
    [ 11.065944] usbcore: registered new interface driver ums-cypress
    [ 11.075175] usbcore: registered new interface driver ums-datafab
    [ 11.084118] usbcore: registered new interface driver ums-freecom
    [ 11.093296] usbcore: registered new interface driver ums-isd200
    [ 11.102545] usbcore: registered new interface driver ums-jumpshot
    [ 11.111627] usbcore: registered new interface driver ums-karma
    [ 11.121407] usbcore: registered new interface driver ums-sddr09
    [ 11.130449] usbcore: registered new interface driver ums-sddr55
    [ 11.139922] usbcore: registered new interface driver ums-usbat
    [ 11.152115] usbcore: registered new interface driver usbhid
    [ 11.157778] usbhid: USB HID core driver
    [ 11.165419] usbcore: registered new interface driver usblp
    [ 11.179264] usbcore: registered new interface driver usbserial
    [ 11.185395] usbcore: registered new interface driver usbserial_generic
    [ 11.192177] usbserial: USB Serial support registered for generic
    [ 11.210590] Driver for 1-wire Dallas network protocol.
    [ 11.240422] xt_time: kernel timezone is -0000
    [ 11.247129] usbcore: registered new interface driver ch341
    [ 11.252928] usbserial: USB Serial support registered for ch341-uart
    [ 11.261775] usbcore: registered new interface driver cp210x
    [ 11.267563] usbserial: USB Serial support registered for cp210x
    [ 11.277155] usbcore: registered new interface driver ftdi_sio
    [ 11.283196] usbserial: USB Serial support registered for FTDI USB Serial Device
    [ 11.305320] usbcore: registered new interface driver pl2303
    [ 11.311202] usbserial: USB Serial support registered for pl2303
    [ 11.322653] PPP generic driver version 2.4.2
    [ 11.330199] NET: Registered protocol family 24
    [ 11.347937] usbcore: registered new interface driver snd-usb-audio
    [ 11.365140] usbcore: registered new interface driver uvcvideo
    [ 11.370980] USB Video Class driver (1.1.1)
    [ 11.543725] random: jshn: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
    [ 11.618662] random: jshn: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
    [ 11.744532] random: jshn: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
    [ 18.201232] EEPROM:Read from [factory] offset 0x0,length 0x400.



  • Strange.
    Here is what I guess is happening:

    • rootfs is mounted from from your SPI flash.
    • your dev tree contains a bug. You even get a warning about that.
      "[ 10.643639] spidev spi32766.1: buggy DT: spidev listed directly in DT"
    • the re-init of the SPI driver cause problems

    Maybe you can try booting with a different device tree blob (*.dtb file).



  • Hi there I am having the exact same problem and I can not setup the omega 2 through either wifi or serial. Did you ever find a solution?



  • I don't have my Omega2 yet, but out of curiosity, have you performed the initial configuration and upgrade procedure specified here:
    https://docs.onion.io/omega2-docs/first-time-setup.html
    They say specifically that the console doesn't work on the factory configuration.



  • Hi there I was never able to get that far... the wifi access point for the omega 2 never presents itself and the led on the board stays on solid until it reaches that last line where it turns off. I have absolutely no idea what is going on.



  • Hi

    Exactly, same problem here. Connected Omega2+ via the serial-to-usb (I have no dock).
    The led went on, then after these 18 seconds it went off and also the booting messages stopped....
    I've got my Omega 2 days ago (if it helps to determine faulty batch or so), but only had time today to try it out...

    Marek



  • Michael & Marek, using a good 3.3V supply? Looks to me like the Omega2 is starting to boot, and fall on its nose while activating further device components, but not enough current to feed them. Just an idea to explore... God! I want my Omega2 so bad...



  • Yeah I am using a good power supply the omega is getting 3.3 volts and is drawing 170ma but once it reaches that final line the led goes out and then only draws 60ma. So maybe the software is corrupt and because it is giving errors it turns itself off? It seems rather odd and it is unfortunate I can not just reinstall the software to test it out.



  • @Michael-Irvine Yesterday I had the same problem. It was due to the power supply. I was running my Omega 2+ powered by an Adafruit FTDI friend USB serial converter set for 3.3V power supply. At first it would hang and reboot at an earlier point than yours.
    When I inserted the USB serial converter in another USB port it went further and stopped at the same point as yours.
    Today I am using another USB serial converter suplying 5V power to 3.3V stepdown power supply powering the Omega 2+. Now wifi is working perfectly.



  • Oh man this is proving to be rather annoying. I am 99% sure that the power supply is fine as I am using an external power supply to the serial converter and when I try to use the command line in failsafe mode and try to set up the wifi that way I get failed to connect to ubus and so I can't even connect to wifi let alone update the firmware. Does anyone else have any idea what is going on? Thanks for the help so far I really appreciate it.



  • What about using a normal USB smartphone charger as power supply? Can work or would be too much "strong" for the device? Have you already tried (if works)?
    I have some here with 4.8v - 700mA, 5v - 850mA and 5.1v - 1500mA, and I would like to know too before my Omega 2+ arrives. Maybe can deliver proper power to Omega 2 and 2+, mainly during hard processes.
    Sorry I'm novice here.



  • Ok this just gets weirder and weirder it somehow must have been the power supply. When I had it connected via serial and connecting both the GND lines the omega 2 + would hang but powering it directly without serial works. So when using the omega without a dock make sure there is enough voltage and current and that the connections are not loose and start with connecting it only to power. Thanks everyone for your help.



  • @Walter-Filho said in help omega2 not working:

    What about using a normal USB smartphone charger as power supply?

    The Omega2 requires 3.3V. Judging from all the problems that has been reported in this thread, don't even think to try anything else than a good reliable 3.3V.

    Even better, use an Omega2 dock! This will save you a few pulled hair.



  • @fossette Thanks, this got me better, I ordered with Expansion Dock, I hope I won' t have so much headaches.
    And I tried to help our friend, maybe some more mA's or a more stable one can handle the device on with all features. I don't know, I'm novice :/



  • Need to try again then.
    I've used so far:

    1. USB-Serial powered from usb port of macbook pro
    2. 3A voltage regulator (normally used to power a breadboard with arduino) and powered by power supply
    3. same voltage regulator but powered by regular, 9V battery

    It always stopped at 18-th second, unless I've selected "f" to get to the failsafe mode. Then it was stable (but no network etc).

    p.s. I did not order the docking station as it breaks the whole idea of Omega2 for me - being small. Especially that I can use it with usb to serial (which I have) if I need to connect that way.

    Marek



  • Answering to myself ;)
    I did test another power sources (including 12V/10A power supply as a source to the 3,3V voltage regulator).
    Everything fails. It doesn't look like power, since raspberry pi 3 works like a charm on all of these power sources.

    I'm a one step from throwing my omega2 through open window....



  • @Marek-Szulen said in help omega2 not working:

    p.s. I did not order the docking station as it breaks the whole idea of Omega2 for me - being small.

    I would really recommend the Omega Mini Dock - it is still pretty small, and to quote from https://www.indiegogo.com/projects/omega2-5-linux-computer-with-wi-fi-made-for-iot#/ :

    Mini Dock

    0_1481924705481_mini_dock_d8nkcj.png
    The Mini Dock provides power to the Omega2, and it allows you to plug in USB devices. It is designed primarily for volume-constrained applications, as well as applications that do not require any Expansions (networking, for example). The Mini Dock has a USB-to-serial chip just like the Expansion Dock.

    This takes care of powering from micro USB and provides serial communication over USB if needed (I generally use a standard micro USB phone charger and just communicate over WIFI)



  • Try adding a decoupling capacitor of 100nF as near as possible to the Omega pins between 3.3V and Ground, and another capacitor of ~10..47µF nearby in parallel.

    Also power wrining must be solid, some breadboard wires can have too much contact resistance, ruining the show even if the power source is ok.

    When you use a linear 3.3V regulator, make sure you use it as recommended in the datasheet (regarding capacitors). Some of these regulators tend to oscillate if not properly damped, which can produce all sorts of weird behaviour in connected chips.

    Don't blame Onion for this - properly providing power to digital circuits is not as simple as it seems, that's why they make the docks ;-)



  • @luz I did use capacitors. Nothing helped. I've just ordered 3.3v power supply (I don't have zener diodes or linear regulators to build one now).
    The strange thing is, that the same power sources are working fine with arduino, esp8266 and even raspberry pi. Can't believe, that Omega2 needs more power....

    And I don't blame Onion. Shit happens. Many times I've had issues with firmware that was corrupt.



  • Just like racing cars, fast engines rely on quality fuel. Slower microcontrollers are more flexible regarding their power supply input, but there are still limits in order for their internal timings to be met. When push comes to shove, manufacturers decide to provide their own power regulators, but they need to compromise on size, and boards become much bigger than the Omega(2)(+).


Log in to reply
 

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