RPi5 Raspbian lsmod for Nerves support

Brief context. The Raspberry Pi 5 works with Nerves. They recently released the AI kit, a kind of cool Hailo 8L if memory serves. This thing should be a fair bit faster than the Coral USB dongles people commonly use.

Anyway, @fhunleth asked for an lsmod from a Raspbian running on this so I’m providing and the forum is better than Slack for posterity:

pi@raspberrypi:~ $ lsmod
Module                  Size  Used by
rfcomm                 81920  4
snd_seq_dummy          49152  0
snd_hrtimer            49152  1
snd_seq                98304  7 snd_seq_dummy
snd_seq_device         49152  1 snd_seq
algif_hash             49152  1
algif_skcipher         49152  1
af_alg                 49152  6 algif_hash,algif_skcipher
bnep                   49152  2
binfmt_misc            49152  1
brcmfmac_wcc           49152  0
brcmfmac              360448  1 brcmfmac_wcc
brcmutil               49152  1 brcmfmac
hci_uart               65536  0
btbcm                  49152  1 hci_uart
bluetooth             622592  33 hci_uart,btbcm,bnep,rfcomm
cfg80211             1032192  1 brcmfmac
aes_ce_blk             49152  4
aes_ce_cipher          49152  1 aes_ce_blk
ghash_ce               49152  0
rpivid_hevc            65536  0
gf128mul               49152  1 ghash_ce
sha2_ce                49152  0
pisp_be                49152  0
sha256_arm64           49152  1 sha2_ce
ecdh_generic           49152  2 bluetooth
sha1_ce                49152  0
ecc                    65536  1 ecdh_generic
v4l2_mem2mem           65536  1 rpivid_hevc
rfkill                 49152  6 bluetooth,cfg80211
libaes                 49152  4 aes_ce_cipher,bluetooth,ghash_ce,aes_ce_blk
videobuf2_dma_contig    49152  2 pisp_be,rpivid_hevc
videobuf2_memops       49152  1 videobuf2_dma_contig
videobuf2_v4l2         49152  3 pisp_be,rpivid_hevc,v4l2_mem2mem
hailo_pci              98304  0
videodev              344064  4 pisp_be,videobuf2_v4l2,rpivid_hevc,v4l2_mem2mem
raspberrypi_hwmon      49152  0
videobuf2_common       98304  6 pisp_be,videobuf2_dma_contig,videobuf2_v4l2,rpivid_hevc,v4l2_mem2mem,videobuf2_memops
mc                     81920  6 videodev,pisp_be,videobuf2_v4l2,videobuf2_common,rpivid_hevc,v4l2_mem2mem
pwm_fan                49152  0
nvmem_rmem             49152  0
rp1_adc                49152  0
raspberrypi_gpiomem    49152  0
uio_pdrv_genirq        49152  0
uio                    49152  1 uio_pdrv_genirq
i2c_dev                49152  0
fuse                  147456  5
dm_mod                163840  0
ip_tables              65536  0
x_tables               81920  1 ip_tables
ipv6                  589824  42
spidev                 49152  0
vc4                   409600  10
snd_soc_hdmi_codec     49152  2
v3d                   114688  4
drm_display_helper     49152  1 vc4
cec                    65536  1 vc4
drm_dma_helper         49152  2 vc4
drm_kms_helper        262144  2 drm_dma_helper,vc4
gpu_sched              98304  1 v3d
snd_soc_core          327680  2 vc4,snd_soc_hdmi_codec
spi_bcm2835            49152  0
snd_compress           49152  1 snd_soc_core
i2c_brcmstb            49152  0
snd_pcm_dmaengine      49152  1 snd_soc_core
snd_pcm               163840  4 snd_soc_hdmi_codec,snd_compress,snd_soc_core,snd_pcm_dmaengine
drm_shmem_helper       49152  1 v3d
gpio_keys              49152  0
drm                   720896  17 gpu_sched,drm_kms_helper,drm_dma_helper,v3d,vc4,drm_shmem_helper,drm_display_helper
snd_timer              65536  3 snd_seq,snd_hrtimer,snd_pcm
snd                   147456  9 snd_seq,snd_seq_device,snd_soc_hdmi_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
drm_panel_orientation_quirks    49152  1 drm
backlight              49152  2 drm_kms_helper,drm
1 Like

Now to do the install steps and run it again.

After going through this instruction: https://www.raspberrypi.com/documentation/accessories/ai-kit.html

pi@raspberrypi:~ $ sudo hailortcli fw-control identify
Executing on device: 0000:01:00.0
Identifying board
Control Protocol Version: 2
Firmware Version: 4.17.0 (release,app,extended context switch buffer)
Logger Version: 0
Board Name: Hailo-8
Device Architecture: HAILO8L
Serial Number: HLDDLBB241602174
Part Number: HM21LB1C2LAE
Product Name: HAILO-8L AI ACC M.2 B+M KEY MODULE EXT TMP
pi@raspberrypi:~ $ sudo lsmod
Module                  Size  Used by
rfcomm                 81920  4
snd_seq_dummy          49152  0
snd_hrtimer            49152  1
snd_seq                98304  7 snd_seq_dummy
snd_seq_device         49152  1 snd_seq
algif_hash             49152  1
algif_skcipher         49152  1
af_alg                 49152  6 algif_hash,algif_skcipher
bnep                   49152  2
binfmt_misc            49152  1
brcmfmac_wcc           49152  0
brcmfmac              360448  1 brcmfmac_wcc
hci_uart               65536  0
btbcm                  49152  1 hci_uart
bluetooth             622592  33 hci_uart,btbcm,bnep,rfcomm
brcmutil               49152  1 brcmfmac
cfg80211             1032192  1 brcmfmac
rpivid_hevc            65536  0
aes_ce_blk             49152  4
aes_ce_cipher          49152  1 aes_ce_blk
pisp_be                49152  0
ghash_ce               49152  0
gf128mul               49152  1 ghash_ce
v4l2_mem2mem           65536  1 rpivid_hevc
sha2_ce                49152  0
ecdh_generic           49152  2 bluetooth
videobuf2_dma_contig    49152  2 pisp_be,rpivid_hevc
sha256_arm64           49152  1 sha2_ce
ecc                    65536  1 ecdh_generic
sha1_ce                49152  0
videobuf2_memops       49152  1 videobuf2_dma_contig
rfkill                 49152  6 bluetooth,cfg80211
videobuf2_v4l2         49152  3 pisp_be,rpivid_hevc,v4l2_mem2mem
libaes                 49152  4 aes_ce_cipher,bluetooth,ghash_ce,aes_ce_blk
videodev              344064  4 pisp_be,videobuf2_v4l2,rpivid_hevc,v4l2_mem2mem
hailo_pci              98304  0
videobuf2_common       98304  6 pisp_be,videobuf2_dma_contig,videobuf2_v4l2,rpivid_hevc,v4l2_mem2mem,videobuf2_memops
raspberrypi_hwmon      49152  0
mc                     81920  6 videodev,pisp_be,videobuf2_v4l2,videobuf2_common,rpivid_hevc,v4l2_mem2mem
pwm_fan                49152  0
raspberrypi_gpiomem    49152  0
rp1_adc                49152  0
nvmem_rmem             49152  0
uio_pdrv_genirq        49152  0
uio                    49152  1 uio_pdrv_genirq
fuse                  147456  5
i2c_dev                49152  0
dm_mod                163840  0
ip_tables              65536  0
x_tables               81920  1 ip_tables
ipv6                  589824  50
vc4                   409600  10
snd_soc_hdmi_codec     49152  2
drm_display_helper     49152  1 vc4
cec                    65536  1 vc4
drm_dma_helper         49152  2 vc4
drm_kms_helper        262144  2 drm_dma_helper,vc4
spidev                 49152  0
snd_soc_core          327680  2 vc4,snd_soc_hdmi_codec
snd_compress           49152  1 snd_soc_core
snd_pcm_dmaengine      49152  1 snd_soc_core
v3d                   114688  4
snd_pcm               163840  4 snd_soc_hdmi_codec,snd_compress,snd_soc_core,snd_pcm_dmaengine
spi_bcm2835            49152  0
snd_timer              65536  3 snd_seq,snd_hrtimer,snd_pcm
i2c_brcmstb            49152  0
snd                   147456  9 snd_seq,snd_seq_device,snd_soc_hdmi_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
gpu_sched              98304  1 v3d
drm_shmem_helper       49152  1 v3d
gpio_keys              49152  0
drm                   720896  17 gpu_sched,drm_kms_helper,drm_dma_helper,v3d,vc4,drm_shmem_helper,drm_display_helper
drm_panel_orientation_quirks    49152  1 drm
backlight              49152  2 drm_kms_helper,drm

Thanks. It looks like this will be involved than just enabling a kernel option. I see the hailo_pci entry and everything else looked expected.

1 Like