Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BSP part of IOT2050-SM #509

Merged
merged 4 commits into from
Dec 20, 2023
Merged

BSP part of IOT2050-SM #509

merged 4 commits into from
Dec 20, 2023

Conversation

BaochengSu
Copy link
Collaborator

This is the BSP part of the IOT2050-SM: u-boot and kernel.

Changelog:

- Add retries if flashing reading error occurs
- Add DDR type in board information, print DDR size in boot log
- Add board support for IOT2050-SM variant
- Add 4G DDR memory support
- Adjust firewall configuration according to TI's latest pattern
- Fix AH12 pinmux for IOT2050-SM
- Shutdown both R5 cores on hand-over

Signed-off-by: Su Baocheng <[email protected]>
This patch set is the kernel bsp for the new IOT2050-SM variant.

Refer to the dts patch for details of the new variant.

For kernel part, add driver for Everlight PM16D17 light sensor.

In addition, a minor cleanup of the R5 lockstep disabling.

Signed-off-by: Chao Zeng <[email protected]>
Signed-off-by: Li Hua Qian <[email protected]>
Signed-off-by: Baocheng Su <[email protected]>
BaochengSu and others added 2 commits December 18, 2023 15:14
The dts for the new SM variant is idential to the kernel.

Since the introduction of the 4G DDR on SM variant, the memory size is
now determined by the SEBoot and then passed to the u-boot via scratchpad
board info.

Also the fdt fixup logic is generalized.

BTW a minor coding style change for the iot2050/board.c is hitchhiked.

Signed-off-by: Chao Zeng <[email protected]>
Signed-off-by: Li Hua Qian <[email protected]>
Signed-off-by: Baocheng Su <[email protected]>
Fixes UKI booting via UEFI, thus the SWUpdate image variant.

Signed-off-by: Jan Kiszka <[email protected]>
From: Li Hua Qian <[email protected]>
Date: Tue, 29 Aug 2023 11:46:21 +0800
Subject: [PATCH] dts: iot2050: Sync kernel dts to u-boot

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be helpful to note the source version here.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...which probably is 6.1 + our patches. So this patch here is downstream-only.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Split this patch to two? one for upstream and one for downstream?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, not worth to bother. We cannot predict source and target versions of upstream yet.

Copy link
Collaborator

@jan-kiszka jan-kiszka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I assume you tested U-Boot on SM and one or two other variants already?

@BaochengSu
Copy link
Collaborator Author

Looks good to me. I assume you tested U-Boot on SM and one or two other variants already?

SM is tested, PG2 and co, are under testing, will let you know once finished.

@BaochengSu
Copy link
Collaborator Author

Test passed on PG1 Basic/Advanced, PG2 A/B, M2, SM.

@BaochengSu BaochengSu merged commit 76441b7 into master Dec 20, 2023
5 checks passed
@BaochengSu BaochengSu deleted the su/iot2050-sm-bsp branch December 20, 2023 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants