Omega doesn't to appear to be working



  • Thank's Boken, no problem.



  • Hi @Scott-Jordan, can you try logging in again. This time, try the password 5up.

    Cheers!



  • I too have an Omega that does not boot up properly. The password provided here "5up" worked to log in, but now I need to flash the latest version of the firmware on it, where can I get this and the instructions on how to do so? Also, worrisome is the fact that during boot, the Atheros came up with MAC address FF:FF:FF:FF:FF:FF, is there NVRAM I have to address as well? HALP.



  • @Andrew-Donnelly Not 100% sure if this is the problem, but having managed to logon to your Omega, have you tried using the oupgrade command?



  • @Kit-Bishop It does not exist.

    I also found this guide on another thread:

    @Boken-Lin said:

    @Daniel-Anner I don't have the guide written yet. We will make sure we do that next week.

    For the time being, here is a short guide:

    1. Ensure that the Expansion dock is in the OFF position
    2. Plug ethernet expansion to the expansion dock
    3. Connect your computer to the Omega with the ethernet expansion via ethernet cable
    4. Connect the micro USB cable to the Expansion Dock
    5. Start serial terminal
    6. Switch the Expansion dock to ON position
    7. At this point you will see some text appear in your serial terminal IMMEDIATELY PRESS ANY KEY ON YOUR COMPUTER. This will interrupt the normal booting sequence and put you into the uboot.
    8. Type httpd to start the httpd service in uboot. A message should tell you that a server is hosted in 192.168.1.1.
    9. Open up the browser on your computer, and navigate to http://192.168.1.1, here you will see an interface that allows you to upload and re-flash the firmware.

    This guide is not complete. There is no "httpd" on the bootloader I have (same as the other guy here, pre-release build on this Omega, it also had 2 bent pins). The u-boot does include tftpboot so if there was an image I could throw onto my local TFTP server, I could boot this thing off the network and get the oupgrade command.

    Here's my Omega's output thus far:

    U-Boot 1.1.4 (Aug 28 2015 - 16:51:26)
    
    AP121 (ar9331) U-boot
    
    DRAM:  64 MB
    Top of RAM usable for U-Boot at: 84000000
    Reserving 140k for U-Boot at: 83fdc000
    Reserving 192k for malloc() at: 83fac000
    Reserving 44 Bytes for Board Info at: 83fabfd4
    Reserving 36 Bytes for Global Data at: 83fabfb0
    Reserving 128k for boot params() at: 83f8bfb0
    Stack Pointer at: 83f8bf98
    Now running in RAM - U-Boot at: 83fdc000
    Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
    flash size 16777216, sector count = 256
    Flash: 16 MB
    Using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    Net:   ag7240_enet_initialize...
    No valid address in Flash. Using fixed address
    No valid address in Flash. Using fixed address
    : cfg1 0x5 cfg2 0x7114
    eth0: 00:03:7f:09:0b:ad
    eth0 up
    : cfg1 0xf cfg2 0x7214
    eth1: 00:03:7f:09:0b:ad
    athrs26_reg_init_lan
    ATHRS26: resetting s26
    ATHRS26: s26 reset done
    eth1 up
    eth0, eth1
    Hit any key to stop autoboot:  0
    ar7240> help
    reset   - Perform RESET of the CPU
    ?       - alias for 'help'
    boot    - boot default, i.e., run 'bootcmd'
    bootd   - boot default, i.e., run 'bootcmd'
    bootm   - boot application image from memory
    cp      - memory copy
    erase   - erase FLASH memory
    help    - print online help
    md      - memory display
    mm      - memory modify (auto-incrementing)
    mtest   - simple RAM test
    mw      - memory write (fill)
    nm      - memory modify (constant address)
    ping    - send ICMP ECHO_REQUEST to network host
    printenv- print environment variables
    progmac - Set ethernet MAC addresses
    run     - run commands in an environment variable
    setenv  - set environment variables
    tftpboot- boot image via network using TFTP protocol
    version - print monitor version
    ar7240> printenv
    bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),13184k(uImage),64k(NVRAM),64k(ART)
    bootcmd=bootm 0x9f300000
    bootdelay=4
    baudrate=115200
    ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
    ipaddr=192.168.1.2
    serverip=192.168.1.10
    stdin=serial
    stdout=serial
    stderr=serial
    ethact=eth0
    
    Environment size: 361/65532 bytes
    ar7240> setenv ipaddr 192.168.0.60
    ar7240> setenv serverip 192.168.0.1
    ar7240> ping 192.168.0.1
    dup 1 speed 100
    Using eth0 device
    host 192.168.0.1 is alive
    ar7240>
    

    It's on the local network now through the Ethernet Expansion, and I have a local TFTP server on my router (pfSense), but I have no bootable image, the image on the Omega currently is the same one that the other guy in this thread posted, it's the pre-release bench test version. I need an official bootable version I can dump on TFTP or else this thing is useless. Oupgrade does not exist in the loaded firmware, and httpd does not work on this bootloader:

    ar7240> ping 192.168.0.1
    dup 1 speed 100
    Using eth0 device
    host 192.168.0.1 is alive
    ar7240> httpd
    Unknown command 'httpd' - try 'help'
    ar7240> boot
    ## Booting image at 9f300000 ...
       Image Name:   Linux Kernel Image
       Created:      2015-08-28   8:51:30 UTC
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    772146 Bytes = 754 kB
       Load Address: 80002000
       Entry Point:  8019bd60
       Verifying Checksum at 0x9f300040 ...OK
       Uncompressing Kernel Image ... OK
    No initrd
    ## Transferring control to Linux (at address 8019bd60) ...
    ## Giving linux memsize in bytes, 67108864
    
    Starting kernel ...
    
    Booting AR9330(Hornet)...
    Linux version 2.6.31--LSDK-9.2.0_U11.14 (dingyongtian@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #6 Fri Aug 28 16:51:14 CST 2015
    flash_size passed from bootloader = 16
    arg 1: console=ttyS0,115200
    arg 2: root=31:02
    arg 3: rootfstype=squashfs
    arg 4: init=/sbin/init
    arg 5: mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),13184k(uImage),64k(NVRAM),64k(ART)
    arg 6: mem=64M
    CPU revision is: 00019374 (MIPS 24Kc)
    Determined physical RAM map:
     memory: 02000000 @ 00000000 (usable)
    User-defined physical RAM map:
     memory: 04000000 @ 00000000 (usable)
    Zone PFN ranges:
      Normal   0x00000000 -> 0x00004000
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
        0: 0x00000000 -> 0x00004000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
    Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),13184k(uImage),64k(NVRAM),64k(ART) mem=64M
    PID hash table entries: 256 (order: 8, 1024 bytes)
    Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
    Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
    Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
    Writing ErrCtl register=00000000
    Readback ErrCtl register=00000000
    Memory: 62632k/65536k available (1652k kernel code, 2832k reserved, 420k data, 112k init, 0k highmem)
    NR_IRQS:128
    plat_time_init: plat time init done
    Calibrating delay loop... 266.24 BogoMIPS (lpj=532480)
    Mount-cache hash table entries: 512
    NET: Registered protocol family 16
    ===== ar7240_platform_init: 0
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 2048 (order: 2, 16384 bytes)
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    TCP: Hash tables configured (established 2048 bind 2048)
    TCP reno registered
    NET: Registered protocol family 1
    AR7240 GPIOC major 0
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    msgmni has been set to 122
    io scheduler noop registered (default)
    Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
    ttyS0: detected caps 00000000 should be 00000100
    serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
    console [ttyS0] enabled
    brd: module loaded
    6 cmdlinepart partitions found on MTD device ar7240-nor0
    Creating 6 MTD partitions on "ar7240-nor0":
    0x000000000000-0x000000040000 : "u-boot"
    0x000000040000-0x000000050000 : "u-boot-env"
    0x000000050000-0x000000300000 : "rootfs"
    0x000000300000-0x000000fe0000 : "uImage"
    0x000000fe0000-0x000000ff0000 : "NVRAM"
    0x000000ff0000-0x000001000000 : "ART"
    usbmon: debugfs is not available
    TCP cubic registered
    NET: Registered protocol family 17
    802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
    All bugs added by David S. Miller <davem@redhat.com>
    arch/mips/ar7240/gpio.c (ar7240_simple_config_init) AP_RESET_GPIO: 22
    arch/mips/ar7240/gpio.c (ar7240_simple_config_init) JUMPSTART_GPIO: 11
    ar7240wdt_init: Registering WDT success
    VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
    Freeing unused kernel memory: 112k freed
    init started:  BusyBox v1.01 (2015.08.28-08:51+0000) multi-call binary
    init started:  BusyBox v1.01 (2015.08.28-08:51+0000) multi-call binary
    Starting pid 20, console /dev/ttyS0: '/etc/rc.d/rcS'
    ATHR_GMAC: Length per segment 1536
    ATHR_GMAC: fifo cfg 3 01f00140
    ATHR_GMAC: Mac address for unit 0:bf3f0000
    ATHR_GMAC: ff:ff:ff:ff:ff:ff
    ATHR_GMAC: Max segments per packet :   1
    ATHR_GMAC: Max tx descriptor count :   40
    ATHR_GMAC: Max rx descriptor count :   252
    ATHR_GMAC: Mac capability flags    :   4403
    ATHR_GMAC: Mac address for unit 1:bf3f0006
    ATHR_GMAC: ff:ff:ff:ff:ff:ff
    ATHR_GMAC: Max segments per packet :   1
    ATHR_GMAC: Max tx descriptor count :   40
    ATHR_GMAC: Max rx descriptor count :   96
    ATHR_GMAC: Mac capability flags    :   4D83
    athr_gmac_ring_alloc Allocated 640 at 0x838ca800
    athr_gmac_ring_alloc Allocated 4032 at 0x838a9000
    Setting Drop CRC Errors, Pause Frames and Length Error frames
    Setting PHY...
    ATHR_GMAC: Enet Unit:0 PHY:4 is UP Mii 100Mbps full duplex
    ATHR_GMAC: done cfg2 0x7115 ifctl 0x10000 miictrl
    Setting Drop CRC Errors, Pause Frames and Length Error frames
    athr_gmac_ring_alloc Allocated 640 at 0x838ca400
    athr_gmac_ring_alloc Allocated 1536 at 0x83966000
    ATHRS26: resetting s26
    ATHRS26: s26 reset done
    Setting Drop CRC Errors, Pause Frames and Length Error frames
    Setting PHY...
    device eth0 entered promiscuous mode
    device eth1 entered promiscuous mode
    br0: port 1(eth0) entering forwarding state
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    Port Status 1c000004
    ar7240-ehci ar7240-ehci.0: ATH EHCI
    ar7240-ehci ar7240-ehci.0: new USB bus registered, assigned bus number 1
    ehci_reset Intialize USB CONTROLLER in host mode: 3
    ehci_reset Port Status 1c000000
    ar7240-ehci ar7240-ehci.0: irq 3, io mem 0x1b000000
    ehci_reset Intialize USB CONTROLLER in host mode: 3
    ehci_reset Port Status 1c000000
    ar7240-ehci ar7240-ehci.0: USB 2.0 started, EHCI 1.00
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: ATH EHCI
    usb usb1: Manufacturer: Linux 2.6.31--LSDK-9.2.0_U11.14 ehci_hcd
    usb usb1: SerialNumber: platform
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    **** drop_caches_sysctl_handler: all done timer added ...****
    Starting pid 218, console /dev/t
     (none) mips #6 Fri Aug 28 16:51:14 CST 2015 (none)
    (none) login: root
    Password:
    Jan  1 00:00:35 login[218]: root login  on `ttyS0'
    
    
    
    BusyBox v1.01 (2015.08.28-08:51+0000) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    ~ # oupgrade
    -sh: oupgrade: not found
    ~ #
    


  • @Andrew-Donnelly Sorry that didn't work. šŸ˜ž I'm far from an expert and am still learning lots by trying. Hope you resolve your problems.



  • @Kit-Bishop said:

    e

    Thanks for the try, it's just frustrating because out of the 2 I've opened, 1 is basically DOA, and there's nothing I can do until I get a TFTP-loadable version that I can run oupgrade on to reflash the device. I work with this kind of stuff every day at work, and we have something similar called netflash, but again, we produce the devices, so we have the firmware and TFTP servers everywhere.

    Some good news, I can at least get httpd running on the pre-release, but because there's no files, I'm immediately returned a 404. Hah.


  • administrators

    @Andrew-Donnelly you're able to get httpd running with the Ethernet Expansion?

    Download the latest firmware from: http://repo.onion.io/omega/images/omega-v0.0.3-b213.bin
    Use that to reflash your Omega.



  • @Lazar-Demin I think you misunderstood. I'm not getting httpd in U-Boot, I'm getting httpd in the pre-release firmware that I posted a snapshot of the output of. If you read line by line my 2 console outputs, you'll see which httpd server I'm starting. I'm already booted into the pre-release bench-test linux before I can run it. Please read the output I provide you, again, I work on this kinda stuff for a living, so the output I give you should be useful, make use of it or it's for naught.

    @Lazar-Demin said:

    @Andrew-Donnelly you're able to get httpd running with the Ethernet Expansion?

    Download the latest firmware from: http://repo.onion.io/omega/images/omega-v0.0.3-b213.bin
    Use that to reflash your Omega.

    I will say this, that filename is super helpful, since now I think I can tftpboot off that and manually push the firmware by invoking an upgrade from the console! And U-Boot refuses to directly load that firmware update file, dang.

    I have a question, can I use dd to flash this .bin file to the "DOA" Omega? I mean I can get into the pre-release environment, I can get on the network without issue, heck, it looks like there's enough facilities here to pull the image across the network to load it, so what say you and your team? /dev/mtd2 ?

    Well I've been playing around and trying to get this thing flashed. I'm still able to get into U-Boot so provided a bootable tftpboot image can be made available, I can quickly write up instructions on how to recover the device from scratch if needed.



  • @Boken-Lin OK that password worked, now what šŸ™‚



  • @Scott-Jordan Ok, next, we will be sending you an ethernet expansion. Is your address the same as the one we have sent the Omega to previously? Once you have gotten the ethernet expansion, we will show you how to flash your firmware with it.



  • Yes same address, thank you



  • I also have problems - my omega blinks and then goes solid. It broadcasts a WiFi signal, and I can connect, but when I open a browser (on my computer or phone), I can't go to the "http://omega-ABCD.local", where I've replaced ABCD or "http://192.168.3.1". I tried using Putty to connect too, but when I open the connection as per the instructions, I'm left with a blank screen. Thanks in advance for your help.



  • Oh, and my on/off switch on my expansion dock has also broken off. šŸ˜ž



  • @William-Sikkema When you connect using putty, does it do anything if you press the ENTER key?



  • @Boken-Lin Not received Ethernet expansion you said you would send.



  • So if we have the same problem as Andrew-Donnely or Scott-Jordan, but did not get the network expansion dock what are our options? I had a ticket on the support sight but it has been closed and i've not gotten a response from them from my last question.



  • I've bricked mine by trying to custom build an image. I have an ethernet module but no expansion dock as I ordered the battery version which hasnt shipped yet. I can see the expansion module only has 4 pins that look to be connected so I just need the pinout of the expansion.



  • Hi @Scott-Jordan, we have sent out the shipment request to the fulfillment center. It can take up to 3 weeks for the package to arrive at the destination.



  • Hi @darryl-mays, I wasn't able to find anyone under your name in the ticket system. Would you be able to send me the ticket number? We just need to access what is the issue with the Omega. If the issue is as a result of the firmware not being flashed properly on the Omega, we will be sending you an ethernet expansion free of charge so you can use it to reflash the Omega to the correct firmware.


Log in to reply
 

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