aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/at91/base-files
Commit message (Collapse)AuthorAgeFilesLines
* treewide: remove execute bit and shebang from board.d filesAdrian Schmutzler2021-03-061-1/+0
| | | | | | | | | | | | | | | | So far, board.d files were having execute bit set and contained a shebang. However, they are just sourced in board_detect, with an apparantly unnecessary check for execute permission beforehand. Replace this check by one for existance and make the board.d files "normal" files, as would be expected in /etc anyway. Note: This removes an apparantly unused '#!/bin/sh /etc/rc.common' in target/linux/bcm47xx/base-files/etc/board.d/01_network Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* at91: introduce vendor_model scheme and drop board namesAdrian Schmutzler2020-08-253-100/+1
| | | | | | | | | | | | | | This introduces the vendor_model scheme to this target in order to harmonize device names within the target and with the rest of OpenWrt. In addition, custom board names are dropped in favor of the generic script which takes the compatible. Use the SUPPORTED_DEVICES variable to store the compatible where it deviates from the device name, so we can use it in build recipes. While at it, harmonize a few indents as well. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* treewide: drop shebang from non-executable target filesAdrian Schmutzler2020-06-162-3/+0
| | | | | | | | | | | | | | This drops the shebang from all target files for /lib and /etc/uci-defaults folders, as these are sourced and the shebang is useless. While at it, fix the executable flag on a few of these files. This does not touch ar71xx, as this target is just used for backporting now and applying cosmetic changes would just complicate things. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* at91: Add SAMA5D2 PTC EK boardSandeep Sheriker Mallikarjun2018-05-051-0/+3
| | | | | | | Add target device as at91-sama5d2_ptc_ek in SAMA5D2 subtarget and build images for SAMA5D2 PTC Ek board. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: Add SAMA5D27 SOM1 EK boardSandeep Sheriker Mallikarjun2018-05-051-0/+3
| | | | | | | Add support for SAMA5D27 SOM1 with target device as at91-sama5d27_som1_ek in SAMA5 subtarget and build images for SAMA5D27 SOM1 Ek board. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: Add SAMA5D4 deviceSandeep Sheriker Mallikarjun2017-09-201-0/+3
| | | | | | | Add support for SAMA5D4 with target device as at91-sama5d4_xplained in SAMA5 subtarget and build images for SAMA5D4 Xplained board. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: Add SAMA5D2 deviceSandeep Sheriker Mallikarjun2017-09-201-0/+3
| | | | | | | Add support for SAMA5D2 with target device as at91-sama5d2_xplained in SAMA5 subtarget and build images for SAMA5D2 Xplained board. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* treewide: drop target board_name functionsMathias Kresin2017-07-151-9/+0
| | | | | | They are not used any longer. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: use the generic board_name functionMathias Kresin2017-07-151-2/+1
| | | | | | Use the generic function instead ot the target specific ones. 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>
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-111-1/+1
| | | | | | | | | Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one and update all users accordingly. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47867
* all: remove redundant board.d/00_model filesJo-Philipp Wich2015-12-041-13/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47753
* at91: switch from uci-defaults to board.dJo-Philipp Wich2015-12-032-8/+17
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47740
* at91: add Device Tree based board detectionFlorian Fainelli2015-07-043-3/+122
| | | | | | | | Set up eth0 as LAN interface by default. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 46174
* at91: Add AT91 board and model name to /tmp/sysinfoHauke Mehrtens2014-04-291-0/+9
| | | | | | | | | | | | | | | From 9158e3282db592e78fb32a2c8a0903ef21b97f5c Mon Sep 17 00:00:00 2001 From: Owen Kirby <osk@exegin.com> Date: Fri, 11 Apr 2014 18:28:56 -0700 Subject: [PATCH 3/3] [at91] Add AT91 board and model name to /tmp/sysinfo. This patch extracts the board name and model information from the /proc/device-tree node in order to provide something a little more friendly on the LuCI sysinfo page than just "AT91SAM9 (Device Tree)" Signed-off-by: Owen Kirby <osk@exegin.com> SVN-Revision: 40598
* at91: fix typo in network fileHauke Mehrtens2013-11-171-1/+1
| | | | | | | | This closes #14474. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38842
* add defautl config for eth0Claudio Mignanti2010-07-112-1/+9
| | | | SVN-Revision: 22128
* revamp target: add support for netusg20 boardClaudio Mignanti2010-06-183-9/+18
| | | | SVN-Revision: 21838
* Removed binary file added in errorHamish Guthrie2008-03-131-0/+0
| | | | SVN-Revision: 10596
* Add back support for 2.6.21 kernels - add some required directories.Hamish Guthrie2008-03-131-0/+0
| | | | SVN-Revision: 10595
* get rid of per-profile base-filesGabor Juhos2007-09-292-0/+0
| | | | SVN-Revision: 9069
* strip the kernel version suffix from target directories, except for brcm-2.4 ↵Felix Fietkau2007-09-062-0/+9
(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