Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Builder x86/legacy Build #158

Results:

Build successful

SourceStamp:

Repositoryhttps://git.openwrt.org/openwrt/openwrt.git
Branchmaster
Revisionb496a2294c6e663a2dcbf08d714443e758d1269d
Got Revisionb496a2294c6e663a2dcbf08d714443e758d1269d
Changes20 changes

BuildSlave:

slashdirt-dock-03

Reason:

The SingleBranchScheduler scheduler named 'all' triggered this build

Steps and Logfiles:

  1. sharedwd Setting up shared work directory ( 0 secs )
    1. stdio
  2. nproc property 'nproc' set ( 0 secs )
    1. stdio
    2. property changes
  3. dlfindbinpl downloading to findbin.pl ( 0 secs )
    1. - no logs -
  4. gcc property 'cc_command' set ( 0 secs )
    1. stdio
    2. property changes
  5. g++ property 'cxx_command' set ( 0 secs )
    1. stdio
    2. property changes
  6. setproperty property 'ccache_command' set ( 0 secs )
    1. stdio
    2. property changes
  7. dlexpiresh dlexpiresh skipped ( 0 secs )
    1. - no logs -
  8. expire Checking for build tree expiry skipped ( 0 secs )
    1. - no logs -
  9. dlcleanupsh dlcleanupsh skipped ( 0 secs )
    1. - no logs -
  10. cleanold Cleaning previous builds skipped ( 0 secs )
    1. - no logs -
  11. cleanup Cleaning work area skipped ( 0 secs )
    1. - no logs -
  12. tools/clean User-requested "make tools/clean" skipped ( 0 secs )
    1. - no logs -
  13. toolchain/clean User-requested "make toolchain/clean" skipped ( 0 secs )
    1. - no logs -
  14. target/linux/clean User-requested "make target/linux/clean" skipped ( 0 secs )
    1. - no logs -
  15. dirclean User-requested "make dirclean" skipped ( 0 secs )
    1. - no logs -
  16. distclean User-requested "make distclean" skipped ( 0 secs )
    1. - no logs -
  17. gitcheckout Ensure that Git HEAD is sane ( 0 secs )
    1. stdio
  18. gitclean update skipped ( 0 secs )
    1. - no logs -
  19. gitfresh update ( 23 secs )
    1. stdio
  20. fetchrefs Fetching Git remote refs ( 3 secs )
    1. stdio
  21. switchtag Checking out Git tag skipped ( 0 secs )
    1. - no logs -
  22. gitverify Ensure that Git HEAD is pointing to a branch or tag ( 0 secs )
    1. stdio
  23. rmtmp Remove tmp folder ( 0 secs )
    1. stdio
  24. rmfeedlinks Remove feed symlinks ( 0 secs )
    1. stdio
  25. ccachecc downloading to ccache_cc.sh ( 0 secs )
    1. - no logs -
  26. ccachecxx downloading to ccache_cxx.sh ( 0 secs )
    1. - no logs -
  27. updatefeeds Updating feeds ( 48 secs )
    1. stdio
  28. installfeeds Installing feeds ( 35 secs )
    1. stdio
  29. dlconfigseed downloading to .config ( 0 secs )
    1. - no logs -
  30. newconfig Seeding .config ( 0 secs )
    1. stdio
  31. delbin Removing output directory ( 0 secs )
    1. stdio
  32. defconfig Populating .config ( 26 secs )
    1. stdio
  33. checkarch Checking architecture ( 0 secs )
    1. stdio
  34. libc property 'libc' set ( 0 secs )
    1. stdio
    2. property changes
  35. dlkeybuildpub downloading to key-build.pub ( 0 secs )
    1. - no logs -
  36. dlkeybuild downloading to key-build ( 0 secs )
    1. - no logs -
  37. dlkeybuilducert downloading to key-build.ucert ( 0 secs )
    1. - no logs -
  38. dldir Preparing dl/ ( 0 secs )
    1. stdio
  39. dltar Building and installing GNU tar ( 1 mins, 37 secs )
    1. stdio
  40. dlrun Populating dl/ ( 41 secs )
    1. stdio
  41. cleanbase Cleaning base-files ( 15 secs )
    1. stdio
  42. tools Building and installing tools ( 4 mins, 33 secs )
    1. stdio
  43. toolchain Building and installing toolchain ( 14 mins, 22 secs )
    1. stdio
  44. kmods Building kmods ( 4 mins, 56 secs )
    1. stdio
  45. kernelversion property 'kernelversion' set ( 0 secs )
    1. stdio
    2. property changes
  46. pkgclean Cleaning up package build ( 14 secs )
    1. stdio
  47. pkgbuild Building packages ( 11 mins, 57 secs )
    1. stdio
  48. pkginstall Installing packages ( 19 secs )
    1. stdio
  49. pkgindex Indexing packages ( 25 secs )
    1. stdio
  50. stageroot property 'stageroot' set ( 3 secs )
    1. stdio
    2. property changes
  51. filesdir Creating file overlay directory ( 0 secs )
    1. stdio
  52. kmodconfig Embedding kmod repository configuration ( 0 secs )
    1. stdio
  53. images Building and installing images ( 9 mins, 52 secs )
    1. stdio
  54. buildinfo Generating config.buildinfo, version.buildinfo and feeds.buildinfo ( 19 secs )
    1. stdio
  55. checksums Calculating checksums ( 16 secs )
    1. stdio
  56. kmoddir Creating kmod directory ( 0 secs )
    1. stdio
  57. kmodprepare Preparing kmod archive ( 0 secs )
    1. stdio
  58. kmodindex Indexing kmod archive ( 23 secs )
    1. stdio
  59. signprepare Ran ( 0 secs )
    1. stdio
  60. signpack Packing files to sign ( 0 secs )
    1. stdio
  61. upload uploading sign.tar.gz ( 0 secs )
    1. - no logs -
  62. signfiles Ran ( 2 secs )
    1. stdio
  63. dlsigntargz downloading to sign.tar.gz ( 0 secs )
    1. - no logs -
  64. signunpack Unpacking signed files ( 0 secs )
    1. stdio
  65. dirprepare Preparing upload directory structure ( 0 secs )
    1. stdio
  66. linkprepare Preparing repository symlink skipped ( 0 secs )
    1. - no logs -
  67. kmoddirprepare Preparing kmod archive upload directory ( 0 secs )
    1. stdio
  68. dirupload Uploading directory structure ( 0 secs )
    1. stdio
  69. target-sha256sums Fetching remote sha256sums for target ( 0 secs )
    1. stdio
  70. dlsha2rsyncpl downloading to sha2rsync.pl ( 0 secs )
    1. - no logs -
  71. buildlist Building list of files to upload ( 0 secs )
    1. stdio
  72. dlrsync.sh downloading to rsync.sh ( 0 secs )
    1. - no logs -
  73. targetupload Uploading target files ( 4 mins, 5 secs )
    1. stdio
  74. targetprune Pruning target files ( 0 secs )
    1. stdio
  75. kmodupload Uploading kmod archive ( 15 secs )
    1. stdio
  76. sourcelist Finding source archives to upload ( 0 secs )
    1. stdio
  77. sourceupload Uploading source archives ( 0 secs )
    1. stdio
  78. df Reporting disk usage ( 0 secs )
    1. stdio
  79. ccachestat Reporting ccache stats ( 0 secs )
    1. stdio

Build Properties:

NameValueSource
branch master Build
builddir /builder/x86_legacy slave
buildername x86/legacy Builder
buildnumber 158 Build
cc_command /usr/bin/gcc-6 SetPropertyFromCommand Step
ccache_command /usr/bin/ccache SetPropertyFromCommand Step
codebase Build
cxx_command /usr/bin/g++-6 SetPropertyFromCommand Step
dl_lock None BuildSlave
do_cleanup True BuildSlave
got_revision b496a2294c6e663a2dcbf08d714443e758d1269d Git
kernelversion 4.19.82-1-9967c4ae9230231b5ca951bafcd2884d SetPropertyFromCommand Step
libc SetPropertyFromCommand Step
max_builds 1 BuildSlave
nproc 10 SetPropertyFromCommand Step
project Build
repository https://git.openwrt.org/openwrt/openwrt.git Build
revision b496a2294c6e663a2dcbf08d714443e758d1269d Build
scheduler all Scheduler
shared_wd True BuildSlave
slavename slashdirt-dock-03 BuildSlave
stageroot /builder/shared-workdir/build/staging_dir/target-i386_pentium_musl/root-x86 SetPropertyFromCommand Step
ul_lock None BuildSlave
workdir /builder/x86_legacy slave (deprecated)

Forced Build Properties:

NameLabelValue

Responsible Users:

  1. Adrian Schmutzler
  2. Jeff Kletsky
  3. Piotr Dymacz
  4. Russell Senior
  5. Sungbo Eo

Timing:

StartThu Nov 14 11:17:24 2019
EndThu Nov 14 12:14:35 2019
Elapsed57 mins, 11 secs

All Changes:

:

  1. Change #982

    Category None
    Changed by Adrian Schmutzler <freifunkohnoyoudont@adrianschmutzler.de>
    Changed at Wed 13 Nov 2019 11:50:57
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 4b81c1fd570c61ca7bafa5baf750e7364bd8117f

    Comments

    base-files: remove shebang from uci-defaults files
    uci-defaults are sourced and non-executable, so they do not require
    a shebang.
    
    While at it, apply consistent naming scheme.
    
    Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

    Changed files

    • package/base-files/Makefile
    • package/base-files/files/etc/uci-defaults/10_migrate-shadow
    • package/base-files/files/etc/uci-defaults/12_network-generate-ula
    • package/base-files/files/etc/uci-defaults/13_fix-group-user
  2. Change #983

    Category None
    Changed by Adrian Schmutzler <freifunkohnoyoudont@adrianschmutzler.de>
    Changed at Wed 13 Nov 2019 11:51:38
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision f4c3cfc620db16484fd85570c8215abc3b36dc82

    Comments

    ramips: read label MAC address from flash instead of using phy0/phy1
    This replaces all uses of $(cat /sys/class/ieee80211/phyX/macaddress)
    by retrieval from the proper flash locations. This will make
    02_network independent of WiFi setup again.
    
    Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

    Changed files

    • target/linux/ramips/mt7620/base-files/etc/board.d/02_network
    • target/linux/ramips/mt7621/base-files/etc/board.d/02_network
    • target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
    • target/linux/ramips/rt305x/base-files/etc/board.d/02_network
  3. Change #984

    Category None
    Changed by Adrian Schmutzler <freifunkohnoyoudont@adrianschmutzler.de>
    Changed at Wed 13 Nov 2019 11:55:25
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision d421a8b9448968de0e3265f5beb469c210a909ab

    Comments

    ath79: read label MAC address from flash instead of using phy0/phy1
    This replaces all uses of $(cat /sys/class/ieee80211/phyX/macaddress)
    by retrieval from the proper flash locations. This will make
    02_network independent of WiFi setup again.
    
    For future reference:
    
    The MAC addresses of the FRITZ!WLAN Repeater 300E can be extracted
    from the urlader key value store:
    
    maca        *:6B
    macb        *:6C
    macwlan     *:6D
    macdsl      *:6E
    
    and be set by e.g.
    addr=$(fritz_tffs -n maca -i $(find_mtd_part "tffs (1)"))
    
    Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

    Changed files

    • target/linux/ath79/generic/base-files/etc/board.d/02_network
  4. Change #985

    Category None
    Changed by Adrian Schmutzler <freifunkohnoyoudont@adrianschmutzler.de>
    Changed at Wed 13 Nov 2019 14:12:32
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision a021268032fb64afdce7bafa91c7c7bf44fa6ff2

    Comments

    ar71xx: fix MAC addresses for Archer C5 v1, C7 v1/v2, WDR4900 v2
    As discussed in 1d18a14a90c7 ("ath79: really fix TP-Link Archer C7
    v2 MAC address"), stock firmware MAC address assignment is
    actually as follows:
    
    wlan0 (5GHz) : -1
    wlan1 (2.4GHz) : 0
    eth1 (LAN) : 0
    eth0 (WAN) : 1
    
    This has never been fixed for ar71xx, so let's do it now.
    Note that with WDR4900 v2 even both wlan0 and wlan1 where assigned
    to basemac-1 before ...
    
    Fixes: FS#408
    
    Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

    Changed files

    • target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
    • target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c
  5. Change #986

    Category None
    Changed by Sungbo Eo <mans0nohnoyoudont@gorani.run>
    Changed at Wed 13 Nov 2019 14:57:53
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 7231c1edd99217c6baa8d7d5d841d75ad9de26f1

    Comments

    ramips: fix MAC address setup for Samsung CY-SWR1100
    Ethernet MAC address setup has been broken since c3e420f28cf1. Restore
    original setting.
    
    Fixes: c3e420f28cf1 ("ramips: Add support for D-Link DCH-M225")
    
    Signed-off-by: Sungbo Eo <mans0n@gorani.run>

    Changed files

    • target/linux/ramips/rt3883/base-files/etc/board.d/02_network
  6. Change #987

    Category None
    Changed by Sungbo Eo <mans0nohnoyoudont@gorani.run>
    Changed at Wed 13 Nov 2019 15:03:42
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision aabdf6991cce55a76540c91ff3b5177afd8dce99

    Comments

    ramips: improve Samsung CY-SWR1100 support
    This patch does the following:
    
    - rename "devdata" flash partition and make it read-only
    - switch from gpio-keys-polled to gpio-keys
    - add missing power LED
    - set correct PCI ID to compatible string in wifi node
    - remove ralink,5ghz property in wifi node
    - provide label MAC address
    
    Rename devdata partition to devconf as indicated in the stock firmware
    partition table:
    00030000-00040000: "devdata"
    00040000-00050000: "devconf"
    
    Power LED can be controlled by SoC GPIO. Add it in the dts leds node.
    
    RT3092L supports only bgn mode, so it is unnecessary to disable 5GHz band.
    
    Signed-off-by: Sungbo Eo <mans0n@gorani.run>

    Changed files

    • target/linux/ramips/dts/rt3662_samsung_cy-swr1100.dts
    • target/linux/ramips/rt3883/base-files/etc/board.d/02_network
  7. Change #988

    Category None
    Changed by Sungbo Eo <mans0nohnoyoudont@gorani.run>
    Changed at Wed 13 Nov 2019 15:05:19
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision fe6a04a8fe85755f080971280aa6a2b34f79718c

    Comments

    ramips: change status LED of Samsung CY-SWR1100
    Use power LED for status indication and free WPS LED for other uses.
    
    Signed-off-by: Sungbo Eo <mans0n@gorani.run>

    Changed files

    • target/linux/ramips/dts/rt3662_samsung_cy-swr1100.dts
  8. Change #989

    Category None
    Changed by Sungbo Eo <mans0nohnoyoudont@gorani.run>
    Changed at Wed 13 Nov 2019 15:21:59
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 261c746631d2bf311a6b62a6d3bacce6fde90976

    Comments

    ramips: add usb-ledtrig-usbport to DEVICE_PACKAGES of CY-SWR1100
    CY-SWR1100 has a USB LED but kmod-usb-ledtrig-usbport is missing
    in default images. This commit adds it.
    
    Signed-off-by: Sungbo Eo <mans0n@gorani.run>
    [changed commit title]
    Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

    Changed files

    • target/linux/ramips/image/rt3883.mk
  9. Change #990

    Category None
    Changed by Russell Senior <russellohnoyoudont@personaltelco.net>
    Changed at Wed 13 Nov 2019 17:55:00
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision b20b997c680e38f999e4608b158ef08718527ca0

    Comments

    base-files: add /usr/share/libubox/jshn.sh to sysupgrade stage2
    Discovered recent changes had broken sysupgrade for ar71xx mikrotik
    rb-493g, traced the problem to missing /usr/share/libubox/jshn.sh after
    switching to tmpfs.
    
    Signed-off-by: Russell Senior <russell@personaltelco.net>

    Changed files

    • package/base-files/files/lib/upgrade/stage2
  10. Change #991

    Category None
    Changed by Piotr Dymacz <pepe2kohnoyoudont@gmail.com>
    Changed at Wed 13 Nov 2019 20:45:31
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision bc173ddd8381b03dde8cc2e6c66d0cd392c62bbd

    Comments

    ramips: support dual image feature on ALFA Network boards
    New U-Boot version for MediaTek MT76x8/MT762x based ALFA Network boards
    includes support for a 'dual image' feature. Users can enable it using
    U-Boot environment variable 'dual_image' ('1' -> enabled).
    
    When 'dual image' feature is enabled, U-Boot will modify DTB and divide
    the original 'firmware' flash area into two, equal in size and aligned
    to 64 KB partitions: 'firmware' and 'backup'. U-Boot will also adjust
    size of 'firmware' area to match installed flash chip size.
    
    U-Boot will load kernel from active partition which is marked with env
    variable 'bootactive' ('1' -> first partition, '2' -> second partition)
    and rename both partitions accordingly ('firmware' <-> 'backup').
    
    There are 3 additional env variables used to control 'dual image' mode:
    - bootlimit   - maximum number of unsuccessful boot tries (default: '3')
    - bootcount   - current number of boot tries
    - bootchanged - flag which informs that active partition was changed; if
                    it is set and 'bootcount' reaches 'bootlimit' value,
                    U-Boot will start web-based recovery which then updates
                    both partitions with provided image
    
    Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>

    Changed files

    • target/linux/ramips/mt7620/base-files/etc/init.d/bootcount
    • target/linux/ramips/mt7620/base-files/lib/upgrade/platform.sh
    • target/linux/ramips/mt76x8/base-files/etc/init.d/bootcount
    • target/linux/ramips/mt76x8/base-files/lib/upgrade/platform.sh
  11. Change #992

    Category None
    Changed by Piotr Dymacz <pepe2kohnoyoudont@gmail.com>
    Changed at Wed 13 Nov 2019 20:45:31
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision dfecf94c2059998411f95067de3866aa7cdf5ec9

    Comments

    ramips: add support for ALFA Network R36M-E4G
    ALFA Network R36M-E4G is a dual-SIM, N300 Wi-Fi, compact size platform
    based on MediaTek MT7620A WiSoC. This product is designed for operation
    with 4G modem (can be bought in bundle with Quectel EC25, EG25 or EP06)
    but supports also Wi-Fi modules (miniPCIe slot has USB and PCIe buses).
    
    Specification:
    
    - MT7620A (580 MHz)
    - 64/128/256 MB of RAM (DDR2)
    - 16/32+ MB of FLASH (SPI NOR)
    - 2x 10/100 Mbps Ethernet, with passive PoE support (24 V)
    - 2T2R 2.4 GHz (MT7620A), with ext. LNA (RFFM4227)
    - 1x miniPCIe slot (with PCIe and USB 2.0 buses and optional 5 V)
    - 2x SIM slot (mini, micro) with detect and switch driven by GPIO
    - 2x u.fl antenna connectors (for Wi-Fi)
    - 8x LED (7 driven by GPIO)
    - 2x button (reset, wifi)
    - 2x UART (4-pin/2.54 mm pitch, 10-pin/1.27 mm pitch) headers on PCB
    - 1x I2C (4-pin, 1.27 mm pitch) header on PCB
    - 1x LED (8-pin, 1.27 mm pitch) header on PCB
    - 1x DC jack with lock (12 V)
    
    Other:
    
    - there is a dedicated, 4-pin connector for optional RTC module (Holtek
      HT138x) with 'enable' input, not available at the time of preparing
      support for this board
    - miniPCIe slot supports additional 5 V supply on pins 47 and 49 but a
      jumper resistor (R174) is not installed by default
    - U-Boot selects default SIM slot, based on value of 'default_sim' env
      variable: '1' or unset -> SIM1 (mini), '2' -> SIM2 (micro). This will
      work only if both slots are occupied, otherwise U-Boot will always
      select slot with SIM card inside (user can override it later, in
      user-space)
    - U-Boot resets the modem, using PERSTn signal, before starting kernel
    - this board supports 'dual image' feature (controlled by 'dual_image'
      U-Boot environment variable)
    
    Flash instruction:
    
    You can use the 'sysupgrade' image directly in vendor firmware which is
    based on OpenWrt (make sure to not preserve settings - use 'sysupgrade
    -n -F ...' command). Alternatively, use web recovery mode in U-Boot:
    
    1. Power the device with reset button pressed, the modem LED will start
       blinking slowly and after ~3 seconds, when it starts blinking faster,
       you can release the button.
    2. Setup static IP 192.168.1.2/24 on your PC.
    3. Go to 192.168.1.1 in browser and upload 'sysupgrade' image.
    
    Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>

    Changed files

    • target/linux/ramips/dts/mt7620a_alfa-network_r36m-e4g.dts
    • target/linux/ramips/image/mt7620.mk
    • target/linux/ramips/mt7620/base-files/etc/board.d/01_leds
    • target/linux/ramips/mt7620/base-files/etc/board.d/02_network
    • target/linux/ramips/mt7620/base-files/etc/init.d/bootcount
    • target/linux/ramips/mt7620/base-files/lib/upgrade/platform.sh
  12. Change #993

    Category None
    Changed by Piotr Dymacz <pepe2kohnoyoudont@gmail.com>
    Changed at Wed 13 Nov 2019 20:45:31
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 3cfea3a32125a2c59dfaa9103804ad51609ebe9d

    Comments

    uboot-envtools: ramips: add support for ALFA Network R36M-E4G
    Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>

    Changed files

    • package/boot/uboot-envtools/files/ramips
  13. Change #994

    Category None
    Changed by Piotr Dymacz <pepe2kohnoyoudont@gmail.com>
    Changed at Wed 13 Nov 2019 23:10:52
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision fc0d0f5dfdfcc392e8009115a7ac3b500614f97c

    Comments

    ramips: provide label MAC for ALFA Network Tube-E4G
    Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>

    Changed files

    • target/linux/ramips/dts/mt7620a_alfa-network_tube-e4g.dts
  14. Change #995

    Category None
    Changed by Piotr Dymacz <pepe2kohnoyoudont@gmail.com>
    Changed at Wed 13 Nov 2019 23:11:09
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 44d7a14a83dbe359593c5ae7e71513c3e596b6b8

    Comments

    ramips: mt7621: refresh kernel config
    Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>

    Changed files

    • target/linux/ramips/mt7621/config-4.14
  15. Change #996

    Category None
    Changed by Piotr Dymacz <pepe2kohnoyoudont@gmail.com>
    Changed at Thu 14 Nov 2019 00:37:54
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision e68539aca43a560077364de27eb220f1d85ca3ef

    Comments

    ramips: add support for ALFA Network Quad-E4G
    ALFA Network Quad-E4G is a universal Wi-Fi/4G platform, which offers
    three miniPCIe (PCIe, USB 2.0, SIM) and a single M.2 B-key (dual-SIM,
    USB 3.0) slots, RTC and five Gigabit Ethernet ports with PoE support.
    
    Specification:
    
    - MT7621A (880 MHz)
    - 256/512 MB of RAM (DDR3)
    - 16/32+ MB of FLASH (SPI NOR)
    - optional second SPI flash (8-pin WSON/SOIC)
    - 1x microSD (SDXC) flash card reader
    - 5x 10/100/100 Mbps Ethernet, with passive PoE support (24 V) in LAN1
    - optional 802.3at/af PoE module for WAN
    - 3x miniPCIe slot (with PCIe and USB 2.0 buses, micro SIM and 5 V)
    - 1x M.2/NGFF B-key 3042 (USB 3.0/2.0, mini + micro SIM)
    - RTC (TI BQ32002, I2C bus) with backup battery (CR2032)
    - external hardware watchdog (EM Microelectronic EM6324)
    - 1x USB 2.0 Type-A
    - 1x micro USB Type-B for system serial console (Holtek HT42B534)
    - 11x LED (5 for Ethernet, 5 driven by GPIO, 1x power indicator)
    - 3x button (reset, user1, user2)
    - 1x I2C (4-pin, 2.54 mm pitch) header on PCB
    - 4x SIM (6-pin, 2.00 mm pitch) headers on PCB
    - 2x UART2/3 (4-pin, 2.54 mm pitch) headers on PCB
    - 1x mechanical power switch
    - 1x DC jack with lock (24 V)
    
    Other:
    
    - U-Boot selects default SIM slot, based on value of 'default_sim' env
      variable: '1' or unset -> SIM1 (mini), '2' -> SIM2 (micro). This board
      has additional logic circuit for M.2 SIM switching. The 'sim-select'
      will work only if both SIM slots are occupied. Otherwise, always slot
      with SIM inside is selected, no matter 'sim-select' value.
    - U-Boot enables power in all three miniPCIe and M.2 slots before
      loading the kernel
    - this board supports 'dual image' feature (controlled by 'dual_image'
      U-Boot environment variable)
    - all three miniPCIe slots have additional 5 V supply on pins 47 and 49
    - the board allows to install up to two oversized miniPCIe cards (vendor
      has dedicated MediaTek MT7615N/D cards for this board)
    - this board has additional logic circuit controlling PERSTn pins inside
      miniPCIe slots. By default, PERSTn (GPIO19) is routed to all miniPCIe
      slots but setting GPIO22 to high allows PERSTn control per slot, using
      GPIO23-25 (value is inverted)
    
    You can use the 'sysupgrade' image directly in vendor firmware which is
    based on OpenWrt (make sure to not preserve settings - use 'sysupgrade
    -n -F ...' command). Alternatively, use web recovery mode in U-Boot:
    
    1. Power the device with reset button pressed, the modem LED will start
       blinking slowly and after ~3 seconds, when it starts blinking faster,
       you can release the button.
    2. Setup static IP 192.168.1.2/24 on your PC.
    3. Go to 192.168.1.1 in browser and upload 'sysupgrade' image.
    
    Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>

    Changed files

    • target/linux/ramips/dts/mt7621_alfa-network_quad-e4g.dts
    • target/linux/ramips/image/mt7621.mk
    • target/linux/ramips/mt7621/base-files/etc/board.d/02_network
    • target/linux/ramips/mt7621/base-files/etc/init.d/bootcount
    • target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh
    • target/linux/ramips/mt7621/config-4.14
  16. Change #997

    Category None
    Changed by Piotr Dymacz <pepe2kohnoyoudont@gmail.com>
    Changed at Thu 14 Nov 2019 00:38:01
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 10bcf1eb40b728b3583c1a7693111f27a9801dc5

    Comments

    uboot-envtools: ramips: add support for ALFA Network Quad-E4G
    Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>

    Changed files

    • package/boot/uboot-envtools/files/ramips
  17. Change #998

    Category None
    Changed by Jeff Kletsky <git-commitsohnoyoudont@allycomm.com>
    Changed at Thu 14 Nov 2019 06:38:58
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 20b3e77ba3e690453203587afa174bef43ee339b

    Comments

    ath79: prepare NAND subtarget for upstream support of SPI NAND
    Linux 4.19 supplies the upstream spi-nand framework,
    permitting porting and support of boards with SPI NAND.
    
      * Adjusted nand/target.mk to provide FEATURES += squashfs nand
    
      * Updated config-default to provide current MTD and UBI support
    
    Defaults selected for:
    
      CONFIG_MTD_UBI_WL_THRESHOLD=4096
      CONFIG_MTD_UBI_BEB_LIMIT=20
      # CONFIG_MTD_UBI_FASTMAP is not set
      # CONFIG_MTD_UBI_GLUEBI is not set
    
    The bad-block reservation limit technically should be 21 for Paragon
    SPI NAND but most other devices in the class are 20 blocks per Gbit.
    In Linux 5.2 this is specified on a per-chip basis through NAND_MEMORG
    
    Contents adjusted to remove declarations provided at the target level
    by commit 08a134820f5 (Oct 23, 2019) ath79: enable PCI for whole target
    
    Signed-off-by: Jeff Kletsky <git-commits@allycomm.com>
    Tested-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>

    Changed files

    • target/linux/ath79/nand/config-default
    • target/linux/ath79/nand/target.mk
  18. Change #999

    Category None
    Changed by Jeff Kletsky <git-commitsohnoyoudont@allycomm.com>
    Changed at Thu 14 Nov 2019 06:38:58
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 55e6c903ae20bd8e694f4626166766e59602f87c

    Comments

    ath79: GL-AR300M: provide NAND support; increase to 4 MB kernel
    The GL.iNet GL-AR300M has been supported by the ar71xx and ath79
    platforms with access to its 16 MB NOR flash, but not its 128 MB
    SPI NAND flash.
    
    This commit provides support for the NAND through the upstream
    SPI-NAND framework. Devices with both NOR and NAND flash can support
    independent firmware on each, with U-Boot able to boot from either.
    The OEM U-Boot will fall back to the NOR firmware after three
    "unsuccessful" boots.
    
    The family of GL-AR300M devices on the ath79 platform now includes:
    
      * glinet,gl-ar300m-lite       "generic" target, NOR-only board
      * glinet,gl-ar300m-nand       "nand" target
      * glinet,gl-ar300m-nor        "nand" target (NAND-aware)
    
    NB: This commit increases the kernel size from 2 MB to 4 MB
    
    "Force-less" sysupgrade is presently supported from the current
    versions of following NOR-based firmwre images to the version of
    glinet,gl-ar300m-nor firmware produced by this commit:
    
      * gl-ar300m            -- OEM v3 NOR    ar71xx (openwrt-ar300m16-*.bin)
      * gl-ar300m            -- OpenWrt 18.06 ar71xx
      * gl-ar300m            -- OpenWrt 19.07 ar71xx
    
    Other upgrades to these images should be performed through U-Boot.
    
    The GL-AR300M OEM U-Boot allows upload and flashing of either NOR
    firmware (sysupgrade.bin) or NAND firmware (factory.img) through its
    HTTP-based GUI. Serial connectivity is not required.
    
    The glinet,gl-ar300m-nand and glinet,gl-ar300m-nor images generated
    after this commit should safely flash each other using sysupgrade.
    
    The boot counter is implemented by the OEM using u-boot-env. At this
    time, it does not appear that the switch on the side of the unit can
    be used to select NOR vs. NAND boot and the fail-over is only from
    NAND to NOR. To save flash wear, it is only reset when running the
    glinet,gl-ar300m-nand firmware.
    
    NAND-specific base-files are used to remove impact on existing
    generic and tiny targets.
    
    As there is now no "generic" build appropriate for the GL-AR300M16,
    (or for users of the GL-AR300M that do not need access to NAND)
    it will be introduced in a subsequent commit.
    
    Note: `mtd_get_mac_binary art 0x6` does not return the proper MAC
    and the GL.iNet source indicates that only the 0x0 offset is valid
    
    The ar71xx targets are unmodified.
    
    Signed-off-by: Jeff Kletsky <git-commits@allycomm.com>

    Changed files

    • target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts
    • target/linux/ath79/dts/qca9531_glinet_gl-ar300m-nand.dts
    • target/linux/ath79/dts/qca9531_glinet_gl-ar300m-nor.dts
    • target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
    • target/linux/ath79/generic/base-files/etc/board.d/01_leds
    • target/linux/ath79/image/generic.mk
    • target/linux/ath79/image/nand.mk
    • target/linux/ath79/nand/base-files/etc/board.d/01_leds
    • target/linux/ath79/nand/base-files/etc/init.d/bootcount
    • target/linux/ath79/nand/base-files/lib/upgrade/glinet.sh
    • target/linux/ath79/nand/base-files/lib/upgrade/platform.sh
  19. Change #1000

    Category None
    Changed by Jeff Kletsky <git-commitsohnoyoudont@allycomm.com>
    Changed at Thu 14 Nov 2019 06:38:58
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision b591cabd3989b44cfaf15248af9e55a0300a9c0a

    Comments

    ath79: add GL.iNet GL-AR300M16 as NOR-only board
    The GL.iNet GL-AR300M series of devices includes variants without NAND
    and only the 16 MB NOR flash. These include the GL-AR300M16 and the
    GL-AR300M-Lite (already with its own board name).
    
    This board-name addition provides disambiguation from the NAND-bearing
    GL-AR300M devices, both for OpenWrt code and for end users.
    
    Kernel and firmware support for NAND and UBI will add ~320 kB to the
    overall firmware size at this time. This NOR-only option continues to
    provide more compact firmware for both the GL-AR300M16 as well as
    those who wish to use it as an alternate or primary, NOR-resident
    firmware on the GL-AR300M.
    
    The ar71xx targets are unmodified.
    
    Installation
    ------------
    
    Install through OEM U-Boot (HTTP-based) or `sysupgrade --force` when
    booted from NOR and running OEM or OpenWrt, NOR-based firmware.
    
    As one of the intentions is disambiguation from NAND-bearing units,
    users who have flashed this firmware onto a device with NAND would
    need to use U-Boot or `sysupgrade --force` to flash firmware that
    again supports NAND.
    
    There are no additional SUPPORTED_DEVICES as it is not possible to
    determine if a device does or does not have NAND based on
    either the OEM's or OpenWrt's board names prior to this patch.
    
    Signed-off-by: Jeff Kletsky <git-commits@allycomm.com>

    Changed files

    • package/boot/uboot-envtools/files/ath79
    • target/linux/ath79/dts/qca9531_glinet_gl-ar300m16.dts
    • target/linux/ath79/generic/base-files/etc/board.d/01_leds
    • target/linux/ath79/image/generic.mk
  20. Change #1001

    Category None
    Changed by Jeff Kletsky <git-commitsohnoyoudont@allycomm.com>
    Changed at Thu 14 Nov 2019 06:38:58
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision b496a2294c6e663a2dcbf08d714443e758d1269d

    Comments

    ath79: GL-AR750S: provide NAND support; increase kernel to 4 MB
    The GL.iNet GL-AR750S has been supported by the ar71xx and ath79
    platforms with access to its 16 MB NOR flash, but not its 128 MB
    SPI NAND flash.
    
    This commit provides support for the NAND through the upstream
    SPI-NAND framework.
    
    At this time, the OEM U-Boot appears to only support loading the
    kernel from NOR. This configuration is preserved as this time,
    with the glinet,gl-ar750s-nand name reserved for a potential,
    future, NAND-only boot.
    
    The family of GL-AR750S devices on the ath79 platform now includes:
    
      * glinet,gl-ar750m-nor-nand   "nand" target
      * glinet,gl-ar750m-nor        "nand" target (NAND-aware)
    
    NB: This commit increases the kernel size from 2 MB to 4 MB
    
    "Force-less" sysupgrade is presently supported from the current
    versions of following NOR-based firmwre images to the version of
    glinet,gl-ar750s-nor firmware produced by this commit:
    
      * glinet,gl-ar750s     -- OpenWrt 19.07 ar71xx
      * glinet,gl-ar750s     -- OpenWrt 19.07 ath79
    
    Users who have sucessfully upgraded to glinet,gl-ar750m-nor may then
    flash glinet,gl-ar750m-nor-nand with sysupgrade to transtion to the
    NAND-based variant.
    
    Other upgrades to these images, including directly to the NAND-based
    glinet,gl-ar750s-nor-nand firmware, can be accomplished through U-Boot.
    
    NB: See "ath79: restrict GL-AR750S kernel build-size to 2 MB" which
    enables flashing of NAND factory.img with the current GL-iNet U-Boot,
    "U-Boot 1.1.4-gcf378d80-dirty (Aug 16 2018 - 07:51:15)"
    
    The GL-AR750S OEM U-Boot allows upload and flashing of either NOR
    firmware (sysupgrade.bin) or NAND firmware (factory.img) through its
    HTTP-based GUI. Serial connectivity is not required.
    
    The glinet,gl-ar750s-nor and glinet,gl-ar750s-nor-nand images
    generated after this commit flash each other directly.
    
    This commit changes the control of the USB VBUS to gpio-hog from
    regulator-fixed introduced by commit 0f6b944c92. This reduces the
    compressed kernel size by ~14 kB, with no apparent loss of
    functionality. No other ath79-nand boards are using regulator-fixed
    at this time.
    
    Note: mtd_get_mac_binary art 0x5006 does not return the proper MAC
    and the GL.iNet source indicates that only the 0x0 offset is valid
    
    The ar71xx targets are unmodified.
    
    Cc: Alexander Wördekemper <alexwoerde@web.de>
    
    Signed-off-by: Jeff Kletsky <git-commits@allycomm.com>

    Changed files

    • package/boot/uboot-envtools/files/ath79
    • target/linux/ath79/dts/qca9563_glinet_gl-ar750s-nor-nand.dts
    • target/linux/ath79/dts/qca9563_glinet_gl-ar750s-nor.dts
    • target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dtsi
    • target/linux/ath79/generic/base-files/etc/board.d/02_network
    • target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
    • target/linux/ath79/image/generic.mk
    • target/linux/ath79/image/nand.mk
    • target/linux/ath79/nand/base-files/etc/board.d/02_network
    • target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
    • target/linux/ath79/nand/base-files/lib/upgrade/platform.sh