Add fs_loader node which will be needed for loading firmwares
from the boot media/filesystem.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
---
arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/dts/k3-j721e-r5-common-proc
Enable MAIN domain r5fss0 cluster and its core0 in R5 spl.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
---
arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts
b/arch/arm/dts/k3
Enable execute permission for mcu_r5fss0_core0 BTCM so that we can jump
to a firmware directly from SPL.
Signed-off-by: Keerthy
---
arch/arm/mach-k3/r5_mpu.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-k3/r5_mpu.c b/arch/arm/mach-k3/r5_mpu.c
index
MCU Domain rf50 is currently shutting down after loading the ATF.
Load elf firmware and jump to firmware post loading ATF.
ROM doesn't enable ATCM memory, so make sure that firmware that
is being loaded doesn't use ATCM memory or override SPL.
Signed-off-by: Keerthy
Signed-off-by: Lo
Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0 firmware
loadaddr and name.
Signed-off-by: Keerthy
---
Changes in v4:
* Env variable names changed.
include/configs/j721e_evm.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/j721e_evm.h b/include/con
Enable R5F remoteproc support in R5 defconfig so that R5s can
be started in SPL. While at it enable the SPL_FS_EXT4 config
option to load the firmwares from file system.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
---
configs/j721e_evm_r5_defconfig | 2 ++
1 file changed, 2 insertions
Remove saving ENV in eMMC in R5 as the power domains are not
setup. Environment in eMMC cannot be read if we do not boot from
eMMC.
Signed-off-by: Keerthy
---
configs/j721e_evm_r5_defconfig | 4
1 file changed, 4 deletions(-)
diff --git a/configs/j721e_evm_r5_defconfig b/configs
On 22/01/20 9:55 pm, Andrew F. Davis wrote:
On 1/21/20 8:10 PM, keerthy wrote:
On 1/21/2020 6:26 PM, Andrew F. Davis wrote:
On 1/21/20 6:07 AM, Keerthy wrote:
Add MAIN domain R5FSS0 remoteproc support from spl. This enables
loading the elf firmware in SPL and starting the remotecore.
In
On 23/01/20 6:54 pm, Andrew F. Davis wrote:
On 1/22/20 11:10 PM, Keerthy wrote:
On 22/01/20 9:55 pm, Andrew F. Davis wrote:
On 1/21/20 8:10 PM, keerthy wrote:
On 1/21/2020 6:26 PM, Andrew F. Davis wrote:
On 1/21/20 6:07 AM, Keerthy wrote:
Add MAIN domain R5FSS0 remoteproc support
On 23/01/20 10:35 pm, Andrew F. Davis wrote:
On 1/23/20 11:44 AM, Keerthy wrote:
On 23/01/20 6:54 pm, Andrew F. Davis wrote:
On 1/22/20 11:10 PM, Keerthy wrote:
On 22/01/20 9:55 pm, Andrew F. Davis wrote:
On 1/21/20 8:10 PM, keerthy wrote:
On 1/21/2020 6:26 PM, Andrew F. Davis
On 23/01/20 10:49 pm, Keerthy wrote:
On 23/01/20 10:35 pm, Andrew F. Davis wrote:
On 1/23/20 11:44 AM, Keerthy wrote:
On 23/01/20 6:54 pm, Andrew F. Davis wrote:
On 1/22/20 11:10 PM, Keerthy wrote:
On 22/01/20 9:55 pm, Andrew F. Davis wrote:
On 1/21/20 8:10 PM, keerthy wrote:
On
On 24/01/20 8:22 pm, Tom Rini wrote:
On Wed, Jan 22, 2020 at 09:29:56AM +0530, Keerthy wrote:
Set default enviroment so that set_env calls succeed when only
ENV_IS_NOWHERE set.
Signed-off-by: Keerthy
---
Changes in v4:
* Reworded commit log
env/nowhere.c | 1 +
1 file changed, 1
On 24/01/20 8:24 pm, Tom Rini wrote:
On Wed, Jan 22, 2020 at 09:29:57AM +0530, Keerthy wrote:
Move the generic elf loading/validating functions to lib/
so that they can be re-used and accessed by code existing
outside cmd.
Signed-off-by: Keerthy
Suggested-by: Simon Goldschmidt
Reviewed-by
On 24/01/20 8:25 pm, Tom Rini wrote:
On Wed, Jan 22, 2020 at 09:30:01AM +0530, Keerthy wrote:
Add fs_loader node which will be needed for loading firmwares
from the boot media/filesystem.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
---
arch/arm/dts/k3-j721e-r5-common-proc
On 27/01/20 10:01 am, Keerthy wrote:
On 24/01/20 8:24 pm, Tom Rini wrote:
On Wed, Jan 22, 2020 at 09:29:57AM +0530, Keerthy wrote:
Move the generic elf loading/validating functions to lib/
so that they can be re-used and accessed by code existing
outside cmd.
Signed-off-by: Keerthy
On 27/01/20 7:42 pm, Tom Rini wrote:
On Mon, Jan 27, 2020 at 02:34:17PM +0100, Wolfgang Denk wrote:
Dear Keerthy,
In message you wrote:
Set default enviroment so that set_env calls succeed when only
ENV_IS_NOWHERE set.
Signed-off-by: Keerthy
---
Changes in v4:
* Reworded commit
On 27/01/20 7:46 pm, Tom Rini wrote:
On Mon, Jan 27, 2020 at 10:46:19AM +0530, Keerthy wrote:
On 27/01/20 10:01 am, Keerthy wrote:
On 24/01/20 8:24 pm, Tom Rini wrote:
On Wed, Jan 22, 2020 at 09:29:57AM +0530, Keerthy wrote:
Move the generic elf loading/validating functions to lib/
so
On 27/01/20 7:44 pm, Tom Rini wrote:
On Mon, Jan 27, 2020 at 10:07:31AM +0530, Keerthy wrote:
On 24/01/20 8:25 pm, Tom Rini wrote:
On Wed, Jan 22, 2020 at 09:30:01AM +0530, Keerthy wrote:
Add fs_loader node which will be needed for loading firmwares
from the boot media/filesystem
In case only CONFIG_ENV_IS_NOWHERE without any of the memory
based configs like CONFIG_ENV_IS_IN_MMC the env_set function
fails as the gd->flags & GD_FLG_ENV_READY check fails.
Set default enviroment so that set_env calls succeed when only
ENV_IS_NOWHERE set.
Signed-off-by: Keerthy
-
ions under lib/elf.c
Keerthy (10):
env: nowhere: set default enviroment
lib: elf: Move the generic elf loading/validating functions to lib
arm: k3: Add support for loading non linux remote cores
armv7R: K3: r5_mpu: Enable execute permission for MCU0 BTCM
armv7R: K3: Add support for jumpin
Add MAIN domain R5FSS0 remoteproc support from spl. This enables
loading the elf firmware in SPL and starting the remotecore.
In order to start the core, there should be a file with path
"/lib/firmware/j7-main-r5f0_0-fw" under filesystem
of respective boot mode.
Signed-off-by: Keert
Move the generic elf loading/validating functions to lib/
so that they can be re-used and accessed by code existing
outside cmd.
Signed-off-by: Keerthy
Suggested-by: Simon Goldschmidt
Reviewed-by: Simon Goldschmidt
---
cmd/Kconfig | 1 +
cmd/elf.c | 229
Enable execute permission for mcu_r5fss0_core0 BTCM so that we can jump
to a firmware directly from SPL.
Signed-off-by: Keerthy
---
arch/arm/mach-k3/r5_mpu.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-k3/r5_mpu.c b/arch/arm/mach-k3/r5_mpu.c
index
Add fs_loader node which will be needed for loading firmwares
from the boot media/filesystem.
Signed-off-by: Keerthy
---
.../dts/k3-j721e-r5-common-proc-board-u-boot.dtsi | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 arch/arm/dts/k3-j721e-r5-common-proc-board-u
MCU Domain rf50 is currently shutting down after loading the ATF.
Load elf firmware and jump to firmware post loading ATF.
ROM doesn't enable ATCM memory, so make sure that firmware that
is being loaded doesn't use ATCM memory or override SPL.
Signed-off-by: Keerthy
Signed-off-by: Lo
Enable MAIN domain r5fss0 cluster and its core0 in R5 spl.
Signed-off-by: Keerthy
---
.../dts/k3-j721e-r5-common-proc-board-u-boot.dtsi| 12
arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 2 ++
2 files changed, 14 insertions(+)
diff --git a/arch/arm/dts/k3-j721e-r5
Remove saving ENV in eMMC in R5 as the power domains are not
setup. Environment in eMMC cannot be read if we do not boot from
eMMC.
Signed-off-by: Keerthy
---
configs/j721e_evm_r5_defconfig | 4
1 file changed, 4 deletions(-)
diff --git a/configs/j721e_evm_r5_defconfig b/configs
Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0 firmware
loadaddr and name.
Signed-off-by: Keerthy
---
include/configs/j721e_evm.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
index 4371c471e5..fc73a9c932 10
Enable R5F remoteproc support in R5 defconfig so that R5s can
be started in SPL. While at it enable the SPL_FS_EXT4 config
option to load the firmwares from file system.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
---
configs/j721e_evm_r5_defconfig | 2 ++
1 file changed, 2 insertions
On 29/01/20 8:05 am, Lokesh Vutla wrote:
On 28/01/20 4:21 PM, Keerthy wrote:
This patch series enables mcu_r5fss0_core0 & main_r5fss0_core0.
Tested for firmware loading and execution on J721e.
Changes in v5:
* Moved the fs_loader node under r5-common-proc-board-u-boot.dtsi
* A
Move the generic elf loading/validating functions to lib/
so that they can be re-used and accessed by code existing
outside cmd.
While at it remove the duplicate static version of load_elf_image_phdr
under arch/arm/mach-imx/imx_bootaux.c.
Signed-off-by: Keerthy
Suggested-by: Simon Goldschmidt
On 29/01/20 9:27 pm, Tom Rini wrote:
On Tue, Jan 28, 2020 at 04:21:07PM +0530, Keerthy wrote:
Move the generic elf loading/validating functions to lib/
so that they can be re-used and accessed by code existing
outside cmd.
Signed-off-by: Keerthy
Suggested-by: Simon Goldschmidt
Reviewed-by
ges in v3:
* Removed saving env in MMC and fixed env saving in SPL when nowhere
option is set.
Changes in v2:
* Factored out all the generic elf handling functions under lib/elf.c
Keerthy (10):
env: nowhere: set default enviroment
lib: elf: Move the generic elf loading/validating functions to
In case only CONFIG_ENV_IS_NOWHERE without any of the memory
based configs like CONFIG_ENV_IS_IN_MMC the env_set function
fails as the gd->flags & GD_FLG_ENV_READY check fails.
Set default enviroment so that set_env calls succeed when only
ENV_IS_NOWHERE set.
Signed-off-by: Keerthy
Revi
Move the generic elf loading/validating functions to lib/
so that they can be re-used and accessed by code existing
outside cmd.
While at it remove the duplicate static version of load_elf_image_phdr
under arch/arm/mach-imx/imx_bootaux.c.
Signed-off-by: Keerthy
Suggested-by: Simon Goldschmidt
Enable execute permission for mcu_r5fss0_core0 BTCM so that we can jump
to a firmware directly from SPL.
Signed-off-by: Keerthy
---
arch/arm/mach-k3/r5_mpu.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-k3/r5_mpu.c b/arch/arm/mach-k3/r5_mpu.c
index
Add MAIN domain R5FSS0 remoteproc support from spl. This enables
loading the elf firmware in SPL and starting the remotecore.
In order to start the core, there should be a file with path
"/lib/firmware/j7-main-r5f0_0-fw" under filesystem
of respective boot mode.
Signed-off-by: Keert
MCU Domain rf50 is currently shutting down after loading the ATF.
Load elf firmware and jump to firmware post loading ATF.
ROM doesn't enable ATCM memory, so make sure that firmware that
is being loaded doesn't use ATCM memory or override SPL.
Signed-off-by: Keerthy
Signed-off-by: Lo
Add fs_loader node which will be needed for loading firmwares
from the boot media/filesystem.
Signed-off-by: Keerthy
Reviewed-by: Tom Rini
---
.../dts/k3-j721e-r5-common-proc-board-u-boot.dtsi | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 arch/arm/dts/k3-j721e-r5
Enable MAIN domain r5fss0 cluster and its core0 in R5 spl.
Signed-off-by: Keerthy
Reviewed-by: Tom Rini
---
.../dts/k3-j721e-r5-common-proc-board-u-boot.dtsi| 12
arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 2 ++
2 files changed, 14 insertions(+)
diff --git a/arch
Remove saving ENV in eMMC in R5 as the power domains are not
setup. Environment in eMMC cannot be read if we do not boot from
eMMC.
Signed-off-by: Keerthy
---
configs/j721e_evm_r5_defconfig | 4
1 file changed, 4 deletions(-)
diff --git a/configs/j721e_evm_r5_defconfig b/configs
Enable R5F remoteproc support in R5 defconfig so that R5s can
be started in SPL. While at it enable the SPL_FS_EXT4 config
option to load the firmwares from file system.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
---
configs/j721e_evm_r5_defconfig | 2 ++
1 file changed, 2 insertions
Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0 firmware
loadaddr and name.
Signed-off-by: Keerthy
---
include/configs/j721e_evm.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
index 4371c471e5..fc73a9c932 10
On 2/5/2020 2:45 PM, Lokesh Vutla wrote:
On 04/02/20 12:06 PM, Keerthy wrote:
This patch series enables mcu_r5fss0_core0 & main_r5fss0_core0.
Tested for firmware loading and execution on J721e.
I still see build error with multiple imx bo
Add MAIN domain R5FSS0 remoteproc support from spl. This enables
loading the elf firmware in SPL and starting the remotecore.
In order to start the core, there should be a file with path
"/lib/firmware/j7-main-r5f0_0-fw" under filesystem
of respective boot mode.
Signed-off-by: Keert
Enable execute permission for mcu_r5fss0_core0 BTCM so that we can jump
to a firmware directly from SPL.
Signed-off-by: Keerthy
---
arch/arm/mach-k3/r5_mpu.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-k3/r5_mpu.c b/arch/arm/mach-k3/r5_mpu.c
index
hanges in v4:
* Changed env variable names, config names and enhanced commit logs.
Changes in v3:
* Removed saving env in MMC and fixed env saving in SPL when nowhere
option is set.
Changes in v2:
* Factored out all the generic elf handling functions under lib/elf.c
Keerthy (9):
Move the generic elf loading/validating functions to lib/
so that they can be re-used and accessed by code existing
outside cmd.
While at it remove the duplicate static version of load_elf_image_phdr
under arch/arm/mach-imx/imx_bootaux.c.
Signed-off-by: Keerthy
Suggested-by: Simon Goldschmidt
Add fs_loader node which will be needed for loading firmwares
from the boot media/filesystem.
Signed-off-by: Keerthy
Reviewed-by: Tom Rini
---
.../dts/k3-j721e-r5-common-proc-board-u-boot.dtsi | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 arch/arm/dts/k3-j721e-r5
Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0 firmware
loadaddr and name.
Signed-off-by: Keerthy
---
include/configs/j721e_evm.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
index 4371c471e5..fc73a9c932 10
Enable MAIN domain r5fss0 cluster and its core0 in R5 spl.
Signed-off-by: Keerthy
Reviewed-by: Tom Rini
---
.../dts/k3-j721e-r5-common-proc-board-u-boot.dtsi| 12
arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 2 ++
2 files changed, 14 insertions(+)
diff --git a/arch
MCU Domain rf50 is currently shutting down after loading the ATF.
Load elf firmware and jump to firmware post loading ATF.
ROM doesn't enable ATCM memory, so make sure that firmware that
is being loaded doesn't use ATCM memory or override SPL.
Signed-off-by: Keerthy
Signed-off-by: Lo
Enable R5F remoteproc support in R5 defconfig so that R5s can
be started in SPL. While at it enable the SPL_FS_EXT4 config
option to load the firmwares from file system.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
---
configs/j721e_evm_r5_defconfig | 2 ++
1 file changed, 2 insertions
Remove saving ENV in eMMC in R5 as the power domains are not
setup. Environment in eMMC cannot be read if we do not boot from
eMMC.
Signed-off-by: Keerthy
---
configs/j721e_evm_r5_defconfig | 4
1 file changed, 4 deletions(-)
diff --git a/configs/j721e_evm_r5_defconfig b/configs
k sequence: tps62360_regulator_ofdata_to_platdata --> i2c_get_chip
--> device_probe(tps62360) --> tps62360_regulator_ofdata_to_platdata
Hence convert ofdata_to_platdata to the missing probe function to fix the
hang.
Fixes: 22e8f18980d6 ("power: regulator: tps6236x: add support for tps6236x
regulators&
nnect@10/interconnect@2838/interconnect@4204/
wkup_vtm@4205:power-domains: property size (8) too small for cell size 2
Fix this by updating the power-domain cells.
Reviewed-by: Keerthy
Fixes: cfa6bd549c ("arm: dts: k3-am654-r5-base-board: Add VTM node")
Signed-off-b
This patch series enables mcu_r5fss0_core0 & main_r5fss0_core0.
Tested for firmware loading and execution on J721e.
Faiz Abbas (1):
configs: j721e_evm_r5: Add configs for environment in eMMC
Keerthy (9):
cmd: elf: Export out load_elf_image_phdr
Makefile: Enable CMD_ELF for SPL as
Enable execute permission for mcu_r5fss0_core0 BTCM so that we can jump
to a firmware directly from SPL.
Signed-off-by: Keerthy
---
arch/arm/mach-k3/r5_mpu.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-k3/r5_mpu.c b/arch/arm/mach-k3/r5_mpu.c
index
Add MAIN domain R5FSS0 remoteproc support from spl. This enables
loading the elf firmware in SPL and starting the remotecore.
In order to start the core, there should be a file with path
"/lib/firmware/j7-main-r5f0_0-fw" under filesystem
of respective boot mode.
Signed-off-by: Keert
Enable CMD_ELF for SPL as well. While at it stub out
code not relevant for SPL.
Signed-off-by: Keerthy
---
cmd/Makefile | 2 +-
cmd/elf.c| 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/cmd/Makefile b/cmd/Makefile
index 8df39f3a19..95bb87c6db 100644
--- a/cmd/Makefile
MCU Domain rf50 is currently shutting down after loading the ATF.
Load elf firmware and jump to firmware post loading ATF.
ROM doesn't enable ATCM memory, so make sure that firmware that
is being loaded doesn't use ATCM memory or override SPL.
Signed-off-by: Keerthy
Signed-off-by: Lo
Export out load_elf_image_phdr so that it can be reused to load
elf segments outside cmd/elf
Signed-off-by: Keerthy
---
cmd/elf.c | 4 ++--
include/elf.h | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/cmd/elf.c b/cmd/elf.c
index 32f12a72b9..ea76fb42aa 100644
--- a
Add fs_loader node which will be needed for loading firmwares
from the boot media/filesystem.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
---
arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/dts/k3-j721e-r5-common-proc
Enable MAIN domain r5fss0 cluster and its core0 in R5 spl.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
---
arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts
b/arch/arm/dts/k3
From: Faiz Abbas
Add config to save and read back environment from eMMC.
Signed-off-by: Faiz Abbas
Signed-off-by: Keerthy
---
configs/j721e_evm_a72_defconfig | 3 +++
configs/j721e_evm_r5_defconfig | 2 ++
include/configs/j721e_evm.h | 6 ++
3 files changed, 11 insertions(+)
diff
Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0 firmware
loadaddr and name.
Signed-off-by: Keerthy
---
include/configs/j721e_evm.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
index 84518786c7..d3a9330069 10
Enable r5f remoteproc support in r5 defconfig so that r5s can
be started in spl.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
---
configs/j721e_evm_r5_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/j721e_evm_r5_defconfig b/configs/j721e_evm_r5_defconfig
index
On 1/10/2020 4:00 PM, Simon Goldschmidt wrote:
On Fri, Jan 10, 2020 at 11:24 AM Keerthy wrote:
Enable CMD_ELF for SPL as well. While at it stub out
code not relevant for SPL.
Signed-off-by: Keerthy
---
cmd/Makefile | 2 +-
cmd/elf.c| 2 ++
2 files changed, 3 insertions(+), 1
Enable execute permission for mcu_r5fss0_core0 BTCM so that we can jump
to a firmware directly from SPL.
Signed-off-by: Keerthy
---
arch/arm/mach-k3/r5_mpu.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-k3/r5_mpu.c b/arch/arm/mach-k3/r5_mpu.c
index
This patch series enables mcu_r5fss0_core0 & main_r5fss0_core0.
Tested for firmware loading and execution on J721e.
Changes in v2:
* Factored out all the generic elf handling functions under lib/elf.c
Faiz Abbas (1):
configs: j721e_evm_r5: Add configs for environment in eMMC
Keerth
MCU Domain rf50 is currently shutting down after loading the ATF.
Load elf firmware and jump to firmware post loading ATF.
ROM doesn't enable ATCM memory, so make sure that firmware that
is being loaded doesn't use ATCM memory or override SPL.
Signed-off-by: Keerthy
Signed-off-by: Lo
Move the generic elf loading/validating functions to lib/
so that they can be re-used and accessed by code existing
outside cmd.
Signed-off-by: Keerthy
Suggested-by: Simon Goldschmidt
---
Changes in v2:
* Factored out all the generic elf handling functions under lib/elf.c
cmd/Kconfig
Add fs_loader node which will be needed for loading firmwares
from the boot media/filesystem.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
---
arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/dts/k3-j721e-r5-common-proc
Enable MAIN domain r5fss0 cluster and its core0 in R5 spl.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
---
arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts
b/arch/arm/dts/k3
Add MAIN domain R5FSS0 remoteproc support from spl. This enables
loading the elf firmware in SPL and starting the remotecore.
In order to start the core, there should be a file with path
"/lib/firmware/j7-main-r5f0_0-fw" under filesystem
of respective boot mode.
Signed-off-by: Keert
Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0 firmware
loadaddr and name.
Signed-off-by: Keerthy
---
include/configs/j721e_evm.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
index 84518786c7..d3a9330069 10
Enable r5f remoteproc support in r5 defconfig so that r5s can
be started in spl.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
---
configs/j721e_evm_r5_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/j721e_evm_r5_defconfig b/configs/j721e_evm_r5_defconfig
index
From: Faiz Abbas
Add config to save and read back environment from eMMC.
Signed-off-by: Faiz Abbas
Signed-off-by: Keerthy
---
configs/j721e_evm_a72_defconfig | 3 +++
configs/j721e_evm_r5_defconfig | 2 ++
include/configs/j721e_evm.h | 6 ++
3 files changed, 11 insertions(+)
diff
On 17/01/20 1:19 pm, Simon Goldschmidt wrote:
On Fri, Jan 17, 2020 at 5:27 AM Lokesh Vutla wrote:
Simon,
On 13/01/20 11:24 AM, Keerthy wrote:
Move the generic elf loading/validating functions to lib/
so that they can be re-used and accessed by code existing
outside cmd.
Signed-off-by
like UART boot will need the address to be 0xc00
hence override the spl_get_load_buffer to have image_header
address as CONFIG_SYS_TEXT_BASE aka 0xc00
Signed-off-by: Keerthy
---
Boot tetsed on K2G and K2E evms for UART, MMC and SPI modes.
board/ti/ks2_evm/board.c | 5 +
1 file
On Tuesday 27 November 2018 05:52 PM, Keerthy wrote:
> Currently k2 spi boot is broken as the image header
> is getting copied to an invalid memory location
>
> CONFIG_SYS_TEXT_BASE - sizeof (struct image_size)
> which maps to 0xc00 - 0x40 = 0xbc0 being a reserved
>
and then locally when I installed clang-7.0 from https://apt.llvm.org/ I
> see that:
> 5ca3927deff30458f5d5b384f6699f70b9509315 is the first bad commit
> commit 5ca3927deff30458f5d5b384f6699f70b9509315
> Author: Keerthy
> Date: Mon Nov 19 11:44:48 2018 +0530
>
> co
On Tuesday 11 December 2018 06:34 AM, Simon Glass wrote:
> Hi,
>
> On Tue, 4 Dec 2018 at 21:10, Keerthy wrote:
>>
>>
>>
>> On Friday 30 November 2018 08:25 PM, Tom Rini wrote:
>>> On Thu, Nov 29, 2018 at 01:55:14PM -0700, Simon Glass wrote:
>&g
-off-by: Keerthy
---
I am sure there are better solutions so just wanted to know
if there is one.
common/fdt_support.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index 42583e3ed8..2bb101e56e 100644
--- a/common/fdt_support.c
+++ b/common
From: Grygorii Strashko
Use phys_addr_t for mdio_base address to avoid build warnings on arm64.
Signed-off-by: Grygorii Strashko
Signed-off-by: Keerthy
---
drivers/net/ti/cpsw_mdio.c | 2 +-
drivers/net/ti/cpsw_mdio.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a
Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW
NUSS). It has two ports and provides Ethernet packet communication for the
device and can be configured as an Ethernet switch. CPSW NUSS features: the
Reduced Gigabit Media Independent Interface (RGMII), Reduced Media
Indep
.
Signed-off-by: Grygorii Strashko
Signed-off-by: Keerthy
---
drivers/net/ti/Kconfig | 8 +
drivers/net/ti/Makefile | 1 +
drivers/net/ti/am65-cpsw-nuss.c | 834
3 files changed, 843 insertions(+)
create mode 100644 drivers/net/ti/am65-cpsw
From: Grygorii Strashko
Add mcu cpsw nuss pinmux and phy defs required by cpsw.
Signed-off-by: Grygorii Strashko
Signed-off-by: Keerthy
---
arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 59
1 file changed, 59 insertions(+)
diff --git a/arch/arm/dts/k3-am654-base-board
From: Grygorii Strashko
Enable TI K3 AM65x CPSW NUSS driver.
Signed-off-by: Grygorii Strashko
Signed-off-by: Keerthy
---
configs/am65x_evm_a53_defconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig
index
From: Grygorii Strashko
Add mcu cpsw and its components along with scm_conf node
to have ethernet functional.
Signed-off-by: Grygorii Strashko
Signed-off-by: Keerthy
---
arch/arm/dts/k3-am65.dtsi| 2 +
arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 111
From: Grygorii Strashko
Add mcu cpsw and its components along with scm_conf node
to have ethernet functional.
Signed-off-by: Grygorii Strashko
Signed-off-by: Keerthy
Reviewed-by: Tom Rini
---
Changes in v2:
Added Tom's Reviewed-by
arch/arm/dts/k3-am65
cpsw nuss pinmux and phy defs
configs: am65x_evm_a53: enable networking
Keerthy (1):
net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver
arch/arm/dts/k3-am65.dtsi| 2 +
arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 170
co
From: Grygorii Strashko
Use phys_addr_t for mdio_base address to avoid build warnings on arm64.
Signed-off-by: Grygorii Strashko
Signed-off-by: Keerthy
Reviewed-by: Tom Rini
---
Changes in v2:
Added Tom's Reviewed-by
drivers/net/ti/cpsw_mdio.c | 2 +-
drivers/net/ti/cpsw_m
Strashko
Signed-off-by: Keerthy
---
Changes in v2:
* Removed the debug macros and replaced them with pr_err where
necessory
drivers/net/ti/Kconfig | 8 +
drivers/net/ti/Makefile | 1 +
drivers/net/ti/am65-cpsw-nuss.c | 794
3 files
.
Signed-off-by: Grygorii Strashko
Signed-off-by: Keerthy
---
Changes in v3:
* Corrected $Author
Changes in v2:
* Removed the debug macros and replaced them with pr_err where
necessory
drivers/net/ti/Kconfig | 8 +
drivers/net/ti/Makefile | 1 +
drivers/net/ti
On 04/02/19 9:34 AM, Keerthy wrote:
> Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW
> NUSS). It has two ports and provides Ethernet packet communication for the
> device and can be configured as an Ethernet switch. CPSW NUSS features: the
> Reduced G
From: Grygorii Strashko
Add mcu cpsw nuss pinmux and phy defs required by cpsw.
Signed-off-by: Grygorii Strashko
Signed-off-by: Keerthy
Reviewed-by: Tom Rini
---
Changes in v2:
Added Tom's Reviewed-by
arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 59
1
From: Grygorii Strashko
Enable TI K3 AM65x CPSW NUSS driver.
Signed-off-by: Grygorii Strashko
Signed-off-by: Keerthy
Reviewed-by: Tom Rini
---
Changes in v2:
Added Tom's Reviewed-by
configs/am65x_evm_a53_defconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/co
Couple of fixes for fdtdec_get_addr_size and fdtdec_get_addr_size_fixed
functions.
Keerthy (2):
lib: fdtdec: fdtdec_get_addr_size_fixed remove checks
lib: fdtdec: fixup fdtdec_get_addr_size
lib/fdtdec.c | 17 ++---
1 file changed, 2 insertions(+), 15 deletions(-)
--
1.9.1
With 8 bytes addressing even on 32 bit machines these checks
are no longer valid. Remove them.
Signed-off-by: Keerthy
---
lib/fdtdec.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 6f8ec0d..18663ce 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
101 - 200 of 522 matches
Mail list logo