- 16 12月, 2018 1 次提交
-
-
由 Tom Rini 提交于
The "dm" command under CONFIG_CMD_DM should live under cmd/ rather than test/dm/ so move it. Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 05 12月, 2018 1 次提交
-
-
由 Anatolij Gustschin 提交于
Add common clear screen command for configurations CONFIG_DM_VIDEO, CONFIG_LCD and CONFIG_CFB_CONSOLE. Remove the existing cls command implementation from lcd.c code and activate the command for all boards enabling CONFIG_LCD for compatibility reasons. Signed-off-by: NAnatolij Gustschin <agust@denx.de> Tested-by: NPatrick.Delaunay <patrick.delaunay@free.fr>
-
- 26 11月, 2018 1 次提交
-
-
由 Simon Glass 提交于
The old 'sb' command was deprecated in 2015 and replaced with 'host'. It is useful to be able to access some internal sandbox state, particularly for testing. Resurrect the old command and provide a way to print some basic state information (currently just the arguments to sandbox). Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 17 11月, 2018 1 次提交
-
-
由 Patrice Chotard 提交于
pinmux command allows to : - list all pin-controllers available on platforms - select a pin-controller - display the muxing of all pins of the current pin-controller or all pin-controllers depending of given options Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> cmd: pinmux: Fix pinmux command if "pinmux status" command is used without having set dev using "pinmux dev", print pinmux usage Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 15 11月, 2018 1 次提交
-
-
由 Tuomas Tynkkynen 提交于
Add 'virtio' command in U-Boot command line. Signed-off-by: NTuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Signed-off-by: NBin Meng <bmeng.cn@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 01 11月, 2018 1 次提交
-
-
由 Patrick Delaunay 提交于
This line is no more needed and can be removed. Only CONFIG_CMD_SOURCE is defined in Kconfig and used in defconfig files. CONFIG_SOURCE if not defined in source code and "config SOURCE" is not present in any Kconfig. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
-
- 03 10月, 2018 1 次提交
-
-
由 Miquel Raynal 提交于
There should not be a 'nand' command, a 'sf' command and certainly not a new 'spi-nand' command. Write a 'mtd' command instead to manage all MTD devices/partitions at once. This should be the preferred way to access any MTD device. Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com> Acked-by: NJagan Teki <jagan@openedev.com> Reviewed-by: NStefan Roese <sr@denx.de> Reviewed-by: NBoris Brezillon <boris.brezillon@bootlin.com>
-
- 29 9月, 2018 2 次提交
-
-
由 Eugen Hristev 提交于
Add basic command for bus information and read for onewire bus using Dallas 1-Wire protocol. Signed-off-by: NEugen Hristev <eugen.hristev@microchip.com>
-
由 Mario Six 提交于
Add command to query information from and write text to on-screen display (OSD) devices. Signed-off-by: NMario Six <mario.six@gdsys.cc> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 26 9月, 2018 1 次提交
-
-
由 Heinrich Schuchardt 提交于
The 'conitrace' command prints the codes received from the console input as hexadecimal numbers. This developer utility is useful for testing the handling of special keys by keyboard drivers. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
- 19 9月, 2018 1 次提交
-
-
由 Konstantin Porotchkin 提交于
Exclude mvebu commands from SPL builds Signed-off-by: NKonstantin Porotchkin <kostap@marvell.com> Cc: Igal Liberman <igall@marvell.com> Cc: Stefan Roese <sr@denx.de> Signed-off-by: NStefan Roese <sr@denx.de>
-
- 21 8月, 2018 1 次提交
-
-
由 Jean-Jacques Hiblot 提交于
In some cases it can be useful to be able to bind a device to a driver from the command line. The obvious example is for versatile devices such as USB gadget. Another use case is when the devices are not yet ready at startup and require some setup before the drivers are bound (ex: FPGA which bitsream is fetched from a mass storage or ethernet) usage example: bind usb_dev_generic 0 usb_ether unbind usb_dev_generic 0 usb_ether or unbind eth 1 bind /ocp/omap_dwc3@48380000/usb@48390000 usb_ether unbind /ocp/omap_dwc3@48380000/usb@48390000 Signed-off-by: NJean-Jacques Hiblot <jjhiblot@ti.com>
-
- 20 8月, 2018 1 次提交
-
-
由 Sam Protsenko 提交于
dtimg command allows user to work with Android DTB/DTBO image format. Such as, getting the address of desired DTB/DTBO file, printing the dump of the image in U-Boot shell, etc. This command is needed to provide Android boot with new Android DT image format further. Signed-off-by: NSam Protsenko <semen.protsenko@linaro.org> Reviewed-by: NTom Rini <trini@konsulko.com>
-
- 11 8月, 2018 1 次提交
-
-
由 Mario Six 提交于
Add a command to debug the AXI bus. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
- 03 7月, 2018 1 次提交
-
-
由 Lothar Felten 提交于
Add a new command 'wol': Wait for an incoming Wake-on-LAN packet or time out if no WoL packed is received. If the WoL packet contains a password, it is saved in the environment variable 'wolpassword' using the etherwake format (dot or colon separated decimals). Intended use case: a networked device should boot an alternate image. It's attached to a network on a client site, modifying the DHCP server configuration or setup of a tftp server is not allowed. After power on the device waits a few seconds for a WoL packet. If a packet is received, the device boots the alternate image. Otherwise it boots the default image. This method is a simple way to interact with a system via network even if only the MAC address is known. Tools to send WoL packets are available on all common platforms. Some Ethernet drivers seem to pad the incoming packet. The additional padding bytes might be recognized as Wake-on-LAN password bytes. By default enabled in pengwyn_defconfig. Signed-off-by: NLothar Felten <lothar.felten@gmail.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 19 6月, 2018 1 次提交
-
-
由 Igor Opaniuk 提交于
Enable a "avb" command to execute Android Verified Boot 2.0 operations. It includes such subcommands: avb init - initialize avb2 subsystem avb read_rb - read rollback index avb write_rb - write rollback index avb is_unlocked - check device lock state avb get_uuid - read and print uuid of a partition avb read_part - read data from partition avb read_part_hex - read data from partition and output to stdout avb write_part - write data to partition avb verify - run full verification chain Signed-off-by: NIgor Opaniuk <igor.opaniuk@linaro.org>
-
- 26 5月, 2018 3 次提交
-
-
由 Miquel Raynal 提交于
Choice between v1 and v2 compliant functions is done with the configuration. Create the various files that will receive TPMv2-only code on the same scheme as for the TPMv1 code. Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Miquel Raynal 提交于
There are no changes in this commit but a new organization of the code as follow. * cmd/ directory: > move existing code from cmd/tpm.c in cmd/tpm-common.c > move specific code in cmd/tpm-v1.c > create a specific header file with generic definitions for commands only called cmd/tpm-user-utils.h * lib/ directory: > move existing code from lib/tpm.c in lib/tpm-common.c > move specific code in lib/tpm-v1.c > create a specific header file with generic definitions for the library itself called lib/tpm-utils.h * include/ directory: > move existing code from include/tpm.h in include/tpm-common.h > move specific code in include/tpm-v1.h Code designated as 'common' is compiled if TPM are used. Code designated as 'specific' is compiled only if the right specification has been selected. All files include tpm-common.h. Files in cmd/ include tpm-user-utils.h. Files in lib/ include tpm-utils.h. Depending on the specification, files may include either (not both) tpm-v1.h or tpm-v2.h. Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: NTom Rini <trini@konsulko.com> [trini: Fix a few more cases of tpm.h -> tpm-v1.h, some Kconfig logic] Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Miquel Raynal 提交于
Because both major revisions are not compatible at all, let's make them mutually exclusive in Kconfig. This way we will be sure, when using a command or a library function that it is supported by the right revision. Current drivers are currently prefixed by "tpm_", we will prefix TPMv2.x files by "tpm2_" to make the distinction without moving everything. The Kconfig menu about TPM drivers is now divided into two sections, one for each specification. Compliant drivers with one specification will only show up if this specification _only_ has been selected, otherwise a comment is displayed. Once a driver is selected by the user, it selects automatically a boolean value, that is needed in order to activate the TPM commands. Selecting the TPM commands will automatically select the right command/library files. Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Rini <trini@konsulko.com> [trini: Rework deps as TPM_V1 and TPM_V2 depend on TPM, drop TPM_DRIVER_SELECTED] Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 24 5月, 2018 1 次提交
-
-
由 Alex Kiernan 提交于
Add a command to manipulate the bootcounter. This is useful if you can run device recovery from inside U-Boot and need to reset the bootcounter after executing that process as part of altbootcmd. Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com> Reviewed-by: NLukasz Majewski <lukma@denx.de>
-
- 09 5月, 2018 1 次提交
-
-
由 Neil Armstrong 提交于
Add an 'adc' cli command to get information from adc devices and to read "single shot" data. Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
-
- 08 5月, 2018 1 次提交
-
-
由 Michalis Pappas 提交于
This patch adds smc and hvc commands, that allow issuing Secure Monitor Calls and Hypervisor Calls conforming to the ARM SMC Calling Convention. Add Kconfig items to allow each command can be individually enabled. Signed-off-by: NMichalis Pappas <mpappas@fastmail.fm> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 07 5月, 2018 1 次提交
-
-
由 Tom Rini 提交于
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 07 4月, 2018 1 次提交
-
-
由 Mario Six 提交于
This patch adds a command that enables the calculation of bit operations (AND, OR, XOR) on binary data from the command line. Memory locations as well as the contents of environment variables are eligible as sources and destination of the binary data used in the operations. The possible applications are manifold: Setting specific bits in registers using the regular read-OR-write pattern, masking out bits in bit values, implementation of simple OTP encryption using the XOR operation, etc. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
- 06 2月, 2018 1 次提交
-
-
由 Tuomas Tynkkynen 提交于
cmd/Makefile has: ifdef CONFIG_FPGA obj-$(CONFIG_CMD_FPGA) += fpga.o endif which means that if CONFIG_FPGA is not set, CONFIG_CMD_FPGA silently does nothing. Let's remove that Makefile conditional and instead express this equivalent dependency in Kconfig, so a lot of redundant # CONFIG_CMD_FPGA is not set can be removed from board defconfigs that don't actually have an FPGA. Signed-off-by: NTuomas Tynkkynen <tuomas@tuxera.com>
-
- 20 1月, 2018 1 次提交
-
-
由 Lokesh Vutla 提交于
Move cmd_ddr3 to cmd/ti in order to make it build for non-keystone TI platforms. Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> [trini: Rename to ddr3.c not cmd_ddr3.c] Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 10 1月, 2018 1 次提交
-
-
由 Eddie Cai 提交于
this patch add rockusb command. the usage is rockusb <USB_controller> <devtype> <dev[:part]> e.g. rockusb 0 mmc 0 Signed-off-by: NEddie Cai <eddie.cai.linux@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 08 1月, 2018 1 次提交
-
-
由 Tom Rini 提交于
We only need to compile and link these files when building for full U-Boot. Move them to under cmd/x86/ to make sure they aren't linked in and undiscarded due to u_boot_list_2_cmd_* being included). Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: NTom Rini <trini@konsulko.com> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
-
- 08 12月, 2017 2 次提交
-
-
由 Simon Glass 提交于
Add a command for adjusting the log level. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
-
由 Simon Glass 提交于
This does not appear to be used by any boards. Before introducing a new log system, remove this old one. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
-
- 03 10月, 2017 1 次提交
-
-
由 Marek Behún 提交于
Signed-off-by: NMarek Behun <marek.behun@nic.cz> create mode 100644 cmd/btrfs.c
-
- 23 8月, 2017 1 次提交
-
-
由 Stefan Agner 提交于
Add a new command to start USB Serial Download Protocol (SDP) state machine. Signed-off-by: NStefan Agner <stefan.agner@toradex.com> Reviewed-by: NŁukasz Majewski <lukma@denx.de> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
- 17 8月, 2017 1 次提交
-
-
由 Simon Glass 提交于
Most block devices provide a command (e.g. 'sata', 'scsi', 'ide') and these commands generally do the same thing. This makes it harder to maintain this code and keep it consistent. We now have a block device interface which is either implemented by driver model (when CONFIG_BLK is enabled) or with a legacy interface. Therefore it is possible to handle most of what these commands do with generic code. Add a new generic function to process block-device commands using the interface type and the current device number for that type. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 14 8月, 2017 1 次提交
-
-
由 Zhikang Zhang 提交于
Add nvme commands in U-Boot command line. 1. "nvme scan" - scan NVMe blk devices 2. "nvme list" - show all available NVMe blk devices 3. "nvme info" - show current or a specific NVMe blk device 4. "nvme device" - show or set current device 5. "nvme part" - print partition table 6. "nvme read" - read data from NVMe blk device 7. "nvme write" - write data to NVMe blk device Signed-off-by: NZhikang Zhang <zhikang.zhang@nxp.com> Signed-off-by: NWenbin Song <wenbin.song@nxp.com> Signed-off-by: NBin Meng <bmeng.cn@gmail.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
- 12 8月, 2017 3 次提交
-
-
由 Simon Glass 提交于
This converts the following to Kconfig: CONFIG_CMD_YAFFS2 Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Reviewed-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
由 Simon Glass 提交于
This converts the following to Kconfig: CONFIG_CMD_SCSI Also update the Makefile to use CONFIG_CMD_SCSI instead of CONFIG_SCSI to enable the command, fixing an earlier error. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Reviewed-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com> [trini: Rework to default y if SCSI, drop cl-som-am57x which did not use CMD_SCSI for real] Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Simon Glass 提交于
This command is not used by any board. It also looks quite similar to the 'iod' and 'iow' commands which use the correct I/O macros. Drop it. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Reviewed-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
- 04 7月, 2017 1 次提交
-
-
由 Heiko Schocher 提交于
There was for long time no activity in the 4xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 4xx, so remove it. Signed-off-by: NHeiko Schocher <hs@denx.de>
-
- 06 6月, 2017 1 次提交
-
-
由 Tom Rini 提交于
With clang-3.8 we see warnings like: cmd/ethsw.c:304:6: warning: implicit conversion from enumeration type 'enum ethsw_keyword_opt_id' to different enumeration type 'enum ethsw_keyword_id' [-Wenum-conversion] ethsw_id_pvid_no, ^~~~~~~~~~~~~~~~ Because we have one enum for ethsw_keyword_id and a second enum for ethsw_keyword_opt_id. This ends up being safe as ethsw_keyword_opt_id explicitly starts after ethsw_keyword_id enum ends. Disable the warning here rather than collapse these into one enum and rely on comments to denote where optional keywords begin. Cc: Codrin Ciubotariu <codrin.ciubotariu@freescale.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: NTom Rini <trini@konsulko.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 23 5月, 2017 1 次提交
-
-
由 Simon Glass 提交于
This converts the following to Kconfig: CONFIG_CMD_LZMADEC Signed-off-by: NSimon Glass <sjg@chromium.org>
-