22 Feb, 2019
1 commit
-
Grant user the permission to change the bootargs can be very
dangerous, so add config 'CONFIG_APPEND_BOOTARGS' to guard the
bootargs appending feature.Test: bootargs can't be appended if "CONFIG_APPEND_BOOTARGS" is
not set.Change-Id: I6d6879415ca251c806b56490290e5032aef24277
Signed-off-by: Ji Luo
12 Nov, 2018
1 commit
-
Add fastboot commands "fastboot oem at-get-vboot-unlock-challenge"
and "fastboot oem at-unlock-vboot" to support the authenticated
unlock feature for Android Things devices. Use software random
numbers generator to generate the 16 bytes random challenge, it
should be replaced with hardware encrypted random generator when
the TEE part is ready.Test: Generate unlock challenge by:
./avbtool make_atx_unlock_credential
--output=atx_unlock_credential.bin
--intermediate_key_certificate=atx_pik_certificate.bin
--unlock_key_certificate=atx_puk_certificate.bin
--challenge=my_generated_challenge.bin
--unlock_key=testkey_atx_puk.pem
validated the unlock credential successfully on imx7d_pico
and AIY.Change-Id: I4b8cee87c9e96924169479b65020a081136681f6
Signed-off-by: Ji Luo
22 Aug, 2018
1 commit
-
Some redundant codes are added after cherry-picking android
related commits from imx_v2017.03, remove them in this commit.Test: build and boot pass on imx6q_sabresd.
Signed-off-by: Ji Luo
20 Aug, 2018
2 commits
-
Move the A/B slot check to SPL, the A/B slot switch
workflow is just like what we have in libavb_ab.Test: A/B select works fine on imx8m.
Change-Id: Ie3d827a9be0298b491bf2bc8d48833597fd70e90
Signed-off-by: Luo Ji -
Android Things will load dtb from a single partition like
"oem_bootloader" and we are going to sync normal Android
with Android Things. But just keep loading dtb from bootimage
before everything is ready.Change-Id: I205528b1485d3e8e9961f19812f380a2b11b991b
Signed-off-by: Luo Ji
13 Jun, 2018
1 commit
-
Porting the android AVB lib from imx u-boot v2017.03
Signed-off-by: Ye Li
15 Feb, 2018
1 commit
-
Add CONFIG prefix to DYNAMIC_CRC_TABLE and implement it in
Kconfig.Signed-off-by: Faiz Abbas
09 Feb, 2018
2 commits
-
config_fallback.h has some logic that checks a variety of options
and selects LIB_UUID if it hasn't already been selected. This
will all LIB_UUID in Kconfig and select this option for the list
of options to allow us to remove the logic from fallbacksSigned-off-by: Adam Ford
-
config_fallbacks.h had some logic to automatically select
LIB_RAND if RANDOM_UUID or CMD_UUID were set if LIB_HW_RAND wasn't
already selected. By migrating LIB_HW_RAND to Kconfig, we can
remove this check from config_fallbacks.h and put it into KconfigSigned-off-by: Adam Ford
Reviewed-by: Lukasz Majewski
[trini: Turn into a choice, add NET_RANDOM_ETHADDR]
Signed-off-by: Tom Rini
26 Jan, 2018
1 commit
-
The sunXi arm64 build has overflown, leading to the main U-boot binary
overwriting the environment when flashing the new image, or even worse,
overwriting itself when we're calling saveenv.Disable this option that is not critical until we can adress the issue
properly.Reviewed-by: Andre Przywara
Signed-off-by: Maxime Ripard
Reviewed-by: Jagan Teki
27 Dec, 2017
1 commit
-
Freescale (NXP) boards have lots of defconfig files per board.
I used "imply PANIC_HANG" for them.Signed-off-by: Masahiro Yamada
Reviewed-by: York Sun
20 Nov, 2017
1 commit
-
Add support for S35392A RTC. The driver supports both U-Boot driver
models.Signed-off-by: Nandor Han
Signed-off-by: Martyn Welch
Cc: Heiko Schocher
06 Oct, 2017
1 commit
-
Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini
Reviewed-by: Simon Glass
03 Oct, 2017
1 commit
-
This is needed for BTRFS.
Signed-off-by: Marek Behun
create mode 100644 lib/crc32c.c
11 Sep, 2017
1 commit
-
Add Kconfig option SPL_GZIP and SPL_ZLIB to enable gunzip support for
SPL boot, eg. falcon boot compressed kernel image.Signed-off-by: York Sun
Reviewed-by: Tom Rini
Reviewed-by: Simon Glass
02 Sep, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_BCHSigned-off-by: Adam Ford
Reviewed-by: Tom Rini
20 Aug, 2017
1 commit
-
s/notes/nodes
Signed-off-by: Anatolij Gustschin
13 Aug, 2017
1 commit
-
With the changes to split SPL/TPL for the RK3368, I apparently missed
some needed adjustments to the RK3188 Kconfig and rock_defconfig.This fixes build-issues for the rock board after applying the RK3368
enablement (and SPL/TPL) set that resulted from TPL_SERIAL_SUPPORT,
TPL_ROCKCHIP_BACK_TO_BROM and TPL_TINY_MEMSET being separate symbols
now.Signed-off-by: Philipp Tomsich
Reviewed-by: Simon Glass
25 Jul, 2017
1 commit
-
The above CONFIG options are in Kconfig, and now have correct depends and
inter-dependencies. Migrate these to configs/ from include/configs/. In the
case of CMD_UBIFS also change it to be a default y if CMD_UBI.Signed-off-by: Tom Rini
23 May, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_LZMASigned-off-by: Simon Glass
30 Apr, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_CMD_AES
CONFIG_AESSigned-off-by: Simon Glass
[trini: Add select AES to CMD_AES]
Signed-off-by: Tom Rini
07 Apr, 2017
2 commits
-
Create a new Kconfig entry to allow CMD_UBIFS selection from Kconfig and
add an hidden LZO option that can be selected by CMD_UBIFS.Signed-off-by: Boris Brezillon
Signed-off-by: Maxime Ripard
Acked-by: Jagan Teki -
Expose the RBTREE feature through Kconfig and select this option from the
MTD_UBI option.Signed-off-by: Boris Brezillon
Signed-off-by: Maxime Ripard
Acked-by: Jagan Teki
[Rebased on master]
Signed-off-by: Jagan Teki
05 Apr, 2017
1 commit
-
Most of the time the optimised memset() is what we want. For extreme
situations such as TPL it may be too large. For example on the 'rock'
board, using a simple loop saves a useful 48 bytes. With gcc 4.9 and
the rodata bug, this patch is enough to reduce the TPL image below the
limit.Signed-off-by: Simon Glass
Reviewed-by: Heiko Stuebner
17 Mar, 2017
1 commit
-
So far CONFIG_MD5SUM would need to be set by a board's include file.
Since the command is really generic, move it over to Kconfig to allow
it to be defined by either a board's defconfig, menuconfig or some
config snippet merged via mergeconfig.sh.Signed-off-by: Andre Przywara
Reviewed-by: Simon Glass
19 Oct, 2016
2 commits
-
We can pass SMBIOS easily as EFI configuration table to an EFI payload. This
patch adds enablement for that case.While at it, we also enable SMBIOS generation for ARM systems, since they support
EFI_LOADER.Signed-off-by: Alexander Graf
Reviewed-by: Bin Meng
Reviewed-by: Simon Glass -
We will need the SMBIOS generation function on ARM as well going forward,
so let's move it into a non arch specific location.Signed-off-by: Alexander Graf
Reviewed-by: Bin Meng
Reviewed-by: Simon Glass
15 Oct, 2016
1 commit
-
Move FDT_FIXUP_PARTITIONS to Kconfig and cleanup existing
uses.Signed-off-by: Heiko Schocher
20 Aug, 2016
1 commit
-
The device tree overlays are a good way to deal with user-modifyable
boards or boards with some kind of an expansion mechanism where we can
easily plug new board in (like the BBB, the Raspberry Pi or the CHIP).Add a new function to merge overlays with a base device tree.
Signed-off-by: Maxime Ripard
03 Jun, 2016
1 commit
-
This patch decouples U-Boot binary from the toolchain on systems where
private libgcc is available. Instead of pulling in functions provided
by the libgcc from the toolchain, U-Boot will use it's own set of libgcc
functions. These functions are usually imported from Linux kernel, which
also uses it's own libgcc functions instead of the ones provided by the
toolchain.This patch solves a rather common problem. The toolchain can usually
generate code for many variants of target architecture and often even
different endianness. The libgcc on the other hand is usually compiled
for one particular configuration and the functions provided by it may
or may not be suited for use in U-Boot. This can manifest in two ways,
either the U-Boot fails to compile altogether and linker will complain
or, in the much worse case, the resulting U-Boot will build, but will
misbehave in very subtle and hard to debug ways.Signed-off-by: Marek Vasut
Cc: Albert Aribaud
Cc: Masahiro Yamada
Cc: Simon Glass
Cc: Tom Rini
Reviewed-by: Tom Rini
31 Mar, 2016
1 commit
-
Signed-off-by: Masahiro Yamada
16 Mar, 2016
1 commit
-
Now that we have all the bits and pieces ready for EFI payload loading
support, hook them up in Makefiles and KConfigs so that we can build.Signed-off-by: Alexander Graf
Reviewed-by: Simon Glass
Tested-by: Simon Glass
[trini: Enable only when we of OF_LIBFDT, disable on kwb and colibri_pxa270]
Signed-off-by: Tom Rini
15 Mar, 2016
2 commits
-
Add an option to enable libfdt in SPL. This can be useful when decoding
FIT files in SPL.We need to make sure this option is not enabled in SPL by this change.
Also this option needs to be enabled in host builds. Si add a new
IMAGE_USE_LIBFDT #define which can be used in files that are built on the
host but must also build for U-Boot and SPL.Signed-off-by: Simon Glass
-
Move this option to Kconfig and tidy up existing boards.
Signed-off-by: Simon Glass
06 Feb, 2016
1 commit
-
Correct spelling of "U-Boot" shall be used in all written text
(documentation, comments in source files etc.).Signed-off-by: Bin Meng
Reviewed-by: Heiko Schocher
Reviewed-by: Simon Glass
Reviewed-by: Minkyu Kang
19 Jan, 2016
1 commit
-
Enabling this function always removes some class of string saftey issues.
The size change here in general is about 400 bytes and this seems a reasonable
trade-off.Cc: Peng Fan
Cc: Peter Robinson
Cc: Fabio Estevam
Cc: Adrian Alonso
Cc: Stefano Babic
Cc: Hans de Goede
Signed-off-by: Tom Rini
23 Nov, 2015
1 commit
-
This patch adds a small printf() version that supports all basic formats.
Its intented to be used in U-Boot SPL versions on platforms with very
limited internal RAM sizes.To enable it, just define CONFIG_USE_TINY_PRINTF in your defconfig. This
will result in the SPL using this tiny function and the main U-Boot
still using the full-blown printf() function.This code was copied from:
http://www.sparetimelabs.com/printfrevisited
With mostly only coding style related changes so that its checkpatch
clean.The size reduction is about 2.5KiB. Here a comparison for the db-mv784mp-gp
(Marvell AXP) SPL:Without this patch:
58963 18536 1928 79427 13643 ./spl/u-boot-splWith this patch:
56542 18536 1956 77034 12cea ./spl/u-boot-splNote:
To make it possible to compile tiny-printf.c instead of vsprintf.c when
CONFIG_USE_TINY_PRINTF is defined, the functions printf() and vprintf() are
moved from common/console.c into vsprintf.c in this patch.Signed-off-by: Stefan Roese
Cc: Simon Glass
Cc: Hans de Goede
Cc: Tom Rini
Cc: Albert Aribaud
23 Oct, 2015
1 commit
-
Now that all TPM drivers use driver model, we can drop the special driver
model CONFIG option.Signed-off-by: Simon Glass
Acked-by: Christophe Ricard
12 Oct, 2015
1 commit
-
This patch adds support for LZ4-compressed FIT image contents. This
algorithm has a slightly worse compression ration than LZO while being
nearly twice as fast to decompress. When loading images from a fast
storage medium this usually results in a boot time win.Sandbox-tested only since I don't have a U-Boot development system set
up right now. The code was imported unchanged from coreboot where it's
proven to work, though. I'm mostly interested in getting this recognized
by mkImage for use in a downstream project.Signed-off-by: Julius Werner
Acked-by: Simon Glass
31 Aug, 2015
1 commit
-
Add new Kconfig options for TPMs in preparation for moving boards to use
Kconfig for TPM configuration.Signed-off-by: Simon Glass
Acked-by: Christophe Ricard
Reviewed-by: Heiko Schocher