aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532
Commit message (Collapse)AuthorAgeFilesLines
* kernel: only optimized for size if small_flashMathias Kresin2018-07-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Add a new config option to allow to select the default compile optimization level for the kernel. Select the optimization for size by default if the small_flash feature is set. Otherwise "Optimize for performance" is set. Add the small_flash feature flag to all (sub)targets which had the optimization for size in their default kernel config. Remove CC_OPTIMIZE_FOR_* symbols from all kernel configs to apply the new setting. Exceptions to the above are: - lantiq, where the optimization for size is only required for the xway_legacy subtarget but was set for the whole target - mediatek, ramips/mt7620 & ramips/mt76x8 where boards should have plenty of space and an optimization for size doesn't make much sense - rb532, which has 128MByte flash Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: move nand_do_upgrade call to platform_do_upgradeMathias Kresin2018-02-161-5/+1
| | | | | | | | | | Calling nand_do_upgrade() from platform_pre_upgrade() was deprecated with 30f61a34b4cf ("base-files: always use staged sysupgrade"). Update the platform upgrade code to use platform_do_upgrade() for NAND images as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: drop obsolete kernel config optionsMathias Kresin2017-10-041-2/+0
| | | | | | | | | | | CONFIG_GPIO_DEVRES was removed with kernel commit f9c22ec6c1c5 ("gpio: Remove GPIO_DEVRES option") during kernel 4.9 development. CONFIG_HAVE_BPF_JIT was removed with kernel commit 6077776b5908 ("bpf: split HAVE_BPF_JIT into cBPF and eBPF variant") during kernel 4.7 development. Signed-off-by: Mathias Kresin <dev@kresin.me>
* rb532: drop 4.4 supportStijn Tintel2017-09-184-268/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* rb532: add myself as maintainerRoman Yeryomin2017-09-181-0/+1
| | | | Signed-off-by: Roman Yeryomin <roman@advem.lv>
* rb532: switch to 4.9Roman Yeryomin2017-09-181-1/+1
| | | | Signed-off-by: Roman Yeryomin <roman@advem.lv>
* rb532: add support for 4.9Roman Yeryomin2017-09-1810-0/+675
| | | | | | | | Includes latest korina fixes. Signed-off-by: Roman Yeryomin <roman@advem.lv> [rewrite commit message (subject <= 50 characters)] Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* rb532: set lan interface type to brigdeRoman Yeryomin2017-09-181-0/+1
| | | | Signed-off-by: Roman Yeryomin <roman@advem.lv>
* rb532: increase kernel size limitRoman Yeryomin2017-09-181-1/+1
| | | | | | | | This is required to support kernel 4.9. Signed-off-by: Roman Yeryomin <roman@advem.lv> [rewrite commit message (subject <= 50 characters)] Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: update kernel 4.4 to version 4.4.79Hauke Mehrtens2017-07-281-51/+0
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* treewide: use only board_name function to get nameMathias Kresin2017-07-151-3/+1
| | | | | | | | | | | | Do not parse /tmp/sysinfo/board_name, /proc/cpuinfo or the device tree compatible string directly. Always use the board_name function to get the board name. The admswconfig package still reads /proc/cpuinfo directly. The code looks somehow broken and the whole adm5120 which uses this package looks unmaintained. Leave it as it is for now. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: populate boardname and model earlierMathias Kresin2017-07-151-0/+0
| | | | | | | | | | | | | For targets using the generic board detection and board specific settings in diag.sh, the board name is still unset at the time the set_state() provided by diag.sh is called by 10_indicate_preinit. Change the execution order to ensure the boardname is populated before required the first time. Do the target specific board detection as early as possible, directly followed by the generic one to allow a seamless switch to the generic function for populating /tmp/sysinfo/. Signed-off-by: Mathias Kresin <dev@kresin.me>
* base-files: automatically handle paths and symlinks for RAMFS_COPY_BINMatthias Schiffer2017-07-111-1/+1
| | | | | | | | | | | | Depending on busybox applet selection, paths of basic utiilties may differ, and may not work as symlinks to busybox. Simply using whatever binary is found in PATH and detecting symlinks automatically is more robust and easier to maintain. The list of binaries is also slightly cleaned up and duplicates are removed. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* rb532: enable high-res timers, refresh kernel configFelix Fietkau2017-06-071-2/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove ubifs xz decompression supportFelix Fietkau2017-01-091-2/+0
| | | | | | | It has been unused, and less useful than squashfs for cases where flash space usage matters. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* rb532: drop patch-cmdline from base-filesFelix Fietkau2017-01-072-90/+0
| | | | | | It is no longer used for upgrading Signed-off-by: Felix Fietkau <nbd@nbd.name>
* rb532: switch to UBI, drop yaffs2 support, use sysupgrade for NANDFelix Fietkau2017-01-079-162/+105
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* rb532: convert to new loopback based overlay supportFelix Fietkau2017-01-073-36/+52
| | | | | | Disable block2mtd support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: bump to 4.4.40Hauke Mehrtens2017-01-061-7/+2
| | | | | | | Refresh patches on all 4.4 supported platforms. Compile & run tested: lantiq/xrx200 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* rb532: remove linux 4.1 supportFelix Fietkau2016-12-244-224/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* rb532: Switch to kernel 4.4Florian Fainelli2016-12-241-1/+1
| | | | Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* rb532: Backport fix to resolve oops during korina_restartFlorian Fainelli2016-12-241-0/+56
| | | | Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* rb532: Add support for kernel 4.4Florian Fainelli2016-12-244-0/+225
| | | | Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* rb532: Fix initramfs kernel imagesFlorian Fainelli2016-12-241-1/+1
| | | | | | | The generic lzma-loader uses vmlinux.lzma as an input to compress so we need to provide a lzma compressed version of the initramfs kernel. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* kernel: update kernel 4.1 to version 4.1.34Stijn Tintel2016-10-243-22/+24
| | | | | | | | | | | | Refresh patches for all targets supporting 4.1 and not marked broken. Compile-tested on all targets using 4.1 and not marked broken. Changes to generic/610-netfilter_match_bypass_default_checks.patch based on 84d489f64f3b382d5544e342f66d8806e94e85d3. Changes to generic/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch based on a90ee92337d60fd14b6431adcda9929b955f3408. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* rb532: rename config-default to config 4.1Stijn Tintel2016-08-241-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* rb532: rename patches directory to patches-4.1Stijn Tintel2016-08-153-24/+22
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* rb532: switch to 4.1John Crispin2015-12-231-1/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 47972
* rb532: build squashfs image by defaultJohn Crispin2015-12-231-1/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 47971
* rb532: increase kernel partitionJohn Crispin2015-12-231-1/+1
| | | | | | | | | 4.1 got little bit larger than 4MB and I couldn't get lzma loader working on this platform Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 47970
* rb532: prepare switch to 4.1John Crispin2015-10-264-0/+0
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 47255
* kernel: update 3.18 to 3.18.14Jonas Gorski2015-05-212-2/+2
| | | | | | | | | | | | | | Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14 Build tested on brcm63xx and ipq806x, runtested on brcm63xx. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45711
* rb532: remove linux 3.14 supportFelix Fietkau2015-03-285-261/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45087
* rb532: switch to 3.18Felix Fietkau2015-03-271-1/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 45073
* rb532: align partitions to 128KBFelix Fietkau2015-03-272-2/+11
| | | | | | | | because block2mtd wants "erasesize must be a divisor of device size" since 3.15 Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 45072
* rb532: add 3.18 supportFelix Fietkau2015-03-274-0/+224
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 45071
* kernel: disbale HAMRADIO in generic configJohn Crispin2015-03-061-1/+0
| | | | | | | | | | | | | | | HAMRADIO enabled in all generic configs, but no one platform directly use related drivers/protocols. This symbol is only used for kmod-ax25 package modules. Furthermore, half of platforms explicitly disables this symbol, what silently disables build of modules for kmod-ax25 package. So disable HAMRADIO by-default in generic config, add it to kmod-ax25 package and remove it from platform specific configs. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44613
* kernel: move CONFIG_MIPS_O32_FP64_SUPPORT to generic configsJonas Gorski2015-03-011-1/+0
| | | | | | | | | Most MIPS targets have it disabled, so move the symbol to the generic configs to keep target configs small. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44583
* rb532: remove linux 3.10 supportFelix Fietkau2014-12-135-262/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43689
* kernel: refresh patchesFelix Fietkau2014-12-082-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43564
* kernel: makefiles: make use of new var KERNEL_PATCHVERFelix Fietkau2014-10-241-1/+1
| | | | | | | | | | | replace all occurences of LINUX_VERSION with the cleaner approach. future kernel upgrades must mostly touch only one file. the only platform left is netlogic, because it uses a intermediate kernel 3.14.16 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 43047
* rb532: switch to 3.14 and ath5kJohn Crispin2014-10-141-2/+2
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 42910
* rb532: add 3.14 supportJohn Crispin2014-10-145-0/+263
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 42908
* network: Unbind DHCPv6 from underlying interfacesSteven Barth2014-10-081-1/+1
| | | | | | | | | This allows IPv6 to set up without IPv4 being up thus IPv6-only or IPv6+DS-Lite working with the default config. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42848
* kernel: update to 3.10.49 Signed-off-by: John Crispin <blogic@openwrt.org>John Crispin2014-07-201-1/+1
| | | | SVN-Revision: 41776
* rb532: remove broken markFelix Fietkau2014-07-071-1/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 41544
* rb532: add wan interfaceFelix Fietkau2014-07-071-0/+4
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 41543
* rb532: fix jffs2 imagesFelix Fietkau2014-07-071-2/+2
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 41542
* rb532: really fix squashfs imagesFelix Fietkau2014-07-073-2/+13
| | | | | | | | | | | | | The previous attempt (r40717) to fix squashfx made the system bootable but overlayfs remained broken. This enables block2mtd again using the right partition number and naming and adds MTD_ROOTFS_SPLIT option. However onboard rootfs partition name had to be renamed to place overlay on CF instead of onboard NAND. Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 41541