08 Jan, 2021
1 commit
-
The values printed for DCD block have wrong order. To follow CSF
authenticate data format, the first value should be load address,
second value is file offset.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit f3fd88408eb14a337b74ba4428c6e9df92934ecb)
25 Aug, 2020
3 commits
-
Add DCD (Device Configuration Data) configuration for
fast-boot efused boards (CONFIG_S32V234_FAST_BOOT is
defined)Issue: ALB-1979, ALB-5259
Signed-off-by: Nica Dan
Signed-off-by: Larisa Grigore -
Issue: ALB-4768
Signed-off-by: Dan Nica -
Add support for generating flash images. The image should be
written in flash at 0x0 offset.Issue: ALB-5374
Signed-off-by: Eddy Petrișor
Signed-off-by: Larisa Grigore
20 Jul, 2020
1 commit
-
Conflicts:
arch/arm/config.mkMerge with s32_uboot for secondary merge window of lf_uboot
Signed-off-by: Ye Li
14 Jul, 2020
1 commit
-
Create a dedicated s32v234image.
Signed-off-by: Dan Nica
06 May, 2020
1 commit
-
Use NXP logo.
The vendor and board dir not changed, only replace the contents
of freescale.bmp.Signed-off-by: Peng Fan
(cherry picked from commit 0b381fdf1a45cb06a057724e708ce0bbeee67f4d)
(cherry picked from commit 836461a95ca8df0f41dacf1d390a966624190524)
(cherry picked from commit ffbeb365642907957a385fe970fc69adcf87d600)
(cherry picked from commit 18ec1e8b2be5c0952636960b39edd40f38ffcbc3)
01 Apr, 2020
3 commits
-
These are used in multiple places so update them to use a shared #define.
Signed-off-by: Simon Glass
Reviewed-by: Philippe Reynes -
This tool always verifies the default configuration. It is useful to be
able to verify a specific one. Add a command-line flag for this and plumb
the logic through.Signed-off-by: Simon Glass
-
It is useful to be a little more specific about what is being checked.
Update a few messages to help with this.Signed-off-by: Simon Glass
26 Mar, 2020
1 commit
-
Depending on the SoC, a header of four characters is prepended to the
image. There is already a macro defining the number of characters:
RK_SPL_HDR_SIZE, so use it instead of hardcoding "4".Signed-off-by: Miquel Raynal
Reviewed-by: Kever Yang
26 Feb, 2020
3 commits
-
Printing the error message in verbose mode fails, since python3
doesn't implicitely convert bytes to strings.Signed-off-by: Markus Klotzbuecher
Cc: Simon Glass
Cc: Tom Rini
Cc: Masahiro Yamada
Reviewed-by: Simon Glass -
Commit b237d358b425 ("moveconfig: expand simple expressions") added
support for expanding expressions in configs, but used the unsafe python
built-in "eval". This patch fixes this by replacing eval with the
asteval module.Signed-off-by: Markus Klotzbuecher
Cc: Heinrich Schuchardt
Cc: Heiko Schocher
Cc: Tom Rini
Cc: Simon Glass
Cc: Joe Hershberger
Cc: Masahiro Yamada
Reviewed-by: Heinrich Schuchardt -
The include uboot_aes.h is not useful and
it breaks the compilation on android, so
we remove it.Signed-off-by: Philippe Reynes
Reported-by: Praneeth Bajjuri
14 Feb, 2020
1 commit
-
Two header fields are not properly converted to little endian
before assignment, resulting in incorrect header while executing
mkimage on big endian hosts.Convert the value of the header fields image_checksum and
edcsa_algorithm to little endian before the assignment.Signed-off-by: Antonio Borneo
Reviewed-by: Patrick DELAUNAY
Signed-off-by: Patrick Delaunay
11 Feb, 2020
1 commit
-
sandbox conversion to SDL2
TPM TEE driver
Various minor sandbox video enhancements
New driver model core utility functions
09 Feb, 2020
1 commit
-
When a firmware file is missing the warning message doesn't indicate the
firmware file name because '$tmp' var doesn't exist.
Fix the warning message and while at it reduce the if/else statement.Signed-off-by: Sébastien Szymanski
Reviewed-by: Frieder Schrempf
06 Feb, 2020
1 commit
-
At kernel.org aarch64 toolchains are published in folder
arm64. Fix the URL for that case, so that we can fetch
toolchains on aarch64 machines.Signed-off-by: Matthias Brugger
Reviewed-by: Simon Glass
31 Jan, 2020
2 commits
-
Signed-off-by: Flavio Suligoi
Reviewed-by: Simon Glass -
Remove incorrect indentation.
Signed-off-by: Heinrich Schuchardt
26 Jan, 2020
1 commit
-
genboardscfg.py requires python 3.x since commit 3bc14098d8fb
("genboardscfg.py: Convert to Python 3").Cc: Masahiro Yamada
Signed-off-by: Baruch Siach
Acked-by: Masahiro Yamada
25 Jan, 2020
1 commit
-
Use realloc and update the loop executed in do_fdtgrep to find all
the regions: only test count > max_region after the second pass.This patch solve an issue if the number of region found (count)
is greater then the default value (max_region = count = 100):
the second pass is never executed, because the loop stops after
the first pass (i = 0, count > 100, max_regions = 100)
with error -1 and the error message
"Internal error with fdtgrep_find_region".I also update the error message.
Signed-off-by: Patrick Delaunay
17 Jan, 2020
2 commits
-
This commit add to u-boot the support to decrypt
fit image encrypted with aes. The FIT image contains
the key name and the IV name. Then u-boot look for
the key and IV in his device tree and decrypt images
before moving to the next stage.Signed-off-by: Philippe Reynes
-
This commit add the support of encrypting image with aes
in mkimage. To enable the ciphering, a node cipher with
a reference to a key and IV (Initialization Vector) must
be added to the its file. Then mkimage add the encrypted
image to the FIT and add the key and IV to the u-boot
device tree.Signed-off-by: Philippe Reynes
11 Jan, 2020
1 commit
-
fit_check_params() wants at least two of dflag, fflag, and lflag set.
Simplify the logical constraint checking this.
Signed-off-by: Heinrich Schuchardt
09 Jan, 2020
1 commit
-
dm: Increased separation of ofdata_to_platdata() and probe methods
08 Jan, 2020
4 commits
-
The suffix should be ".bin" instead of ".dtb" .
Signed-off-by: Masahiro Yamada
Reviewed-by: Bin Meng
Reviewed-by: Simon Glass -
This has the same result but some compilers will warn about this
fall-through if there are statements as part of the label block.Signed-off-by: Andrew F. Davis
Reviewed-by: Lokesh Vutla -
This is very similar to fit_image_get_data but has the benefit of working
on FIT images with external data unlike fit_image_get_data. This is
useful for extracting sub-images from type of FIT image as this would
previously just silently fail. Add an error message also so if this
still fails it is easier to find out why.Signed-off-by: Andrew F. Davis
Reviewed-by: Lokesh Vutla -
The dumpimage utility errors out in a number of places without providing
sufficient feedback to allow the user to easily determine what has gone
wrong. Add additional error messages to make the cause of the failure
more obvious.Signed-off-by: Andrew F. Davis
Reviewed-by: Lokesh Vutla
07 Jan, 2020
3 commits
-
New for 2020.04
---------------- New boards
Embedded Artists COM board
Xea Board
- Switch to DM:
Aristainetos boards
Toradex colibri (DM_ETH)
iCubox
GE bx50v3
mx7dsabre (DM_ETH)
cx9020
- New features:
Bootaux with elf files
Default SYS_THUMB_BUILD for i.MX6/7
- Fixes:
DHCOM i.MX6 PDK
Engicam
i.MX8M tools (imx8m_image)Travis: https://travis-ci.org/sbabic/u-boot-imx/builds/633679664
-
The DDR firmware binaries are not part of the U-Boot source code, so
we should look for them in the build directory, where they need to be
copied to before building U-Boot.The ATF binary is already fetched from the build directory, but the
README files for the i.MX8M EVKs claim that it needs to be copied to
the source directory (which is still true for in-tree builds, but not
in general). Therefore we also fix the READMEs to use the build
directory as the correct location for all additional binary files.Sined-off-by: Frieder Schrempf
-
Bring in the following merges:
commit 8fbbec12f7d2c18f8883f3371cfca74a98b5dd87
Merge: 87f69f467a83 63618e71e89b
Author: Tom Rini
Date: Fri Jan 3 09:48:47 2020 -0500Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq into next
- updates and fixes on ls1028a, lx2, ls1046a, MC-DPSPARSER support
commit 87f69f467a8335b171c71bf217d2625d515acd7c
Merge: c0912f9bbfb2 4466b9970319
Author: Tom Rini
Date: Tue Dec 24 08:18:19 2019 -0500Merge https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xx into next
- Enable DM driver on ppc/km boards
- Enable DM_USB for some of NXP powerpc platforms: P5040, T4240, T208x,
T104x, P4080, P2041, P2020, P1020, P3041
- Some updates in mpc85xx-ddr driver, km boardscommit c0912f9bbfb26dd03d189953678691b799d35b6e
Merge: 533c9f5714bd a1d6dc3f8407
Author: Tom Rini
Date: Wed Dec 18 07:20:19 2019 -0500Merge branch 'next' of https://gitlab.denx.de/u-boot/custodians/u-boot-x86 into next
- Various x86 common codes updated for TPL/SPL
- I2C designware driver updated for PCI
- ICH SPI driver updated to support Apollo Lake
- Add Intel FSP2 base support
- Intel Apollo Lake platform specific drivers support
- Add a new board Google Chromebook Coralcommit 533c9f5714bdba79dc6f2629284d4c1a08a611d1
Merge: 553cb0688782 033e18b47bd0
Author: Tom Rini
Date: Tue Dec 17 07:53:08 2019 -0500Merge tag '20191217-for-next' of https://gitlab.denx.de/u-boot/custodians/u-boot-i2c into next
i2c: for next
- misc: i2c_eeprom:
Add partition support and add ability to query size
of eeprom device and partitions
- i2c common:
add support for offset overflow in to address and add
sandbox tests for it.commit 553cb06887825314e74a9bdac337467c77d1db88
Merge: f39abbbc531e b4f98b3b16ec
Author: Tom Rini
Date: Thu Dec 12 08:18:59 2019 -0500Merge tag 'dm-next-13dec19' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm into next
buildman improvements including toolchain environment feature
sandbox unicode support in serial
02 Jan, 2020
2 commits
-
- Fix latest mainline kernel for rk3308
- Update rk3288-evb config to suport OP-TEE
- Fix for firefly-px30 DEBUG_UART channel and make it standalone
- Script make_fit_atf add python3 support
- Fix rk3328 timer with correct COUNTER_FREQUENCY
- Fix rk3328 ATF support with enable spl-fifo-mode -
Add the tool to the ignore list to prevent being marked as unversioned.
Signed-off-by: Dario Binacchi
Reviewed-by: Bin Meng
27 Dec, 2019
3 commits
-
IMX based platforms can have the DCD table located on different
addresses due to differences in their memory maps (ie iMX7ULP).This information is required by the user to sign the images for secure
boot so continue making it accessible via mkimage.Signed-off-by: Jorge Ramirez-Ortiz
Reviewed-by: Fabio Estevam
Signed-off-by: Stefano Babic -
The rc4 encoding should cover spl header as well, and the file_size
contains spl header too.Signed-off-by: Jeffy Chen
Reviewed-by: Kever Yang -
Support packing optional second level boot-loader:
$ ./tools/mkimage -n rk3399 -T rksd -d \
rk3399_ddr_800MHz_v1.24.bin:rk3399_miniloader_v1.19.bin out -v
Adding Image rk3399_ddr_800MHz_v1.24.bin
Size 116492(pad to 116736)
Adding Image rk3399_miniloader_v1.19.bin
Size 88060(pad to 88064)
Image Type: Rockchip RK33 (SD/MMC) boot image
Init Data Size: 116736 bytes
Boot Data Size: 88064 bytesMainly parse init file and boot file from datafile option, copy them to
the image with 2KB alignment.Signed-off-by: Jeffy Chen
Reviewed-by: Kever Yang
21 Dec, 2019
1 commit
-
In the case where one deletes an already-non-existing variable, or sets
a variable to the value it already has, there is no point in writing the
environment back, thus reducing wear on the underlying storage
device.In the case of redundant environments, if the two environments
differ (e.g. because one is corrupt), make sure that any call of
fw_setenv causes the two to become synchronized, even if the fw_setenv
call does not change anything in the good copy.Signed-off-by: Rasmus Villemoes
Acked-by: Joe Hershberger
11 Dec, 2019
1 commit
-
Today when parsing the .sizes files we get a warning about an invalid
line in the file as it's blank. Solve this by checking that we have a
non-blank line prior to processing.Cc: Simon Glass
Signed-off-by: Tom Rini
Reviewed-by: Simon Glass