-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Introduce Bouffalo Lab SoC's [patch 1] #84173
base: main
Are you sure you want to change the base?
Conversation
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 added project Note: This message is automatically posted and updated by the Manifest GitHub Action. |
dts/riscv/bouffalolab/bl60x.dtsi
Outdated
compatible = "sifive,clint0"; | ||
reg = <0x2000000 0x10000>; | ||
reg-names = "control"; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inconsistent spacing in file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any inconsistency. This is from current devicetree spec v0.4.
I assume that if it is on the documentation example is correct.
https://github.com/devicetree-org/devicetree-specification/releases/tag/v0.4 pg42
soc/bouffalolab/Kconfig.soc
Outdated
bool | ||
|
||
config SOC_FAMILY | ||
default "bouffalolab_bflb" if SOC_FAMILY_BFLB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
text does not match, either: default "bouffalolab_bflb" if SOC_FAMILY_BOUFFALOLAB_BFLB
or default "bflb" if SOC_FAMILY_BFLB
- it must also match the text in the soc.yml file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I fixed
# This is necessary to proper select architecture in the SDK | ||
zephyr_compile_definitions( | ||
ARCH_RISCV | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tejlmand for comment
084a3b1
to
849983f
Compare
Add initial version that uses bouffalo_sdk 1.4.5. Signed-off-by: Gerson Fernando Budke <[email protected]>
Add necessary bflb prefix to be used on devicetree bindings and identify the board vendor. Signed-off-by: Gerson Fernando Budke <[email protected]>
Introduce Bouffalo Lab vendor with BL60x cpu. Signed-off-by: Gerson Fernando Budke <[email protected]>
Add initial version. Signed-off-by: Gerson Fernando Budke <[email protected]>
Add Bouffalo Lab pinctrl driver. Signed-off-by: Gerson Fernando Budke <[email protected]>
Add Bouffalo Lab serial driver. The driver uses pinctrl to configure pins and have power management capabilities. Signed-off-by: Gerson Fernando Budke <[email protected]>
849983f
to
6cbbaa4
Compare
Add Bouffalo Lab ISP console flash runner. This tool enable bootloader to flash devices using serial port. The blflash Rust tool can be found at https://github.com/spacemeowx2/blflash Signed-off-by: Gerson Fernando Budke <[email protected]>
Add initial version. Signed-off-by: Gerson Fernando Budke <[email protected]>
Introduce Bouffalo Lab platform. Signed-off-by: Gerson Fernando Budke <[email protected]>
6cbbaa4
to
c0018bb
Compare
This PR is intent to continue the work started at #37686. It rewrite the original work to be compatible with Zephyr 4.1.
This is the first PR of a series, which includes:
This is an split of #78795