Commit Graph

7527 Commits

Author SHA1 Message Date
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
2011-12-07 06:55:39 +00:00
Gabor Juhos
43bd4c6ad1 ramips: fix mac addresses on the DIR-300/600 boards
SVN-Revision: 29471
2011-12-06 20:06:08 +00:00
Jonas Gorski
e33bb9ec66 linux: update 3.1 to 3.1.4
SVN-Revision: 29470
2011-12-06 19:50:30 +00:00
Jonas Gorski
6e2ae90f4a linux: update 3.0 to 3.0.12
SVN-Revision: 29469
2011-12-06 19:50:25 +00:00
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
2011-12-06 16:26:44 +00:00
Gabor Juhos
fbfad4e9b4 ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
SVN-Revision: 29467
2011-12-06 16:26:43 +00:00
Gabor Juhos
d753e08c79 ar71xx: fix TL-MR3x20 profile names in image/Makefile
SVN-Revision: 29463
2011-12-06 13:53:21 +00:00
Gabor Juhos
62d8009cdd ar71xx: cleanup TP-Link profiles
SVN-Revision: 29461
2011-12-06 10:29:25 +00:00
Gabor Juhos
f7a482d382 ar71xx: add TP-Link board detection
SVN-Revision: 29459
2011-12-05 21:11:01 +00:00
Gabor Juhos
bdc2eca7de ar71xx: use correct mac on the lan interface on several TP-LINK devices
SVN-Revision: 29458
2011-12-05 21:10:58 +00:00
Gabor Juhos
0103069372 ar71xx: allow to pass negative offset values for ar71xx_init_mac
SVN-Revision: 29457
2011-12-05 21:10:55 +00:00
Gabor Juhos
ada92aee62 ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
SVN-Revision: 29456
2011-12-05 18:21:15 +00:00
Gabor Juhos
c6bcf8d1d8 ar71xx: verify hardware id of firmware images on TP-Link boards
SVN-Revision: 29455
2011-12-05 18:11:51 +00:00
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
2011-12-05 17:27:07 +00:00
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
2011-12-05 17:27:06 +00:00
Gabor Juhos
b5d7b359b2 ramips: use ramips_get_mac_* functions in the preinit script
SVN-Revision: 29452
2011-12-05 17:27:04 +00:00
Gabor Juhos
4d5b940e66 ramips: move ramips_get_mac_* functions to lib/ramips.sh
SVN-Revision: 29451
2011-12-05 17:27:03 +00:00
Gabor Juhos
cc853acb3a ramips: add ramips_ prefix to get_mac_{binary,nvram} functions
SVN-Revision: 29450
2011-12-05 17:27:02 +00:00
Gabor Juhos
b1137d48a4 ramips: fix network configuration setup
SVN-Revision: 29448
2011-12-05 16:54:48 +00:00
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
2011-12-05 14:52:36 +00:00
Gabor Juhos
3e7a6d182a ar71xx: check squashfs signature in TP-Link mtd parser
SVN-Revision: 29446
2011-12-05 14:52:33 +00:00
Gabor Juhos
feebf484ba ar71xx: use the lzma-loader on TP-Link boards w/o lzma support
SVN-Revision: 29444
2011-12-05 14:52:28 +00:00
Gabor Juhos
d42968351f ar71xx: add lzma loader
SVN-Revision: 29443
2011-12-05 14:52:25 +00:00
Felix Fietkau
1f809532de ar71xx: add preliminary support for wzr-hp-g450h
SVN-Revision: 29441
2011-12-05 14:20:51 +00:00
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
2011-12-05 14:20:44 +00:00
Gabor Juhos
4cc2b9bb06 ar71xx: rewrite WNDR3700/3800 handling
SVN-Revision: 29434
2011-12-05 13:03:54 +00:00
Jo-Philipp Wich
78699c2e51 add some missing wndr3800 base-files definitions
SVN-Revision: 29433
2011-12-05 12:56:21 +00:00
Gabor Juhos
5177814ade ar71xx: change user-space board detection
SVN-Revision: 29432
2011-12-05 12:56:20 +00:00
Gabor Juhos
8a3a60fc64 ar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too big
SVN-Revision: 29431
2011-12-05 12:47:53 +00:00
Gabor Juhos
56c9b50006 ramips: fix argus board rootfs size
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29422
2011-12-04 15:24:57 +00:00
Gabor Juhos
7cfa39f032 ar71xx: use the tp-link parser on the tp-link boards
Also remove static partition maps.

SVN-Revision: 29416
2011-12-03 18:13:31 +00:00
Gabor Juhos
514b1167c9 ar71xx: add mtd partition parser for the TP-Link boards
SVN-Revision: 29415
2011-12-03 18:13:27 +00:00
Gabor Juhos
fc7fb29bae ar71xx: run the RedBoot parser only on the RedBoot based boards
SVN-Revision: 29414
2011-12-03 18:13:25 +00:00
Gabor Juhos
9cc28d5aa0 ar71xx: run the MyLoader parser only on the WP543 board
SVN-Revision: 29413
2011-12-03 18:13:23 +00:00
Gabor Juhos
67a0b9aada ar71xx: run the wrt160nl parser only on the WRT160NL board
Also remove static mtd partition definitions.

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

SVN-Revision: 29406
2011-12-03 16:33:38 +00:00
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
2011-12-01 22:49:05 +00:00
Gabor Juhos
f188f1bad5 ar71xx: add support for Ubiquiti AirRouter
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>

SVN-Revision: 29395
2011-12-01 22:49:02 +00:00
Gabor Juhos
0612667c34 ar71xx: configure default led behavior for the OM2P
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 29394
2011-12-01 22:48:59 +00:00
Gabor Juhos
3fccc3b376 ramips: enable sysupgrade on the RT-N15 board
SVN-Revision: 29393
2011-12-01 22:48:58 +00:00
Gabor Juhos
4b2d1c3ad3 ramips: wrap long line in platform upgrade script
SVN-Revision: 29392
2011-12-01 22:48:57 +00:00
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
2011-12-01 22:48:55 +00:00
Gabor Juhos
3a9e02fa41 ramips: setup default network configuration for RT-N15
Based on a patch by Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29390
2011-12-01 22:48:54 +00:00
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
2011-12-01 22:48:53 +00:00
Gabor Juhos
80221fcd2a ramips: remove default network configuration, and generate that from uci-defaults
SVN-Revision: 29387
2011-12-01 22:48:51 +00:00
Gabor Juhos
4f6c58adac ramips: use /lib/functions/uci-defaults.sh
SVN-Revision: 29386
2011-12-01 22:48:48 +00:00
Gabor Juhos
39348e387f ar71xx: use /lib/functions/uci-defaults.sh
SVN-Revision: 29385
2011-12-01 22:48:47 +00:00
Gabor Juhos
569d8de6d6 ramips: simplify uci-defaults/network script
SVN-Revision: 29383
2011-12-01 22:48:45 +00:00
Gabor Juhos
66c9a351dd ramips: setup mac and network interfaces from separate functions
SVN-Revision: 29382
2011-12-01 22:48:43 +00:00
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
2011-12-01 22:48:42 +00:00
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
2011-12-01 22:48:41 +00:00
Gabor Juhos
7c678e7511 ramips: fix package name of kmod-input-gpio-buttons
Based on a patch from Omnima Limited.

SVN-Revision: 29379
2011-12-01 22:48:39 +00:00
Gabor Juhos
2ed38b24a8 ramips: move kmod-rt2800-pci to DEFAULT_PACKAGES
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29378
2011-12-01 22:48:38 +00:00
Gabor Juhos
295e04084c ramips: setup bc2 mac addresses from the generic network script
SVN-Revision: 29377
2011-12-01 22:48:37 +00:00
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
2011-12-01 22:48:35 +00:00
John Crispin
88cb7ae104 omap24xx: bump to 3.1.3
SVN-Revision: 29349
2011-11-28 12:46:18 +00:00
John Crispin
bf7316424c lantiq: bump to 3.1.3
SVN-Revision: 29348
2011-11-28 10:22:58 +00:00
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
2011-11-25 20:47:44 +00:00
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
2011-11-24 20:09:43 +00:00
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
2011-11-24 20:09:38 +00:00
Gabor Juhos
600b6efc41 ar71xx: copy atheros initramfs images to the image directory
SVN-Revision: 29325
2011-11-24 20:09:35 +00:00
Gabor Juhos
d97cf76790 ar71xx: specify mtd layout in command line for the DB120 board
SVN-Revision: 29324
2011-11-24 20:09:32 +00:00
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
2011-11-23 12:22:15 +00:00
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
2011-11-22 18:50:51 +00:00
Florian Fainelli
718907b661 don't package gpioctl by default
SVN-Revision: 29288
2011-11-21 16:36:39 +00:00
Nicolas Thill
c33f21ae95 target/uml: export atomic64_* functions on 32-bit x86
SVN-Revision: 29287
2011-11-21 14:28:33 +00:00
Gabor Juhos
9990523a0f ar71xx: set GE0 phy_mask for AR933x
SVN-Revision: 29274
2011-11-20 11:30:10 +00:00
Jo-Philipp Wich
b5739aabd9 fix D-Link DSL-2650U image generation
SVN-Revision: 29266
2011-11-19 21:34:51 +00:00
Jonas Gorski
8bac0df4ae linux: update 3.0 to 3.0.9
SVN-Revision: 29264
2011-11-19 18:39:12 +00:00
Florian Fainelli
ae90aa4efd build images for D-Link DSL-2650U (#9003)
SVN-Revision: 29238
2011-11-18 10:37:03 +00:00
Michael Büsch
0b86c2648a omap24xx: Fix cbus nested IRQ acking
SVN-Revision: 29237
2011-11-17 22:31:27 +00:00
Michael Büsch
df2810831c omap24xx: Fix initialization of software IRQ mask
SVN-Revision: 29236
2011-11-17 21:02:00 +00:00
Michael Büsch
3f92f7dd90 omap24xx: Update 3.1 config
SVN-Revision: 29234
2011-11-17 19:35:57 +00:00
Michael Büsch
4793be2df9 omap24xx: Some retu/tahvo IRQ fixes
SVN-Revision: 29233
2011-11-17 18:06:19 +00:00
Michael Büsch
630bafc5dd omap24xx: Add basic kexec fixes.
SVN-Revision: 29232
2011-11-17 14:57:34 +00:00
Michael Büsch
06c986984e omap24xx: Add workaround for omapfb locking bug.
SVN-Revision: 29201
2011-11-16 22:34:38 +00:00
Michael Büsch
0f03e17bd0 Revert r29193
SVN-Revision: 29195
2011-11-16 19:03:23 +00:00
Michael Büsch
93f02b1ba0 omap24xx: Set platform specific optimization flags
SVN-Revision: 29194
2011-11-16 19:02:12 +00:00
Michael Büsch
b058e97af4 n810: Add xmodmap to profile
SVN-Revision: 29193
2011-11-16 19:01:19 +00:00
Florian Fainelli
8d66465b08 include bridge and 8021q modules by default
SVN-Revision: 29164
2011-11-15 22:24:22 +00:00
John Crispin
bbe96f13a6 lantiq: add runtime generation of /etc/config/network
SVN-Revision: 29161
2011-11-15 18:21:00 +00:00
John Crispin
79a4642b40 lantiq: fix falcon build breakage
dev-wifi-rt2x00 fails to build on falcon due to missing pci

SVN-Revision: 29129
2011-11-14 18:55:58 +00:00
Gabor Juhos
f27548448b ar71xx: fix USB LED on the DB120 board
SVN-Revision: 29126
2011-11-14 17:43:15 +00:00
Gabor Juhos
6ebbb1329d ar71xx: add a function for selecting output signal on a given GPIO pin
SVN-Revision: 29125
2011-11-14 17:43:14 +00:00
Gabor Juhos
0c1d3617d7 ar71xx: fix GPIO function handling on AR934x
SVN-Revision: 29124
2011-11-14 17:43:13 +00:00
Gabor Juhos
aa0c8c4885 ar71xx: add AR71XX_ prefix to GPIO_REG_* defines
SVN-Revision: 29123
2011-11-14 17:43:11 +00:00
Gabor Juhos
62a7795afd ar71xx: merge nand scan patch
SVN-Revision: 29122
2011-11-14 17:43:10 +00:00
Gabor Juhos
12dae96097 ar71xx: fix a compiler warning
SVN-Revision: 29110
2011-11-14 13:07:47 +00:00
Gabor Juhos
5ae0fd802c ar71xx: fix GPIO count for AR934x
SVN-Revision: 29109
2011-11-14 13:07:45 +00:00
Gabor Juhos
e52269364a ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934X
SVN-Revision: 29108
2011-11-14 11:49:53 +00:00
Gabor Juhos
3104d70552 ar71xx: use a dummy irq chip for WMAC and PCIe irq hadling
SVN-Revision: 29107
2011-11-14 11:49:51 +00:00
Gabor Juhos
42e8ae09b5 ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines
SVN-Revision: 29106
2011-11-14 11:49:49 +00:00
Gabor Juhos
c15caea360 ar71xx: add an irq parameter for ar724x_pcibios_init
SVN-Revision: 29105
2011-11-14 11:49:47 +00:00
Gabor Juhos
cf90b24bb9 ar71xx: remove hardwired interface parameters from mach-* files
SVN-Revision: 29103
2011-11-14 07:38:09 +00:00
Gabor Juhos
defc79cb40 ar71xx: force hardwired interface parameters in ar71xx_add_device_eth
SVN-Revision: 29102
2011-11-14 07:38:07 +00:00
Gabor Juhos
6f4bc1ce37 ar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth
SVN-Revision: 29101
2011-11-14 07:38:05 +00:00