Skip to content
Snippets Groups Projects
  1. Mar 14, 2018
    • Mathias Kresin's avatar
      base-files: add more name source to get_dt_led helper function · 4f4fc993
      Mathias Kresin authored
      
      Not all LED driver are using the label devicetree property for the led
      name. Add support for the TI/National Semiconductor LP55xx Led Drivers,
      which are using the chan-name property for the led name, as fallback.
      
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
      4f4fc993
    • Mathias Kresin's avatar
      base-files: add function to get binary mac from file · 64fef8f9
      Mathias Kresin authored
      
      Add a fucntion to get the a binary mac address from file. Use the new
      function for mtd_get_mac_binary() to limit duplicate code.
      
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
      64fef8f9
    • Christian Lamparter's avatar
      ipq40xx: add support for ASUS RT-AC58U/RT-ACRH13 · 87c42101
      Christian Lamparter authored
      
      This patch adds support for ASUS RT-AC58U/RT-ACRH13.
      
      hardware highlights:
      
      SOC:	IPQ4018 / QCA Dakota
      CPU:	Quad-Core ARMv7 Processor rev 5 (v7l) Cortex-A7
      DRAM:	128 MiB DDR3L-1066 @ 537 MHz (1074?) NT5CC64M16GP-DI
      NOR:	2 MiB Macronix MX25L1606E (for boot, QSEE)
      NAND:   128 MiB Winbond W25NO1GVZE1G (cal + kernel + root, UBI)
      ETH:    Qualcomm Atheros QCA8075 Gigabit Switch (4 x LAN, 1 x WAN)
      USB:    1 x 3.0 (via Synopsys DesignWare DWC3 controller in the SoC)
      WLAN1:  Qualcomm Atheros QCA4018 2.4GHz 802.11bgn 2:2x2
      WLAN2:  Qualcomm Atheros QCA4018 5GHz 802.11a/n/ac 2:2x2
      INPUT:	one Reset and one WPS button
      LEDS:	Status, WAN, WIFI1/2, USB and LAN (one blue LED for each)
      Serial:
      	WARNING: The serial port needs a TTL/RS-232 3V3 level converter!
      	The Serial setting is 115200-8-N-1. The board has an unpopulated
      	1x4 0.1" header. The pinout (VDD, RX, GND, TX) is printed on the
      	PCB right next to the connector.
      
      U-Boot Note: The ethernet driver isn't always reliable and can sometime
      time out... Don't worry, just retry.
      
      Access via the serial console is required. As well as a working
      TFTP-server setup and the initramfs image. (If not provided, it
      has to be built from the OpenWrt source. Make sure to enable
      LZMA as the compression for the INITRAMFS!)
      
      To install the image permanently, you have to do the following
      steps in the listed order.
      
      1. Open up the router.
         There are four phillips screws hiding behind the four plastic
         feets on the underside.
      
      2. Connect the serial cable (See notes above)
      
      3. Connect your router via one of the four LAN-ports (yellow)
         to a PC which can set the IP-Address and ssh and scp from.
      
         If possible set your PC's IPv4 Address to 192.168.1.70
         (As this is the IP-Address the Router's bootloader expects
         for the tftp server)
      
      4. power up the router and enter the u-boot
         choose option 1 to upload the initramfs image. And follow
         through the ipv4 setup.
      
      Wait for your router's status LED to stop blinking rapidly and
      glow just blue. (The LAN LED should also be glowing blue).
      
      3. Connect to the OpenWrt running in RAM
      
         The default IPv4-Address of your router will be 192.168.1.1.
      
         1. Copy over the openwrt-sysupgrade.bin image to your router's
            temporary directory
      
         # scp openwrt-sysupgrade.bin root@192.168.1.1:/tmp
      
         2. ssh from your PC into your router as root.
      
         # ssh root@192.168.1.1
      
         The default OpenWrt-Image won't ask for a password. Simply hit the Enter-Key.
      
         Once connected...: run the following commands on your temporary installation
      
         3. delete the "jffs2" ubi partition to make room for your new root partition
      
         # ubirmvol /dev/ubi0 --name=jffs2
      
         4. install OpenWrt on the NAND Flash.
      
         # sysupgrade -v /tmp/openwrt-sysupgrade.bin
      
         - This will will automatically reboot the router -
      
      Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
      87c42101
    • Christian Lamparter's avatar
      build: make image target wait for initramfs · 43be5087
      Christian Lamparter authored
      
      The image production rules does not have the initramfs-image
      as a dependency. So, from make’s perspective initramfs
      creation can run independently/in parallel with the image
      generation code in the target's Makefile.
      
      This is a problem for devices that have to use the initramfs
      for the image creation and can lead to broken images.
      
      Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
      43be5087
    • Christian Lamparter's avatar
      mac80211: ath10k: search all IEs for variant before falling back · e713b5ba
      Christian Lamparter authored
      This patch adds the patch that was posted to ath10k-devel ML:
      <https://patchwork.kernel.org/patch/10233491/
      
      >
      |From: Thomas Hebb <tommyhebb@gmail.com>
      |Subject: [PATCH] ath10k: search all IEs for variant before falling back
      |Date: Wed, 21 Feb 2018 11:43:39 -0500
      |[...]
      |This patch fixes the issue by first searching the entire file for the ID
      |with variant, and searching for the fallback ID only if that search
      |fails. It also includes some code cleanup in the area, as
      |ath10k_core_fetch_board_data_api_n() no longer does its own string
      |mangling to remove the variant from an ID, instead leaving that job to a
      |new flag passed to ath10k_core_create_board_name().
      |
      |I've tested this patch on a QCA4019 and verified that the driver behaves
      |correctly for 1) both fallback and variant BDFs present, 2) only fallback
      |BDF present, and 3) no matching BDFs present.
      |
      |Fixes: 1657b8f84ed9 ("ath10k: search SMBIOS for OEM board file extension")
      |Signed-off-by: default avatarThomas Hebb <tommyhebb@gmail.com>
      
      Note: 937-ath10k-calibration-variant.patch has been reassigned a new 081
      number, as it now ships with upstream.... But also because this patch
      requires the change in ath10k_core_create_board_name().
      
      Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
      e713b5ba
    • Mathias Kresin's avatar
      ipq40xx: fix GL.iNet GL-B1300 support · 249a9b35
      Mathias Kresin authored
      
      Rename the dts file to match the used SoC type and drop the unnecessary
      KERNEL_INSTALL from the image build code.
      
      Remove the fixed rootfs and kernel partitions and create an image with
      rootfs appended after kernel.
      
      Setup a switch portmap matching the hardware and a default network/switch
      configuration to make make the second lan port working. Use eth0 as lan
      to have it consistent accross the target.
      
      Use the power LED to indicate the boot status.
      
      Sort the SoC entries within the dts by address and use dtc labels
      whenever possible.
      
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
      Signed-off-by: default avatarPiotr Dymacz <pepe2k@gmail.com>
      249a9b35
    • David Bauer's avatar
      ipq40xx: remove block- and pagesize from FB4040 · 9f437b2c
      David Bauer authored
      
      This removes the block- and pagesize from the FritzBox 4040
      image description, fixing incorrectly working sysupgrade.
      
      With this commit, the default values for block- and pagesize are
      used.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      [chunkeey@gmail.com: removed 105-mtd-nor-add-mx25l25635f.patch as well]
      Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
      9f437b2c
    • Christian Lamparter's avatar
      ipq40xx: OpenMesh A42 overhaul · d0e96214
      Christian Lamparter authored
      
      Sort the soc entries in the dts by address and use dtc labels whenever
      possible.
      
      Adjust the DTS files, the OpenMesh A42 is actually an IPQ4018 and not an
      IPQ4019.
      
      Signed-off-by: default avatarSven Eckelmann <sven.eckelmann@openmesh.com>
      Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
      d0e96214
    • Christian Lamparter's avatar
      ipq40xx: fix apss cpu overclocking spam · a44d435c
      Christian Lamparter authored
      
      There's an interaction issue between the clk changes:"
      clk: qcom: ipq4019: Add the apss cpu pll divider clock node
      clk: qcom: ipq4019: remove fixed clocks and add pll clocks
      " and the cpufreq-dt.
      
      cpufreq-dt is now spamming the kernel-log with the following:
      
      [ 1099.190658] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP
      for freq 761142857 (-34)
      
      This only happens on certain devices like the Compex WPJ428
      and AVM FritzBox!4040. However, other devices like the Asus
      RT-AC58U and Meraki MR33 work just fine.
      
      The issue stem from the fact that all higher CPU-Clocks
      are achieved by switching the clock-parent to the P_DDRPLLAPSS
      (ddrpllapss). Which is set by Qualcomm's proprietary bootcode
      as part of the DDR calibration.
      
      For example, the FB4040 uses 256 MiB Nanya NT5CC128M16IP clocked
      at round 533 MHz (ddrpllsdcc = 190285714 Hz).
      
      whereas the 128 MiB Nanya NT5CC64M16GP-DI in the ASUS RT-AC58U is
      clocked at a slightly higher 537 MHz ( ddrpllsdcc = 192000000 Hz).
      
      Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
      a44d435c
    • Mathias Kresin's avatar
      ipq40xx/ipq806x: move qcom-dwc3 usb driver to generic · 1b906723
      Mathias Kresin authored
      
      If the a kernel package exists within multiple targets an error/warning
      is shown.
      
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
      1b906723
    • John Crispin's avatar
      ipq40xx: add target · 54b275c8
      John Crispin authored
      
      Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
      Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
      54b275c8
    • John Crispin's avatar
      ipq806x: drop ipq40xx support · b7f115f2
      John Crispin authored
      
      Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
      b7f115f2
    • Andy Walsh's avatar
      e2fsprogs: break out libcomerr/libss, FS#1310 · 20d63ebc
      Andy Walsh authored
      
      libext2fs breaks krb5 by always installing its own copies of libcom_err.so
      and libss.so.
      
      Move the libraries into separate libcomerr and libss packages respectively
      and add a host build recipe to stage the required compile_et and mk_cmds
      utilities for use by other packages.
      
      This allows the krb5 package to be fixed to use the system wide libcomerr
      and libss libraries.
      
      Signed-off-by: default avatarAndy Walsh <andy.walsh44+github@gmail.com>
      [rename libcom_err to libcomerr, make compile_et and mk_cmds relocatable,
       cleanup makefile, add dependency on host build, reword commit message]
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      20d63ebc
    • Jo-Philipp Wich's avatar
      jsonfilter: update to latest git HEAD · 093b75e1
      Jo-Philipp Wich authored
      
      c7e938d implement POSIX regexp support
      cd6629f lexer: fix encoding 7 bit escape sequences
      8614470 main: implement array mode
      
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      093b75e1
    • Rafał Miłecki's avatar
      kernel: use V10 of mtd patchset adding support for "compatible" string · ac9bcefa
      Rafał Miłecki authored
      
      In the commit bde5e7a6 ("kernel: backport mtd implementation for
      "compatible" in "partitions" subnode") patches that got accepted into
      l2-mtd.git were backported to the kernels 4.9 and 4.14. Unfortunately
      there was a regression report, patches were dropped and never reached
      4.16.
      
      This commit replaces these pseudo-backports with the latest version
      that includes regression fix and futher changes that were requested.
      
      Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
      ac9bcefa
  2. Mar 13, 2018
  3. Mar 12, 2018
  4. Mar 11, 2018
  5. Mar 10, 2018
Loading