Commit Graph

22297 Commits (d90e805fe607f6455a6ae8631e91c960ba4deaa2)
 

Author SHA1 Message Date
Gabor Juhos d90e805fe6 build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space
The genext2fs tool will 'reserve' 5% of the image size by default,
apparently by creating a huge lost+found directory. In fact it seemed to
be much more than 5% in practice — I saw an image with 8MiB used, and
recovered about 2MiB of it by deleting the 'empty' lost+found directory:

/dev/loop0         48377  8482     37438  19% /mnt/spare
 # rmdir lost+found/
/dev/loop0         48377  6014     39906  14% /mnt/spare

This makes it configurable, but leaves it at the genext2fs default
of 5% for now. It should probably be changed to default to zero, but
that can be a separate patch.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34408
12 years ago
Gabor Juhos 44131bd785 ramips: rt305x: add profile and build image for the Asus RT-N13U
Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34407
12 years ago
Gabor Juhos d3994b7408 ramips: rt305x: add user-space support for the Asus RT-N13U
Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34406
12 years ago
Gabor Juhos 0ec59e6235 ramips: rt305x: add kernel support for the Asus RT-N13U Wireless-N300 Router
The work has been backported from openwrt-dreambox with
some modifications & code cleanup.

* updated config-3.3
* updated config-3.6
* renamed rt-n13 to rt-n13u
* fixed mach-rt-n13u.c

[juhosg: move user-space support and image generation into separate
patches]

Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34405
12 years ago
Gabor Juhos c2f018fca2 remove common symbols from 3.6 configs
The removed symbols are present in the generic configuration.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34404
12 years ago
Gabor Juhos 1f516235ea remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34403
12 years ago
Gabor Juhos 3a4d0ebd5c kernel: update linux 3.6 to 3.6.8
Also refresh the affected patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34402
12 years ago
Luka Perkov 769c322cd0 uboot-kirkwood: build in $(BUILD_DIR)
SVN-Revision: 34401
12 years ago
Jo-Philipp Wich d2d458324b gettext-full: use shipped libxml for the host build, fixes lzma references from creeping in on certain distributions
SVN-Revision: 34400
12 years ago
Florian Fainelli ee16e144bb use physmap-flash part_probe_types
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34398
12 years ago
Florian Fainelli 7196f5d7c8 image.mk: don't squash file permissions in JFFS2 images
Currently we call mkfs.jffs2 --squash, which will change
both file permissions and owners.

If we have some file with suid bits, it will clear these bits.

Thus it's enough to just squash file owners, by replacing that
argument to --squash-uids.

Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34397
12 years ago
Florian Fainelli 0588d13a3e Fix typo in 96338GW power LED.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34396
12 years ago
Florian Fainelli dd852e242d add AudioCodes AC495 SoC
Found in the AudioCodes Tulip AC494 ATA.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34395
12 years ago
Florian Fainelli d59ba20030 do not call clk_put() on the timer clock
We don't support disabling the clock, but this is actually what it would do.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34394
12 years ago
Florian Fainelli 5d6208f34d do not list specific board compatible strings
The general practice is to use the general SoC compatible string in both the
DTS and the board specific .c file.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34393
12 years ago
Florian Fainelli 94b7be6dd7 remove unused variables from Makefile.boot
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34392
12 years ago
Jo-Philipp Wich 32dcd5d6c7 trace-cmd: lazily evaluate extra plugins list, fixes stray build errors causing by missing operands to cp if the package was never built yet
SVN-Revision: 34390
12 years ago
Jo-Philipp Wich 78cec2cfca grub2: fix another case of gnulib failing under gnu libc
SVN-Revision: 34389
12 years ago
Hauke Mehrtens e9b6c999f5 broadcom-wl: fix two problems when more then one wifi card is available.
* The device should get a unique name at the beginning and not wl%d.
* load the nvram just one time into the own buffer, also when there is
  more than one device.

SVN-Revision: 34381
12 years ago
Gabor Juhos 38fced86ee base-files: add support for the morse LED trigger
Write "delay" and "message" options to their respective files,
allowing Morse code message configuration through UCI.
The delay (dit length) defaults to 150ms (about 8 words per minute,
suitable for beginners).

Signed-off-by: Petr Viktorin <encukou@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34380
12 years ago
Hauke Mehrtens efd00e6240 brcm47xx: fix title of Bcm4705-wl profile
SVN-Revision: 34378
12 years ago
Hauke Mehrtens a3d976aff5 brcm47xx: add profile for bcm4705 with wl driver
SVN-Revision: 34336
12 years ago
Gabor Juhos 57b7879a4e ramips: ramips_eth: use Kconfig definition to enable debug
The Kconfig identifier to enable debugging in the driver was different from the
actually used one. Fix that.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34332
12 years ago
Gabor Juhos 21d5df8700 ramips: add DIR-615 D userspace support
Commit 7c8edac25f23c4fc14239fdc293caa1317649944 introduced new machine and
Makefile changes to build images for this target. However, without the userspace
bits a ramips machine can't use wifi as the necessary "eeprom" data is to be
extracted by a hotplug script; also, sysupgrade support and default led
configuration are missing.

An IRC user reported these changes allowed him to use wifi on his hardware.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34331
12 years ago
Hauke Mehrtens 608efcdbd0 kernel: add CONFIG_BCMA_POSSIBLE=y to generic config as it is set in most of the target configs.
SVN-Revision: 34330
12 years ago
Hauke Mehrtens aa8e887a46 brcm47xx: whitespace cleanups
SVN-Revision: 34329
12 years ago
Florian Fainelli 203cbbd51d modules: remove obsolete comment (#12514)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34327
12 years ago
Florian Fainelli 062d3c1e67 iptables: fix typo in iptables musl patch after r34313
Thanks to Frank Meerkötter and Szabolcs Nagy for spotting the issue.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34326
12 years ago
Hauke Mehrtens be77f9951c brcm47xx: fix cpu clock detection on ASUS WL-520gU
The ASUS WL-520gU and some other similar Asus devices have a BCM5354
running at 200MHZ and not at 240 which is the default for this SoC.

This fixes #4083.

SVN-Revision: 34325
12 years ago
Hauke Mehrtens 264873b3c5 brcm47xx: watchdog: deactivate NOWAYOUT.
In the old configuration the SoC issued a reboot if the watchdog was
killed also if it was kill with TERM and not KILL.

This will fix #11724.

SVN-Revision: 34324
12 years ago
Hauke Mehrtens c62d86ecb8 brcm47xx: update watchdog driver
This watchdog driver should work with SoC having a PMU.

This fixes #11720.

SVN-Revision: 34323
12 years ago
Jonas Gorski 60e0e0d6e6 bcm63xx: Add a fixup for rt2x00 devices.
This patch adds support for defining rt2x00 eeprom data.
This eeprom data can be extracted from flash or loaded directly from a firmware file.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 34322
12 years ago
Jonas Gorski 746b4cec06 bcm63xx: Enable LED pin support for ath9k pci fixup.
Some boards need specifying LED pin in order to get it working.
For example, in board HW556 (Huawei HG556a) "led_pin" must be "2".
By default led_pin is "0", so dsl_274xb_rev_f is changed to "-1".

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 34321
12 years ago
Jonas Gorski 1baeede939 bcm63xx: fix spi transfer handling
* Accept transfers without bits_per_word set.

* Work around the inability of the hardware of keeping CS asserted.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 34320
12 years ago
Florian Fainelli 2a01fa43a5 musl: backport an upstream fix for MIPS and termios constants
Fixes weird console behavior with a musl rootfs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34318
12 years ago
Florian Fainelli 970756c6d7 musl: disable hardware FPU registers usage
This was crashing applications, thanks to Rich Felker for the suggestion.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34317
12 years ago
Gabor Juhos b0b994cf76 ar71xx: set pad6 cfg for AR8327 on the AP136 board
Also override the pll_1000 value. Without these settings
ethernet suffers from packet loss.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34316
12 years ago
Gabor Juhos 49d4b5581d generic: ar8216: set delay values for SGMII mode on AR8327
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34315
12 years ago
Florian Fainelli 6b63716262 add preliminary support for musl
Musl is an alternative C-library, see http://www.musl-libc.org for more infos.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34314
12 years ago
Florian Fainelli 14ed3f0f22 iptables: add some musl portability fixes
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34313
12 years ago
Florian Fainelli ba6c8bd614 linux-atm: add portability fixes
Spotted while building against musl libc.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34312
12 years ago
Florian Fainelli 92fd6e6f1a busybox: fix arping applet building on musl
musl-libc is more strict about missing includes.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34311
12 years ago
Florian Fainelli 94bdc366d4 netfid: fix build on musl
AF_INET* is provided by sys/socket.h

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34310
12 years ago
Florian Fainelli 7c26e53d5d busybox: define musl specificities in platform.h
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34309
12 years ago
Florian Fainelli 5ae2524d3a base-files: use a natural mount syntax
Busybox built against musl-libc will choke on these otherwise, besides that
it is more natural to use the filesystem type, then options, then name, then
mountpoint.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34308
12 years ago
Florian Fainelli bc8fe9b40f busybox: change the date -k patch to be more portable
Not all libcs have support for tm_gmtoff which is only available for BSD
compatibility, and guarded with __USE_BSD defines, use __tm_gmtoff otherwise.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34307
12 years ago
Florian Fainelli 49cfa54509 grub2: accept the linux-musl* tuple
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34306
12 years ago
Luka Perkov 6db1b986ed uboot-lantiq: add new package
SVN-Revision: 34305
12 years ago
Jo-Philipp Wich 2371c6542e rules.mk: fix misspelled config symbol introduced by r34300
SVN-Revision: 34304
12 years ago
Luka Perkov 702f2590ea uboot-kirkwood: update to 2012.10
SVN-Revision: 34303
12 years ago