[RSB-3720] How to setup Hailo-8

Hi,

Could you please tell me how to set up Hailo-8 on RSB-3720?

I have physically connected the Hailo-8 onto the RSB-3720.

There are instructions here, though,
https://forum.aim-linux.advantech.com/t/how-to-article-edge-ai-made-efficient-advantechs-arm-based-platform-and-hailos-ai- accelerator-module/458
I do not fully understand it.

Where can I get the “rsb-3720-hailo” and “imx8LBVA0333.xml” mentioned above?

Thanks,
Shuya Saeki

Hi~

Please create the rsb-3720-halio directory manually. You can use any name you want for the directory. But please note to change the owner of the directory to adv:adv.
the screenshot below can run the repo init command in rsb-3720-halio directory for you reference.

The NXP source code repositories have been migrated to github so please reference Yocto 3.0 BSP user guide to modify XML File.
Yocto Linux BSP Ver.A User Guide for iMX8 series -Yocto 3.0 - ESS-WIKI (advantech.com.tw)

Yocto3.0 Repo Fail SOP - ESS-WIKI (advantech.com.tw)

Path for XML file: .repo/manifests/imx8LBVA0333.xml
image

2 Likes

Hi,

Thanks for your kind advice.

Is it possible to use the XML file imx8LBVA1072.xml instead of imx8LBVA0333.xml?

With this XML file I would not have to make any changes.

Thanks,
Shuya Saeki

1 Like

Hi,

Yes, it can use imx8LBVA1072 version.

2 Likes

Hi,

Bitbake terminated successfully with imx8LBVA1072.xml.
However, when booting from the SD card image, the “Starting kernel …” is displayed and it stops.

What should I do?

U-Boot SPL 2020.04-5.4.70-2.3.0+g55a841043b (Feb 13 2024 - 12:54:33 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 4000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from BOOTROM
image offset 0x8000, pagesize 0x200, ivt offset 0x0
NOTICE:  BL31: v2.2(release):rel_imx_5.4.70_2.3.0-0-gf1d7187f2-dirty
NOTICE:  BL31: Built : 12:59:10, Feb 13 2024


U-Boot 2020.04-5.4.70-2.3.0+g55a841043b (Feb 13 2024 - 12:54:33 +0000)

CPU:   i.MX8MP[8] rev1.1 1800 MHz (running at 1200 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 21C
Reset cause: POR
Model: Advantech i.MX8MPlus RSB3720A1 board
DRAM:  8 GiB
MMC:   FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... *** Warning - bad CRC, using default environment

[*]-Video Link 0Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
fail to get display timings
probe video device failed, ret -19

        [0] lcd-controller@32e80000, video
        [1] mipi_dsi@32e60000, video_bridge
        [2] adv7535@3d, panel
Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
fail to get display timings
probe video device failed, ret -19
In:    serial
Out:   serial
Err:   serial

 BuildInfo:
  - ATF f1d7187
  - U-Boot 2020.04-5.4.70-2.3.0+g55a841043b

SF: Detected w25q64dw with page size 256 Bytes, erase size 4 KiB, total 8 MiB
eth0 MAC addr = 0x74:0xFE:0x48:0x8E:0x3E:0x0B
eth1 MAC addr = 0x74:0xFE:0x48:0x8E:0x3E:0x0C
switch to partitions #0, OK
mmc1 is current device
flash target is MMC:1
Net:   eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
28965376 bytes read in 1242 ms (22.2 MiB/s)
Booting from mmc ...
61036 bytes read in 18 ms (3.2 MiB/s)
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   Using Device Tree in place at 0000000043000000, end 0000000043011e6b
Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
fail to get display timings
probe video device failed, ret -19

Starting kernel ...