diff --git a/index.rst b/index.rst index 700fcbc49eadb1c4990e1f0bd8c940c2a63b25bd..9ab80ac0e2506f0e1dae9c9172f3a31694e2429a 100644 --- a/index.rst +++ b/index.rst @@ -14,8 +14,7 @@ Welcome to |main_project_name| documentation! :maxdepth: 1 overview/README - quick-start/README - supported-boards/README + meta-ohos/index readme/README contributing/README term/glossary diff --git a/meta-ohos b/meta-ohos new file mode 120000 index 0000000000000000000000000000000000000000..65080f12f31f5635c3660c6960a3078c031b92d0 --- /dev/null +++ b/meta-ohos @@ -0,0 +1 @@ +../sources/meta-ohos/docs \ No newline at end of file diff --git a/quick-start/.gitkeep b/quick-start/.gitkeep deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/quick-start/README.rst b/quick-start/README.rst deleted file mode 100644 index 20ba4de325506bd78e2ed278d491713b6f022475..0000000000000000000000000000000000000000 --- a/quick-start/README.rst +++ /dev/null @@ -1,20 +0,0 @@ -.. SPDX-FileCopyrightText: Huawei Inc. -.. -.. SPDX-License-Identifier: CC-BY-4.0 - -.. include:: ../definitions.rst - -Getting Started Guide -##################### - -|main_project_name| is a distributed OS that is designed to run on top of a variety of OS kernels ranging from Linux to RTOSs. To start with, you can build an |main_project_name| image using your preferred OS flavour using the supported boards. Currently, |main_project_name| supports Linux, Zephyr, and FreeRTOS kernels. The supported boards are listed under :ref:`Supported Boards <supported-boards>`. The configuration is set with certain default values which can be customized as per your preference. - -.. toctree:: - :maxdepth: 2 - - downloading-tools-and-sourcecode - build-open-harmony - linux-flavour - zephyr-flavour - freeRTOS-flavour - diff --git a/quick-start/build-open-harmony.rst b/quick-start/build-open-harmony.rst deleted file mode 100644 index 126e3c8e1fc10502899953c9861492bc13469be3..0000000000000000000000000000000000000000 --- a/quick-start/build-open-harmony.rst +++ /dev/null @@ -1,65 +0,0 @@ -.. SPDX-FileCopyrightText: Huawei Inc. -.. -.. SPDX-License-Identifier: CC-BY-4.0 - -.. _BuildOpenharmony: - -.. include:: ../definitions.rst - -Building and Running |main_project_name| image -############################################## - -This topic provides an overview of meta-ohos architecture, tools, and source code required to build your |main_project_name| image. The meta-ohos is an umbrella meta-layer containing all layers required to build |main_project_name| Image on existing kernel meta-layers. - -.. contents:: - :depth: 3 - -**Figure 1 meta-ohos overview** - -.. figure:: images/architecture.png - :align: center - :alt: meta-ohos overview - -.. _prerequisites: - -Prerequisites -************* -* All the bitbake commands must be executed in your localhost as a normal user instead of a root user. -* Install the following build dependencies packages for bitbake: - - * chrpath - * gawk -* Install Python latest version -* Install **Ubuntu 20.04 LTS** version - -.. _building-image: - -Procedure -*********** - -|main_project_name| can be hosted on top of a variety of kernels. Currently supported kernels (a.k.a. OHOS flavours) are Linux, Zephyr, and FreeRTOS (experimental). - -You can use the following syntax to build the OHOS flavour of your choice. - -.. code-block:: console - - $ TEMPLATECONF=../sources/meta-ohos/flavours/<lower_case_flavour> . ./sources/poky/oe-init-build-env build-<flavour>-<target_machine> - $ bitbake <image-name> - -.. Note:: - - MACHINE variable can be set up in *conf/local.conf* file under build directory or via command line: - -**Example:** - -.. code-block:: console - - $ MACHINE=<target_machine> bitbake <image-name> - - -Currently, |main_project_name| supports Linux, Zephyr, and FreeRTOS kernels. For more information on buidling an image with different OHOS flavours, see the following topics: - -* :ref:`FreeRTOS flavour <freertos_flavour>` -* :ref:`Zephyr flavour <zephyr_flavour>` -* :ref:`Linux flavour <linux_flavour>` - diff --git a/quick-start/downloading-tools-and-sourcecode.rst b/quick-start/downloading-tools-and-sourcecode.rst deleted file mode 100644 index 37f4818b1eb798354395e086339bfa90dcecd9ec..0000000000000000000000000000000000000000 --- a/quick-start/downloading-tools-and-sourcecode.rst +++ /dev/null @@ -1,92 +0,0 @@ -.. SPDX-FileCopyrightText: Huawei Inc. -.. -.. SPDX-License-Identifier: CC-BY-4.0 - -.. include:: ../definitions.rst - -Downloading Tools and Source Code -################################# - -.. _downloading-tools: - -Downloading Tools -***************** - -To start with, you need to install git-repo by executing the following command. Git-repo helps you to manage repositories, revision control systems, and automate parts of the development workflow. - -.. code-block:: console - - $ sudo add-apt-repository ppa:zyga/oh-tools - $ sudo apt-get update - $ sudo apt-get install git-repo - -.. _downloading-source-code: - -Downloading Source Code -*********************** - -Once git-repo has been installed, you can clone the necessary repositories. - -**For OHOS User** - -If you are a user and wants to build your product on top of OHOS, then clone the ‘stable’ branch by executing the following commands: - -.. code-block:: console - - $ mkdir ohos; cd ohos - $ repo init -u https://git.ostc-eu.org/OSTC/OHOS/manifest.git -b stable - $ repo sync --no-clone-bundle - -**For OHOS Developer** - -If you are a developer and wants to contribute to OHOS, then clone the ‘develop’ branch by executing the following commands: - -.. code-block:: console - - $ mkdir ohos; cd ohos - $ repo init -u https://git.ostc-eu.org/OSTC/OHOS/manifest.git -b develop -m develop.xml - $ repo sync --no-clone-bundle - -The preceding commands creates the following directory structure (layers): - -.. code-block:: console - - ./ohos/ - └─ sources - ├── meta-freertos - ├── meta-ohos - ├── meta-openembedded - ├── meta-zephyr - ├── <various yocto layers> - └── poky - -To verify the created directory structure (layers), run the following command: - -.. code-block:: console - - $ cd sources && ls -l - -Navigate to *ohos* directory by running the following command: - -.. code-block:: console - - $ cd .. - -.. list-table:: meta-ohos - :widths: auto - :header-rows: 1 - - * - Placeholder Name - - Description - * - meta-freertos - - FreeRTOS distro layer compatible with OpenEmbedded. - * - meta-ohos - - A set of meta-layers for building Open Harmony OS. - * - meta-openembedded - - Layers, recipes, packages, and source material for developing a image. - * - meta-zephyr - - Layers required for building Zephyr images. - * - <various yocto layers> - - Layers required to build yocto images. - * - poky - - Layers required to build customised embedded device images. diff --git a/quick-start/freeRTOS-flavour.rst b/quick-start/freeRTOS-flavour.rst deleted file mode 100644 index 4da1104cbac362ddeaec1818bb24eb9670275f5b..0000000000000000000000000000000000000000 --- a/quick-start/freeRTOS-flavour.rst +++ /dev/null @@ -1,84 +0,0 @@ -.. SPDX-FileCopyrightText: Huawei Inc. -.. -.. SPDX-License-Identifier: CC-BY-4.0 - -.. _freertos_flavour: - -.. include:: ../definitions.rst - -FreeRTOS flavour -################ - -OHOS FreeRTOS flavour is designed to be simple and easy to use. It is based on `freertos` distribution. - -For getting started with |main_project_name|, *Downloading Tools* and *Source Code* perform the procedure in :ref:`Getting Started <BuildOpenharmony>`. - -OHOS FreeRTOS flavour supports the following images and machines: - -Supported images -**************** - -* freertos-demo - -Supported machines -****************** - -.. list-table:: Supported machines - :widths: auto - :header-rows: 1 - - * - Machine Name - - Details - * - qemuarmv5 - - Emulator - -Prerequisites -************* -* All the bitbake commands must be executed in your localhost as a normal user instead of a root user. -* Install the following build dependencies packages for bitbake: - - * chrpath - * gawk -* Install Python latest version -* Install **Ubuntu 20.04 LTS** version - -Procedure -********* - -Perform the following steps to build the image on the supported machine: - -1. Select the preferred image and machine to build your image. For example, for **qemuarmv5** machine and **freertos-demo** image, execute: - -.. code-block:: console - - $ TEMPLATECONF=../sources/meta-ohos/flavours/freertos . ./sources/poky/oe-init-build-env build-ohos-freertos-qemuarmv5 - $ bitbake freertos-demo - -2. Test the image built by executing the following test command considering qemuarmv5 machine as an example: - -.. code-block:: console - - $ runqemu qemuarmv5 - -Result -****** - -After successful bootup, you should see the following: - -.. code-block:: console - - ###### - FreeRTOS sample application - ###### - - A text may be entered using a keyboard. - It will be displayed when 'Enter' is pressed. - - Periodic task 10 secs - Waiting For Notification - Blocked... - Task1 - Task1 - You entered: "HelloFreeRTOS" - Unblocked - Notification Received - Waiting For Notification - Blocked... - -To exit qemu, use key combination: **Ctrl-A** followed by 'x'. diff --git a/quick-start/images/.gitkeep b/quick-start/images/.gitkeep deleted file mode 100644 index 8b137891791fe96927ad78e64b0aad7bded08bdc..0000000000000000000000000000000000000000 --- a/quick-start/images/.gitkeep +++ /dev/null @@ -1 +0,0 @@ - diff --git a/quick-start/images/architecture.png b/quick-start/images/architecture.png deleted file mode 100644 index 90835273de6675e9be662f56c1d5898ad5217f6c..0000000000000000000000000000000000000000 Binary files a/quick-start/images/architecture.png and /dev/null differ diff --git a/quick-start/images/architecture.png.license b/quick-start/images/architecture.png.license deleted file mode 100644 index b23a85e2641e098a6c0cc2a16c805cd56252d547..0000000000000000000000000000000000000000 --- a/quick-start/images/architecture.png.license +++ /dev/null @@ -1,3 +0,0 @@ -SPDX-FileCopyrightText: Huawei Inc. - -SPDX-License-Identifier: CC-BY-4.0 \ No newline at end of file diff --git a/quick-start/linux-flavour.rst b/quick-start/linux-flavour.rst deleted file mode 100644 index 3cc5a7294ce70d2cc695b9d383dd83b53fce5000..0000000000000000000000000000000000000000 --- a/quick-start/linux-flavour.rst +++ /dev/null @@ -1,106 +0,0 @@ -.. SPDX-FileCopyrightText: Huawei Inc. -.. -.. SPDX-License-Identifier: CC-BY-4.0 - -.. _linux_flavour: - -.. include:: ../definitions.rst - -Linux flavour -############# - -OHOS Linux flavour is based on `poky` distribution. - -For getting started with |main_project_name|, *Downloading Tools* and *Source Code* perform the procedure in :ref:`Getting Started <BuildOpenharmony>`. - -OHOS Linux flavour supports the following images and machines: - -Supported images -**************** -.. list-table:: Supported images - :widths: auto - :header-rows: 1 - - * - Image Name - - Size - - Description - * - openharmony-image-base - - Approximate 100-200 MB - - OpenHarmony image including the base OS software stack - * - openharmony-image-extra - - Approximate 100-200 MB - - OpenHarmony Wayland image including the base OS software stack - -Supported machines -****************** - -.. list-table:: Supported machines - :widths: auto - :header-rows: 1 - - * - Machine Name - - Details - * - qemux86-64 (default) - - Emulator - * - qemux86 - - Emulator - * - qemuarm - - Emulator - * - qemuarm64 - - Emulator - * - seco-intel-b68 (SECO SBC-B68) - - `Details <https://www.seco.com/en/products/sbc-b68-enuc>`__ - * - stm32mp1-av96 (96Boards Avenger96) - - `Details <https://www.96boards.org/product/avenger96/>`__ - * - seco-imx8mm-c61 (SECO SBC-C61) - - `Details <https://www.seco.com/en/products/sbc-c61>`__ - -Prerequisites -************* -* All the bitbake commands must be executed in your localhost as a normal user instead of a root user. -* Install the following build dependencies packages for bitbake: - - * chrpath - * gawk -* Install Python latest version -* Install **Ubuntu 20.04 LTS** version - -Procedure -********* - -1. You can select the preferred image and machine to build your image. For example, for **qemux86-64** machine and **openharmony-image-base** image, execute: - -.. code-block:: console - - $ TEMPLATECONF=../sources/meta-ohos/flavours/linux . ./sources/poky/oe-init-build-env build-ohos-linux-qemux86-64 - $ bitbake openharmony-image-base - -2. Test the image built by executing the following test command considering **qemux86-64** machine as an example: - -.. code-block:: console - - $ runqemu qemux86-64 qemuparams="-nographic" - -Result -****** - -* After successful bootup, you should see the following: - -.. code-block:: console - - $ qemux86-64 login: - -* The default login as root without a password. After login you should see the following prompt: - -.. code-block:: console - - $ root@qemux86-64:~# - - -* To exit qemu, you can either shut down the system using the following command or - -.. code-block:: console - - $ root@qemux86:~# poweroff -f - -or close qemu using key combination: **Ctrl-A** followed by 'x'. diff --git a/quick-start/zephyr-flavour.rst b/quick-start/zephyr-flavour.rst deleted file mode 100644 index 5e8c1e737a909d8e7c21933986c094f8fe0340db..0000000000000000000000000000000000000000 --- a/quick-start/zephyr-flavour.rst +++ /dev/null @@ -1,83 +0,0 @@ -.. SPDX-FileCopyrightText: Huawei Inc. -.. -.. SPDX-License-Identifier: CC-BY-4.0 - -.. _zephyr_flavour: - -.. include:: ../definitions.rst - -Zephyr flavour -############## - -OHOS Zephyr flavour is based on zephyr distribution. - -For getting started with |main_project_name|, *Downloading Tools* and *Source Code* perform the procedure in :ref:`Getting Started <BuildOpenharmony>`. - -OHOS Zephyr flavour supports the following images or machines: - -Supported images -**************** - -* Zephyr comes with multiple sample applications, for more details on available recipes, see `sources/meta-zephyr/recipes-kernel/zephyr-kernel/`. You can add your own recipes to use sample applications provided with Zephyr. For more details, `Click <https://github.com/zephyrproject-rtos/zephyr/tree/master/samples>`_. - -Supported machines -****************** - -.. list-table:: Supported machines - :widths: auto - :header-rows: 1 - - * - Machine Name - - Details - * - qemu-x86 (default) - - Emulator - * - qemu-cortex-m3 - - Emulator - * - 96b-nitrogen (96Boards Nitrogen) - - `Details <https://www.96boards.org/product/nitrogen/>`__ - * - 96b-avenger96 (96Boards Avenger96) - - `Details <https://www.96boards.org/product/avenger96/>`__ - -Prerequisites -************* -* All the bitbake commands must be executed in your localhost as a normal user instead of a root user. -* Install the following build dependencies packages for bitbake: - - * chrpath - * gawk -* Install Python latest version -* Install **Ubuntu 20.04 LTS** version - -Procedure -********* - -Perform the following steps to build the image on the supported machine: - -1. You can select the preferred image and machine to build your image. For example, for **qemu-x86* machine and **zephyr-philosophers** image, execute: - -.. code-block:: console - - $ TEMPLATECONF=../sources/meta-ohos/flavours/zephyr . ./sources/poky/oe-init-build-env build-ohos-zephyr-qemu-x86 - $ bitbake zephyr-philosophers - -2. Test the image built by executing the following test command considering **qemu-x86** machine as an example: - -.. code-block:: console - - $ runqemu qemu-x86 - -Result -****** - -After successful bootup, you should see the following: - -.. code-block:: console - - Booting from ROM..*** Booting Zephyr OS build zephyr-v2.4.0 *** - Philosopher 0 [P: 3] THINKING [ 300 ms ] - Philosopher 1 [P: 2] EATING [ 575 ms ] - Philosopher 2 [P: 1] STARVING - Philosopher 3 [P: 0] EATING [ 525 ms ] - Philosopher 4 [C: -1] THINKING [ 475 ms ] - -To exit qemu, use key combination: **Ctrl-A** followed by 'x'. diff --git a/supported-boards/96b-Avenger.rst b/supported-boards/96b-Avenger.rst deleted file mode 100644 index 10bdcaf8dc411e5f3e8db7162a74e6af5d571dc1..0000000000000000000000000000000000000000 --- a/supported-boards/96b-Avenger.rst +++ /dev/null @@ -1,395 +0,0 @@ -.. _avenger96: - -.. SPDX-FileCopyrightText: Huawei Inc. -.. -.. SPDX-License-Identifier: CC-BY-4.0 - -.. include:: ../definitions.rst - -96Boards Avenger96 -################## - - -.. contents:: - :depth: 3 - -Overview -******** - -Avenger96 is a STM32MP157xx (Cortex-A7 + Cortex-M4) development board designed by the 96Boards initiative. Due to presence of the application -processors and the microcontroller, Avenger96 can simultaneously run Linux and Zephyr kernels. The application processor is responsible for -powering up and programming the microcontroller with the appropriate image. Linux provides interfaces to communicate with the program running on the microcontroller. - -Hardware -******** - -* For detailed specification, see `Avenger96 product page on the 96Boards website <https://www.96boards.org/product/avenger96/>`__. - -* For hardware user manual, see `96Boards GitHub documentation repository <https://github.com/96boards/documentation/blob/master/consumer/avenger96/hardware-docs/files/avenger96-hardware-user-manual.pdf>`__. - -* For hardware schematics, see `96Boards GitHub documentation repository <https://github.com/96boards/documentation/blob/master/consumer/avenger96/hardware-docs/files/avenger96-schematics.pdf>`__. - -For more details on Avenger96 board, see `Avenger96 product page <https://www.96boards.org/product/avenger96/>`__. - -Working with the board -********************** - -Supported images -================ - -.. list-table:: Supported images - :widths: auto - :header-rows: 1 - - * - Image Name - - Size - - Description - * - openharmony-image-base - - Approximate 100-200 MB - - OpenHarmony image including the base OS software stack - * - openharmony-image-extra - - Approximate 100-200 MB - - OpenHarmony Wayland image including the base OS software stack - - -Building OHOS image -=================== - -To clone the source code, perform the procedure in :ref:`Getting Started <BuildOpenharmony>`. - -Linux image ------------ - -1. Source the environment with proper template settings, flavour being *linux* and target machine being *stm32mp1-av96*. Pay attention - to how relative paths are constructed. The value of *TEMPLATECONF* is relative to the location of the build directory *./build-linux-stm32mp1-av96*, that is going to be created after - this step: - -.. code-block:: console - - $ TEMPLATECONF=../sources/meta-ohos/flavours/linux . ./sources/poky/oe-init-build-env build-ohos-linux-stm32mp1-av96 - -2. You will find yourself in the newly created build directory. Call *bitbake* to build the image. For example, if you are using *openharmony-image-base* run the following command: - -.. code-block:: console - - $ MACHINE=stm32mp1-av96 bitbake openharmony-image-base - -To generate images for eMMC on SD card, refer to the :ref:`Flashing OHOS image <Flashing_ohos>`. - -Zephyr image ------------- - -1. Source the environment with proper template settings, flavour being *zephyr* and target machine being *96b-avenger96*: - -.. code-block:: console - - $ TEMPLATECONF=../sources/meta-ohos/flavours/zephyr . ./sources/poky/oe-init-build-env build-ohos-zephyr-96b-avenger96 - -2. You will find yourself in the newly created build directory. Call *bitbake* to build the image. The image name is the name of the Zephyr application. - -.. code-block:: console - - $ MACHINE=96b-avenger96 bitbake zephyr-philosophers - -3. The output file will be located in the build directory *./tmp-newlib/deploy/images/96b-avenger96/*. - -.. _Flashing_ohos: - -Flashing OHOS image -******************* - -For Linux, STM meta-layer provide a convenient shell script that helps you to create a SD card image. You can also use the `STM32 Cube -Programmer <https://wiki.dh-electronics.com/index.php/Avenger96_Image_Programming>`__. - -For Zephyr, there is no automation as for now. To have the ELF file in the filesystem: - -* Copy the image manually to the filesystem using a method of your choice -* Include it in the image before flashing the card/eMMC -* Copy the file manually to the card or just *scp* it to the board after you set up networking. - -Linux image -=========== - -SD card -------- - -The Avenger96 board supports multiple boot options which are selected by the DIP-switch S3. Make sure the boot switch is set to boot from the SD-Card. - -To set the boot option from the SD card using DIP-switch S3, set the BOOT 0 (Switch 1) and BOOT 2 (Switch 3) to 1 and set BOOT 1 (Switch 2) to 0 on the circuit board. - -For more information on Avenger96 boot options, see `Getting Started with the Avenger96 <https://www.96boards.org/documentation/consumer/avenger96/getting-started/#starting-the-board-for-the-first-time>`__. - -1. After the image is built, run the following script with flash layout TSV file provided as an argument. From the build directory created - during the environment source. For example, if you are using openharmony-image-base run the following command: - -.. code-block:: console - - $ cd tmp/deploy/images/stm32mp1-av96 - $ ./scripts/create_sdcard_from_flashlayout.sh ./flashlayout_openharmony-image-base/extensible/FlashLayout_sdcard_stm32mp157a-av96-extensible.tsv - -2. The following output is displayed. For the image to be flashed to the card, copy and paste the commands to the terminal to flash the image onto the card. - -:: - - [WARNING]: A previous raw image are present on this directory - [WARNING]: ./flashlayout_openharmony-image-base/extensible/../../FlashLayout_sdcard_stm32mp157a-av96-extensible.raw - [WARNING]: would you like to erase it: [Y/n] - - Create Raw empty image: ./flashlayout_openharmony-image-base/extensible/../../FlashLayout_sdcard_stm32mp157a-av96-extensible.raw of 2368MB - Create partition table: - [CREATED] part 1: fsbl1 [partition size 256.0 KiB] - [CREATED] part 2: fsbl2 [partition size 256.0 KiB] - [CREATED] part 3: ssbl [partition size 2.0 MiB] - [CREATED] part 4: boot [partition size 64.0 MiB] - [CREATED] part 5: vendorfs [partition size 16.0 MiB] - [CREATED] part 6: rootfs [partition size 2.2 GiB] - - Partition table from ./flashlayout_openharmony-image-base/extensible/../../FlashLayout_sdcard_stm32mp157a-av96-extensible.raw - - Populate raw image with image content: - [ FILLED ] part 1: fsbl1, image: arm-trusted-firmware/tf-a-stm32mp157a-av96-trusted.stm32 - [ FILLED ] part 2: fsbl2, image: arm-trusted-firmware/tf-a-stm32mp157a-av96-trusted.stm32 - [ FILLED ] part 3: ssbl, image: bootloader/u-boot-stm32mp157a-av96-trusted.stm32 - [ FILLED ] part 4: boot, image: st-image-bootfs-poky-stm32mp1-av96.ext4 - [ FILLED ] part 5: vendorfs, image: st-image-vendorfs-poky-stm32mp1-av96.ext4 - [ FILLED ] part 6: rootfs, image: openharmony-image-base-stm32mp1-av96.ext4 - - ########################################################################### - ########################################################################### - - RAW IMAGE generated: ./flashlayout_openharmony-image-base/extensible/../../FlashLayout_sdcard_stm32mp157a-av96-extensible.raw - - WARNING: before to use the command dd, please umount all the partitions - associated to SDCARD. - sudo umount `lsblk --list | grep mmcblk0 | grep part | gawk '{ print $7 }' | tr '\n' ' '` - - To put this raw image on sdcard: - sudo dd if=./flashlayout_openharmony-image-base/extensible/../../FlashLayout_sdcard_stm32mp157a-av96-extensible.raw of=/dev/mmcblk0 bs=8M conv=fdatasync status=progress - - (mmcblk0 can be replaced by: - sdX if it's a device dedicated to receive the raw image - (where X can be a, b, c, d, e) - - ########################################################################### - ########################################################################### - -3. To unmount the card, call the ``umount`` command printed by the ``create_sdcard_from_flashlayout.sh`` script. - -4. To flash the image card, call the ``dd`` command printed by the ``create_sdcard_from_flashlayout.sh`` script. - -5. Put the card to the board and turn it on. - -STM32 Cube Programmer ---------------------- - -After you build the image, follow the instructions in `Avenger96 Image Programming <https://wiki.dh-electronics.com/index.php/Avenger96_Image_Programming>`__, -pointing the program to the *./tmp/deploy/images/stm32mp1-av96/flashlayout_openharmony-image-base/trusted/FlashLayout_emmc_stm32mp157a-av96-trusted.tsv* flash layout file. - -.. _zephyr-image-1: - -Zephyr image -============ - -**Prerequisites** - -* Linux is running on the board. -* Make sure that Linux is built with *remoteproc* support. To check status of remoteproc do: - -.. code-block:: console - - root@stm32mp1-av96:~# dmesg | grep remoteproc - [ 2.336231] remoteproc remoteproc0: m4 is available - -1. Copy the Zephyr image to the board using a method of your choice. - -2. Check what the ``remoteproc`` framework knows about the name and location of the firmware file. The default values are presented as - follows. Empty path defaults to ``/lib/firmware``: - -:: - - root@stm32mp1-av96:~# cat /sys/module/firmware_class/parameters/path - <empty> - - root@stm32mp1-av96:~# cat /sys/class/remoteproc/remoteproc0/firmware - rproc-m4-fw - -3. Configure the name and the location to suit your needs. For example, the - firmware is located in ``/root/zephyr.elf``: - -:: - - root@stm32mp1-av96:~# echo "/root" > /sys/module/firmware_class/parameters/path - root@stm32mp1-av96:~# echo "zephyr.elf" > /sys/class/remoteproc/remoteproc0/firmware - -4. Power up the Cortex-M4 core: - -:: - - root@stm32mp1-av96:~# echo start > /sys/class/remoteproc/remoteproc0/state - remoteproc remoteproc0: powering up m4 - remoteprocroc remoteproc0: Booting fw image rproc-m4-fw, size 591544 - rproc-srm-core m4@0:m4_system_resources: bound m4@0:m4_system_resources:m4_led (ops 0xc0be1210) - remoteproc remoteproc0: remote processor m4 is now - -5. Firmware output can be inspected with: - -:: - - root@stm32mp1-av96:~# cat /sys/kernel/debug/remoteproc/remoteproc0/trace0 - Philosopher 5 [C:-2] STARVING - Philosopher 3 [P: 0] DROPPED ONE FORK - Philosopher 3 [P: 0] THINKING [ 25 ms ] - Philosopher 2 [P: 1] EATING [ 425 ms ] - Philosopher 3 [P: 0] STARVING - Philosopher 4 [C:-1] STARVING - Philosopher 4 [C:-1] HOLDING ONE FORK - Philosopher 4 [C:-1] EATING [ 800 ms ] - Philosopher 3 [P: 0] HOLDING ONE FORK - Philosopher 2 [P: 1] DROPPED ONE FORK - Philosopher 2 [P: 1] THINKING [ 725 ms ] - Philosopher 1 [P: 2] EATING [ 225 ms ] - -There is no fully-featured console available in Linux yet, so typing commands to the Zephyr application is not possible. - -Testing the board -***************** - -Serial port -=========== - -To connect the USB converter serial port to the low-speed connector, see `Hardware User Manual <https://github.com/96boards/documentation/blob/master/consumer/avenger96/hardware-docs/files/avenger96-hardware-user-manual.pdf>`__. - -.. warning:: - - * The low speed connector is 1.8V tolerant, therefore the converter must be 1.8V tolerant. - * Do not connect 5V or 3.3V tolerant devices to the connector to avoid SoC damage. - -Ethernet -======== - -Wired connection works out of the box. You can use standard tools like ``ip``, ``ifconfig`` to configure the connection. The connection seems -to have stable 1Gb/s bandwidth. - -USB Host -======== - -Just plug something to the USB port. The board seems to work fine with an external 500GB USB 3.0 HDD. - -:: - - root@stm32mp1-av96:~# lsusb - Bus 002 Device 003: ID 0930:0b1f Toshiba Corp. - Bus 002 Device 002: ID 0424:2513 Standard Microsystems Corp. 2.0 Hub - Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub - Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub - root@stm32mp1-av96:~# lsusb -t - /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/2p, 480M - |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/3p, 480M - |__ Port 2: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M - /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M - root@stm32mp1-av96:~# mount | grep sda - /dev/sda1 on /home/root/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) - -USB OTG -======= - -The board supports that feature. For now it only works in DFU mode with STM32 Cube Programmer. Using the board as USB Gadget is currently under -development. - -eMMC -==== - -It can be used to store the firmware with STM32 Cube Programmer. It can also be mounted under Linux booted from another medium: - -:: - - root@stm32mp1-av96:~# mount /dev/mmcblk2p4 emmc/ - [ 3006.721643] EXT4-fs (mmcblk2p4): recovery complete - [ 3006.726627] EXT4-fs (mmcblk2p4): mounted filesystem with ordered data mode. Opts: (null) - [ 3006.733931] ext4 filesystem being mounted at /home/root/emmc supports timestamps until 2038 (0x7fffffff) - root@stm32mp1-av96:~# ls -l emmc - drwxr-xr-x 2 root root 1024 Mar 9 12:34 bin - drwxr-xr-x 2 root root 1024 Mar 9 12:34 boot - drwxr-xr-x 2 root root 1024 Mar 9 12:34 dev - drwxr-xr-x 17 root root 1024 Mar 9 12:34 etc - drwxr-xr-x 3 root root 1024 Mar 9 12:34 home - drwxr-xr-x 3 root root 1024 Mar 9 12:34 lib - drwx------ 2 root root 12288 Jan 12 2021 lost+found - drwxr-xr-x 2 root root 1024 Mar 9 12:34 media - drwxr-xr-x 2 root root 1024 Mar 9 12:34 mnt - dr-xr-xr-x 2 root root 1024 Mar 9 12:34 proc - drwxr-xr-x 2 root root 1024 Jan 1 2000 run - drwxr-xr-x 2 root root 1024 Mar 9 12:34 sbin - dr-xr-xr-x 2 root root 1024 Mar 9 12:34 sys - lrwxrwxrwx 1 root root 8 Mar 9 12:34 tmp -> /var/tmp - drwxr-xr-x 10 root root 1024 Mar 9 12:34 usr - drwxr-xr-x 8 root root 1024 Mar 9 12:34 var - -Radio -===== - -Radio relies on proprietary BRCM firmware. It is already included in the image. - -WiFi ----- - -WiFi can be controlled with ``wpa_supplicant``, which is a standard Linux tool. Please refer to the tool manual for the details. - -Example ``wpa_suppliant`` configs look like below. Assuming the config is saved in a file named ``wpa.conf`` and the interface is named -``wlan0``, WiFi can be brought up with ``wpa_supplicant -i wlan0 -c ./wpa.conf``: - -:: - - # Access Point mode example configuration - fast_reauth=1 - update_config=1 - - ap_scan=2 - network={ - ssid="Avenger96 AP" - mode=2 - frequency=2412 - key_mgmt=WPA-PSK - proto=RSN - pairwise=CCMP - psk="PlaintextPasswordsAreGreat" - } - -:: - - # Connection to an open network with broadcasted SSID - network={ - ssid="0xDEADBEEF" - key_mgmt=NONE - } - -Bluetooth ---------- - -Bluetooth is currently not stable. It can be controlled with ``bluetoothctl``, which is a standard Linux tool. Please refer to the tool manual for the details. Devices scanning can be enabled as follows: - -:: - - root@stm32mp1-av96:~# bluetoothctl - Agent registered - [CHG] Controller 00:9D:6B:AA:77:68 Pairable: yes - [bluetooth]# power on - Changing power on succeeded - [CHG] Controller 00:9D:6B:AA:77:68 Powered: yes - [bluetooth]# discoverable on - Changing discoverable on succeeded - [CHG] Controller 00:9D:6B:AA:77:68 Discoverable: yes - [bluetooth]# scan on - Discovery started - [CHG] Controller 00:9D:6B:AA:77:68 Discovering: yes - [NEW] Device E2:A0:50:99:C9:61 Hue Lamp - [NEW] Device 57:2D:D5:48:8C:D0 57-2D-D5-48-8C-D0 - [NEW] Device E4:04:39:65:9C:2A TomTom GPS Watch - [NEW] Device C0:28:8D:49:67:7E C0-28-8D-49-67-7E - -Pairing and establishing connection is possible with ``pair`` and ``connect`` commands, but the connection is dropped instantly. This issue is under investigation. - -HDMI -==== - -Development in progres. diff --git a/supported-boards/96b-nitrogen.rst b/supported-boards/96b-nitrogen.rst deleted file mode 100644 index 6920a9b312862d2a83d485e1e1420330e85e7498..0000000000000000000000000000000000000000 --- a/supported-boards/96b-nitrogen.rst +++ /dev/null @@ -1,110 +0,0 @@ -.. SPDX-FileCopyrightText: Huawei Inc. -.. -.. SPDX-License-Identifier: CC-BY-4.0 - -.. _nitogen: - -.. include:: ../definitions.rst - -96Boards Nitrogen -################# - -.. contents:: - :depth: 3 - -Overview -******** - -Nitrogen, a compliant IoT Edition board provides economical and compact BLE solutions for various IoT projects. This board includes the below features: - -* Nordic nRF52832 microcontroller -* 64 KB of RAM -* 512 KB on-board flash storage. - -Nitrogen hardware supports the Nordic Semiconductor nRF52832 ARM Cortex-M4F CPU. - - -Hardware -******** - -* For detailed specifications, see `Nitrogen product page on the 96Boards website <https://www.96boards.org/product/nitrogen/>`_. - -* For hardware user manual, see `Seeed wiki <https://wiki.seeedstudio.com/BLE_Nitrogen/>`_. - -* For hardware schematics, see `Seeed Document <https://github.com/SeeedDocument/BLE-Nitrogen/tree/master/res>`_. - -For more details on 96Boards Nitrogen, see `Nitrogen product page <https://www.96boards.org/product/nitrogen/>`_. - -Working with the board -********************** - -Supported image -=============== - -* zephyr-philosophers - -Building an application -======================= - -|main_project_name| OS Zephyr flavour is based on Zephyr kernel. - -* Source the environment with proper template settings, flavour being zephyr and target machine being 96b-nitrogen: - -.. code-block:: console - - $ TEMPLATECONF=../sources/meta-ohos/flavours/zephyr . ./sources/poky/oe-init-build-env build-ohos-zephyr-96b-nitrogen - -* You will find yourself in the newly created build directory. Call bitbake to build the image. The supported image name is zephyr-philosophers. - -.. code-block:: console - - $ MACHINE=96b-nitrogen bitbake zephyr-philosophers - -MACHINE variable can be set up in conf/local.conf file under build directory or via command line. - - -Flashing an application -======================= - -Installing pyOCD ----------------- - -pyOCD is an open source Python package for programming and debugging Arm Cortex-M microcontrollers using multiple supported types of USB debug probes. It is fully cross-platform, with support for Linux. - -* The latest stable version of pyOCD can be installed via `pip <https://pip.pypa.io/en/stable/>`_ as follows: - -.. code-block:: console - - $ pip install --pre -U pyOCD - -* To install the latest pre-release version from the HEAD of the master branch, do the following: - -.. code-block:: console - - $ pip install --pre -U git+https://github.com/mbedmicro/pyOCD.git - -* To install directly from the source by cloning the git repository, do the following: - -.. code-block:: console - - $ python setup.py install - -* Verify that the board is detected by pyOCD by executing the command: - -.. code-block:: console - - $ pyOCD-flashtool -l - -.. note:: - - When *ValueError: The device has no langid* error is displayed due to lack of permission, perform the instructions as suggested in https://github.com/pyocd/pyOCD/tree/master/udev. - -How to flash ------------- - -* To flash the image, execute the command used to build the image with -c flash_usb appended. - For example, to flash the already built zephyr-philosophers image, do: - -.. code-block:: console - - $ MACHINE=96b-nitrogen bitbake zephyr-philosophers -c flash_usb diff --git a/supported-boards/README.rst b/supported-boards/README.rst deleted file mode 100644 index 47ffb674eb23b35c0f5f66d8abf49b14485cbf4d..0000000000000000000000000000000000000000 --- a/supported-boards/README.rst +++ /dev/null @@ -1,28 +0,0 @@ -.. SPDX-FileCopyrightText: Huawei Inc. -.. -.. SPDX-License-Identifier: CC-BY-4.0 - -.. _supported-boards: - -.. include:: ../definitions.rst - -Supported Boards -################ - -|main_project_name| project developers are continually adding board-specific support. Currently, you can build an |main_project_name| image using your preferred OS flavour using the supported boards. Currently, |main_project_name| supports the following boards: - -.. toctree:: - :maxdepth: 1 - - 96b-Avenger - 96b-nitrogen - seco-intel-b68 - seco-imx8mm-c61 - -For more detailed information of kernel specific flavours, see :ref:`Getting Started <BuildOpenharmony>`. - -.. note:: - - A single board can be included in more than one flavour only when it has **well-maintained support** in targeted kernels. - - diff --git a/supported-boards/seco-imx8mm-c61.rst b/supported-boards/seco-imx8mm-c61.rst deleted file mode 100644 index 5483922f3ccde581c776966dee895676c4909bbb..0000000000000000000000000000000000000000 --- a/supported-boards/seco-imx8mm-c61.rst +++ /dev/null @@ -1,181 +0,0 @@ -.. SPDX-FileCopyrightText: Huawei Inc. -.. -.. SPDX-License-Identifier: CC-BY-4.0 - -.. include:: ../definitions.rst - -SBC-C61 SECO -############ - - -.. contents:: - :depth: 3 - - -Overview -******** -SBC-C61 is an SBC built upon the NXP i.MX 8M mini Application Processors characterised by HEVC/VP9 decoding in 1080p60. As for the memory, it features a LPDDR4 RAM. The range of connectivity options is particularly -broad, with optional Wi-Fi and BT LE 4.2 and optionally soldered on-board LTE Cat 4 Modem with microSIM slot or eSIM. Interestingly, it also features a Cortex-M4, that is real-time operating system capable -for serving real-time applications that process data as it comes in without buffer delays. - -Hardware -******** - -For more detailed specifications of SBC-C61 SECO board, see `SBC-C61 Specification <https://www.seco.com/en/products/sbc-c61>`__. - -Working with the board -********************** - -Supported image -=============== - -.. list-table:: Supported images - :widths: auto - :header-rows: 1 - - * - Image Name - - Size - - Description - * - openharmony-image-base - - Approximate 100-200 MB - - OpenHarmony image including the base OS software stack - - -Building OHOS image -=================== - -To clone the source code, perform the procedure in :ref:`Getting Started <BuildOpenharmony>`. - -Linux image ------------ - -1. Source the environment with proper template settings, flavour being ``linux`` and target machine being ``seco-imx8mm-c61``. - -.. code-block:: console - - $ TEMPLATECONF=../sources/meta-ohos/flavours/linux . ./sources/poky/oe-init-build-env build-ohos-linux-seco-imx8mm-c61 - -2. You will find yourself in the newly created build directory. Call ``bitbake`` to build the image. The supported image is ``openharmony-image-base``. - -.. code-block:: console - - $ MACHINE=seco-imx8mm-c61 bitbake openharmony-image-base - -To generate images for eMMC, refer to the following flashing procedure. - -Flashing OHOS image -******************* - -Linux image -=========== - -MMC Storage ------------ - -**Prerequisites** - -* USB To UART adapter -* USB to OTG adapter -* Download and install `mfgtools <https://github.com/NXPmicro/mfgtools>`__ -* Linux Host - -To flash OHOS using USB to OTG adapter, perform the following steps: - -#. Short circuit pin 1 and 2 of CN52 pin header to enter the Serial Download mode. -#. Connect USB to OTG adapter to your host PC -#. Navigate to the inside build output directory: - - .. code-block:: console - - $ cd tmp/deploy/images/seco-imx8mm-c61/ - -#. Unzip build output using Gzip software: - - .. code-block:: console - - $ gzip -d openharmony-image-base-seco-imx8mm-c61.wic.gz - -#. To write uboot and image(p1:kernel, p2:dtb, rootfs) into c61 mmc via mfgtools: - - .. code-block:: console - - $ sudo uuu -b emmc_all imx-boot-seco-imx8mm-c61-emmc.bin-flash_evk openharmony-image-base-seco-imx8mm-c61.wic - -#. Power ON SBC-C61 -#. Remove **CN52 short circuit** -#. Press the reset button - -Testing the board -***************** - -Ethernet -======== - -You can use standard tools like ``ip``, ``ifconfig`` to configure the connection. - -:: - - root@seco-imx8mm-c61:~# ifconfig - eth0 Link encap:Ethernet HWaddr 1A:20:58:83:70:F0 - UP BROADCAST MULTICAST MTU:1500 Metric:1 - RX packets:0 errors:0 dropped:0 overruns:0 frame:0 - TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 - collisions:0 txqueuelen:1000 - RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) - -USB Host -======== - -:: - - root@seco-imx8mm-c61:~# lsusb - Bus 001 Device 003: ID 058f:6387 Alcor Micro Corp. Flash Drive - Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub - Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub - -eMMC -==== - -:: - - root@seco-imx8mm-c61:~# fdisk -l /dev/mmcblk0 - Disk /dev/mmcblk0: 59 GB, 63585648640 bytes, 124190720 sectors - 1940480 cylinders, 4 heads, 16 sectors/track - Units: sectors of 1 * 512 = 512 bytes - - Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type - /dev/mmcblk0p1 * 64,0,1 893,3,4 8192 114403 106212 51.8M c Win95 FAT32 (LBA) - /dev/mmcblk0p2 896,0,1 1023,3,32 114688 558903 444216 216M 83 Linux - -Loaded Modules -============== - -:: - - root@seco-imx8mm-c61:~# lsmod - Module Size Used by - nfc 90112 0 - bluetooth 409600 8 - ecdh_generic 16384 1 bluetooth - ecc 32768 1 ecdh_generic - rfkill 36864 3 nfc,bluetooth - ipv6 442368 26 - caam_jr 196608 0 - caamhash_desc 16384 1 caam_jr - caamalg_desc 36864 1 caam_jr - crypto_engine 16384 1 caam_jr - rng_core 24576 1 caam_jr - authenc 16384 1 caam_jr - libdes 24576 1 caam_jr - snd_soc_simple_card 20480 0 - fsl_imx8_ddr_perf 20480 0 - crct10dif_ce 20480 1 - snd_soc_simple_card_utils 24576 1 snd_soc_simple_card - rtc_snvs 16384 1 - snvs_pwrkey 16384 0 - caam 40960 1 caam_jr - clk_bd718x7 16384 0 - error 24576 4 caamalg_desc,caamhash_desc,caam,caam_jr - imx8mm_thermal 16384 0 - snd_soc_fsl_sai 20480 0 - imx_cpufreq_dt 16384 0 diff --git a/supported-boards/seco-intel-b68.rst b/supported-boards/seco-intel-b68.rst deleted file mode 100644 index f4bb8d487712b2a8b474af52a5f140b63e086c27..0000000000000000000000000000000000000000 --- a/supported-boards/seco-intel-b68.rst +++ /dev/null @@ -1,216 +0,0 @@ -.. SPDX-FileCopyrightText: Huawei Inc. -.. -.. SPDX-License-Identifier: CC-BY-4.0 - -.. include:: ../definitions.rst - -SBC-B68-eNUC SECO -################# - - -.. contents:: - :depth: 3 - - -Overview -******** - -The SBC-B68-eNUC is a flexible and expandable full industrial x86 embedded NUC™ SBC with the Intel® Atom X Series, Intel® Celeron® J / N -Series and Intel® Pentium® N Series (formerly code name Apollo Lake) Processors. Also available in industrial temperature version, the board -offers wide range of connectivity options through WLAN and WWAN M.2 slots as well as wide input voltage range. Featuring Quad Channel -soldered down LPDDR4-2400 memory, up to 8GB, thanks to its versatile expansion capabilities it is particularly suitable for embedded -applications like HMI, multimedia devices, industrial IoT and industrial automation. - -Hardware -******** - -For more detailed specifications of SBC-B68-eNUC SECO board, see `SBC-B68-eNUC Specification <https://www.seco.com/en/products/sbc-b68-enuc>`__. - - -Working with the board -********************** - -Supported images -================ - -.. list-table:: Supported images - :widths: auto - :header-rows: 1 - - * - Image Name - - Size - - Description - * - openharmony-image-base - - Approximate 100-200 MB - - OpenHarmony image including the base OS software stack - * - openharmony-image-extra - - Approximate 100-200 MB - - OpenHarmony Wayland image including the base OS software stack - - -Building OHOS image -=================== - -To clone the source code, perform the procedure in :ref:`Getting Started <BuildOpenharmony>`. - -Linux image ------------ - -1. Source the environment with proper template settings, flavour being *linux* and target machine being *seco-intel-b68*. - -.. code-block:: console - - $ TEMPLATECONF=../sources/meta-ohos/flavours/linux . ./sources/poky/oe-init-build-env build-linux-seco-intel-b68 - -2. You will find yourself in the newly created build directory. Call *bitbake* to build the image. For example, if you are using *openharmony-image-base* run the following command: - -.. code-block:: console - - $ MACHINE=seco-intel-b68 bitbake openharmony-image-base - -To generate images for SSD Disk, refer to the following flashing OHOS image section. - -Flashing OHOS image -******************* - -.. _linux-image-2: - -Linux image -=========== - -USB Storage ------------ - -**Prerequisites** - -* Mini DisplayPort to HDMI converter cable -* HDMI Monitor -* USB Storage -* Linux Host - -To flash OHOS using USB storage, perform the following steps: - -**Prepare OHOS bootable USB** - -#. Connect USB storage to your host PC. - -#. Run the following command in your local host: - -.. code-block:: console - - $ dd if=tmp/deploy/images/seco-intel-b68/openharmony-image-base-seco-intel-b68.wic of=/dev/sdbX - -**Run OHOS** - -#. Connect bootable USB to target - -#. Connect mini DP++ to HDMI adapter to HDMI monitor - -#. Power on B68 and press **Esc** to enter **BIOS** mode. - -#. Go to Save and Exit submenu - -#. Select the bootable USB device under **Boot Override** and press Enter. - - -Testing the board -***************** - -Ethernet -======== - -Wired connection works out of the box. You can use standard tools like ``ip``, ``ifconfig`` to configure the connection. - -USB Host -======== - -:: - - root@seco-intel-b68:~# lsusb - /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/7p, 5000M - /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/8p, 480M - -eMMC -==== - -:: - - root@seco-intel-b68:~# fdisk -l /dev/mmcblk1 - Disk /dev/mmcblk1: 29 GB, 31268536320 bytes, 61071360 sectors - 954240 cylinders, 4 heads, 16 sectors/track - Units: sectors of 1 * 512 = 512 bytes - -PCI buses -========= - -:: - - root@seco-intel-b68:~# lspci - 00:00.0 Host bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge (rev 0b) - 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 500 (rev 0b) - 00:0e.0 Audio device: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster (rev 0b) - 00:0f.0 Communication controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Trusted Execution Engine (rev 0b) - 00:12.0 SATA controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller (rev 0b) - 00:13.0 PCI bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #3 (rev fb) - 00:13.3 PCI bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #4 (rev fb) - 00:15.0 USB controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI (rev 0b) - 00:16.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #1 (rev 0b) - 00:16.3 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #4 (rev 0b) - 00:17.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #5 (rev 0b) - 00:17.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #6 (rev 0b) - 00:18.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #1 (rev 0b) - 00:18.2 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #3 (rev 0b) - 00:1b.0 SD Host controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SDXC/MMC Host Controller (rev 0b) - 00:1c.0 SD Host controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series eMMC Controller (rev 0b) - 00:1f.0 ISA bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Low Pin Count Interface (rev 0b) - 00:1f.1 SMBus: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller (rev 0b) - 01:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03) - 02:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03) - -Loaded Modules -============== - -:: - - root@seco-intel-b68:~# lsmod - Module Size Used by - nfc 73728 0 - bnep 20480 2 - uio 20480 0 - snd_hda_codec_hdmi 53248 1 - iwlwifi 299008 0 - cfg80211 688128 1 iwlwifi - snd_hda_codec_cirrus 20480 1 - snd_hda_codec_generic 65536 1 snd_hda_codec_cirrus - ledtrig_audio 16384 1 snd_hda_codec_generic - intel_rapl_msr 16384 0 - snd_soc_skl 114688 0 - snd_soc_sst_ipc 16384 1 snd_soc_skl - snd_soc_sst_dsp 24576 1 snd_soc_skl - snd_hda_ext_core 20480 1 snd_soc_skl - snd_soc_acpi_intel_match 36864 1 snd_soc_skl - snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_soc_skl - snd_soc_core 200704 1 snd_soc_skl - intel_rapl_common 20480 1 intel_rapl_msr - snd_compress 20480 1 snd_soc_core - ac97_bus 16384 1 snd_soc_core - intel_pmc_bxt 16384 0 - intel_telemetry_pltdrv 20480 0 - intel_telemetry_core 16384 1 intel_telemetry_pltdrv - snd_hda_intel 32768 0 - x86_pkg_temp_thermal 16384 0 - snd_intel_dspcfg 16384 2 snd_hda_intel,snd_soc_skl - snd_hda_codec 98304 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_cirrus - coretemp 16384 0 - snd_hda_core 65536 7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_cirrus,snd_soc_skl - snd_pcm 86016 7 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core - snd_timer 32768 1 snd_pcm - i915 1888256 5 - mei_me 32768 0 - video 40960 1 i915 - mei 81920 1 mei_me - -Video -===== - -Output video tested with *DP++* to *HDMI* adapter.