boards: xtensa: intel_adsp_cavs25: Rename board with HWMv2
Rename for better HWMv2 use: board - `intel_adsp_cavs25` to `intel_adsp` Resulting name changes for boards: `intel_adsp_cavs25/cavs25` -> `intel_adsp/cavs25` `intel_adsp_cavs25/cavs25/tgph` -> `intel_adsp/cavs25/tgph` Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
This commit is contained in:
committed by
Carles Cufi
parent
d1491a4810
commit
e66c35e0d0
@@ -1,5 +1,5 @@
|
||||
# Copyright (c) 2024 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_INTEL_ADSP_CAVS25
|
||||
config BOARD_INTEL_ADSP
|
||||
select SOC_INTEL_CAVS_V25
|
||||
@@ -13,7 +13,7 @@ if(CONFIG_BOARD_INTEL_ADSP_CAVS25)
|
||||
board_set_rimage_target(tgl)
|
||||
endif()
|
||||
|
||||
if(CONFIG_BOARD_INTEL_ADSP_CAVS25_CAVS25_TGPH)
|
||||
if(CONFIG_BOARD_INTEL_ADSP_CAVS25_TGPH)
|
||||
board_set_rimage_target(tgl-h)
|
||||
endif()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
board:
|
||||
name: intel_adsp_cavs25
|
||||
name: intel_adsp
|
||||
vendor: intel
|
||||
socs:
|
||||
- name: cavs25
|
||||
@@ -386,7 +386,7 @@ a "zephyr.ri" file to be copied to the device.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
dev$ west build -b intel_adsp_cavs25 samples/hello_world
|
||||
dev$ west build -b intel_adsp/cavs25 samples/hello_world
|
||||
dev$ west sign --tool-data=~/rimage/config -t ~/rimage/rimage -- \
|
||||
-k $ZEPHYR_BASE/../modules/audio/sof/keys/otc_private_key_3k.pem
|
||||
|
||||
@@ -401,7 +401,7 @@ the logging script.
|
||||
.. code-block:: console
|
||||
|
||||
dev$ west flash --remote-host crouton
|
||||
Hello World! intel_adsp_cavs25
|
||||
Hello World! intel_adsp
|
||||
|
||||
Misc References
|
||||
***************
|
||||
@@ -115,7 +115,7 @@ Build as usual.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: intel_adsp_cavs25
|
||||
:board: intel_adsp/cavs25
|
||||
:goals: build
|
||||
|
||||
Signing
|
||||
@@ -193,7 +193,7 @@ Running tests with Twister is slightly more complicated.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
twister -p intel_adsp_cavs25 --device-testing --device-serial-pty="$ZEPHYR_BASE/soc/intel/intel_adsp/tools/cavstool_client.py,-s,remotehostname,-l" --west-flash="--remote-host=remotehostname" -T samples/hello_world
|
||||
twister -p intel_adsp/cavs25 --device-testing --device-serial-pty="$ZEPHYR_BASE/soc/intel/intel_adsp/tools/cavstool_client.py,-s,remotehostname,-l" --west-flash="--remote-host=remotehostname" -T samples/hello_world
|
||||
|
||||
If your network is set up such that the TCP connection from
|
||||
:file:`cavstool_client.py` to :file:`remote-fw-service.py` is forwarded through
|
||||
@@ -204,14 +204,14 @@ the port numbers to the intermediate host name.
|
||||
.. code-block:: console
|
||||
|
||||
west flash --remote-host intermediatehost:reqport --pty remotehostname:logport
|
||||
twister -p intel_adsp_cavs25 --device-testing --device-serial-pty="$ZEPHYR_BASE/soc/intel/intel_adsp/tools/cavstool_client.py,-s,remotehostname:logport,-l" --west-flash="--remote-host=remotehostname:reqport" -T samples/hello_world
|
||||
twister -p intel_adsp/cavs25 --device-testing --device-serial-pty="$ZEPHYR_BASE/soc/intel/intel_adsp/tools/cavstool_client.py,-s,remotehostname:logport,-l" --west-flash="--remote-host=remotehostname:reqport" -T samples/hello_world
|
||||
|
||||
You can also save this information to a hardware map file and pass that to
|
||||
Twister.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
twister -p intel_adsp_cavs25 --hardware-map cavs.map --device-testing -T samples/hello_world
|
||||
twister -p intel_adsp/cavs25 --hardware-map cavs.map --device-testing -T samples/hello_world
|
||||
|
||||
Here's a sample ``cavs.map``:
|
||||
|
||||
@@ -219,7 +219,7 @@ Here's a sample ``cavs.map``:
|
||||
|
||||
- connected: true
|
||||
id: None
|
||||
platform: intel_adsp_cavs25
|
||||
platform: intel_adsp/cavs25
|
||||
product: None
|
||||
runner: intel_adsp
|
||||
serial_pty: "/home/zephyrus/zephyrproject/zephyr/soc/intel/intel_adsp/tools/cavstool_client.py,-s,remotehostname:logport,-l"
|
||||
@@ -247,7 +247,7 @@ You should see the following at the end of the log if you are successful:
|
||||
.. code-block:: console
|
||||
|
||||
***** Booting Zephyr OS vx.x.x-xxx-gxxxxxxxxxxxx *****
|
||||
Hello World! intel_adsp_cavs25
|
||||
Hello World! intel_adsp
|
||||
|
||||
Flashing to ACE-based ADSP
|
||||
--------------------------
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: intel_adsp_cavs25
|
||||
identifier: intel_adsp/cavs25
|
||||
name: cAVS 2.5 Audio DSP (converged Audio Voice and Speech)
|
||||
type: mcu
|
||||
arch: xtensa
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: intel_adsp_cavs25/cavs25/tgph
|
||||
identifier: intel_adsp/cavs25/tgph
|
||||
name: cAVS 2.5 Audio DSP for Tiger Lake H PCH (Converged Audio Voice and Speech)
|
||||
type: mcu
|
||||
arch: xtensa
|
||||
Reference in New Issue
Block a user