aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 6in4: send password unhashedJo-Philipp Wich2014-06-272-6/+2
| | | | | | | | | | | | | | | The preferred he.net /nic/update endpoint expects the password or updatekey in plain text and not as md5 sum, therfore remove the hashing operation from the script. This effectively renders the "updatekey" option redundant but we keep it around for backwards compatibility. Both "option password" and "option updatekey" will have end up in the "&password=" parameter of the update url and are passed through unmodified. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: only take last found libgcc* fileJo-Philipp Wich2014-06-271-3/+3
| | | | | | | | | | | | | The current $(wildcard ...) match might return multiple files which will break subsequent cp commands with an error like: cp: target `/home/user/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx/tmp-libc/lib/libgcc_s_pic.a' is not a directory Prevent this issue by only taking the last path returned by globbing. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41357 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include UbinizeImage parameters' description in the fileImre Kaloz2014-06-271-0/+5
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: use ntp enabled config optionJohn Crispin2014-06-272-4/+6
| | | | | | | | | Even if enabled option is missing from ntp configuration we are still keeping default behavior. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add enabled config option for ntp serviceJohn Crispin2014-06-272-1/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41354 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: refresh kernel patchesJohn Crispin2014-06-265-13/+11
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41353 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh generic patchesJohn Crispin2014-06-2626-182/+86
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41352 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10.36->3.10.44John Crispin2014-06-2629-73/+29
| | | | | | | | 205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41351 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: r41348 is missing these filesJohn Crispin2014-06-264-0/+279
| | | | | | | | sorry, the downside when applying patches with patch Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41350 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall3: add fw3 zone function to enumerate devicesSteven Barth2014-06-261-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41349 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for EasyLink M150 and M-miniJohn Crispin2014-06-267-0/+33
| | | | | | | | | | | | | v3 refreshes the patch on trunk@41337 This patch adds support for the EasyLink EL-M150 and M-mini http://wiki.openwrt.org/toh/easylink/el-m150 http://wiki.openwrt.org/toh/easylink/el-m-mini Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/ubinize-image.sh: fix parameter handlingJohn Crispin2014-06-261-24/+27
| | | | | | | | | | ubinize-image.sh previously used ${var:offset:length} substitutions which are not valid in standard shell. Replace the existing parameter matching by a case ... esac expression. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41347 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: nbg6716: Enable procd nand sysupgrageJohn Crispin2014-06-263-12/+4
| | | | | | | | | 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
* mdns: add the new openwrt mdns daemonJohn Crispin2014-06-263-0/+94
| | | | | | | | | | | | | | | | this is still wip, you can use the following ubus calls. ubus call mdns scan # triggers a scan ubus call mdns browse # look at the currenlty cached records ubus call mdns hosts # look at the currenlty cached hosts TODO - ipv6, currenlty AAAA records are handled but only on v4 sockets - finish the service announce code Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41345 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add a post start hook to the procd init.d apiJohn Crispin2014-06-261-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix up WRTNode vs WRTNODE in the dts fileJohn Crispin2014-06-261-1/+1
| | | | | | | | 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
* iputils: fix compile when using eglibcJohn Crispin2014-06-261-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41342 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: drop preinit scriptLuka Perkov2014-06-262-9/+1
| | | | | | | | 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
* uboot-envtools: use new scripts from /lib/ to match boardsLuka Perkov2014-06-263-8/+12
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: move imx6.sh to /lib/ for consistencyLuka Perkov2014-06-263-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: move kirkwood.sh to /lib/ for consistencyLuka Perkov2014-06-263-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41338 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubus: update to the latest version, fixes netifd related crashes on ubus ↵Felix Fietkau2014-06-251-2/+2
| | | | | | | | calls during reload Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41337 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: base-files: use /lib/functions/kirkwood.shLuka Perkov2014-06-242-13/+23
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: base-files: add script to detect board name and populate /tmp/sysinfoLuka Perkov2014-06-241-0/+58
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: update copyright headersLuka Perkov2014-06-241-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix wndr3700v4 image headerJohn Crispin2014-06-241-1/+1
| | | | | | | | 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
* ar71xx: remove old jffs2 marker from image generation on nand targetsJohn Crispin2014-06-241-2/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: Update MT7530 switch driver.John Crispin2014-06-241-82/+186
| | | | | | | | | | | - 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
* mpc83xx: add missing kernelnames into MakefileJohn Crispin2014-06-241-2/+2
| | | | | | | | 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
* config/Config-images.in: enable zlib as the default ubi compressionJohn Crispin2014-06-241-1/+1
| | | | | | | | http://patchwork.openwrt.org/patch/5686/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: update to latest git headJohn Crispin2014-06-241-2/+2
| | | | | | | | this adds 5 lua fixes to the tree Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41328 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix nand.sh kernel_length typoJohn Crispin2014-06-241-2/+2
| | | | | | | | | | sysupgrade otherwise skips kernel part on devices which got kernel in ubi due to kern_length being undefined, kernel_length is being used instead. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41327 3c298f89-4303-0410-b956-a3cf2f4a3e73
* SysupgradeNAND: include rootfs-type in image nameJohn Crispin2014-06-242-9/+9
| | | | | | | | 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
* atheros[ar2315-spiflash]: remove duplicated definitionsJohn Crispin2014-06-242-34/+6
| | | | | | 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
* atheros[ar2315-spiflash]: update driver idJohn Crispin2014-06-242-2/+2
| | | | | | | | 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
* atheros[ar2315-spiflash]: make local variables and functions staticJohn Crispin2014-06-241-5/+5
| | | | | | 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
* atheros[ar2315-spiflash]: I/O fixesJohn Crispin2014-06-241-9/+6
| | | | | | | | | 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
* atheros[ar2315-spiflash]: make spiflash header localJohn Crispin2014-06-241-5/+4
| | | | | | | | | 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
* atheros[ar2315-spiflash]: pass I/O mem regions via resourcesJohn Crispin2014-06-242-11/+24
| | | | | | | | | 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
* atheros[ar231x-pci]: do not touch iomem_resource rangesJohn Crispin2014-06-241-3/+1
| | | | | | | | | 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
* atheros[ar2315-spiflash]: print detected flash sizeJohn Crispin2014-06-241-1/+3
| | | | | | 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
* atheros[ar2315]: don't detect flash size during board initializationJohn Crispin2014-06-241-80/+7
| | | | | | | | | | | | | | | 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
* atheros[ar231x-eth]: merge patchJohn Crispin2014-06-242-12/+1
| | | | | | | | | 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
* fstools: fix factory reset on ubifs overlayJohn Crispin2014-06-241-2/+2
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41315 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mkdir615h1: fix magic XOR calculationJohn Crispin2014-06-241-2/+2
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-envtools: fix build if ubi volume support is disabledJohn Crispin2014-06-241-9/+11
| | | | | | | | | | | | Insert a missing #ifdef UBI around the use of libubi_close(). As the preceding if (libubi) will never be true on non-UBI builds, compiling only failed when disabling optimization. Also rebase patch to latest u-boot.git HEAD. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: remove deprecated jffs2_nand configurationJohn Crispin2014-06-242-9/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* image.mk: introduce Image/Build/UbinizeImage make targetJohn Crispin2014-06-241-0/+7
| | | | | | | | | | | | | paramters: $(1) board name $(2) ubinize-image options (e.g. --no-kernel and/or --uboot-env) $(3) rootfstype (e.g. squashfs or ubifs) $(4) kernel image file $(5) options to pass-through to ubinize (i.e. $($(PROFILE)_UBI_OPTS))) Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41311 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ubinize autoresize flag for rootfs_dataJohn Crispin2014-06-241-0/+2
| | | | | | | | | 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
* kernel: update 3.14 to 3.14.8Luka Perkov2014-06-246-17/+11
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41309 3c298f89-4303-0410-b956-a3cf2f4a3e73