summaryrefslogtreecommitdiffstats
path: root/configs/platform-rpi/barebox-defaultenv
Commit message (Collapse)AuthorAgeFilesLines
* rpi: barebox: migrate defaultenv from /env/config to nv variablesRoland Hieber2020-09-152-19/+1
| | | | | | | | | | | | | | | | | | | | | All upstream defaultenvs were converted in barebox 2015.01.0 [2] to use nv variables instead of /env/config, and /env/config is no longer sourced by the init script since barebox 2019.06.0 [1]. The default defaultenv already contains our variable definitions for allow_color, user, and autoboot_timeout, and the information in linux.bootargs.base is detected automatically as linux.bootargs.console from the port name given by the serial driver and CONFIG_BAUDRATE in the barebox config, so we don't have to convert those. This leaves boot.default, and converting this variable should also fix the issue of barebox trying to boot from net (instead of SD card) by default. [1]: 2019-02-25, Sascha Hauer: "defaultenv: Convert init script to C", https://git.pengutronix.de/cgit/barebox/commit/?id=90df2a955e3c66fee2c5 [2]: 2014-11-06, Sascha Hauer: "defaultenv-2: Make use of nonvolatile variables", https://git.pengutronix.de/cgit/barebox/commit/?id=7962e7a0b423a5dfba25 Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* platform-rpi: barebox-defaultenv: make 'boot net' usable without TFTPRoland Hieber2017-08-241-0/+6
| | | | | | | | | | Even though barebox does not yet support the RPi1's ethernet controller, we can still load the kernel and device tree from the SD card and then boot the kernel with NFSROOT. This way rapid development is still possible as long as the kernel does not change. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* config: initial import rpiAlexander Aring2016-06-062-0/+30
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>