aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532/base-files
Commit message (Collapse)AuthorAgeFilesLines
* rb532: drop targetAdrian Schmutzler2020-09-024-71/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This target is still on kernel 4.14, and recent attempts to move it to kernel 5.4 have not led to success. The device tester reported that it wouldn't boot with the following messages: From sysupgrade: Press any key within 4 seconds to enter setup.... loading kernel from nand... OK setting up elf image... OK jumping to kernel code At this point the system hangs. From CompactFlash: Press any key within 4 seconds to enter setup.... Booting CF Loading kernel... done setting up elf image... kernel out of range kernel loading failed The tester reported that the same was observed with current master (kernel 4.14) as well. This looks like some kernel size restriction. Since this target is quite old and only supports one device, and since nobody else seemed interested in working on this for quite some time, I decided to not put further work into analyzing the problem and drop this together with the other 4.14-only targets. Patchwork series: https://patchwork.ozlabs.org/project/openwrt/list/?series=197066&state=* Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* treewide: sysupgrade: get rid of platform_nand_pre_upgrade()Rafał Miłecki2019-07-221-4/+1
| | | | | | | | | | | 1) nand_do_upgrade() is always called by a target code 2) nand_do_upgrade() starts with calling platform_nand_pre_upgrade() It means there is no need for the platform_nand_pre_upgrade() callback at all. All code that was present there could bo moved & simplly called by a target right before the nand_do_upgrade(). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* 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>
* rb532: set lan interface type to brigdeRoman Yeryomin2017-09-181-0/+1
| | | | Signed-off-by: Roman Yeryomin <roman@advem.lv>
* 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: switch to UBI, drop yaffs2 support, use sysupgrade for NANDFelix Fietkau2017-01-074-138/+37
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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
* rb532: add wan interfaceFelix Fietkau2014-07-071-0/+4
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 41543
* Change default IPv6 config to enable DHCPv6-PDSteven Barth2013-04-221-1/+1
| | | | SVN-Revision: 36384
* Adapt default network configuration for IPv6Steven Barth2013-04-091-0/+8
| | | | SVN-Revision: 36278
* rb532: migrate platform to common led helper functionsFlorian Fainelli2013-02-181-10/+8
| | | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35663
* Do not use deprecated path to functions.sh (/etc/functions.sh -> ↵Mirko Vogt2012-12-192-2/+2
| | | | | | /lib/functions.sh) SVN-Revision: 34793
* rb532: don't use bridge by defaultAlexandros C. Couloumbis2010-03-161-1/+0
| | | | SVN-Revision: 20238
* make kernels use /etc/preinit by defaultImre Kaloz2009-05-142-3/+3
| | | | SVN-Revision: 15840
* rb532: bring the target specific default /etc/config/network closer to the ↵Felix Fietkau2009-05-081-2/+4
| | | | | | global default by setting it to static instead of dhcp SVN-Revision: 15722
* starting with 2.6.28 korina ethernet interface is eth2Florian Fainelli2009-04-241-1/+1
| | | | SVN-Revision: 15393
* Allow routerboard users to kexec into the newly installed kernel if ↵Florian Fainelli2008-08-122-0/+11
| | | | | | kexec-tools is installed SVN-Revision: 12286
* Fix routerboard boot partition name in wget2nand (#3791)Florian Fainelli2008-07-211-1/+1
| | | | SVN-Revision: 11897
* fix image names in the wget2nand scriptGabor Juhos2008-06-071-3/+3
| | | | SVN-Revision: 11400
* add cf2nand fixes from #2892Felix Fietkau2007-12-281-3/+3
| | | | SVN-Revision: 9985
* get rid of per-profile base-filesGabor Juhos2007-09-294-0/+0
| | | | SVN-Revision: 9069
* strip the kernel version suffix from target directories, except for brcm-2.4 ↵Felix Fietkau2007-09-064-0/+158
(the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles. SVN-Revision: 8653