-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* TSI: board name changed -ek_tsi to tsi board name changed -comilance erros removed from some files Signed-off-by: Ganesh Kethamalla <gkethamallax@tsavoritesi.com> * TSI Board: compliance errors removed and and board variant name changed -board variant name changed to m85 to cortex-m85 -white spaces and extra lines removed Signed-off-by: Ganesh Kethamalla <gkethamallax@tsavoritesi.com> * TSI Board: old board file removed from directory -created tsi new directory, instead of using ek_tsi. that's removed old one. Signed-off-by: Ganesh Kethamalla <gkethamallax@tsavoritesi.com> * added new cpu configuration adsp * Modified TXE address for DV environment testing * @FIR-13: Create a new target "west build -p always -b tsi/skyp/txe samples/hello_world/" and remove the old target "west build -p always -b tsi/mimx8ml8/adsp samples/hello_world/" there are still references to using mimx8m tool chain and drivers but we will revisit these later, I tried to make the change but gave up as it requires defining all of SOC structure will rely on Ganesh to address these items. * @FIR-13: Fix the lint and compliance warnings * @FIR-13: Fixed compliance warning * @FIR-13: Added tsi - Tsavorite Scalable Intelligence as a vendor * @FIR-13: Fixed the sorting issue of vendors list * removed unused symbol BOARD_TSI_MIMX8ML8_ADSP * Synced for new target tsi/skyp/m85 that removed the ek_ prefix * Removed white-spaces in main.c and Readme.rst * renamed folder boards/tsi/tsi to boards/tsi/skyp * Removed compilance check warnings --------- Signed-off-by: Ganesh Kethamalla <gkethamallax@tsavoritesi.com> Co-authored-by: Dinesh Reddy <dreddy@ws03.tsavoritesi.net> Co-authored-by: Ashish Trivedi <atrivedi@tsavoritesi.com> Co-authored-by: Meera Mankali <mmankali@wssim0.tsavoritesi.net>
- Loading branch information
1 parent
3728cd1
commit 0e8cc1f
Showing
26 changed files
with
271 additions
and
67 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Copyright (c) 2024 TSI | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config BOARD_EK_TSI | ||
select QEMU_TARGET | ||
# config BOARD_TSI | ||
# select QEMU_TARGET |
2 changes: 1 addition & 1 deletion
2
boards/tsi/ek_tsi/Kconfig.defconfig → boards/tsi/skyp/Kconfig.defconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright (c) 2024 TSI | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config BOARD_TSI | ||
select SOC_PART_NUMBER_MIMX8ML8DVNLZ | ||
select SOC_SKYP_M85 if BOARD_TSI_SKYP_M85 | ||
select SOC_MIMX8ML8_ADSP if BOARD_TSI_SKYP_TXE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
board: | ||
name: tsi | ||
vendor: tsi | ||
socs: | ||
- name: skyp | ||
variants: | ||
- name: tensilica | ||
cpucluster: txe | ||
- name: cortex-m85 | ||
cpucluster: m85 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,3 @@ uart0: uart@14001000 { | |
clocks = <&sysclk>; | ||
current-speed = <115200>; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
boards/tsi/ek_tsi/ek_tsi_skyp_m85.yaml → boards/tsi/skyp/tsi_skyp_m85.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
identifier: ek_tsi/skyp/m85 | ||
identifier: tsi/skyp/m85 | ||
name: TSI sky-p | ||
type: mcu | ||
arch: arm | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* Copyright 2021, 2023, 2024 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include <nxp/nxp_imx8m.dtsi> | ||
#include <nxp/nxp_imx/mimx8ml8dvnlz-pinctrl.dtsi> | ||
|
||
/ { | ||
model = "NXP i.MX 8MPLUS Audio DSP"; | ||
compatible = "nxp"; | ||
|
||
chosen { | ||
//zephyr,sram = &sram0; | ||
zephyr,sram = &sram_txe; | ||
|
||
zephyr,console = &uart4; | ||
zephyr,shell-uart = &uart4; | ||
}; | ||
sram_txe: memory@60040000 { | ||
device_type = "memory"; | ||
compatible = "mmio-sram"; | ||
reg = <0x60040000 DT_SIZE_K(512)>; | ||
}; | ||
}; | ||
|
||
&pinctrl { | ||
uart4_default: uart4_default { | ||
group0 { | ||
pinmux = <&iomuxc_uart4_rxd_uart_rx_uart4_rx>, | ||
<&iomuxc_uart4_txd_uart_tx_uart4_tx>; | ||
bias-pull-up; | ||
slew-rate = "slow"; | ||
drive-strength = "x1"; | ||
}; | ||
}; | ||
}; | ||
|
||
&uart4 { | ||
status = "okay"; | ||
current-speed = <115200>; | ||
pinctrl-0 = <&uart4_default>; | ||
pinctrl-names = "default"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
identifier: tsi/skyp/txe | ||
name: TSI DSP | ||
type: mcu | ||
arch: xtensa | ||
toolchain: | ||
- xcc | ||
- xt-clang | ||
- zephyr | ||
supported: | ||
- uart | ||
testing: | ||
ignore_tags: | ||
- net | ||
- bluetooth | ||
- mcumgr | ||
vendor: nxp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# size of stack for initialization and main thread | ||
CONFIG_MAIN_STACK_SIZE=3072 | ||
|
||
# enable logger | ||
CONFIG_LOG=y | ||
|
||
# no need for a "raw" binary zephyr/zephyr.bin in the build directory | ||
CONFIG_BUILD_OUTPUT_BIN=y | ||
CONFIG_BUILD_OUTPUT_HEX=y | ||
|
||
# enable uart driver | ||
CONFIG_SERIAL=y | ||
|
||
# clock configuration | ||
CONFIG_CLOCK_CONTROL=y | ||
|
||
# console (remote proc console by default) | ||
CONFIG_CONSOLE=y | ||
|
||
# uart console (overrides remote proc console) | ||
CONFIG_UART_CONSOLE=y | ||
|
||
# enable pin controller | ||
CONFIG_PINCTRL=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,5 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC | |
|
||
config NUM_IRQS | ||
default 128 | ||
|
||
endif # SOC_SERIES_SKYP_V1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,5 @@ family: | |
socs: | ||
- name: skyp | ||
cpuclusters: | ||
- name: m85 | ||
- name: m85 | ||
- name: txe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
cmake_minimum_required(VERSION 3.20.0) | ||
|
||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) | ||
project(m85) | ||
|
||
target_sources(app PRIVATE src/main.c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
.. _m85: | ||
|
||
TSI Banner | ||
########### | ||
|
||
Overview | ||
******** | ||
|
||
This is the core TSI M85 Zephyr platform application startup code. It prints TSI Banner to the console, enables logging functionality so that developers can log messages to console at different levels of severity such as Info, Warning, Error & Debug. It also enables the shell functionality. | ||
|
||
Building and Running | ||
******************** | ||
|
||
This application can be built as follows: | ||
|
||
.. zephyr-app-commands:: | ||
:zephyr-app: tsi_m85 | ||
:host-os: unix | ||
:board: tsi/skyp/m85 | ||
:goals: run | ||
:compact: | ||
|
||
|
||
Output | ||
============= | ||
|
||
.. code-block:: console | ||
***** !! WELCOME TO TSAVORITE SCALABLE INTELLIGENCE !! ***** | ||
[00:00:00.010,000] <inf> tsi_m85: Test Platform: tsi/skyp/m85 | ||
[00:00:00.020,000] <wrn> tsi_m85: Testing on FPGA; Multi module init TBD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
CONFIG_LOG_MODE_IMMEDIATE=n | ||
CONFIG_LOG_MODE_DEFERRED=y | ||
CONFIG_LOG_BUFFER_SIZE=1024 | ||
CONFIG_LOG_PROCESS_THREAD=y | ||
CONFIG_LOG_PROCESS_THREAD_SLEEP_MS=100 | ||
CONFIG_LOG_PROCESS_TRIGGER_THRESHOLD=2 | ||
CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=4096 | ||
CONFIG_LOG_BLOCK_IN_THREAD=y | ||
CONFIG_LOG_BACKEND_UART=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_LOG_BACKEND_UART=y |
Oops, something went wrong.