Omega 2 boot problem
-
Work normally.
Then it stopped working.Boot log:
0.318855] console [ttyS0] enabled
[ 0.318855] console [ttyS0] enabled
[ 0.325845] bootconsole [early0] disabled
[ 0.325845] bootconsole [early0] disabled
[ 0.334545] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
[ 0.344011] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
[ 0.354641] spi-mt7621 10000b00.spi: sys_freq: 193333333
[ 0.364820] m25p80 spi32766.0: using chunked io (size=31)
[ 0.370319] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
[ 0.375862] 4 ofpart partitions found on MTD device spi32766.0
[ 0.381774] Creating 4 MTD partitions on "spi32766.0":
[ 0.387003] 0x000000000000-0x000000030000 : "u-boot"
[ 0.393846] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.401188] 0x000000040000-0x000000050000 : "factory"
[ 0.408232] 0x000000050000-0x000002000000 : "firmware"
[ 0.456245] 2 uimage-fw partitions found on MTD device firmware
[ 0.462272] 0x000000050000-0x000000197a38 : "kernel"
[ 0.468976] 0x000000197a38-0x000002000000 : "rootfs"
[ 0.475891] mtd: device 5 (rootfs) set to be root filesystem
[ 0.481706] 1 squashfs-split partitions found on MTD device rootfs
[ 0.488049] 0x0000007a0000-0x000002000000 : "rootfs_data"
[ 0.505334] rt3050-esw 10110000.esw: link changed 0x00
[ 0.513111] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 0.521762] i2c /dev entries driver
[ 0.525923] mt7621_wdt 10000120.watchdog: Initialized
[ 0.532584] NET: Registered protocol family 10
[ 0.541310] NET: Registered protocol family 17
[ 0.545998] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 0.558821] 8021q: 802.1Q VLAN Support v1.8
[ 0.571052] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 0.579192] Freeing unused kernel memory: 164K (803e7000 - 80410000)
[ 1.877668] init: Console is alive
[ 1.881346] init: - watchdog -
[ 4.454887] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.615272] usbcore: registered new interface driver usbfs
[ 4.620951] usbcore: registered new interface driver hub
[ 4.626515] usbcore: registered new device driver usb
[ 4.638310] exFAT: Version 1.2.9
[ 4.682587] SCSI subsystem initialized
[ 4.693376] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.701821] ehci-platform: EHCI generic platform driver
[ 4.717535] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
[ 4.724340] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
[ 4.729685] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 4.735565] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 4.743712] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 4.764487] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 4.771994] hub 1-0:1.0: USB hub found
[ 4.776234] hub 1-0:1.0: 1 port detected
[ 4.785276] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.793215] ohci-platform: OHCI generic platform driver
[ 4.798870] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 4.805843] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 4.813959] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 4.879632] hub 2-0:1.0: USB hub found
[ 4.883885] hub 2-0:1.0: 1 port detected
[ 4.901164] MTK MSDC device init.
[ 4.944623] mtk-sd: MediaTek MT6575 MSDC Driver
[ 4.952622] sdhci: Secure Digital Host Controller Interface driver
[ 4.958972] sdhci: Copyright(c) Pierre Ossman
[ 4.964922] sdhci-pltfm: SDHCI platform and OF driver helper
[ 4.975289] usbcore: registered new interface driver usb-storage
[ 4.984988] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 5.002807] init: - preinit -
[ 5.945109] 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.146015] random: procd: uninitialized urandom read (4 bytes read, 11 bits of entropy available)
level
[ 9.380407] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 9.391503] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 9.628004] procd: - early -
[ 9.631045] procd: - watchdog -
[ 10.279518] procd: - watchdog -
[ 10.282959] procd: - ubus -
[ 10.456447] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 10.466150] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 10.475382] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 10.484972] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 10.494118] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 10.503453] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 10.512820] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 10.522356] procd: - init -
Please press Enter to activate this console.
[ 11.027988] kmodloader: loading kernel modules from /etc/modules.d/*
[ 11.063605] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[ 11.133259] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 11.159642] gdma-rt2880 10002800.gdma: revision: 3, channels: 16
[ 11.612017]
[ 11.612017]
[ 11.612017] === pAd = c0569000, size = 1182848 ===
[ 11.612017]
[ 11.622933] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628))
[ 11.670085] Linux video capture interface: v2.00
[ 11.686764] hidraw: raw HID events driver (C) Jiri Kosina
[ 11.712078] ralink-i2s 10000a00.i2s: mclk 480KHz
[ 11.720095] max98090 0-0010: Failed to reset codec: -6
[ 11.725568] max98090 0-0010: Failed to read device revision: -1
[ 11.731575] max98090 0-0010: ASoC: failed to probe component -1
[ 11.738243] asoc-simple-card sound: ASoC: failed to instantiate card -1
[ 11.745114] asoc-simple-card: probe of sound failed with error -1
[ 11.774319] Bluetooth: Core ver 2.21
[ 11.778141] NET: Registered protocol family 31
[ 11.782651] Bluetooth: HCI device and connection manager initialized
[ 11.789132] Bluetooth: HCI socket layer initialized
[ 11.794084] Bluetooth: L2CAP socket layer initialized
[ 11.799250] Bluetooth: SCO socket layer initialized
[ 11.806706] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 11.812107] Bluetooth: BNEP filters: protocol multicast
[ 11.817495] Bluetooth: BNEP socket layer initialized
[ 11.832496] usbcore: registered new interface driver btusb
[ 11.856590] usbcore: registered new interface driver cdc_acm
[ 11.862343] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 11.887556] Bluetooth: HCI UART driver ver 2.3
[ 11.892077] Bluetooth: HCI UART protocol H4 registered
[ 11.897353] Bluetooth: HCI UART protocol BCSP registered
[ 11.919062] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 11.925171] Bluetooth: HIDP socket layer initialized
[ 11.933264] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.954625] nf_conntrack version 0.5.0 (1963 buckets, 7852 max)
[ 11.985405] Bluetooth: RFCOMM TTY layer initialized
[ 11.990389] Bluetooth: RFCOMM socket layer initialized
[ 11.995692] Bluetooth: RFCOMM ver 1.11
[ 12.015067] usbcore: registered new interface driver ums-alauda
[ 12.024012] usbcore: registered new interface driver ums-cypress
[ 12.033200] usbcore: registered new interface driver ums-datafab
[ 12.042171] usbcore: registered new interface driver ums-freecom
[ 12.051337] usbcore: registered new interface driver ums-isd200
[ 12.060532] usbcore: registered new interface driver ums-jumpshot
[ 12.069580] usbcore: registered new interface driver ums-karma
[ 12.079313] usbcore: registered new interface driver ums-sddr09
[ 12.088398] usbcore: registered new interface driver ums-sddr55
[ 12.097857] usbcore: registered new interface driver ums-usbat
[ 12.110029] usbcore: registered new interface driver usbhid
[ 12.115766] usbhid: USB HID core driver
[ 12.123439] usbcore: registered new interface driver usblp
[ 12.137547] usbcore: registered new interface driver usbserial
[ 12.143574] usbcore: registered new interface driver usbserial_generic
[ 12.150364] usbserial: USB Serial support registered for generic
[ 12.168947] Driver for 1-wire Dallas network protocol.
[ 12.195689] xt_time: kernel timezone is -0000
[ 12.202382] usbcore: registered new interface driver ch341
[ 12.208149] usbserial: USB Serial support registered for ch341-uart
[ 12.216949] usbcore: registered new interface driver cp210x
[ 12.222717] usbserial: USB Serial support registered for cp210x
[ 12.232314] usbcore: registered new interface driver ftdi_sio
[ 12.238377] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 12.260529] usbcore: registered new interface driver pl2303
[ 12.266404] usbserial: USB Serial support registered for pl2303
[ 12.277949] PPP generic driver version 2.4.2
[ 12.285601] NET: Registered protocol family 24
[ 12.303567] usbcore: registered new interface driver snd-usb-audio
[ 12.325699] usbcore: registered new interface driver uvcvideo
[ 12.331537] USB Video Class driver (1.1.1)
[ 12.344304] usbcore: registered new interface driver option
[ 12.350174] usbserial: USB Serial support registered for GSM modem (1-port)
[ 12.362716] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 12.619582] random: jshn: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 12.695437] random: jshn: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[ 24.036151] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready
[ 24.714341]
[ 24.714341] _ _____ ___ ___ _________ ___ ____
[ 24.714341] | | /| / / _ | / _ / _ \ / / __ / _ / / V1.0
[ 24.714341] | |/ |/ / __ |/ , _/ / / // // / , _/ _/
[ 24.714341] |/|// |//|// _/_//|/__/
[ 24.714341] Onion Enhanced MT7688 WiFi Driver
[ 24.714341]
[ 25.105137] DMA Scheduler Mode=0(LMAC)
[ 25.108971] efuse_probe: efuse = 10000012
[ 25.113089] 1. Phy Mode = 14
-
Insufficient power supply.
-
@ccs-hello said in Omega 2 boot problem:
Insufficient power supply.
no, I use good power module, 3.4v
-
@Valeri-V as @ccs-hello mentioned, this is most likely due to insufficient available current.
See our guide on powering the Omega without an Onion Dock: http://docs.onion.io/omega2-docs/hardware-prep-no-dock.html
-
@Lazar-Demin About your recommendation - do you really know any three terminal 3.3V 0.8A regulator without (input and) output capacitor(s)?
See also - for example - ST LD1117xx datasheet:Only a very common 10 μF minimum capacitor is needed for stability.
-
@Lazar-Demin, I use power module 3A with capacitors
-
@Valeri-V , and I try other power modules
-
@Valeri-V As the guide mentions, this is the only procedure recommended by Onion.
Please try using a LD1117 3.3V regulator or one of our Omega2 Docks.
Alternatively, you can take a look at the designs of the Docks to get an idea of what regulators and components we used to provide steady power to the Omega: https://github.com/OnionIoT/Onion-Hardware/tree/master/Schematics
@György-Farkas yes, we'll add this documentation update to our backlog
-
@Lazar-Demin
Help pliz, do not understand anything. The problem with the omega 2 power+There is a project, the device worked for a year.
then it stopped working. Simply so. Just stopped starting WiFi - at some point the download freezes.Powered by
220V -> 5V ( HLK-PM01 ) - all project components except omega operate from 5V.
5V -> 3.3 V ( https://ru.aliexpress.com/item/1PCS-Mini-DC-DC-12-24V-To-5V-3A-Step-Down-Power-Supply-Module-Voltage-Buck/32815304338.html ). It's adjustable, set of 3.4 V. Under load from the omega stable voltage of +-0.1 V. USB oscilloscope shows ripple to 0.2 V (similarly HLK-PM03 - see below).The Converter instance 5 -> 3.3 - I used different. I added a capacitor 10mkf, tried 4.7, 100 and 470 - no effect .
If I use HLK-PM03 (220 -> 3.3) omega works.
If I use a linear stabilizer Converter UART - USB-omega works.
The 1117 - omega stabilizer works if the input voltage is 5V. If the input voltage is less than 5V - omega does not start at all. And I have a Converter Li -> 5V, it outputs 4.9 V. In this case 1117 produces less than 3.3 V (about 3.1) and the omega does not start. The device has soldered UART USB. But on its 5V line is Schottky diode to eliminate reverse current. Thus when powered only from the USB on the Board comes in 4.7 - 1117 again for no reason.
As energize omega from arbitrary source 4...5V?
-
@Valeri-V Let's suppose that your power supply is really good.
Try to perform a Factory Reset with one of the following methods:-
Press and hold down the RESET BUTTON (if you have any) for 10 seconds then release it to trigger a factory reset / restore.
-
If you don't have RESET BUTTON - connect Omega2's FW RST (GPIO38) pin to 3.3V let's say with a 470 Ohm resistor for 10 seconds then disconnect it to trigger a factory reset / restore.
-
Press the [f] key and hit [Enter] (quickly !!!) to enter failsafe mode when you see this message on the Serial Console and type the next commands:
firstboot -y
reboot
# Omega2+ FW v0.2.2 b200 ... [ 4.985014] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 5.002824] init: - preinit - [ 5.946995] 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.148210] random: procd: uninitialized urandom read (4 bytes read, 11 bits of entropy available) level f - failsafe - [ 8.187505] random: dropbearkey: uninitialized urandom read (32 bytes read, 14 bits of entropy available) Generating key, [ 8.198950] random: dropbearkey: uninitialized urandom read (32 bytes read, 14 bits of entropy available) this may take a while... [ 10.610153] random: dropbearkey: uninitialized urandom read (32 bytes read, 18 bits of entropy available) Public key portion is: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCi[ 10.746995] random: dropbear: uninitialized urandom read (32 bytes read, 18 bits of entropy available) v4eKtU3ht1kRkzIKvOtpsTtqp/BcNGfRdjhV6H5YKWJL0W3+lrnaNgnf0jkdT65tKHfVCgIO2Xv7GPSIOGiR4d4yjFr6CvcA1t3juuh1g9QmXPttz3EWWv1lQsGN0r7AMunT9BlocFeHGin74Im2wPPdJMVOdFRPy6CXij2jjw== root@(none) Fingerprint: md5 fc:7e:d6:7b:6d:28:a0:dc:2c:22:a5:aa:a1:ce:1e:72 BusyBox v1.25.1 () built-in shell (ash) ash: can't access tty; job control turned off _________ / /\ _ ___ ___ ___ / LE / \ | | | __| \| __| / DE / \ | |__| _|| |) | _| /________/ LE \ |____|___|___/|___| lede-project.org \ \ DE / \ LE \ / ----------------------------------------------------------- \ DE \ / Reboot (17.01-SNAPSHOT, r3518-b15e538) \________\/ ----------------------------------------------------------- ================= FAILSAFE MODE active ================ special commands: * firstboot reset settings to factory defaults * mount_root mount root-partition with config files after mount_root: * passwd change root's password * /etc/config directory with config files for more help see: http://wiki.openwrt.org/doc/howto/generic.failsafe ======================================================= root@(none):/# firstboot -y [ 29.253048] jffs2reset: /dev/mtdblock6 is not mounted [ 29.258402] jffs2reset: /dev/mtdblock6 will be erased on next mount root@(none):/# reboot reboot root@(none):/# [ 186.585220] reboot: Restarting system ____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ W H A T W I L L Y O U I N V E N T ? /___/" Board: Onion Omega2 APSoC DRAM: 128 MB relocate_code Pointer at: 87f60000 ****************************** Software System Reset Occurred ****************************** ...
Good luck!
-
-
@ Valeri V
Hard to troubleshoot the power situation unless every single bit of info is known.
In addition to static voltage measurement, transient power dip in the milli-second level will cause O2 to hang.
Gold rule for power hygiene:- don't use long cable, or at least, use thick cable
- put a large capacitor as close to the O2 side as possible (I used 470uF 6.3V low ESR capacitor)
- proper use of power regulator IC
Some commonly seen mistakes are
a) use a clone/off-brand/sub-standard IC or that IC has already degraded (due to various conditions)
b) not using the datasheet specified capacitors on its input and output side
< --- many cheap suppliers do that to save its cost
< --- they need to be as close to the IC as possible
c) no or insufficient heat sink and/or heat dissipation (will degrade the IC anyways)
d) use the wrong part (e.g., mis-calculation on drop-out voltage) - Use improper connection such as DuPont connector and header pins
All of them are basic EE knowledge and are essential for a success project
but some DIY maker Wikis/books failed to mention.
-
@György-Farkas, I tried, didn't help
-
@ccs-hello said in Omega 2 boot problem:
- 2...3sm
470uF 6.3V low ESR capacitor
I tried, didn't help
- I'll buy some other regulators, try them.