summaryrefslogtreecommitdiff
path: root/include/config_cmd_all.h
AgeCommit message (Collapse)Author
2011-08-29CHROMIUM: remove unused old codesChe-Liang Chiou
The removed codes are based on prior-redesigned vboot_reference and not even written for twostop firmware. BUG=chromium-os:17424 TEST=build cleanly Change-Id: Ifd869d80b7aa8e11ffe948516733e0f78b170d76 Reviewed-on: http://gerrit.chromium.org/gerrit/3849 Tested-by: Che-Liang Chiou <clchiou@chromium.org> Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org>
2011-08-24Create Chrome OS recovery firmware procedureTom Wai-Hong Tam
The command cros_rec is the main procedure the recovery firmware runs by default. It also appears in developer image for debug purpose. BUG=chromium-os:1305 TEST=build successfully and boot like: U-Boot 2010.09 (Mar 09 2011 - 17:16:01) Board: Tegra2 chromeos/tegra2/seaboard/recovery DRAM: 1 GiB Using default environment In: tegra-kbc Out: serial Err: serial Hit any key to stop autoboot: 0 EMMC 1 Probed Successfully EMMC 1 Probed Successfully[mmc_legacy_init:231] EMMC 1 Probe Failed USB: Tegra ehci init hccr c5008100 and hcor c5008140 hc_length 64 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 1 USB Device(s) found scanning bus for storage devices... 0 Storage Device(s) found [mmc_legacy_init:231] EMMC 1 Probe Failed USB: Tegra ehci init hccr c5008100 and hcor c5008140 hc_length 64 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 1 USB Device(s) found scanning bus for storage devices... 0 Storage Device(s) found EMMC 1 Probed Successfully EMMC 1 Probed Successfully DEBUG: TPM: Startup DEBUG: TPM: command 0x99 returned 0x0 DEBUG: TPM: Self test full DEBUG: TPM: command 0x50 returned 0x0 ReadSingle Operation failed. mmc_bread:133 READ : failed ReadSingle Operation failed. mmc_bread:133 READ : failed DEBUG: GptNextKernelEntry looking at new prio partition 1 DEBUG: GptNextKernelEntry s1 t15 p15 DEBUG: GptNextKernelEntry looking at new prio partition 3 DEBUG: GptNextKernelEntry s0 t15 p0 DEBUG: GptNextKernelEntry looking at new prio partition 5 DEBUG: GptNextKernelEntry s0 t15 p0 DEBUG: GptNextKernelEntry likes that one DEBUG: Found kernel entry at 4096 size 32768 DEBUG: Checking key block signature... DEBUG: Kernel preamble is good. DEBUG: Partition is good. DEBUG: In recovery mode or dev-signed kernel DEBUG: Updating GPT header 2 Write failed. Block=8388606 mmc_bwrite:171 WRITE : failed DEBUG: Updating GPT entries 2 Write failed. Block=8388607 mmc_bwrite:171 WRITE : failed DEBUG: Good_partition >= 0 Success; good kernel found on device partition_number: 2 bootloader_address: 0x68c000bootloader_size: 0x1000partition_guid: 10 22 57 b6 1a 5f 41 e8 b9 fc 75 a2 7c a9 fa 30 ## Booting kernel from Legacy Image at 0040c000 ... Image Name: kernel Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5807272 Bytes = 5.5 MiB Load Address: 10008000 Entry Point: 10008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Change-Id: Iee8c703b934c7d7b7fb244355c8f4399bf3d057e Review URL: http://codereview.chromium.org/5989010
2011-08-24Add skeleton of normal firmwareChe-Liang Chiou
BUG=chromium-os:1304 TEST=MAKEALL successfully Review URL: http://codereview.chromium.org/6628008 Change-Id: I71f6ab5afbc8e9c3a569f11c4f2184a1a15c56b1
2011-08-24Rename cros_rofw to cros_bootstubChe-Liang Chiou
Because read-only firmware may refer to boot stub and recovery firmware. BUG=chromium-os:1302 TEST=MAKEALL successfully Review URL: http://codereview.chromium.org/6591037 Change-Id: I40b0b4f458675b1d129fd09dc1ac7504053883c3
2011-08-24Add boot stub template of verify boot firmware.Che-Liang Chiou
This CL is intended for parallelizing development and is not the final implementation of the boot stub. BUG=chromium-os:1302 TEST=build successfully Review URL: http://codereview.chromium.org/6048006 Change-Id: I99ddbaae3e07581e9e2a024ba30dab2e2853f74e
2011-08-24Implement boot device r/w functions for vbootChe-Liang Chiou
BUG=None TEST=Manual Test procedure: 1. Compile with VBOOT_DEBUG flag on successfully 2. Run u-boot on dev board as follows: (Assume you have mmc device on dev board) CrOS> mmc init CrOS> cros bootdev set mmc 1 CrOS> cros bootdev (info of mmc1) CrOS> read mmc 1 0x20000000 1 2 CrOS> md.b 0x20000000 (mmc1 content) CrOS> cros bootdev read 0x20001000 1 2 CrOS> md.b 0x20001000 (mmc1 content) CrOS> cmp.b 0x20000000 0x20001000 0x400 (compare the blocks, should be identical) Review URL: http://codereview.chromium.org/4001006 Change-Id: I339f9fb63862993f8b9ced80d4c27d6bef0c1bc6
2011-08-24Add time measurement command to u-bootChe-Liang Chiou
The command "time" takes a command as its argument, executes the command, and reports how much time the command has used. Example usage: ------------------------------------------------------------ CrOS> time sleep 1 time: 1.000 seconds, 1000 ticks CrOS> time sleep 10 time: 10.000 seconds, 10000 ticks ------------------------------------------------------------ R=robotboy@chromium.org,sjg@chromium.org BUG=none TEST=see above Review URL: http://codereview.chromium.org/6670118 Change-Id: I97cb234c68f29e5db1f5a66abbe32ec6e575b847 Reviewed-on: http://gerrit.chromium.org/gerrit/201 Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
2011-06-22ARM: drop unsupported 'trab' boardWolfgang Denk
The 'trab' board configuration is broken, and there is nobody who is interested and willing to fix it. Drop it. This includes support for VFD displays which have always been used by this board only. Signed-off-by: Wolfgang Denk <wd@denx.de>
2010-10-11rarp: Condtionally compile rarp supportPeter Tyser
Most people don't use the 'rarpboot' command, so only enable it when CONFIG_CMD_RARP is defined. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2010-04-10config_cmd_all.h: Sort entries alphabeticallyDetlev Zundel
Signed-off-by: Detlev Zundel <dzu@denx.de>
2010-04-10config_cmd_all.h: added missing CONFIG_CMD_UBI and CONFIG_CMD_UBIFSFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2009-10-27Add 'editenv' commandPeter Tyser
The editenv command can be used to edit an environment variable. Editing an environment variable is useful when one wants to tweak an existing variable, for example fix a typo or change the baudrate in the 'bootargs' environment variable. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-04-03mflash: Initial mflash supportunsik Kim
Mflash is fusion memory device mainly targeted consumer eletronic and mobile phone. Internally, it have nand flash and other hardware logics and supports some different operation (ATA, IO, XIP) modes. IO mode is custom mode for the host that doesn't have IDE interface. (Many mobile targeted SoC doesn't have IDE bus) This driver support mflash IO mode. Followings are brief descriptions about IO mode. 1. IO mode based on ATA protocol and uses some custom command. (read confirm, write confirm) 2. IO mode uses SRAM bus interface. Signed-off-by: unsik Kim <donari75@gmail.com>
2009-04-03Add "source" command; prepare removal of "autoscr" commandWolfgang Denk
According to the doc/feature-removal-schedule.txt, the "autoscr" command will be replaced by the "source" command in approximately 6 months from now. This patch prepares this change and starts a 6 month transition period as follows: - The new "source" command has been added, which implements exactly the same functionlaity as the old "autoscr" command before - The old "autoscr" command name is kept as an alias for compatibility - Command sequences, script files atc. have been adapted to use the new "source" command - Related environment variables ("autoscript", "autoscript_uname") have *not* been adapted yet; these will be renamed resp. removed in a separate patch when the support for the "autoscr" command get's finally dropped. Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-03-20Separate mtdparts command from jffs2Stefan Roese
Currently the mtdparts commands are included in the jffs2 command support. This doesn't make sense anymore since other commands (e.g. UBI) use this infrastructure as well now. This patch separates the mtdparts commands from the jffs2 commands making it possible to only select mtdparts when no JFFS2 support is needed. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2009-02-18rename CONFIG_CMD_ENV to CONFIG_CMD_SAVEENVMike Frysinger
The CONFIG_CMD_ENV option controls enablement of the `saveenv` command rather than a generic "env" command, or anything else related to the environment. So, let's make sure the define is named accordingly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-08-18Add 'license' command to U-Boot command lineHarald Welte
The 'license' command includes the U-Boot license (GPLv2) into the actual bootloader binary. The license text can be shown interactively at the U-Boot commandline. For products where the commandline can actually be accessed by the end user, this helps to prevent inadvertent GPL violations, since the GPLv2 license text can no longer be 'forgotten' to be included into the product. The 'license' command can be enabled by CONFIG_CMD_LICENSE. Signed-off-by: Harald Welte <laforge@openmoko.org>
2008-08-18add 'unzip' command to u-boot commandlineHarald Welte
[PATCH] add new 'unzip' command to u-boot commandline common/cmd_mem.c: new command "unzip srcaddr dstaddr [dstsize]" to unzip from memory to memory, and option CONFIG_CMD_UNZIP to enable it Signed-off-by: Werner Almesberger <werner@openmoko.org> Signed-off-by: Harald Welte <laforge@openmoko.org>
2008-05-21Big white-space cleanup.Wolfgang Denk
This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-08SPARC/LEON3: Added AMBA Bus Plug&Play information print command (ambapp). It ↵Daniel Hellstrom
can print available cores (type: AHB Master, AHB Slave, APB Slave), their address ranges, IRQ number and version. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2008-03-25Add setexpr commandKumar Gala
Add a simple expr style command that will set an env variable as the result of the command. This allows us to do simple math in shell. The following operations are supported: &, |, ^, +, -, *, /. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-01-09add 'terminal program' functionalityHarald Welte
This patch adds a 'cu' like serial terminal command to u-boot using which you can access other serial ports from the system console. OpenMoko uses this in their Neo1973 phones to get access to the GSM Modem and GPS chip from the bootloader. Signed-off-by: Harald Welte <laforge@openmoko.org>
2007-10-13Merge branch 'master' of git://www.denx.de/git/u-boot-nand-flashWolfgang Denk
2007-09-17OneNAND support (take #2)Kyungmin Park
[PATCH 3/3] OneNAND support (take #2) OneNAND support at U-Boot Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2007-09-11Final tidyPeter Pearse
2007-09-04Rename CONFIG_CMD_MUX to CONFIG_CMD_AT91_SPIMUXPeter Pearse
2007-08-14Add MACH_TYPE records for several AT91 boards.Peter Pearse
Merge to two at45.c files into a common file, split to at45.c and spi.c Fix spelling error in DM9161 PHY Support. Initialize at91rm9200 board (and set LED). Add PIO control for at91rm9200dk LEDs and Mux. Change dataflash partition boundaries to be compatible with Linux 2.6. Signed-off-by: Peter Pearse <peter.pearse@arm.com> Signed-off-by: Ulf Samuelsson <ulf@atmel.com>
2007-07-04Introduce initial versions of new Command Config files.Jon Loeliger
Derive three new files from cmd_confdefs.h: config_bootp.h - Has BOOTP related config options, not commands config_cmd_all.h - Has a CONFIG_CMD_* definition for every command config_cmd_default.h - Has a CONFIG_CMD_* definition for default cmds. For now, include "config_bootp.h" for compatability until all users of it directly include it properly. Signed-off-by: Jon Loeliger <jdl@freescale.com>