-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Le Jin <le.jin@siemens.com>
- Loading branch information
Le Jin
committed
May 9, 2020
1 parent
6ba8769
commit 437270f
Showing
47 changed files
with
634 additions
and
78 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
recipes-bsp/u-boot/files/0001-feat-add-iot2050-platform-support.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipes-bsp/u-boot/files/0002-am654x-frequency-update-for-both-arm-clusters-and-bu.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipes-bsp/u-boot/files/0003-iot2050-turn-on-red-led-when-something-goes-wrong.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipes-bsp/u-boot/files/0004-am65x-fix-usb-hub-issue-for-disabling-charge-detect.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipes-bsp/u-boot/files/0005-am654x-remove-dependency-of-TI_SECURE_DEV_PKG.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipes-bsp/u-boot/files/0006-mmc-change-SD-to-mmc0-and-EMMC-Flash-to-mmc1.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipes-bsp/u-boot/files/0007-feat-add-scripts-to-select-fdt-name.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipes-bsp/u-boot/files/0008-feat-add-UUID-checking-before-run-distro_bootcmd.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipes-bsp/u-boot/files/0009-setting-the-rj45-port-led-behavior.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipes-bsp/u-boot/files/0010-fix-rproc-init-error-in-u-boot.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipes-bsp/u-boot/files/0011-feat-catch-up-100M-full-duplex-in-u-boot.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipes-bsp/u-boot/files/0012-feat-add-the-flash-protect-for-winbond-flash.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipes-bsp/u-boot/files/0013-bugfix-set-gpio-direction-output-show-error.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipes-bsp/u-boot/files/0014-feat-add-config-for-skipping-certificate-verificatio.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
recipes-bsp/u-boot/files/0016-feat-add-sysfw-19.12-support.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
From 0e21d77caff758d4031b094ee12681e3a819ca9a Mon Sep 17 00:00:00 2001 | ||
From: "le.jin" <le.jin@siemens.com> | ||
Date: Mon, 2 Mar 2020 23:07:12 +0800 | ||
Subject: [PATCH 16/18] feat: add sysfw 19.12 support | ||
|
||
Signed-off-by: le.jin <le.jin@siemens.com> | ||
--- | ||
arch/arm/dts/iot2050-common.dtsi | 1 + | ||
arch/arm/dts/k3-am65-mcu.dtsi | 8 ++++---- | ||
arch/arm/dts/k3-am654-r5-base-board.dts | 2 +- | ||
arch/arm/mach-k3/Kconfig | 2 +- | ||
4 files changed, 7 insertions(+), 6 deletions(-) | ||
|
||
diff --git a/arch/arm/dts/iot2050-common.dtsi b/arch/arm/dts/iot2050-common.dtsi | ||
index 2f4b839cf5..5113aaf4ef 100644 | ||
--- a/arch/arm/dts/iot2050-common.dtsi | ||
+++ b/arch/arm/dts/iot2050-common.dtsi | ||
@@ -176,6 +176,7 @@ | ||
status = "okay"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&mcu_fss0_ospi0_pins_default>; | ||
+ power-domains = <&k3_pds 248 TI_SCI_PD_SHARED>; /* Seboot in shared mode */ | ||
|
||
flash@0{ | ||
compatible = "jedec,spi-nor"; | ||
diff --git a/arch/arm/dts/k3-am65-mcu.dtsi b/arch/arm/dts/k3-am65-mcu.dtsi | ||
index 11ca520f87..fe71c284f9 100644 | ||
--- a/arch/arm/dts/k3-am65-mcu.dtsi | ||
+++ b/arch/arm/dts/k3-am65-mcu.dtsi | ||
@@ -41,8 +41,8 @@ | ||
cdns,fifo-depth = <256>; | ||
cdns,fifo-width = <4>; | ||
cdns,trigger-address = <0x50000000>; | ||
- clocks = <&k3_clks 55 5>; | ||
- power-domains = <&k3_pds 55 TI_SCI_PD_EXCLUSIVE>; | ||
+ clocks = <&k3_clks 248 0>; | ||
+ power-domains = <&k3_pds 248 TI_SCI_PD_EXCLUSIVE>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
status = "disabled"; | ||
@@ -56,8 +56,8 @@ | ||
cdns,fifo-depth = <256>; | ||
cdns,fifo-width = <4>; | ||
cdns,trigger-address = <0x58000000>; | ||
- clocks = <&k3_clks 55 16>; | ||
- power-domains = <&k3_pds 55 TI_SCI_PD_EXCLUSIVE>; | ||
+ clocks = <&k3_clks 249 6>; | ||
+ power-domains = <&k3_pds 249 TI_SCI_PD_EXCLUSIVE>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
status = "disabled"; | ||
diff --git a/arch/arm/dts/k3-am654-r5-base-board.dts b/arch/arm/dts/k3-am654-r5-base-board.dts | ||
index 50a164f7d2..fdf5384cb3 100644 | ||
--- a/arch/arm/dts/k3-am654-r5-base-board.dts | ||
+++ b/arch/arm/dts/k3-am654-r5-base-board.dts | ||
@@ -276,7 +276,7 @@ | ||
status = "okay"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&mcu_fss0_ospi0_pins_default>; | ||
- power-domains = <&k3_pds 55 TI_SCI_PD_EXCLUSIVE>; | ||
+ power-domains = <&k3_pds 248 TI_SCI_PD_EXCLUSIVE>; | ||
u-boot,dm-spl; | ||
reg = <0x0 0x47040000 0x0 0x100>, | ||
<0x0 0x50000000 0x0 0x8000000>; | ||
diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig | ||
index 4d61eb4f53..2c60dd01f6 100644 | ||
--- a/arch/arm/mach-k3/Kconfig | ||
+++ b/arch/arm/mach-k3/Kconfig | ||
@@ -128,7 +128,7 @@ config K3_SYSFW_IMAGE_MMCSD_RAW_MODE_PART | ||
config K3_SYSFW_IMAGE_SIZE_MAX | ||
int "Amount of memory dynamically allocated for loading SYSFW blob" | ||
depends on K3_LOAD_SYSFW | ||
- default 269000 | ||
+ default 276000 | ||
help | ||
Amount of memory reserved through dynamic allocation at runtime for | ||
loading the combined System Firmware and configuration image tree | ||
-- | ||
2.17.1 | ||
|
52 changes: 52 additions & 0 deletions
52
recipes-bsp/u-boot/files/0017-add-the-signature-support-for-fit-image-add-the-supp.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
From 24343ee17f08b40990ce230edb98bffb059f3685 Mon Sep 17 00:00:00 2001 | ||
From: zengchao <chao.zeng@siemens.com> | ||
Date: Tue, 17 Dec 2019 11:47:53 +0800 | ||
Subject: [PATCH 17/18] add the signature support for fit image add the support | ||
for the fit image | ||
|
||
Signed-off-by: Chao Zeng <chao.zeng@siemens.com> | ||
--- | ||
include/configs/iot2050.h | 13 +++++++++++-- | ||
1 file changed, 11 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/include/configs/iot2050.h b/include/configs/iot2050.h | ||
index bd8bcb415b..1100e4e749 100644 | ||
--- a/include/configs/iot2050.h | ||
+++ b/include/configs/iot2050.h | ||
@@ -83,7 +83,14 @@ | ||
"env set fdtfile siemens/iot2050-basic.dtb;" \ | ||
"env set fdt_found yes;" \ | ||
"fi;\0" | ||
- | ||
+#define EXTRA_ENV_SELECT_FIT \ | ||
+ "fit_select=if env exists board_name; then " \ | ||
+ "env set fitfile iot2050-kernel-dtb.fit.img;" \ | ||
+ "else " \ | ||
+ "echo ** Warning: board_name is not defined, default boot as IOT2050-BASIC **;" \ | ||
+ "env set fitfile iot2050-kernel-dtb.fit.img;" \ | ||
+ "env set board_name IOT2050-BASIC;" \ | ||
+ "fi;\0" | ||
/* U-Boot general configuration */ | ||
#define EXTRA_ENV_IOT2050_BOARD_SETTINGS \ | ||
"loadaddr=0x80080000\0" \ | ||
@@ -91,6 +98,7 @@ | ||
"kernel_addr_r=0x80080000\0" \ | ||
"ramdisk_addr_r=0x81000000\0" \ | ||
"fdt_addr_r=0x82000000\0" \ | ||
+ "fit_addr_r=0x82000000\0" \ | ||
"overlay_addr_r=0x83000000\0" \ | ||
"start_icssg0=rproc start 2; rproc start 3\0" \ | ||
"load_icssg0_pru0_fw=sf read 0x89000000 0x7c0000 0x8000; rproc load 2 0x89000000 0x8000\0" \ | ||
@@ -186,7 +194,8 @@ | ||
BOOTENV \ | ||
EXTRA_ENV_IOT2050_BOARD_SETTINGS \ | ||
EXTRA_ENV_SELECT_FDT \ | ||
- UUID_CONFLICT_CHECK_ENV | ||
+ UUID_CONFLICT_CHECK_ENV \ | ||
+ EXTRA_ENV_SELECT_FIT | ||
#endif | ||
|
||
#define CONFIG_SUPPORT_EMMC_BOOT | ||
-- | ||
2.17.1 | ||
|
Oops, something went wrong.