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

Add support for AI/DI/Customized module #556

Merged
merged 16 commits into from
Jul 29, 2024
Merged

Add support for AI/DI/Customized module #556

merged 16 commits into from
Jul 29, 2024

Conversation

huaqianli
Copy link
Collaborator

@huaqianli huaqianli commented Jul 12, 2024

iot2050-eio-manager: Correct the firmware update typo
iot2050-firmware-update: Correct parameter definition
Revert "build(deps): bump next in /recipes-app/iot2050-conf-webui/files"
linux-iot2050: Generate patch correctly
iot2050-conf-webui: Add support for sm1223 dc di16 dq16 rly
iot2050-eio-manager: Add support for sm1223 dc di16 dq16 rly
iot2050-conf-webui: Add support for sm1221 8di module
iot2050-eio-manager: Add support for sm1221 8di module
iot2050-conf-webui: Add support for sm1231 4AI module
iot2050-eio-manager: Add support for sm1231 4AI module
iot2050-conf-webui: Add support for module SM SENS DI
iot2050-eio-manager: Add support for module SM SENS DI
Revert "board-bootup: setup pwm pins during boot"
Revert "mraa: fix non-root access"
Revert "kas: add iot2050 user to the example image"
Revert "mraa: fix pinmux of user pin"

Copy link
Collaborator

Choose a reason for hiding this comment

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

This one as well.

@huaqianli huaqianli changed the title Add support for AI/DI/Customized module [Draft] Add support for AI/DI/Customized module Jul 12, 2024
+
t->sku_number = smbios_add_prop(ctx, "sku");
t->family = smbios_add_prop(ctx, "family");

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a must for upstream-first: We can't risk introducing this interface to our board and then being rejected with the generic change by upstream later.

From: Li Hua Qian <[email protected]>
Date: Thu, 20 Jun 2024 15:32:37 +0800
Subject: [PATCH] iot2050: add smbios and sysinfo support

Copy link
Collaborator

Choose a reason for hiding this comment

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

Missing commit message.

- u8 padding[3];
- u32 ddr_size_mb;
-} __packed;
+#include "../../../../drivers/sysinfo/iot2050.h"
Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks not so nice. Not sure if this relative include deep into the driver is acceptable. I rather suspect the header needs to move to include/.

+config SPL_SYSINFO
+ bool "Support sysinfo drivers"
+ help
+ Enable support for sysinfo drivers in SPL.
Copy link
Collaborator

Choose a reason for hiding this comment

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

This likely needs to factored out into a separate commit, along with the reason why we need sysinfo already in SPL.

@huaqianli huaqianli changed the title [Draft] Add support for AI/DI/Customized module Add support for AI/DI/Customized module Jul 26, 2024
This reverts commit 6b0ba59.

This modification will cause the file descriptor to leak, and then cause
the mraa process to work abnormally.

Signed-off-by: Li Hua Qian <[email protected]>
This reverts commit 10cd525.

This modification will cause the file descriptor to leak, and then cause
the mraa process to work abnormally.

Signed-off-by: Li Hua Qian <[email protected]>
This reverts commit b723c95.

This modification will cause the file descriptor to leak, and then cause
the mraa process to work abnormally.

Signed-off-by: Li Hua Qian <[email protected]>
This reverts commit dfd245d.

This modification will cause the file descriptor to leak, and then cause
the mraa process to work abnormally.

Signed-off-by: Li Hua Qian <[email protected]>
This module does not have any configuration entries, except which slot
the module is in.

Signed-off-by: Baocheng Su <[email protected]>
Signed-off-by: Li Hua Qian <[email protected]>
This module does not have any configuration entries, except which slot
the module is in.

Signed-off-by: Baocheng Su <[email protected]>
Signed-off-by: Li Hua Qian <[email protected]>
Signed-off-by: Nian Gao <[email protected]>
Signed-off-by: Baocheng Su <[email protected]>
Signed-off-by: Li Hua Qian <[email protected]>
The patch in question was not properly generated.

Signed-off-by: Li Hua Qian <[email protected]>
This reverts commit e64ba7f.

This change needs to be reversed because our Debian version does not
satisfy the minimum version requirement for Node.js regarding package
locking. Our project does not utilize the function associated with this
vulnerability, so it should not pose an issue for us.

Signed-off-by: Li Hua Qian <[email protected]>
The '-f', '--force', '-n', '--no-backup', and '-d', '--backup-dir'
options are now part of a mutually exclusive group, ensuring that they
cannot be used together.

Having a default backup dir for -d is not reasonable for force update,
and cites an abnormal case where the force update option would not
work correctly. However, it's still necessary for normal update.

Signed-off-by: Li Hua Qian <[email protected]>
@BaochengSu
Copy link
Collaborator

LGTM

@huaqianli huaqianli merged commit 67d68ba into master Jul 29, 2024
4 checks passed
@huaqianli huaqianli deleted the lee/2nd-sm branch August 2, 2024 05:55
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.

3 participants