Omega2+ firstboot problem



  • I power the board without using the dock (given power from arduino uno board 3.3v) but the omega 2+ amber light turns on. Then after about 10 seconds the light starts to blink, and does not turn solid.
    So I did a serial connection. When I start the device this is what I get. At the end it stay at EEPROM : read line.

    # code block
       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     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
    flash manufacture id: c2, device id 20 19
    find flash: MX25L25635E
    *** Warning - bad CRC, using default environment
    ============================================
    Onion Omega2 UBoot Version: 4.3.0.3
    --------------------------------------------
    ASIC 7628_MP (Port5<->None)
    DRAM component: 1024 Mbits DDR, width 16
    DRAM bus: 16 bit
    Total memory: 128 MBytes
    Flash component: SPI Flash
    Date:Oct 18 2016  Time:17:29:05
    ============================================
    icache: sets:512, ways:4, linesz:32 ,total:65536
    dcache: sets:256, ways:4, linesz:32 ,total:32768
    CPU freq = 575 MHZ
    Estimated memory size = 128 Mbytes
    Resetting MT7628 PHY.
    Initializing MT7688 GPIO system.
    
    
    **************************************
    * Hold Reset button for more options *
    **************************************
    
    
    
    Boot Linux from Flash NO RESET PRESSED.
    ##Booting image at bc050000 ...
       Image Name:   MIPS LEDE Linux-4.4.46
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    1306785 Bytes =  1.2 MB
       Load Address: 80000000
       Entry Point:  80000000
       Verifying Checksum ... OK
       Uncompressing Kernel Image ... OK
    No initrd
    ##Transferring control to Linux (at address 80000000) ...
    ##Giving linux memsize in MB, 128
    
    Starting kernel ...
    
    [    0.000000] Linux version 4.4.46 (root@2272a3272872) (gcc ver
    [    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-0x0000000007ff
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007f
    [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00
    [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, line
    [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases,
    [    0.000000] Built 1 zonelists in Zone order, mobility groupin
    [    0.000000] Kernel command line: console=ttyS0,115200 rootfst
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 byte
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4,
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 3
    [    0.000000] Writing ErrCtl register=00000000
    [    0.000000] Readback ErrCtl register=00000000
    [    0.000000] Memory: 125556K/131072K available (3013K kernel c cma-reserved)
    [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=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: 0
    [    0.000011] sched_clock: 32 bits at 290MHz, resolution 3ns, w
    [    0.007522] Calibrating delay loop... 385.84 BogoMIPS (lpj=19
    [    0.070039] pid_max: default: 32768 minimum: 301
    [    0.074637] Mount-cache hash table entries: 1024 (order: 0, 4
    [    0.080978] Mountpoint-cache hash table entries: 1024 (order:
    [    0.094317] clocksource: jiffies: mask: 0xffffffff max_cycles
    [    0.103965] pinctrl core: initialized pinctrl subsystem
    [    0.109704] NET: Registered protocol family 16
    [    0.133298] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.138834] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.144263] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.150790] i2c-mt7621 10000900.i2c: clock 100KHz, re-start n
    [    0.158321] clocksource: Switched to clocksource MIPS
    [    0.164706] NET: Registered protocol family 2
    [    0.169804] TCP established hash table entries: 1024 (order:
    [    0.176497] TCP bind hash table entries: 1024 (order: 0, 4096
    [    0.182681] TCP: Hash tables configured (established 1024 bin
    [    0.188880] UDP hash table entries: 256 (order: 0, 4096 bytes
    [    0.194480] UDP-Lite hash table entries: 256 (order: 0, 4096
    [    0.200841] NET: Registered protocol family 1
    [    0.210542] futex hash table entries: 256 (order: -1, 3072 by
    [    0.216493] Crashlog allocated RAM at address 0x3f00000
    [    0.236685] squashfs: version 4.0 (2009/01/31) Phillip Loughe
    [    0.242338] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME
    [    0.254452] io scheduler noop registered
    [    0.258193] io scheduler deadline registered (default)
    [    0.264082] rt2880-pinmux pinctrl: pin io18 already requested
    [    0.273166] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) stat
    [    0.279177] rt2880-pinmux pinctrl: could not request pin 18 (
    [    0.288580] mtk-pwm 10005000.pwm: Error applying setting, rev
    [    0.295923] Serial: 8250/16550 driver, 4 ports, IRQ sharing d
    [    0.303489] console [ttyS0] disabled
    [    0.306924] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq
    [    0.315703] console [ttyS0] enabled
    [    0.315703] console [ttyS0] enabled
    [    0.322700] bootconsole [early0] disabled
    [    0.322700] bootconsole [early0] disabled
    [    0.331372] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 2
    [    0.340871] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 3
    [    0.351460] spi-mt7621 10000b00.spi: sys_freq: 193333333
    [    0.361496] m25p80 spi32766.0: using chunked io (size=31)
    [    0.366993] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
    [    0.372562] 4 ofpart partitions found on MTD device spi32766.
    [    0.378491] Creating 4 MTD partitions on "spi32766.0":
    [    0.383709] 0x000000000000-0x000000030000 : "u-boot"
    [    0.390518] 0x000000030000-0x000000040000 : "u-boot-env"
    [    0.397716] 0x000000040000-0x000000050000 : "factory"
    [    0.404740] 0x000000050000-0x000002000000 : "firmware"
    [    0.452536] 2 uimage-fw partitions found on MTD device firmwa
    [    0.458584] 0x000000050000-0x00000018f0e1 : "kernel"
    [    0.465264] 0x00000018f0e1-0x000002000000 : "rootfs"
    [    0.472202] mtd: device 5 (rootfs) set to be root filesystem
    [    0.478020] 1 squashfs-split partitions found on MTD device r
    [    0.484358] 0x0000006f0000-0x000002000000 : "rootfs_data"
    [    0.501593] rt3050-esw 10110000.esw: link changed 0x00
    [    0.509308] mtk_soc_eth 10100000.ethernet eth0: mediatek fram
    [    0.517910] i2c /dev entries driver
    [    0.522113] mt7621_wdt 10000120.watchdog: Initialized
    [    0.528830] NET: Registered protocol family 10
    [    0.537267] NET: Registered protocol family 17
    [    0.541944] bridge: automatic filtering via arp/ip/ip6tables eed this.
    [    0.554763] 8021q: 802.1Q VLAN Support v1.8
    [    0.565991] VFS: Mounted root (squashfs filesystem) readonly
    [    0.574365] Freeing unused kernel memory: 208K (803cc000 - 80
    [    1.568540] init: Console is alive
    [    1.572220] init: - watchdog -
    [    4.000530] kmodloader: loading kernel modules from /etc/modu
    [    4.151857] usbcore: registered new interface driver usbfs
    [    4.157562] usbcore: registered new interface driver hub
    [    4.163110] usbcore: registered new device driver usb
    [    4.174558] exFAT: Version 1.2.9
    [    4.217943] SCSI subsystem initialized
    [    4.228712] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHC
    [    4.237076] ehci-platform: EHCI generic platform driver
    [    4.252764] phy phy-10120000.usbphy.0: remote usb device wake
    [    4.259582] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
    [    4.264911] ehci-platform 101c0000.ehci: EHCI Host Controller
    [    4.270787] ehci-platform 101c0000.ehci: new USB bus register
    [    4.278954] ehci-platform 101c0000.ehci: irq 26, io mem 0x101
    [    4.298367] ehci-platform 101c0000.ehci: USB 2.0 started, EHC
    [    4.305819] hub 1-0:1.0: USB hub found
    [    4.310095] hub 1-0:1.0: 1 port detected
    [    4.318972] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) D
    [    4.326904] ohci-platform: OHCI generic platform driver
    [    4.332555] ohci-platform 101c1000.ohci: Generic Platform OHC
    [    4.339539] ohci-platform 101c1000.ohci: new USB bus register
    [    4.347648] ohci-platform 101c1000.ohci: irq 26, io mem 0x101
    [    4.413472] hub 2-0:1.0: USB hub found
    [    4.417710] hub 2-0:1.0: 1 port detected
    [    4.434858] MTK MSDC device init.
    [    4.478498] mtk-sd: MediaTek MT6575 MSDC Driver
    [    4.486464] sdhci: Secure Digital Host Controller Interface d
    [    4.492816] sdhci: Copyright(c) Pierre Ossman
    [    4.498714] sdhci-pltfm: SDHCI platform and OF driver helper
    [    4.509048] usbcore: registered new interface driver usb-stor
    [    4.518750] kmodloader: done loading kernel modules from /etc
    [    4.536554] init: - preinit -
    [    5.378803] 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 thes read, 10 bits of entropy available)
     level
    [    7.804351] mount_root: jffs2 not ready yet, using temporary
    [    7.838103] urandom-seed: Seed file not found (/etc/urandom.s
    [    8.004511] procd: - early -
    [    8.007544] procd: - watchdog -
    [    8.654352] procd: - ubus -
    [    8.858893] random: ubusd: uninitialized urandom read (4 byte
    [    8.868627] random: ubusd: uninitialized urandom read (4 byte
    [    8.877798] random: ubusd: uninitialized urandom read (4 byte
    [    8.887379] random: ubusd: uninitialized urandom read (4 byte
    [    8.896630] random: ubusd: uninitialized urandom read (4 byte
    [    8.905951] random: ubusd: uninitialized urandom read (4 byte
    [    8.915319] random: ubusd: uninitialized urandom read (4 byte
    [    8.924856] procd: - init -
    Please press Enter to activate this console.
    [    9.565197] kmodloader: loading kernel modules from /etc/modu
    [    9.600719] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [    9.669780] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [    9.693881] Ralink/MTK WiFi EEPROM API Build for MT7620.
    [    9.737404] WRTnode AP Driver version: 4.1.0.0
    [    9.889466] Linux video capture interface: v2.00
    [   10.038996] hidraw: raw HID events driver (C) Jiri Kosina
    [   10.084647] Bluetooth: Core ver 2.21
    [   10.088486] NET: Registered protocol family 31
    [   10.092996] Bluetooth: HCI device and connection manager init
    [   10.099476] Bluetooth: HCI socket layer initialized
    [   10.104427] Bluetooth: L2CAP socket layer initialized
    [   10.109615] Bluetooth: SCO socket layer initialized
    [   10.117066] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   10.122535] Bluetooth: BNEP filters: protocol multicast
    [   10.127845] Bluetooth: BNEP socket layer initialized
    [   10.139759] usbcore: registered new interface driver btusb
    [   10.152744] usbcore: registered new interface driver cdc_acm
    [   10.158566] cdc_acm: USB Abstract Control Model driver for US
    [   10.183746] Bluetooth: HCI UART driver ver 2.3
    [   10.188268] Bluetooth: HCI UART protocol H4 registered
    [   10.193547] Bluetooth: HCI UART protocol BCSP registered
    [   10.203114] Bluetooth: HIDP (Human Interface Emulation) ver 1
    [   10.209214] Bluetooth: HIDP socket layer initialized
    [   10.217333] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   10.238730] nf_conntrack version 0.5.0 (1965 buckets, 7860 ma
    [   10.296362] Bluetooth: RFCOMM TTY layer initialized
    [   10.301418] Bluetooth: RFCOMM socket layer initialized
    [   10.306653] Bluetooth: RFCOMM ver 1.11
    [   10.318477] spidev spi32766.1: buggy DT: spidev listed direct
    [   10.325025] ------------[ cut here ]------------
    [   10.329747] WARNING: CPU: 0 PID: 472 at drivers/spi/spidev.c:
    [   10.336977] Modules linked in: spidev(+) snd_usbmidi_lib slhcrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defra ip_tables hidp hid_generic hci_uart crc_ccitt cdc_acm btusb bti960 videobuf2_vmalloc videobuf2_memops videobuf2_core hid v4l2_ceprom_api ledtrig_oneshot ledtrig_morse ledtrig_heartbeat ledtriangle ip6table_filter ip6_tables x_tables msdos snd_pcm_dmaengin snd_seq_device snd_hwdep snd input_core soundcore vfat fat ntfsed_buffer ecb cmac mmc_block usb_storage sdhci_pltfm sdhci mtk_stform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcr crc32c_generic crypto_hash
    [   10.446541] CPU: 0 PID: 472 Comm: kmodloader Not tainted 4.4.
    [   10.452816] Stack : 80368154 00000000 00000001 803b0000 87d21
              80403438 0000000b 0000001a 024000c0 800661ec 8004ae0c
              00000003 0000000b 8034d3a8 8751db4c 800661ec 80048d78
              00000001 00000000 00000000 00000000 00000000 00000000
              00000000 00000000 00000000 00000000 00000000 00000000
              ...
    [   10.488978] Call Trace:
    [   10.491519] [<800661ec>] module_sect_show+0x0/0x18
    [   10.496386] [<8004ae0c>] vprintk_default+0x24/0x30
    [   10.501276] [<800661ec>] module_sect_show+0x0/0x18
    [   10.506136] [<80048d78>] printk+0x2c/0x38
    [   10.510233] [<800253fc>] warn_slowpath_common+0xa0/0xd0
    [   10.515544] [<80149a24>] dump_stack+0x14/0x28
    [   10.519976] [<80014874>] show_stack+0x50/0x84
    [   10.524393] [<800253fc>] warn_slowpath_common+0xa0/0xd0
    [   10.529708] [<870a433c>] 0x870a433c
    [   10.533264] [<800254b4>] warn_slowpath_null+0x18/0x24
    [   10.538411] [<801f66c0>] of_match_node+0x20/0x44
    [   10.543115] [<870a433c>] 0x870a433c
    [   10.546667] [<801bbe20>] devm_kfree+0x20/0x44
    [   10.551136] [<801dd064>] spi_drv_probe+0x3c/0x84
    [   10.555831] [<801b8950>] driver_probe_device+0x120/0x288
    [   10.561251] [<8008a100>] kstrdup+0x44/0x8c
    [   10.565422] [<801dcf64>] spi_match_device+0x38/0xa8
    [   10.570405] [<801b8b34>] __driver_attach+0x7c/0xb4
    [   10.575284] [<801b6d58>] next_device+0x10/0x30
    [   10.579815] [<801b8ab8>] __driver_attach+0x0/0xb4
    [   10.584590] [<801b6e14>] bus_for_each_dev+0x9c/0xac
    [   10.589578] [<802ed674>] klist_add_tail+0x24/0x50
    [   10.594360] [<801b6be8>] bus_get+0x2c/0x50
    [   10.598557] [<801b8048>] bus_add_driver+0xec/0x20c
    [   10.603423] [<800acc7c>] exact_match+0x0/0x8
    [   10.607757] [<800ad184>] exact_lock+0x0/0x24
    [   10.612122] [<801b924c>] driver_register+0xa8/0xf8
    [   10.616987] [<870dc000>] init_module+0x0/0xdc [spidev]
    [   10.622244] [<870dc098>] init_module+0x98/0xdc [spidev]
    [   10.627551] [<801555f0>] kasprintf+0x1c/0x28
    [   10.631912] [<80045764>] __wake_up+0x24/0x48
    [   10.636247] [<870dc000>] init_module+0x0/0xdc [spidev]
    [   10.641498] [<8000d890>] do_one_initcall+0x1e8/0x214
    [   10.646550] [<80045764>] __wake_up+0x24/0x48
    [   10.650902] [<870dc000>] init_module+0x0/0xdc [spidev]
    [   10.656134] [<8003441c>] call_usermodehelper_exec+0x144/0x160
    [   10.661994] [<80033f0c>] call_usermodehelper_setup+0x38/0xa8
    [   10.667766] [<800661ec>] module_sect_show+0x0/0x18
    [   10.672664] [<8006740c>] do_init_module+0x74/0x1cc
    [   10.677536] [<8009dc30>] __vunmap+0xf0/0x114
    [   10.681917] [<80068ca0>] load_module+0x16c0/0x1b68
    [   10.686782] [<800667d8>] unknown_module_param_cb+0x0/0xac
    [   10.692278] [<8009e124>] __vmalloc_node+0x34/0x40
    [   10.697073] [<800691dc>] SyS_init_module+0x94/0x180
    [   10.702042] [<80069278>] SyS_init_module+0x130/0x180
    [   10.707107] [<8000682c>] syscall_common+0x30/0x54
    [   10.711901] [<80008c58>] __bzero+0xbc/0x164
    [   10.716143]
    [   10.717654] ---[ end trace ef0c41cacf46f24b ]---
    [   10.729744] usbcore: registered new interface driver ums-alau
    [   10.738916] usbcore: registered new interface driver ums-cypr
    [   10.748128] usbcore: registered new interface driver ums-data
    [   10.757118] usbcore: registered new interface driver ums-free
    [   10.766324] usbcore: registered new interface driver ums-isd2
    [   10.775556] usbcore: registered new interface driver ums-jump
    [   10.784676] usbcore: registered new interface driver ums-karm
    [   10.794465] usbcore: registered new interface driver ums-sddr
    [   10.803620] usbcore: registered new interface driver ums-sddr
    [   10.813101] usbcore: registered new interface driver ums-usba
    [   10.825477] usbcore: registered new interface driver usbhid
    [   10.831208] usbhid: USB HID core driver
    [   10.838966] usbcore: registered new interface driver usblp
    [   10.853137] usbcore: registered new interface driver usbseria
    [   10.859251] usbcore: registered new interface driver usbseria
    [   10.865976] usbserial: USB Serial support registered for gene
    [   10.884705] Driver for 1-wire Dallas network protocol.
    [   10.911416] xt_time: kernel timezone is -0000
    [   10.918088] usbcore: registered new interface driver ch341
    [   10.923882] usbserial: USB Serial support registered for ch34
    [   10.932667] usbcore: registered new interface driver cp210x
    [   10.938525] usbserial: USB Serial support registered for cp21
    [   10.948052] usbcore: registered new interface driver ftdi_sio
    [   10.954117] usbserial: USB Serial support registered for FTDI
    [   10.972980] usbcore: registered new interface driver pl2303
    [   10.978852] usbserial: USB Serial support registered for pl23
    [   10.990320] PPP generic driver version 2.4.2
    [   10.997883] NET: Registered protocol family 24
    [   11.016076] usbcore: registered new interface driver snd-usb-
    [   11.038113] usbcore: registered new interface driver uvcvideo
    [   11.044029] USB Video Class driver (1.1.1)
    [   11.054969] usbcore: registered new interface driver option
    [   11.060837] usbserial: USB Serial support registered for GSM
    [   11.073381] kmodloader: done loading kernel modules from /etc
    [   11.317468] random: jshn: uninitialized urandom read (4 bytes
    [   11.482165] random: jshn: uninitialized urandom read (4 bytes
    [   23.362270] EEPROM:Read from [factory] offset 0x0,length 0x40
    

    what can i do to get wifi on and broadcast its name..?
    any other options to bring up board



  • @dileep-kv
    IIRC, the fresh from factory devices need to do some setting up of things on first boot (eg. unpacking and configuring the hostname & SSID etc.). Did you leave it in this state for 5 minutes or so? Were there any more lines echoed to screen during the 5 minute wait?

    Is your serial connection interactive? If so, does pressing Enter a couple of times (after the 5 minute wait) do anything useful?



  • @dileep-kv You should use a better power supply: stable DC 3.3V, can provide at least 500mA current, good transient response (input - output capacitors!), short thick wires and good connection to Omega2(+).

    Use the Search function please - the forum is full of 'How to power Omega without Dock' like topics.
    Good luck!



  • @dileep-kv i had experienced same boot problem(via wifi) when i was powering from Uno.. change power source. use 1117 3.3 voltage regulator or equivalent.


Log in to reply
 

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