Felix Fietkau
7eeb254cc4
treewide: replace nbd@openwrt.org with nbd@nbd.name
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
John Crispin
a2b38ebf77
ar71xx: add 64kb bootloader mtd parser for tplinkpart
...
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
9 years ago
Felix Fietkau
38dbf49b61
ar71xx: remove the use of the obsolete IRQF_DISABLED flag in the NAND flash driver ( fixes #20125 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46433
9 years ago
Felix Fietkau
a5cd02aec4
ar71xx: ar934x-nfc: allow ECC to be configured in software BCH mode
...
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
10 years ago
John Crispin
69955cf733
ar71xx: generalize cybertan partition parser
...
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
10 years ago
John Crispin
e5373f2761
ar71xx: rename wrt160nl's trx partition parser
...
This patch renames the partition parser from
wrt160nl to more generic cybertan.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
SVN-Revision: 44663
10 years ago
Hauke Mehrtens
f5e5477c81
kernel: modify mtd related patches for 3.14
...
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
11 years ago
Gabor Juhos
3d906ac6ac
ar71xx: rb91x-nand: rewrite to use GPIO API
...
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
11 years ago
Gabor Juhos
8461ffccc1
ar71xx: add NAND driver for the Mikrotik RB91x boards
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39097
11 years ago
Gabor Juhos
7815af409a
ar71xx: ar934x-nfc: disable subpage write when hardware ECC is used
...
It is not supported by the controller.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38234
11 years ago
Gabor Juhos
d6fef0cb39
ar71xx: ar934x_nfc: add experimental support for hardware ECC
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38069
11 years ago
Gabor Juhos
ceecdfb1c9
ar71xx: ar934x_nfc: return error code from some low-level functions
...
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
11 years ago
Gabor Juhos
df8485c7cb
ar71xx: ar934x_nfc: use devm_* functions
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38067
11 years ago
Gabor Juhos
4341b11f3e
ar71xx: remove __dev{init,exit} annotations from kernel files
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35687
12 years ago
Gabor Juhos
1f7ae58a2c
ar71xx: ar934x_nfc: allow to control DMA data swap via platform data
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34588
12 years ago
Gabor Juhos
188908e885
ar71xx: make rb750_nand driver compatible with 3.7
...
Also add compatibility patches for the currently
supported kernels.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34279
12 years ago
Gabor Juhos
8194237789
ar71xx: make ar934x_nfc driver compatible with 3.7
...
Also add compatibility patches for the currently
supported kernels.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34278
12 years ago
Gabor Juhos
46a3b818b9
ar71xx: remove buffer verification reference from rb4xx_nand.c
...
It is a dead code.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34276
12 years ago
Gabor Juhos
d833ca527d
ar71xx: restore rb4xx kernel partition size to the original value
...
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
12 years ago
Gabor Juhos
a6549ac1cb
ar71xx: remove NO_AUTOINCR flag from the NAND drivers
...
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
12 years ago
Gabor Juhos
269872fe1e
ar71xx: use mtd_read in wrt160nl_part
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33951
12 years ago
Gabor Juhos
973eda6077
ar71xx: use mtd_read in tplinkpart
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33950
12 years ago
Gabor Juhos
7c85646176
ar71xx: ar934x_nfc: remove unused oob parameter of ar934x_nfc_send_read
...
SVN-Revision: 33454
12 years ago
Gabor Juhos
3bdf0bc36f
ar71xx: ar934x_nfc: increase DMA retry count
...
SVN-Revision: 33453
12 years ago
Gabor Juhos
b7cb43f6a6
ar71xx: ar934x_nfc: optimize READOOB operation on large page devices
...
SVN-Revision: 33452
12 years ago
Gabor Juhos
96dde2e591
ar71xx: ar934x_nfc: fix RNDOUT operation
...
SVN-Revision: 33451
12 years ago
Gabor Juhos
338b698fb6
ar71xx: ar934x_nfc: fix READ{0,1} operation on large page devices
...
SVN-Revision: 33450
12 years ago
Gabor Juhos
1e5fdbeae5
ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
...
SVN-Revision: 33385
12 years ago
Gabor Juhos
8a471efe01
ar71xx: add platform data for the RB750 NAND driver
...
SVN-Revision: 31022
13 years ago
Gabor Juhos
fe0c7aac66
ar71xx: merge 3.2 fixes
...
SVN-Revision: 30406
13 years ago
Gabor Juhos
d5d37febb4
ar71xx: use dynamically allocated partitions in wrt160nl_part
...
SVN-Revision: 29970
13 years ago
Gabor Juhos
386cbfe45b
ar71xx: move arch specific files to files-2.6.39
...
SVN-Revision: 29867
13 years ago
Gabor Juhos
e7dee3aeed
ar71xx: wrt160nl_part: include module.h and fix compiler warnings
...
SVN-Revision: 29856
13 years ago
Gabor Juhos
a7d344565b
ar71xx: tplinkpart: include module.h
...
SVN-Revision: 29855
13 years ago
Gabor Juhos
8eb0b7ab3d
ar71xx: fix sections mismatch warnings in the nand drivers
...
SVN-Revision: 29667
13 years ago
Gabor Juhos
850be54b72
ar71xx: tplinkpart: allow to detect JFFS2 as well
...
SVN-Revision: 29543
13 years ago
Gabor Juhos
3e7a6d182a
ar71xx: check squashfs signature in TP-Link mtd parser
...
SVN-Revision: 29446
13 years ago
Gabor Juhos
514b1167c9
ar71xx: add mtd partition parser for the TP-Link boards
...
SVN-Revision: 29415
13 years ago
Gabor Juhos
aa0c8c4885
ar71xx: add AR71XX_ prefix to GPIO_REG_* defines
...
SVN-Revision: 29123
13 years ago
Gabor Juhos
62a7795afd
ar71xx: merge nand scan patch
...
SVN-Revision: 29122
13 years ago
Gabor Juhos
0677e16248
ar71xx: Fix header offset for newer WRT160NL models
...
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
14 years ago
Gabor Juhos
23a6173099
ar71xx: use gpio_*_cansleep calls in the rb4xx NAND driver
...
SVN-Revision: 24944
14 years ago
Gabor Juhos
fddf3b8dac
ar71xx: drivers/rb4xx_nand: remove C++ comment usage
...
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
SVN-Revision: 23980
14 years ago
Gabor Juhos
acd8ad4de5
ar71xx: wrap long lines
...
(build errors has been fixed - juhosg)
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
SVN-Revision: 23977
14 years ago
Gabor Juhos
500fac1735
ar71xx: fix whitespaces nits
...
(build error has been fixed - juhosg)
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
SVN-Revision: 23975
14 years ago
Felix Fietkau
b61a804bf7
ar71xx: increase rb4xx nand kernel partition size (patch by danimo)
...
SVN-Revision: 23293
14 years ago
Gabor Juhos
47f8fd1dde
ar71xx: rewrite SPI drivers for the RB4xx boards
...
* add a new SPI controller driver
* add SPI driver for the CPLD chip
* convert the NAND driver
* enable the mikroSD slot
* enable more LEDs
SVN-Revision: 22863
14 years ago
Gabor Juhos
6ce447427c
ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
...
SVN-Revision: 21736
15 years ago
Gabor Juhos
905f2d62f9
ar71xx: update image generation and trx header parsing for the WRT160NL
...
* patch by Bernhard Loos
* note: trailing whitespaces has been removed
SVN-Revision: 20525
15 years ago
Gabor Juhos
d58a367083
ar71xx: add NAND driver for the RB750
...
SVN-Revision: 20054
15 years ago