summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
Commit message (Collapse)AuthorAgeFilesLines
* gui: move gui file to include/gui and lib/guiJean-Christophe PLAGNIOL-VILLARD2012-10-041-8/+15
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: Add clk commandsSascha Hauer2012-10-041-0/+8
| | | | | | | | | | | | | | | | | This adds some basic commands to manupulate clocks on the command line. Right now we have: - clk_set_parent - clk_set_rate - clk_enable - clk_disable - clk_dump The commands work based on the clock name, otherwise they behave like the Linux Kernel C functions. clk_dump will dump the clocktree to the console. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/tftp'Sascha Hauer2012-10-031-0/+8
|\
| * net: Add tftp command which uses the new tftp codeSascha Hauer2012-09-281-0/+8
| | | | | | | | | | | | | | | | | | | | | | Traditionally tftp is a command of its own. Since we can mount tftp as a filesystem we have duplicated the tftp code, the old code is used by the tftp command, the new by the filesystem support. This adds a tftp command based on the filesystem support to preserve backward compatibility. This allows us to remove the old tftp support in the next step. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/testing-menu'Sascha Hauer2012-10-031-17/+21
|\ \
| * | commands: move memtest to testingAlexander Aring2012-09-111-9/+9
| | | | | | | | | | | | | | | | | | | | | Move memtest to testing commands menu. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | commands: move nandtest to testingAlexander Aring2012-09-111-8/+8
| | | | | | | | | | | | | | | | | | | | | Move nandtest in commands menu. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | commands: add testing menuAlexander Aring2012-09-111-0/+4
| |/ | | | | | | | | | | | | Add command menu for testing utilities. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/png'Sascha Hauer2012-10-031-2/+3
|\ \ | | | | | | | | | | | | | | | Conflicts: common/filetype.c include/filetype.h
| * | add PNG supportJean-Christophe PLAGNIOL-VILLARD2012-09-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | use LodePNG version 20120729 from http://lodev.org/lodepng/ The original coding style is keeped to simplify update. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | splash/bmp: switch to image_rendererJean-Christophe PLAGNIOL-VILLARD2012-09-121-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | bmp: Move bmp rendering to lib/bmp.cJean-Christophe PLAGNIOL-VILLARD2012-09-121-0/+1
| | | | | | | | | | | | | | | | | | | | | So we can add other format support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | bmp: rename it to splashJean-Christophe PLAGNIOL-VILLARD2012-09-121-2/+2
| |/ | | | | | | | | | | | | so be can add more format support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / oftree command: Add devicetree probe supportSascha Hauer2012-09-141-1/+11
|/ | | | | | | | | | With this the -p option is no longer for parse, but for probe instead. Using this parses a devicetree given on the command line and probes the devices found in this tree. Devices which already exist are not probed again, but instead their device_node is attached to the existing device. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2012-09-051-1/+0
|\
| * arm: do not enable the previous bootz commandJean-Christophe PLAGNIOL-VILLARD2012-08-281-1/+0
| | | | | | | | | | | | | | | | | | as we now support via bootm on ixp4xx we still need it so keep it so far. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | command: add ln supportJean-Christophe PLAGNIOL-VILLARD2012-09-051-0/+4
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | command: add readlink supportJean-Christophe PLAGNIOL-VILLARD2012-09-051-0/+6
|/ | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* uimage: introduce UIMAGE Kconfig symbolSascha Hauer2012-07-251-0/+2
| | | | | | | Both the uimage command and the bootm command need uImage support, so add a Kconfig symbol for it to be able to select it properly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/poweroff'Sascha Hauer2012-07-021-0/+9
|\
| * add 'poweroff' commandAntony Pavlov2012-06-301-0/+9
| | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/watchdog'Sascha Hauer2012-07-021-0/+19
|\ \
| * | Add a simple watchdog frameworkJuergen Beisert2012-06-291-0/+19
| |/ | | | | | | | | | | | | | | This patch adds a simple wd command which can setup, trigger and stop a watchdog on the platform. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2012-07-021-0/+4
|\ \
| * | commands: add msleep commandSteffen Trumtrar2012-06-301-0/+4
| |/ | | | | | | | | | | | | Add a command to sleep for n milliseconds. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Add dirname commandSascha Hauer2012-06-301-0/+7
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Add basename commandSascha Hauer2012-06-301-0/+7
|/ | | | | | | The basename command allows to set an environment variable with the basename of a path. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bootm: Add default images variablesSascha Hauer2012-05-181-0/+1
| | | | | | | | | | It turns out useful to be able to configure bootm before its usage. This allows us to overwrite bootm settings on an individual base. This patch adds global variables to configure the kernel image, the initrd image and the devicetree image. These values will be used unless overwritten explicitely with command line switches. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* booting: more flexible Linux bootargs generationSascha Hauer2012-05-141-0/+12
| | | | | | | | | | | | | | | | | | | | | | We currently use the environment variable 'bootargs' to get the Linux bootargs. This patch allows for a more flexible bootargs generation using global variables. With it the Linux bootargs are concatenated from multiple variables. This allows to replace parts of the bootargs string without having to reconstruct it completely. With this bootargs can be constructed like: global linux.bootargs.base="console=ttyS0,115200" global linux.bootargs.ip="ip=dhcp" global linux.mtdparts="physmap-flash.0:512K(nor0.barebox),-(root)" This will then automatically be combined into a kernel bootargs string during boot. If the 'linux.bootargs.' variables are all empty the old standard 'bootargs' way will be used. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add 'global' commandSascha Hauer2012-05-141-0/+7
| | | | | | | | | | | 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>
* arm: add Android boot image supportJean-Christophe PLAGNIOL-VILLARD2012-04-131-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | The Android Image contains 3 components and params - kernel - initrd - second stage (optional) - tags addr - bootargs In fast boot the initrd is mandatory, in barebox we are less restrictive use the initrd only if present add to env params: aimage_noverwrite_bootargs Disable overwrite of the bootargs with the one present in aimage aimage_noverwrite_tags Disable overwrite of the tags addr with the one present in aimage Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Magnus Damm <magnus.damm@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Remove EXPERIMENTAL flag from loady.Uwe Hermann2012-04-101-2/+1
| | | | | | | | | | | | | From bd6c5c884337ae2d4ef41d85d59c2d5ec525f8a5 Mon Sep 17 00:00:00 2001 From: Uwe Hermann <uwe@hermann-uwe.de> Date: Fri, 6 Apr 2012 17:30:01 +0200 The loady command seems to work just fine (tested on an S3C2440 target). Also, mark it as TRISTATE like loadb and loads. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add automount supportSascha Hauer2012-03-181-0/+10
| | | | | | | | | | | | | | 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>
* CMD_UNCOMPRESS: select UNCOMPRESSJean-Christophe PLAGNIOL-VILLARD2012-01-161-0/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'pu/jean-codesize' into nextSascha Hauer2012-01-131-0/+3
|\
| * filetype: add config to disable itJean-Christophe PLAGNIOL-VILLARD2012-01-111-0/+1
| | | | | | | | | | | | remove 160 bytes Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * uncompress: add config to disable itJean-Christophe PLAGNIOL-VILLARD2012-01-111-0/+1
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * banner: add config to disable itJean-Christophe PLAGNIOL-VILLARD2012-01-111-0/+1
| | | | | | | | | | | | this will allow to save 144 bytes Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | nandtest: add missing select.Alexander Aring2012-01-061-0/+1
|/ | | | | | | Add select PARTITION_NEED_MTD in nandtest. Signed-off-by: Alexander Aring <a.aring@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* nandtest: add nandtest commandAlexander Aring2012-01-041-0/+7
| | | | | | | | 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>
* bootm: Add missing Kconfig dependencySascha Hauer2011-12-171-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'work/uimage' into nextSascha Hauer2011-12-171-3/+32
|\ | | | | | | | | | | | | | | | | Conflicts: arch/ppc/lib/ppclinux.c commands/bootm.c include/boot.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * remove now obsolete iminfo commandSascha Hauer2011-12-151-6/+0
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * add uimage commandSascha Hauer2011-12-151-0/+6
| | | | | | | | | | | | | | | | | | 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>
| * bootm: use new uimage codeSascha Hauer2011-12-151-0/+22
|/ | | | | | | | | | | | | | This switches the bootm code to the new uimage code. Also bootm can now handle other types of images than uImages. Currently the only architecture making use of this is arm which allows to boot zImages, raw images and barebox images. I intended to make a more bisectable series from this but I failed becuase there are many dependencies and no matter how I tried the patches grew bigger and and bigger. So I decided to put this all in a single patch. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sanbox: add linux_execve and linux_exec commandJean-Christophe PLAGNIOL-VILLARD2011-12-071-0/+6
| | | | | | | 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/+7
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add generic uncompress commandSascha Hauer2011-11-291-5/+5
| | | | | | | | 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>
* bootm: do not select uncompression methodsSascha Hauer2011-11-291-12/+0
| | | | | | | Instead, let the user select them manually so that bootm supports all compression types compiled in. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* factor out iminfo commandSascha Hauer2011-11-291-0/+6
| | | | | | | | 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>