juhosg [Wed, 25 Sep 2013 19:32:33 +0000 (19:32 +0000)]
avr32: enable the new mtdsplit code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38193
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 25 Sep 2013 18:42:14 +0000 (18:42 +0000)]
ar71xx: use correct board id for TL-MR3040 v2
Fix the image building code so that the kernel correctly
distinguishes between hardware revisions.
Signed-off-by: Mads Hansen <d@taba.se>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38192
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 25 Sep 2013 18:42:11 +0000 (18:42 +0000)]
ar71xx: add user-space support for TL-MR3040 v2
Signed-off-by: Mads Hansen <d@taba.se>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38191
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 25 Sep 2013 18:42:10 +0000 (18:42 +0000)]
ar71xx: improve kernel support for the TL-MR3040 v2
This patch adds support for the hardware slide switch on
the TL-MR3040 v2.
Signed-off-by: Mads Hansen <d@taba.se>
[juhosg: use EV_SW instead of EV_KEY]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38190
3c298f89-4303-0410-b956-
a3cf2f4a3e73
luka [Wed, 25 Sep 2013 18:07:24 +0000 (18:07 +0000)]
imx6: add support for gw51xx
The Gateworks GW51xx family of products is based on the Freescale
i.MX6DL SoC and offers a small form-factor with peripherals such as:
- i.MX6DL 512MB DDR3
- 256MB NAND FLASH
- 1x PCIe
- 1x USB EHCI (to PCIe socket)
- 1x USB OTG
- HDMI out
- Analog Video in
- Gateworks System Controller
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38189
3c298f89-4303-0410-b956-
a3cf2f4a3e73
luka [Wed, 25 Sep 2013 18:07:20 +0000 (18:07 +0000)]
imx6: add support for gw54xx
The Gateworks GW54xx family of products is based on the Freescale
i.MX6Q SoC and offers a large variety of peripherals such as:
- i.MX6Q 1GB DDR3 (standard)
- 256MB NAND FLASH (standard)
- 6x PCIe (3x with USB)
- Optional expansion for additional USB/PCI based periperhals
- 1x USB EHCI
- 1x USB OTG
- HDMI Audio/Video in/out
- Analog Video in/out
- Analog Audio in/out
- Gateworks System Controller
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38188
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 25 Sep 2013 18:00:35 +0000 (18:00 +0000)]
package/kernel: add support for industrial-io and AD799x
Add support for industrial IO core and (still staging)
driver for AD799x, a high precision I2C ADC family.
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
[juhosg: update subject, reformat commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38187
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 25 Sep 2013 18:00:34 +0000 (18:00 +0000)]
package/kernel: add hwmon driver for ADT7410
Add support for the ADT7410 hwmon driver, a high precision
I2C temperature sensor.
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
[juhosg: update subject, reformat commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38186
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 25 Sep 2013 18:00:33 +0000 (18:00 +0000)]
package/kernel: move I2C-GPIO drivers from i2c.mk to other.mk
Move pca953x support from i2c.mk to other.mk, where other
GPIO drivers are located. Remove duplicate pcf857x support
from i2c.mk.
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
[juhosg: update subject, and reformat commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38185
3c298f89-4303-0410-b956-
a3cf2f4a3e73
luka [Wed, 25 Sep 2013 17:55:38 +0000 (17:55 +0000)]
imx6: update gw5400-a dts cleanup
- remove dead code
- alphabatize
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38184
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 25 Sep 2013 17:51:12 +0000 (17:51 +0000)]
atheros: fix kernel warning about usage of reset gpio
During a reset the gpiolib warns about using the reset gpio
without explicit requesting it before:
[ 147.930000] ------------[ cut here ]------------
[ 147.930000] WARNING: at drivers/gpio/gpiolib.c:103 gpio_ensure_requested+0x68/0xcc()
[ 147.930000] autorequest GPIO-5
[ 147.930000] Modules linked in: ath5k ath mac80211 ipv6 cfg80211 compat arc4 crypto_blkcipher aead gpio_button_hotplug
[ 147.930000] Call Trace:
[ 147.930000] [<
8004e3bc>] dump_stack+0x8/0x34
[ 147.930000] [<
80058430>] warn_slowpath_common+0x78/0xa4
[ 147.930000] [<
800584e4>] warn_slowpath_fmt+0x2c/0x38
[ 147.930000] [<
80166f18>] gpio_ensure_requested+0x68/0xcc
[ 147.930000] [<
80167264>] gpio_direction_output+0xdc/0x168
[ 147.930000] [<
8004aba8>] ar2315_restart+0x28/0x54
[ 147.930000] [<
80069778>] sys_reboot+0x178/0x1c0
[ 147.930000] [<
80043670>] stack_done+0x20/0x40
[ 147.930000]
[ 147.930000] ---[ end trace
2c7a53d8549562d6 ]---
This is fixed with this patch by using another gpiolib api call
which includes the missing request.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38183
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 25 Sep 2013 17:13:24 +0000 (17:13 +0000)]
kernel/3.10: refresh all target patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38182
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 25 Sep 2013 16:39:23 +0000 (16:39 +0000)]
ramips: sync 3.10 configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38181
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 25 Sep 2013 16:22:04 +0000 (16:22 +0000)]
lantiq/3.10: unbreak the mtd-split patch
Compile tested only.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38180
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 25 Sep 2013 14:38:57 +0000 (14:38 +0000)]
kernel/3.10: add upstream commit id to the backported hso patches
Also remove the internal patch numbers.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38179
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 25 Sep 2013 14:38:56 +0000 (14:38 +0000)]
kernel/3.10: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38178
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 25 Sep 2013 13:34:52 +0000 (13:34 +0000)]
avr32: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38175
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 25 Sep 2013 13:34:51 +0000 (13:34 +0000)]
avr32: switch to 3.10
It works:
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Bleeding Edge, r38163)
-----------------------------------------------------
* 1/2 oz Galliano Pour all ingredients into
* 4 oz cold Coffee an irish coffee mug filled
* 1 1/2 oz Dark Rum with crushed ice. Stir.
* 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:/# uname -a
Linux OpenWrt 3.10.12 #1 Tue Sep 24 18:47:12 CEST 2013 avr32 GNU/Linux
root@OpenWrt:/# cat /proc/cpuinfo
processor : 0
chip type : AT32AP700x revision C
cpu arch : AVR32B revision 1
cpu core : AP7 revision 0
cpu MHz : 140.000
i-cache : 16K (4 ways x 128 sets x 32)
d-cache : 16K (4 ways x 128 sets x 32)
features : dsp simd ocd perfctr java
bogomips : 281.23
root@OpenWrt:/#
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38174
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 25 Sep 2013 13:33:49 +0000 (13:33 +0000)]
avr32: add support for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38173
3c298f89-4303-0410-b956-
a3cf2f4a3e73
luka [Wed, 25 Sep 2013 13:02:55 +0000 (13:02 +0000)]
feeds: enable cloning of specific git commit
Following syntax should be used to enable this feature:
src-git custom git://openwrt/custom-feed^SHA_COMMIT_ID
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38172
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Wed, 25 Sep 2013 07:44:48 +0000 (07:44 +0000)]
uhttpd: fix appending https ports to cmdline
Otherwise it is started only on non-secure ports.
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38171
3c298f89-4303-0410-b956-
a3cf2f4a3e73
luka [Tue, 24 Sep 2013 20:01:03 +0000 (20:01 +0000)]
[tools] quilt: update to 0.60
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38170
3c298f89-4303-0410-b956-
a3cf2f4a3e73
luka [Tue, 24 Sep 2013 20:01:02 +0000 (20:01 +0000)]
[tools] bison: update to 3.0
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38169
3c298f89-4303-0410-b956-
a3cf2f4a3e73
luka [Tue, 24 Sep 2013 20:01:00 +0000 (20:01 +0000)]
[tools] m4: update to 1.4.17
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38168
3c298f89-4303-0410-b956-
a3cf2f4a3e73
luka [Tue, 24 Sep 2013 16:21:30 +0000 (16:21 +0000)]
[tools] sdcc: drop tool, it is not used since r31227
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38167
3c298f89-4303-0410-b956-
a3cf2f4a3e73
cyrus [Tue, 24 Sep 2013 13:36:42 +0000 (13:36 +0000)]
uml: work around mangled parameter handling for ubd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38166
3c298f89-4303-0410-b956-
a3cf2f4a3e73
cyrus [Tue, 24 Sep 2013 13:36:38 +0000 (13:36 +0000)]
uml: fix some kernel compilation issues with GCC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38165
3c298f89-4303-0410-b956-
a3cf2f4a3e73
cyrus [Tue, 24 Sep 2013 13:36:33 +0000 (13:36 +0000)]
uml: work-around console issue with procd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38164
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 13:17:48 +0000 (13:17 +0000)]
ppc44x: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38163
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 13:17:47 +0000 (13:17 +0000)]
ppc44x: switch to 3.10
Compile tested only. The target is marked as
broken since 16 months so the kernel version
does not matter too much.
The target is scheduled for removal.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38162
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 13:17:46 +0000 (13:17 +0000)]
ppc44x: add support for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38161
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 13:17:45 +0000 (13:17 +0000)]
rb532: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38160
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 13:17:43 +0000 (13:17 +0000)]
rb532: switch 3.10
Compile tested only. The target is marked as
broken since 9 months so the kernel version
does not matter too much.
The target is scheduled for removal.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38159
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 13:17:42 +0000 (13:17 +0000)]
rb532: add support for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38158
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 13:17:39 +0000 (13:17 +0000)]
rb532: image: fix broken ifneq statement
Fixes the following build error:
/devel/openwrt/staging_dir/host/bin/patch-cmdline \
/devel/openwrt/build_dir/target-mipsel_uClibc-0.9.33.2/linux-rb532/vmlinux-initramfs \
'root=/dev/mtdblock1 rootfstype=yaffs2 '
Could not open kernel imagemake[5]: *** [install] Error 255
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38157
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 13:17:38 +0000 (13:17 +0000)]
rb532: remove trailing whitespaces from image/Makefile
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38156
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 12:19:57 +0000 (12:19 +0000)]
ar71xx: image: simplify mynet_n600_mtdlayout
Remove the kernel and rootfs partitions. The Seama
parser can find those automatically:
0x000000070000-0x000000ff0000 : "firmware"
2 seama-fw partitions found on MTD device firmware
0x000000070000-0x0000001b0000 : "kernel"
0x0000001b0000-0x000000ff0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
1 squashfs-split partitions found on MTD device rootfs
0x000000360000-0x000000ff0000 : "rootfs_data"
0x000000ff0000-0x000001000000 : "radiocfg"
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38155
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 12:19:54 +0000 (12:19 +0000)]
ar71xx: enable the Seama firmware parser
It will be used for the WD My Net N600 board.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38154
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 09:36:26 +0000 (09:36 +0000)]
ar71xx: update the Image/Build/WZRHP macro
- append the root squashfs directly after the kernel,
- use the 64kraw/128kraw template instead of the 64k/128k,
- ensure that the generated images have enough erase blocks
for JFFS2 garbage collection,
Tested on WZR-HP-G300NH and WZR-600DHP boards.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38153
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 09:36:25 +0000 (09:36 +0000)]
ar71xx: image: use a common macro for Buffalo WZRHP devices
The Image/Build/WZRHP64K and the Image/Build/WZRHP128K macros
are similar. Move the common stuff into the Image/Build/WZRHP
macro and update the orignal macros to use that.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38152
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 08:14:44 +0000 (08:14 +0000)]
ar71xx: image: update Image/Build/CameoAP94 macro
- append the root squashfs directly after the kernel,
- use the 64kraw template instead of the 64k,
- ensure that the generated images have enough erase blocks
for JFFS2 garbage collection,
Tested on a TEW-673GRU board.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38151
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 08:14:43 +0000 (08:14 +0000)]
ar71xx: image: use a common macro for Cameo AP94 based devices
The Image/Build/DIR825B1 and the Image/Build/DLRTDEV macros
are identical. Merge those into a new Image/Build/CameoAP94
macro, and update the device profiles to use the new macro.
Also rename the dir825b1_* mtdlayout macros to cameo_ap94_*.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38150
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 06:13:14 +0000 (06:13 +0000)]
ar71xx: image: use the board name for temporary mtdpart files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38149
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 05:58:34 +0000 (05:58 +0000)]
ar71xx: update the Image/Build/UBNT2 macro
- append the root squashfs directly after the kernel,
- use the 64kraw template instead of the 64k,
- ensure that the generated images have enough erase blocks
for JFFS2 garbage collection,
Tested on a WispStation M5 board.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38148
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 05:58:32 +0000 (05:58 +0000)]
ar71xx: build intramfs images for the Ubiquiti XM boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38147
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 05:58:31 +0000 (05:58 +0000)]
ar71xx: image: use a common macro for UBNTXM/UBNTDEV
The firmware generation part is the same for both
macros. Move that into a separate macro and use the
new macro for Image/Build/UB{NTXM,DEV}.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38146
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 24 Sep 2013 05:58:29 +0000 (05:58 +0000)]
iwinfo: add Ubiquiti WispStation M5 to hardware.txt
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38145
3c298f89-4303-0410-b956-
a3cf2f4a3e73
luka [Mon, 23 Sep 2013 21:58:36 +0000 (21:58 +0000)]
[package] fix various init scripts
Changes include:
* removing unused variables
* replacing spaces with tabs where appropriate
* more consistency with variable declarations
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38142
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Mon, 23 Sep 2013 19:49:27 +0000 (19:49 +0000)]
ar71xx: image: update Image/Build/WHRHPG300N macro
- append the root squashfs directly after the kernel,
- use the 64kraw template instead of the 64k
- ensure that the generated images have enough erase blocks
for JFFS2 garbage collection,
Tested on the WHR-G301N board only.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38141
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Mon, 23 Sep 2013 12:54:05 +0000 (12:54 +0000)]
ar71xx: image use the 64kraw template for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38140
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Mon, 23 Sep 2013 12:14:20 +0000 (12:14 +0000)]
ar71xx: image: update Build/Image/Planex macro
- remove the 'kernel' and 'rootfs' partitions from the mtd layout,
- move the .okli image into the uImage,
- append the root squashfs directly after the kernel,
- use the 64kraw template instead of the 64k
- ensure that the generated images have enough erase blocks
for JFFS2 garbage collection,
Tested on the MZK-W300NH board only.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38139
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Mon, 23 Sep 2013 12:14:19 +0000 (12:14 +0000)]
ar71xx: image: allow to build initramfs for Planex devices
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38138
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Mon, 23 Sep 2013 12:14:18 +0000 (12:14 +0000)]
ar71xx: image: build Planex kernels in a separate step
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38137
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Mon, 23 Sep 2013 09:49:04 +0000 (09:49 +0000)]
ar71xx: add profile and build image for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38133
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Mon, 23 Sep 2013 09:49:02 +0000 (09:49 +0000)]
ar71xx: add user-space support for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38132
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Mon, 23 Sep 2013 09:49:01 +0000 (09:49 +0000)]
ar71xx: add kernel support for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38131
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Mon, 23 Sep 2013 09:22:50 +0000 (09:22 +0000)]
ar71xx: image: update the Image/Build/CameoHornet macro
- append the root squashfs directly to the kernel,
- use the 64kraw-nojffs template instead of sqashfs-only
- ensure that the generated images have enough erase blocks
for JFFS2 garbage collection,
Tested on a TEW-712BR devices only.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38130
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Mon, 23 Sep 2013 09:01:06 +0000 (09:01 +0000)]
ar71xx: update the Image/Build/Cameo macro
- append the root squashfs directly to the kernel,
- use the 64kraw/64kraw-nojffs template instead of 64k/squashfs-only,
- ensure, that the signature is placed at the correct offset in
the *-factory images,
- ensure that the generated images have enough erase blocks
for JFFS2 garbage collection,
Tested on DIR-600-A1 and TEW-632BR devices only.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38129
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Mon, 23 Sep 2013 08:24:10 +0000 (08:24 +0000)]
ar71xx: image: add new macros for AP99 based Cameo devices
The MTD layout of the AP99 based devices is different.
Add new macros to reflect that and use the new macros
for the DIR-615-E4 board.
This prevents overwriting of the 'mac' partition which
contain vital informations. The disadvantage of the change
is that the usable space is reduced by 192KiB. Blame the
vendors for the unfriendly partition layout.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38128
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Mon, 23 Sep 2013 08:24:05 +0000 (08:24 +0000)]
ar71xx: image: rename the Cameo macros
Use the reference board name in the macro
instead of the SoC number.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38127
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 22 Sep 2013 20:14:23 +0000 (20:14 +0000)]
ar71xx: image: add optional JFFS2 padding support to the CatFiles macro
Also remove the similar code from the Netgear
profile and use the new feature instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38126
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 22 Sep 2013 20:14:22 +0000 (20:14 +0000)]
ar71xx: image: remove too big files in the CatFiles macro
Also improve the warning message.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38125
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sun, 22 Sep 2013 19:49:23 +0000 (19:49 +0000)]
xtables-addons: fix missing conversion from r38021 (resolves a broken dependency)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38124
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 22 Sep 2013 11:45:09 +0000 (11:45 +0000)]
ar71xx: simplify wndr3700 image generation
- remove the kernel and rootfs partitions from the mtd layout,
the kernel creates those automatically,
- remove estimation step, it is not needed anymore
- put the root squashfs directly after the kernel
- use the 64kraw template
With the default configuration, this allows to use more space for
rootfs_data with 64KiB. Tested on WNDR3700 v1 only.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38120
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 22 Sep 2013 11:45:08 +0000 (11:45 +0000)]
ar71xx: use the separate rootfs and uImage parsers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38119
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 22 Sep 2013 11:45:06 +0000 (11:45 +0000)]
ar71xx: sync kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38118
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 22 Sep 2013 09:11:25 +0000 (09:11 +0000)]
ar71xx: image: add mtdpartsize macro
The new macro will be used to determine the firmware
partition size from an MTD layout.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38117
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 22 Sep 2013 09:11:24 +0000 (09:11 +0000)]
ar71xx: image: improve the rootfs_align macro
Improve the macro to return correct value for
all squashfs variant.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38116
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 22 Sep 2013 09:11:22 +0000 (09:11 +0000)]
ar71xx: image: improve the CatFiles macro
Make it possible to append the rootfs image directly
to the kernel.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38115
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 17:56:18 +0000 (17:56 +0000)]
kernel/3.10: add partition parser for Seama firmwares
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38114
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 17:56:09 +0000 (17:56 +0000)]
kernel/3.10: add partition parser for uImage firmwares
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38113
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 17:56:01 +0000 (17:56 +0000)]
kernel/3.10: add default partition name defines to mtdsplit.h
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38112
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 17:55:54 +0000 (17:55 +0000)]
kernel/3.10: add more helpers to the mtdsplit code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38111
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 17:55:49 +0000 (17:55 +0000)]
kernel/3.10: add separate rootfs partition parser
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38110
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 17:55:44 +0000 (17:55 +0000)]
kernel/3.10: move squashfs check from rootfs split code into a separate file
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38109
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 17:55:30 +0000 (17:55 +0000)]
kernel/3.10: allow to use partition parsers for rootfs and firmware split
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38108
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 17:55:18 +0000 (17:55 +0000)]
kernel/3.10: allow to use different MTD parser types
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38107
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 16:08:45 +0000 (16:08 +0000)]
ar71xx: enable wlan2g led in the default configuration of dir-825-c1
Enable the wlan2g led in the default configuration of dir-825-c1.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4079/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38106
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 16:08:44 +0000 (16:08 +0000)]
ar71xx: vanity changes for dir-825-c1
This patch
- changes the color names from orange to amber
- changes the name of GPIO 13 from WIFI_BGN (wifi_bgn) to WLAN_2G
(wlan2g) to be more consistent with the other routers' files
- changes the descriptions of the hardware keys to be a tad more
explicit
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4081/
[juhosg: update the LED migration script as well]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38105
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 15:55:57 +0000 (15:55 +0000)]
ar71xx: diag.sh: consolidate netgear device entries
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38104
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 15:55:56 +0000 (15:55 +0000)]
ar71xx: use the green power led for diag on the WNR2200 board
Make it consistent with the other Netgear boards.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38103
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 15:55:55 +0000 (15:55 +0000)]
ar71xx: use netgear prefix for WNDAP360 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38102
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 15:55:54 +0000 (15:55 +0000)]
ar71xx: use netgear prefix for WNR612 v2 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38101
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 15:55:52 +0000 (15:55 +0000)]
ar71xx: use netgear prefix for WNR2200 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38100
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 15:55:51 +0000 (15:55 +0000)]
ar71xx: use netgear prefix for WNR2000 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38099
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 15:55:50 +0000 (15:55 +0000)]
ar71xx: use netgear prefix for WNDR3700 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38098
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 15:55:49 +0000 (15:55 +0000)]
ar71xx: add an uci-defaults script for LED configuration migration
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38097
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 14:56:24 +0000 (14:56 +0000)]
ar71xx: let HW switch control WAN LED on dir-825-c1
Enable GPIO 20. This hands off control of the blue planet led to the
integrated switch. Consequently, remove the led configuration for the
blue planet led.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4080/
[juhosg: whitespace fixup]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38096
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 14:56:22 +0000 (14:56 +0000)]
ar71xx: image: override mkcameofw status
This allows to build images for other boards, even if
the image is too big for Cameo devices.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38095
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 21 Sep 2013 12:04:45 +0000 (12:04 +0000)]
ar71xx: fix LAN LEDs for dir-825-c1
This patches fixes the lan led configuration. The new configuration is
identical to the one in mach-db120.c and it works. The previous one
didn't work at all.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38094
3c298f89-4303-0410-b956-
a3cf2f4a3e73
cyrus [Sat, 21 Sep 2013 10:54:13 +0000 (10:54 +0000)]
odhcp6c: handle NoAddrsAvail IA-status
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38092
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Fri, 20 Sep 2013 16:59:44 +0000 (16:59 +0000)]
ar71xx: set proper wan mac during initial configuration on dir-825-c1
The goal is to set the WAN MAC address to the one on the
sticker on the bottom of the unit. Currently it is not
used at all. But some users expect the WAN interface to
have the MAC address that is written on the sticker.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38091
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Fri, 20 Sep 2013 16:41:36 +0000 (16:41 +0000)]
ar71xx: tew-712br: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38090
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Fri, 20 Sep 2013 16:41:34 +0000 (16:41 +0000)]
ar71xx: tew-673gru: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38089
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Fri, 20 Sep 2013 16:41:33 +0000 (16:41 +0000)]
ar71xx: dir-825-c1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38088
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Fri, 20 Sep 2013 16:41:32 +0000 (16:41 +0000)]
ar71xx: dir-825-b1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38087
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Fri, 20 Sep 2013 16:41:31 +0000 (16:41 +0000)]
ar71xx: dir-505-a1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38086
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Fri, 20 Sep 2013 16:41:30 +0000 (16:41 +0000)]
ar71xx: rename ath79_parse_mac_addr to ath79_parse_ascii_mac
Rename the function and extend it in order to make it
usable from board setup code.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38085
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Fri, 20 Sep 2013 16:41:28 +0000 (16:41 +0000)]
ar71xx: fix Cameo934x initramfs image generation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38084
3c298f89-4303-0410-b956-
a3cf2f4a3e73
luka [Fri, 20 Sep 2013 14:24:30 +0000 (14:24 +0000)]
lantiq: fix usb on sx76x
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38083
3c298f89-4303-0410-b956-
a3cf2f4a3e73