19 Jun, 2018
8 commits
-
This adds DM_GPIO support for the davinici GPIO driver with
DT support.Signed-off-by: Adam Ford
-
Don't continue updating the offset when buffer is full.
When the buffer size exhausts and there's no space left to write
warn the user and update only the needed size and not both the
offset and needed size.Add needed buffer size information in the iotrace command.
Signed-off-by: Ramon Fried
-
The header definitions are needed for reading
record information in cmd/iotrace.cSigned-off-by: Ramon Fried
Reviewed-by: Simon Glass -
Remove empty #ifdef/#ifndef..#endif blocks where the configuration they
guarded has been completely removed.Signed-off-by: Chris Packham
-
1. Add vbmeta partition info to android partition layout for TI
platforms.
2. Add support of AVB 2.0 (including avb subset of commands) for am57xx HSSigned-off-by: Igor Opaniuk
[trini: Move to include/environment/ti/boot.h, reword commit slightly]
Signed-off-by: Tom Rini -
1. Add initial support of boot states mode (red, green, yellow)
2. Add functions for enforcing dm-verity configurationsSigned-off-by: Igor Opaniuk
-
Implement AVB ops on top of existing mmc subsystem API. Currently there
is a full implementation of such operations, defined by [1]
AVB2.0 specification:.read_from_partition() - reads N bytes from a partition identified by
a name.
.write_to_partition() - Writes N bytes to a partition identified by a name.
.validate_vbmeta_public_key() - checks if the given public ‘vbmeta’
partition is trusted.
.get_unique_guid_for_partition() - Gets the GUID for a partition identified
by a string name.As [1] specification recommends to use tamper-evident storage for storing
rollback indexes and device state (LOCKED/UNLOCKED),
currently are only stubs instead of full implementation for these ops:
.read_rollback_index() - Gets the rollback index for a given index location
.write_rollback_index() - Sets the rollback index to a given location
.read_is_device_unlocked() - Gets where the device is unlocked[1] https://android.googlesource.com/platform/external/avb/+/master/README.md
Signed-off-by: Igor Opaniuk
17 Jun, 2018
4 commits
-
To avoid confusion, let's rename the efi-x86 target to efi-x86_app.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass -
If UEFI BIOS has the graphics output protocol (GOP), let's pass its
information to U-Boot payload so that U-Boot can utilize it (eg:
an EFI framebuffer driver).Signed-off-by: Bin Meng
Reviewed-by: Simon Glass -
It is possible to create a generic EFI payload for all x86 boards.
The payload is configured to include as many generic drivers as
possible. All stuff that touches low-level initialization are not
allowed as such is the EFI BIOS's responsibility. Platform specific
drivers (like gpio, spi, etc) are not included.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
16 Jun, 2018
1 commit
-
The environment on Draak is in the eMMC, card 0, place it so.
Signed-off-by: Marek Vasut
15 Jun, 2018
8 commits
-
Here we just add a tool for HSDK flashable images preparation
together with extensive documentation for HSDK board.This will help real-life users to update U-Boot on the board.
-
Xilinx fixes for v2018.07-rc2
Zynq:
- Fix missing watchdog header
- DT fixesZynqMP:
- emmc configuration split
- Enable SPD
- Fix PMUFW_INIT_FILE logic
- Coverity fixes in SoC codetimer
- Add timer_get_boot_usmmc:
- Fix MMC HS200 tuning commandserial:
- Fix scrabled chars with OF_LIVE -
HSDK board has preloader that reads SPI flash pages and searches
for a special image header to fetch and load binary.Add tool, make target (bsp-generate) to generate
update script and u-boot binary image with header for preloader.Also add script to default environment to apply updates.
Signed-off-by: Eugeniy Paltsev
Signed-off-by: Alexey Brodkin -
zcu102 contains DIMM with SPD on it at 0x51 address.
For example:
i2c dev 13
i2c sdram 51Signed-off-by: Michal Simek
-
Point the $loadaddr variable and default load address to a more sane
area, 384 MiB from the start of RAM. This is to avoid all the reserved
memory at the beginning of RAM. The old behavior could still be easily
retained by "setenv loadaddr 0x48080000" . The new setup allows us to
use for example modern fitImage with kernel_noload, so use this as a
new preferred default.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Point the $loadaddr variable and default load address to a more sane
area, 256 MiB from the start of RAM. While it is convenient to use
uImage without copying, which is why the previous load address was
set the way it was, uImage is now legacy. This behavior could still
be easily retained by "setenv loadaddr 0x40007fc0" . The new setup
allows us to use for example modern fitImage with kernel_noload, so
use this as a new preferred default.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
The CONFIG_SYS_CLK_FREQ is not used on some of the Gen3 boards,
remove it. Moreover, on Ebisu this actually didn't match the
comment in the config file at all, but since it was not used,
there was no real problem.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Patch queue for efi - 2018-06-14
A few minor fixes for the release:
- Compile fixes
- HI20 relocations for RISC-V
- Fix bootefi without load path
- Fix Runtime Services with certain compilers
14 Jun, 2018
6 commits
-
Sync the gpio.h header with Linux 4.17, which contains new macros.
Signed-off-by: Marek Vasut
Cc: Tom Rini -
When building with -pedantic the current definition of EFI_GUID() causes
an error 'initializer element is not constant'.Currently EFI_GUID() is used both as an anonymous constant and as an
intializer. A conversion to efi_guid_t is not allowable when using
EFI_GUID() as an initializer. But it is needed when using it as an
anonymous constant.We should not use EFI_GUID() for anything but an initializer. So let's
introduce a variable where needed and remove the conversion.Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf -
The PE standard allows for HI20/LOW12 relocations. Within the efi_loader
target we always know that our relocation target is 4k aligned, so we
don't need to worry about the LOW12 part.This patch adds support for the respective relocations. With this and a
few grub patches I have cooking in parallel I'm able to run grub on RISC-V.Signed-off-by: Alexander Graf
-
Add the new mode to indicate a built-in PHY.
This will be used by UniPhier AVE ethernet driver.Signed-off-by: Kunihiko Hayashi
Reviewed-by: Marek Vasut
Acked-by: Joe Hershberger -
VCAP tables must be initialized even if no advanced classification
is used. If no initialization is performed, then ECC error will
be observed by the user when the first packet enters the l2switch.
The error is marked in MPIC_EISR0 -bit 29 which means - Internal RAM
multi-bit ECC error.
This patch fixes the aforementioned ECC error by performing the
initialization of VCAP tables.Signed-off-by: Radu Bulie
Acked-by: Joe Hershberger -
Add support for Cortina CS4223 10G PHY
- As per the CS4223 specs, an EEPROM module is
connected to the PHY. At startup the PHY reads
the firmware line and tries to load the firmware
into the internal memory.
- This driver reads the EEPROM status
and checks if firmware has been loadedSigned-off-by: Vicentiu Galanopulo
Acked-by: Joe Hershberger
13 Jun, 2018
9 commits
-
's/environemnt/environment/' and
's/Environemnt/Environment/'Signed-off-by: Shyam Saini
-
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 -
After the commit 265edc03d5a1 ("fs/fat: Clean up open-coded sector
cluster conversions"), it is hung up writing new file to FAT16
disk with more than 19 files in armv7. It is because result value
of sect_to_cluster() is not proper by casting from signed value to
unsigned value. Fix the wrong casting of sect_to_cluster().Reported-by: Jaehoon Chung
Signed-off-by: Seung-Woo Kim
Reviewed-by: Lukasz Majewski -
generic.h has changed in Linux and new addtionals functions were
added.This commit takes the latest and greatest from Linux (v4.17-rc5)
to aid with porting drivers that utilize these functions.Signed-off-by: Ramon Fried
-
In upstream Linux kernel, the fdtfile
for this specific board is called am335x-wega-rdk.dtbSigned-off-by: Matwey V. Kornilov
-
It appears that DEFAULT_LINUX_BOOT_ENV can be used to boot pcm051 board.
Signed-off-by: Matwey V. Kornilov
-
Signed-off-by: Matwey V. Kornilov
-
Add support for distro bootcmds.
Signed-off-by: Matwey V. Kornilov
12 Jun, 2018
3 commits
-
The helios4 is built on the SolidRun Armada 38x SOM.
The port os based on the ClearFog board, using information from
https://github.com/helios-4/u-boot-marvell as well as dtb input
from https://github.com/helios-4/linux-marvellSigned-off-by: Dennis Gilmore
Signed-off-by: Dennis Gilmore
Signed-off-by: Stefan Roese -
Added the following:
1. defconfig for LS1012AFRWY Secure boot
2. PfE Validation supportSigned-off-by: Vinitha V Pillai
Reviewed-by: York Sun -
FRWY-LS1012A belongs to LS1012A family with features 2 1G SGMII PFE
MAC, Micro SD, USB 3.0, DDR, QuadSPI, Audio, UART.Signed-off-by: Bhaskar Upadhaya
[yorks: rebase and fix SPDX tag]
[yorks: fix board/freescale/ls1012afrdm/Kconfig]
Reviewed-by: York Sun
09 Jun, 2018
1 commit
-
Signed-off-by: Jagdish Gediya
Reviewed-by: York Sun