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

feat: Added BL808 platform #194

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -644,4 +644,26 @@ arch/cortex-m33/mps2/src/CMSIS/
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

arch/riscv32/bl808/src/components/
arch/riscv32/bl808/src/drivers/
/**
* Copyright (c) 2021 Bouffalolab team
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
* ASF licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*
*/
1 change: 0 additions & 1 deletion Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ config START_ADDRESS_BL33
hex "Start address BL33"
depends on BOOTLOADER33
default 0x10040000
range 0x10000000 0x10080000
---help---
"Start address of BL33"

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,11 @@ the beginnings of corresponding files; also, all licenses are listed in
---
## 3. Platforms supported

| Cortex-M23 | Cortex-M23 | Cortex-M33 (Qemu) | RISC-V |
|-----------------------|---------------------------|-------------|-----------|
| **NuMaker-PFM-M2351** | **M2351-Badge** | **V2M-MPS2** | **SparkFun RedBoard** |
| **NuMaker-PFM-M2351** <br> Cortex-M23 | **M2351-Badge** <br> Cortex-M23 | **V2M-MPS2** <br> Cortex-M33 (Qemu) | **SparkFun RedBoard** <br> RISC-V |
|:----------------------:|:--------------------------:|:-------------:|:-----------:|
|[![](docs/images/platforms/numaker_pfm_m2351/numaker_pfm_m2351.png)](docs/numaker_pfm_m2351.md)|[![](docs/images/platforms/m2351_badge/m2351_badge.png)](docs/m2351_badge.md) |[![V2M-MPS2](docs/images/platforms/v2m-mps2/v2m-mps2.png)](docs/v2m-mps2-qemu.md)|[![](docs/images/platforms/sparkfun_redboard/sparkfun_redboard.png)](docs/sparkfun_redboard.md)|
| **How to add a platform** ||||
|[![](docs/images/platforms/add_new_board.jpg)](docs/port-new-platform.md)||||

| **Pine64 Ox64** <br> RISC-V | **How to add a platform** |||
|[![](docs/images/platforms/pine64_ox64/pine64-ox64.jpg)](docs/pine64_ox64.md)|[![](docs/images/platforms/add_new_board.jpg)](docs/port-new-platform.md)|||

Several platforms are supported. In order to manage slight differences
between platforms, a `PLATFORM` flag has been introduced.
Expand All @@ -51,6 +49,7 @@ between platforms, a `PLATFORM` flag has been introduced.
| [M2351-Badge] |`PLATFORM=m2351_badge` | v0.5.0 |
| [V2M-MPS2] |`PLATFORM=mps2_an505_qemu` | v0.5.0 |
| [SparkFun RED-V RedBoard] |`PLATFORM=sparkfun_redboard` | v0.5.0 |
| [Pine64 Ox64] |`PLATFORM=pine64_ox64` | v0.5.0 |

For information on adding a new platform see the [how to add a platform].

Expand Down Expand Up @@ -103,3 +102,4 @@ you can find here](.github/CONTRIBUTING.md).
[M2351-Badge]: docs/schemes/m2351_badge
[V2M-MPS2]: https://developer.arm.com/documentation/100964/1114/Microcontroller-Prototyping-System-2?lang=en
[SparkFun RED-V RedBoard]: https://www.sparkfun.com/products/15594
[Pine64 Ox64]: https://wiki.pine64.org/wiki/Ox64
8 changes: 4 additions & 4 deletions arch/riscv32/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ comment "FE310 Configuration Options"
source arch/riscv32/fe310/Kconfig
endif

# if ARCH_FAMILY_BL808
# comment "BL808 Configuration Options"
# source arch/riscv32/bl808/Kconfig
# endif
if ARCH_FAMILY_BL808
comment "BL808 Configuration Options"
source arch/riscv32/bl808/Kconfig
endif

Loading
Loading