11 Apr, 2017
8 commits
-
Some of the fixups currently done for OMAP5 class boards are common to
other OMAP family devices, move these to fdt-common.c.Signed-off-by: Andrew F. Davis
-
TEE loading and firewall setup are common to all omap2 devices, move
these function out of omap5 and into mach-omap2. This allows us
to use these functions from other omap class devices.Signed-off-by: Andrew F. Davis
-
Move the OPTEE load address to 0xbdb00000 in order to avoid
overlap with the memory regions used in radio and RVC usecases.Signed-off-by: Andrew F. Davis
-
Move the OPTEE load address to 0xbdb00000 in order to avoid
overlap with the memory regions used in radio and RVC usecases.Signed-off-by: Misael Lopez Cruz
Signed-off-by: Andrew F. Davis -
commit 4f65ee38131a180cc2d8bc2cfe76cca31a9d55a4 upstream.
After we authenticate/decrypt an image we need to flush the caches
as they may still contain bits of the encrypted image. This will
cause failures if we attempt to jump to this image.Reported-by: Yogesh Siraswar
Signed-off-by: Andrew F. Davis
Reviewed-by: Tom Rini -
The load address of ramdisk, rdaddr is 0x88080000 and fit_loadaddr
is defined as 0x88000000. This leaves only 512Kbytes for the
fit image. When the FIT images are larger than this, it will
overwite the ramdisk and cause the boot to fail.For eg, The K2 HS fit images are a few MB and end up overwriting
the ramdsk. This patch moves the fit_loadaddr to 0x87000000,
leaving a 16MB window for the fit image. This memory can be
reclaimed once the kernel starts running.Signed-off-by: Madan Srinivas
-
Adds env variables to install secure boot monitor for K2HK HS devices.
Signed-off-by: Madan Srinivas
-
This patch moves u-boot environment variables that can be shared
across K2 devices to a common location, from the k2e specific
file.Acked-by: Andrew F. Davis
Signed-off-by: Madan Srinivas
07 Apr, 2017
5 commits
-
Now that we have common MMC/SD boot environment
variables that can be used across TI platforms,
switch OMAP-L138 LCDK to use them.As a nice side-effect, we get support for using
uEnv.txt on this platform.Signed-off-by: Sekhar Nori
Reviewed-by: Lukasz Majewski
Reviewed-by: Tom Rini -
Introduce include/environment/ti/mmc.h that
consolidates environment variable definitions
for various TI boards that support MMC/SD.This allows reuse of same environment variables
on non-ARMv7 TI platforms like OMAP-L138 for
example.While at it, move DFU-related environment variable
includes to only non-SPL builds for AM335x and
AM437x since they are not really used for SPL
today.Signed-off-by: Sekhar Nori
Reviewed-by: Lukasz Majewski
Reviewed-by: Tom Rini -
Use environment variables for various memory addresses
used on OMAP-L138 LCDK board. This makes it easy to
customize the boot process.Signed-off-by: Sekhar Nori
Reviewed-by: Lukasz Majewski
Reviewed-by: Tom Rini -
Enable some generic filesystem commands as
well as disk partition related commands for
OMAP-L138 LCDK board.These help in booting Linux from MMC/SD, for
example.Signed-off-by: Sekhar Nori
Reviewed-by: Lukasz Majewski
Reviewed-by: Tom Rini -
OMAP-L138 LCDK board does not have a SPI flash.
Remove spiboot related environment variable
definitions.Signed-off-by: Sekhar Nori
Reviewed-by: Lukasz Majewski
Reviewed-by: Tom Rini
06 Apr, 2017
1 commit
-
As per the DM[1] Dated June 2016–Revised February 2017, Table 5-3,
DRA71 supports the following OPPs for various voltage domains:VDD_MPU: OPP_NOM
VDD_CORE: OPP_NOM
VDD_GPU: OPP_NOM
VDD_DSPEVE: OPP_NOM, OPP_HIGH
VDD_IVA: OPP_NOM, OPP_HIGHThis patch add support for selection of the above OPPs instead of
using OPP_NOM for all voltage domains.[1] http://www.ti.com/lit/ds/symlink/dra718.pdf
Reported-by: Vishal Mahaveer
Signed-off-by: Lokesh Vutla
05 Apr, 2017
3 commits
-
Update the board pinmux for AM572x-evm using latest PMT[1] and the
board files named am572x_gp_evm_A3a_sr2p0 and am572x_gp_evm_A2b_sr1p1
that were autogenerated on 30th January, 2017 by
"Ahmad Rashed " and "Tom Johnson ".Signed-off-by: Lokesh Vutla
-
Update the board pinmux for AM571x-IDK board using latest PMT[1] and the
board files named am571x_idk_v1p3b_sr2p0 that were autogenerated on
23rd March, 2017 by "Ahmad Rashed " and
"Tom Johnson ".[1] https://dev.ti.com/pinmux/app.html#/default/
Signed-off-by: Lokesh Vutla
-
Update the board pinmux for AM572x-IDK board using latest PMT[1] and the
board files named am572x_idk_v1p3b_sr2p0 that were autogenerated on
30th January, 2017 by "Ahmad Rashed " and
"Tom Johnson ".[1] https://dev.ti.com/pinmux/app.html#/default/
Signed-off-by: Lokesh Vutla
31 Mar, 2017
5 commits
-
TI K2G secure devices have to be built with TI_SECURE_DEVICE, FIT, and
FIT_IMAGE_POST_PROCESS enabled. Add a dedicated defconfig for this.Signed-off-by: Andrew F. Davis
-
TI K2HK secure devices have to be built with TI_SECURE_DEVICE, FIT, and
FIT_IMAGE_POST_PROCESS enabled. Add a dedicated defconfig for this.Signed-off-by: Andrew F. Davis
-
The K2G ICE EVM straps RX_DV/RX_CTRL pin of on board DP83867 phy in mode
1. Unfortunately, the phy data manual disallows this.Add ti,dp83867-rxctrl-strap-quirk in the phy node to allow software
to enable workaround suggested for this incorrect strap setting. This
ensures proper operation of this PHY.Signed-off-by: Murali Karicheri
-
The data manual for DP83867IR/CR, SNLS484E[1], revised march 2017,
advises that strapping RX_DV/RX_CTRL pin in mode 1 and 2 is not
supported (see note below Table 5 (4-Level Strap Pins)).It further advises that if a board has this pin strapped in mode 1 and
mode 2, then bit[7] of Configuration Register 4 (address 0x0031) must
be cleared to 0. This is to ensure proper operation of PHY.Since it is not possible to detect in software if RX_DV/RX_CTRL pin is
incorrectly strapped, add a device-tree property to advertise this and
allow corrective action in software.
[1] http://www.ti.com/lit/ds/snls484e/snls484e.pdfSigned-off-by: Murali Karicheri
-
commit daa483debea9596f23f5869f7623cec1ef761718 upstream.
Add instructions to write an AIS image to NAND
by using the u-boot nand tools.Signed-off-by: Axel Haslam
Signed-off-by: Sekhar Nori
28 Mar, 2017
1 commit
-
am335x_evm SPL is very close to its limit in SRAM space.
SRAM size might be overflowed when building with "O=" option
with a very large directory name and the same is a sibling
of source tree. This will give the absolute path when __FILE_
is used.
Switch to use tiny printf to reclaim some size.Reported-by: Denys Dmytriyenko
Signed-off-by: Lokesh Vutla
22 Mar, 2017
2 commits
-
On am43xx, MMC is always initialized in SPL irrespective of boot mode,
hence, lets keep the environment in MMC (which is default for peripheral
boot modes) for USBETH boot mode as well.
Therefore, don't define CONFIG_ENV_IS_NOWHERE in case of USBETH/RNDIS
boot.Signed-off-by: Vignesh R
-
On am335x, MMC is always initialized in SPL irrespective of boot mode,
hence, lets keep the environment in MMC (which is default for peripheral
boot modes) for USBETH boot mode as well.
Therefore, don't define CONFIG_ENV_IS_NOWHERE in case of USBETH/RNDIS
boot.Signed-off-by: Vignesh R
20 Mar, 2017
1 commit
-
Enable the OPP_HIGH configuration for GPU voltage domain
by default for various TI DRA7xx and AM57xx boards. This
is being done to meet the performance needs of 1080p
GFX/MultiMedia usecases. These domains do not support DVFS
and the kernel will continue to run to the boot OPPs chosen
here.Based on logic similar to that of DSPEVE and IVA voltage
domains in commit def6b32 ("ARM: DRA7: Enable OPP_OPP_HIGH for
DSPEVE and IVA voltage domains")Acked-by: Suman Anna
Signed-off-by: Subhajit Paul
Signed-off-by: Lokesh Vutla
16 Mar, 2017
1 commit
-
Currently, AM43xx just re-uses the version strings from AM33xx which is
wrong; the actual values for AM43xx are different. Fix this by adding
a separate version string array for AM43xx and use this instead.Signed-off-by: Tero Kristo
15 Mar, 2017
2 commits
-
K2G GP boards do not currently have their EEPROM programmed. This is
problematic since that is the primary way to do runtime board detection.
However, an alternative approach can be used which is probing i2c ics that
are only found on K2G GP evm. Once we know we are on the K2G GP we then
fake the EEPROM contents to allow the remaining code to work as normal.Signed-off-by: Franklin S Cooper Jr
-
Add pinmux values for I2C 1 which is used for runtime board detection.
Signed-off-by: Franklin S Cooper Jr
14 Mar, 2017
2 commits
-
Enable SPL_USB_HOST_SUPPORT in the default defconfig to allow
booting from USB peripherals.Signed-off-by: Andrew F. Davis
-
commit 4aac44be11a44b72a87de2ee751aa1fcd4960fef upstream.
The da850 soc's can boot from a external mmc card, but
the AIS image should be written to the correct sector.Add instructions to copy the AIS image to a MMC card.
Signed-off-by: Axel Haslam
Reviewed-by: Tom Rini
Signed-off-by: Sekhar Nori
03 Mar, 2017
2 commits
-
commit 22802f4e3a0a8ead928a0af06b7719b604a98afb upstream.
Add a new top-level config option so support booting an image stored
in RAM. This allows to move the RAM boot support into a sparate file
and having a single condition to compile that file.Signed-off-by: Stefan Agner
(cherry picked from commit 22802f4e3a0a8ead928a0af06b7719b604a98afb)
Signed-off-by: Dan Murphy -
Probe USB_DEV_GENERIC drivers during arch_misc_init(). This is required
in order for USB DM model based peripheral mode devices like DFU to work
in U-Boot.Signed-off-by: Vignesh R
28 Feb, 2017
3 commits
-
Additions have been made to the non-HS defconfig without the same
being made to the HS defconfig, sync them.Signed-off-by: Andrew F. Davis
-
Additions have been made to the non-HS defconfig without the same
being made to the HS defconfig, sync them.Signed-off-by: Andrew F. Davis
-
Additions have been made to the non-HS defconfig without the same
being made to the HS defconfig, sync them.Signed-off-by: Andrew F. Davis
27 Feb, 2017
1 commit
-
The PADCONFIG_202 register (0x02621328) is affected by the
locking of the RSTMUX8 register (0x02620328), and so cannot
be configured in kernel. This has been confirmed as a hardware
bug. Setup the pinmux for this pin before locking the RSTMUX8
register to allow the ICSS1 PRU1 Ethernet PHY port to work
properly.Signed-off-by: Suman Anna
22 Feb, 2017
1 commit
-
EVM hardware spec recommends to add 0.25 nsec delay in the tx
direction for internal delay in the clock path to be on the safer
side. Also change the phy-mode to RGMII-ID to apply both tx and rx
delays.Signed-off-by: Murali Karicheri
21 Feb, 2017
1 commit
-
The most common name for a FIT image containing a bootable kernel is
"fitImage", as our builds now use this name also, change this to the
default in our U-Boot environment.Signed-off-by: Andrew F. Davis
17 Feb, 2017
1 commit
-
Add a new defconfig file for the AM335x High Security EVM. This config
is specific for the case of UART bootingSigned-off-by: Andrew F. Davis