1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-01 23:11:51 +02:00
Commit Graph

8191 Commits

Author SHA1 Message Date
juhosg
e310d5b786 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-07 06:55:39 +00:00
juhosg
9de4cb5314 ramips: fix mac addresses on the DIR-300/600 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 20:06:08 +00:00
jogo
87cb2a5585 linux: update 3.1 to 3.1.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 19:50:30 +00:00
jogo
9556c47348 linux: update 3.0 to 3.0.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 19:50:25 +00:00
juhosg
56124f8782 ar71xx: create firmware image for the TL-WR740N/ND v4 boards
Based on a patch by Cristian Deluxe <djcristiandeluxe@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 16:26:44 +00:00
juhosg
a00ddbec78 ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 16:26:43 +00:00
juhosg
8e71900eeb ar71xx: fix TL-MR3x20 profile names in image/Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 13:53:21 +00:00
juhosg
05a6361449 ar71xx: cleanup TP-Link profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 10:29:25 +00:00
juhosg
ae0a750c4b ar71xx: add TP-Link board detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:11:01 +00:00
juhosg
99997320ea ar71xx: use correct mac on the lan interface on several TP-LINK devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:10:58 +00:00
juhosg
a97fd90341 ar71xx: allow to pass negative offset values for ar71xx_init_mac
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:10:55 +00:00
juhosg
097436bca8 ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 18:21:15 +00:00
juhosg
f6ab961f67 ar71xx: verify hardware id of firmware images on TP-Link boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 18:11:51 +00:00
juhosg
6f27fcc4b0 ramips: set mac addresses for the NBG-419N
Based on a patch by Nerijus Baliunas <nerijus@users.sourceforge.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 17:27:07 +00:00
juhosg
0a03c64116 ramips: set preinit interface mac on the hw550-3g board
Based on a patch by Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 17:27:06 +00:00
juhosg
d7a5a32c17 ramips: use ramips_get_mac_* functions in the preinit script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 17:27:04 +00:00
juhosg
e595553be8 ramips: move ramips_get_mac_* functions to lib/ramips.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 17:27:03 +00:00
juhosg
5db41b5518 ramips: add ramips_ prefix to get_mac_{binary,nvram} functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 17:27:02 +00:00
juhosg
8b0e381068 ramips: fix network configuration setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 16:54:48 +00:00
juhosg
baf6222ae5 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:36 +00:00
juhosg
35606f14a3 ar71xx: check squashfs signature in TP-Link mtd parser
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:33 +00:00
juhosg
7b716ce3ec ar71xx: use the lzma-loader on TP-Link boards w/o lzma support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:28 +00:00
juhosg
057c5990c9 ar71xx: add lzma loader
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:25 +00:00
nbd
c1679af6b3 ar71xx: add preliminary support for wzr-hp-g450h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:20:51 +00:00
nbd
f684eb2454 ar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to dev-m25p80.c, other buffalo routers use it as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:20:44 +00:00
juhosg
44a7438217 ar71xx: rewrite WNDR3700/3800 handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 13:03:54 +00:00
jow
62f688b6ec [ar71xx] add some missing wndr3800 base-files definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:56:21 +00:00
juhosg
1f7d4ca407 ar71xx: change user-space board detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:56:20 +00:00
juhosg
71573bb739 ar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too big
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:47:53 +00:00
juhosg
974654e8c5 ramips: fix argus board rootfs size
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-04 15:24:57 +00:00
juhosg
11a837ce02 ar71xx: use the tp-link parser on the tp-link boards
Also remove static partition maps.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:31 +00:00
juhosg
17c2fb2fc8 ar71xx: add mtd partition parser for the TP-Link boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:27 +00:00
juhosg
37a46ae9f4 ar71xx: run the RedBoot parser only on the RedBoot based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:25 +00:00
juhosg
23c921bb91 ar71xx: run the MyLoader parser only on the WP543 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:23 +00:00
juhosg
4dbb6eef31 ar71xx: run the wrt160nl parser only on the WRT160NL board
Also remove static mtd partition definitions.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:20 +00:00
juhosg
8c130c871f ar71xx: allow to pass part_probe types to the m25p80 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:18 +00:00
juhosg
4a763a41d3 ar71xx: create initramfs images for the newer TP-Link boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:57:23 +00:00
juhosg
3a0d11139d ar71xx: remove swconfig and wpad-mini from custom profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:33:41 +00:00
juhosg
1a3e21a48d ar71xx: add uboot-envtools to the default package list
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:33:40 +00:00
juhosg
7d80e1897f ar71xx: reclaim unused space in WNDR3700/3800 images
Patch by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:33:38 +00:00
juhosg
f688ec4123 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:49:05 +00:00
juhosg
41d8ed17e0 ar71xx: add support for Ubiquiti AirRouter
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:49:02 +00:00
juhosg
8d3dba5fca ar71xx: configure default led behavior for the OM2P
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:59 +00:00
juhosg
216fce04c3 ramips: enable sysupgrade on the RT-N15 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:58 +00:00
juhosg
a24e101ea6 ramips: wrap long line in platform upgrade script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:57 +00:00
juhosg
7a1df0165f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:55 +00:00
juhosg
3c681484c2 ramips: setup default network configuration for RT-N15
Based on a patch by Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:54 +00:00
juhosg
53a1653b16 ramips: rt288x: add swconfig and rtl8366{s,_smi} drivers to the default profile
It is needed by the RT-N15 board.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:53 +00:00
juhosg
52d2b347d2 ramips: remove default network configuration, and generate that from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:51 +00:00
juhosg
a0f4e5c8de ramips: use /lib/functions/uci-defaults.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:48 +00:00