Commit Graph

30202 Commits (59acb0b8f42cdde32943ed6906a9e2cefa849526)
 

Author SHA1 Message Date
John Crispin 59acb0b8f4 scripts: fix getver git dir check
Git internals are referenced by .git which isn't necessarily a
directory. It may also be a file that references the actual .git
directory using the gitdir directive.

If .git is assumed to be a directory the build will not be able to get
the correct version when openwrt is included as a git submodule because
when used as a submodule .git will actually be a file referencing to a
subdirectory in the parent's git dir.

When the correct version is not detected some image generation tools
will fail because the OpenWrt string will be 'OpenWrtunknown' which is
too long for some header formats.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 44452
9 years ago
John Crispin e07c4f2150 lantiq: disable buffered writes on Intel command set flash
Some Lantiq SoCs are not able to use buffered writes properly with
Intel command set flash due to the way NOR addresses on EBU are
manipulated. This patch disables buffered writes on those devices.
The only device affected at the moment is ARV4510PW, others use
AMD/Fujitsu command set.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 44451
9 years ago
John Crispin a15dd8ec78 lantiq: Fix flash for targets with NO_XIP
For targets with NO_XIP ltq_mtd->map[i].phys equals -1 and devm_ioremap fails.
Fix this by using pdev->resource[i].start instead.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 44450
9 years ago
John Crispin af3b4077bd brcm2708: add kmod-hwmon-bcm2835 support and more missing symbols
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44449
9 years ago
John Crispin 9270474941 brcm2708: force uart as the default console for procd and remove nonexistent console
procd gets last console from cmdline, so swapping tty1 (framebuffer) and ttyAMA0 (uart) is enough to force procd output via uart

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

SVN-Revision: 44448
9 years ago
John Crispin dc72499b53 brcm2708: add board detection and LED support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44447
9 years ago
John Crispin eea462106f uci-defaults: add ucidef_set_led_mmc
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44446
9 years ago
Nicolas Thill d0cf5a0530 package/valgrind: fix build on eglibc
configure tries to guess pagesize by calling getconf, provided by eglibc and compiled for the target, not the host.

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44445
9 years ago
Nicolas Thill 40c0261f34 generic: ocf: irq compat stuff is not needed anymore
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44444
9 years ago
Imre Kaloz 40baf1b287 fix typo
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44443
9 years ago
Imre Kaloz 4893c0c7f7 generic: upgrade to 3.18.7
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44442
9 years ago
John Crispin 285348e086 ixp4xx: fix gpio_line_set() logic, fixes #18986
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44439
9 years ago
John Crispin 8f3e9c91a8 hostapd: backport BSSID black/whitelists
This change adds the configuration options "bssid_whitelist" and
"bssid_blacklist" used to limit the AP selection of a network to a
specified (finite) set or discard certain APs.

This can be useful for environments where multiple networks operate
using the same SSID and roaming between those is not desired. It is also
useful to ignore a faulty or otherwise unwanted AP.

In many applications it is useful not just to enumerate a group of well
known access points, but to use a address/mask notation to match an
entire set of addresses (ca:ff:ee:00:00:00/ff:ff:ff:00:00:00).

This is especially useful if an OpenWrt device with two radios is used to
retransmit the same network (one in AP mode for other clients, one as STA for
the uplink); the following configuration prevents the device from associating
with itself, given that the own AP to be avoided is using the bssid
'C0:FF:EE:D0:0D:42':

config wifi-iface
	option device 'radio2'
	option network 'uplink'
	option mode 'sta'
	option ssid 'MyNetwork'
	option encryption 'none'
	list bssid_blacklist 'C0:FF:EE:D0:0D:42/00:FF:FF:FF:FF:FF'

This change consists of the following cherry-picked upstream commits:

b3d6a0a8259002448a29f14855d58fe0a624ab76
b83e455451a875ba233b3b8ac29aff8b62f064f2
79cd993a623e101952b81fa6a29c674cd858504f
(squashed to implement bssid_{white,black}lists)

0047306bc9ab7d46e8cc22ff9a3e876c47626473
(Add os_snprintf_error() helper)

Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de>

SVN-Revision: 44438
9 years ago
John Crispin cd96421b19 kexec-tools: bump version from v2.0.4 to v2.0.9.
- kexec-tools is now distributed with tarballs of .tar.gz and .tar.xz
   format; .tar.bz2 are not provided anymore.
 - Add CONFIG_KEXEC_LZMA for selecting lzma support.

Patches are updated along to:

 - Remove the now unnecessary patch 0004-mips_regdefs.patch.
 - Drop 100-reduce_size.patch because the size reduction is marginal.
 - Allow zlib and lzma support coexist together.  This patch has been
   merged into upstream project.
 - Fix kexec-tools' configure.ac.
 - Fix a few compilation warnings.

Size comparison of stripped binaries of kexec malta target with both
zlib and lzma support enabled.

 - Before: 41447
 - After:  42583

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 44437
9 years ago
John Crispin 15cc0550c7 kexec-tools: show up only when KERNEL_KEXEC is enabled.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 44436
9 years ago
John Crispin 9dd9656e82 brcm2708-gpu-fw: simplify target dependencies
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44435
9 years ago
John Crispin 0d36998795 brcm2708: fix spidev
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44434
9 years ago
John Crispin 9b74de00f7 brcm2708: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44433
9 years ago
John Crispin 2dbcf5e91f brcm2708: add missing config symbols and fix kernel modules for Raspberry Pi 2 by removing local version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44432
9 years ago
John Crispin fae2ec33d1 brcm2708: add subtarget copyright and use better board names
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44431
9 years ago
John Crispin c6224cf05d ar7: switch to v3.18
Thank you Dimitri for testing this.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44430
9 years ago
John Crispin 91c07334d8 generic: improve kexec support of MIPS.
- Allow --command-line parameters of kexec-tools be parsed and used by
   the kernel.
 - For malta machine, mark kernel code and kernel data segments as
   "System RAM" instead of "reserved" in /proc/iomem, otherwise
   kexec-tools will complain that program segments in ELF kernel file
   are invalid.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 44429
9 years ago
John Crispin 440d9ddf7f lantiq: fix DGN3500 root device
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 44428
9 years ago
John Crispin 45c912ba13 ar71xx: Add profile and build image for TP-Link MR12U v1
This patch adds corrected profile and build image for the TL-MR12U board.

Unfortunately i cannot test the factory image since i can't find anywhere
the original chinese firmware but
the generated openwrt-ar71xx-generic-tl-mr12u-v1-squashfs-sysupgrade.bin
worked just fine over a modified mr3040 factory image i managed to modify
to initially flash the mr12u from the original firmware.

Proper kernel support probably should be added since cat /proc/cpuinfo shows
MR13U.

Signed-off-by: Daniel Petre <daniel.petre@gmail.com>

SVN-Revision: 44427
9 years ago
John Crispin bd5635770c ar71xx: Add user-space support for TP-Link MR12U v1
This patch adds user-space support for the TL-MR12U board based on the mr13u patches.

Signed-off-by: Daniel Petre <daniel.petre@gmail.com>

SVN-Revision: 44426
9 years ago
John Crispin 235a83cdfe ar71xx: ZyXEL NBG6716 add gpio usb power on/off
ZyXEL NBG6716 add missing GPIO USB power on/off

Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com>

SVN-Revision: 44425
9 years ago
Rafał Miłecki 615909819d kernel: mtdsplit_uimage: fix passed info about buf size
We obviously can't use sizeof(*buf) which is always 1.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44424
9 years ago
Nicolas Thill 02aa882e60 sunxi: A20-OLinuXino-Lime profile rename leftover
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44423
9 years ago
Luka Perkov 5cce8f9a0f kirkwood: Seagate GoFlex Net
Add GoFlex Net "Board Name" , set and cleanup network default and LEDs.
Remove kmod-rtc-marvell from default packages, as the GoFlex net does not have a RTC.

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 44422
9 years ago
John Crispin dbfb21ee90 lantiq: make m25p80 work again
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44421
9 years ago
John Crispin 1eb616764e lantiq: fix mac addr assignment inside lantiq_etop
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44420
9 years ago
John Crispin c5b7e1aaf4 lantiq: PCI should be enabled on vrx200
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44419
9 years ago
John Crispin 44b929fcdd ralink: make the mt7621 irq core with with the new CM api
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44418
9 years ago
John Crispin de8d6e447c ar71xx: ZyXEL NBG6716 led/buttons cleanup
ZyXEL NBG6716 led/buttons cleanup
 - improper numbered leds
 - improper named buttons

Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com>

SVN-Revision: 44417
9 years ago
John Crispin 7b3354bb92 generic: fix broken patch in the transition of 3.19 from -rc5 to release .0
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 44416
9 years ago
Rafał Miłecki 30d6bc1026 kernel: mtdsplit_uimage: read more data to match Edimax needs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44415
9 years ago
Rafał Miłecki 072759ff39 kernel: mtdsplit_uimage: use separated buffer for reading data
We shouldn't read data directly into the header struct, as some devices
(e.g. Edimax) need more bytes due to some extra header.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44414
9 years ago
Rafał Miłecki 5673e0b703 kernel: mtdsplit_uimage: add parser for Edimax devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44413
9 years ago
Rafał Miłecki 1aed104c80 mtdsplit_uimage: more generic header verify function
Some devices have uImage headers after some extra headers (e.g. Edimax
devices). To support such cases our verify callback function should be
allowed to return header offset, not just a boolean value.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44412
9 years ago
Rafał Miłecki 1f3cdb8634 kernel: fix bgmac check for chip ID
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44411
9 years ago
Rafał Miłecki e73ca898ab kernel: backport mainlined bgmac patches from 3.19
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44410
9 years ago
Jo-Philipp Wich e3744a7cc7 base-files: fix target/subtarget value in /etc/openwrt_release
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44409
9 years ago
Rafał Miłecki b5310e180d bcm53xx: use bcm47xx_wdt for restarting device
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44408
9 years ago
John Crispin 1aaa72103b oxnas: disable usbgadget support
usbgadget was initially enabled in the hope to support gadget mode
as it seems to be supported by the hardware.
However, it currently breaks things and doesn't work anyway, so
remove the usbgadget feature.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44407
9 years ago
John Crispin 173809b650 brcm2708-gpu-fw: revert to github releases, adapt to bcm2708 target changes and add back InstallDev
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44406
9 years ago
John Crispin eaec1e41b1 brcm2708: add missing SUBTARGETS:= to makefile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44405
9 years ago
John Crispin b67a6f65d6 brcm2708: remove CMA_DEBUG
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44404
9 years ago
John Crispin cafc77f74c brcm2708: add Raspberry Pi 2 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44403
9 years ago
John Crispin 146c9aff27 brcm2708: remove 3.14 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44402
9 years ago
John Crispin 0f4431758b ralink: fix when tx done is 0 also need to clean interrupt status
Signed-off-by: michael lee <igvtee@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44401
9 years ago