Commit Graph

12692 Commits (e327858613b4d83b5873a372ef669f1f78782a9a)

Author SHA1 Message Date
John Crispin d1d6c6e221 ar71xx: nbg6716: Enable procd nand sysupgrage
This enables the procd nand upgrade for ZyXEL NBG 6716. Also the ubi config
is cleaned up to match the wndr4300.

Signed-off-by: André Valentin <avalentin@marcant.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-26 11:43:38 +00:00
John Crispin 57cfd35772 ralink: fix up WRTNode vs WRTNODE in the dts file
https://dev.openwrt.org/ticket/16899

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-26 11:43:26 +00:00
Luka Perkov d47a2a692b mvebu: drop preinit script
The /lib/mvebu.sh script can now handle this task.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-26 10:21:32 +00:00
Luka Perkov adf910a93c imx6: move imx6.sh to /lib/ for consistency
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-26 10:14:13 +00:00
Luka Perkov 12d42d06a5 kirkwood: move kirkwood.sh to /lib/ for consistency
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-26 10:13:47 +00:00
Luka Perkov ee131e4dd9 kirkwood: base-files: use /lib/functions/kirkwood.sh
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:18:53 +00:00
Luka Perkov 760ba483f6 kirkwood: base-files: add script to detect board name and populate /tmp/sysinfo
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:18:51 +00:00
John Crispin 90f654d7a2 ar71xx: fix wndr3700v4 image header
https://dev.openwrt.org/ticket/16840

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:14:23 +00:00
John Crispin ab140b37f1 ar71xx: remove old jffs2 marker from image generation on nand targets
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:14:18 +00:00
John Crispin 770d0b80da ralink: Update MT7530 switch driver.
- Support set VLAN ID of each vlan.
- Support untag feature.
- Replace register address with C MACRO.
- There are 8 ports for MT7530 actually.

Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:14:14 +00:00
John Crispin 7c1f1dedf2 mpc83xx: add missing kernelnames into Makefile
add missing kernelnames to Makefile because those files are needed in 'target/linux/mpc83xx/image/Makefile'. Without them a compilation for mpc83xx is not possible - the buildbot stops with the error "No such file or directory"

Signed-off-by: Claudio Thomas <ct@xmodus-systems.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:14:09 +00:00
John Crispin f5d5de027c SysupgradeNAND: include rootfs-type in image name
also add quotes to paths

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:13:51 +00:00
John Crispin e688f6b8c4 atheros[ar2315-spiflash]: remove duplicated definitions
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:13:47 +00:00
John Crispin f5183b03f7 atheros[ar2315-spiflash]: update driver id
Make id more specific and consistent with others platform drivers.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:13:43 +00:00
John Crispin c0fea1303e atheros[ar2315-spiflash]: make local variables and functions static
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:13:39 +00:00
John Crispin 4685d67062 atheros[ar2315-spiflash]: I/O fixes
Directly use ioread/iowrite functions to avoid odd dependency. And
carefully annotate I/O memory pointers.

Singed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:13:35 +00:00
John Crispin 6c193cf529 atheros[ar2315-spiflash]: make spiflash header local
We do not need global access to it, so move it from arch include to the
mtd subdir.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:13:31 +00:00
John Crispin f6f6b0e18c atheros[ar2315-spiflash]: pass I/O mem regions via resources
Pass I/O memory regions (flash read and MMR) via platform device
resources array and use them inside spiflash driver.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:13:27 +00:00
John Crispin 477a08a4da atheros[ar231x-pci]: do not touch iomem_resource ranges
Moving the start of IO mem to 0x10000000 leads to allocation conflict
with SPI flash memory region, which starts at 0x08000000.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:13:22 +00:00
John Crispin 859fb40fa1 atheros[ar2315-spiflash]: print detected flash size
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:13:17 +00:00
John Crispin cd83a37b6e atheros[ar2315]: don't detect flash size during board initialization
We should not detect actual flash size during board initialization to
find board config at the end of the flash, just use large enough mapping
size (currently 128 mbit). If mapping size is larger than the actual
flash size, than flash will simply be mapped multiple times. This change
simplifies code by removing duplication and saves about 200 bytes of
uncompressed kernel :)

Tested with Ubnt LS2 board equipped with STM 25p32v6p NOR flash (32 mbit).

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:13:13 +00:00
John Crispin b341c65b7b atheros[ar231x-eth]: merge patch
Merge 3_10-updates.patch into the ar2313_ethernet.patch since it contains
only one ethernet driver fix.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:13:09 +00:00
John Crispin b73720eae8 lantiq: remove deprecated jffs2_nand configuration
As far as I am aware, amongst the lantiq boards, jffs2_nand was
only used on the BTHOMEHUBV2B. Ubi-related modifications to the
device tree for that board mean that the resulting jffs2 images
no longer work, and are no longer required anyway. So I suggest
removing the related configuration, which this patch does.

If anyone else is using jffs2_nand on a lantiq target please speak
up!

Incidentally, for a jffs2 rootfs partition concatenated to the
kernel image to be recognised and mounted correctly on nand
this patch or something equivalent is required:
http://patchwork.openwrt.org/patch/5110/
It is marked as accepted in patchwork but doesn't seem to have
been committed. As far as I am concerned it too is deprecated.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:12:52 +00:00
John Crispin fb4e44b207 lantiq: ubinize autoresize flag for rootfs_data
Setting this flag allows rootfs_data to expand on first boot
to fill remaining free space on nand.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:12:41 +00:00
Luka Perkov e137e0e5b0 kernel: update 3.14 to 3.14.8
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 12:27:36 +00:00
Jonas Gorski 1d0c4edda1 brcm63xx: allow bcm963xx and livebox support at the same time
Use the CFE_EPTSEAL to tell them apart at runtime. Added for now only
for the 3.14 until properly tested.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-21 19:23:38 +00:00
Jonas Gorski 6cacd1932f brcm63xx: update variant detection patches and fix VARID shift
The variant id field shift was wrong, causing the variant detection
to fail.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-21 19:23:28 +00:00
Jonas Gorski 920396728a brcm63xx: fix up borked patch
Fix up patch borked by quilt fuzzy application of patches.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-21 19:23:18 +00:00
Imre Kaloz 8c3e3b42e9 [ledtrig-netdev]: coding style cleanups, drop old kernel support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-21 10:00:07 +00:00
Imre Kaloz 5cea7c1e9a [mvebu] update mamba dts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-20 23:05:23 +00:00
Imre Kaloz d803718e3b [mvebu]: make script executable, add WRT1900AC detection
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-20 22:35:09 +00:00
Imre Kaloz 2c20232384 [mvebu]: define the power led for the WRT1900AC
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-20 19:13:01 +00:00
John Crispin 36b855507c octeon: add sysupgrade support for the erlite
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-20 13:41:16 +00:00
John Crispin 4774d1684c octeon: build a sysupgrade image for erlite
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-20 13:41:12 +00:00
John Crispin 0f6578ce01 imx6: add sysupgrade support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 14:13:38 +00:00
John Crispin de86057bfc imx6: the script populating /tmp/sysinfo/ was in the wrong path
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 14:13:34 +00:00
John Crispin 58f10aef39 octeon: enable the ext4 feature
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 14:13:30 +00:00
John Crispin 531c49cf7e octeon: add basic board detection
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 14:13:20 +00:00
John Crispin d3a5266f95 kernel: drop now unused ubi forced detach patch
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 14:13:12 +00:00
John Crispin e6af58406e ramips: cleanup some rt305x profiles
move both asus boards to asus.mk
rename HW5503G profile to HW550-3G to match name in image/Makefile
(fixes #16599)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 14:13:07 +00:00
John Crispin c4fae68f13 lantiq: copy rootfs-overlay.ubi to bin/lantiq
At the moment, an rootfs.ubi is copied over to bin/lantiq
but rootfs-overlay.ubi is not. This adds it.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 14:13:04 +00:00
John Crispin 6732ce3406 lantiq: refresh patches
this adds ben's ath9k fixup

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 14:12:59 +00:00
Florian Fainelli 14704677a4 imx6: fix typo on wandboard detection
Revision r41256 introduced a typo (wandaboard => wandboard), but later
revisions expect to match on "wandboard"

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 16:34:23 +00:00
John Crispin d8e56de762 imx6: use /lib/imx6.sh inside the uci-defaults script
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:08:16 +00:00
John Crispin 814e6c7b35 imx6: add a script to detect the board name and populate /tmp/sysinfo
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:08:12 +00:00
John Crispin e1da5d10df ar71xx: Fixes for 951Ui-2HnD board support
WAN and LAN are swapped the wrong way around.  This patch fixes that by adding the 951Ui-2HnD to ar71xx.sh and the relevant entry in 02_network.

This patch also defines the ACT LED as the status LED in diag.sh.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:08:08 +00:00
John Crispin 472709eaec octeon: fix up the cpu flags
Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:08:01 +00:00
John Crispin 3e07c0ac3a octeon: add 3 upstream patches that fix issues on the esr-lite
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:07:57 +00:00
Luka Perkov bb3c6eaa04 mvebu: be consistent with kernel config file names
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 21:04:45 +00:00
John Crispin 7911faae00 lantiq: DGN3500 (all known variants) factory and sysupgrade image building support
This patch adds factory image building for the DGN3500, all variants,
and fixes sysupgrade images to make them play nice with the sercomm
secondary boot loader.

The factory images can be used directly in the update dialog in the
interface of the stock firmware and via the special Sercomm bootmode
and a special windows flashing utility (allegedly present in the CD
that came with the device -- but it's also compatible with the NSLU2
Upgrade_207_XP utility.) The special bootmode can be activated by
turning the device on while holding the reset button pressed, then
releasing it when the power led starts blinking red and green. Please
notice that if using the 207 utility, it will always report that the
flashing failed even though it completed successfully. Just power
cycle the router manually after the utility reports the failure and
OpenWRT will boot. This same utility (despite reporting failure in
this case too) can revert a DGN3500 (any variant) to the appropriate
stock Netgear firmware.

This patch is a heavily modified version of a package I found on the
OpenWRT forum with a couple fixes and features added -- mainly the
generation of all the different image variants to support all known
models directly, atm known variants are AnnexA-WW, AnnexA-NA and
AnnexB-DE/GR.

I tested the patch successfully on my device.

Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:38:54 +00:00