Skip to content
Snippets Groups Projects
Select Git revision
  • ebf3a4885db183f47e3fe6e6e01940a4c7362ea6
  • v2018.2.x default protected
  • 0x4A6F-rpi4
  • 0x4A6F-master
  • master
  • v2018.2.2-ffs
  • v2016.2.4-batmanbug
  • radv-filterd
  • v2016.2.x
  • hoodselector
  • v2016.1.x
  • babel
  • v2015.1.x
  • 2014.4.x
  • 2014.3.x
  • v2018.2.2-ffs0.1
  • v2018.2.1-ffs0.1
  • v2018.2.1
  • v2018.2-ffs0.1
  • v2018.2
  • v2018.1.4
  • v2018.1.3
  • v2018.1.2
  • v2018.1.1
  • v2018.1
  • v2017.1.8
  • v2017.1.7
  • v2017.1.6
  • v2017.1.5
  • v2017.1.4
  • v2017.1.3
  • v2017.1.2
  • v2016.2.7
  • v2017.1.1
  • v2017.1
35 results

0102-ar71xx-flag-FritzBox-4020-buttons-as-active-low.patch

Blame
  • Forked from firmware / FFS Gluon
    Source project has a limited visibility.
    • David Bauer's avatar
      faddb3d1
      ar71xx: flag FritzBox 4020 buttons as active low (#1544) · faddb3d1
      David Bauer authored
      Buttons of AVM FritzBox 4020 are incorrectly flagged as active high.
      
      This was an oversight as RFKill button was working as expected even
      with incorrectly flagged GPIO.
      
      Config mode is still accessable but will start on any button press, not
      only for the ones >= 10 seconds.
      
      This commit corrects this behavior to the expected one (10 second long
      press necessary to enter config mode).
      faddb3d1
      History
      ar71xx: flag FritzBox 4020 buttons as active low (#1544)
      David Bauer authored
      Buttons of AVM FritzBox 4020 are incorrectly flagged as active high.
      
      This was an oversight as RFKill button was working as expected even
      with incorrectly flagged GPIO.
      
      Config mode is still accessable but will start on any button press, not
      only for the ones >= 10 seconds.
      
      This commit corrects this behavior to the expected one (10 second long
      press necessary to enter config mode).
    generic 3.45 KiB
    assert(env.GLUON_LANGS)
    
    
    config('GLUON_SITEDIR', env.GLUON_SITEDIR)
    config('GLUON_VERSION', env.GLUON_VERSION)
    config('GLUON_SITE_VERSION', env.GLUON_SITE_VERSION)
    config('GLUON_RELEASE', env.GLUON_RELEASE)
    
    try_config('GLUON_AUTOUPDATER_BRANCH', env.GLUON_AUTOUPDATER_BRANCH)
    try_config('GLUON_AUTOUPDATER_ENABLED', istrue(env.GLUON_AUTOUPDATER_ENABLED))
    
    for lang in string.gmatch(env.GLUON_LANGS, '%S+') do
    	try_config('GLUON_WEB_LANG_' .. lang, true)
    end
    
    config('TARGET_' .. env.BOARD, true)
    if env.SUBTARGET ~= '' then
    	config(string.format('TARGET_%s_%s', env.BOARD, env.SUBTARGET), true)
    end
    
    -- Disable non-default feeds in distfeeds.conf
    config('FEED_gluon_base', false)
    
    local default_feeds = {}
    for feed in string.gmatch(exec_capture_raw('. scripts/default_feeds.sh && echo "$DEFAULT_FEEDS"'), '%S+') do
    	default_feeds[feed] = true
    end
    
    for feed in string.gmatch(exec_capture_raw('. scripts/modules.sh && echo -n "$FEEDS"'), '%S+') do
    	if not default_feeds[feed] then
    		config('FEED_' .. feed, false)
    	end
    end
    
    
    config('TARGET_ROOTFS_INITRAMFS', false)
    
    config('DEVEL', true)
    config('ALL_NONSHARED', true)
    
    try_config('PACKAGE_usbip', false) -- fails to build
    try_config('PACKAGE_coova-chilli', false) -- fails to build
    try_config('PACKAGE_kmod-ipt-coova', false) -- fails to build
    try_config('PACKAGE_libpfring', false) -- fails to build
    try_config('PACKAGE_kmod-pf-ring', false) -- fails to build
    
    try_config('PACKAGE_ATH_DEBUG', true)
    
    try_config('PACKAGE_dnsmasq_full_dhcpv6', false)
    try_config('PACKAGE_dnsmasq_full_auth', false)
    try_config('PACKAGE_dnsmasq_full_ipset', false)
    try_config('PACKAGE_dnsmasq_full_nftset', false)
    try_config('PACKAGE_dnsmasq_full_conntrack', false)
    try_config('PACKAGE_dnsmasq_full_noid', false)
    try_config('PACKAGE_dnsmasq_full_broken_rtc', false)
    try_config('PACKAGE_dnsmasq_full_rtc', false)
    
    try_config('TARGET_SQUASHFS_BLOCK_SIZE', 256)
    
    config('KERNEL_PROC_STRIPPED', true)
    config('KERNEL_AIO', false)
    try_config('KERNEL_IO_URING', false)
    config('KERNEL_FHANDLE', false)
    config('KERNEL_FANOTIFY', false)
    config('KERNEL_CGROUPS', false)
    -- KERNEL_NAMESPACES is required for procd-ujail
    -- This option is enabled by default on non small flash targets
    config('KERNEL_NAMESPACES', true)
    config('KERNEL_IP_MROUTE', false)
    config('KERNEL_IPV6_MROUTE', false)