Added YAML configs for AM65x
Signed-off-by: Neha Malcom Francis
---
board/ti/am65x/board-cfg.yaml | 36 +
board/ti/am65x/pm-cfg.yaml| 12 +
board/ti/am65x/rm-cfg.yaml| 2068 +
board/ti/am65x/sec-cfg.yaml | 375 ++
4 files changed, 2491
Added YAML configs for AM64xx
Signed-off-by: Neha Malcom Francis
---
board/ti/am64x/board-cfg.yaml | 37 +
board/ti/am64x/pm-cfg.yaml| 12 +
board/ti/am64x/rm-cfg.yaml| 1400 +
board/ti/am64x/sec-cfg.yaml | 378 +
4 files changed, 1827
* A72 U-Boot dtbs
Signed-off-by: Neha Malcom Francis
Reviewed-by: Simon Glass
---
arch/arm/dts/k3-j721s2-binman.dtsi| 545 ++
.../k3-j721s2-common-proc-board-u-boot.dtsi | 2 +
.../dts/k3-j721s2-r5-common-proc-board.dts| 1 +
board/ti/j721s2/Kconfig
Added YAML configs for J721S2
Signed-off-by: Neha Malcom Francis
---
board/ti/j721s2/board-cfg.yaml | 37 +
board/ti/j721s2/pm-cfg.yaml| 12 +
board/ti/j721s2/rm-cfg.yaml| 2901
board/ti/j721s2/sec-cfg.yaml | 375 +
4 files changed, 3325
Added YAML configs for AM62
Signed-off-by: Neha Malcom Francis
---
board/ti/am62x/board-cfg.yaml | 36 ++
board/ti/am62x/pm-cfg.yaml| 12 +
board/ti/am62x/rm-cfg.yaml| 1088 +
board/ti/am62x/sec-cfg.yaml | 375
4 files changed, 1511
-Boot dtbs
Signed-off-by: Neha Malcom Francis
Reviewed-by: Simon Glass
---
arch/arm/dts/k3-am625-r5-sk.dts | 1 +
arch/arm/dts/k3-am625-sk-binman.dtsi | 462 +++
arch/arm/dts/k3-am625-sk-u-boot.dtsi | 2 +
board/ti/am62x/Kconfig | 2 +
4 files
Added YAML configs for AM62ax
Signed-off-by: Neha Malcom Francis
---
board/ti/am62ax/board-cfg.yaml | 36 +
board/ti/am62ax/pm-cfg.yaml| 12 +
board/ti/am62ax/rm-cfg.yaml| 1151
board/ti/am62ax/sec-cfg.yaml | 375 +++
4 files changed, 1574
Move to using binman to generate tispl.bin which is used to generate the
final flash.bin bootloader for iot2050 boards.
Signed-off-by: Neha Malcom Francis
Cc: Jan Kiszka
---
arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 76 +++-
1 file changed, 74 insertions(+), 2 deletions
* A72 U-Boot dtbs
Signed-off-by: Neha Malcom Francis
Reviewed-by: Simon Glass
---
arch/arm/dts/k3-am62a-sk-binman.dtsi | 461 +++
arch/arm/dts/k3-am62a7-r5-sk.dts | 1 +
arch/arm/dts/k3-am62a7-sk.dts| 1 +
board/ti/am62ax/Kconfig | 2 +
4
Since binman is used to package bootloader images for all K3 devices, we
do not have to rely on the earlier methods to package them.
Scripts that were used to generate x509 certificate for tiboot3.bin and
generate tispl.bin, u-boot.img have been removed.
Signed-off-by: Neha Malcom Francis
Earlier documentation specified builds for generating bootloader images
using an external TI repository k3-image-gen and core-secdev-k3. Modify
this to using the binman flow so that user understands how to build the
final boot images.
Signed-off-by: Neha Malcom Francis
Reviewed-by: Simon Glass
From: Tom Rini
At this point, buildman requires a few different modules and so we need
a requirements.txt to track what modules are needed.
Cc: Simon Glass
Cc: Neha Malcom Francis
Signed-off-by: Tom Rini
Reviewed-by: Simon Glass
Signed-off-by: Neha Malcom Francis
---
tools/buildman
Malcom Francis
---
configs/am64x_evm_a53_defconfig | 1 +
configs/am64x_evm_r5_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig
index 4589624e96..09037ecd0f 100644
--- a/configs/am64x_evm_a53_defconfig
+++ b/configs
From: Tom Rini
Now that buildman has a requirements.txt file we need to make use of it.
Signed-off-by: Tom Rini
Reviewed-by: Simon Glass
[n-fran...@ti.com: Adding missing command from .azure-pipelines.yml]
Signed-off-by: Neha Malcom Francis
---
.azure-pipelines.yml | 4
.gitlab-ci.yml
Hi Andrew
On 18/05/23 22:09, Andrew Davis wrote:
On 5/18/23 9:27 AM, Neha Malcom Francis wrote:
From: Kamlesh Gurudasani
AM64x family of SoCs by default will have some level of security
enforcement checking. Enable CONFIG_TI_SECURE_DEVICE by default so all
levels of secure SoCs will boot
Hi Andrew
On 18/05/23 22:05, Andrew Davis wrote:
On 5/18/23 9:26 AM, Neha Malcom Francis wrote:
By providing entries in the binman node of the device tree, binman will
be able to find and package board config artifacts generated by
TIBoardConfig with sysfw.bin and generate the final image
binaries to package system
firmware. Added YAML configs for J721E in particular.
Signed-off-by: Tarun Sahu
[n-fran...@ti.com: prepared patch for upstreaming]
Signed-off-by: Neha Malcom Francis
---
board/ti/common/schema.yaml | 355 +
board/ti/j721e/board-cfg.yaml | 37 +
board/ti/j721e/pm
ESM support
board: ti: j721e: initialize ESM support for J7200 SOM
Neha Malcom Francis (2):
arm: dts: k3-j721e: Refine MAIN domain ESM support
configs: j7200_evm_r5: Add ESM config for J7200
arch/arm/dts/k3-j7200-main.dtsi| 7 +++
arch/arm/dts/k3-j7200.dtsi
MAIN domain ESM support was already added for J721E to configure main
domain watchdog interrupts to generate ESM pin events. Move the main_esm
node to be in sync with kernel dts. Also add register mapping for ESM in
J721E.
Signed-off-by: Neha Malcom Francis
---
arch/arm/dts/k3-j721e-main.dtsi
From: Gowtham Tammana
Main domain ESM support is needed to configure main domain watchdog
interrupts to generate ESM pin events. On J7200 boards ESM error pin
output is propagated to PMIC to generate reset.
Signed-off-by: Gowtham Tammana
Signed-off-by: Neha Malcom Francis
---
arch/arm/dts/k3
From: Gowtham Tammana
ESM support is available for J7200X-PM2-SOM board, as such enable
support for it.
Signed-off-by: Gowtham Tammana
Signed-off-by: Neha Malcom Francis
---
board/ti/j721e/evm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/board/ti/j721e/evm.c b
Add CONFIG_ESM_K3 to enable ESM initialization in J7200.
Signed-off-by: Neha Malcom Francis
---
configs/j7200_evm_r5_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/j7200_evm_r5_defconfig b/configs/j7200_evm_r5_defconfig
index e149ccb9a4..b846f830c5 100644
--- a/configs
com/lit/er/sprz455/sprz455.pdf
Fixes: e64665fa727e ("arm: dts: k3-j721e-main: Update the speed modes
supported and their itap delay values for MMCSD subsystems")
Signed-off-by: Bhavya Kapoor
Signed-off-by: Neha Malcom Francis
---
arch/arm/dts/k3-j721e-main.dtsi | 1 -
1 file changed, 1 del
Hi Tom,
Thanks for the patch!
On 25/07/23 22:14, Tom Rini wrote:
Now that we are using binman in all cases on these platforms, reword
things to be clearer that for filesystem booting we need to use a
specific name for each component.
Signed-off-by: Tom Rini
---
Cc: Neha Malcom Francis
Cc
mware
+.. k3_rst_include_end_boot_sources
+
Build Procedure
---
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
the critical services. R5/A72
requests DMSC to get these services done as shown in the above diagram.
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
(+), 70 deletions(-)
create mode 100644 doc/board/ti/img/boot_diagram_am65.svg
[...]
+ id="text78456">Text is not SVG - cannot display
+
+
+
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
to get these services done as shown in the above diagram.
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
initialize both the
wakeup and main domain and to boot to the U-Boot prompt
--
Thanking You
Neha Malcom Francis
enter; justify-content: unsafe
center; width: 158px; height: 1px; padding-top: 105px; margin-left: 41px;">
+
+ TFA
s/TFA/TF-A, same for [PATCH 08/16]
+
+
+
+
[...]
Switch Setting for Boot Mode
--
Thanking You
Neha Malcom Francis
Hi Nishanth
On 27/07/23 15:10, Neha Malcom Francis wrote:
These look nice!
On 27/07/23 13:30, Nishanth Menon wrote:
Update the bootflow svg diagram and reuse across the platforms as they
are common.
Signed-off-by: Nishanth Menon
---
doc/board/ti/am62x_sk.rst | 68
On 27/07/23 15:32, Neha Malcom Francis wrote:
Hi Nishanth
On 27/07/23 15:10, Neha Malcom Francis wrote:
These look nice!
On 27/07/23 13:30, Nishanth Menon wrote:
Update the bootflow svg diagram and reuse across the platforms as they
are common.
Signed-off-by: Nishanth Menon
---
doc/board
show board configs
are present here and not in detail, removing the FIT Header part will be sufficient.
--
Thanking You
Neha Malcom Francis
all pointers
are welcome, may be I'm trying to reinvent the wheel.
Neha Malcom Francis (3):
tools: binman: Enable getting file from specific directory
WIP: getting signing nodes to work in FIT generator node
arm: dts: k3-j721e-binman: Example of using FIT generator
arch/arm/dts/k3-
ively with the same DTB name. Maybe running binman
twice could also solve this issue, but this seems like a valid
implementation.
Signed-off-by: Neha Malcom Francis
---
tools/binman/etype/blob.py | 12 ++--
tools/binman/etype/fit.py | 15 ++-
tools/u_boot_pylib/tools.py
To show what is the end goal of this patch series. While
u-boot.img_unsigned and tispl.bin_unsigned are generated as expected,
nodes with signing within aren't.
Signed-off-by: Neha Malcom Francis
---
arch/arm/dts/k3-j721e-binman.dtsi | 155 ++
1 file change
They need to get the contents of the FIT section beforehand, process
them and prepend the signing certificate to the FIT contents
Signed-off-by: Neha Malcom Francis
---
tools/binman/etype/collection.py | 38 +++-
tools/binman/etype/fit.py| 1 +
tools/binman
Hi Simon
On 28/07/23 08:05, Simon Glass wrote:
Hi Neha,
On Thu, 27 Jul 2023 at 06:12, Neha Malcom Francis wrote:
While we have the option of using '-a to grab a file from a
specific directory, this is problematic when searching for a filename
shared by multiple files across directorie
Hi Simon
On 28/07/23 08:05, Simon Glass wrote:
Hi Neha,
On Thu, 27 Jul 2023 at 06:12, Neha Malcom Francis wrote:
They need to get the contents of the FIT section beforehand, process
them and prepend the signing certificate to the FIT contents
Signed-off-by: Neha Malcom Francis
---
tools
s
s/integrated/Integrated
+ xds110 inbuilt, there is typically an evm board support added and a
+ cfg file will be available.
[...]
+
+At the time of this writing openOCD does not support tracing for K3
+platforms. Tracing function could be very useful if the bug in code
+occurs deep within nested function and can optionally save developers
+major trouble of stepping through large quantity of code.
But overall this patch is looking extremely helpful! Thanks!
--
Thanking You
Neha Malcom Francis
func(MMC, mmc, 0) \
+ func(DHCP, dhcp, na)
+#include
+#else /* CONFIG_TARGET_VERDIN_AM62_A53 */
+#define BOOTENV \
+ ""
+#endif /* CONFIG_TARGET_VERDIN_AM62_A53 */
+
+/* Incorporate settings into the U-Boot environment */
+#define CFG_EXTRA_ENV_SETTINGS \
+ BOOTENV \
+ MEM_LAYOUT_ENV_SETTINGS \
+ "boot_scripts=boot.scr\0" \
+ "boot_script_dhcp=boot.scr\0" \
+ "console=ttyS2\0" \
+ "fdt_board=dev\0" \
+ "setup=setenv setupargs console=tty1 console=${console},${baudrate} " \
+ "consoleblank=0 earlycon=ns16550a,mmio32,0x0280\0" \
+ "update_uboot=askenv confirm Did you load flash.bin (y/N)?; " \
+ "if test \"$confirm\" = \"y\"; then " \
+ "setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt " \
+ "${blkcnt} / 0x200; mmc dev 0 1; mmc write ${loadaddr} 0x0 " \
+ "${blkcnt}; fi\0"
+
+#endif /* __VERDIN_AM62_H */
--
Thanking You
Neha Malcom Francis
/
+
+/* Incorporate settings into the U-Boot environment */
+#define CFG_EXTRA_ENV_SETTINGS \
+ BOOTENV \
+ MEM_LAYOUT_ENV_SETTINGS \
+ "boot_scripts=boot.scr\0" \
+ "boot_script_dhcp=boot.scr\0" \
+ "console=ttyS2\0" \
+ "fdt_board=dev\0" \
+ "setup=setenv setupargs console=tty1 console=${console},${baudrate} " \
+ "consoleblank=0 earlycon=ns16550a,mmio32,0x0280\0" \
+ "update_uboot=askenv confirm Did you load flash.bin (y/N)?; " \
+ "if test \"$confirm\" = \"y\"; then " \
+ "setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt " \
+ "${blkcnt} / 0x200; mmc dev 0 1; mmc write ${loadaddr} 0x0 " \
+ "${blkcnt}; fi\0"
+
+#endif /* __VERDIN_AM62_H */
--
Thanking You
Neha Malcom Francis
Hi Francesco
On 04/08/23 13:24, Francesco Dolcini wrote:
On Fri, Aug 04, 2023 at 12:04:59PM +0530, Neha Malcom Francis wrote:
On 03/08/23 19:30, Marcel Ziswiler wrote:
+ combined-sysfw-cfg {
+ filename = "combined-sysfw-cfg.bin";
+ ti-bo
Hi Marcel
On 04/08/23 15:13, Marcel Ziswiler wrote:
Hi Neha
On Fri, 2023-08-04 at 12:04 +0530, Neha Malcom Francis wrote:
Hi Marcel
Repeating my comments from v4, as I missed seeing this version.
On 03/08/23 19:30, Marcel Ziswiler wrote:
From: Marcel Ziswiler
This adds initial support
aml";
};
- rm-cfg {
+ rcfg_yaml_sysfw: rm-cfg {
config = "rm-cfg.yaml";
schema = "../common/schema.yaml";
};
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
per (u-boot.img)
Signed-off-by: Marcel Ziswiler
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
patches. If all seems okay, I can send
a MAINTAINERS patch adding both Bhupesh and me.
--
Thanking You
Neha Malcom Francis
/MAINTAINERS
index 77a8b0ac21..d19e1fd60b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1585,7 +1585,8 @@ T:git
https://source.denx.de/u-boot/custodians/u-boot-ubi.git
F: drivers/mtd/ubi/
UFS
-M: Faiz Abbas
+M: Bhupesh Sharma
+M: Neha Malcom Francis
S: Maintained
F
Hi all,
On 17/08/23 17:03, Nishanth Menon wrote:
On 15:40-20230817, Bhupesh Sharma wrote:
Hi Neha,
On Thu, 17 Aug 2023 at 10:26, Neha Malcom Francis wrote:
Hi Bhupesh, Marek
On 16/08/23 02:16, Marek Vasut wrote:
On 8/15/23 19:48, Bhupesh Sharma wrote:
On Tue, 15 Aug 2023 at 04:01, Marek
Hi Marek
On 18/08/23 00:10, Marek Vasut wrote:
On 8/17/23 14:09, Neha Malcom Francis wrote:
Dropping Faiz Abbas from the UFS maintainer list as his e-mail ID is no
longer valid.
Adding Bhupesh Sharma who has been using this framework working on
Qualcomm Snapdragon SoCs as well as sending out
Hi Nishanth
On 17/08/23 21:27, Nishanth Menon wrote:
On 17:39-20230817, Neha Malcom Francis wrote:
Dropping Faiz Abbas from the UFS maintainer list as his e-mail ID is no
longer valid.
Adding Bhupesh Sharma who has been using this framework working on
Qualcomm Snapdragon SoCs as well as
addressing.
A more generic solution is introduced here to solve
this issue: 1-byte read without offset and 1-byte read with offset. If
both passes, it follows 1-byte addressing else we proceed with 2-byte
addressing check.
Tested on J721E, J7200, DRA7xx, AM64x
Signed-off-by: Neha Malcom Francis
}
+ }
+}
+#endif
+
+#ifdef CONFIG_SPL_BUILD
+void board_init_f(ulong dummy)
+{
+ k3_spl_init();
+#ifdef CONFIG_SPL_OF_LIST
This may just be a case of formality but we'd need "if
defined(CONFIG_TI_I2C_BOARD_DETECT)" here as well right?
+ do_dt_magic();
_TI_I2C_BOARD_DETECT)) {
--
Thanking You
Neha Malcom Francis
it default for all.
Signed-off-by: Neha Malcom Francis
---
common/spl/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index a25d8fd2e0..d8c78ddb76 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -385,6 +385,7 @@ config
Hi Vignesh,
On 11/01/23 14:55, Vignesh Raghavendra wrote:
On 11/01/23 11:34, Neha Malcom Francis wrote:
Current default size of 0x10 is not capable of getting the FIT
buffer during boot when transitioning to using binman generated boot
images for certain K3 devices, so increase it to
it default for all.
Signed-off-by: Neha Malcom Francis
---
Changes since v1:
- added ARM64 to conditions to default to 0x40
common/spl/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index a25d8fd2e0..3c2af453ab 100644
--- a/common
Hi Andrew
On 04/12/23 20:36, Andrew Davis wrote:
On 12/4/23 5:21 AM, Neha Malcom Francis wrote:
Mention TI_DM argument can be used to fetch a custom DM binary in the
A72 build instructions for K3 devices.
Signed-off-by: Neha Malcom Francis
---
doc/board/ti/k3.rst | 7 +++
1 file
change
Neha Malcom Francis (3):
binman: etype: dm: Add entry type for TI DM
arm: dts: k3-*-binman: Move to using ti-dm entry type
doc: board: ti: k3: Mention TI_DM argument
Makefile | 1 +
arch/arm/dts/k3-am625-sk-binman.dtsi | 4 ++--
.../dts/k3
ng of
tispl.bin by binman along with ATF and TEE.
Signed-off-by: Neha Malcom Francis
Reviewed-by: Andrew Davis
---
Makefile| 1 +
tools/binman/entries.rst| 14 ++
tools/binman/etype/ti_dm.py | 22 ++
tools/binman/ftest.py
Move the DM entry in tispl.bin FIT image from default fetching an
external blob entry to fetching using ti-dm entry type. This way, the
DM entry will be populated by the TI_DM pathname if provided. Else it
will resort to the ti-dm.bin file.
Signed-off-by: Neha Malcom Francis
Reviewed-by: Andrew
Mention TI_DM argument can be used to fetch a custom DM binary in the
A72 build instructions for K3 devices.
Signed-off-by: Neha Malcom Francis
Reviewed-by: Andrew Davis
---
doc/board/ti/k3.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst
Hi Simon,
On 06/12/23 09:24, Simon Glass wrote:
On Tue, 5 Dec 2023 at 02:42, Neha Malcom Francis wrote:
K3 devices introduces the concept of centralized power, resource and
security management to System Firmware. This is to overcome challenges
by the traditional approach that implements
class_get_device_by_name(UCLASS_MISC, "msmc", &dev);
+ if (ret)
+ panic("Probe of msmc failed: %d\n", ret);
+
+ ret = uclass_get_device(UCLASS_RAM, 0, &dev);
+ if (ret)
+ pani
Add support for J721E HS-SE 2.0 device. Make use of the existing
templates and override the phandles for sysfw.itb so that builds do not
fail.
Signed-off-by: Neha Malcom Francis
---
Boot log:
https://gist.github.com/nehamalcom/44082b0c94059737e8d5d1ab16b2f55f
arch/arm/dts/k3-j721e-binman.dtsi
C_ID(am62px, AM62PX)
+K3_SOC_ID(am64x, AM64X)
+K3_SOC_ID(am65x, AM65X)
+K3_SOC_ID(j7200, J7200)
+K3_SOC_ID(j721e, J721E)
+K3_SOC_ID(j721s2, J721S2)
#define K3_SEC_MGR_SYS_STATUS 0x44234100
#define SYS_STATUS_DEV_TYPE_SHIFT 0
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
;
case JTAG_ID_PARTNO_J784S4:
family = "J784S4";
break;
- case JTAG_ID_PARTNO_AM62PX:
- family = "AM62PX";
- break;
default:
family = "Unknown Silicon";
};
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
.data = &j784s4_pd_platdata,
},
-#endif
-#if IS_ENABLED(CONFIG_SOC_K3_AM62P5)
- {
- .family = "AM62PX",
- .data = &am62px_pd_platdata,
- },
#endif
{ /* sentinel */ }
};
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
) += am62px/
obj-y += common.o
obj-y += lowlevel_init.o
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
pport"
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
ss pinctrl for the serial0 a.k.a. WKUP_UART0 module and continue
[...]
--
Thanking You
Neha Malcom Francis
oard/ti/k3.rst
index a1c01d1cf0..eba0f0e3e4 100644
--- a/doc/board/ti/k3.rst
+++ b/doc/board/ti/k3.rst
@@ -42,6 +42,7 @@ K3 Based SoCs
../beagle/j721e_beagleboneai64
j721e_evm
j721s2_evm
+ j722s_evm
j784s4_evm
Boot Flow Overview
Reviewed-by: Neha Malcom Francis
--
Than
---
base-commit: 7e52d6ccfb76e2afc2d183b357abe2a2e2f948cf
change-id: 20240528-topic-sm8x50-ufs-core-link-startup-again-bc2cf907c164
Best regards,
--
Thanking You
Neha Malcom Francis
"tee", "dm", "spl";
+ loadables = "tee", "dm", "spl",
+ "tifsstub-gp";
fdt = "fdt-0";
};
};
Acked-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
Add support for identifying J721E SR2.0
Signed-off-by: Neha Malcom Francis
---
Resending as it was not sent to the mailing-list earlier, sorry for the
spam.
Boot logs:
https://gist.github.com/nehamalcom/e5c3884961c3eb70464321aa4bfbcf78
drivers/soc/soc_ti_k3.c | 2 +-
1 file changed, 1
t-template = <&fit>;
+insert-template = <&common_part>;
/* things specific to MMC follow */
footer {
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
or
-bootgen based on the passed arguments. The output is a bootable,
-authenticated `boot.bin` file.
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
is_elf:
-tout.debug('LookupAndWriteSymbols: no base')
+tout.debug(f'LookupAndWriteSymbols: no base: elf_fname={elf_fname},
base_sym={base_sym}, is_elf={is_elf}')
return 0
base_addr = 0 if is_elf else base.address
count = 0
Reviewed-by:
ng_bintool(self.comp_bintool)
data = tools.get_bytes(0, 1024)
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
nman/test/alt_dts/model1.dts
new file mode 100644
index 0000000..01e95e8fabe
--- /dev/null
+++ b/tools/binman/test/alt_dts/model1.dts
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: GPL-2.0+
+// Copyright 2024 Google LLC
+// Written by Simon Glass
+
+/dts-v1/;
+
+/ {
+ model = "Model One";
+ compatible = "u-boot,model-one";
+
+ /* this node remains due to bootph-pre-sram tag */
+ node {
+ some-prop;
+ prop-to-remove;
+ another-prop-to-get-rid-of;
+ not-a-prop-to-remove;
+ bootph-pre-sram;
+
+ /* this node get removed by fdtgrep */
+ other-node {
+ another-prop;
+ };
+ };
+};
diff --git a/tools/binman/test/alt_dts/model2.dts
b/tools/binman/test/alt_dts/model2.dts
new file mode 100644
index 000..7829c519772
--- /dev/null
+++ b/tools/binman/test/alt_dts/model2.dts
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: GPL-2.0+
+// Copyright 2024 Google LLC
+// Written by Simon Glass
+
+/dts-v1/;
+
+/ {
+ model = "Model Two";
+ compatible = "u-boot,model-two";
+
+ /* this node remains due to bootph-pre-sram tag */
+ node {
+ some-prop;
+ prop-to-remove;
+ another-prop-to-get-rid-of;
+ not-a-prop-to-remove;
+ bootph-pre-sram;
+
+ /* this node get removed by fdtgrep */
+ other-node {
+ another-prop;
+ };
+ };
+};
--
Thanking You
Neha Malcom Francis
s for
noticing this, will target a quick clean up patch.
Ref - I used yamllint 1.26.3
--
Thanking You
Neha Malcom Francis
/20240103173637.fdhfwgmsmqrfpzdp@manmade/
Neha Malcom Francis (2):
board: ti: *-cfg.yaml: Adhere to yamllint rules
tools: binman: ti_board_cfg: Check for linting problems
board/ti/am62ax/board-cfg.yaml | 20 +-
board/ti/am62ax/pm-cfg.yaml |4 +-
board/ti/am62ax
Use yamllint for checking whether YAML configuration files are adhering
to default yamllint rules.
Signed-off-by: Neha Malcom Francis
Suggested-by: Nishanth Menon
---
tools/binman/etype/ti_board_config.py| 5 +
tools/binman/ftest.py| 6 ++
tools/binman
Hi Nishanth
On 04/01/24 20:51, Nishanth Menon wrote:
On 13:23-20240104, Neha Malcom Francis wrote:
Use yamllint for checking whether YAML configuration files are adhering
to default yamllint rules.
Signed-off-by: Neha Malcom Francis
Suggested-by: Nishanth Menon
---
tools/binman/etype
/20240103173637.fdhfwgmsmqrfpzdp@manmade/
Changes since v1:
https://patchwork.ozlabs.org/project/uboot/cover/20240104075357.638983-1-n-fran...@ti.com/
- add yamllint to requirements.txt (Nishanth)
- boot logs unchanged since no affecting change
Neha Malcom Francis (2):
board: ti
Use yamllint for checking whether YAML configuration files are adhering
to default yamllint rules.
Signed-off-by: Neha Malcom Francis
Suggested-by: Nishanth Menon
---
Changes since v1:
- add yamllint to requirements.txt (Nishanth)
tools/binman/etype/ti_board_config.py| 5
UCLASS_RAM nodes present.
Signed-off-by: Neha Malcom Francis
---
Boot logs:
https://gist.github.com/nehamalcom/07fedf4aa173590214b5cef6e1688fa1
This was also parallely proposed in [1] on the mailing-list for J784S4.
[1] https://lore.kernel.org/all/3a7c817b-de29-463a-b4b6-d62c0df66...@ti.com/
arch
Hi Udit
On 30/01/24 13:53, Kumar, Udit wrote:
On 1/30/2024 1:11 PM, Neha Malcom Francis wrote:
The number of DDR controllers to be initialised and used should depend
on the device tree with the constraint of the maximum number of
controllers the device supports. Since J721S2 has multiple (2
UCLASS_RAM nodes present.
Signed-off-by: Neha Malcom Francis
---
Changes since v1:
https://lore.kernel.org/all/20240130074139.2627793-1-n-fran...@ti.com/
- Moved away from using loop since J721S2 has only two controllers
(Udit)
Boot logs:
https://gist.github.com/nehamalcom
Hi all
On 30/01/24 15:12, Neha Malcom Francis wrote:
The number of DDR controllers to be initialised and used should depend
on the device tree with the constraint of the maximum number of
controllers the device supports. Since J721S2 has multiple (2)
controllers, instead of hardcoding the
UCLASS_RAM nodes present.
Signed-off-by: Neha Malcom Francis
---
Changes since v1:
https://lore.kernel.org/all/20240130074139.2627793-1-n-fran...@ti.com/
- Moved away from using loop since J721S2 has only two controllers
(Udit)
Boot logs:
https://gist.github.com/nehamalcom
0644 board/beagle/beagleboneai64/pm-cfg.yaml
create mode 100644 board/beagle/beagleboneai64/rm-cfg.yaml
create mode 100644 board/beagle/beagleboneai64/sec-cfg.yaml
[...]
--
Thanking You
Neha Malcom Francis
"../common/board_detect.h"
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
1E_A72_EVM)) &&
IS_ENABLED(CONFIG_HBMC_AM654)) {
struct udevice *dev;
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
verlays", name_overlays);
+ }
return 0;
}
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
MMAND="run envboot; bootflow scan -lb"
CONFIG_LOGLEVEL=7
CONFIG_SPL_MAX_SIZE=0xc
CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
H_USE_BUFFER_WRITE=y
CONFIG_FLASH_CFI_MTD=y
CONFIG_SYS_FLASH_CFI=y
-CONFIG_HBMC_AM654=y
CONFIG_SYS_MAX_FLASH_BANKS_DETECT=y
CONFIG_DM_SPI_FLASH=y
CONFIG_SPI_FLASH_SFDP_SUPPORT=y
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
MMAND="run envboot; bootflow scan -lb"
CONFIG_LOGLEVEL=7
CONFIG_SPL_MAX_SIZE=0xc
CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
+ if (offset_test != ((header >> 8) & 0xFF))
one_byte_addressing = false;
/* Corrupted data??? */
Reviewed-by: Neha Malcom Francis
--
Thanking You
Neha Malcom Francis
301 - 400 of 751 matches
Mail list logo