aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/mtd
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add v4.14 supportJohn Crispin2018-08-224-4/+4
| | | | | | adds v4.14 patches for testing but leaves v4.9 as default for now. Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: fix mikrotik routerboard nand driver issues with linux 4.9Felix Fietkau2017-10-243-27/+108
| | | | | | The mtd device is now embedded inside the nand chip data structure Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: Add kernel 4.9 supportHauke Mehrtens2017-10-116-7/+278
| | | | | | | | | | | | | This add support for kernel 4.9 to the ar71xx target. It was compile tested with the generic, NAND and mikrotik subtarget. Multiple members of the community tested it on their boards and did not report any major problem so far. Especially the NAND part received some changes to adapt to the new kernel APIs. The serial driver hack used for the Arduino Yun was not ported because the kernel changed there a lot. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* Revert "ar71xx: Add support for Teltonika RUT900"John Crispin2017-05-181-206/+0
| | | | | | | | This reverts commit 224e5f5efa22b8a0132522367afd3b22f05d53e1. pepe2k pointed out that this was not ready to merge Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: Add support for Teltonika RUT900Steffen Weinreich2017-05-181-0/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teltonika RUT900 is a Router with LTE dual SIM, WiFi, 4x Ethernet ports, I/O, RS232, RS485, GPS. The device ist based on a Atheros AR9344 rev 3, Specifications: - 560/450/225 MHz (CPU/DDR/AHB) - 128 MB of RAM - 16 MB of FLASH - Serial Console header on a Card Board edge connector - 4x 10/100 Mbps Ethernet (3x LAN, 1x WAN) - 2.4 GHz Wifi - 2x external, detachable Wifi antennas - LTE Modem Huawei ME909u-521 (Also other Modem seen) - 2x LTE antennas - 1x GPS antenna - 7x LED, 1x button - 1x USB Connector - 1x Serial RS232 - 1x Serial RS485 - 1x MicroSD Card The GPL sources of the device are available at www.teltonika.lt/gpl/ and are based on OpenWRT Barrier Breaker (14.07) Running from tftp: The Router starts into the uboot Webupdater if the Button ist pressed more than 3 seconds, if no Network cable is attached it starts the uboot serial console, from there the router loads the firmware image via tftpboot from 192.168.1.2:firmware.bin (the router has the 192.168.1.1). With bootm the loaded image will be booted. Signed-off-by: Steffen Weinreich <steve@weinreich.org>
* ar71xx: convert mikrotik routerboard support to UBIFelix Fietkau2017-01-163-3/+3
| | | | | | | | | | Remove the wget2nand script, drop the need for manual installation, use sysupgrade instead. There are now two different NAND images, one for 64 MiB flashes, the other for >= 128 MiB Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: disable sub-page writes on routerboard nand driversFelix Fietkau2017-01-113-0/+3
| | | | | | They seem to fail in tests using UBI, and are not used by yaffs2 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove a non-upstream spi core patchFelix Fietkau2017-01-051-2/+2
| | | | | | | - use standard flags instead - remove dead code from the rb4xx spi drivers Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix drivers/mtd/nand/ar934x_nfc.cPaul Wassi2016-11-181-8/+2
| | | | | | | Fix the incorrect usage of ar934x_nfc_write_page and ar934x_nfc_write_page_raw. Add *page* in the argument list and remove the local variable. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add 64kb bootloader mtd parser for tplinkpartJohn Crispin2015-08-171-6/+29
| | | | | | | | | | | Signed-off-by: Weijie Gao <hackpascal@gmail.com> This patch adds flash layout parser for TP-Link firmwares which have a 64kb bootloader. This is used for TP-Link TL-WDR6500 v2. SVN-Revision: 46662
* ar71xx: remove the use of the obsolete IRQF_DISABLED flag in the NAND flash ↵Felix Fietkau2015-07-201-1/+1
| | | | | | | | driver (fixes #20125) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46433
* ar71xx: ar934x-nfc: allow ECC to be configured in software BCH modeFelix Fietkau2015-06-181-0/+4
| | | | | | | | | Some devices ship with NAND images that use BCH ECC. Let the driver know about that ECC mode so that it can be selected by machine files. Signed-off-by: Thomas Hebb <tommyhebb@gmail.com> SVN-Revision: 46022
* ar71xx: generalize cybertan partition parserJohn Crispin2015-03-111-6/+0
| | | | | | | | | | By removing the NL16 signature check, the parser can be utilized by other devices like the WD My Net Wi-fi Range Extender. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> SVN-Revision: 44664
* ar71xx: rename wrt160nl's trx partition parserJohn Crispin2015-03-111-18/+18
| | | | | | | | | This patch renames the partition parser from wrt160nl to more generic cybertan. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> SVN-Revision: 44663
* kernel: modify mtd related patches for 3.14Hauke Mehrtens2014-05-082-2/+6
| | | | | | | | | | | | The change is the same as ("kernel/generic: modify mtd related patches"). Since these files are under files directory, not a files directory of specific kernel version, better to also change them. So it will avoid adding files to future specific files directory (e.g. files-3.14) for this mtd related change. Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> SVN-Revision: 40732
* ar71xx: rb91x-nand: rewrite to use GPIO APIGabor Juhos2014-02-231-114/+136
| | | | | | | | | Rewrite tha rb91x-nand driver to use GPIO API to modify the NAND control lines. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39700
* ar71xx: add NAND driver for the Mikrotik RB91x boardsGabor Juhos2013-12-161-0/+355
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39097
* ar71xx: ar934x-nfc: disable subpage write when hardware ECC is usedGabor Juhos2013-09-271-0/+6
| | | | | | | | It is not supported by the controller. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38234
* ar71xx: ar934x_nfc: add experimental support for hardware ECCGabor Juhos2013-09-191-2/+339
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38069
* ar71xx: ar934x_nfc: return error code from some low-level functionsGabor Juhos2013-09-191-10/+18
| | | | | | | | | | Change some flow-level unctions to return with an error code in order to be able to report errors to the core code. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38068
* ar71xx: ar934x_nfc: use devm_* functionsGabor Juhos2013-09-191-15/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38067
* ar71xx: remove __dev{init,exit} annotations from kernel filesGabor Juhos2013-02-193-10/+10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35687
* ar71xx: ar934x_nfc: allow to control DMA data swap via platform dataGabor Juhos2012-12-101-10/+35
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34588
* ar71xx: make rb750_nand driver compatible with 3.7Gabor Juhos2012-11-201-16/+4
| | | | | | | | | Also add compatibility patches for the currently supported kernels. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34279
* ar71xx: make ar934x_nfc driver compatible with 3.7Gabor Juhos2012-11-201-13/+0
| | | | | | | | | Also add compatibility patches for the currently supported kernels. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34278
* ar71xx: remove buffer verification reference from rb4xx_nand.cGabor Juhos2012-11-201-3/+0
| | | | | | | | It is a dead code. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34276
* ar71xx: restore rb4xx kernel partition size to the original valueGabor Juhos2012-11-201-1/+1
| | | | | | | | | The new lzma compressed elf kernel image fits into that, even on devices with large page NAND chips. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34274
* ar71xx: remove NO_AUTOINCR flag from the NAND driversGabor Juhos2012-10-283-3/+0
| | | | | | | | | The flag is not present in 3.6. Also add compatibility patches for 3.3. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33971
* ar71xx: use mtd_read in wrt160nl_partGabor Juhos2012-10-271-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33951
* ar71xx: use mtd_read in tplinkpartGabor Juhos2012-10-271-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33950
* ar71xx: ar934x_nfc: remove unused oob parameter of ar934x_nfc_send_readGabor Juhos2012-09-171-12/+8
| | | | SVN-Revision: 33454
* ar71xx: ar934x_nfc: increase DMA retry countGabor Juhos2012-09-171-1/+2
| | | | SVN-Revision: 33453
* ar71xx: ar934x_nfc: optimize READOOB operation on large page devicesGabor Juhos2012-09-171-6/+4
| | | | SVN-Revision: 33452
* ar71xx: ar934x_nfc: fix RNDOUT operationGabor Juhos2012-09-171-2/+6
| | | | SVN-Revision: 33451
* ar71xx: ar934x_nfc: fix READ{0,1} operation on large page devicesGabor Juhos2012-09-171-6/+9
| | | | SVN-Revision: 33450
* ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934xGabor Juhos2012-09-131-0/+1149
| | | | SVN-Revision: 33385
* ar71xx: add platform data for the RB750 NAND driverGabor Juhos2012-03-191-19/+27
| | | | SVN-Revision: 31022
* ar71xx: merge 3.2 fixesGabor Juhos2012-02-104-30/+22
| | | | SVN-Revision: 30406
* ar71xx: use dynamically allocated partitions in wrt160nl_partGabor Juhos2012-01-311-4/+14
| | | | SVN-Revision: 29970
* ar71xx: move arch specific files to files-2.6.39Gabor Juhos2012-01-221-310/+0
| | | | SVN-Revision: 29867
* ar71xx: wrt160nl_part: include module.h and fix compiler warningsGabor Juhos2012-01-221-3/+8
| | | | SVN-Revision: 29856
* ar71xx: tplinkpart: include module.hGabor Juhos2012-01-221-0/+1
| | | | SVN-Revision: 29855
* ar71xx: fix sections mismatch warnings in the nand driversGabor Juhos2012-01-052-2/+2
| | | | SVN-Revision: 29667
* ar71xx: tplinkpart: allow to detect JFFS2 as wellGabor Juhos2011-12-151-3/+4
| | | | SVN-Revision: 29543
* ar71xx: check squashfs signature in TP-Link mtd parserGabor Juhos2011-12-051-1/+31
| | | | SVN-Revision: 29446
* ar71xx: add mtd partition parser for the TP-Link boardsGabor Juhos2011-12-031-0/+165
| | | | SVN-Revision: 29415
* ar71xx: add AR71XX_ prefix to GPIO_REG_* definesGabor Juhos2011-11-141-36/+40
| | | | SVN-Revision: 29123
* ar71xx: merge nand scan patchGabor Juhos2011-11-142-2/+2
| | | | SVN-Revision: 29122
* ar71xx: Fix header offset for newer WRT160NL modelsGabor Juhos2011-05-311-9/+16
| | | | | | | | | | | | Newer WRT160NLs have a flash chip with 4K erase blocks instead of 64K, resulting in miscalculated partition sizes. Since the actual sizes did not change, hardcode them to their current sizes, and make sure they are at least one erase block big (in case Cisco decides to start to use chips with 128K erase blocks). Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 27049