Signed-off-by: Jagdish Gediya
---
Changes for v2:
- Remove mpc85xx-u-boot.dtsi
- Update u-boot.dtsi to use CONFIG_MPC85XX_HAVE_RESET_VECTOR
arch/powerpc/dts/u-boot.dtsi | 32
1 file changed, 32 insertions(+)
create mode 100644
Add device tree for T2080QDS board and enable CONFIG_OF_CONTROL
so that device tree can be compiled.
Update board README for device tree usage.
Signed-off-by: Jagdish Gediya
---
Changes for v2:
- Enable CONFIG_MPC85XX_HAVE_RESET_VECTOR in T2080QDS_defconfig
- README and commit
Currently binman calculates '_skip_at_start' based on 'end-at-4gb'
property and it is used for x86 images.
For Powerpc mpc85xx based CPU, CONFIG_SYS_TEXT_BASE is the first
entry offset which can be 0xeff4 or 0xfff4 for nor flash boot,
0x201000 for sd boot etc, so "_skip_at_start" should
Signed-off-by: Jagdish Gediya
---
arch/powerpc/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 8faef0b..c727d91 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -20,6 +20,7 @@ config MPC85xx
select
Below is the sequence to embed dtb inside u-boot,
1. Remove bootpg and resetvec section if needed
2. Append dtb
3. Append bootpg and resetvec section back if removed in step 1
Above procedure is required only when CONFIG_MPC85xx and
CONFIG_OF_SEPARATE are defined.
Add new config
Signed-off-by: Jagdish Gediya
---
arch/powerpc/dts/Makefile | 12
dts/Makefile | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
create mode 100644 arch/powerpc/dts/Makefile
diff --git a/arch/powerpc/dts/Makefile b/arch/powerpc/dts/Makefile
new file mode
This entry contains the Powerpc mpc85xx boot page and resetvec
sections.
Signed-off-by: Jagdish Gediya
---
Changes for v2:
- Updated README for new binman entry
- Added test
tools/binman/README.entries| 14 +++-
'board_fdt_blob_setup' function sets up fdt blob at '&_end' so
define '_end' symbol in mpc85xx lds files.
Signed-off-by: Jagdish Gediya
---
Changes for v2:
- Defined '_end' symbol in lds file instead of defining new
'board_fdt_blob_setup' function using existing '_init_end'
In current implementation, Powerpc does not support device tree in u-boot.
This patch enables device tree support for PowerPC platform .
T2080AQDS board used as first platform.
Dtb is embedded in the u-boot following below steps using binmam tool.
1. Remove bootpg and resetvec section if
Hi,
> -Original Message-
> From: Bin Meng
> Sent: Tuesday, August 21, 2018 5:32 PM
> To: Jagdish Gediya
> Cc: Prabhakar Kushwaha ; York Sun
> ; Poonam Aggrwal ; Tom
> Rini ; Simon Glass ; U-Boot
> Mailing List
> Subject: Re: [PATCH 8/8][RESEND] powerpc: dts: Enable device tree support
On Mon, Aug 27, 2018 at 03:55:24PM +0530, Lokesh Vutla wrote:
> Add driver model support for OMAP_SERIAL while reusing
> the functions in ns16550.c
>
> Signed-off-by: Lokesh Vutla
Works for omap3-evm, omap3-beagle-xm, and am3517-evm. I captured
'dm tree' output below:
OMAP3_EVM # dm tree
This patch is to add eSDHC node for ls1046a.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/fsl-ls1046a.dtsi |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1046a.dtsi b/arch/arm/dts/fsl-ls1046a.dtsi
index 4acbaf7..7687d12 100644
---
This enables the folowing to Kconfig:
CONFIG_BLK
CONFIG_DM_MMC
Signed-off-by: Yinbo Zhu
---
configs/ls1021atwr_nor_SECURE_BOOT_defconfig |2 ++
configs/ls1021atwr_nor_defconfig |2 ++
configs/ls1021atwr_nor_lpuart_defconfig|2 ++
This patch is to enable eSDHC for ls1021a.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/ls1021a.dtsi |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a.dtsi
index 5b3fc6a..59c97d5 100644
--- a/arch/arm/dts/ls1021a.dtsi
+++
This patch is to add eSDHC node for ls1088a.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/fsl-ls1088a.dtsi |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1088a.dtsi b/arch/arm/dts/fsl-ls1088a.dtsi
index 077caf3..72d755a 100644
---
This patch is to add eSDHC node for ls1043a.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/fsl-ls1043a.dtsi |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.dtsi
index ff40122..a804f51 100644
---
This patch adds esdhc clock support for ls1088a and ls2088a.
Signed-off-by: Yinbo Zhu
---
.../arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c
This patch is to add eSDHC node for ls2088a.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/fsl-ls2080a.dtsi |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi
index b0f8517..2d537ae 100644
---
At present the MMC subsystem maintains its own list
of MMC devices. This cannot work with driver model
when CONFIG_BLK is enabled, use blk_dread to
replace previous mmc read interface,
use mmc_get_blk_desc to get the mmc device property
Signed-off-by: Yinbo Zhu
---
Change in v8:
On Sun, Aug 19, 2018 at 11:11:03AM -0500, Adam Ford wrote:
> DM_I2C_COMPAT is somehow being enabled outside of Kconfig, so
> this explicitly undefines it in the header file, and brackets
> the I2C initialization around an #ifdef to not manually
> initialize the I2C controller when the DM_I2C is
Hi Eugeniu,
On Mon, Aug 27, 2018 at 7:19 AM Eugeniu Rosca wrote:
>
> Fix the following UBSAN report:
> ==
> UBSAN: Undefined behaviour in arch/x86/cpu/lapic.c:73:14
> left shift of 1048575 by 12 places cannot be represented
On 08/28/2018 12:03 AM, Dalon L Westergreen wrote:
> On Mon, 2018-08-27 at 21:03 +0200, Marek Vasut wrote:
>> On 08/27/2018 05:30 PM, Dalon L Westergreen wrote:
>> On Tue, 2018-08-21 at 05:52 +0200, Marek Vasut wrote:
>> On 08/20/2018 11:04 PM, Dalon L Westergreen wrote:
>> On Mon, 2018-08-20 at
On 08/27/2018 10:24 PM, Eugeniu Rosca wrote:
> Hi Marek,
Hi,
> On Mon, Aug 27, 2018 at 01:22:54AM +0200, Marek Vasut wrote:
>> On 08/27/2018 01:13 AM, Eugeniu Rosca wrote:
> [...]
>>>
>>> #define RAVB_DESC_DT(n)((n) << 28)
>>
>> What about changing this instead, ((u32)(n)
On Mon, 2018-08-27 at 21:03 +0200, Marek Vasut wrote:
> On 08/27/2018 05:30 PM, Dalon L Westergreen wrote:
> On Tue, 2018-08-21 at 05:52 +0200, Marek Vasut wrote:
> On 08/20/2018 11:04 PM, Dalon L Westergreen wrote:
> On Mon, 2018-08-20 at 20:33 +0200, Marek Vasut wrote:
> On 08/20/2018 03:54 PM,
On 08/27/2018 05:30 PM, Dalon L Westergreen wrote:
> On Tue, 2018-08-21 at 05:52 +0200, Marek Vasut wrote:
>> On 08/20/2018 11:04 PM, Dalon L Westergreen wrote:
>> On Mon, 2018-08-20 at 20:33 +0200, Marek Vasut wrote:
>> On 08/20/2018 03:54 PM, Dalon Westergreen wrote:
>> Stratix10 requires a hex
Hi Marek,
On Mon, Aug 27, 2018 at 01:22:54AM +0200, Marek Vasut wrote:
> On 08/27/2018 01:13 AM, Eugeniu Rosca wrote:
[...]
> >
> > #define RAVB_DESC_DT(n)((n) << 28)
>
> What about changing this instead, ((u32)(n) << 28) ?
This works too.
[...]
> >
> > -
argc = 1: all tests are run
argc > 1: only argv[1] is run
So we need argc >= 1.
Signed-off-by: Heinrich Schuchardt
---
include/test/suites.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/test/suites.h b/include/test/suites.h
index 8e4eac60eb..abb3a4b816 100644
---
Hi Kever,
On Mon, Aug 27, 2018 at 11:26:52AM +0800, Kever Yang wrote:
> Hi Philipp, Andreas,
>
>
> On 08/25/2018 12:00 AM, Dr. Philipp Tomsich wrote:
> >> On 24 Aug 2018, at 17:54, Andreas Dannenberg wrote:
> >>
> >> Philipp,
> >>
> >> On Fri, Aug 24, 2018 at 04:42:15PM +0200, Dr. Philipp
On Tue, 2018-08-21 at 05:52 +0200, Marek Vasut wrote:
> On 08/20/2018 11:04 PM, Dalon L Westergreen wrote:
> On Mon, 2018-08-20 at 20:33 +0200, Marek Vasut wrote:
> On 08/20/2018 03:54 PM, Dalon Westergreen wrote:
> Stratix10 requires a hex image of the spl for boot. The hex
> image is added to
On Sun, Aug 26, 2018 at 06:08:26PM +0530, Jagan Teki wrote:
> Now Allwinner platform is all set to use Generic USB
> controller drivers, so remove the legacy sunxi drivers.
>
> Tested-by: Jagan Teki
> Signed-off-by: Jagan Teki
Acked-by: Maxime Ripard
Maxime
--
Maxime Ripard, Bootlin
On Sun, Aug 26, 2018 at 06:08:25PM +0530, Jagan Teki wrote:
> Once of key blocker for using USB Generic host controller
> drivers in Allwinner are CLK and RESET drivers, now these
> available for USB usage. So switch to use EHCI and OHCI
> Generic controllers.
>
> Enabling USB is wisely a board
On Sun, Aug 26, 2018 at 06:08:23PM +0530, Jagan Teki wrote:
> Now clock and reset drivers are available for respective
> SoC's so use clk and reset ops on phy driver.
>
> Tested-by: Jagan Teki
> Signed-off-by: Jagan Teki
Acked-by: Maxime Ripard
Maxime
--
Maxime Ripard, Bootlin
Embedded
On Sun, Aug 26, 2018 at 06:08:21PM +0530, Jagan Teki wrote:
> Add initial clock driver for Allwinner V3S.
>
> - Implement USB bus and USB clocks via ccu_clk_map descriptor
> for V3S, so it can accessed in common clk enable and disable
> functions from clk_sunxi.c
> - Implement USB bus and USB
On Sun, Aug 26, 2018 at 06:08:20PM +0530, Jagan Teki wrote:
> Add initial clock driver for Allwinner R40.
>
> - Implement USB bus and USB clocks via ccu_clk_map descriptor
> for R40, so it can accessed in common clk enable and disable
> functions from clk_sunxi.c
> - Implement USB bus and USB
On Sun, Aug 26, 2018 at 06:08:19PM +0530, Jagan Teki wrote:
> Add initial clock driver for Allwinner A83T.
>
> - Implement USB bus and USB clocks via ccu_clk_map descriptor
> for A83T, so it can accessed in common clk enable and disable
> functions from clk_sunxi.c
> - Implement USB bus and
On Sun, Aug 26, 2018 at 06:08:18PM +0530, Jagan Teki wrote:
> A33 has separate clock driver in Linux because of
> few clock differences wrt to A23 like audio etc,.
> these may not useful for U-Boot so added a33 ccu
> compatible on existing a23 clock driver.
>
> Signed-off-by: Jagan Teki
I guess
On Sun, Aug 26, 2018 at 06:08:17PM +0530, Jagan Teki wrote:
> Add initial clock driver for Allwinner A23.
>
> - Implement USB bus and USB clocks via ccu_clk_map descriptor
> for A23, so it can accessed in common clk enable and disable
> functions from clk_sunxi.c
> - Implement USB bus and USB
On Sun, Aug 26, 2018 at 06:08:16PM +0530, Jagan Teki wrote:
> Add initial clock driver for Allwinner A31.
>
> - Implement USB ahb1 and USB clocks via ccu_clk_map descriptor
> for A31, so it can accessed in common clk enable and disable
> functions from clk_sunxi.c
> - Implement USB ahb1 and
On Sun, Aug 26, 2018 at 06:08:15PM +0530, Jagan Teki wrote:
> Add initial clock driver for Allwinner A10s/A13.
>
> - Implement USB ahb and USB clocks via ccu_clk_map descriptor
> for A10s/A13, so it can accessed in common clk enable and disable
> functions from clk_sunxi.c
> - Implement USB
On Sun, Aug 26, 2018 at 06:08:14PM +0530, Jagan Teki wrote:
> Add initial clock driver for Allwinner A10/A20.
>
> - Implement USB ahb and USB clocks via ccu_clk_map descriptor
> for A10/A20, so it can accessed in common clk enable and disable
> functions from clk_sunxi.c
> - Implement USB
On Sun, Aug 26, 2018 at 06:08:13PM +0530, Jagan Teki wrote:
> Add initial clock driver for Allwinner H3/H5.
>
> - Implement USB bus and USB clocks via ccu_clk_map descriptor
> for H3/H5, so it can accessed in common clk enable and disable
> functions from clk_sunxi.c
> - Implement USB bus and
From: Laurentiu Tudor
Enable support for ICID setup of qman portals and the required device
tree fixups.
Signed-off-by: Laurentiu Tudor
---
drivers/misc/fsl_portals.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/misc/fsl_portals.c
From: Laurentiu Tudor
The QMan IP block in this SoC is version 3.2 so advertise
this in the SoC configuration header.
Signed-off-by: Laurentiu Tudor
---
arch/arm/include/asm/arch-fsl-layerscape/config.h | 1 +
1 file changed, 1 insertion(+)
diff --git
From: Laurentiu Tudor
Reuse the existing ICID setup code done for LS1046A smmu enablement
and add the equivalent setup for LS1043A chips.
Signed-off-by: Laurentiu Tudor
---
arch/arm/cpu/armv8/fsl-layerscape/Makefile| 1 +
.../arm/cpu/armv8/fsl-layerscape/ls1043_ids.c | 90
From: Laurentiu Tudor
This patch builds on the already existing LS1046A SMMU enablement
infrastructure to add the required device setup and device tree
fixups for enabling SMMU on LS1043A SoCs.
Laurentiu Tudor (4):
armv8: fsl-layerscape: add missing qe base address define
armv8: ls1043a:
From: Laurentiu Tudor
Add define for quiccengine register block base address.
Signed-off-by: Laurentiu Tudor
---
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h
On Sun, Aug 26, 2018 at 06:08:12PM +0530, Jagan Teki wrote:
> Add common reset driver for all Allwinner SoC's.
>
> Since CLK and RESET share common DT compatible, it is CLK driver
> job is to bind the reset driver. So add CLK bind call on respective
> SoC driver by passing ccu map descriptor
On Sun, Aug 26, 2018 at 06:08:10PM +0530, Jagan Teki wrote:
> Add initial clock driver for Allwinner A64.
>
> Implement USB clock enable and disable functions for
> OHCI, EHCI, OTG and USBPHY gate and clock registers.
>
> Tested-by: Jagan Teki # BPI-M64
> Signed-off-by: Jagan Teki
Acked-by:
On Mon, Aug 27, 2018 at 01:13:19AM +0200, Eugeniu Rosca wrote:
> Import Undefined Behavior SANitizer from Linux Kernel v4.18, as
> implemented by Andrey Ryabinin .
>
> Roughly, the UBSAN development history in Linux kernel looks like:
>
> v4.18 3ca17b1f3628 ("lib/ubsan: remove null-pointer
Alexander Graf さんは書きました:
> On 26.08.18 21:00, Heinrich Schuchardt wrote:
>> On 08/26/2018 08:22 PM, Alexander Graf wrote:
>>>
>>>
>>> On 11.08.18 17:28, Heinrich Schuchardt wrote:
This patch provides a define to initialize a table that maps lower to
capital letters for Unicode code
On Mon, Aug 27, 2018 at 03:57:51PM +0530, Lokesh Vutla wrote:
> K3 specific SoCs have a dedicated microcontroller for doing
> resource management. Any HLOS/firmware on compute clusters should
> load a firmware to this microcontroller before accessing any resource.
> Adding support for loading
On Mon, Aug 27, 2018 at 03:57:14PM +0530, Lokesh Vutla wrote:
> Add a script that is capable of generating a FIT image
> source file that combines ATF, SPL(64 bit) and DT.
> This combined image is used by R5 SPL and start ATF
> on ARMv8 core.
>
> Signed-off-by: Lokesh Vutla
Reviewed-by: Tom
On Mon, Aug 27, 2018 at 01:13:21AM +0200, Eugeniu Rosca wrote:
> Fix the following UBSAN warnings:
>
Reviewed-by: Tom Rini
--
Tom
signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
On Mon, Aug 27, 2018 at 01:13:30AM +0200, Eugeniu Rosca wrote:
> Fix below UBSAN reports, thrown on sandbox:
>
>
> UBSAN: Undefined behaviour in drivers/input/input.c:512:7
> variable length array bound value 0 <= 0
>
On Mon, Aug 27, 2018 at 01:13:29AM +0200, Eugeniu Rosca wrote:
> Enabling CONFIG_UBSAN=y, below runtime warning occurs both in sandbox
> and R-Car H3 Salvator-X U-Boot:
>
> =
> UBSAN: Undefined behaviour in
On Mon, Aug 27, 2018 at 03:57:09PM +0530, Lokesh Vutla wrote:
> The AM654 device is designed for industrial automation and PLC
> controller class platforms among other applications. Introduce
> base support for AM654 SoC.
>
> Signed-off-by: Lokesh Vutla
Reviewed-by: Tom Rini
--
Tom
On Mon, Aug 27, 2018 at 03:57:11PM +0530, Lokesh Vutla wrote:
> AM654 allows for booting from primary or backup boot media.
> Both media can be chosen individually based on switch settings.
> ROM looks for a valid image in primary boot media, if not found
> then looks in backup boot media. In
On Mon, Aug 27, 2018 at 03:55:24PM +0530, Lokesh Vutla wrote:
> Add driver model support for OMAP_SERIAL while reusing
> the functions in ns16550.c
>
> Signed-off-by: Lokesh Vutla
Reviewed-by: Tom Rini
--
Tom
signature.asc
Description: PGP signature
On Mon, Aug 27, 2018 at 03:57:08PM +0530, Lokesh Vutla wrote:
> Add support for Texas Instruments' K3 Generation Processor
> families.
>
> Signed-off-by: Lokesh Vutla
Reviewed-by: Tom Rini
--
Tom
signature.asc
Description: PGP signature
___
On Monday 27 August 2018 03:57 PM, Lokesh Vutla wrote:
> The AM654 SoC is a lead device of the K3 Multicore SoC architecture
> platform, targeted for broad market and industrial control with aim to
> meet the complex processing needs of modern embedded products.
>
> The device is partitioned
Continue from PART 2/3...
This series adds arm64 support for AM654 EVM. Patch 2/6 describes the
boot flow in detail. I would recommend to go through the patch in order
to understand the entire boot flow.
Right now only arm64 support is added. r5 support will be posted later
once loading of
Add an option for building remoteproc drivers within SPL.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
---
common/spl/Kconfig | 6 ++
drivers/Makefile| 2 +-
drivers/remoteproc/Makefile | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git
AM654 has an arasan sdhci controller and a mmc phy attached to it.
Add basic support for K3 specific arasan sdhci controller.
Cc: Jaehoon Chung
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
---
drivers/mmc/Kconfig | 9 +++
drivers/mmc/Makefile | 1 +
From: Andreas Dannenberg
Since system controller now has control over SoC power management, it
needs to be explicitly requested to reboot the SoC. Add support for
it.
Reviewed-by: Tom Rini
Signed-off-by: Andreas Dannenberg
Signed-off-by: Lokesh Vutla
Signed-off-by: Nishanth Menon
---
From: Andreas Dannenberg
Some TI Keystone 2 and K3 family of SoCs contain a system controller
(like the Power Management Micro Controller (PMMC) on 66AK2G SoCs and
the Device Management and Security Controller on AM65x SoCs) that manage
the low-level device control (like clocks, resets etc) for
Secure Proxy module manages hardware threads that are meant
for communication between the processor entities. Adding
support for this driver.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
Signed-off-by: Andreas Dannenberg
---
.../mailbox/k3-secure-proxy.txt | 40 ++
Add the minimum dt nodes required to boot. These nodes
will get deleted as kernel gets these nodes added in the
main dts files.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
---
arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 203 +++
include/dt-bindings/pinctrl/k3-am65.h
Existing rproc_init() api tries to initialize all available
remoteproc devices. This will fail when there is dependency
among available remoteprocs. So introduce a separate api
that allows to initialize remoteprocs individually based
on id.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
---
Add initial support for AM654 based EVM running on A53. Enable
4GB of DDR available on the EVM so that kernel DTB file
can be updated accordingly.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
[Andreas: Added 4GB ddr support]
Signed-off-by: Andreas Dannenberg
---
arch/arm/mach-k3/Kconfig
Add initial defconfig support for AM65x that runs on A53.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
---
board/ti/am65x/MAINTAINERS | 1 +
configs/am65x_evm_a53_defconfig | 71 +
2 files changed, 72 insertions(+)
create mode 100644
As no gpio.h is defined in arch/arm/mach-k3/include/,
to avoid compilation failure, do not include asm/arch/gpio.h.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
---
arch/arm/include/asm/gpio.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
Add initial DT support for AM654 EVM that runs on A53.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
---
arch/arm/dts/Makefile| 2 +
arch/arm/dts/k3-am65-main.dtsi | 31
arch/arm/dts/k3-am65.dtsi| 87
From: Andreas Dannenberg
Some TI Keystone 2 and K3 family of SoCs contain a system controller
(like the Power Management Micro Controller (PMMC) on 66AK2G SoCs and
the Device Management and Security Controller on AM65x SoCs) that manage
the low-level device control (like clocks, resets etc) for
From: Andreas Dannenberg
Create a basic U-Boot environment that allows the automatic loading
of a Linux Kernel located at /boot/Image and an associated device tree
blob located at /boot/k3-am654-base-board.dtb from the secondary
partition of an ext4-formatted SD card on the AM654x EVM.
Texas Instrument's System Control Interface (TI SCI) message protocol is
used in Texas Instrument's System on Chip (SoC) such as those in the K3
family AM654 SoC to communicate between various compute processors with
a central system controller entity.
The TI SCI message protocol provides support
From: Andreas Dannenberg
Some systems require more than a single ID to identify and configure any
reset provider. For those scenarios add an optional data field to the
reset control structure.
Reviewed-by: Tom Rini
Signed-off-by: Andreas Dannenberg
Signed-off-by: Lokesh Vutla
---
Continue from PART 1/3.
This series adds all the driver support that are required to boot AM654 SoC.
The drivers are:
- TISCI Communication protocol to system controller
- Clock, power, reset drivers.
- Mailbox driver to communication to system controller.
- remoteproc drivers to start system
From: Andreas Dannenberg
To support scenarios where a firmware device node has subnodes that
have their own drivers automatically scan the DT and bind those when
the firmware device gets bound.
Reviewed-by: Tom Rini
Signed-off-by: Andreas Dannenberg
Signed-off-by: Lokesh Vutla
---
Sometimes mbox controllers wants to store private data in
mbox_chan so that it can be used at a later point of time.
Adding support for hooking private data.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
---
include/mailbox.h | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
From: Andreas Dannenberg
TI-SCI message protocol provides support for board configuration
to assign resources and other board related operations.
Introduce the board configuration capability support to the driver protocol
as part of this change.
Reviewed-by: Tom Rini
Signed-off-by: Andreas
From: Andreas Dannenberg
TI-SCI message protocol provides support for management of various
hardware entitites within the SoC. Introduce the fundamental
device management capability support to the driver protocol
as part of this change.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
From: Andreas Dannenberg
Some TI Keystone 2 and K3 family of SoCs contain a system controller
(like the Power Management Micro Controller (PMMC) on 66AK2G SoCs and
the Device Management and Security Controller on AM65x SoCs) that manage
the low-level device control (like clocks, resets etc) for
There are cases where there are more than one power domain
attached to the device inorder to get the device functional.
So add support for enabling power domain based on the index.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
---
drivers/power/domain/power-domain-uclass.c | 11 +--
From: Andreas Dannenberg
Add a reset operations function pointer to support querying the current
status of a reset control.
Reviewed-by: Tom Rini
Signed-off-by: Andreas Dannenberg
Signed-off-by: Lokesh Vutla
---
drivers/reset/reset-uclass.c | 9 +
include/reset-uclass.h | 8
Add support for K3 based remoteproc driver that
communicates with TISCI to start start a remote processor.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
---
.../remoteproc/k3-rproc.txt | 50
drivers/remoteproc/Kconfig| 9 +
From: Andreas Dannenberg
Some systems require more than a single ID to identify and configure any
clock provider. For those scenarios add an optional data field to the
clock control structure.
Reviewed-by: Tom Rini
Signed-off-by: Andreas Dannenberg
Signed-off-by: Lokesh Vutla
---
In general, we expect to function at a device level of abstraction,
however, for proper operation of hardware blocks, many clocks directly
supplying the hardware block needs to be queried or configured.
Introduce support for the set of SCI message protocol support that
provide us with this
TI-SCI message protocol provides support for controlling of various
physical cores available in SoC. In order to control which host is
capable of controlling a physical processor core, there is a processor
access control list that needs to be populated as part of the board
configuration data.
K3 specific SoCs have a dedicated microcontroller for doing
resource management. Any HLOS/firmware on compute clusters should
load a firmware to this microcontroller before accessing any resource.
Adding support for loading this firmware.
After the K3 system controller got loaded with firmware
From: Andreas Dannenberg
Devices from the TI K3 family of SoCs like the AM654x contain a Device
Management and Security Controller (SYSFW) that manages the low-level
device control (like clocks, resets etc) for the various hardware
modules present on the SoC. These device control operations are
Add an option for building mailbox drivers within SPL.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
---
common/spl/Kconfig | 8
drivers/Makefile | 1 +
drivers/mailbox/Makefile | 2 +-
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/common/spl/Kconfig
AM654 allows for booting from primary or backup boot media.
Both media can be chosen individually based on switch settings.
ROM looks for a valid image in primary boot media, if not found
then looks in backup boot media. In order to pass this boot media
information to boot loader, ROM stores a
From: Andreas Dannenberg
By default the device control module registers are locked,
preventing any writes to its registers.
Unlock those registers as part of the init flow.
Reviewed-by: Tom Rini
Signed-off-by: Andreas Dannenberg
Signed-off-by: Lokesh Vutla
---
arch/arm/mach-k3/am6_init.c
Update Makefile to generate
- tispl.bin: First stage bootloader on ARMv8 core
- u-boot.img: Second stage bootloader on ARMv8 core.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
---
arch/arm/mach-k3/config.mk | 19 +++
scripts/Makefile.spl | 9 +
2 files
Add a script that is capable of generating a FIT image
source file that combines ATF, SPL(64 bit) and DT.
This combined image is used by R5 SPL and start ATF
on ARMv8 core.
Signed-off-by: Lokesh Vutla
---
tools/k3_fit_atf.sh | 99 +
1 file changed, 99
Add MMU mappings for AM654 SoC.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
---
arch/arm/mach-k3/Makefile| 1 +
arch/arm/mach-k3/arm64-mmu.c | 45
2 files changed, 46 insertions(+)
create mode 100644 arch/arm/mach-k3/arm64-mmu.c
diff --git
On K3 family SoCs, once the ROM loads image on R5, M3 resets R5 and
expects to start executing from 0x0. In order to handle this ROM
updates the boot vector of R5 such that first 64 bytes of image load
address are mapped to 0x0.
In this case, it is SPL's responsibility to jump to the proper image
The AM654 device is designed for industrial automation and PLC
controller class platforms among other applications. Introduce
base support for AM654 SoC.
Signed-off-by: Lokesh Vutla
---
arch/arm/mach-k3/Kconfig | 31 ++
arch/arm/mach-k3/Makefile
Add support for Texas Instruments' K3 Generation Processor
families.
Signed-off-by: Lokesh Vutla
---
Kconfig | 2 +-
MAINTAINERS | 1 +
arch/arm/Kconfig | 8
arch/arm/Makefile| 1 +
arch/arm/mach-k3/Kconfig | 12
The AM654 SoC is a lead device of the K3 Multicore SoC architecture
platform, targeted for broad market and industrial control with aim to
meet the complex processing needs of modern embedded products.
The device is partitioned into three functional domains, each containing
specific processing
1 - 100 of 117 matches
Mail list logo