summaryrefslogtreecommitdiffstats
path: root/commands/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Add dirname commandSascha Hauer2012-06-301-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add basename commandSascha Hauer2012-06-301-0/+1
| | | | | | | The basename command allows to set an environment variable with the basename of a path. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add 'global' commandSascha Hauer2012-05-141-0/+1
| | | | | | | | | | | This implements global shell variable support. This is done by registering a new device named 'global', so global variables are just plain device parameters. Global variables are useful for storing the global state in the environment. Currently we do this by sourcing scripts instead of executing them which is quite limiting. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add automount supportSascha Hauer2012-03-181-0/+1
| | | | | | | | | | | | | | This patch adds an automount command which makes it possible to execute a script when a certain directory is first accessed. It's the commands responsibility to make this directory available (bringing devices up and mounting it). This results in automount support which makes sure that from the shell every file can be accessed without having to care for device bringup. Bringing up devices may be expensive (USB, dhcp). The automount support makes it easy for the environment to bringup devices when they are actually needed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* nandtest: add nandtest commandAlexander Aring2012-01-041-0/+1
| | | | | | | | Add nandtest command to test nand devices and display ecc stats at the end of test. Signed-off-by: Alexander Aring <a.aring@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* serial gadget: enable/disable on requestEric Bénard2012-01-041-0/+1
| | | | | | | | | | | | | | - add a usbserial command to enable/disable the serial gadget - allow dfu and usbserial to cohexist in the same barebox - add a timeout in u_serial so that we don't get locked if the user enable usbserial from a UART console but doesn't consume the data on the usbserial port created on the PC - remove debug or verbose printf - tested on i.MX25 & i.MX35 & usb-a926x Signed-off-by: Eric Bénard <eric@eukrea.com> Tested-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove now obsolete iminfo commandSascha Hauer2011-12-151-1/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add uimage commandSascha Hauer2011-12-151-0/+1
| | | | | | | | | The uimage command superseeds the iminfo command. Unlike the iminfo command the uimage command can also be used to verify the data crc on demand and to extract uImages to files. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sanbox: add linux_execve and linux_exec commandJean-Christophe PLAGNIOL-VILLARD2011-12-071-0/+1
| | | | | | | this will allow to execute a program of the host from barebox Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add iomem command to show iomem usageSascha Hauer2011-12-031-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add generic uncompress commandSascha Hauer2011-11-291-1/+1
| | | | | | | | Using the new uncompress function we can now implement a command which can uncompress all known compression types. This supplements the unlzo command. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* factor out iminfo commandSascha Hauer2011-11-291-0/+1
| | | | | | | | The rests of U-Boots iminfo command are sitting in commands/bootm.c and are in a nonusable state. Factor it out to its own file and make it work again. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add magicvar commandSascha Hauer2011-11-291-0/+1
| | | | | | | The magicvar command gives an overview about all environment variables with a special meaning. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* initial oftree command supportSascha Hauer2011-10-191-0/+1
| | | | | | | | | | | This adds basic device tree command support. So far we can parse a flat device tree (-p), which also stores the tree in memory, dump it (-d) and free (-f) the internally stored tree. The chosen node can be updated with barebox bootargs, no other device tree manipulation is implemented yet. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands/loads.c: make it compile againAntony Pavlov2011-08-231-1/+0
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add 'time' command to measure execution time of a commandSascha Hauer2011-08-031-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: add md5/sha1/sha256sum commands using the digest apiPeter Korsgaard2011-05-191-0/+1
| | | | | | | | | | | | | | | The interface emulates the Linux commands, except that you can specify a sub area - E.G.: barebox:/ md5sum /dev/fd0 2M+1M /env/config /env/bin/boot 10+2 61c4c0180b044191d28f27545f43562f /dev/fd0 0x00200000 ... 0x00300000 908b84bcbadd2f263583a65ff31d1cad /env/config 0x00000000 ... 0x000003a7 f23bd15825cc5006cf5f9fd486d82d2d /env/bin/boot 0x0000000a ... 0x0000000c Adds around 1400 bytes (+ size of digest code) with everything enabled. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: seperate usb command from usb coreSascha Hauer2011-04-111-0/+1
| | | | | | | | This patch makes the USB command optional and makes usb_rescan a global function. This way we can use USB in noninteractive environments. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: Make nand command optionalSascha Hauer2011-04-041-1/+1
| | | | | | | The nand command is for bad block handling which some do not need. So make it optional, but with default y. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* LED: Add trigger commandSascha Hauer2010-12-201-0/+1
| | | | | | This patch allows controlling LED triggers vie the command line. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* LED: Add led commandSascha Hauer2010-12-201-0/+1
| | | | | | This patch allows controlling LEDs via the command line. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add login supportJean-Christophe PLAGNIOL-VILLARD2010-09-201-0/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* add passwd commandJean-Christophe PLAGNIOL-VILLARD2010-09-201-0/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Add Menu FrameworkJean-Christophe PLAGNIOL-VILLARD2010-08-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Introduce a menu framework that allow us to create list menu to simplify barebox and make it more user-frendly This kind of menu is very usefull when you do not have a keyboard or a serial console attached to your board to allow you to interract with barebox For the develloper part, The framework introduce two API 1) C that allow you to create menu, submenu, entry and complex menu action 2) Command that allow you as the C API to create menu, submenu, entry and complex menu action but this time the actions will be store in a function and then be evaluated and excecuted at runtime. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add UBI commands: ubiattach, ubidetach, ubimkvol, ubirmvolSascha Hauer2010-07-051-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: add i2c commandsEric Bénard2010-05-261-0/+1
| | | | | | | | | theses commands allow low level access to i2c bus and can be useful to setup an i2c device without having to add code, compile and flash barebox. Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add unlzo supportSascha Hauer2010-03-301-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add a special command to load and start a bzImage on x86Juergen Beisert2010-01-141-0/+1
| | | | | | | | | Other architectures are supporting the uImage format used by barebox's 'bootm' command. x86 does'nt. So, we need a special command to be able to boot the x86 specific bzImage format. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: Remove reference to non-existent CONFIG_CMD_I2C.Robert P. J. Day2009-12-211-1/+0
| | | | | Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: correct "CONFIG_SIMPLE_PARSER" to "CONFIG_SHELL_SIMPLE".Robert P. J. Day2009-12-211-1/+1
| | | | | | | | Based on suggestion from S. Hauer, fix the obvious typo in commands/Makefile. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* command line gpio supportSascha Hauer2009-12-101-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove obsolete and broken command 'splash'Sascha Hauer2009-10-191-1/+0
| | | | | | Has been replaced with 'bmp' Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* Add USB device supportSascha Hauer2009-09-251-0/+1
| | | | | | | | | | This patch adds support for USB devices. It uses the Linux Kernel gadget API. Along with this patch comes driver support for the Freescale (arc) USB OTG Core and USB Device Firmware Update (DFU) The serial gadget support is not working at the moment. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* framebuffer: Add bmp command to show bmp filesSascha Hauer2009-07-311-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* make nand command mandatory for nand supportSascha Hauer2009-07-211-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* move several commands into extra filesSascha Hauer2008-08-131-0/+6
| | | | | | move false, true, help, insmod, lsmod, version into extra files Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [NAND] continue to make it work. Now works partly on at91sam9260Sascha Hauer2008-06-061-0/+1
|
* 008-fixloadbNishanth Menon2008-06-051-0/+1
| | | | | | | | | [Patch 08/17] U-Boot-V2:Commands Unbreak loadb support This patch provides support for loadb and loady and enables the broken feature Signed-off-by: Nishanth Menon<x0nishan@ti.com>
* remove leftover Makefile entriesMarc Kleine-Budde2008-01-241-4/+0
| | | | | | | | This patch removed leftover Makefile entries from commit "d59c600c656d08410ea862c582fbd77432c3ca47". They should have been reverted, but somehow survived Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* Fix typo in commands/Makefile to allow inclusion of mem write commandsEnrik Berkhan2008-01-231-1/+1
| | | | Signed-Off-By: Enrik Berkhan <Enrik.Berkhan@ge.com>
* Revert "separating memory commands"Marc Kleine-Budde2007-11-271-0/+1
| | | | | | | | | | | | This reverts commit d59c600c656d08410ea862c582fbd77432c3ca47. Conflicts: commands/Makefile common/Kconfig common/Makefile Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* separating environment commands, part 2Juergen Beisert2007-11-121-1/+2
| | | | Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
* separating environment commands, part 1Juergen Beisert2007-11-121-0/+3
| | | | Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
* separating memory commandsJuergen Beisert2007-11-121-1/+4
| | | | Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
* move readline command to a file of its ownsascha2007-10-191-1/+1
|
* remove mii.cSascha Hauer2007-09-281-1/+0
|
* add timeout commandSascha Hauer2007-09-161-0/+1
|
* add missing flash.o and meminfo.o to MakefileSascha Hauer2007-07-131-0/+3
|
* svn_rev_701Sascha Hauer2007-07-051-0/+2
| | | | move do_test to own file and reimplement
* svn_rev_676Sascha Hauer2007-07-051-0/+1
|