Coder Social home page Coder Social logo

dzzinstant / gluon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from freifunk-gluon/gluon

0.0 0.0 0.0 12.18 MB

a modular framework for creating OpenWrt-based firmwares for wireless mesh nodes

Home Page: http://gluon.readthedocs.org/

License: Other

Shell 7.36% Makefile 9.23% Lua 36.28% C 34.17% HTML 4.37% JavaScript 5.26% CMake 0.12% Perl 0.35% PHP 0.04% Dockerfile 0.16% Python 0.45% SCSS 1.96% C++ 0.06% POV-Ray SDL 0.17%

gluon's People

Contributors

2tata avatar achterin avatar aiyionprime avatar ambassador86 avatar belzebub40k avatar blocktrron avatar bobidle avatar christf avatar dark4md avatar dependabot[bot] avatar djfe avatar ecsv avatar herbetom avatar herrbett avatar jplitza avatar kb-light avatar kokel avatar lemoer avatar maurerle avatar mkg20001 avatar mweinelt avatar nalxnet avatar neocturne avatar ohrensessel avatar rotanid avatar rubo77 avatar sargon avatar skorpy2009 avatar t-x avatar txt-file avatar

gluon's Issues

[Overview] lantiq-avm3370: Device Integration Checklist

Device Integration Checklist

  • must be flashable from vendor firmware
    ( ) webinterface
    ( ) tftp
    • other: ftp [EVA bootloader, separate images for kernel and filesystem partitions] -> #3
  • must support upgrade mechanism
    • must have working sysupgrade
      • must keep/forget configuration (if applicable)
        think sysupgrade [-n] or firstboot
    • must have working autoupdate
      usually means: gluon profile name must match image name
    :~# lua -e 'print(require("platform_info").get_image_name())'
    avm-fritz-box-3370-rev-2-hynix-nand
    
  • reset/wps/phone button must return device into config mode [no such button => use 'power' button instead] -> 7ba5577
  • primary mac should match address on device label (or packaging) (https://gluon.readthedocs.io/en/latest/dev/hardware.html#notes)
  • wired network
    • should support all network ports on the device
    • must have correct port assignment (WAN/LAN) [numbering of LAN ports is mixed up, does that matter?] -> #4
  • wifi (if applicable)
    • association with AP must be possible on all radios
    • association with 802.11s mesh must be working on all radios
    • ap/mesh mode must work in parallel on all radios
  • led mapping
    • power/sys led (critical, because led definitions are setup on firstboot only)
    • radio leds
      • should map to their respective radio
      • should show activity
    • switchport leds
      • should map to their respective port (or switch, if only one led present)
      • should show link state and activity [shows only state, maybe apply patch to also show activity] -> 84fe9fc
  • outdoor devices only
    ( ) added board name to is_outdoor_device function in package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua

Additional / device-specific

  • wan-radio/private wlan [can be enabled in parallel with client + mesh wlan]
  • 'WLAN' button enables/disables radio -> openwrt/openwrt#3042
  • also works in the 5 Ghz band [3370 only has a single radio for both bands]
    • association with AP must be possible
    • association with 802.11s mesh must be working (only indoor mode)
    • ap/mesh mode must work in parallel (only indoor mode)
    • outdoor mode with DFS [basically works, but some clients cause false radar detections]

[Documentation] Flashing Fritzbox 3370, particular problems

Installing gluon on the Fritzbox 3370

Gluon can be installed using the EVA FTP method as described in OpenWRT: AVM FRITZ!Box WLAN 3370. Just use your community's gluon images instead of the stock OpenWRT ones.
However, a few things should be kept in mind:

Differences to other AVM boxes, possible difficulties

  1. Device should be at least HWSubRevision 2 (see first lines of file obtained through http://fritz.box/support.lua)
  2. The kernel and filesystem reside on different flash partitions, so you have to flash two images:
    gluon-avm-fritz-box-3370-rev-2-..-eva-kernel.bin -> mtd1
    gluon-avm-fritz-box-3370-rev-2-..-eva-filesystem.bin -> mtd0
  3. The device is available with different types of flash memory, you have to use the corresponding set of images:
    Micron flash chip -> use ..-micron-nand-.. set of images
    ST Micro or Hynix flash chip -> use ..-hynix-nand-.. set of images
    Unfortunately, it's not easy to determine which flash chip is installed, so:
    • While Fritz!OS is still installed, call http://fritz.box/support.lua in your web browser, save the support file to disk (it may take ~one minute to gather the data, be patient).
      The resulting file should contain a debug line starting with NAND device:, which identifies the flash chip.
    • Installing the wrong set of images seems to be non-fatal (the device will either bootloop or remain at the bootloader stage). If you picked the wrong ones, just use the EVA/ftp procedure again to install the other set of images.
  4. Some versions of the bootloader automatically reboot after ~30 seconds. In this case be really fast or copy-paste the complete sequence of commands from the clipboard to the terminal.

References

OpenWRT: AVM FRITZ!Box WLAN 3370
Commit message: lantiq: complete AVM FRITZ!Box 3370 support
Michael Kuron: OpenWRT on AVM Fritz!Box 3370

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.