20 Aug, 2019
1 commit
-
Decrypt and verify the secure credential in keymaster TA, unlock
operation can only be allowed after secure credential verify pass.Since the mppubk can only be generated on hab closed imx8q, so secure
unlock feature can only supported when hab is closed.Test: secure unlock credential verify on hab closed imx8mm_evk.
Change-Id: I1ab5e24df28d1e75ff853de3adf29f34da1d0a71
Signed-off-by: Ji Luo
24 May, 2019
1 commit
-
Porting the android AVB lib from imx u-boot v2018.03. Since 2019 u-boot
has added latest AVB library, try to reuse it.Signed-off-by: Ye Li
(cherry picked from commit 2105662ada738a271e12a81d775134a5821dc38f)
(cherry picked from commit f7291d86c4183ce2e299ad271aa5618c71507ffc)
18 Jan, 2019
1 commit
-
Signed-off-by: Chris Packham
Reviewed-by: Simon Glass
21 Nov, 2018
1 commit
-
In some cases U-Boot is compressed and it is useful to be able to
decompress it in SPL. Add a Kconfig and Makefile change to allow this.
Note that this does not actually implement decompression.Signed-off-by: Simon Glass
15 Nov, 2018
1 commit
-
Introduce a new Kconfig option for architecture codes to control
whether it provides io{read,write}{8,16,32} I/O accessor functions.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
09 Oct, 2018
2 commits
-
In some cases (e.g. sandbox with verified boot) it is useful to support
libfdt in TPL. Update the Kconfig to handle this.Signed-off-by: Simon Glass
-
At present the tpm can only be used in U-Boot proper. Updated it to work
in SPL and TPL also.Signed-off-by: Simon Glass
27 Jul, 2018
1 commit
-
fdt_fixup_mtdparts() calls mtdparts_init() and device_find(),
which are defined in cmd/mtdparts.cThe combination of FDT_FIXUP_PARTITIONS=y and CMD_MTDPARTS=n
emits the following link error:common/fdt_support.c:903: undefined reference to `mtdparts_init'
common/fdt_support.c:914: undefined reference to `device_find'Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
19 Jun, 2018
1 commit
-
Integrate libavb into the build system. Introduce CONFIG_LIBAVB
build option.Signed-off-by: Igor Opaniuk
13 Jun, 2018
1 commit
-
Often during debugging session it's very interesting to see
what data we were dealing with. For example what we write or read
to/from memory or peripherals.This change introduces functions that allow to dump binary
data with one simple function invocation like:
------------------->8----------------
print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, buf, len);
------------------->8----------------which gives us the following:
------------------->8----------------
00000000: f2 b7 c9 88 62 61 75 64 72 61 74 65 3d 31 31 35 ....baudrate=115
00000010: 32 30 30 00 62 6f 6f 74 61 72 67 73 3d 63 6f 6e 200.bootargs=con
00000020: 73 6f 6c 65 3d 74 74 79 53 33 2c 31 31 35 32 30 sole=ttyS3,11520
00000030: 30 6e 38 00 62 6f 6f 74 64 65 6c 61 79 3d 33 00 0n8.bootdelay=3.
00000040: 62 6f 6f 74 66 69 6c 65 3d 75 49 6d 61 67 65 00 bootfile=uImage.
00000050: 66 64 74 63 6f 6e 74 72 6f 6c 61 64 64 72 3d 39 fdtcontroladdr=9
00000060: 66 66 62 31 62 61 30 00 6c 6f 61 64 61 64 64 72 ffb1ba0.loadaddr
00000070: 3d 30 78 38 32 30 30 30 30 30 30 00 73 74 64 65 =0x82000000.stde
00000080: 72 72 3d 73 65 72 69 61 6c 30 40 65 30 30 32 32 rr=serial0@e0022
00000090: 30 30 30 00 73 74 64 69 6e 3d 73 65 72 69 61 6c 000.stdin=serial
000000a0: 30 40 65 30 30 32 32 30 30 30 00 73 74 64 6f 75 0@e0022000.stdou
000000b0: 74 3d 73 65 72 69 61 6c 30 40 65 30 30 32 32 30 t=serial0@e00220
000000c0: 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00..............
...
------------------->8----------------Source of hexdump.c was copied from Linux kernel v4.7-rc2.
Signed-off-by: Alexey Brodkin
Cc: Anatolij Gustschin
Cc: Mario Six
Cc: Simon Glass
Cc: Tom Rini
Cc: Stefan Roese
30 May, 2018
1 commit
-
Introduce CONFIG_IMAGE_SPARSE and CONFIG_CMD_MMC_SWRITE so the "mmc
swrite" command is separated from the fastboot code.Move image-sparse from common to lib so it's clear it's library code.
Rename CONFIG_FASTBOOT_FLASH_FILLBUF_SIZE to CONFIG_IMAGE_SPARSE_FILLBUF_SIZE
and migrate it to Kconfig.Signed-off-by: Alex Kiernan
Acked-by: Jassi Brar
Reviewed-by: Simon Glass
08 May, 2018
2 commits
-
The overlay code is only useful when OF_LIBFDT is set, so mark it as
depending on that first.Signed-off-by: Tom Rini
-
Enable the FDT library overlay support for all TI SOC family.
Without this option, when Loading fdt from FIT image, the
following warning is seen."config with overlays but CONFIG_OF_LIBFDT_OVERLAY not set".
Signed-off-by: Praneeth Bajjuri
Suggested-by: Andrew F.Davis
Reviewed-by: Tom Rini
Reviewed-by: Sam Protsenko
29 Apr, 2018
1 commit
-
When SPL serial is disabled, callers who need sprintf or strtoul fail
because their inclusion is guarded by CONFIG_SPL_SERIAL_SUPPORT/
CONFIG_TPL_SERIAL_SUPPORT.Split printf, sprintf and strto into their own entries and then select
all of them if SERIAL_SUPPORT is enabled to match the current behaviour.Include panic.o unconditionally as it can be called from anywhere which
uses BUG_ON().Signed-off-by: Alex Kiernan
05 Apr, 2018
1 commit
-
Signed-off-by: Tom Rini
04 Apr, 2018
1 commit
-
In January some commits were introduced to mitigate the U-Boot image
size issues we encountered on sunxi builds.
Now with the MMC environment removed we can bring them back, as we
practically don't have a size limit anymore.Signed-off-by: Andre Przywara
Acked-by: Maxime Ripard
Reviewed-by: Jagan Teki
20 Mar, 2018
1 commit
-
This patch adds code to lib to enable sharing of useful OPTEE code between
board-ports and architectures. The code on lib/optee/optee.c comes from the
TI omap2 port. Eventually the OMAP2 code will be patched to include the
shared code. The intention here is to add more useful OPTEE specific code
as more functionality gets added.Signed-off-by: Bryan O'Donoghue
Cc: Harinarayan Bhatta
Cc: Andrew F. Davis
Cc: Tom Rini
Cc: Kever Yang
Cc: Philipp Tomsich
Cc: Peng Fan
Tested-by: Peng Fan
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