We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

github source openwrt-18.06 branch



  • Has anyone tried to build this branch from the Onion source yet?

    If so, has there been any success / failures?

    Any comments or tips to share with the community as yet?



  • @cas Hi, I successful build the toolchain-mipsel_24kc_gcc-7.3.0_musl with this branch, no errors, under VM ubuntu 16.4
    The VM I have from this post: https://community.onion.io/topic/2115/onion-omega-2-cross-compiler



  • @MFsoft
    Thanks for the feedback.

    I've also managed to successfully build it in the docker container, however the package system needed to be fixed first with an apt-get -f install followed by installation of GNU time with an apt-get install apt-utils time since make initially breaks with a dependency on time -f.

    After that, I did a git pull, checked out the branch, updated and installed the feeds and completed a successful make (evidenced below), which was substantially faster than on the 17.01 branch.

    That being said, I haven't actually deployed the firmware to anything as yet, but I'm hopeful for a positive outcome. 🙂

    root@14bde96a75fb:~/source# git status
    On branch openwrt-18.06
    Your branch is up-to-date with 'origin/openwrt-18.06'.
    nothing to commit, working directory clean
    root@14bde96a75fb:~/source# cat files/etc/uci-defaults/12_onion_version
    #!/bin/sh
    
    uci -q batch <<-EOF > /dev/null
            set onion.@onion[0].version='0.3.0'
            set onion.@onion[0].build='206'
            commit system
    EOF
    
    exit 0
    root@14bde96a75fb:~/source# make
    WARNING: Makefile 'package/feeds/onion/bluez/Makefile' has a dependency on 'udev', which does not exist
    WARNING: Makefile 'package/feeds/onion/transmission-console-app/Makefile' has a dependency on 'Onion-Console', which does not exist
    WARNING: Makefile 'package/feeds/onion/transmission-console-app/Makefile' has a dependency on 'transmission-daemon', which does not exist
    WARNING: Makefile 'package/feeds/onion/zeromq/Makefile' has a build dependency on 'libuuid', which does not exist
    make[2]: Entering directory '/root/source/scripts/config'
    make[2]: Leaving directory '/root/source/scripts/config'
     make[1] world
     make[2] target/compile
     make[3] -C target/linux compile
     make[2] diffconfig
     make[2] package/cleanup
     make[2] package/compile
     make[3] -C package/libs/libjson-c host-compile
     make[3] -C package/libs/libubox host-compile
     make[3] -C package/system/opkg host-compile
     make[3] -C package/libs/toolchain compile
     make[3] -C package/libs/libnl-tiny compile
     make[3] -C package/libs/libjson-c compile
     make[3] -C package/utils/lua compile
     make[3] -C package/libs/libubox compile
     make[3] -C package/system/ubus compile
     make[3] -C package/system/uci compile
     make[3] -C package/network/config/netifd compile
     make[3] -C package/firmware/linux-firmware compile
     make[3] -C package/firmware/prism54-firmware compile
     make[3] -C package/kernel/linux compile
     make[3] -C package/system/ubox compile
     make[3] -C package/libs/ncurses host-compile
     make[3] -C package/libs/zlib compile
     make[3] -C package/libs/ncurses compile
     make[3] -C package/utils/util-linux compile
     make[3] -C package/system/fstools compile
     make[3] -C package/system/fwtool host-compile
     make[3] -C package/system/fwtool compile
     make[3] -C package/system/procd compile
     make[3] -C package/system/usign host-compile
     make[3] -C package/utils/jsonfilter compile
     make[3] -C package/system/openwrt-keyring compile
     make[3] -C package/system/usign compile
     make[3] -C package/base-files compile
     make[3] -C package/boot/uboot-envtools compile
     make[3] -C feeds/packages/libs/confuse compile
     make[3] -C package/libs/libusb compile
     make[3] -C feeds/packages/libs/libftdi1 compile
     make[3] -C package/utils/bzip2 compile
     make[3] -C package/libs/gettext compile
     make[3] -C package/libs/libiconv compile
     make[3] -C package/libs/argp-standalone compile
     make[3] -C package/libs/elfutils compile
     make[3] -C package/libs/libusb-compat compile
     make[3] -C package/libs/readline compile
     make[3] -C feeds/onion/avrdude/avrdude compile
     make[3] -C feeds/onion/arduino-dock compile
     make[3] -C package/network/utils/iwinfo compile
     make[3] -C package/system/rpcd compile
     make[3] -C feeds/onion/console-install-tool compile
     make[3] -C package/libs/uclibc++ compile
     make[3] -C feeds/onion/dht-sensor compile
     make[3] -C feeds/onion/onion-sh-lib compile
     make[3] -C feeds/onion/fast-gpio compile
     make[3] -C feeds/onion/hostname-tool compile
     make[3] -C feeds/packages/libs/libxml2 compile
     make[3] -C feeds/packages/libs/db47 compile
     make[3] -C feeds/packages/libs/expat compile
     make[3] -C package/libs/gettext-full host-compile
     make[3] -C feeds/packages/libs/gdbm compile
     make[3] -C feeds/packages/libs/libffi compile
     make[3] -C feeds/packages/lang/python/python-pip-conf compile
     make[3] -C feeds/packages/libs/expat host-compile
     make[3] -C package/utils/bzip2 host-compile
     make[3] -C feeds/packages/lang/python/python host-compile
     make[3] -C feeds/packages/libs/sqlite3 compile
     make[3] -C package/libs/openssl compile
     make[3] -C feeds/packages/lang/python/python compile
     make[3] -C feeds/packages/libs/libffi host-compile
     make[3] -C feeds/packages/lang/python/python3 host-compile
     make[3] -C feeds/packages/utils/bash compile
     make[3] -C feeds/packages/utils/xz compile
     make[3] -C feeds/packages/lang/python/python3 compile
     make[3] -C feeds/onion/i2c-exp-driver compile
     make[3] -C feeds/packages/utils/pcsc-lite compile
     make[3] -C package/libs/libtool compile
     make[3] -C feeds/packages/utils/ccid compile
     make[3] -C feeds/packages/utils/vim compile
     make[3] -C feeds/onion/libnfc compile
     make[3] -C feeds/onion/libfreefare compile
     make[3] -C feeds/onion/node-red-install-tool compile
     make[3] -C feeds/onion/ogps compile
     make[3] -C feeds/onion/omega2-ctrl compile
     make[3] -C feeds/packages/utils/tar compile
     make[3] -C package/utils/e2fsprogs host-compile
     make[3] -C package/utils/e2fsprogs compile
     make[3] -C feeds/onion/omega2pro compile
     make[3] -C package/libs/mbedtls compile
     make[3] -C package/network/utils/curl compile
     make[3] -C feeds/onion/onion-helper compile
     make[3] -C feeds/onion/shellinabox compile
     make[3] -C feeds/onion/onion-os compile
     make[3] -C feeds/onion/onion-repo-keys compile
     make[3] -C feeds/packages/utils/bc compile
     make[3] -C feeds/packages/libs/pcre compile
     make[3] -C feeds/packages/net/wget compile
     make[3] -C feeds/onion/onion-script compile
     make[3] -C feeds/onion/oupgrade compile
     make[3] -C feeds/packages/libs/libugpio compile
     make[3] -C feeds/onion/onion-ubus compile
     make[3] -C feeds/onion/p44-ledchain compile
     make[3] -C feeds/onion/power-dock compile
     make[3] -C feeds/onion/ubidots-client compile
     make[3] -C feeds/onion/url-enc-dec compile
     make[3] -C feeds/packages/utils/attr compile
     make[3] -C feeds/packages/utils/acl compile
     make[3] -C feeds/packages/libs/libcap compile
     make[3] -C package/libs/gmp compile
     make[3] -C feeds/packages/utils/coreutils compile
     make[3] -C package/network/utils/maccalc compile
     make[3] -C package/network/utils/wireless-tools compile
     make[3] -C feeds/onion/wifi-warp-core compile
     make[3] -C feeds/packages/utils/dbus compile
     make[3] -C feeds/packages/libs/intltool host-compile
     make[3] -C feeds/packages/libs/libdaemon compile
     make[3] -C feeds/packages/libs/avahi compile
     make[3] -C feeds/packages/libs/avahi compile
     make[3] -C feeds/packages/libs/c-ares compile
     make[3] -C feeds/packages/kernel/exfat-nofuse compile
     make[3] -C feeds/packages/libs/hidapi compile
     make[3] -C feeds/packages/utils/i2c-tools compile
     make[3] -C feeds/packages/libs/libuv compile
     make[3] -C feeds/packages/libs/libwebsockets compile
     make[3] -C feeds/packages/net/mosquitto compile
     make[3] -C feeds/packages/net/mosquitto compile
     make[3] -C feeds/packages/net/mosquitto compile
     make[3] -C feeds/packages/net/mosquitto compile
     make[3] -C feeds/packages/net/mosquitto compile
     make[3] -C feeds/packages/net/mosquitto compile
     make[3] -C feeds/packages/libs/libpam compile
     make[3] -C feeds/packages/net/openssh compile
     make[3] -C feeds/packages/utils/openzwave compile
     make[3] -C package/libs/popt compile
     make[3] -C feeds/packages/net/rsync compile
     make[3] -C feeds/packages/utils/spi-tools compile
     make[3] -C package/firmware/wireless-regdb compile
     make[3] -C package/kernel/gpio-button-hotplug compile
     make[3] -C package/firmware/b43legacy-firmware compile
     make[3] -C package/network/services/hostapd compile
     make[3] -C package/network/utils/iw compile
     make[3] -C package/kernel/mac80211 compile
     make[3] -C package/kernel/w1-gpio-custom compile
     make[3] -C package/libs/ustream-ssl compile
     make[3] -C package/libs/uclient compile
     make[3] -C package/network/utils/iptables compile
     make[3] -C package/network/config/firewall compile
     make[3] -C package/network/config/swconfig compile
     make[3] -C package/network/ipv6/odhcp6c compile
     make[3] -C package/network/services/dnsmasq compile
     make[3] -C package/network/services/dropbear compile
     make[3] -C package/network/services/odhcpd compile
     make[3] -C package/libs/libpcap compile
     make[3] -C package/network/utils/linux-atm compile
     make[3] -C package/network/utils/resolveip compile
     make[3] -C package/network/services/ppp compile
     make[3] -C package/network/services/uhttpd compile
     make[3] -C package/system/ca-certificates compile
     make[3] -C package/system/mtd compile
     make[3] -C package/system/opkg compile
     make[3] -C package/utils/busybox compile
     make[2] package/install
     make[2] target/install
     make[3] -C target/linux install
     make[2] package/index
     make[2] checksum
    root@14bde96a75fb:~/source#
    


  • Flashes fine, boots fine.

       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     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 *
    **************************************
    
    
    You have 40 seconds left to select a menu option...
    
    
    Please select option:
       [ Enter ]: Boot Omega2.
       [ 0 ]: Start Web recovery mode.
       [ 1 ]: Start command line mode.
       [ 2 ]: Flash firmware from USB storage.
    
    Option [2] selected.
    System Load Linux then write to Flash via USB Storage.
    Looking for a USB Storage.
    If suitable image is found on USB Storage writing to Flash will be attempted.
    U-Boot will look for a FAT file system.
    (Re)start USB...
    LOW LEVEL INIT USB0:
    Scanning bus 0 for devices...
    New Device 0
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x100 index 0x0 length 0x8
    usb_control_msg: status = success?
    
     INSIDE USB INIT
    
     INSIDE USB INIT: Device responded.
    set address 1
    usb_control_msg: request: 0x5, requesttype: 0x0
    value 0x1 index 0x0 length 0x0
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x100 index 0x0 length 0x12
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x200 index 0x0 length 0x9
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x200 index 0x0 length 0x19
    usb_control_msg: status = success?
    get_conf_no 0 Result 25, wLength 25
    if 0, ep 0
    ##EP epmaxpacketin[1] = 2
    set configuration 1
    usb_control_msg: request: 0x9, requesttype: 0x0
    value 0x1 index 0x0 length 0x0
    usb_control_msg: status = success?
    new device strings: Mfr=0, Product=1, SerialNumber=0
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x300 index 0x0 length 0xFF
    usb_control_msg: status = success?
    USB device number 1 default language ID 0x409
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x301 index 0x409 length 0xFF
    usb_control_msg: status = success?
    Manufacturer
    Product      OHCI Root Hub
    SerialNumber
    Device is a hub?
    usb_control_msg: request: 0x6, requesttype: 0xA0
    value 0x2900 index 0x0 length 0x4
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0xA0
    value 0x2900 index 0x0 length 0x9
    usb_control_msg: status = success?
    usb_control_msg: request: 0x0, requesttype: 0xA0
    value 0x0 index 0x0 length 0x4
    usb_control_msg: status = success?
    usb_control_msg: request: 0x1, requesttype: 0x23
    value 0x8 index 0x1 length 0x0
    usb_control_msg: status = success?
    usb_control_msg: request: 0x0, requesttype: 0xA3
    value 0x0 index 0x1 length 0x4
    usb_control_msg: status = success?
    usb_control_msg: request: 0x3, requesttype: 0x23
    value 0x8 index 0x1 length 0x0
    usb_control_msg: status = success?
    usb_control_msg: request: 0x0, requesttype: 0xA3
    value 0x0 index 0x1 length 0x4
    usb_control_msg: status = success?
    usb_control_msg: request: 0x0, requesttype: 0xA3
    value 0x0 index 0x1 length 0x4
    usb_control_msg: status = success?
    usb_control_msg: request: 0x1, requesttype: 0x23
    value 0x10 index 0x1 length 0x0
    usb_control_msg: status = success?
    usb_control_msg: request: 0x3, requesttype: 0x23
    value 0x4 index 0x1 length 0x0
    usb_control_msg: status = success?
    usb_control_msg: request: 0x0, requesttype: 0xA3
    value 0x0 index 0x1 length 0x4
    usb_control_msg: status = success?
    usb_control_msg: request: 0x1, requesttype: 0x23
    value 0x14 index 0x1 length 0x0
    usb_control_msg: status = success?
    New Device 1
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x100 index 0x0 length 0x8
    usb_control_msg: status = success?
    
     INSIDE USB INIT
    
     INSIDE USB INIT: Device responded.
    set address 2
    usb_control_msg: request: 0x5, requesttype: 0x0
    value 0x2 index 0x0 length 0x0
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x100 index 0x0 length 0x12
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x200 index 0x0 length 0x9
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x200 index 0x0 length 0x20
    usb_control_msg: status = success?
    get_conf_no 0 Result 32, wLength 32
    if 0, ep 0
    if 0, ep 1
    ##EP epmaxpacketin[1] = 64
    ##EP epmaxpacketout[2] = 64
    set configuration 1
    usb_control_msg: request: 0x9, requesttype: 0x0
    value 0x1 index 0x0 length 0x0
    usb_control_msg: status = success?
    new device strings: Mfr=1, Product=2, SerialNumber=3
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x300 index 0x0 length 0xFF
    usb_control_msg: status = success?
    USB device number 2 default language ID 0x409
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x301 index 0x409 length 0xFF
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x302 index 0x409 length 0xFF
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x303 index 0x409 length 0xFF
    usb_control_msg: status = success?
    Manufacturer SanDisk
    Product      Cruzer Blade
    SerialNumber 4C530001140707110013
    Device is a hub?
    2 USB Device(s) found
    scan end
           Scanning bus for storage devices...
    
    =================================================
    1: Hub,  USB Revision 1.10
     -  OHCI Root Hub
     - Class: Hub
     - PacketSize: 8  Configurations: 1
     - Vendor: 0x0000  Product 0x0000 Version 0.0
    
    =================================================
    2: Mass Storage,  USB Revision 2.10
     - SanDisk Cruzer Blade 4C530001140707110013
     - Class: (from Interface) Mass Storage
     - PacketSize: 64  Configurations: 1
     - Vendor: 0x0781  Product 0x5567 Version 1.0
    Testing BULK mode...Identifying a storage device...*
    USB_STORAGE: 1 Storage Device(s) found
    
    
    ***************************************
    * [!] This will take several minutes  *
    * please do not power off your Omega2 *
    ***************************************
    
    
    *
    *
    Reading file "omega2.bin"
    *
    ********************************
    ******
    *************************************************************************************************************************************************************************************************************************************************************************************************
    *
    FAT: 9699504 Bytes read
    ....................................................................................................................................................
    ....................................................................................................................................................
    .
    .
    Done!
    
    
       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     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
    ******************************
    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 OpenWrt Linux-4.14.81
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    1542666 Bytes =  1.5 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.14.81 (root@14bde96a75fb) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7421-2023d57)) #0 Wed Jan 16 00:06:11 2019
    [    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] 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] 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] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0
    [    0.000000] Built 1 zonelists, 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=000040e0
    [    0.000000] Readback ErrCtl register=000040e0
    [    0.000000] Memory: 124840K/131072K available (3536K kernel code, 195K rwdata, 888K rodata, 172K init, 200K bss, 6232K 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] timer_probe: no matching timers 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.007536] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
    [    0.073509] pid_max: default: 32768 minimum: 301
    [    0.078208] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.084554] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.098574] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.108069] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.114016] pinctrl core: initialized pinctrl subsystem
    [    0.119591] NET: Registered protocol family 16
    [    0.152514] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.158119] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.163721] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.170193] i2c-mt7621 10000900.i2c: clock 100 kHz
    [    0.179662] clocksource: Switched to clocksource MIPS
    [    0.185907] NET: Registered protocol family 2
    [    0.190970] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.197661] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.203851] TCP: Hash tables configured (established 1024 bind 1024)
    [    0.210104] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.215703] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.222071] NET: Registered protocol family 1
    [    0.230038] Crashlog allocated RAM at address 0x3f00000
    [    0.236602] workingset: timestamp_bits=30 max_order=15 bucket_order=0
    [    0.248675] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.254294] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.273791] io scheduler noop registered
    [    0.277522] io scheduler deadline registered (default)
    [    0.283546] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
    [    0.290906] console [ttyS0] disabled
    [    0.294345] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
    [    0.303122] console [ttyS0] enabled
    [    0.303122] console [ttyS0] enabled
    [    0.310115] bootconsole [early0] disabled
    [    0.310115] bootconsole [early0] disabled
    [    0.318873] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
    [    0.328498] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
    [    0.338007] cacheinfo: Failed to find cpu0 device node
    [    0.343260] cacheinfo: Unable to detect cache hierarchy for CPU 0
    [    0.350282] spi-mt7621 10000b00.spi: sys_freq: 193333333
    [    0.361422] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
    [    0.366597] 4 fixed-partitions partitions found on MTD device spi0.0
    [    0.373101] Creating 4 MTD partitions on "spi0.0":
    [    0.377967] 0x000000000000-0x000000030000 : "u-boot"
    [    0.383946] 0x000000030000-0x000000040000 : "u-boot-env"
    [    0.390282] 0x000000040000-0x000000050000 : "factory"
    [    0.396236] 0x000000050000-0x000002000000 : "firmware"
    [    0.480053] 2 uimage-fw partitions found on MTD device firmware
    [    0.486079] 0x000000050000-0x0000001c8a4a : "kernel"
    [    0.492082] 0x0000001c8a4a-0x000002000000 : "rootfs"
    [    0.497923] mtd: device 5 (rootfs) set to be root filesystem
    [    0.505181] 1 squashfs-split partitions found on MTD device rootfs
    [    0.511519] 0x000000960000-0x000002000000 : "rootfs_data"
    [    0.518921] libphy: Fixed MDIO Bus: probed
    [    0.534155] rt3050-esw 10110000.esw: link changed 0x00
    [    0.541055] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
    [    0.549737] i2c /dev entries driver
    [    0.555085] NET: Registered protocol family 10
    [    0.564070] Segment Routing with IPv6
    [    0.567912] NET: Registered protocol family 17
    [    0.572543] 8021q: 802.1Q VLAN Support v1.8
    [    0.582766] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
    [    0.590899] Freeing unused kernel memory: 172K
    [    0.595404] This architecture does not have kernel memory protection.
    [    1.515180] init: Console is alive
    [    1.518868] init: - watchdog -
    [    2.239707] random: fast init done
    [    5.024498] kmodloader: loading kernel modules from /etc/modules-boot.d/*
    [    5.324088] usbcore: registered new interface driver usbfs
    [    5.329823] usbcore: registered new interface driver hub
    [    5.335331] usbcore: registered new device driver usb
    [    5.346989] exFAT: Version 1.2.9
    [    5.386036] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    5.402396] SCSI subsystem initialized
    [    5.411942] ehci-platform: EHCI generic platform driver
    [    5.427608] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
    [    5.434420] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
    [    5.439757] ehci-platform 101c0000.ehci: EHCI Host Controller
    [    5.445620] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
    [    5.453814] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
    [    5.489710] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
    [    5.497174] hub 1-0:1.0: USB hub found
    [    5.501454] hub 1-0:1.0: 1 port detected
    [    5.511312] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    5.519314] ohci-platform: OHCI generic platform driver
    [    5.525006] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
    [    5.531968] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
    [    5.540131] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
    [    5.614763] hub 2-0:1.0: USB hub found
    [    5.619041] hub 2-0:1.0: 1 port detected
    [    5.637660] MTK MSDC device init.
    [    5.699899] mtk-sd: MediaTek MT6575 MSDC Driver
    [    5.708933] sdhci: Secure Digital Host Controller Interface driver
    [    5.715275] sdhci: Copyright(c) Pierre Ossman
    [    5.721226] sdhci-pltfm: SDHCI platform and OF driver helper
    [    5.731570] usbcore: registered new interface driver usb-storage
    [    5.741562] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
    [    5.759413] init: - preinit -
    [    5.869705] usb 1-1: new high-speed USB device number 2 using ehci-platform
    [    6.343539] usb-storage 1-1:1.0: USB Mass Storage device detected
    [    6.360150] scsi host0: usb-storage 1-1:1.0
    [    6.705578] random: procd: uninitialized urandom read (4 bytes read)
    [    7.186976] 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
    [    7.380658] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 6
    [    7.392007] sd 0:0:0:0: [sda] 15630336 512-byte logical blocks: (8.00 GB/7.45 GiB)
    [    7.401314] sd 0:0:0:0: [sda] Write Protect is off
    [    7.407308] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [    7.424483]  sda: sda1
    [    7.431562] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   10.541109] mount_root: loading kmods from internal overlay
    [   10.619863] kmodloader: loading kernel modules from //etc/modules-boot.d/*
    [   10.633123] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
    [   11.906475] block: attempting to load /etc/config/fstab
    [   11.914073] block: unable to load configuration (fstab: Entry not found)
    [   11.921091] block: no usable configuration
    [   11.926164] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
    [   12.005180] urandom-seed: Seed file not found (/etc/urandom.seed)
    [   12.217182] procd: - early -
    [   12.221059] procd: - watchdog -
    [   12.896036] procd: - watchdog -
    [   12.899501] procd: - ubus -
    [   12.984930] random: ubusd: uninitialized urandom read (4 bytes read)
    [   13.184486] random: ubusd: uninitialized urandom read (4 bytes read)
    [   13.191511] random: ubusd: uninitialized urandom read (4 bytes read)
    [   13.198926] procd: - init -
    Please press Enter to activate this console.
    [   13.747074] kmodloader: loading kernel modules from /etc/modules.d/*
    [   13.921027] RPC: Registered named UNIX socket transport module.
    [   13.927040] RPC: Registered udp transport module.
    [   13.931873] RPC: Registered tcp transport module.
    [   13.936638] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [   13.955657] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [   14.048082] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   14.713109]
    [   14.713109]
    [   14.713109] === pAd = c062b000, size = 1178064 ===
    [   14.713109]
    [   14.724419] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628))
    [   14.773189] Linux video capture interface: v2.00
    [   14.790730] hidraw: raw HID events driver (C) Jiri Kosina
    [   14.820145] ledchain: pwm_base=0xB0005000
    [   14.824352] ledchain: Device: /dev/ledchain2
    [   14.828680] ledchain: - PWM channel    : 2
    [   14.832889] ledchain: - PWM buffer size: 12
    [   14.837128] ledchain: - Number of LEDs : 1
    [   14.841285] ledchain: - Inverted       : 0
    [   14.845433] ledchain: - LED type       : WS2812
    [   14.850033] ledchain: - Max retries    : 3
    [   14.886313] Bluetooth: Core ver 2.22
    [   14.890136] NET: Registered protocol family 31
    [   14.894643] Bluetooth: HCI device and connection manager initialized
    [   14.901131] Bluetooth: HCI socket layer initialized
    [   14.906080] Bluetooth: L2CAP socket layer initialized
    [   14.911249] Bluetooth: SCO socket layer initialized
    [   14.919077] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   14.924544] Bluetooth: BNEP filters: protocol multicast
    [   14.929866] Bluetooth: BNEP socket layer initialized
    [   14.942670] usbcore: registered new interface driver btusb
    [   14.953008] usbcore: registered new interface driver cdc_acm
    [   14.958757] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   14.971435] Bluetooth: HCI UART driver ver 2.3
    [   14.975954] Bluetooth: HCI UART protocol H4 registered
    [   14.981221] Bluetooth: HCI UART protocol BCSP registered
    [   14.991234] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [   14.997265] Bluetooth: HIDP socket layer initialized
    [   15.008446] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   15.036515] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
    [   15.134659] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm
    [   15.144273] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22
    [   15.150648] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0  on device rt2880-pinmux
    [   15.160549] mtk-pwm 10005000.pwm: Error applying setting, reverse things back
    [   15.175174] Bluetooth: RFCOMM TTY layer initialized
    [   15.180214] Bluetooth: RFCOMM socket layer initialized
    [   15.185452] Bluetooth: RFCOMM ver 1.11
    [   15.206676] usbcore: registered new interface driver ums-alauda
    [   15.215936] usbcore: registered new interface driver ums-cypress
    [   15.225454] usbcore: registered new interface driver ums-datafab
    [   15.234635] usbcore: registered new interface driver ums-freecom
    [   15.244024] usbcore: registered new interface driver ums-isd200
    [   15.253549] usbcore: registered new interface driver ums-jumpshot
    [   15.262874] usbcore: registered new interface driver ums-karma
    [   15.272982] usbcore: registered new interface driver ums-sddr09
    [   15.282397] usbcore: registered new interface driver ums-sddr55
    [   15.292200] usbcore: registered new interface driver ums-usbat
    [   15.305520] usbcore: registered new interface driver usbhid
    [   15.311247] usbhid: USB HID core driver
    [   15.319575] usbcore: registered new interface driver usblp
    [   15.335271] usbcore: registered new interface driver usbserial
    [   15.341384] usbcore: registered new interface driver usbserial_generic
    [   15.348101] usbserial: USB Serial support registered for generic
    [   15.367903] Driver for 1-wire Dallas network protocol.
    [   15.397453] xt_time: kernel timezone is -0000
    [   15.404457] usbcore: registered new interface driver ch341
    [   15.410225] usbserial: USB Serial support registered for ch341-uart
    [   15.419640] usbcore: registered new interface driver cp210x
    [   15.425479] usbserial: USB Serial support registered for cp210x
    [   15.435502] usbcore: registered new interface driver ftdi_sio
    [   15.441543] usbserial: USB Serial support registered for FTDI USB Serial Device
    [   15.463136] usbcore: registered new interface driver pl2303
    [   15.468891] usbserial: USB Serial support registered for pl2303
    [   15.481002] PPP generic driver version 2.4.2
    [   15.488795] NET: Registered protocol family 24
    [   15.508597] usbcore: registered new interface driver snd-usb-audio
    [   15.532187] usbcore: registered new interface driver uvcvideo
    [   15.538023] USB Video Class driver (1.1.1)
    [   15.549336] usbcore: registered new interface driver option
    [   15.555198] usbserial: USB Serial support registered for GSM modem (1-port)
    [   15.567985] kmodloader: done loading kernel modules from /etc/modules.d/*
    [   15.974713] urandom_read: 5 callbacks suppressed
    [   15.974723] random: jshn: uninitialized urandom read (4 bytes read)
    [   32.161553] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready
    [   33.088288]
    [   33.088288] _      _____   ___  ___    _________  ___  ____
    [   33.088288] | | /| / / _ | / _ \/ _ \  / ___/ __ \/ _ \/ __/ V1.0
    [   33.088288] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/
    [   33.088288] |__/|__/_/ |_/_/|_/_/     \___/\____/_/|_/___/
    [   33.088288]             Onion Enhanced MT7688 WiFi Driver
    [   33.088288]
    [   33.411781] DMA Scheduler Mode=0(LMAC)
    [   33.415612] efuse_probe: efuse = 10000012
    [   33.419803] 1. Phy Mode = 14
    [   33.638255] 2. Phy Mode = 14
    [   33.641297] 3. Phy Mode = 14
    [   33.659994]  WTBL Segment 1 info:
    [   33.663371]          MemBaseAddr/FID:0x28000/0
    [   33.667259]          EntrySize/Cnt:32/128
    [   33.670778]  WTBL Segment 2 info:
    [   33.674138]          MemBaseAddr/FID:0x40000/0
    [   33.678023]          EntrySize/Cnt:64/128
    [   33.681482]  WTBL Segment 3 info:
    [   33.684839]          MemBaseAddr/FID:0x42000/64
    [   33.688810]          EntrySize/Cnt:64/128
    [   33.692266]  WTBL Segment 4 info:
    [   33.695623]          MemBaseAddr/FID:0x44000/128
    [   33.699698]          EntrySize/Cnt:32/128
    [   45.603076] br-wlan: port 1(ra0) entered blocking state
    [   45.608391] br-wlan: port 1(ra0) entered disabled state
    [   45.614134] device ra0 entered promiscuous mode
    [   45.618888] br-wlan: port 1(ra0) entered blocking state
    [   45.624240] br-wlan: port 1(ra0) entered forwarding state
    [   45.631646] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready
    [   52.931388] device ra0 left promiscuous mode
    [   52.935857] br-wlan: port 1(ra0) entered disabled state
    [   52.959786] random: crng init done
    [   53.537293] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready
    [   54.192567] IPv6: ADDRCONF(NETDEV_UP): ra0: link is not ready
    [   54.979833] IPv6: ADDRCONF(NETDEV_CHANGE): ra0: link becomes ready
    [   55.008030] br-wlan: port 1(ra0) entered blocking state
    [   55.013413] br-wlan: port 1(ra0) entered disabled state
    [   55.019066] device ra0 entered promiscuous mode
    [   55.023895] br-wlan: port 1(ra0) entered blocking state
    [   55.029198] br-wlan: port 1(ra0) entered forwarding state
    [   55.036479] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready
    [  120.830379] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
    [  120.837442] jffs2_build_filesystem(): unlocking the mtd device...
    [  120.837447] done.
    [  120.845722] jffs2_build_filesystem(): erasing all blocks after the end marker...
    [  243.517705] done.
    [  243.527314] jffs2: notice: (2165) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [  244.078519] overlayfs: upper fs does not support tmpfile.
    
    
    
    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.0 b206
     -----------------------------------------------------
    root@Omega-C0D3:/#
    


  • Hello @cas

    Two questions (excuse my ignorance):

    1. Does this include Warpcore WiFi driver?

    2. Is it possible to install kmods that are not compiled by Onion without getting "kernel version mismatch" (e.g. http://community.onion.io/topic/921/kernel-driver-version-mismatch)

    Thanks

    (edit: looking at the logs it seems it does. Any ideas on the second question?)



  • @Venet
    Not from the openwrt repo's, no:

    root@Omega-C0D3:~# opkg install kmod-ipt-ipopt
    Installing kmod-ipt-ipopt (4.14.93-1) to root...
    Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/kmod-ipt-ipopt_4.14.93-1_mipsel_24kc.ipk
    Collected errors:
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ipt-ipopt:
     *      kernel (= 4.14.93-1-fa0ac614032ecce6935c8737b30999bb) *
     * opkg_install_cmd: Cannot install package kmod-ipt-ipopt.
    root@Omega-C0D3:~#
    

    But iirc, this is by design. Again, stretching my memory and I could be mistaken, custom firmware requires kernel modules built by the same host that built the kernel. [edit] And as part of the same build process. Building the kernel module at a later date, even on the exact same host, will not allow seamless installation [/edit]

    I'll try and build the package locally and install from that. Will need a bit of time to get to it tho.



  • Thank you very much @cas !

    It seems we can either have performant WiFi (WarpCore) or kmods, but not both.
    Unless each of us builds our own firmware as outlined by @Maximilian-Gerhardt http://community.onion.io/topic/2830/building-kernel-modules-for-the-omega2

    I don't understand why Onion / @Lazar-Demin does not build all the OpenWrt packages? Is it a time/resources issue or something else?



  • @Venet
    I can successfully install the package into my own custom kernel:

    root@Omega-C0D3:/# lsmod | grep ipt
    ip_tables               9645  4 iptable_nat,iptable_mangle,iptable_filter
    ipt_MASQUERADE          1040  1
    ipt_REJECT               944  2
    iptable_filter           688  1
    iptable_mangle           912  1
    iptable_nat              752  1
    nf_conntrack           58120 12 nf_conntrack_ipv6,ipt_MASQUERADE,xt_state,xt_nat,xt_conntrack,xt_REDIRECT,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,nf_nat,nf_flow_table,nf_conntrack_rtcache
    nf_nat_ipv4             3569  1 iptable_nat
    nf_nat_masquerade_ipv4    1596  1 ipt_MASQUERADE
    nf_reject_ipv4          2147  1 ipt_REJECT
    x_tables               13935 23 ipt_REJECT,ipt_MASQUERADE,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,iptable_mangle,iptable_filter,ip_tables,ip6t_REJECT,ip6table_mangle,ip6table_filter,ip6_tables
    
    root@Omega-C0D3:/# opkg install root/kmod-ipt-ipopt_4.14.81-1_mipsel_24kc.ipk
    Installing kmod-ipt-ipopt (4.14.81-1) to root...
    Configuring kmod-ipt-ipopt.
    [  436.296052] kmodloader: loading kernel modules from /etc/modules.d/*
    [  436.327649] kmodloader: done loading kernel modules from /etc/modules.d/*
    
    root@Omega-C0D3:/# lsmod | grep ipt
    ip_tables               9645  4 iptable_nat,iptable_mangle,iptable_filter
    ipt_ECN                 1424  0
    ipt_MASQUERADE          1040  1
    ipt_REJECT               944  2
    iptable_filter           688  1
    iptable_mangle           912  1
    iptable_nat              752  1
    nf_conntrack           58120 12 nf_conntrack_ipv6,ipt_MASQUERADE,xt_state,xt_nat,xt_conntrack,xt_REDIRECT,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,nf_nat,nf_flow_table,nf_conntrack_rtcache
    nf_nat_ipv4             3569  1 iptable_nat
    nf_nat_masquerade_ipv4    1596  1 ipt_MASQUERADE
    nf_reject_ipv4          2147  1 ipt_REJECT
    x_tables               13935 33 xt_tcpmss,xt_statistic,xt_length,xt_hl,xt_ecn,xt_dscp,xt_HL,xt_DSCP,xt_CLASSIFY,ipt_ECN,ipt_REJECT,ipt_MASQUERADE,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,iptable_mangle,iptable_filter,ip_tables,ip6t_REJECT,ip6table_mangle,ip6table_filter,ip6_tables
    

    I suppose it is a time and/or resource constraint preventing Onion from building all possible kernel modules. Also maintaining several variations of each set of kernel modules for each firmware that they build would likely be a serious challenge as well. I can't say for sure. They would have to comment on it.

    I recall seeing somewhere that they would be prepared to build and provide packages proposed by the community, but again for kernel mods this could be a more difficult challenge than for just plain old software packages.

    Going out on a limb here, but if the community wanted to, I guess they could fork the Onion source and provide a more comprehensive set of kernel mods alongside a community built kernel. Not sure how practical that would be, but in the end it may just be easier for each of us to build what we need ourselves. That's certainly a possibility now, unlike a couple of years ago.



  • One positive that I've noticed is that the reboot and poweroff utilities seem to now do what they are intended to do (or a reasonable facsimile thereof...):

    root@Omega-C0D3:/# reboot
    root@Omega-C0D3:/# [ 3850.077158] br-wlan: port 1(ra0) entered disabled state
    [ 3850.097881] device ra0 left promiscuous mode
    [ 3850.102402] br-wlan: port 1(ra0) entered disabled state
    [ 3854.635855] Removing MTD device #6 (rootfs_data) with use count 1
    [ 3854.674167] 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
    
    root@Omega-C0D3:/# poweroff
    root@Omega-C0D3:/# [  372.302952] br-wlan: port 1(ra0) entered disabled state
    [  372.325021] device ra0 left promiscuous mode
    [  372.329476] br-wlan: port 1(ra0) entered disabled state
    [  376.622822] Removing MTD device #6 (rootfs_data) with use count 1
    [  376.658585] reboot: System halted
    


  • Can you give us more details about the steps?
    I'm trying to build the branch 18.01 in docker but it fails.
    How did you update and install the feeds?

    I've successfully built the lede branch with Docker. But I get an error with the following steps:

    I ran docker container again:

    1. docker run -it onion/omega2-source /bin/bash
    2. apt-get update
    3. apt-get -f install
    4. apt-get install apt-utils time
    5. git pull
    6. git checkout openwrt-18.06
    7. make

    Am I missing someting?



  • @Geo11

    Can you give us more details about the steps?

    Let me see if I can put together a step-by-step.

    I'm trying to build the branch 18.01 in docker but it fails.
    How did you update and install the feeds?

    root@14bde96a75fb:~/source# ./scripts/feeds update -a
    
    root@14bde96a75fb:~/source# ./scripts/feeds install -a
    


  • Thank you very much!
    I'll give it a try!

    I also tried this image (not the snapshot) but it doesn't seem to work properly.
    I can't connect to my wifi network as a client.

    After the compile is finished where can I find the binary?

    I think I found it /source/bin/targets/ramips/mt7688/

    /=============================================================/

    I successfully built the branch 18.01 with Docker.
    My version is: Ω-ware: 0.3.0 b207



  • @zedf

    successfully built the branch 18.01 with Docker.
    My version is: Ω-ware: 0.3.0 b207

    Good to hear.
    For anyone else seeking steps and confirmation:

    1. docker run -it onion/omega2-source /bin/bash
    2. apt-get update
    3. apt-get -f install
    4. apt-get install apt-utils time
    5. git checkout .config
    6. git pull
    7. git checkout openwrt-18.06
    8. ./scripts/feeds update -a
    9. ./scripts/feeds install -a
    10. git checkout .config
    11. make
    C:\>docker run -it onion/omega2-source /bin/bash
    root@2bc2236f8b30:~/source# apt-get update
    Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
    Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
    Get:3 http://archive.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
    Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [415 kB]
    Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [2684 B]
    Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [302 kB]
    Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1167 kB]
    Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [13.1 kB]
    Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [927 kB]
    Get:10 http://archive.ubuntu.com/ubuntu xenial-security/main Sources [175 kB]
    Get:11 http://archive.ubuntu.com/ubuntu xenial-security/restricted Sources [2243 B]
    Get:12 http://archive.ubuntu.com/ubuntu xenial-security/universe Sources [115 kB]
    Get:13 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [767 kB]
    Get:14 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [12.7 kB]
    Get:15 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [526 kB]
    Fetched 4639 kB in 57s (81.0 kB/s)
    Reading package lists... Done
    root@2bc2236f8b30:~/source# apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following additional packages will be installed:
      nodejs nodejs-dev
    Suggested packages:
      debhelper
    The following NEW packages will be installed:
      nodejs
    The following packages will be upgraded:
      nodejs-dev
    1 upgraded, 1 newly installed, 0 to remove and 176 not upgraded.
    Need to get 3427 kB of archives.
    After this operation, 13.2 MB of additional disk space will be used.
    Do you want to continue? [Y/n]
    Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 nodejs-dev amd64 4.2.6~dfsg-1ubuntu4.2 [265 kB]
    Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 nodejs amd64 4.2.6~dfsg-1ubuntu4.2 [3162 kB]
    Fetched 3427 kB in 51s (67.0 kB/s)
    debconf: delaying package configuration, since apt-utils is not installed
    (Reading database ... 31071 files and directories currently installed.)
    Preparing to unpack .../nodejs-dev_4.2.6~dfsg-1ubuntu4.2_amd64.deb ...
    Unpacking nodejs-dev (4.2.6~dfsg-1ubuntu4.2) over (4.2.6~dfsg-1ubuntu4.1) ...
    Selecting previously unselected package nodejs.
    Preparing to unpack .../nodejs_4.2.6~dfsg-1ubuntu4.2_amd64.deb ...
    Unpacking nodejs (4.2.6~dfsg-1ubuntu4.2) ...
    Setting up nodejs (4.2.6~dfsg-1ubuntu4.2) ...
    update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
    Setting up nodejs-dev (4.2.6~dfsg-1ubuntu4.2) ...
    root@2bc2236f8b30:~/source# apt-get install apt-utils time
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
      apt libapt-inst2.0 libapt-pkg5.0
    Suggested packages:
      aptitude | synaptic | wajig apt-doc python-apt
    The following NEW packages will be installed:
      apt-utils libapt-inst2.0 time
    The following packages will be upgraded:
      apt libapt-pkg5.0
    2 upgraded, 3 newly installed, 0 to remove and 174 not upgraded.
    Need to get 2026 kB of archives.
    After this operation, 1409 kB of additional disk space will be used.
    Do you want to continue? [Y/n]
    Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapt-pkg5.0 amd64 1.2.29 [707 kB]
    Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt amd64 1.2.29 [1041 kB]
    Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapt-inst2.0 amd64 1.2.29 [55.5 kB]
    Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt-utils amd64 1.2.29 [196 kB]
    Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 time amd64 1.7-25.1 [26.2 kB]
    Fetched 2026 kB in 20s (100 kB/s)
    debconf: delaying package configuration, since apt-utils is not installed
    (Reading database ... 31127 files and directories currently installed.)
    Preparing to unpack .../libapt-pkg5.0_1.2.29_amd64.deb ...
    Unpacking libapt-pkg5.0:amd64 (1.2.29) over (1.2.12~ubuntu16.04.1) ...
    Processing triggers for libc-bin (2.23-0ubuntu3) ...
    Setting up libapt-pkg5.0:amd64 (1.2.29) ...
    Processing triggers for libc-bin (2.23-0ubuntu3) ...
    (Reading database ... 31127 files and directories currently installed.)
    Preparing to unpack .../archives/apt_1.2.29_amd64.deb ...
    Unpacking apt (1.2.29) over (1.2.12~ubuntu16.04.1) ...
    Processing triggers for libc-bin (2.23-0ubuntu3) ...
    Setting up apt (1.2.29) ...
    Installing new version of config file /etc/apt/apt.conf.d/01autoremove ...
    Installing new version of config file /etc/cron.daily/apt-compat ...
    Installing new version of config file /etc/kernel/postinst.d/apt-auto-removal ...
    Processing triggers for libc-bin (2.23-0ubuntu3) ...
    Selecting previously unselected package libapt-inst2.0:amd64.
    (Reading database ... 31129 files and directories currently installed.)
    Preparing to unpack .../libapt-inst2.0_1.2.29_amd64.deb ...
    Unpacking libapt-inst2.0:amd64 (1.2.29) ...
    Selecting previously unselected package apt-utils.
    Preparing to unpack .../apt-utils_1.2.29_amd64.deb ...
    Unpacking apt-utils (1.2.29) ...
    Selecting previously unselected package time.
    Preparing to unpack .../time_1.7-25.1_amd64.deb ...
    Unpacking time (1.7-25.1) ...
    Processing triggers for libc-bin (2.23-0ubuntu3) ...
    Setting up libapt-inst2.0:amd64 (1.2.29) ...
    Setting up apt-utils (1.2.29) ...
    Setting up time (1.7-25.1) ...
    Processing triggers for libc-bin (2.23-0ubuntu3) ...
    root@2bc2236f8b30:~/source# git checkout .config
    root@2bc2236f8b30:~/source# git pull
    remote: Enumerating objects: 8963, done.
    remote: Counting objects: 100% (8963/8963), done.
    remote: Compressing objects: 100% (15/15), done.
    remote: Total 31097 (delta 8949), reused 8952 (delta 8947), pack-reused 22134
    Receiving objects: 100% (31097/31097), 14.73 MiB | 130.00 KiB/s, done.
    Resolving deltas: 100% (20603/20603), completed with 2881 local objects.
    From https://github.com/OnionIoT/source
       d26c631..8d3b49a  lede-17.01 -> origin/lede-17.01
     * [new branch]      openwrt-18.06 -> origin/openwrt-18.06
     * [new tag]         v0.2.0     -> v0.2.0
     * [new tag]         v0.2.1     -> v0.2.1
     * [new tag]         v0.2.2     -> v0.2.2
    Updating d26c631..8d3b49a
    Fast-forward
     .config                                 | 41 +++++++++++++++++------------------------
     CHANGELOG.md                            | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     README.md                               | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
     build_info.json                         |  2 +-
     feeds.conf                              |  2 +-
     files/etc/hotplug.d/usb/20-autorun      | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     files/etc/uci-defaults/12_onion_version |  4 ++--
     files/etc/uci-defaults/99_mosquitto_ws  | 16 ++++++++++++++++
     package/system/mountd/files/mountd.init |  2 +-
     scripts/onion-minimal-build.sh          |  9 +++++++++
     10 files changed, 284 insertions(+), 35 deletions(-)
     create mode 100755 files/etc/hotplug.d/usb/20-autorun
     create mode 100755 files/etc/uci-defaults/99_mosquitto_ws
     create mode 100644 scripts/onion-minimal-build.sh
    root@2bc2236f8b30:~/source# git checkout openwrt-18.06
    Branch openwrt-18.06 set up to track remote branch openwrt-18.06 from origin.
    Switched to a new branch 'openwrt-18.06'
    root@2bc2236f8b30:~/source# ./scripts/feeds update -a
    Source of feed packages has changed, replacing copy
    Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git;openwrt-18.06' ...
    Cloning into './feeds/packages'...
    remote: Enumerating objects: 4248, done.
    remote: Counting objects: 100% (4248/4248), done.
    remote: Compressing objects: 100% (3601/3601), done.
    remote: Total 4248 (delta 178), reused 3047 (delta 102)
    Receiving objects: 100% (4248/4248), 2.50 MiB | 120.00 KiB/s, done.
    Resolving deltas: 100% (178/178), done.
    Checking connectivity... done.
    Create index file './feeds/packages.index'
    Checking 'working-make'... ok.
    Checking 'case-sensitive-fs'... ok.
    Checking 'proper-umask'... ok.
    Checking 'gcc'... ok.
    Checking 'working-gcc'... ok.
    Checking 'g++'... ok.
    Checking 'working-g++'... ok.
    Checking 'ncurses'... ok.
    Checking 'perl-thread-queue'... ok.
    Checking 'tar'... ok.
    Checking 'find'... ok.
    Checking 'bash'... ok.
    Checking 'patch'... ok.
    Checking 'diff'... ok.
    Checking 'cp'... ok.
    Checking 'seq'... ok.
    Checking 'awk'... ok.
    Checking 'grep'... ok.
    Checking 'getopt'... ok.
    Checking 'stat'... ok.
    Checking 'unzip'... ok.
    Checking 'bzip2'... ok.
    Checking 'wget'... ok.
    Checking 'time'... ok.
    Checking 'perl'... ok.
    Checking 'python'... ok.
    Checking 'git'... ok.
    Checking 'file'... ok.
    Checking 'ldconfig-stub'... ok.
    Collecting package info: doneing...ages/utils/zsheinfoeepylse-exporter-luay
    Source of feed luci has changed, replacing copy
    Updating feed 'luci' from 'https://git.openwrt.org/project/luci.git;openwrt-18.06' ...
    Cloning into './feeds/luci'...
    remote: Enumerating objects: 3907, done.
    remote: Counting objects: 100% (3907/3907), done.
    remote: Compressing objects: 100% (2234/2234), done.
    remote: Total 3907 (delta 800), reused 2759 (delta 371)
    Receiving objects: 100% (3907/3907), 3.73 MiB | 148.00 KiB/s, done.
    Resolving deltas: 100% (800/800), done.
    Checking connectivity... done.
    Create index file './feeds/luci.index'
    Collecting package info: doneing.../themes/luci-theme-openwrtl-genericyingvuting
    Source of feed routing has changed, replacing copy
    Updating feed 'routing' from 'https://git.openwrt.org/feed/routing.git;openwrt-18.06' ...
    Cloning into './feeds/routing'...
    remote: Enumerating objects: 407, done.
    remote: Counting objects: 100% (407/407), done.
    remote: Compressing objects: 100% (337/337), done.
    remote: Total 407 (delta 27), reused 132 (delta 2)
    Receiving objects: 100% (407/407), 283.47 KiB | 383.00 KiB/s, done.
    Resolving deltas: 100% (27/27), done.
    Checking connectivity... done.
    Create index file './feeds/routing.index'
    Collecting package info: doneing...ing/visrouterd2criptsy-openwrt
    Source of feed telephony has changed, replacing copy
    Updating feed 'telephony' from 'https://git.openwrt.org/feed/telephony.git;openwrt-18.06' ...
    Cloning into './feeds/telephony'...
    remote: Enumerating objects: 263, done.
    remote: Counting objects: 100% (263/263), done.
    remote: Compressing objects: 100% (252/252), done.
    remote: Total 263 (delta 21), reused 29 (delta 0)
    Receiving objects: 100% (263/263), 168.41 KiB | 295.00 KiB/s, done.
    Resolving deltas: 100% (21/21), done.
    Checking connectivity... done.
    Create index file './feeds/telephony.index'
    ERROR: please fix feeds/telephony/net/freeswitch/Makefile - see logs/feeds/telephony/net/freeswitch/dump.txt for details
    Collecting package info: doneing...phony/net/yateepdyumpxtable-mod-bcg729
    Source of feed onion has changed, replacing copy
    Updating feed 'onion' from 'https://github.com/OnionIoT/OpenWRT-Packages.git;openwrt-18.06' ...
    Cloning into './feeds/onion'...
    remote: Enumerating objects: 360, done.
    remote: Counting objects: 100% (360/360), done.
    remote: Compressing objects: 100% (242/242), done.
    remote: Total 360 (delta 52), reused 274 (delta 18), pack-reused 0
    Receiving objects: 100% (360/360), 2.46 MiB | 115.00 KiB/s, done.
    Resolving deltas: 100% (52/52), done.
    Checking connectivity... done.
    Create index file './feeds/onion.index'
    Collecting package info: doneing...n/wifi-warp-coreonsole-appson-iot
    root@2bc2236f8b30:~/source# ./scripts/feeds install -a
    WARNING: Makefile 'package/feeds/telephony/asterisk-13.x/Makefile' has a dependency on 'libspeexdsp', which does not exist
    WARNING: Makefile 'package/feeds/telephony/asterisk-13.x/Makefile' has a dependency on 'libspeexdsp', which does not exist
    WARNING: Makefile 'package/feeds/telephony/asterisk-13.x/Makefile' has a dependency on 'libmysqlclient', which does not exist
    WARNING: Makefile 'package/feeds/telephony/asterisk-13.x/Makefile' has a dependency on 'libsrtp2', which does not exist
    WARNING: Makefile 'package/feeds/telephony/asterisk-13.x/Makefile' has a dependency on 'libsrtp2', which does not exist
    WARNING: Makefile 'package/feeds/telephony/asterisk-chan-dongle/Makefile' has a dependency on 'asterisk15', which does not exist
    WARNING: Makefile 'package/feeds/telephony/asterisk-g72x/Makefile' has a dependency on 'asterisk15', which does not exist
    WARNING: Makefile 'package/feeds/telephony/baresip/Makefile' has a dependency on 'libspeexdsp', which does not exist
    WARNING: Makefile 'package/feeds/telephony/baresip/Makefile' has a dependency on 'libspeexdsp', which does not exist
    WARNING: Makefile 'package/feeds/onion/bluez/Makefile' has a dependency on 'udev', which does not exist
    WARNING: Makefile 'package/feeds/onion/bluez/Makefile' has a dependency on 'libspeexdsp', which does not exist
    WARNING: Makefile 'package/feeds/onion/blynk-library/Makefile' has a dependency on 'nodejs', which does not exist
    WARNING: Makefile 'package/feeds/packages/clamav/Makefile' has a dependency on 'libpcre2', which does not exist
    WARNING: Makefile 'package/feeds/packages/clamav/Makefile' has a dependency on 'musl-fts', which does not exist
    WARNING: Makefile 'package/feeds/packages/clamav/Makefile' has a dependency on 'libpcre2', which does not exist
    WARNING: Makefile 'package/feeds/packages/clamav/Makefile' has a dependency on 'musl-fts', which does not exist
    WARNING: Makefile 'package/feeds/packages/collectd/Makefile' has a dependency on 'libmysqlclient-r', which does not exist
    WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libidn2', which does not exist
    WARNING: Makefile 'package/feeds/packages/dovecot/Makefile' has a dependency on 'libmysqlclient', which does not exist
    WARNING: Makefile 'package/feeds/packages/elektra/Makefile' has a dependency on 'libyaml-cpp', which does not exist
    WARNING: Makefile 'package/feeds/packages/ffmpeg/Makefile' has a dependency on 'fdk-aac', which does not exist
    WARNING: Makefile 'package/feeds/telephony/freeswitch/Makefile' has a dependency on 'libspeexdsp', which does not exist
    WARNING: Makefile 'package/feeds/packages/gammu/Makefile' has a dependency on 'libmariadbclient', which does not exist
    WARNING: Makefile 'package/feeds/packages/gnunet/Makefile' has a dependency on 'libmysqlclient', which does not exist
    WARNING: Makefile 'package/feeds/packages/gnurl/Makefile' has a dependency on 'libidn2', which does not exist
    WARNING: Makefile 'package/feeds/routing/hnetd/Makefile' has a dependency on 'miniupnpd', which does not exist
    WARNING: Makefile 'package/feeds/routing/hnetd/Makefile' has a dependency on 'miniupnpd', which does not exist
    WARNING: Makefile 'package/feeds/routing/hnetd/Makefile' has a dependency on 'miniupnpd', which does not exist
    WARNING: Makefile 'package/feeds/packages/knxd/Makefile' has a dependency on 'libfmt', which does not exist
    WARNING: Makefile 'package/feeds/packages/lcd4linux/Makefile' has a dependency on 'libmysqlclient', which does not exist
    WARNING: Makefile 'package/feeds/packages/lcd4linux/Makefile' has a dependency on 'libmysqlclient', which does not exist
    WARNING: Makefile 'package/feeds/packages/libdbi-drivers/Makefile' has a dependency on 'libmysqlclient', which does not exist
    WARNING: Makefile 'package/feeds/packages/libinput/Makefile' has a dependency on 'libudev-fbsd', which does not exist
    WARNING: Makefile 'package/feeds/packages/libzdb/Makefile' has a dependency on 'libmysqlclient', which does not exist
    WARNING: Makefile 'package/feeds/packages/lighttpd/Makefile' has a dependency on 'libmysqlclient', which does not exist
    WARNING: Makefile 'package/feeds/packages/lighttpd/Makefile' has a dependency on 'libmysqlclient', which does not exist
    WARNING: Makefile 'package/feeds/packages/luasql/Makefile' has a dependency on 'libmysqlclient', which does not exist
    WARNING: Makefile 'package/feeds/luci/luci/Makefile' has a dependency on 'rpcd-mod-rrdns', which does not exist
    WARNING: Makefile 'package/feeds/luci/luci-app-upnp/Makefile' has a dependency on 'miniupnpd', which does not exist
    WARNING: Makefile 'package/feeds/luci/luci-base/Makefile' has a dependency on 'liblucihttp-lua', which does not exist
    WARNING: Makefile 'package/feeds/luci/luci-lib-httpclient/Makefile' has a dependency on 'luci-lib-httpprotoutils', which does not exist
    WARNING: Makefile 'package/feeds/packages/noddos/Makefile' has a dependency on 'libyaml-cpp', which does not exist
    WARNING: Makefile 'package/feeds/packages/node-hid/Makefile' has a build dependency on 'libudev-fbsd', which does not exist
    WARNING: Makefile 'package/feeds/onion/onion-console/Makefile' has a dependency on 'nodejs', which does not exist
    WARNING: Makefile 'package/feeds/packages/php7/Makefile' has a dependency on 'uw-imap', which does not exist
    WARNING: Makefile 'package/feeds/packages/php7-pecl-http/Makefile' has a dependency on 'libidn2', which does not exist
    WARNING: Makefile 'package/feeds/telephony/pjproject/Makefile' has a dependency on 'libsrtp2', which does not exist
    WARNING: Makefile 'package/feeds/telephony/pjproject/Makefile' has a dependency on 'libsrtp2', which does not exist
    WARNING: Makefile 'package/feeds/onion/pulseaudio/Makefile' has a dependency on 'libspeexdsp', which does not exist
    WARNING: Makefile 'package/feeds/packages/python/python-mysql/Makefile' has a dependency on 'libmysqlclient', which does not exist
    WARNING: Makefile 'package/feeds/packages/qemu/Makefile' has a dependency on 'pixman', which does not exist
    WARNING: Makefile 'package/feeds/packages/qemu/Makefile' has a dependency on 'pixman', which does not exist
    WARNING: Makefile 'package/feeds/telephony/restund/Makefile' has a dependency on 'libmysqlclient', which does not exist
    WARNING: Makefile 'package/feeds/packages/seafile-server/Makefile' has a dependency on 'libmysqlclient', which does not exist
    WARNING: Makefile 'package/feeds/packages/strongswan/Makefile' has a dependency on 'libmysqlclient-r', which does not exist
    WARNING: Makefile 'package/feeds/onion/transmission-console-app/Makefile' has a dependency on 'Onion-Console', which does not exist
    WARNING: Makefile 'package/feeds/onion/transmission-console-app/Makefile' has a dependency on 'transmission-daemon', which does not exist
    WARNING: Makefile 'package/feeds/packages/ulogd/Makefile' has a dependency on 'libmysqlclient', which does not exist
    WARNING: Makefile 'package/feeds/packages/usbip/Makefile' has a dependency on 'libudev-fbsd', which does not exist
    WARNING: Makefile 'package/feeds/telephony/yate/Makefile' has a dependency on 'libmysqlclient-r', which does not exist
    Installing all packages from feed packages.
    Installing package 'acpica-unix' from packages
    Installing package 'ariang' from packages
    Installing package 'auc' from packages
    Installing package 'beanstalkd' from packages
    Installing package 'beep' from packages
    Installing package 'bitlbee' from packages
    Installing package 'bmx7-dnsupdate' from packages
    Installing package 'inotify-tools' from packages
    Installing package 'clamsmtp' from packages
    Installing package 'conserver' from packages
    Installing package 'crconf' from packages
    Installing package 'danish' from packages
    Installing package 'dejavu-fonts-ttf' from packages
    Installing package 'dfu-util' from packages
    Installing package 'digitemp' from packages
    Installing package 'domoticz' from packages
    Installing package 'openzwave' from packages
    Installing package 'fdk-aac' from packages
    Installing package 'foolsm' from packages
    Installing package 'fping' from packages
    Installing package 'gawk' from packages
    Installing package 'getdns' from packages
    Installing package 'libidn2' from packages
    Installing package 'golang' from packages
    Installing package 'gphoto2' from packages
    Installing package 'libgphoto2' from packages
    Installing package 'greyfix' from packages
    Installing package 'httping' from packages
    Installing package 'i2pd' from packages
    Installing package 'ifstat' from packages
    Installing package 'inadyn' from packages
    Installing package 'ipmitool' from packages
    Installing package 'jq' from packages
    Installing package 'kadnode' from packages
    Installing package 'lcdproc' from packages
    Installing package 'ldbus' from packages
    Installing package 'libfmt' from packages
    Installing package 'libglog' from packages
    Installing package 'libgpiod' from packages
    Installing package 'libiio' from packages
    Installing package 'libndpi' from packages
    Installing package 'libnetconf2' from packages
    Installing package 'libyang' from packages
    Installing package 'libssh' from packages
    Installing package 'libredblack' from packages
    Installing package 'libsoc' from packages
    Installing package 'libtirpc' from packages
    Installing package 'libudev-fbsd' from packages
    Installing package 'libuhttpd' from packages
    Installing package 'libuwsc' from packages
    Installing package 'libyaml-cpp' from packages
    Installing package 'luv' from packages
    Installing package 'mariadb' from packages
    Installing package 'mikrotik-btest' from packages
    Installing package 'miniupnpd' from packages
    Installing package 'moreutils' from packages
    Installing package 'musl-fts' from packages
    Installing package 'netopeer2' from packages
    Installing package 'sysrepo' from packages
    Installing package 'netwhere' from packages
    Installing package 'node-mozilla-iot-gateway' from packages
    Installing package 'opendkim' from packages
    Installing package 'sendmail' from packages
    Installing package 'opus-tools' from packages
    Installing package 'pagekitec' from packages
    Installing package 'pcmciautils' from packages
    Installing package 'pcre2' from packages
    Installing package 'pcsc-tools' from packages
    Installing package 'perl-authen-sasl' from packages
    Installing package 'perl-authen-sasl-xs' from packages
    Installing package 'perl-text-csv_xs' from packages
    Installing package 'pigeonhole' from packages
    Installing package 'pixiewps' from packages
    Installing package 'pixman' from packages
    Installing package 'progress' from packages
    Installing package 'prometheus-node-exporter-lua' from packages
    Installing package 'psqlodbc' from packages
    Installing package 'rtl_433' from packages
    Installing package 'rtty' from packages
    Installing package 'setserial' from packages
    Installing package 'shorewall' from packages
    Installing package 'shorewall-core' from packages
    Installing package 'shorewall-lite' from packages
    Installing package 'shorewall6' from packages
    Installing package 'shorewall6-lite' from packages
    Installing package 'simple-adblock' from packages
    Installing package 'speexdsp' from packages
    Installing package 'stubby' from packages
    Installing package 'tio' from packages
    Installing package 'udns' from packages
    Installing package 'uledd' from packages
    Installing package 'uw-imap' from packages
    Installing package 'v4l2rtspserver' from packages
    Installing package 'vpnbypass' from packages
    Installing package 'wakeonlan' from packages
    Installing package 'wifidog-ng' from packages
    Installing package 'yara' from packages
    Installing all packages from feed luci.
    Installing package 'luci-app-attendedsysupgrade' from luci
    Installing package 'luci-app-bcp38' from luci
    Installing package 'luci-app-clamav' from luci
    Installing package 'luci-app-cshark' from luci
    Installing package 'luci-app-dnscrypt-proxy' from luci
    Installing package 'luci-lib-httpprotoutils' from luci
    Installing package 'luci-app-e2guardian' from luci
    Installing package 'luci-app-lxc' from luci
    Installing package 'luci-app-mwan3' from luci
    Installing package 'luci-app-pagekitec' from luci
    Installing package 'luci-app-simple-adblock' from luci
    Installing package 'luci-app-squid' from luci
    Installing package 'luci-app-vpnbypass' from luci
    Installing package 'luci-proto-ncm' from luci
    Installing package 'lucihttp' from luci
    Installing package 'rpcd-mod-rrdns' from luci
    Installing all packages from feed routing.
    Installing all packages from feed telephony.
    Installing package 'asterisk-15.x' from telephony
    Installing package 'libsrtp2' from telephony
    Installing package 'asterisk-15.x-chan-lantiq' from telephony
    Installing package 'asterisk-chan-sccp' from telephony
    Installing package 'freeswitch-stable' from telephony
    Installing package 'gsmlib' from telephony
    Installing package 'libctb' from telephony
    Installing package 'freeswitch-stable-mod-bcg729' from telephony
    Installing package 'kamailio-5.x' from telephony
    Installing package 'sipgrep' from telephony
    Installing package 'sngrep' from telephony
    Installing all packages from feed onion.
    Installing package 'device-client' from onion
    Installing package 'libv8m-rb' from onion
    Installing package 'nodejs' from onion
    Installing package 'o2-wifi' from onion
    Installing package 'omega2pro' from onion
    Installing package 'oos-app-legacy-console' from onion
    Installing package 'oos-app-nodered' from onion
    Installing package 'oos-app-sparkfun-qwiic' from onion
    Installing package 'p44-ledchain' from onion
    Installing package 'ralink-wifi-mt76x8' from onion
    Installing package 'rtl8812au' from onion
    Installing package 'serialport-node' from onion
    Installing package 'setup-wizard' from onion
    Installing package 'ubus-intf' from onion
    Installing package 'zeromq' from onion
    WARNING: No feed for source package 'libuuid' found
    root@2bc2236f8b30:~/source# git status
    On branch openwrt-18.06
    Your branch is up-to-date with 'origin/openwrt-18.06'.
    Changes not staged for commit:
      (use "git add <file>..." to update what will be committed)
      (use "git checkout -- <file>..." to discard changes in working directory)
    
            modified:   .config
    
    no changes added to commit (use "git add" and/or "git commit -a")
    root@2bc2236f8b30:~/source# git checkout .config
    


  • Split over two posts due to post size limitations.

    root@2bc2236f8b30:~/source# make
    Collecting package info: doneing...eds/telephony/sngrepp2-5.xtable-mod-bcg729
    WARNING: Makefile 'package/feeds/onion/bluez/Makefile' has a dependency on 'udev', which does not exist
    WARNING: Makefile 'package/feeds/onion/transmission-console-app/Makefile' has a dependency on 'Onion-Console', which does not exist
    WARNING: Makefile 'package/feeds/onion/transmission-console-app/Makefile' has a dependency on 'transmission-daemon', which does not exist
    WARNING: Makefile 'package/feeds/onion/zeromq/Makefile' has a build dependency on 'libuuid', which does not exist
    make[2]: Entering directory '/root/source/scripts/config'
    make[2]: Leaving directory '/root/source/scripts/config'
    time: target/linux/prereq#0.07#0.02#0.17
    WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!
     make[1] world
     make[2] tools/compile
     make[3] -C tools/flock compile
     make[3] -C tools/sed compile
     make[3] -C tools/patch compile
     make[3] -C tools/xz compile
     make[3] -C tools/tar compile
     make[3] -C tools/m4 compile
     make[3] -C tools/autoconf compile
     make[3] -C tools/pkg-config compile
     make[3] -C tools/automake compile
     make[3] -C tools/missing-macros compile
     make[3] -C tools/libtool compile
     make[3] -C tools/gmp compile
     make[3] -C tools/mpfr compile
     make[3] -C tools/mpc compile
     make[3] -C tools/libelf compile
     make[3] -C tools/expat compile
     make[3] -C tools/flex compile
     make[3] -C tools/bison compile
     make[3] -C tools/mklibs compile
     make[3] -C tools/libressl compile
     make[3] -C tools/cmake compile
     make[3] -C tools/zlib compile
     make[3] -C tools/sstrip compile
     make[3] -C tools/make-ext4fs compile
     make[3] -C tools/e2fsprogs compile
     make[3] -C tools/mtd-utils compile
     make[3] -C tools/mkimage compile
     make[3] -C tools/firmware-utils compile
     make[3] -C tools/patch-image compile
     make[3] -C tools/findutils compile
     make[3] -C tools/quilt compile
     make[3] -C tools/padjffs2 compile
     make[3] -C tools/mm-macros compile
     make[3] -C tools/scons compile
     make[3] -C tools/bc compile
     make[3] -C tools/gengetopt compile
     make[3] -C tools/patchelf compile
     make[3] -C tools/mtools compile
     make[3] -C tools/dosfstools compile
     make[3] -C tools/lzma compile
     make[3] -C tools/squashfs4 compile
     make[2] toolchain/compile
     make[3] -C toolchain/gdb compile
     make[3] -C toolchain/binutils compile
     make[3] -C toolchain/gcc/initial compile
     make[3] -C toolchain/kernel-headers compile
     make[3] -C toolchain/musl compile
     make[3] -C toolchain/gcc/final compile
     make[3] -C toolchain/fortify-headers compile
     make[2] target/compile
     make[3] -C target/linux compile
     make[2] diffconfig
     make[2] package/cleanup
     make[2] package/compile
     make[3] -C package/libs/libjson-c host-compile
     make[3] -C package/libs/libubox host-compile
     make[3] -C package/system/opkg host-compile
     make[3] -C package/libs/toolchain compile
     make[3] -C package/libs/libnl-tiny compile
     make[3] -C package/libs/libjson-c compile
     make[3] -C package/utils/lua compile
     make[3] -C package/libs/libubox compile
     make[3] -C package/system/ubus compile
     make[3] -C package/system/uci compile
     make[3] -C package/network/config/netifd compile
     make[3] -C package/firmware/linux-firmware compile
     make[3] -C package/firmware/prism54-firmware compile
     make[3] -C package/kernel/linux compile
     make[3] -C package/system/ubox compile
     make[3] -C package/libs/ncurses host-compile
     make[3] -C package/libs/zlib compile
     make[3] -C package/libs/ncurses compile
     make[3] -C package/utils/util-linux compile
     make[3] -C package/system/fstools compile
     make[3] -C package/system/fwtool host-compile
     make[3] -C package/system/fwtool compile
     make[3] -C package/system/procd compile
     make[3] -C package/system/usign host-compile
     make[3] -C package/utils/jsonfilter compile
     make[3] -C package/system/openwrt-keyring compile
     make[3] -C package/system/usign compile
     make[3] -C package/base-files compile
     make[3] -C package/boot/uboot-envtools compile
     make[3] -C feeds/onion/onion-sh-lib compile
     make[3] -C feeds/packages/libs/libxml2 compile
     make[3] -C package/libs/uclibc++ compile
     make[3] -C feeds/packages/libs/db47 compile
     make[3] -C feeds/packages/libs/expat compile
     make[3] -C package/libs/gettext-full host-compile
     make[3] -C feeds/packages/libs/gdbm compile
     make[3] -C feeds/packages/libs/libffi compile
     make[3] -C feeds/packages/lang/python/python-pip-conf compile
     make[3] -C feeds/packages/libs/expat host-compile
     make[3] -C package/utils/bzip2 host-compile
     make[3] -C feeds/packages/lang/python/python host-compile
     make[3] -C package/libs/readline compile
     make[3] -C feeds/packages/libs/sqlite3 compile
     make[3] -C package/libs/openssl compile
     make[3] -C package/utils/bzip2 compile
     make[3] -C feeds/packages/lang/python/python compile
     make[3] -C feeds/packages/libs/libffi host-compile
     make[3] -C feeds/packages/lang/python/python3 host-compile
     make[3] -C feeds/packages/utils/bash compile
     make[3] -C feeds/packages/utils/xz compile
     make[3] -C feeds/packages/lang/python/python3 compile
     make[3] -C package/network/utils/iwinfo compile
     make[3] -C package/system/rpcd compile
     make[3] -C feeds/onion/i2c-exp-driver compile
     make[3] -C feeds/packages/utils/bc compile
     make[3] -C feeds/packages/utils/attr compile
     make[3] -C feeds/packages/utils/acl compile
     make[3] -C feeds/packages/libs/libcap compile
     make[3] -C package/libs/gmp compile
     make[3] -C feeds/packages/utils/coreutils compile
     make[3] -C feeds/onion/adc-exp compile
     make[3] -C feeds/packages/libs/confuse compile
     make[3] -C package/libs/libusb compile
     make[3] -C feeds/packages/libs/libftdi1 compile
     make[3] -C package/libs/gettext compile
     make[3] -C package/libs/libiconv compile
     make[3] -C package/libs/argp-standalone compile
     make[3] -C package/libs/elfutils compile
     make[3] -C package/libs/libusb-compat compile
     make[3] -C feeds/onion/avrdude/avrdude compile
     make[3] -C feeds/onion/arduino-dock compile
     make[3] -C feeds/onion/console-install-tool compile
     make[3] -C feeds/onion/dht-sensor compile
     make[3] -C feeds/onion/fast-gpio compile
     make[3] -C feeds/onion/hostname-tool compile
     make[3] -C feeds/packages/utils/pcsc-lite compile
     make[3] -C package/libs/libtool compile
     make[3] -C feeds/packages/utils/ccid compile
     make[3] -C feeds/packages/utils/vim compile
     make[3] -C feeds/onion/libnfc compile
     make[3] -C feeds/onion/libfreefare compile
     make[3] -C feeds/onion/node-red-install-tool compile
     make[3] -C feeds/onion/ogps compile
     make[3] -C feeds/onion/omega2-ctrl compile
     make[3] -C feeds/packages/utils/tar compile
     make[3] -C package/utils/e2fsprogs host-compile
     make[3] -C package/utils/e2fsprogs compile
     make[3] -C feeds/onion/omega2pro compile
     make[3] -C feeds/onion/deprecated/nodejs compile
     make[3] -C feeds/onion/shellinabox compile
     make[3] -C feeds/packages/net/cgi-io compile
     make[3] -C feeds/packages/libs/libjpeg compile
     make[3] -C feeds/packages/multimedia/mjpg-streamer compile
     make[3] -C feeds/onion/onion-console compile
     make[3] -C package/libs/mbedtls compile
     make[3] -C package/network/utils/curl compile
     make[3] -C feeds/onion/onion-helper compile
     make[3] -C feeds/packages/lang/node compile
     make[3] -C feeds/onion/onion-node-red compile
     make[3] -C feeds/onion/onion-os compile
     make[3] -C feeds/onion/onion-repo-keys compile
     make[3] -C feeds/packages/libs/pcre compile
     make[3] -C feeds/packages/net/wget compile
     make[3] -C feeds/onion/onion-script compile
     make[3] -C feeds/onion/oupgrade compile
     make[3] -C feeds/packages/libs/libugpio compile
     make[3] -C feeds/onion/onion-ubus compile
     make[3] -C package/system/ca-certificates compile
     make[3] -C feeds/onion/oos-app-camera compile
     make[3] -C feeds/packages/utils/zoneinfo compile
     make[3] -C feeds/packages/lang/php7 compile
     make[3] -C feeds/onion/oos-app-editor compile
     make[3] -C feeds/onion/oos-app-legacy-console compile
     make[3] -C feeds/onion/oos-app-nodered compile
     make[3] -C feeds/onion/power-dock compile
     make[3] -C feeds/onion/oos-app-power-dock-2 compile
     make[3] -C feeds/onion/oos-app-rfid compile
     make[3] -C feeds/onion/oos-app-sensor-monitor compile
     make[3] -C feeds/packages/libs/c-ares compile
     make[3] -C feeds/packages/libs/libuv compile
     make[3] -C feeds/packages/libs/libwebsockets compile
     make[3] -C feeds/packages/net/mosquitto compile
     make[3] -C feeds/packages/net/mosquitto compile
     make[3] -C feeds/packages/net/mosquitto compile
     make[3] -C feeds/packages/net/mosquitto compile
     make[3] -C feeds/packages/net/mosquitto compile
     make[3] -C feeds/packages/net/mosquitto compile
     make[3] -C feeds/onion/oos-app-sparkfun-qwiic compile
     make[3] -C feeds/onion/p44-ledchain compile
     make[3] -C feeds/onion/ubidots-client compile
     make[3] -C feeds/onion/url-enc-dec compile
     make[3] -C package/network/utils/maccalc compile
     make[3] -C package/network/utils/wireless-tools compile
     make[3] -C feeds/onion/wifi-warp-core compile
     make[3] -C feeds/packages/utils/dbus compile
     make[3] -C feeds/packages/libs/intltool host-compile
     make[3] -C feeds/packages/libs/libdaemon compile
     make[3] -C feeds/packages/libs/avahi compile 
     make[3] -C feeds/packages/libs/avahi compile
     make[3] -C feeds/packages/kernel/exfat-nofuse compile
     make[3] -C feeds/packages/libs/hidapi compile
     make[3] -C feeds/packages/utils/i2c-tools compile
     make[3] -C feeds/packages/libs/libpam compile
     make[3] -C feeds/packages/net/openssh compile
     make[3] -C feeds/packages/utils/openzwave compile
     make[3] -C package/libs/popt compile
     make[3] -C feeds/packages/net/rsync compile
     make[3] -C feeds/packages/utils/spi-tools compile
     make[3] -C package/firmware/wireless-regdb compile
     make[3] -C package/kernel/gpio-button-hotplug compile
     make[3] -C package/firmware/b43legacy-firmware compile
     make[3] -C package/network/services/hostapd compile
     make[3] -C package/network/utils/iw compile
     make[3] -C package/kernel/mac80211 compile 
     make[3] -C package/kernel/w1-gpio-custom compile
     make[3] -C package/libs/ustream-ssl compile
     make[3] -C package/libs/uclient compile
     make[3] -C package/network/utils/iptables compile
     make[3] -C package/network/config/firewall compile
     make[3] -C package/network/config/swconfig compile
     make[3] -C package/network/ipv6/odhcp6c compile
     make[3] -C package/network/services/dnsmasq compile
     make[3] -C package/network/services/dropbear compile
     make[3] -C package/network/services/odhcpd compile
     make[3] -C package/libs/libpcap compile
     make[3] -C package/network/utils/linux-atm compile
     make[3] -C package/network/utils/resolveip compile
     make[3] -C package/network/services/ppp compile
     make[3] -C package/network/services/uhttpd compile
     make[3] -C package/system/mtd compile
     make[3] -C package/system/opkg compile
     make[3] -C package/utils/busybox compile
     make[2] package/install
     make[2] target/install
     make[3] -C target/linux install
     make[2] package/index
     make[2] checksum
    root@2bc2236f8b30:~/source#
    


  • @cas said in github source openwrt-18.06 branch:

    git checkout .config

    I followed these steps but I get the following issue:

    make -r world: build failed. Please re-run make with -j1 V=s to see what's going on
    /root/source/include/toplevel.mk:216: recipe for target 'world' failed

    Just wondering if these steps are still valid



  • @Andres-Santos
    A more recent set of steps can be found here.
    There's not a huge difference, basically clean the feeds before updating and installing them and symlink to the preferred .config.


Log in to reply
 

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