aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* make UbinizeImage work nicely without a kernel volumeImre Kaloz2014-06-272-15/+8
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41359
* 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> SVN-Revision: 41358
* 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> SVN-Revision: 41357
* include UbinizeImage parameters' description in the fileImre Kaloz2014-06-271-0/+5
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41356
* 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> SVN-Revision: 41355
* base-files: add enabled config option for ntp serviceJohn Crispin2014-06-272-1/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41354
* ralink: refresh kernel patchesJohn Crispin2014-06-265-13/+11
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41353
* kernel: refresh generic patchesJohn Crispin2014-06-2626-182/+86
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41352
* 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> SVN-Revision: 41351
* 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> SVN-Revision: 41350
* firewall3: add fw3 zone function to enumerate devicesSteven Barth2014-06-261-2/+2
| | | | SVN-Revision: 41349
* 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> SVN-Revision: 41348
* 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> SVN-Revision: 41347
* 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> SVN-Revision: 41346
* 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> SVN-Revision: 41345
* 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> SVN-Revision: 41344
* 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> SVN-Revision: 41343
* iputils: fix compile when using eglibcJohn Crispin2014-06-261-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41342
* 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> SVN-Revision: 41341
* uboot-envtools: use new scripts from /lib/ to match boardsLuka Perkov2014-06-263-8/+12
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41340
* imx6: move imx6.sh to /lib/ for consistencyLuka Perkov2014-06-263-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41339
* kirkwood: move kirkwood.sh to /lib/ for consistencyLuka Perkov2014-06-263-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41338
* 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> SVN-Revision: 41337
* kirkwood: base-files: use /lib/functions/kirkwood.shLuka Perkov2014-06-242-13/+23
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41336
* 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> SVN-Revision: 41335
* base-files: update copyright headersLuka Perkov2014-06-241-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41334
* ar71xx: fix wndr3700v4 image headerJohn Crispin2014-06-241-1/+1
| | | | | | | | https://dev.openwrt.org/ticket/16840 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41333
* ar71xx: remove old jffs2 marker from image generation on nand targetsJohn Crispin2014-06-241-2/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41332
* 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> SVN-Revision: 41331
* 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> SVN-Revision: 41330
* 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> SVN-Revision: 41329
* 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> SVN-Revision: 41328
* 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> SVN-Revision: 41327
* 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> SVN-Revision: 41326
* atheros[ar2315-spiflash]: remove duplicated definitionsJohn Crispin2014-06-242-34/+6
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41325
* 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> SVN-Revision: 41324
* atheros[ar2315-spiflash]: make local variables and functions staticJohn Crispin2014-06-241-5/+5
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41323
* 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> SVN-Revision: 41322
* 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> SVN-Revision: 41321
* 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> SVN-Revision: 41320
* 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> SVN-Revision: 41319
* atheros[ar2315-spiflash]: print detected flash sizeJohn Crispin2014-06-241-1/+3
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41318
* 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> SVN-Revision: 41317
* 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> SVN-Revision: 41316
* fstools: fix factory reset on ubifs overlayJohn Crispin2014-06-241-2/+2
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41315
* firmware-utils/mkdir615h1: fix magic XOR calculationJohn Crispin2014-06-241-2/+2
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> SVN-Revision: 41314
* 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> SVN-Revision: 41313
* 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> SVN-Revision: 41312
* 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> SVN-Revision: 41311
* 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> SVN-Revision: 41310