From 2fc65ac09a5698b9e2060890de1cd3310a237658 Mon Sep 17 00:00:00 2001 From: Christian Hewitt Date: Sat, 15 Jan 2022 06:35:47 +0000 Subject: [PATCH 12/25] WIP: doc: boards: amlogic: update for Radxa Zero2 Add documentation bits for the Radxa Zero2 Signed-off-by: Christian Hewitt --- board/amlogic/w400/MAINTAINERS | 1 + doc/board/amlogic/index.rst | 3 +- .../{radxa-zero.rst => radxa-zero2.rst} | 29 ++++++++++--------- 3 files changed, 18 insertions(+), 15 deletions(-) rename doc/board/amlogic/{radxa-zero.rst => radxa-zero2.rst} (76%) diff --git a/board/amlogic/w400/MAINTAINERS b/board/amlogic/w400/MAINTAINERS index caad41577d..6e1ef9b8b8 100644 --- a/board/amlogic/w400/MAINTAINERS +++ b/board/amlogic/w400/MAINTAINERS @@ -5,3 +5,4 @@ L: u-boot-amlogic@groups.io F: board/amlogic/w400/ F: configs/radxa-zero2_defconfig F: doc/board/amlogic/w400.rst +F: doc/board/amlogic/radxa-zero2.rst diff --git a/doc/board/amlogic/index.rst b/doc/board/amlogic/index.rst index 4d407f9362..f0b92e4209 100644 --- a/doc/board/amlogic/index.rst +++ b/doc/board/amlogic/index.rst @@ -19,7 +19,7 @@ This matrix concerns the actual source code version. | | Nanopi-K2 | Khadas-VIM | Libretech-PC | JetHub J100 | SEI510 | Khadas-VIM3 | Khadas-VIM3L | | | P200 | LibreTech-CC v1 | WeTek Core2 | | Radxa Zero | GT-King/Pro | Odroid-C4 | | | P201 | LibreTech-AC v2 | | | | GSKing-X | Odroid-HC4 | -| | | JetHub J80 | | | | | BananaPi-M5 | +| | | JetHub J80 | | | | Radxa Zero2 | BananaPi-M5 | +-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+ | UART | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | +-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+ @@ -110,6 +110,7 @@ Board Documentation p212 q200 radxa-zero + radxa-zero2 s400 sei510 sei610 diff --git a/doc/board/amlogic/radxa-zero.rst b/doc/board/amlogic/radxa-zero2.rst similarity index 76% rename from doc/board/amlogic/radxa-zero.rst rename to doc/board/amlogic/radxa-zero2.rst index f5611f52ec..95a42a05d0 100644 --- a/doc/board/amlogic/radxa-zero.rst +++ b/doc/board/amlogic/radxa-zero2.rst @@ -1,18 +1,17 @@ .. SPDX-License-Identifier: GPL-2.0+ -U-Boot for Radxa Zero -===================== +U-Boot for Radxa Zero2 +====================== -Radxa Zero is a small form factor SBC based on the Amlogic S905Y2 -chipset that ships in a number of RAM/eMMC configurations: +Radxa Zero2 is a small form factor SBC based on the Amlogic A311D +chipset that ships in a number of eMMC configurations: -Boards with 512MB/1GB LPDDR4 RAM have no eMMC storage and BCM43436 -wireless (2.4GHz b/g/n) while 2GB/4GB boards have 8/16/32/64/128GB -eMMC storage and BCM4345 wireless (2.4/5GHz a/b/g/n/ac). - -- Amlogic S905Y2 quad-core Cortex-A53 -- Mali G31-MP2 GPU +- Amlogic A311D (Quad A73 + Dual A53) CPU +- 4GB LPDDR4 RAM +- 32/64/128GB eMMC +- Mali G52-MP4 GPU - HDMI 2.1 output (micro) +- BCM4345 WiFi (2.4/5GHz a/b/g/n/ac) and BT 5.0 - 1x USB 2.0 port - Type C (OTG) - 1x USB 3.0 port - Type C (Host) - 1x micro SD Card slot @@ -20,6 +19,7 @@ eMMC storage and BCM4345 wireless (2.4/5GHz a/b/g/n/ac). Schematics are available on the manufacturer website: +** TO-DO ** (provide updated URL) https://dl.radxa.com/zero/docs/hw/RADAX_ZERO_V13_SCH_20210309.pdf U-Boot compilation @@ -28,7 +28,7 @@ U-Boot compilation .. code-block:: bash $ export CROSS_COMPILE=aarch64-none-elf- - $ make radxa-zero_defconfig + $ make radxa-zero2_defconfig $ make Image creation @@ -42,6 +42,7 @@ git trees published by the board vendor: .. code-block:: bash + ** TO-DO ** UPDATE URLs $ git clone -b radxa-zero-v2021.07 https://github.com/radxa/u-boot.git $ git clone https://github.com/radxa/fip.git @@ -54,11 +55,11 @@ git trees published by the board vendor: $ export CROSS_COMPILE=/opt/gcc-arm-10.2-2020.11-x86_64-aarch64-none-elf/bin/aarch64-none-elf- $ export ARCH=arm $ cd u-boot - $ make radxa-zero_defconfig + $ make radxa-zero2_defconfig $ make - $ cp u-boot.bin ../fip/radxa-zero/bl33.bin - $ cd ../fip/radxa-zero + $ cp u-boot.bin ../fip/radxa-zero2/bl33.bin + $ cd ../fip/radxa-zero2 $ make This will generate: -- 2.34.1