Commit Graph

8873 Commits (31d9f3d61fcb8b2e41e3250b5d747acb0a35bacf)

Author SHA1 Message Date
Gabor Juhos 73df240bb3 ar71xx: add library code for RLE decoding
It will be used for the MikroTik boards.

SVN-Revision: 33337
2012-09-08 17:51:54 +00:00
Gabor Juhos f4be8a76de ar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x
SVN-Revision: 33335
2012-09-08 13:39:09 +00:00
Gabor Juhos 70d00ac64e ar71xx: refresh kernel patches
SVN-Revision: 33334
2012-09-08 13:39:04 +00:00
Florian Fainelli 6771d63284 use the recommended ARM I/O accessors
use {read,write}l_relaxed instead of the plain __raw_{read,write}l variants.

SVN-Revision: 33330
2012-09-08 09:51:05 +00:00
Daniel Dickinson c3b7139ab2 dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first be flashed with the 'standard' image) and an image to revert the change to allow reversion to stock firmware.
SVN-Revision: 33326
2012-09-06 18:15:26 +00:00
Luka Perkov 4c76b3635b lantiq: fix sx76x default uci network configuration
SVN-Revision: 33324
2012-09-06 00:09:46 +00:00
Florian Fainelli 3730e6c794 add some ohci workarounds to make ohci work
SVN-Revision: 33323
2012-09-05 20:19:29 +00:00
Gabor Juhos d8b2fef763 ramips: Add missing andmask to ramips_esw register read for recv_good value.
Add missing andmask to ramips_esw register read for recv_good value.

Without the mask, recv_bad leaks into the recv_good packet count.
Didn't notice the bug before since you don't usually get bad
packets, so I only saw it when I was playing with overlength packets
earlier...

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 33322
2012-09-05 20:08:43 +00:00
Gabor Juhos 04c6143ca9 ramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable.
Use doubletagging to disable ramips_esw vlan by default, it seems
more reliable.

Daniel Golle found an issue where sometimes (possibly only for
RT3352) the default vlan disable method (clearing en_vlan, untag,
doubletag and putting all ports into vlan 0) doesn't work and the
packets get sent out vlan-tagged with vlan 0.

Instead switch to using the doubletagging method (allow doubletagged
packets, put all ports into vlan 0 with untag enabled) by default.

Unless someone figures out a way to really globally disable vlan for
this switch, this seems like the best (most reliable) option.

I did some tests regarding maximum packet size and did not see any

difference between the two methods, both allow for slightly bigger packets
than the ramips_main.c ethernet driver (ping stops going through
above "ping -s 1472" (1514 bytes), on the switch packets are recv_good until
"ping -s 1490", or about 1532 bytes).

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 33321
2012-09-05 20:08:42 +00:00
John Crispin f186bff0ef add missing kvm_guest kernel options
SVN-Revision: 33319
2012-09-05 19:38:42 +00:00
Gabor Juhos 069f544d2b ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x
SVN-Revision: 33318
2012-09-05 19:26:50 +00:00
Gabor Juhos 81bb246a8d ar71xx: add rssileds to package set in profile for devices which got them.
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33317
2012-09-05 19:22:51 +00:00
Gabor Juhos 6c7b776ae0 ramips: add rssileds to package set in profile for devices which got them.
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33316
2012-09-05 19:22:48 +00:00
Florian Fainelli 94a45be66b enable CFI command set 0002 FORCE_WORD_WRITE
SVN-Revision: 33315
2012-09-03 20:25:51 +00:00
Florian Fainelli 19cbe80501 pad squashfs image
SVN-Revision: 33314
2012-09-03 20:25:46 +00:00
Florian Fainelli 1964753c22 add Generic and dLAN USB Extender profiles
SVN-Revision: 33313
2012-09-03 20:25:40 +00:00
Florian Fainelli e88e20d975 nuport-mac: disable MAC RX and TX during interface close
Fixes sporadic crashes while reconfiguring the network interface.

SVN-Revision: 33312
2012-09-03 10:26:01 +00:00
Gabor Juhos 11c3392b7f Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"
That was based on assumptions.

SVN-Revision: 33310
2012-08-29 10:37:55 +00:00
Gabor Juhos eb9a97a360 ar71xx: all0315n: fix ethernet according to vendor info
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33309
2012-08-29 10:37:54 +00:00
Gabor Juhos 02cb5f9dcd ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
SVN-Revision: 33308
2012-08-29 10:37:53 +00:00
Gabor Juhos b0da5b73b8 ramips: add kmod-usb-ohci to defaults packages in profile of ALL5002
SVN-Revision: 33307
2012-08-29 10:37:51 +00:00
Gabor Juhos 54d8a55eed ramips: make built-in switch transparent for ALL0256N and ALL5002
This allows them to transparently communicate with an external VLAN switch.

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

SVN-Revision: 33305
2012-08-29 10:37:47 +00:00
Gabor Juhos bc4763a399 ramips: Power down phy on disabled switch ports
Power down phy on disabled switch ports.

Haven't measured this myself yet, but according to this
http://www.8devices.com/community/viewtopic.php?f=6&t=156
it can save about 300mW of power.

[juhosg: fix checkpatch warning]

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 33304
2012-08-29 10:37:45 +00:00
Gabor Juhos 1617f226a9 ramips: Add support for 8devices Carambola dev board.
Add support for 8devices Carambola dev board.

The Carambola is a small RT3050-based development board with two
ethernet ports, on-board chip antenna, usb and plenty of accessible
gpio ports, sold by 8devices.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 33303
2012-08-29 10:37:43 +00:00
Gabor Juhos bb0785880a ramips: Rename POC registers
Rename POC registers.

The current code uses POC1-POC3.

The datasheet uses:
POC1: Port Control 0
POC1: Port Control 1
POC2: Port Control 2

So the first POC1 is a typo that should have been POC0, rename the
registers to POC0-POC2 accordingly.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 33302
2012-08-29 10:37:41 +00:00
Gabor Juhos f1b9d77912 ramips: Minor ramips_esw.c cleanup
Stop handling VLAN setup in the kernel.
Removes the obsolete RT305X_ESW_VLAN_CONFIG_BYPASS option I added for
WL-351 and add some extra comments.
Also removes the en_vlan per-port flag that isn't very useful really, it now
is only controlled by the global enable_vlan flag.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 33301
2012-08-29 10:37:40 +00:00
Gabor Juhos 1f3400d3b4 ramips: Add switch setup to uci network defaults
Add switch setup to uci network defaults.

The 'lan' attribute is used to decide into which vlan to put the
port.
Currently 'disable' is never set, but the intention is to use this
for devices like the 8devices Carambola, which only has two ports
hooked up to the SoC.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 33300
2012-08-29 10:37:38 +00:00
Gabor Juhos 3b17f1deb8 ramips: Add swconfig support to ramips_esw.c
Add swconfig support to ramips_esw.c

This patch adds swconfig support for ramips_esw:

Tested on both D-LINK DIR-300 B1 and Sitecom WL-351 (external
rtl8366rb on internal port 5).
I've made sure that in the enable_vlan=0 case it behaves like a dumb
switch, so external switches should work fine with vlans and
verified this on the WL-351.

The current state shown by swconfig is always read directly from HW
registers, new settings only show after 'swconfig dev rt305x set apply'.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 33299
2012-08-29 10:37:36 +00:00
Gabor Juhos 358c7e47f2 ramips: ramips_esw.c indentation cleanup
Minor indentation cleanup.

Prepare for the main swconfig patch by cleaning up indentation a bit.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 33298
2012-08-29 10:37:35 +00:00
Gabor Juhos 0c5688cc38 ar71xx: image: fix Profile name for TL-WA701 (closes #12094)
SVN-Revision: 33295
2012-08-29 10:37:30 +00:00
Gabor Juhos 5fdbb33db4 ar71xx: Buffalo WZR-HP-AG300H LED support
An improved LED support for Buffalo WZR-HP-AG300H.

There will be two new packages to go with this patch
(ar922x-led-fix-hotplug and ar922x-led-fix-init).
These packages essentially perform the same task of
disabling "JTAG over GPIO pins" function which is
currently required for LEDs on AR922x emac GPIO to work,
and are both considered a temporary fix that circumvent
this problem.

[juhosg: add the hotplug script from the proposed
ar922x-led-fix-hotplug package to ar71xx/base-files]

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

SVN-Revision: 33294
2012-08-29 10:11:55 +00:00
Gabor Juhos 4405faae26 gemini: fix bus ids for PHY devices (closes: #12082)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33288
2012-08-27 18:09:57 +00:00
Gabor Juhos f2030c3113 ar71xx: add profile for Allnet devices
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33287
2012-08-27 14:55:38 +00:00
Gabor Juhos d65c06c15c ar71xx: generate image for ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33286
2012-08-27 14:55:37 +00:00
Gabor Juhos 4079f3163f ar71xx: sysupgrade for the ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33285
2012-08-27 14:55:36 +00:00
Gabor Juhos abffa4ecfb ar71xx: rename all0258n.sh to allnet.sh
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33284
2012-08-27 14:55:35 +00:00
Gabor Juhos 1d96b0275c ar71xx: detect ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33282
2012-08-27 14:55:32 +00:00
Gabor Juhos eebdd633e4 ar71xx: add support for the Allnet ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33281
2012-08-27 14:55:31 +00:00
Gabor Juhos cca873e8e0 ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33280
2012-08-27 14:55:26 +00:00
Gabor Juhos fccf1f5105 generic: add support for the EON EN25Q64 SPI flash chip
It is used in some TL-WDR4310 devices. Closes #12077.

SVN-Revision: 33275
2012-08-26 09:27:56 +00:00
Gabor Juhos 5a9c7fda3e ar71xx: unbreak building images for TL-WR1041N-v2, TL-WR2543N
Commit 48788063266ad99bdab03b53cbe7e1a564c2d9b3 (r33251) introduced a
regression with board= kernel command line parameter incorrectly
initialised.

The faulty builds propogated to the snapshots download area. This makes
the device unbootable and TP-Link users have to attach the serial to
recover.

Here is the q&d way i used to identify MIPS boards that didn't have a
corresponding entry in the image/Makefile:

for i in `find ../files/arch/mips/ath79/ -type f -exec cat {} \; \
	| sed -n '/MIPS_MACHINE/ { s/^[^"]*"\([^"]*\)".*$/\1/; p; }'`; do
		grep -q ,$i, Makefile || echo $i;
done > missing-boards.new

Reported-by: Casper on IRC
Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 33274
2012-08-26 08:15:11 +00:00
Gabor Juhos f3d5edffdc ar71xx: image: fix TL-WR1043ND board id (#12079)
SVN-Revision: 33272
2012-08-26 06:30:37 +00:00
John Crispin de3c3d7181 Enable eSATA sheevaplug
OpenWRT runs in a eSATA sheevaplug like a charm. This patch just enables
CONFIG_MACH_ESATA_SHEEVAPLUG so the proper MACHINE_START definition
is compiled in.

Signed-off-by: Unai Uribarri <unaiur@gmail.com>

SVN-Revision: 33266
2012-08-24 06:15:06 +00:00
Gabor Juhos 773b33d7d2 ar71xx: image: group and sort {Single,Multi}Profiles
SVN-Revision: 33264
2012-08-23 13:17:47 +00:00
Gabor Juhos a5e0eb0d95 ar71xx: image: group and sort mtdlayout definitions
SVN-Revision: 33263
2012-08-23 13:14:35 +00:00
Gabor Juhos f0ad972aba ar71xx: image: use the MultiProfile helper for the Madwifi profile
SVN-Revision: 33262
2012-08-23 13:11:25 +00:00
Gabor Juhos 333f030b79 ar71xx: image: automatically build a list of SingleProfiles
Use that for Default/Minimal profiles.

SVN-Revision: 33261
2012-08-23 13:08:15 +00:00
Gabor Juhos 5dce77837f ar71xx: image: use the new helpers for the ZyXEL images
SVN-Revision: 33260
2012-08-23 13:05:05 +00:00
Gabor Juhos be4be2d82a ar71xx: image: use the new helpers for the Zcomax images
SVN-Revision: 33259
2012-08-23 13:01:55 +00:00
Gabor Juhos 74bdb68ea4 ar71xx: image: use the new helpers for the WRT400 images
SVN-Revision: 33258
2012-08-23 12:58:45 +00:00
Gabor Juhos 8cf9a7b1c7 ar71xx: image: use the new helpers for the WZRHPG30XNH images
SVN-Revision: 33257
2012-08-23 12:55:35 +00:00
Gabor Juhos c965d8ead8 ar71xx: image: use the new helpers for the WHRHPG300N images
SVN-Revision: 33256
2012-08-23 12:52:25 +00:00
Gabor Juhos 71af43a7c7 ar71xx: image: use the new helpers for the UBNTXM images
SVN-Revision: 33255
2012-08-23 12:49:15 +00:00
Gabor Juhos 097e9938b4 ar71xx: image: use the new helpers for the UBNT images
SVN-Revision: 33254
2012-08-23 12:46:06 +00:00
Gabor Juhos 216e9b7a92 ar71xx: image: use the new helpers for the TPLINKOLD images
SVN-Revision: 33253
2012-08-23 12:42:56 +00:00
Gabor Juhos 48d6081fa5 ar71xx: image: use the new helpers for the TPLINK-LZMA images
SVN-Revision: 33252
2012-08-23 12:39:46 +00:00
Gabor Juhos 8546e00157 ar71xx: image: use the new helpers for the TPLINK images
SVN-Revision: 33251
2012-08-23 12:36:35 +00:00
Gabor Juhos 27feea1070 ar71xx: image: use the new helpers for the Planex images
SVN-Revision: 33250
2012-08-23 12:33:25 +00:00
Gabor Juhos 4dbabe5c21 ar71xx: image: use the new helpers for the PB4X images
SVN-Revision: 33249
2012-08-23 12:30:15 +00:00
Gabor Juhos bbaa0b9200 ar71xx: image: use the new helpers for the OpenMesh images
SVN-Revision: 33248
2012-08-23 12:27:06 +00:00
Gabor Juhos 4edc55f475 ar71xx: image: use the new helpers for the Netgear images
SVN-Revision: 33247
2012-08-23 12:23:56 +00:00
Gabor Juhos d9f933b8b8 ar71xx: image: use the new helpers for the MyLoader images
SVN-Revision: 33246
2012-08-23 12:20:46 +00:00
Gabor Juhos a409d0cf46 ar71xx: image: use the new helpers for the DIR825B1 images
SVN-Revision: 33245
2012-08-23 12:17:36 +00:00
Gabor Juhos b7e05e3a59 ar71xx: image: use the new helpers for the CyberTAN images
SVN-Revision: 33244
2012-08-23 12:14:26 +00:00
Gabor Juhos 292f074ad7 ar71xx: image: use the new helpers for the Cameo933x images
SVN-Revision: 33243
2012-08-23 12:11:17 +00:00
Gabor Juhos 4c9a428614 ar71xx: image: use the new helpers for the Cameo913x images
SVN-Revision: 33242
2012-08-23 12:08:07 +00:00
Gabor Juhos 19d840980f ar71xx: image: use the new helpers for the Cameo7240 images
SVN-Revision: 33241
2012-08-23 12:04:57 +00:00
Gabor Juhos ce91228e2b ar71xx: image: use the new helpers for the AthGzip images
SVN-Revision: 33240
2012-08-23 12:01:47 +00:00
Gabor Juhos 70e3dda99c ar71xx: image: use the new helpers for the AthLzma images
SVN-Revision: 33239
2012-08-23 11:58:37 +00:00
Gabor Juhos 31a88650d7 ar71xx: image: use the new helpers for the ALFA images
SVN-Revision: 33238
2012-08-23 11:55:27 +00:00
Gabor Juhos 2379e6f2a3 ar71xx: image: add a few helper functions
These functions will be used to simplify the Makefile.

SVN-Revision: 33237
2012-08-23 11:52:18 +00:00
Gabor Juhos 6ebc77af73 ar71xx: image: pass mtdlayout as a separate parameter for the ALFA template
SVN-Revision: 33236
2012-08-23 11:49:07 +00:00
Hauke Mehrtens 847afa343f update profiles
* add profile for BCM4705 based SoC using tg3 instead of b44
* remove redundant 105-Atheros.mk
* reorder

SVN-Revision: 33235
2012-08-22 21:54:06 +00:00
Gabor Juhos a2f82cf7ec ar71xx: add profile and build image for the TEW-712BR
SVN-Revision: 33234
2012-08-22 20:18:44 +00:00
Gabor Juhos 8744f8d183 ar71xx: TEW-712BR user space support
SVN-Revision: 33232
2012-08-22 20:12:24 +00:00
Gabor Juhos 8b3d95bba9 ar71xx: add support for the TRENDnet TEW-712BR board
SVN-Revision: 33231
2012-08-22 20:09:13 +00:00
Gabor Juhos 4073317695 ar71xx: fix serial clock calculation on AR933x
Closes #12031.

SVN-Revision: 33230
2012-08-22 19:11:10 +00:00
Gabor Juhos cebaa557be ramips: fix board parameter for the NBG-419N (#12061)
SVN-Revision: 33229
2012-08-22 17:55:12 +00:00
John Crispin 3686b8d279 derive system from hostcc to allow building inside a chroot
SVN-Revision: 33228
2012-08-22 15:07:32 +00:00
Gabor Juhos 2811d6c183 ar71xx: fix comment style in mach-tl-wr2543n.c
SVN-Revision: 33227
2012-08-22 12:42:59 +00:00
Gabor Juhos dc13dc1d54 ar71xx: fix mtd layout of the AP113
The 'mtdparts=' prefix and the name of the flash device is missing.

SVN-Revision: 33226
2012-08-22 12:39:46 +00:00
Gabor Juhos eb54a05e89 ramips: add profile for Allnet devices
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33225
2012-08-22 12:36:35 +00:00
Gabor Juhos 5a694e09c8 ar71xx: add ALL0305 board alias
For the pure convenience of having a correctly named
image and system name in /proc/cpuinfo , until we can
do that by having system names in DTS...

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

SVN-Revision: 33224
2012-08-22 12:33:22 +00:00
Gabor Juhos d77418d67e ramips: add RSSI leds for uci-defaults for ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33220
2012-08-22 09:46:30 +00:00
Gabor Juhos 0517183b9c ar71xx: add support for TP-Link TL-WDR3600
The TL-WDR3600 is identical to the TL-WDR4300 with the exception that is has
only two antennas.

[juhosg: remove the custom machine type, change the board name instead]

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 33219
2012-08-22 09:43:18 +00:00
John Crispin 6c9d20d6e7 tools/firmware-utils/ptgen option to use MB rounding
SVN-Revision: 33218
2012-08-22 09:22:38 +00:00
John Crispin 968ac3fd03 add led defintion for the WR2543 5GHz WLAN LED
Signed-off-by: Andy Leiserson <andy@leiserson.org>

SVN-Revision: 33215
2012-08-22 09:10:24 +00:00
Hauke Mehrtens 3133d4d8de remove unused file
SVN-Revision: 33210
2012-08-18 15:45:18 +00:00
Hauke Mehrtens 9eaee85cc2 make brcm47xx build only with bcma or only with ssb support.
There are some ifdefs missing so when only ssb or only bcma was
selected in the kernel config it did not build.

SVN-Revision: 33209
2012-08-18 14:08:35 +00:00
Hauke Mehrtens f4d6baf498 update gpio patches
SVN-Revision: 33208
2012-08-18 11:51:35 +00:00
Gabor Juhos 67e6461ad7 ramips: add board alias for the ALL0239-3G
Generate image for the ALL0239-3G which can be flashed through the
chipset-vendor SDK based firmware's web-interface and bootloader.

The bootloader seems to ignore uImage checksum errors, but does complain about
them once the 0xDEADC0DE was replaced by an actual JFFS2 page.

I'm working on implementing fixtrx for uImage in the mtd package to solve this.

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

SVN-Revision: 33206
2012-08-17 17:56:07 +00:00
Gabor Juhos 89606b61b1 ramips: add support for D-Link DIR-615 H1
rt2x00 still needs some patching as the radio doesn't come to life.
Installation via webflash.

[juhosg: fix whitespace issues, remove rt305x_register_usb
from machine setup because the board has no USB port]

Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>

SVN-Revision: 33205
2012-08-17 17:56:05 +00:00
Gabor Juhos 182a18a369 ar71xx: setup WLAN LED for the TL-WA901ND v2
Closes #11889.

SVN-Revision: 33202
2012-08-16 07:11:30 +00:00
Jo-Philipp Wich a062e08bb4 use bundle-libraries.sh to install required host utilities into imagebuilder staging tree
SVN-Revision: 33196
2012-08-15 13:28:26 +00:00
Gabor Juhos 5d84dabf0f generic: extend pci_isable_usb_common_quirks patch
Fixes the following build error:
  SYSMAP  System.map
  Building modules, stage 2.
  MODPOST 48 modules
ERROR: "usb_enable_xhci_ports" [drivers/usb/host/ehci-hcd.ko] undefined!
ERROR: "usb_is_intel_switchable_xhci" [drivers/usb/host/ehci-hcd.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

SVN-Revision: 33193
2012-08-15 13:26:51 +00:00
John Crispin 76954dc8b0 set xen images to gzip compression, fixes #11970
SVN-Revision: 33192
2012-08-15 09:20:12 +00:00
Florian Fainelli a183ced08e MCS8140 actually selects CPU_ARM926T
Should make inclusion for other MCS814x SoCs easier

SVN-Revision: 33188
2012-08-14 16:19:30 +00:00
John Crispin 5f8ffb8873 fixes gpio_dev un/reload balancing
Signed-off-by: SHI Bin <shibin@ctsing.com>

SVN-Revision: 33183
2012-08-14 12:32:11 +00:00
Florian Fainelli 25792cb971 generic: enhanced image Makefile
* Creation of uImage for WNR854T only done once (before 2x for jffs2 build and 1x for squashfs build)
* Got rid of unneccessary padding of rootfs partition
* ARM zImages always need a machine id, therefore do not copy generic (=no id) uImage to BIN_DIR, instead copy zImage
* Generalized functions for easier re-using and enhancing (e.g. D-Link DNS 323 implementation would be only a couple lines)
* Copy rootfs partitions to BIN_DIR, just like it is done for D-Link DNS 323
* Use variables to allows easily changing for custom builds, e.g. kernel mtd size for symbols
* Size check of kernel files to avoid builds that break devices
* Use for "-sysupgrade" and "-factory" in image names (like ar71xx, brcm63xx, etc.) to avoid questions about which image to use

Signed-off by: Matthias Buecher <mail@maddes.net>

SVN-Revision: 33174
2012-08-13 14:46:47 +00:00
Gabor Juhos 5fc4b7f5fd ar71xx: uci-defaults/leds for ALL0258N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33165
2012-08-13 14:01:38 +00:00