aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* dnsmasq: use config_get_bool for dnsmasqSteven Barth2014-06-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41302 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: disable greenfield by defaultFelix Fietkau2014-06-221-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41300 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iw: update to 3.15Felix Fietkau2014-06-224-210/+50
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41299 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: revert a faulty upstream change which is causing channel 12 to be ↵Felix Fietkau2014-06-222-2/+67
| | | | | | | | enabled for US regdomain Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41298 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: set procd respawnSteven Barth2014-06-221-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41297 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: allow bcm963xx and livebox support at the same timeJonas Gorski2014-06-2175-625/+1272
| | | | | | | | | 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
* brcm63xx: update variant detection patches and fix VARID shiftJonas Gorski2014-06-2118-29/+45
| | | | | | | | | 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
* brcm63xx: fix up borked patchJonas Gorski2014-06-212-2/+30
| | | | | | 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
* [ledtrig-netdev]: coding style cleanups, drop old kernel supportImre Kaloz2014-06-211-21/+8
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mvebu] update mamba dtsImre Kaloz2014-06-201-14/+33
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41292 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mvebu]: make script executable, add WRT1900AC detectionImre Kaloz2014-06-201-0/+3
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41291 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel]: make thermal framework registered sensors also register as hwmonsImre Kaloz2014-06-201-0/+1
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel]: package the gpio-fan moduleImre Kaloz2014-06-201-0/+16
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mvebu]: define the power led for the WRT1900ACImre Kaloz2014-06-201-0/+18
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: various routing table handling fixesSteven Barth2014-06-201-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41287 3c298f89-4303-0410-b956-a3cf2f4a3e73
* octeon: add sysupgrade support for the erliteJohn Crispin2014-06-201-0/+54
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41286 3c298f89-4303-0410-b956-a3cf2f4a3e73
* octeon: build a sysupgrade image for erliteJohn Crispin2014-06-201-0/+13
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: regenerate the /lib64 symlink when switching to a ramdiskJohn Crispin2014-06-201-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41284 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "netifd: fix handling of "lookup main" for ip rules (#15315)"Jo-Philipp Wich2014-06-201-2/+2
| | | | | | | | The netifd fixes went to the wrong repository, revert until it is sorted out. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix handling of "lookup main" for ip rules (#15315)Jo-Philipp Wich2014-06-201-2/+2
| | | | | | | | | Reworks the handling of RT_TABLE_MAIN in system-linux.c so that ip rules with lookup main can be properly setup. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: depend on jsonfilter and rewrite network.sh to use itJo-Philipp Wich2014-06-192-321/+128
| | | | | | | | | | | Switches /lib/functions/network.sh from jshn based json parsing to jsonfilter expression while keeping the existing api. Expensive methods like "network_find_wan" are up to 20x faster now. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41281 3c298f89-4303-0410-b956-a3cf2f4a3e73
* jsonfilter: implement custom separators and support limiting the results, ↵Jo-Philipp Wich2014-06-191-1/+1
| | | | | | | | fix handling of negative array indices Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git headJohn Crispin2014-06-191-4/+4
| | | | | | | | this fixes the upgraded linking issue on arm. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41279 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: various improvements to nand.shJohn Crispin2014-06-191-7/+33
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: add sysupgrade supportJohn Crispin2014-06-191-0/+19
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41277 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: the script populating /tmp/sysinfo/ was in the wrong pathJohn Crispin2014-06-192-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41276 3c298f89-4303-0410-b956-a3cf2f4a3e73
* octeon: enable the ext4 featureJohn Crispin2014-06-191-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41275 3c298f89-4303-0410-b956-a3cf2f4a3e73
* octeon: add basic board detectionJohn Crispin2014-06-194-18/+76
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: make the default eglibc selection work even if TOOLCHAINOPTS is ↵John Crispin2014-06-192-7/+11
| | | | | | | | | | not enabled default config build fail on octeon without this. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41273 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop now unused ubi forced detach patchJohn Crispin2014-06-191-41/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41272 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: cleanup some rt305x profilesJohn Crispin2014-06-193-21/+14
| | | | | | | | | | 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
* lantiq: copy rootfs-overlay.ubi to bin/lantiqJohn Crispin2014-06-191-0/+1
| | | | | | | | | 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