What is the stable firmware for omega2?



  • I haven't used omega2 for years, but yesterday I decided to run it and update firmware. I had 0.1.10-b160 installed there and decided to sysupgrade with 0.3.3-b256 from here, after rebooting I got this stack trace

    BusyBox v1.28.3 () built-in shell (ash)
    
       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ?  /___/
     -----------------------------------------------------
       Ω-ware: 0.3.3 b256
     -----------------------------------------------------
    root@Omega-0000:/# [   22.069609] Unhandled kernel unaligned access[#1]:
    [   22.074491] CPU: 0 PID: 7 Comm: ksoftirqd/0 Not tainted 4.14.81 #0
    [   22.080758] task: 83826100 task.stack: 83840000
    [   22.085348] $ 0   : 00000000 804f0000 00000100 001fff00
    [   22.090654] $ 4   : 00000001 00000101 8106c0f4 83605218
    [   22.095958] $ 8   : 00000000 000a000a 0000000a 00000000
    [   22.101261] $12   : 00000001 000a000a 00000010 008aab00
    [   22.106565] $16   : 800594f8 00000001 00000200 804f0000
    [   22.111869] $20   : 804f3b00 00000009 00000024 0000000a
    [   22.117172] $24   : 8048b020 ba34bfab                  
    [   22.122478] $28   : 83840000 83841e10 00000100 80059530
    [   22.127784] Hi    : 006bf93d
    [   22.130700] Lo    : 2386a8ef
    [   22.133644] epc   : 800594cc __rcu_process_callbacks+0x9c/0xec
    [   22.139560] ra    : 80059530 rcu_process_callbacks+0x14/0x28
    [   22.145292] Status: 1100a403 KERNEL EXL IE 
    [   22.149543] Cause : 00800010 (ExcCode 04)
    [   22.153602] BadVA : 00000001
    [   22.156521] PrId  : 00019655 (MIPS 24KEc)
    [   22.160579] Modules linked in: pppoe ppp_async option w1_therm w1_gpio uvcvideo usb_wwan snd_usb_audio pppox ppp_generic pl2303 nf_conntrack_ipv6 lzo iptable_nat 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 xt_FLOWOFFLOAD 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 pwm_mediatek_ramips nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack lzo_decompress lzo_compress iptable_mangle
    [   22.232323]  iptable_filter ip_tables hwmon hidp hid_generic hci_uart crc_ccitt cdc_acm btusb btintel bnep bluetooth p44_ledchain snd_soc_simple_card snd_soc_simple_card_utils snd_soc_ralink_i2s snd_soc_wm8960 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 nfs msdos snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd soundcore vfat fat ntfs lockd sunrpc grace configfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_spi regmap_i2c dma_shared_buffer ecdh_generic kpp ecb cmac crypto_acompress mmc_block
    [   22.304350]  usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 jbd2 mbcache exfat usbcore nls_base usb_common crc16 aead crypto_null cryptomgr crc32c_generic crypto_hash
    [   22.329558] Process ksoftirqd/0 (pid: 7, threadinfo=83840000, task=83826100, tls=00000000)
    [   22.337931] Stack : 83826100 83826130 80493c28 80045a44 00000000 0000000a 804f3b24 80059530
    [   22.346418]         80493c28 83a731b0 80493c58 800463b8 83826384 8039dcd4 80430000 80042258
    [   22.354903]         83826100 83826100 83a73180 80493c28 82bfe860 04208040 ffff936e 804a0000
    [   22.363388]         804940e8 803a0000 803a3280 80430000 8381b900 80491ee0 00000001 00000002
    [   22.371872]         8381b900 80040b90 80430000 804f0000 00000000 80028050 1100a403 0017d458
    [   22.380357]         ...
    [   22.382839] Call Trace:
    [   22.385327] [<800594cc>] __rcu_process_callbacks+0x9c/0xec
    [   22.390895] [<80059530>] rcu_process_callbacks+0x14/0x28
    [   22.396299] [<8039dcd4>] __do_softirq+0x164/0x2a0
    [   22.401076] [<80028050>] run_ksoftirqd+0x28/0x5c
    [   22.405761] [<80040d08>] smpboot_thread_fn+0x178/0x180
    [   22.410976] [<8003dc58>] kthread+0x130/0x138
    [   22.415315] [<800093d8>] ret_from_kernel_thread+0x14/0x1c
    [   22.420786] Code: 261094f8  1080ffea  8fbf001c <8c910000> 8f820010  24420200  ce200000  af820010  8c820004 
    [   22.430693] 
    [   22.432281] ---[ end trace d752a569e5c80187 ]---
    [   22.440075] Kernel panic - not syncing: Fatal exception in interrupt
    [   22.447948] Rebooting in 3 seconds..
    

    Meanwhile I successfully updated with openwrt-21.05.02 downloaded from here

    Could you suggest me the right way how to get the latest onion's firmware?

    My board's info is:

       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/"
    
    Board: Onion Omega2 APSoC DRAM:  64 MB
    relocate_code Pointer at: 83f5c000
    ******************************
    Software System Reset Occurred
    ******************************
    flash manufacture id: ef, device id 40 18
    find flash: W25Q128BV
    

  • administrators

    @Ilya-Mordasov 0.3.3-b256 is the latest available firmware and should work.

    Can you please try flashing the same firmware using the bootloader + web recovery method or the bootloader + usb method, and letting us know how it goes?



  • @Lazar-Demin Unfortunately, both ways you've suggested don't work to me, I don't have ethernet port, I use my custom shield, and I was trying to flash it via USB, but according to google I have old U-Boot 1.1.3 and Onion Omega2 UBoot Version: 4.3.0.3 and when I try to flash fw from the usb I get timeout error (found that it was solved in later versions)

    I use the next steps to flash my omega2:

    1. start command line tool
    2. attach usb and copy openwrt-initramfs image to 0x81000000
    3. erase linux
    4. bootm 0x81000000

    so when the device is running I connect to it via ssh and write omega2-0.3.3-b256 fw
    5. cat omega2-v0.3.3-b256.bin | ssh root@192.168.1.1 mtd write - firmware

    These steps are ok for 0.1.10-b160 and openwrt-22.05.02 firmwares, but not for the latests

    openwrt is ok for general purposes (wifi connection, msc, etc), but it has a problems with interfaces, such as spi, i2c, gpio in general, so then omega2-0.1.10 is ok for that



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