aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/lib
Commit message (Collapse)AuthorAgeFilesLines
* ath79: add support for Phicomm K2TWeijie Gao2018-06-181-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds dts for qca956x and also support for Phicomm K2T The qca965x.dtsi adds nearly all the necessary components. Both ath9k AHB and PCIe worked well. The Phicomm K2T uses MTD partition 'config' to store the mac addresses in JSON format. To extract these fields correctly, a script is introduced: /lib/functions/k2t.sh This script provides a helper function to extract mac addresses, and is used in three places. Hardware spec of Phicomm K2T: CPU: QCA9563 DRAM: 64MB DDR2 Flash: 16MB SPI-NOR Switch: QCA8337 WiFi 5.8GHz: QCA9886 Flash instruction: Apply sysupgrade.bin via serial console: tftp 0x80000000 sysupgrade.bin && erase 0x9f090000 +$filesize && cp.b $fileaddr 0x9f090000 $filesize Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* ath79: add and enforce image metadataMathias Kresin2018-05-171-19/+2
| | | | | | Add metadata to images and make the metdata mandatory. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: sysupgrade: drop unused variablesMathias Kresin2018-05-171-6/+0
| | | | | | None of the variables are used at the moment. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: sysupgrade: drop unused platform checksMathias Kresin2018-05-171-171/+0
| | | | | | | None of these checks are used at the moment and most of them aren't required if the image metadata validation is used. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: sysupgrade: remove obsolete sysupgrade watchdog killMathias Kresin2018-05-171-10/+0
| | | | | | | | | The watchdog kill command was meant for busybox watchdog. Busybox watchdog was replaced by the procd watchdog mid 2013 with commit df7ce9301a25 ("busybox: disable the watchdog utility by default"), which makes the kill command obsolete since quite some time. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: add new OF only target for QCA MIPS siliconJohn Crispin2018-05-071-0/+224
This target aims to replace ar71xx mid-term. The big part that is still missing is making the MMIO/AHB wifi work using OF. NAND and mikrotik subtargets will follow. Signed-off-by: John Crispin <john@phrozen.org>