16 Jul, 2019
1 commit
-
add a new option in mtdparts to skip the invalid devices rather than
just quitSigned-off-by: Han Xu
24 May, 2019
4 commits
-
Add the fsl CAAM driver and new commands to implement DEK blob operations,
like "caam genblob" to generate encrypted blob and "caam decap" to output
orignal plain data.Signed-off-by: Ye Li
(cherry picked from commit 4ec81a0b075d8d853ac696172660a7771064405d) -
This patch enable blob command for mScale platforms.
Signed-off-by: Aymen Sghaier
(cherry picked from commit 895669394f6aae633abf6ea3f327d6093562edde)
(cherry picked from commit bac8ed98778c93ef43ce9093efa3b9999d650576) -
Signed-off-by: Franck LENORMAND
(cherry picked from commit 03cb71cd22ff6ab1e2005a4bcb183c65f49b6e4e)
(cherry picked from commit 5d797db35da7fa3f7971df8811b6a1e800786ced) -
In order to build CMD_BLOB on i.MX CAAM supported devices it's
necessary to select SECURE_BOOT. Add SECURE_BOOT and CAAM supported
SoCs as dependency.Signed-off-by: Breno Lima
Reviewed-by: Ye Li
(cherry picked from commit 4afb519038d190687cac6d410e9ad65d0655f1c0)
(cherry picked from commit acda6159eefbefaee15b19568fd1c4665c047432)
26 Mar, 2019
1 commit
-
This converts the following to Kconfig:
CONFIG_DEFAULT_SPI_BUS
CONFIG_DEFAULT_SPI_MODESigned-off-by: Patrick Delaunay
25 Feb, 2019
2 commits
-
Currently, there is no easy way to add or modify UEFI variables.
In particular, bootmgr supports BootOrder/BootXXXX variables, it is
quite hard to define them as u-boot variables because they are represented
in a complicated and encoded format.The new command, efidebug, helps address these issues and give us
more friendly interfaces:
* efidebug boot add: add BootXXXX variable
* efidebug boot rm: remove BootXXXX variable
* efidebug boot dump: display all BootXXXX variables
* efidebug boot next: set BootNext variable
* efidebug boot order: set/display a boot order (BootOrder)Signed-off-by: AKASHI Takahiro
Reviewed-by: Heinrich Schuchardt -
"env [print|set] -e" allows for handling uefi variables without
knowing details about mapping to corresponding u-boot variables.Signed-off-by: AKASHI Takahiro
Reviewed-by: Heinrich Schuchardt
23 Feb, 2019
1 commit
-
Without CONFIG_LED, we get
cmd/built-in.o: In function `show_led_state':
cmd/led.c:40: undefined reference to `led_get_state'
cmd/built-in.o: In function `do_led':
cmd/led.c:99: undefined reference to `led_get_by_label'
cmd/led.c:108: undefined reference to `led_set_state'Signed-off-by: Jan Kiszka
13 Feb, 2019
1 commit
-
It should not be necessary to adjust CMD_BOOTEFI_HELLO_COMPILE in config
files.arch/arm/lib/crt0_arm_efi.S cannot be compiled in thumbs mode. We can
disable CMD_BOOTEFI_HELLO_COMPILE for CONFIG_CPU_V7M. So there is no longer
a need to disable it in stm32 configs.helloworld.efi can be built without problems on x86_64. So there is no need
to disable it in chromebook_link64_defconfig and qemu-x86_64_defconfig.Same is true for ARM V7A. So do not disable CMD_BOOTEFI_HELLO_COMPILE in
kp_imx6q_tpc_defconfig.Some architecture checks are already make for EFI_LOADER. There is no need
to repeat them for CMD_BOOTEFI_HELLO_COMPILESigned-off-by: Heinrich Schuchardt
Reviewed-by: Simon Glass
Reviewed-by: Patrice.Chotard@st.com
Signed-off-by: Alexander Graf
10 Dec, 2018
1 commit
-
The implementation of the EEPROM commands does not support the DM I2C API.
Prevent compilation breakage by not enabling it if the non-DM API is not
available (if DM_I2C is used without DM_I2C_COMPAT)Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Simon Glass
Reviewed-by: Tom Rini
Reviewed-by: Heiko Schocher
05 Dec, 2018
1 commit
-
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: Anatolij Gustschin
Tested-by: Patrick.Delaunay
17 Nov, 2018
1 commit
-
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 optionsSigned-off-by: Patrice Chotard
cmd: pinmux: Fix pinmux commandif "pinmux status" command is used without having
set dev using "pinmux dev", print pinmux usage
Reviewed-by: Simon Glass
15 Nov, 2018
1 commit
-
Add 'virtio' command in U-Boot command line.
Signed-off-by: Tuomas Tynkkynen
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
13 Nov, 2018
2 commits
-
Commit c58fb2cdb3e4 ("cmd: ubi: clean the partition handling")
introduced a call to mtd_probe_devices() in the ubi_attach() path
and this function takes care of parsing mtdparts/mtdids and
creating/registering the associated mtd partitions.The mtdparts_init() call in the ubi_detach() path is not only
unnecessary but can sometimes print error messages even when things
work properly (that's the case with SPI NAND devices that have not
been probed with 'mtd list'), which is misleading.Remove this call to mtdparts_init() and drop the dependency on
CMD_MTDPARTS.Fixes: c58fb2cdb3e4 ("cmd: ubi: clean the partition handling")
Reported-by: Stefan Roese
Signed-off-by: Boris Brezillon
Tested-by: Stefan Roese
Reviewed-by: Lukasz Majewski
Reviewed-by: Jagan Teki -
gwventana configs are relying on CMD_UBI to select CMD_MTDPARTS,
which is then making {MTDIDS,MTDPARTS}_DEFAULT options available.We are about to remove the 'select CMD_MTDPARTS' statement in the
CMD_UBI entry, but if we do that without first making sure
{MTDIDS,MTDPARTS}_DEFAULT are visible, we end up with a build
failure when building gwventana configs.Address that by adding a depends on MTD_PARTITIONS to
{MTDIDS,MTDPARTS}_DEFAULT which does the trick since CMD_UBI selects
MTD_UBI which in turn selects MTD_PARTITIONS.We also get rid of the depends on CMD_MTD, since CMD_MTD also selects
MTD_PARTITIONS.Reported-by: Jagan Teki
Signed-off-by: Boris Brezillon
Reviewed-by: Lukasz Majewski
Reviewed-by: Jagan Teki
16 Oct, 2018
1 commit
-
Only PPC supports this option that's why there should be proper
dependency setup via Kconfig.Signed-off-by: Michal Simek
03 Oct, 2018
4 commits
-
This is the PR for SPI-NAND changes along with few spi changes.
[trini: Re-sync changes for ls1012afrwy_qspi*_defconfig]
Signed-off-by: Tom Rini -
The 'mtdparts' command is not needed anymore. While the environment
variable is still valid (and useful, along with the 'mtdids' one), the
command has been replaced by 'mtd' which is much more close to the MTD
stack and do not add its own specific glue.Signed-off-by: Miquel Raynal
Reviewed-by: Stefan Roese
Reviewed-by: Boris Brezillon -
UBI should not mess with MTD partitions, now that the partitions are
handled in a clean way, clean the ubi command and avoid using this
uneeded extra-glue to reference the devices.Signed-off-by: Miquel Raynal
Reviewed-by: Stefan Roese
Reviewed-by: Boris Brezillon -
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: Miquel Raynal
Acked-by: Jagan Teki
Reviewed-by: Stefan Roese
Reviewed-by: Boris Brezillon
30 Sep, 2018
1 commit
-
Signed-off-by: Tom Rini
29 Sep, 2018
3 commits
-
Previously poweroff was located under boot. It seems to make more
sense to have it located under the Device access commands.Signed-off-by: Adam Ford
-
Add basic command for bus information and read for onewire
bus using Dallas 1-Wire protocol.Signed-off-by: Eugen Hristev
-
Add command to query information from and write text to on-screen
display (OSD) devices.Signed-off-by: Mario Six
Reviewed-by: Simon Glass
26 Sep, 2018
1 commit
-
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: Heinrich Schuchardt
27 Aug, 2018
1 commit
-
It is not preferred to put SUNXI-specific code in the common place.
Change it to 'imply' property of ARCH_SUNXI.
Signed-off-by: Masahiro Yamada
25 Aug, 2018
1 commit
21 Aug, 2018
1 commit
-
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 1bind /ocp/omap_dwc3@48380000/usb@48390000 usb_ether
unbind /ocp/omap_dwc3@48380000/usb@48390000Signed-off-by: Jean-Jacques Hiblot
20 Aug, 2018
1 commit
-
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: Sam Protsenko
Reviewed-by: Tom Rini
18 Aug, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_MII
CONFIG_DRIVER_TI_EMACSigned-off-by: Adam Ford
Acked-by: Jagan Teki
Acked-by: Joe Hershberger
11 Aug, 2018
1 commit
-
Add a command to debug the AXI bus.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
30 Jul, 2018
4 commits
-
The TPMv2 code requires the log functionality, so select it.
Signed-off-by: Tom Rini
-
CMD_DM is used for debug purpose and it shouldn't be enabled by default
via Kconfig. Unfortunately this is in the tree for quite a long time
that's why solution is to use imply DM for all targets which are
enabling DM.Signed-off-by: Michal Simek
Reviewed-by: Tom Rini
Reviewed-by: Joe Hershberger -
Fix Kconfig bool, default, select and imply options to be
alphabetically sorted.Signed-off-by: Michal Simek
Reviewed-by: Tom Rini -
Trivial Kconfig cleanup. Use tabs instead of spaces and every Kconfig
entry should be separated by newline.Signed-off-by: Michal Simek
Reviewed-by: Tom Rini
Reviewed-by: Joe Hershberger
24 Jul, 2018
1 commit
-
1. Since libavb library alone is highly portable, introduce dedicated
Kconfig symbol for AVB bootloader-dependent operations, so it's possible
to build libavb separately. AVB bootloader-dependent operations include:
* Helpers to process strings in order to build OS bootargs.
* Helpers to access MMC, similar to drivers/fastboot/fb_mmc.c.
* Helpers to alloc/init/free avb ops.
2. Add CONFIG_FASTBOOT dependency, as fastboot buffer is
re-used in partition verification operations.Reported-by: Eugeniu Rosca
Signed-off-by: Igor Opaniuk
Reviewed-by: Eugeniu Rosca
Tested-by: Eugeniu Rosca
23 Jul, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_MTD_PARTITIONS
CONFIG_MTD_DEVICESigned-off-by: Adam Ford
11 Jul, 2018
1 commit
-
This patch moves CONFIG_MP to Kconfig
Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek
03 Jul, 2018
1 commit
-
Currently we can choose between 2 different types of behavior for the
serverip variable:1) Always overwrite it with the DHCP server IP address (default)
2) Ignore what the DHCP server says (CONFIG_BOOTP_SERVERIP)This patch adds a 3rd option:
3) Use serverip from DHCP if no serverip is given
(CONFIG_BOOTP_PREFER_SERVERIP)With this new option, we can have the default case that a boot file gets
loaded from the DHCP provided TFTP server work while allowing users to
specify their own serverip variable to explicitly use a different tftp
server.Signed-off-by: Alexander Graf
Acked-by: Joe Hershberger