-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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 #78795
base: main
Are you sure you want to change the base?
Introduce Bouffalo Lab SoC's #78795
Conversation
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
36aa581
to
7b2500b
Compare
f026bea
to
3ee0c70
Compare
A commit can have multiple sign-offs / authors, I don't see why we can't squash them and need to upstream local history, you can add a reference to a local branch with the history in the upstream commit message if you like.
I'm sorry that the sample order doesn't fit, I guess it is bisectable if you introduce the drivers first, followed by board, I believe I was referring to #56370 at the time of comment, but typed something wrong |
Enable the suport to sifive,clic machine timer. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Add initial version that uses bouffalo_sdk 1.4.2. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Add necessary bflb prefix to be used on devicetree bindings and identify the board vendor. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Introduce Bouffalo Lab vendor with BL602 cpu. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Add initial version. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Switch to use the riscv-privileged mode. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Add Bouffalo Lab pinctrl driver. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Add Bouffalo Lab serial driver. The driver uses pinctrl to configure pins and have power management capabilities. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Enable interrupt support in the driver. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
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 <nandojve@gmail.com>
e7c4c7a
to
e05d64f
Compare
Rebased on top of RC-3.
Hi @ycsin, This is not about local history is about what each person contributed. If you squash the content you don't know what each person made. This is a Open Source project and we want to keep clear what each person made. |
Add initial version. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
This replace the SDK 1.4.2 by a direct register access aproach. This means that future operations on hal_bouffalolab do not require any dependency of a SDK from Bouffalo Lab anymore. The code was inspired by the newer SDK 2.0. Signed-off-by: Camille BAUD <mail@massdriver.space> Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Make all changes on the SoC to remove SDK dependency. Signed-off-by: Camille BAUD <mail@massdriver.space> Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Update the BL60x cpu devicetree definitions. Signed-off-by: Camille BAUD <mail@massdriver.space> Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Update pinctrl driver to be SDK independent. Signed-off-by: Camille BAUD <mail@massdriver.space> Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Add Bouffalo Lab gpio driver. Signed-off-by: Camille BAUD <mail@massdriver.space> Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Update serial driver to be SDK independent. Signed-off-by: Camille BAUD <mail@massdriver.space> Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
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://pypi.org/project/bflb-mcu-tool Signed-off-by: Camille BAUD <mail@massdriver.space> Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Move the board to the new SoC directory. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Use official flash tool by default. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Introduce Bouffalo Lab platform. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
e05d64f
to
a292021
Compare
|
If you want to keep attribution, you could always add But the most important question is - does this PR include any commit that can result in a failed build? If so, then this will make bisecting unnecessarily difficult in the future. |
This PR is intent to continue the work started at #37686. It rewrite the original work to be compatible with Zephyr 3.7. It extends the original work to complete remove the Bouffalo Lab SDK. This means that a re-write was made to use direct register access. This proves to drop ~8k Flash content.
dt_bl10_devkit (from DOIT) - easy to find and startwill come in a future PR as requestedThis work is Co-Authored by Camille BAUD mail@massdriver.space
In the first wave we will introduce BL 60x/70x series, with uses E24 SiFive's core. On a second moment we will add the newer XuanTie-902/6/7 (LP/M/D) from T-Head BL61x/80x.