9
0
Fork 0
barebox/commands
Sascha Hauer f63e04f52c boot command: make more flexible
With this we can do 'boot <name>' where name is one of:

 - a filename under /env/boot/
 - a full path to a boot script
 - a device name
 - a partition name under /dev/
 - a full path to a directory which
   - contains boot scripts, or
   - contains a loader/entries/ directory containing bootspec entries

Multiple names can be given, they are tried in order. So any mixture
between bootspec entries and bootscripts can be given. bootspec entries
can now also be given as a path to a directory containing bootspec entries.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-11-05 08:37:55 +01:00
..
Kconfig defenv-2: replace boot script with command 2013-09-30 07:45:04 +02:00
Makefile Merge branch 'for-next/misc' 2013-10-07 08:00:25 +02:00
automount.c commands: automount: Added help string about "-d" option 2013-02-18 09:19:05 +01:00
barebox-update.c Add in-system barebox update infrastructure 2012-10-17 20:23:41 +02:00
basename.c Add basename command 2012-06-30 16:53:59 +02:00
boot.c boot command: make more flexible 2013-11-05 08:37:55 +01:00
bootm.c bootm: Replace getenv_loadaddr with getenv_ul 2013-10-07 07:57:42 +02:00
cat.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
cd.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
clear.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
clk.c commands: Add clk commands 2012-10-04 15:19:55 +02:00
cp.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
crc.c command: crc: add -V option to check the crc store in a file 2013-09-20 08:34:07 +02:00
detect.c detect command: Add missing help text for -a option 2013-09-27 11:13:56 +02:00
devinfo.c move devinfo command to its own file 2013-09-27 11:14:32 +02:00
dfu.c remove remaining references of CONFIG_BOARDINFO 2013-08-16 08:40:37 +02:00
digest.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
dirname.c dirname: add -V option to return only path related to the mountpoint 2012-09-05 03:22:14 +08:00
echo.c Remove a redundant line. 2013-06-03 09:26:26 +02:00
edit.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
exec.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
export.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
false.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
filetype.c add filetype command support 2012-10-30 15:42:39 +01:00
flash.c commands: flash: add missing newlines to error messages 2012-12-14 08:43:44 +01:00
global.c globalvar: Allow to set initial value 2013-08-16 08:40:33 +02:00
go.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
gpio.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
help.c cosmetic: improve command list display 2012-10-12 10:52:53 +02:00
i2c.c commands: i2c: change 0X to 0x 2013-04-09 09:01:28 +02:00
insmod.c commands: remove struct command pointer from commands 2012-02-27 20:28:07 +01:00
iomem.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
led.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
let.c commands: add let command which supports proper arithmetic 2013-01-09 10:32:54 +01:00
linux16.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
linux_exec.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
ln.c command: add ln support 2012-09-05 03:22:14 +08:00
loadb.c console: factorise function to get the first enabled console 2013-10-06 13:19:46 +02:00
loadenv.c move prototypes for envfs_* to envfs.h 2013-01-20 16:31:51 +01:00
loads.c loads: use getenv_bool for 'loads_echo' 2013-09-30 10:28:58 +02:00
loadxy.c console: factorise function to get the first enabled console 2013-10-06 13:19:46 +02:00
login.c login: disable input console if password wrong 2013-09-19 08:49:47 +02:00
ls.c ls command: call stat() only when necessary 2012-12-03 11:23:25 +01:00
lsmod.c complete: add empty complete support 2012-04-30 20:37:40 +08:00
magicvar.c commands: remove struct command pointer from commands 2012-02-27 20:28:07 +01:00
md.c memory commands: separate into one file per command 2013-04-17 13:36:31 +02:00
mem.c commands/mem.c: drop non used DEVMEM 2013-05-08 07:16:40 +02:00
memcmp.c memory commands: separate into one file per command 2013-04-17 13:36:31 +02:00
memcpy.c memory commands: separate into one file per command 2013-04-17 13:36:31 +02:00
meminfo.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
memset.c memory commands: separate into one file per command 2013-04-17 13:36:31 +02:00
memtest.c commands: Fix memtest return value 2013-09-02 10:50:16 +02:00
menu.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
miitool.c add 'miitool' command to view media-independent interface status 2012-10-30 10:24:12 +01:00
mkdir.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
mm.c Add memory modify command (mm) 2013-04-17 13:37:14 +02:00
mount.c mount: use standard mountpath if path is ommitted 2013-09-30 16:03:02 +02:00
msleep.c commands: add msleep command 2012-06-30 12:47:04 +02:00
mw.c memory commands: separate into one file per command 2013-04-17 13:36:31 +02:00
nand.c nand command: check for <dev> directly after option parsing 2013-03-04 11:00:33 +01:00
nandtest.c commands: nandtest: Fix incorrect size for memset in do_nandtest 2013-07-09 08:41:31 +02:00
net.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
of_node.c OF: base: rename of_free to of_delete_node 2013-07-05 08:26:57 +02:00
of_property.c of_property command: allow to set phandles 2013-08-14 10:05:37 +02:00
oftree.c oftree command: Allow to specify node by alias 2013-08-14 10:05:37 +02:00
partition.c devfs: let devfs_add_partition return the new partition 2013-07-15 11:15:47 +02:00
passwd.c login/passwd: add default password support 2013-09-19 08:49:51 +02:00
poweroff.c add 'poweroff' command 2012-06-30 12:47:25 +02:00
printenv.c environment variables: use linux list 2012-10-30 10:24:12 +01:00
pwd.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
readline.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
readlink.c command: add readlink support 2012-09-05 03:22:14 +08:00
reginfo.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
reset.c commands: reset: add shutdown_barebox() before reset_cpu() 2013-01-30 16:03:51 +01:00
rm.c rm: implement -r 2012-11-29 20:21:29 +01:00
rmdir.c commands: remove struct command pointer from commands 2012-02-27 20:28:07 +01:00
saveenv.c move prototypes for envfs_* to envfs.h 2013-01-20 16:31:51 +01:00
setenv.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
sleep.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
spi.c commands: spi: Fix spi read procedure 2013-07-15 11:05:24 +02:00
splash.c splash: fix background color support 2013-03-14 07:16:20 +01:00
stddev.c fs: fix standard zero, full devices 2012-07-04 08:38:22 +02:00
test.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
tftp.c commands/tftp: use debug() for debug output 2013-04-03 17:22:11 +02:00
time.c commands: remove struct command pointer from commands 2012-02-27 20:28:07 +01:00
timeout.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
trigger.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
true.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
ubi.c command: ubiattach: add option to pass VID offset 2013-09-18 09:17:13 +02:00
ubiformat.c ubiformat: check file size 2013-06-24 21:43:05 +02:00
uimage.c commands: remove struct command pointer from commands 2012-02-27 20:28:07 +01:00
umount.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
uncompress.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
usb.c usb: move scanned status into core 2013-06-21 07:41:32 +02:00
usbserial.c remove remaining references of CONFIG_BOARDINFO 2013-08-16 08:40:37 +02:00
version.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
wd.c Add a simple watchdog framework 2012-06-29 15:16:34 +02:00