[PATCH v1 18/18] board: rockchip: Add Edgeble Neural Compute Module 6

Eugen Hristev eugen.hristev at collabora.com
Thu Feb 16 09:56:56 CET 2023


On 1/30/23 16:57, Jagan Teki wrote:
> Neural Compute Module 6(Neu2) is a 96boards SoM-CB compute module
> based on Rockchip RK3588 from Edgeble AI.
> 
> General features:
> - Rockchip RK3588
> - up to 32GB LPDDR4x
> - up to 128GB eMMC
> - 2x MIPI CSI2 FPC
> 
> On module WiFi6/BT5 is available in the following Neu6 variants.
> 
> Neural Compute Module 6(Neu6) IO board is an industrial form factor
> ready-to-use IO board from Edgeble AI.
> 
> IO board offers plenty of peripherals and connectivity options and
> this patch enables basic eMMC and UART which is enough to successfully
> boot Linux.
> 
> Neu6 needs to mount on top of this IO board in order to create a
> complete Edgeble Neural Compute Module 6(Neu6) IO platform.
> 
> Boot log for the record,
> 
> DDR Version V1.08 20220617
> LPDDR4X, 2112MHz
> channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
> channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
> channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
> channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
> Manufacturer ID:0x6
> CH0 RX Vref:31.7%, TX Vref:21.8%,21.8%
> CH1 RX Vref:30.7%, TX Vref:22.8%,23.8%
> CH2 RX Vref:30.7%, TX Vref:22.8%,22.8%
> CH3 RX Vref:30.7%, TX Vref:21.8%,21.8%
> change to F1: 528MHz
> change to F2: 1068MHz
> change to F3: 1560MHz
> change to F0: 2112MHz
> out
> 
> U-Boot SPL 2023.01-00952-g1d1785a516-dirty (Jan 30 2023 - 19:53:55 +0530)
> Trying to boot from MMC1
> INFO:    Preloader serial: 2
> NOTICE:  BL31: v2.3():v2.3-391-g856309329:derrick.huang
> NOTICE:  BL31: Built : 14:15:50, Jul 18 2022
> INFO:    ext 32k is not valid
> INFO:    GICv3 without legacy support detected.
> INFO:    ARM GICv3 driver initialized in EL3
> INFO:    system boots from cpu-hwid-0
> INFO:    idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
> INFO:    dfs DDR fsp_params[0].freq_mhz= 2112MHz
> INFO:    dfs DDR fsp_params[1].freq_mhz= 528MHz
> INFO:    dfs DDR fsp_params[2].freq_mhz= 1068MHz
> INFO:    dfs DDR fsp_params[3].freq_mhz= 1560MHz
> INFO:    BL31: Initialising Exception Handling Framework
> INFO:    BL31: Initializing runtime services
> WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
> ERROR:   Error initializing runtime service opteed_fast
> INFO:    BL31: Preparing for EL3 exit to normal world
> INFO:    Entry point address = 0xa00000
> INFO:    SPSR = 0x3c9
> 
> U-Boot 2023.01-00952-g1d1785a516-dirty (Jan 30 2023 - 19:53:55 +0530)
> 
> Model: Edgeble Neu6A IO Board
> DRAM:  7.5 GiB (effective 3.7 GiB)
> Core:  71 devices, 15 uclasses, devicetree: separate
> MMC:   mmc at fe2c0000: 0
> Loading Environment from nowhere... OK
> In:    serial at feb50000
> Out:   serial at feb50000
> Err:   serial at feb50000
> Model: Edgeble Neu6A IO Board
> Net:   No ethernet found.
> Hit any key to stop autoboot:  0
> =>
> 
> Add support for Edgeble Neu6 Model A IO Board.
> 
> Signed-off-by: Jagan Teki <jagan at edgeble.ai>
> ---
>   .../dts/rk3588-edgeble-neu6a-io-u-boot.dtsi   | 24 +++++++
>   arch/arm/mach-rockchip/rk3588/Kconfig         | 15 +++++
>   board/edgeble/neural-compute-module-6/Kconfig | 15 +++++
>   .../neural-compute-module-6/MAINTAINERS       |  6 ++
>   .../edgeble/neural-compute-module-6/Makefile  |  7 ++
>   board/edgeble/neural-compute-module-6/neu6.c  |  4 ++
>   configs/neu6a-io-rk3588_defconfig             | 67 +++++++++++++++++++
>   doc/board/rockchip/rockchip.rst               |  2 +
>   include/configs/neural-compute-module-6.h     | 15 +++++
>   9 files changed, 155 insertions(+)
>   create mode 100644 arch/arm/dts/rk3588-edgeble-neu6a-io-u-boot.dtsi
>   create mode 100644 board/edgeble/neural-compute-module-6/Kconfig
>   create mode 100644 board/edgeble/neural-compute-module-6/MAINTAINERS
>   create mode 100644 board/edgeble/neural-compute-module-6/Makefile
>   create mode 100644 board/edgeble/neural-compute-module-6/neu6.c
>   create mode 100644 configs/neu6a-io-rk3588_defconfig
>   create mode 100644 include/configs/neural-compute-module-6.h



> diff --git a/doc/board/rockchip/rockchip.rst b/doc/board/rockchip/rockchip.rst
> index 28c837a382..a140c1a8a4 100644
> --- a/doc/board/rockchip/rockchip.rst
> +++ b/doc/board/rockchip/rockchip.rst
> @@ -86,6 +86,8 @@ List of mainline supported Rockchip boards:
>        - Radxa ROCK Pi 4 (rock-pi-4-rk3399)
>        - Rockchip Evb-RK3399 (evb_rk3399)
>        - Theobroma Systems RK3399-Q7 SoM - Puma (puma_rk3399)
> +* rk3588
> +     - Edgeble Neural Compute Module 6 SoM - Neu6a (neu6a-io-r1126)

Hi Jagan,

r1126 is correct on the above line ?

Eugen

>   * rv1108
>        - Rockchip Evb-rv1108 (evb-rv1108)
>        - Elgin-R1 (elgin-rv1108)



More information about the U-Boot mailing list