14 Feb, 2020
1 commit
-
On am571x-idk there can be following configurations based on Jumper J51
and LCD panel detected.1) J51 removed (6port): 6 port Ethernet. Disable LCD panel.
2) J51 placed (LCD) + Panel detected: 4 port Ethernet with appropriate LCD.
3) J51 placed (LCD) + Panel not detected/not supported.Configuration 3 is considered invalid as we can't use display nor ICSS1
ethernet ports due to hardware muxing. Alert the user to fix the
configuration and prevent boot.Alternative was to allow boot and limit to 4 port Ethernet with no display
but this involved introduction of another DTB for the kernel and was
considered not worth the hassle.Signed-off-by: Roger Quadros
Acked-by: Suman Anna
Signed-off-by: Lokesh Vutla
06 Feb, 2020
1 commit
-
At present dm/device.h includes the linux-compatible features. This
requires including linux/compat.h which in turn includes a lot of headers.
One of these is malloc.h which we thus end up including in every file in
U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
which needs to use the system malloc() in some files.Move the compatibility features into a separate header file.
Signed-off-by: Simon Glass
21 Jan, 2020
1 commit
-
K3 J721E:
* DMA support.
* MMC and ADMA support.
* EEPROM support.
* J721e High Security EVM support.
* USB DT nodesK3 AM654:
* Fixed boot due to pmic probe error.
* USB support and DT nodes.
* ADMA supportDRA7xx/AM57xx:
* BBAI board support
* Clean up of net platform code under board/tiAM33/AM43/Davinci:
* Reduce SPL size for omap3 boards.
* SPL DT support for da850-lcdk
* PLL divider fix for AM335x
20 Jan, 2020
9 commits
-
Not finding a node that we try to disable does not always need to be
fatal to boot but should at least print out a warning. Return error
from fdt_disable_node as it did fail to disable the node, but only
warn in the case of disabling the TRNG as this will not prevent boot.Signed-off-by: Andrew F. Davis
Reviewed-by: Lokesh Vutla
Signed-off-by: Lokesh Vutla -
Print the board name and ver along with the DT Model.
Signed-off-by: Lokesh Vutla
-
The TI J721E EVM system on module (SOM), the common processor board, and
the associated daughtercards have on-board I2C-based EEPROMs containing
board config data. Use the board detection infrastructure to do the
following:1) Parse the J721E SOM EEPROM and populate items like board name, board
HW and SW revision as well as board serial number into the TI common
EEPROM data structure residing in SRAM scratch space
2) Check for presence of daughter card(s) by probing associated I2C
addresses used for on-board EEPROMs containing daughter card-specific
data. If such a card is found, parse the EEPROM data such as for
additional Ethernet MAC addresses and populate those into U-Boot
accordingly
3) Dynamically apply daughter card DTB overlays to the U-Boot (proper)
DTB during SPL execution
4) Dynamically create an U-Boot ENV variable called name_overlays
during U-Boot execution containing a list of daugherboard-specific
DTB overlays based on daughercards found to be used during Kernel
boot.This patch adds support for the J721E system on module boards containing
the actual SoC ("J721EX-PM2-SOM", accessed via CONFIG_EEPROM_CHIP_ADDRESS),
the common processor board ("J7X-BASE-CPB"), the Quad-Port Ethernet
Expansion Board ("J7X-VSC8514-ETH"), the infotainment board
("J7X-INFOTAN-EXP") as well as for the gateway/Ethernet switch/industrial
expansion board ("J7X-GESI-EXP").Signed-off-by: Andreas Dannenberg
Signed-off-by: Lokesh Vutla -
Use dm_i2c_probe() rather than i2c_get_chip() when trying to access
board-detection EEPROM devices. This has the advantage of more gracefully
handling the case when the EEPROM is not present by allowing to exit the
function early rather than failing and outputting an error message on the
I2C transactions that follow.Signed-off-by: Andreas Dannenberg
Signed-off-by: Lokesh Vutla -
These are necessities for beaglebone ai boot. There is the addition of
CONFIG_SUPPORT_EMMC_CONFIG to the Kconfig file. This is present upstream
but not in 19.01 yet.Signed-off-by: Jason Kridner
Signed-off-by: Caleb Robey
Signed-off-by: Lokesh Vutla -
This patch configures the pinmux settings for the BeagleBone AI after
the emmc read has completed.Signed-off-by: Jason Kridner
Signed-off-by: Caleb Robey
Cc: Robert Nelson
Signed-off-by: Lokesh Vutla -
BeagleBoard.org BeagleBone AI rev A1 does not include a board
identifier I2C EEPROM due to a design oversight. These boards have
been put into production and are generally available now.The board identifier information, however, has been included in the
second eMMC linear boot partition (/dev/mmcblk1boot1).This patch works by:
* First, looking for a board identifier I2C EEPROM and if not found,
* Then seeing if the boot mode matches BeagleBone AI with eMMC in the
boot chain to make sure we don't enable eMMC pinmuxes on boards
that don't support it, and
* Finally, initializes the eMMC pins and reading the header.Signed-off-by: Jason Kridner
Signed-off-by: Caleb Robey
Cc: Robert Nelson
Signed-off-by: Lokesh Vutla -
The TI AM43xx platform has DM_ETH and OF_CONTROL enabled,
so remove networking platform code.Signed-off-by: Grygorii Strashko
Reviewed-by: Lokesh Vutla
Signed-off-by: Lokesh Vutla -
The DRA7 has DM_ETH and OF_CONTROL enabled, so remove networking platform
code.Signed-off-by: Grygorii Strashko
Reviewed-by: Lokesh Vutla
Signed-off-by: Lokesh Vutla
18 Jan, 2020
3 commits
-
At present panic() is in the vsprintf.h header file. That does not seem
like an obvious choice for hang(), even though it relates to panic(). So
let's put hang() in its own header.Signed-off-by: Simon Glass
[trini: Migrate a few more files]
Signed-off-by: Tom Rini -
These functions relate to memory init so move them into the init
header.Signed-off-by: Simon Glass
-
These functions relate to setting up the device tree for booting the OS.
The fdt_support.h header file supports similar functions, so move these
there.Signed-off-by: Simon Glass
04 Dec, 2019
1 commit
-
Add more clarity by changing the Kconfig entry name.
Signed-off-by: Miquel Raynal
[trini: Re-run migration, update a few more cases]
Signed-off-by: Tom Rini
Reviewed-by: Boris Brezillon
03 Dec, 2019
4 commits
-
These functions do not use driver model but are still used. Move them to a
new eeprom.h header file.Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
A number of board function belong in init.h with the others. Move them.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
Move this function into init.h which seems to be designed for this sort
of thing. Also update the header to declare struct global_data so that it
can be included without global_data.h being needed.Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
These functions belong in serial.h so move them over.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
08 Nov, 2019
1 commit
-
There is an option to enable the board detection for TI platforms.
If this is option is not set, there is no reason to set the EEPROM
bus address or chip address.This patch makes both EEPROM_BUS_ADDRESS and EEPROM_CHIP_ADDRESS
depend on TI_I2C_BOARD_DETECT.Signed-off-by: Adam Ford
26 Oct, 2019
2 commits
-
- Enable DFU on dra7xx boards
- Further Keystone 3 platform improvements -
In SPL, DDR should be made available by the end of board_init_f()
so that apis in board_init_r() can use ddr. Adding support for
triggering DDR initialization from board_init_f().Signed-off-by: Lokesh Vutla
24 Oct, 2019
1 commit
-
This breaks linux boot sequence.
Observed on k2e and k2l platforms.Signed-off-by: Jean-Jacques Hiblot
12 Oct, 2019
4 commits
-
AM335x-ICE boards contain the CDCE913 clock synthesizer, and their
reset crystal capacitance load value of 10pF is wrong leading into
lost packets in certain networking tests. Add DT data for this
device, and probe it from the board file to program the crystal
capacitance load value to 0pF to avoid any problems.Signed-off-by: Tero Kristo
-
AM43xx-IDK boards contain the CDCE913 clock synthesizer, and their
reset crystal capacitance load value of 10pF is wrong leading into
lost packets in certain networking tests. Add DT data for this
device, and probe it from the board file to program the crystal
capacitance load value to 0pF to avoid any problems.Signed-off-by: Tero Kristo
-
AM57xx-IDK boards contain the CDCE913 clock synthesizer, and their
reset crystal capacitance load value of 10pF is wrong leading into
lost packets in certain networking tests. Add DT data for this
device, and probe it from the board file to program the crystal
capacitance load value to 0pF to avoid any problems.Signed-off-by: Tero Kristo
-
Print the board name and ver along with the DT Model.
While at it print the ver for all the detected daughter cards.Signed-off-by: Lokesh Vutla
11 Oct, 2019
2 commits
-
Add README file explaining the build and boot procedure for J721E evm.
Signed-off-by: Lokesh Vutla
-
am65x ROM support booting over UART. And U-Boot built for am65x EVM
supports UART boot as well. Add the UART boot procedure into the README
also providing a corresponding example command sequence for execution
on a host PC.Signed-off-by: Andreas Dannenberg
05 Oct, 2019
1 commit
-
On HS devices the access to TRNG is restricted on the non-secure
ARM side, disable the node in DT to prevent firewall violations.Signed-off-by: Andrew F. Davis
Reviewed-by: Lokesh Vutla
12 Aug, 2019
6 commits
-
This file contains lots of internal details about the environment. Most
code can include env.h instead, calling the functions there as needed.Rename this file and add a comment at the top to indicate its internal
nature.Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
Reviewed-by: Simon Goldschmidt
[trini: Fixup apalis-tk1.c]
Signed-off-by: Tom Rini -
This header file is now only used by files that access internal
environment features. Drop it from various places where it is not needed.Acked-by: Joe Hershberger
Signed-off-by: Simon Glass -
Move env_get() over to the new header file.
Acked-by: Joe Hershberger
Signed-off-by: Simon Glass -
Move env_set() over to the new header file.
Acked-by: Joe Hershberger
Signed-off-by: Simon Glass -
Move env_get_ulong() over to the new header file.
Signed-off-by: Simon Glass
Acked-by: Joe Hershberger -
Move env_init() over to the new header file.
Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
27 Jul, 2019
3 commits
-
Add initial defconfig support for J721e that runs on A72.
Signed-off-by: Lokesh Vutla
[trini: Add MAINTAINERS entry]
Signed-off-by: Tom Rini -
Add initial defconfig support for J721e that runs on R5.
Signed-off-by: Lokesh Vutla
[trini: Add MAINTAINERS file]
Signed-off-by: Tom Rini -
Create a ft_board_setup() api that gets called as part of
DT fixup before jumping to kernel. In this ft_board_setup()
call fdt_fixup_msmc_ram that update msmc sram node.Signed-off-by: Suman Anna
Signed-off-by: Lokesh Vutla