Commit Graph

7565 Commits (b6be49429be09d1421bea5158b203a52d27dfe8e)

Author SHA1 Message Date
Gabor Juhos 058998acdb ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2
The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The
WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case.

The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or
switch ports 2-4. The stock firmware uses a single LED (in the 5GHz
position) to indicate the status of both radios, and a single LED (in the
switch port 1 position) to indicate the status of all LAN ports. The
"missing" LEDs are present on the board, and easily shine through the
case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs.

I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume
that this is sufficient to build a fully-functional image.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29513
13 years ago
Felix Fietkau 48f9717371 ar71xx: add gpios and usb for wzr-hp-g450h
SVN-Revision: 29509
13 years ago
Gabor Juhos 4ca2d86493 ar71xx: use RedBoot parser on PB44
SVN-Revision: 29501
13 years ago
John Crispin 934eef78ca convert to gpiolib
Signed-off-by:	karlp@tweak.net.au

SVN-Revision: 29486
13 years ago
Gabor Juhos 6e69765559 ar71xx: fix WNDR3x00 factory image generation
Factory images for WNDR3700v2 and WNDR3800 should contain these model IDs
for the device: field in their DNI tags, not WNDR3700.

This regressed in r29434, which redid WNDR3x00 model detection. The sixth
parameter to Image/Build/Netgear is only used as the -B argument to
mkdniimg, which is used to set the device: field. In r29434, this was
erroneously changed to be WNDR3700 for all models. The tools to flash
factory images (U-Boot's TFTP server and the factory software's upgrade
utility) may refuse to honor images with incorrect device: fields in their
DNI tags.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29473
13 years ago
Gabor Juhos 8eb8a6e1e7 ar71xx: fix WNDR3x00 model detection
Detect the model name for /tmp/sysinfo/model based on 10 bytes at offset
56 in the art (caldata) mtd partition.

r29434 redid WNDR3x00 model detection, attempting to distinguish between
WNDR3700v2 and WNDR3800 by checking MemTotal in /proc/meminfo. However, it
contained a bug: it put the awk inside a $(...), with the result that all
WNDR3700v2 and WNDR3800 models would be reported as WNDR3800. This patch
checks the model name stored in the art partition, as is done by U-Boot
shipping on the WNDR3800. It has the likely advantage of working with
future models based on the WNDR3700 board. It also will not mis-detect
units on which people install more memory.

I have tested this patch on WNDR3700 (v1), WNDR3700v2, and WNDR3800.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29472
13 years ago
Gabor Juhos 43bd4c6ad1 ramips: fix mac addresses on the DIR-300/600 boards
SVN-Revision: 29471
13 years ago
Jonas Gorski e33bb9ec66 linux: update 3.1 to 3.1.4
SVN-Revision: 29470
13 years ago
Jonas Gorski 6e2ae90f4a linux: update 3.0 to 3.0.12
SVN-Revision: 29469
13 years ago
Gabor Juhos c6b2b98812 ar71xx: create firmware image for the TL-WR740N/ND v4 boards
Based on a patch by Cristian Deluxe <djcristiandeluxe@gmail.com>

SVN-Revision: 29468
13 years ago
Gabor Juhos fbfad4e9b4 ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
SVN-Revision: 29467
13 years ago
Gabor Juhos d753e08c79 ar71xx: fix TL-MR3x20 profile names in image/Makefile
SVN-Revision: 29463
13 years ago
Gabor Juhos 62d8009cdd ar71xx: cleanup TP-Link profiles
SVN-Revision: 29461
13 years ago
Gabor Juhos f7a482d382 ar71xx: add TP-Link board detection
SVN-Revision: 29459
13 years ago
Gabor Juhos bdc2eca7de ar71xx: use correct mac on the lan interface on several TP-LINK devices
SVN-Revision: 29458
13 years ago
Gabor Juhos 0103069372 ar71xx: allow to pass negative offset values for ar71xx_init_mac
SVN-Revision: 29457
13 years ago
Gabor Juhos ada92aee62 ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
SVN-Revision: 29456
13 years ago
Gabor Juhos c6bcf8d1d8 ar71xx: verify hardware id of firmware images on TP-Link boards
SVN-Revision: 29455
13 years ago
Gabor Juhos 5ef6ec4a31 ramips: set mac addresses for the NBG-419N
Based on a patch by Nerijus Baliunas <nerijus@users.sourceforge.net>

SVN-Revision: 29454
13 years ago
Gabor Juhos 750d560767 ramips: set preinit interface mac on the hw550-3g board
Based on a patch by Daniel Golle <dgolle@allnet.de>

SVN-Revision: 29453
13 years ago
Gabor Juhos b5d7b359b2 ramips: use ramips_get_mac_* functions in the preinit script
SVN-Revision: 29452
13 years ago
Gabor Juhos 4d5b940e66 ramips: move ramips_get_mac_* functions to lib/ramips.sh
SVN-Revision: 29451
13 years ago
Gabor Juhos cc853acb3a ramips: add ramips_ prefix to get_mac_{binary,nvram} functions
SVN-Revision: 29450
13 years ago
Gabor Juhos b1137d48a4 ramips: fix network configuration setup
SVN-Revision: 29448
13 years ago
Gabor Juhos 4dc9092f4b ar71xx: reclaim some unused space on TP-Link boards
With the default OpenWrt configuration, this increases the size
of the rootfs_data partition by 384KB/128KB on the older/newer
TP-Link models.

SVN-Revision: 29447
13 years ago
Gabor Juhos 3e7a6d182a ar71xx: check squashfs signature in TP-Link mtd parser
SVN-Revision: 29446
13 years ago
Gabor Juhos feebf484ba ar71xx: use the lzma-loader on TP-Link boards w/o lzma support
SVN-Revision: 29444
13 years ago
Gabor Juhos d42968351f ar71xx: add lzma loader
SVN-Revision: 29443
13 years ago
Felix Fietkau 1f809532de ar71xx: add preliminary support for wzr-hp-g450h
SVN-Revision: 29441
13 years ago
Felix Fietkau d1f63f8538 ar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to dev-m25p80.c, other buffalo routers use it as well
SVN-Revision: 29440
13 years ago
Gabor Juhos 4cc2b9bb06 ar71xx: rewrite WNDR3700/3800 handling
SVN-Revision: 29434
13 years ago
Jo-Philipp Wich 78699c2e51 add some missing wndr3800 base-files definitions
SVN-Revision: 29433
13 years ago
Gabor Juhos 5177814ade ar71xx: change user-space board detection
SVN-Revision: 29432
13 years ago
Gabor Juhos 8a3a60fc64 ar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too big
SVN-Revision: 29431
13 years ago
Gabor Juhos 56c9b50006 ramips: fix argus board rootfs size
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29422
13 years ago
Gabor Juhos 7cfa39f032 ar71xx: use the tp-link parser on the tp-link boards
Also remove static partition maps.

SVN-Revision: 29416
13 years ago
Gabor Juhos 514b1167c9 ar71xx: add mtd partition parser for the TP-Link boards
SVN-Revision: 29415
13 years ago
Gabor Juhos fc7fb29bae ar71xx: run the RedBoot parser only on the RedBoot based boards
SVN-Revision: 29414
13 years ago
Gabor Juhos 9cc28d5aa0 ar71xx: run the MyLoader parser only on the WP543 board
SVN-Revision: 29413
13 years ago
Gabor Juhos 67a0b9aada ar71xx: run the wrt160nl parser only on the WRT160NL board
Also remove static mtd partition definitions.

SVN-Revision: 29412
13 years ago
Gabor Juhos c8acd6e013 ar71xx: allow to pass part_probe types to the m25p80 driver
SVN-Revision: 29411
13 years ago
Gabor Juhos 20483faed0 ar71xx: create initramfs images for the newer TP-Link boards
SVN-Revision: 29410
13 years ago
Gabor Juhos 9a2005e5e6 ar71xx: remove swconfig and wpad-mini from custom profiles
SVN-Revision: 29408
13 years ago
Gabor Juhos bc1d818610 ar71xx: add uboot-envtools to the default package list
SVN-Revision: 29407
13 years ago
Gabor Juhos a02a9c3f8b ar71xx: reclaim unused space in WNDR3700/3800 images
Patch by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29406
13 years ago
Gabor Juhos ac82296c53 ar71xx: add a profile and build image for the OM2P board
[juhosg: the name of the final image has been changed to
'openwrt-ar71xx-generic-om2p-squashfs-factory.bin']

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 29397
13 years ago
Gabor Juhos f188f1bad5 ar71xx: add support for Ubiquiti AirRouter
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>

SVN-Revision: 29395
13 years ago
Gabor Juhos 0612667c34 ar71xx: configure default led behavior for the OM2P
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 29394
13 years ago
Gabor Juhos 3fccc3b376 ramips: enable sysupgrade on the RT-N15 board
SVN-Revision: 29393
13 years ago
Gabor Juhos 4b2d1c3ad3 ramips: wrap long line in platform upgrade script
SVN-Revision: 29392
13 years ago
Gabor Juhos d622263588 ramips: add profile for the Asus RT-N15
This uses previously submitted rtl8366 kernel packages.

[juhosg: The kmod-gpio-dev package has been removed from the package list.]

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29391
13 years ago
Gabor Juhos 3a9e02fa41 ramips: setup default network configuration for RT-N15
Based on a patch by Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29390
13 years ago
Gabor Juhos fc61c107f0 ramips: rt288x: add swconfig and rtl8366{s,_smi} drivers to the default profile
It is needed by the RT-N15 board.

SVN-Revision: 29389
13 years ago
Gabor Juhos 80221fcd2a ramips: remove default network configuration, and generate that from uci-defaults
SVN-Revision: 29387
13 years ago
Gabor Juhos 4f6c58adac ramips: use /lib/functions/uci-defaults.sh
SVN-Revision: 29386
13 years ago
Gabor Juhos 39348e387f ar71xx: use /lib/functions/uci-defaults.sh
SVN-Revision: 29385
13 years ago
Gabor Juhos 569d8de6d6 ramips: simplify uci-defaults/network script
SVN-Revision: 29383
13 years ago
Gabor Juhos 66c9a351dd ramips: setup mac and network interfaces from separate functions
SVN-Revision: 29382
13 years ago
Gabor Juhos 62d18e9f9a ramips: fix Asus RT-N15 board support
Fix Asus RT-N15 flash partitions and make an image.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29381
13 years ago
Gabor Juhos 2dd79d55c7 ramips: Sparklan wcr-150gn board fixes
* Fix partition sizes.
 * Add buttons and leds.
 * Register usb.
 * Remove unnecessary stuff from image Makefile
 * Fix rt2x00 eeprom extract.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29380
13 years ago
Gabor Juhos 7c678e7511 ramips: fix package name of kmod-input-gpio-buttons
Based on a patch from Omnima Limited.

SVN-Revision: 29379
13 years ago
Gabor Juhos 2ed38b24a8 ramips: move kmod-rt2800-pci to DEFAULT_PACKAGES
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29378
13 years ago
Gabor Juhos 295e04084c ramips: setup bc2 mac addresses from the generic network script
SVN-Revision: 29377
13 years ago
Gabor Juhos 02f95d4fb3 ramips: combine network setup for all boards in one file
Inspired by the patch from Roman Yeryomin. Thanks, Roman!
This removes unnecessary duplication and simplifies network setup for new
boards. It would be a one line change most likely.

[juhosg: setup lan and wan interfaces for unspecified rt3x0x based boards
in order to avoid regression]

Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

SVN-Revision: 29376
13 years ago
John Crispin 88cb7ae104 omap24xx: bump to 3.1.3
SVN-Revision: 29349
13 years ago
John Crispin bf7316424c lantiq: bump to 3.1.3
SVN-Revision: 29348
13 years ago
Nicolas Thill 5e83009a52 targets: fix CONFIG_USB_STORAGE_* inconsistency
* all options were switched from bool to tristate in 2.6.30
 * add/change/move them to generic, disabled by default
 * remove extinct CONFIG_USB_STORAGE_DPCM dropped in 2.6.29, merged with CONFIG_USB_STORAGE_SDDR09
 * remove extinct CONFIG_USB_STORAGE_SIERRA option in 2.6
 * cleanup ordering

SVN-Revision: 29337
13 years ago
Gabor Juhos f20797306a ar71xx: modify phy mask of the WP543 board
This fixes ethernet on newer boards. Based on a patch from #9702.

SVN-Revision: 29328
13 years ago
Gabor Juhos c20d7378e5 ar71xx: fix wndr3800 machine name
This fixes the machine name in /proc/cpuinfo and luci status page machine name.

Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>

SVN-Revision: 29326
13 years ago
Gabor Juhos 600b6efc41 ar71xx: copy atheros initramfs images to the image directory
SVN-Revision: 29325
13 years ago
Gabor Juhos d97cf76790 ar71xx: specify mtd layout in command line for the DB120 board
SVN-Revision: 29324
13 years ago
John Crispin 9389593db9 lantiq: drop 009-MIPS-make-oprofile-use-cp0_perfcount_irq-if-it-is-se.patch
This patch is/was a duplicate of generic/patches-3.1/307-mips_oprofile_fix.patch

SVN-Revision: 29294
13 years ago
John Crispin 4982ca983c lantiq: * fixes ath5k eeprom handling * fixes sx76x * adds sx76x to userland api * minor style cleanups
Signed-of-by: Andrej Vlašić <andrej.vlasic0@gmail.com>

SVN-Revision: 29292
13 years ago
Florian Fainelli 718907b661 don't package gpioctl by default
SVN-Revision: 29288
13 years ago
Nicolas Thill c33f21ae95 target/uml: export atomic64_* functions on 32-bit x86
SVN-Revision: 29287
13 years ago
Gabor Juhos 9990523a0f ar71xx: set GE0 phy_mask for AR933x
SVN-Revision: 29274
13 years ago
Jo-Philipp Wich b5739aabd9 fix D-Link DSL-2650U image generation
SVN-Revision: 29266
13 years ago
Jonas Gorski 8bac0df4ae linux: update 3.0 to 3.0.9
SVN-Revision: 29264
13 years ago
Florian Fainelli ae90aa4efd build images for D-Link DSL-2650U (#9003)
SVN-Revision: 29238
13 years ago
Michael Büsch 0b86c2648a omap24xx: Fix cbus nested IRQ acking
SVN-Revision: 29237
13 years ago
Michael Büsch df2810831c omap24xx: Fix initialization of software IRQ mask
SVN-Revision: 29236
13 years ago
Michael Büsch 3f92f7dd90 omap24xx: Update 3.1 config
SVN-Revision: 29234
13 years ago
Michael Büsch 4793be2df9 omap24xx: Some retu/tahvo IRQ fixes
SVN-Revision: 29233
13 years ago
Michael Büsch 630bafc5dd omap24xx: Add basic kexec fixes.
SVN-Revision: 29232
13 years ago
Michael Büsch 06c986984e omap24xx: Add workaround for omapfb locking bug.
SVN-Revision: 29201
13 years ago
Michael Büsch 0f03e17bd0 Revert r29193
SVN-Revision: 29195
13 years ago
Michael Büsch 93f02b1ba0 omap24xx: Set platform specific optimization flags
SVN-Revision: 29194
13 years ago
Michael Büsch b058e97af4 n810: Add xmodmap to profile
SVN-Revision: 29193
13 years ago
Florian Fainelli 8d66465b08 include bridge and 8021q modules by default
SVN-Revision: 29164
13 years ago
John Crispin bbe96f13a6 lantiq: add runtime generation of /etc/config/network
SVN-Revision: 29161
13 years ago
John Crispin 79a4642b40 lantiq: fix falcon build breakage
dev-wifi-rt2x00 fails to build on falcon due to missing pci

SVN-Revision: 29129
13 years ago
Gabor Juhos f27548448b ar71xx: fix USB LED on the DB120 board
SVN-Revision: 29126
13 years ago
Gabor Juhos 6ebbb1329d ar71xx: add a function for selecting output signal on a given GPIO pin
SVN-Revision: 29125
13 years ago
Gabor Juhos 0c1d3617d7 ar71xx: fix GPIO function handling on AR934x
SVN-Revision: 29124
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 12dae96097 ar71xx: fix a compiler warning
SVN-Revision: 29110
13 years ago
Gabor Juhos 5ae0fd802c ar71xx: fix GPIO count for AR934x
SVN-Revision: 29109
13 years ago
Gabor Juhos e52269364a ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934X
SVN-Revision: 29108
13 years ago
Gabor Juhos 3104d70552 ar71xx: use a dummy irq chip for WMAC and PCIe irq hadling
SVN-Revision: 29107
13 years ago
Gabor Juhos 42e8ae09b5 ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines
SVN-Revision: 29106
13 years ago
Gabor Juhos c15caea360 ar71xx: add an irq parameter for ar724x_pcibios_init
SVN-Revision: 29105
13 years ago
Gabor Juhos cf90b24bb9 ar71xx: remove hardwired interface parameters from mach-* files
SVN-Revision: 29103
13 years ago
Gabor Juhos defc79cb40 ar71xx: force hardwired interface parameters in ar71xx_add_device_eth
SVN-Revision: 29102
13 years ago
Gabor Juhos 6f4bc1ce37 ar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth
SVN-Revision: 29101
13 years ago
Florian Fainelli 7f787707de build images for Pirelli A226M (#10409)
SVN-Revision: 29045
13 years ago
Florian Fainelli 5dc2098448 register uart0 on DWV-S0 boards (#10409)
SVN-Revision: 29044
13 years ago
Florian Fainelli 56a96ba876 refresh 3.0 patches
SVN-Revision: 29043
13 years ago
Florian Fainelli 54da5cf11f refresh 2.6.39 patches
SVN-Revision: 29042
13 years ago
Florian Fainelli 717a4391d7 rename 456-board_DWV-S0_ehci.patch to 456-board_DWV-S0_fixes.patch
SVN-Revision: 29041
13 years ago
Florian Fainelli c093c9df34 fix typo, load ip17xx switch module
SVN-Revision: 29039
13 years ago
Gabor Juhos 368bbc510b ar71xx: enable has_gbit flag on AR724{0,1}
SVN-Revision: 29026
13 years ago
Gabor Juhos 15d7016c9f ar71xx: fixup onboard PCIe chip registration on the DB120 board
SVN-Revision: 29022
13 years ago
Gabor Juhos f623066e60 ar71xx: drop DB120_WMAC_MAC_OFFSET, it is not needed
SVN-Revision: 29021
13 years ago
Gabor Juhos d2316b2a45 ar71xx: ag71xx: add support for getting switch port link status
SVN-Revision: 29017
13 years ago
Gabor Juhos d0db89133c ar71xx: remove mii_ctrl resources of the ethernet devices
SVN-Revision: 29016
13 years ago
Gabor Juhos 34015ed6e8 ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx
SVN-Revision: 29015
13 years ago
Gabor Juhos 2d882cff23 ar71xx: ag71xx: remove unused mii_cfg related functions and defines
SVN-Revision: 29014
13 years ago
Gabor Juhos 538a9493b9 ar71xx: set MII interface speed from the set_speed callbacks
SVN-Revision: 29013
13 years ago
Gabor Juhos 93cd46be13 ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data
Also rename the corresponding callback functions.

SVN-Revision: 29012
13 years ago
Gabor Juhos 9579bb4267 ar71xx: ag71xx: remove MII interface setup code
SVN-Revision: 29011
13 years ago
Gabor Juhos da64ce8603 ar71xx: configure MII interface type from ar71xx_setup_phy_if_mode
SVN-Revision: 29010
13 years ago
Gabor Juhos 0112153a0e ar71xx: fix occasional kernel hangs during boot on AR934x
The patch taken from the linux-mips mailing list.

The Kernel hangs occasionally during boot after
"Calibrating delay loop..". This is caused by the
c0_compare_int_usable() routine in cevt-r4k.c
returning false which causes the system to disable
the timer and hang later. The false return happens
because the routine is using a series of four calls
to irq_disable_hazard() as a delay while it waits
for the timer changes to propagate to the cp0 cause
register. On newer MIPS cores, like the 74K, the
series of irq_disable_hazard() calls turn into ehb
instructions and can take as little as a few clock
ticks for all 4 instructions. This is not enough of
a delay, so the routine thinks the timer is not
working.

This fix uses up to a max number of cycle counter
ticks for the delay and uses back_to_back_c0_hazard()
instead of irq_disable_hazard() to handle the hazard
condition between cp0 writes and cp0 reads.

SVN-Revision: 29009
13 years ago
Gabor Juhos 1afc76ea13 ar71xx: refresh kernel patches
SVN-Revision: 29008
13 years ago
Jonas Gorski d8acb75009 linux: update 3.1 to 3.1.1
SVN-Revision: 29007
13 years ago
John Crispin a8797d0de6 lantiq: add uci-defaults code for handling leds
SVN-Revision: 29004
13 years ago
John Crispin 832e02cd77 lantiq: add /lib/lantiq.sh and make hotplug handlers use it
SVN-Revision: 29003
13 years ago
John Crispin 5dcbbf0160 lantiq: rename leds
SVN-Revision: 29002
13 years ago
John Crispin d84b7596d9 lantiq: split compat headers out of bsp header patch
SVN-Revision: 29001
13 years ago
John Crispin 2cff80f015 lantiq: adds hotplug handler for loading rt2x00 firmware
SVN-Revision: 29000
13 years ago
John Crispin 3660c51c40 lantiq: adds hotplug handler for handling buttons and makes w303v work with it
SVN-Revision: 28999
13 years ago
John Crispin 4248705108 lantiq: cleanup default package selection
SVN-Revision: 28998
13 years ago
John Crispin eb20ab87e6 lantiq: w303v has its rt2860 eep on the nor flash. tell compat-wireless how to use it
SVN-Revision: 28994
13 years ago
Gabor Juhos bbfaaeffd6 kernel: ar8216: add support for the AR8236 switch
SVN-Revision: 28993
13 years ago
Gabor Juhos ecb3690d0a kernel: ar8216: move port vlan setup into a separate function
SVN-Revision: 28992
13 years ago
Gabor Juhos 5ad763075e ar71xx: use the button for WPS control on the DB120
SVN-Revision: 28990
13 years ago
Gabor Juhos 4555be2bec ar71xx: register the second ethernet interface on the DB120 board
SVN-Revision: 28989
13 years ago
Gabor Juhos 368c6605a0 ar71xx: implement SoC specific phy interface setup
SVN-Revision: 28988
13 years ago
Gabor Juhos 21d317b9cc ar71xx: move phy interface setup into a separate function
SVN-Revision: 28987
13 years ago
Gabor Juhos aff0c84ffa ar71xx: register both MDIO bus on the DB120 board
SVN-Revision: 28986
13 years ago
Gabor Juhos b144249108 ar71xx: add AR934X specific MDIO registration code
SVN-Revision: 28985
13 years ago
Gabor Juhos f835106c8c ar71xx: add a secondary mdio bus
SVN-Revision: 28984
13 years ago
Gabor Juhos 90a42da270 ar71xx: rename ar71xx_mdio_* structures to ar71xx_mdio0_*
SVN-Revision: 28983
13 years ago
Gabor Juhos 9daa2149fd ar71xx: add an id argument to ar71xx_add_device_mdio
SVN-Revision: 28982
13 years ago
Gabor Juhos b07b687aec ar71xx: pass netdev and miidev pointer to ar71xx_add_device_dsa
SVN-Revision: 28981
13 years ago
Gabor Juhos a9216bb76e ar71xx: add AR934x specific USB setup
SVN-Revision: 28980
13 years ago
Gabor Juhos 346e44105a ar71xx: register the first ethernet interface on the DB120 board
SVN-Revision: 28979
13 years ago
Gabor Juhos b1ba5e2f3d ar71xx: allow to register ethernet interfaces for AR934X
SVN-Revision: 28978
13 years ago
Gabor Juhos 2f9e535e89 ar71xx: ag71xx: use fixed link parameters if the mii bus is not registered
SVN-Revision: 28977
13 years ago
Gabor Juhos e962b07c8b ar71xx: add AR934X specific bootstrap and reset register bits
SVN-Revision: 28976
13 years ago
Gabor Juhos d461fdd519 ar71xx: add diag support for the DB120 board
SVN-Revision: 28975
13 years ago
Gabor Juhos d8db8e94c8 ar71xx: fix GPIO direction setup for AR934x
SVN-Revision: 28974
13 years ago
Gabor Juhos 43e993e5f5 ar71xx: fix AR934X clock frequency calculation
SVN-Revision: 28973
13 years ago
Gabor Juhos 8687fc3e41 ar71xx: generate ubootenv from uci-defaults instead of providing defconfig
I noticed most of /etc/defconfig was replaced by /etc/uci-defaults, which is
indeed much nicer. So I moved over ubootenv from having a defconfig-entry to
also be generated from uci-defaults.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28971
13 years ago
John Crispin fda4ee22a0 lantiq: improve falcon package selection
SVN-Revision: 28962
13 years ago
John Crispin e1dc73be90 lantiq: fix breakage introduced in 3.1 bump
SVN-Revision: 28961
13 years ago
Jo-Philipp Wich be49daffc8 base-files, target: assign name to system timeserver section, makes it easier to set servers on the cli
SVN-Revision: 28933
13 years ago
Jonas Gorski f53128f79b target: linux: mtd: fix MTDREFRESH to an arbitrary high number
To make the ioctl number "stable", use an arbitrary high number to prevent
conflicts with new mtd ioctls that would push MTDREFRESH's number.

Also make mtd use the in-kernel mtd headers.

SVN-Revision: 28893
13 years ago
Felix Fietkau 7a2efd8c28 ar71xx: remove dead code
SVN-Revision: 28851
13 years ago
Felix Fietkau 94309039b7 ar71xx: on ar7240, exclude ports from their own port vlan destination mask
SVN-Revision: 28850
13 years ago
Felix Fietkau b06efd636a kernel: add a top level menuconfig option for enabling lockdep
SVN-Revision: 28848
13 years ago
Gabor Juhos 87704b8078 ar71xx: create TL-WA901ND network config from uci-defaults
SVN-Revision: 28833
13 years ago
Gabor Juhos 09fdfa444f ar71xx: create ALL0258N network config from uci-defaults
SVN-Revision: 28832
13 years ago
Gabor Juhos 63348f5fed ar71xx: create NBG{460N,550N,550NH} network config from uci-defaults
SVN-Revision: 28831
13 years ago
Gabor Juhos c3692c8331 ar71xx: create WZR-HP-G300NH network config from uci-defaults
SVN-Revision: 28830
13 years ago
Gabor Juhos ee1a07a11d ar71xx: create RB-493G network config from uci-defaults
SVN-Revision: 28829
13 years ago
Gabor Juhos d82d063d81 ar71xx: create TL-WR1043ND network config from uci-defaults
SVN-Revision: 28828
13 years ago
Gabor Juhos 68be590894 ar71xx: create WRT160NL network config from uci-defaults
SVN-Revision: 28827
13 years ago
Gabor Juhos 83901e47c9 ar71xx: create PB92 network config from uci-defaults
SVN-Revision: 28826
13 years ago
Gabor Juhos 22ab9fc9ad ar71xx: create DIR-825-B1 network config from uci-defaults
SVN-Revision: 28825
13 years ago
Gabor Juhos e866ba5753 ar71xx: create TL-WR{841N-v1,941ND} network config from uci-defaults
SVN-Revision: 28824
13 years ago
Gabor Juhos 9298c7afe5 ar71xx: create RB-450 network config from uci-defaults
SVN-Revision: 28823
13 years ago
Gabor Juhos ac256f97bd ar71xx: create RB-450G, RouterStation Pro network config from uci-defaults
SVN-Revision: 28822
13 years ago
Gabor Juhos 944ac3f6cf ar71xx: create RB-433{,U} network config from uci defaults
SVN-Revision: 28821
13 years ago
Gabor Juhos 6e8390ae6c ar71xx: create even more network configs from the uci-defaults script
Create the default network configuration dynamically for the
AR724x/AR9331 boards. Some other boards are using the same
configuration, so convert those as well.

SVN-Revision: 28820
13 years ago
Gabor Juhos b62560413a ar71xx: create more network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with
swapped eth0, eth1 interfaces.

SVN-Revision: 28819
13 years ago
Gabor Juhos 6c92b26bac ar71xx: create a bunch of network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with
a single ethernet interface.

SVN-Revision: 28818
13 years ago
Gabor Juhos 0a8e5dbf7b ar71xx: create generic network config from an uci-defaults script
SVN-Revision: 28817
13 years ago
Gabor Juhos 54c034ae7a ar71xx: remove AP81 defconfig, it is the same as the generic config
SVN-Revision: 28816
13 years ago
Gabor Juhos 5b6cc3eb9f ar71xx: change generated Buffalo firmware versions
With version 1.76 the upgrade may fail with newer Buffalo firmwares with
a message like this:
"You can not update the firmware because the firmware version is earlier
than 1.82. Please use 1.82 or later version for firmware update."

SVN-Revision: 28815
13 years ago
Imre Kaloz cc2cf8f3d5 update 3.1 patches
SVN-Revision: 28814
13 years ago
Imre Kaloz c4bc2552a3 update arm mach-types
SVN-Revision: 28813
13 years ago
Gabor Juhos eb9ef60e2d ar71xx: enable sysupgrade on the WHR-G301N and WHR-HP-GN boards
SVN-Revision: 28812
13 years ago
Gabor Juhos 8456840d82 ar71xx: wrap long lines in the upgrade script
SVN-Revision: 28811
13 years ago
Gabor Juhos c60baf78ce ar71xx: fix WHR-HP-G300N firmware partition offset
SVN-Revision: 28810
13 years ago
Gabor Juhos b27254a2c5 ar71xx: add default network configuration for the WHR-HP-GN
SVN-Revision: 28807
13 years ago
Gabor Juhos 034b2b7cde ar71xx: build image for the Buffalo WHR-HP-GN
SVN-Revision: 28806
13 years ago
Gabor Juhos a801d620a7 ar71xx: add support for the Buffalo WHR-HP-GN board
SVN-Revision: 28805
13 years ago
Gabor Juhos 0d9ae0a036 ar71xx: build image for the Buffalo WHR-G301N
SVN-Revision: 28804
13 years ago
Gabor Juhos 4509af17ed ar71xx: add support for the Buffalo WHR-G301N board
SVN-Revision: 28803
13 years ago
Gabor Juhos 63784ea2bc ar71xx: fix WHR-HP-G300N image generation
SVN-Revision: 28802
13 years ago
Gabor Juhos b3b21cb3bf ar71xx: enable WHR-HP-G300N support in kernel config
SVN-Revision: 28801
13 years ago
Gabor Juhos 4aace1e2e3 ar71xx: fix WHR-HP-G300N MTD partitions
SVN-Revision: 28800
13 years ago
Michael Büsch 05ce57c005 omap24xx: Add cbus tahvo locking fix.
SVN-Revision: 28767
13 years ago
Michael Büsch 6288ac7ed4 omap24xx: Fix n810bm compilation
SVN-Revision: 28766
13 years ago
Gabor Juhos 297ac9a7f1 kernel: swconfig: add a missing unlock in error path
SVN-Revision: 28753
13 years ago
Jo-Philipp Wich d6f02b62d4 add timeserver config to target specific system configs as well
SVN-Revision: 28750
13 years ago
Felix Fietkau 82bd0a43f1 kernel: merge regression fixes for the netfilter patches to the 3.1 kernel patches (patch by tripolar)
SVN-Revision: 28734
13 years ago
John Crispin 95d36d3efe lantiq: remove obseleted folder. we use 3.1 now
SVN-Revision: 28728
13 years ago
John Crispin ea36ad76bc lantiq: bump to 3.1
SVN-Revision: 28721
13 years ago
Gabor Juhos 4c985724af ar71xx: add missing AR71XX_MACH_TL_WR741ND_V4
SVN-Revision: 28709
13 years ago
Gabor Juhos fc8adbb854 ar71xx: build image for the TL-WR741ND v4 board
SVN-Revision: 28708
13 years ago
Gabor Juhos 91f08d47c2 ar71xx: add initial support for the TL-WR741ND v4 board
The ethernet port LEDs are not working yet.

SVN-Revision: 28706
13 years ago
Gabor Juhos 21e651c9a1 ar71xx: add AR933X GMAC register defines
SVN-Revision: 28705
13 years ago
Gabor Juhos 43e2e2e4ef ar71xx: combine LEDs setup in one file
SVN-Revision: 28704
13 years ago
Gabor Juhos f372620ffa ar71xx: unify LED names on Planex boards
SVN-Revision: 28703
13 years ago
Gabor Juhos 66ab406d5a ar71xx: unify LED names on Buffalo boards
SVN-Revision: 28702
13 years ago
Gabor Juhos e7586959df ar71xx: unify LED names on TP-Link boards
SVN-Revision: 28701
13 years ago
Gabor Juhos 3a7b12a27d ar71xx/all0258n: sysupgrade support
U-Boot on the ALL0258N needs offset, size and md5 for kernel and rootfs to be
stored in the U-Boot environment.
If the checksums don't match during boot, a failsafe-system is booted instead.
This patch adds a board-specific sysupgrade hack for the all0258n which
calculates and updates the checksums for the U-Boot environment.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28700
13 years ago
Gabor Juhos f40557a692 ar71xx/all0258n: add default config
This adds default network and uboot-env settings for the ALL0258N.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28699
13 years ago
Gabor Juhos 06d9653b36 ar71xx: remove default network config of the mzk-w04nu board as well
It works with the generic config.

SVN-Revision: 28695
13 years ago
Gabor Juhos 693c777eaf ar71xx: remove LED setup of nonexistent interfaces on RB750
SVN-Revision: 28693
13 years ago
Gabor Juhos 2bcd612e72 ar71xx: remove default network config of the wnr2000 board
It is the same as the generic configuration.

SVN-Revision: 28692
13 years ago
Vasilis Tsiligiannis 17ccd4aec4 rt305x: Create factory image for Fonera 2.0n
SVN-Revision: 28689
13 years ago
Michael Büsch 29958120a2 omap24xx: Default to linux-3.1
SVN-Revision: 28687
13 years ago
Michael Büsch c00fd42353 omap24xx: Fix n810 LCD initialization
SVN-Revision: 28685
13 years ago
Michael Büsch f37c24d35f omap24xx: Fix n810 boot
SVN-Revision: 28683
13 years ago
Gabor Juhos 39b3bfcf6a ar71xx/sysupgrade: use $magic_long instead of $magic when comparing with a 32-bit value
Aparently $magic_long was meant here instead of $magic when comparing with
32-bit values.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28678
13 years ago
Michael Büsch fd0e6e1452 omap24xx: Refresh 3.1 config
SVN-Revision: 28677
13 years ago
Michael Büsch ba9ee13744 omap24xx: Refresh 3.1 patches
SVN-Revision: 28676
13 years ago
Michael Büsch e184bfe6f0 Fix tusb patch
SVN-Revision: 28675
13 years ago
Michael Büsch a3db2f2055 omap24xx: Fix MUSB compile
SVN-Revision: 28674
13 years ago
Michael Büsch 5dde93038f omap24xx: Add n800 touchscreen and keypad drivers. Thanks to Marat Radchenko.
SVN-Revision: 28673
13 years ago
Michael Büsch 7d123a86e3 omap24xx: Add 3.1 patchset.
SVN-Revision: 28672
13 years ago
Gabor Juhos 415814f051 ar71xx: fix typos in image/Makefile
SVN-Revision: 28618
13 years ago
Gabor Juhos 1646346798 ar71xx: add initial support for the OpenMesh OM2P board
Based on a patch by Marek Lindner <marek@open-mesh.com>

SVN-Revision: 28617
13 years ago
Gabor Juhos d02f22fea1 ar71xx/all0258n: fix partition layout
A miscalculation in the original patch makes OpenWrt destroy the failsafe image.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28615
13 years ago
Michael Büsch f15f6bc76f Update my email address
SVN-Revision: 28603
13 years ago
Felix Fietkau b17bfe4f68 x86: disable crashlog, ioremap of RAM does not work properly here
SVN-Revision: 28599
13 years ago
Gabor Juhos 4a70cace09 ar71xx: create image for the WNDR3800
This adds support for the Netgear WNDR3800, it is almost the same as
the WNDR3700v2. It just has more RAM so the hd_id had to be adjusted.

Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>

SVN-Revision: 28597
13 years ago
Jo-Philipp Wich 3d1d93cb0c target: remove CONFIG_IDE_PROC_FS support as well
SVN-Revision: 28586
13 years ago
Jo-Philipp Wich de7cae82e9 brcm47xx: revert accidentially added EARLY_PRINTK symbol from previous commit
SVN-Revision: 28585
13 years ago
Jo-Philipp Wich a9e64493d8 target: globally disable BSD process accounting
SVN-Revision: 28584
13 years ago
Gabor Juhos ee8077f0fe ramips: Support for NexAira BC2
The preconfiguration of the USB LED has benn move to the
/etc/uci-defaults/leds script. [juhosg]

Signed-off-by: Adam Porter <porter.adam at gmail.com>

SVN-Revision: 28571
13 years ago
Gabor Juhos 18452a753b ramips: fix switch-port assignment for HW550-3G
WAN is on swtich port 0 for Aztech HW550-3G.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28570
13 years ago
Gabor Juhos 68a01c0180 ramips: combine led setup for all boards in one file
This removes unnecessary duplication and simplifies led setup for new
boards. It would be a one line change most likely.

Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

SVN-Revision: 28569
13 years ago
Gabor Juhos c8b9086ac5 ar71xx: build image for the Buffalo WHR-HP-G300N
Based on a patch by Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 28568
13 years ago
Gabor Juhos 9d51cda2db ar71xx: Buffalo WHR-HP-G300N kernel support
The initial support for the Buffalo WHR-HP-G300N box.
The code was confirmed to boot and run, but not tested in depth.

Known problem: iw phy phy0 info shows:
	Coverage class: 0 (up to 0m)
	Available Antennas: TX 0 RX 0

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 28567
13 years ago
Gabor Juhos 0ab6be2ba3 ar71xx: build image for the Allnet ALL0258N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28565
13 years ago
Gabor Juhos d96e321bd1 ar71xx: add kernel support for the Allnet ALL0258N board
This patchs adds support for the Allnet ALL0258N outdoor AP/bridge.
The ALL0258N is based on the AR7240 SoC paired with an AR9285 radio,
it got 8MB of NOR and 32MB SDRAM.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28564
13 years ago
Gabor Juhos ef41e0a61c ar71xx: don't override CONFIG_FSNOTIFY
SVN-Revision: 28563
13 years ago
Jo-Philipp Wich b61de9c865 base-files: make sure inittab-console-fixup returns with success (#10275)
SVN-Revision: 28562
13 years ago
Nicolas Thill b0d9bccafc x86: allow VDI & VMDK images for all subtargets (closes: #10255)
SVN-Revision: 28518
13 years ago
Jonas Gorski 40d088446f linux: generic: refresh patches for 3.1-rc10
Hopefully the last one and identical to final.

SVN-Revision: 28492
13 years ago
Jonas Gorski a136b67604 linux: ar71xx: add support for Mikrotik Routerboard RB493G
SVN-Revision: 28423
13 years ago
Jonas Gorski 03f91068d1 ar71xx: add a workaround for ar8316 not always driving the TA bit to low
AR8316 behind a GPIO bitbanged MDIO bus fails to drive the turnaround bit
to low despite returning a valid value. Ignore it and just use the
returned value anyway.

SVN-Revision: 28422
13 years ago
Jonas Gorski b7a2a74823 ar8216: use mdiobus_{read,write} to ensure proper locking
SVN-Revision: 28421
13 years ago
John Crispin 0a866293bd * update patches to 3.0
* add basic vr9 support
* backport 3.1 fixes
* backport 3.2 queue (falcon)

SVN-Revision: 28405
13 years ago
Jonas Gorski c674c874b7 ag71xx: close a race between the phy state machine and link state
A fast stop/start cycle could leave the ag71xx interrupts and tx engine
disabled when using a phy driver with a fixed link and the start/stop
happens between two phy state machine polls.

Prevent this by always forcing the link down on stop regardless of phy
state and having a phy connected.

SVN-Revision: 28380
13 years ago
Jo-Philipp Wich ce5e1abbb7 add IDs for Huawai K3770, K3771, K4510 and K4511 to option driver
SVN-Revision: 28376
13 years ago