登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
医疗 AI 怎么落地?本周四晚 19:30,「智医灵枢」开发者直播开讲,来听听一线医院的实战分享!
代码拉取完成,页面将自动刷新
开源项目
>
其他开源
>
操作系统
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
23
Star
100
Fork
44
openEuler
/
raspberrypi
代码
Issues
8
Pull Requests
0
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
openEuler 24.03 LTS 适配到树莓派 5
已完成
#IA7V92
版本
chainsx
成员
创建于
2024-06-24 17:11
1. 经过测试可用的功能:USB2, USB3, GbE, WiFi, Bluetooth, PCIE. 2. WiFi 固件加载提示: ``` [ 5.697504] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin failed with error -2 ``` 在树莓派 5 上执行以下命令即可修复: ``` ln -s /lib/firmware/brcm/brcmfmac43455-sdio.bin /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin ln -s /lib/firmware/brcm/brcmfmac43455-sdio.txt /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.txt ``` ``` [ 5.866198] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2) ``` 这个问题在 RPiOS 上没有出现,将 `brcmfmac43455-sdio.clm_blob`, `brcmfmac43455-sdio.bin`, `brcmfmac43455-sdio.txt` 替换为树莓派官方提供的最新版本还是会出现。 3. 在树莓派 5 上出现 iommu 模块 panic 的情况(不过没有发现影响): ``` CPU: 0 PID: 197 Comm: (udev-worker) Tainted: G C 6.6.0-26.0.0.4.oe2403.raspi.aarch64 #1 [ 5.384207] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT) [ 5.384209] pstate: 20400009 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 5.384213] pc : __iommu_map+0x140/0x238 [ 5.384216] lr : iommu_map_sg+0xb8/0x1c0 [ 5.384219] sp : ffffffc080a835b0 [ 5.384221] x29: ffffffc080a835b0 x28: 0000000108716000 x27: 0000000000080000 [ 5.384225] x26: ffffffd085129c80 x25: ffffff81033a01a0 x24: 0000000000000001 [ 5.384230] x23: ffffffd084e222b8 x22: 0000000000000000 x21: fffffffe00000000 [ 5.384234] x20: ffffff810873a200 x19: 0000000000000004 x18: ffffffffffffffff [ 5.384238] x17: 6964656d2f65625f x16: ffffffd084136820 x15: ffffffd0852f4008 [ 5.384242] x14: fffffffe00000000 x13: 00363630323d4d55 x12: ffffffd085867fa0 [ 5.384246] x11: ffffff81033a01e0 x10: 00000000000000c0 x9 : ffffffd08487c780 [ 5.384250] x8 : 0000000000000004 x7 : 0000000000000004 x6 : 0000000000000000 [ 5.384254] x5 : 0000000000000dc0 x4 : 0000000000000003 x3 : 0000000000080000 [ 5.384258] x2 : 0000000109980000 x1 : 0000000a7ff00000 x0 : 0000000000000000 [ 5.384262] Call trace: [ 5.384263] __iommu_map+0x140/0x238 [ 5.384267] iommu_map_sg+0xb8/0x1c0 [ 5.384270] __iommu_dma_alloc_noncontiguous.constprop.0+0x280/0x410 [ 5.384274] iommu_dma_alloc+0x248/0x348 [ 5.384277] dma_alloc_attrs+0xf8/0x108 [ 5.384282] pispbe_probe+0x794/0xa58 [pisp_be] [ 5.384294] platform_probe+0x70/0xd0 [ 5.384299] really_probe+0x150/0x2b8 [ 5.384303] __driver_probe_device+0x80/0x140 [ 5.384306] driver_probe_device+0x44/0x170 [ 5.384309] __driver_attach+0x9c/0x1b0 [ 5.384312] bus_for_each_dev+0x80/0xe8 [ 5.384316] driver_attach+0x2c/0x40 [ 5.384318] bus_add_driver+0xec/0x1f8 [ 5.384321] driver_register+0x68/0x138 [ 5.384324] __platform_driver_register+0x30/0x48 [ 5.384329] pispbe_pdrv_init+0x28/0xff8 [pisp_be] [ 5.384337] do_one_initcall+0x60/0x2c0 [ 5.384340] do_init_module+0x60/0x218 [ 5.384344] load_module+0x1f28/0x2000 [ 5.384348] __se_sys_init_module+0x1a0/0x1e0 [ 5.384352] __arm64_sys_init_module+0x24/0x38 [ 5.384355] invoke_syscall.constprop.0+0x58/0x100 [ 5.384360] do_el0_svc+0xb0/0xd8 [ 5.384364] el0_svc+0x54/0x1b8 [ 5.384369] el0t_64_sync_handler+0x100/0x130 [ 5.384374] el0t_64_sync+0x190/0x198 [ 5.384376] ---[ end trace 0000000000000000 ]--- [ 5.384393] ------------[ cut here ]------------ [ 5.384394] WARNING: CPU: 0 PID: 197 at drivers/iommu/iommu.c:2515 __iommu_unmap+0x11c/0x1c0 [ 5.384399] Modules linked in: snd_soc_hdmi_codec hci_uart(+) brcmfmac(+) drm_display_helper cec btbcm brcmutil drm_dma_helper bluetooth rpivid_hevc(C) drm_kms_helper pisp_be(+) snd_soc_core aes_ce_blk cfg80211 ecdh_generic aes_ce_cipher snd_compress v4l2_mem2mem ecc ghash_ce snd_pcm_dmaengine gf128mul spidev videobuf2_dma_contig snd_pcm videobuf2_memops libaes videobuf2_v4l2 snd_timer sha2_ce sha256_arm64 rfkill v3d snd videodev sha1_ce gpio_keys spi_bcm2835 videobuf2_common i2c_brcmstb raspberrypi_hwmon gpu_sched pwm_fan drm_shmem_helper mc raspberrypi_gpiomem rp1_adc nvmem_rmem uio_pdrv_genirq uio sch_fq_codel drm drm_panel_orientation_quirks backlight fuse nfnetlink ipv6 [ 5.384451] CPU: 0 PID: 197 Comm: (udev-worker) Tainted: G WC 6.6.0-26.0.0.4.oe2403.raspi.aarch64 #1 [ 5.384454] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT) [ 5.384455] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 5.384458] pc : __iommu_unmap+0x11c/0x1c0 [ 5.384462] lr : iommu_unmap+0x4c/0xa0 [ 5.384465] sp : ffffffc080a83580 [ 5.384466] x29: ffffffc080a83580 x28: 0000000108716000 x27: 0000000000080000 [ 5.384470] x26: ffffffd085129c80 x25: ffffff81033a01a0 x24: 0000000000000001 [ 5.384474] x23: ffffffd084e222b8 x22: 0000000000000000 x21: ffffff810873a200 [ 5.384479] x20: 0000000109980000 x19: ffffff810873a200 x18: ffffffffffffffff [ 5.384483] x17: 6964656d2f65625f x16: ffffffd084136820 x15: ffffffd0852f4008 [ 5.384487] x14: fffffffe00000000 x13: 00363630323d4d55 x12: ffffffd085867fa0 [ 5.384491] x11: ffffff81033a01e0 x10: 00000000000000c0 x9 : ffffffd08487c34c [ 5.384496] x8 : 0000000000000004 x7 : 0000000000000004 x6 : 0000000000000000 [ 5.384500] x5 : ffffffffffffffff x4 : ffffff810323a080 x3 : ffffffc080a83600 [ 5.384504] x2 : 0000000000000000 x1 : 0000000a7ff00000 x0 : 0000000000000000 [ 5.384508] Call trace: [ 5.384509] __iommu_unmap+0x11c/0x1c0 [ 5.384512] iommu_unmap+0x4c/0xa0 [ 5.384516] iommu_map_sg+0x178/0x1c0 [ 5.384519] __iommu_dma_alloc_noncontiguous.constprop.0+0x280/0x410 [ 5.384522] iommu_dma_alloc+0x248/0x348 [ 5.384524] dma_alloc_attrs+0xf8/0x108 [ 5.384528] pispbe_probe+0x794/0xa58 [pisp_be] [ 5.384537] platform_probe+0x70/0xd0 [ 5.384541] really_probe+0x150/0x2b8 [ 5.384544] __driver_probe_device+0x80/0x140 [ 5.384547] driver_probe_device+0x44/0x170 [ 5.384550] __driver_attach+0x9c/0x1b0 [ 5.384553] bus_for_each_dev+0x80/0xe8 [ 5.384556] driver_attach+0x2c/0x40 [ 5.384559] bus_add_driver+0xec/0x1f8 [ 5.384561] driver_register+0x68/0x138 [ 5.384565] __platform_driver_register+0x30/0x48 [ 5.384569] pispbe_pdrv_init+0x28/0xff8 [pisp_be] [ 5.384577] do_one_initcall+0x60/0x2c0 [ 5.384579] do_init_module+0x60/0x218 [ 5.384583] load_module+0x1f28/0x2000 [ 5.384586] __se_sys_init_module+0x1a0/0x1e0 [ 5.384590] __arm64_sys_init_module+0x24/0x38 [ 5.384594] invoke_syscall.constprop.0+0x58/0x100 [ 5.384598] do_el0_svc+0xb0/0xd8 [ 5.384602] el0_svc+0x54/0x1b8 [ 5.384606] el0t_64_sync_handler+0x100/0x130 [ 5.384610] el0t_64_sync+0x190/0x198 [ 5.384612] ---[ end trace 0000000000000000 ]--- ``` 完整启动 log:https://paste.ubuntu.com/p/Vs89HWjH5m/
1. 经过测试可用的功能:USB2, USB3, GbE, WiFi, Bluetooth, PCIE. 2. WiFi 固件加载提示: ``` [ 5.697504] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin failed with error -2 ``` 在树莓派 5 上执行以下命令即可修复: ``` ln -s /lib/firmware/brcm/brcmfmac43455-sdio.bin /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin ln -s /lib/firmware/brcm/brcmfmac43455-sdio.txt /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.txt ``` ``` [ 5.866198] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2) ``` 这个问题在 RPiOS 上没有出现,将 `brcmfmac43455-sdio.clm_blob`, `brcmfmac43455-sdio.bin`, `brcmfmac43455-sdio.txt` 替换为树莓派官方提供的最新版本还是会出现。 3. 在树莓派 5 上出现 iommu 模块 panic 的情况(不过没有发现影响): ``` CPU: 0 PID: 197 Comm: (udev-worker) Tainted: G C 6.6.0-26.0.0.4.oe2403.raspi.aarch64 #1 [ 5.384207] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT) [ 5.384209] pstate: 20400009 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 5.384213] pc : __iommu_map+0x140/0x238 [ 5.384216] lr : iommu_map_sg+0xb8/0x1c0 [ 5.384219] sp : ffffffc080a835b0 [ 5.384221] x29: ffffffc080a835b0 x28: 0000000108716000 x27: 0000000000080000 [ 5.384225] x26: ffffffd085129c80 x25: ffffff81033a01a0 x24: 0000000000000001 [ 5.384230] x23: ffffffd084e222b8 x22: 0000000000000000 x21: fffffffe00000000 [ 5.384234] x20: ffffff810873a200 x19: 0000000000000004 x18: ffffffffffffffff [ 5.384238] x17: 6964656d2f65625f x16: ffffffd084136820 x15: ffffffd0852f4008 [ 5.384242] x14: fffffffe00000000 x13: 00363630323d4d55 x12: ffffffd085867fa0 [ 5.384246] x11: ffffff81033a01e0 x10: 00000000000000c0 x9 : ffffffd08487c780 [ 5.384250] x8 : 0000000000000004 x7 : 0000000000000004 x6 : 0000000000000000 [ 5.384254] x5 : 0000000000000dc0 x4 : 0000000000000003 x3 : 0000000000080000 [ 5.384258] x2 : 0000000109980000 x1 : 0000000a7ff00000 x0 : 0000000000000000 [ 5.384262] Call trace: [ 5.384263] __iommu_map+0x140/0x238 [ 5.384267] iommu_map_sg+0xb8/0x1c0 [ 5.384270] __iommu_dma_alloc_noncontiguous.constprop.0+0x280/0x410 [ 5.384274] iommu_dma_alloc+0x248/0x348 [ 5.384277] dma_alloc_attrs+0xf8/0x108 [ 5.384282] pispbe_probe+0x794/0xa58 [pisp_be] [ 5.384294] platform_probe+0x70/0xd0 [ 5.384299] really_probe+0x150/0x2b8 [ 5.384303] __driver_probe_device+0x80/0x140 [ 5.384306] driver_probe_device+0x44/0x170 [ 5.384309] __driver_attach+0x9c/0x1b0 [ 5.384312] bus_for_each_dev+0x80/0xe8 [ 5.384316] driver_attach+0x2c/0x40 [ 5.384318] bus_add_driver+0xec/0x1f8 [ 5.384321] driver_register+0x68/0x138 [ 5.384324] __platform_driver_register+0x30/0x48 [ 5.384329] pispbe_pdrv_init+0x28/0xff8 [pisp_be] [ 5.384337] do_one_initcall+0x60/0x2c0 [ 5.384340] do_init_module+0x60/0x218 [ 5.384344] load_module+0x1f28/0x2000 [ 5.384348] __se_sys_init_module+0x1a0/0x1e0 [ 5.384352] __arm64_sys_init_module+0x24/0x38 [ 5.384355] invoke_syscall.constprop.0+0x58/0x100 [ 5.384360] do_el0_svc+0xb0/0xd8 [ 5.384364] el0_svc+0x54/0x1b8 [ 5.384369] el0t_64_sync_handler+0x100/0x130 [ 5.384374] el0t_64_sync+0x190/0x198 [ 5.384376] ---[ end trace 0000000000000000 ]--- [ 5.384393] ------------[ cut here ]------------ [ 5.384394] WARNING: CPU: 0 PID: 197 at drivers/iommu/iommu.c:2515 __iommu_unmap+0x11c/0x1c0 [ 5.384399] Modules linked in: snd_soc_hdmi_codec hci_uart(+) brcmfmac(+) drm_display_helper cec btbcm brcmutil drm_dma_helper bluetooth rpivid_hevc(C) drm_kms_helper pisp_be(+) snd_soc_core aes_ce_blk cfg80211 ecdh_generic aes_ce_cipher snd_compress v4l2_mem2mem ecc ghash_ce snd_pcm_dmaengine gf128mul spidev videobuf2_dma_contig snd_pcm videobuf2_memops libaes videobuf2_v4l2 snd_timer sha2_ce sha256_arm64 rfkill v3d snd videodev sha1_ce gpio_keys spi_bcm2835 videobuf2_common i2c_brcmstb raspberrypi_hwmon gpu_sched pwm_fan drm_shmem_helper mc raspberrypi_gpiomem rp1_adc nvmem_rmem uio_pdrv_genirq uio sch_fq_codel drm drm_panel_orientation_quirks backlight fuse nfnetlink ipv6 [ 5.384451] CPU: 0 PID: 197 Comm: (udev-worker) Tainted: G WC 6.6.0-26.0.0.4.oe2403.raspi.aarch64 #1 [ 5.384454] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT) [ 5.384455] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 5.384458] pc : __iommu_unmap+0x11c/0x1c0 [ 5.384462] lr : iommu_unmap+0x4c/0xa0 [ 5.384465] sp : ffffffc080a83580 [ 5.384466] x29: ffffffc080a83580 x28: 0000000108716000 x27: 0000000000080000 [ 5.384470] x26: ffffffd085129c80 x25: ffffff81033a01a0 x24: 0000000000000001 [ 5.384474] x23: ffffffd084e222b8 x22: 0000000000000000 x21: ffffff810873a200 [ 5.384479] x20: 0000000109980000 x19: ffffff810873a200 x18: ffffffffffffffff [ 5.384483] x17: 6964656d2f65625f x16: ffffffd084136820 x15: ffffffd0852f4008 [ 5.384487] x14: fffffffe00000000 x13: 00363630323d4d55 x12: ffffffd085867fa0 [ 5.384491] x11: ffffff81033a01e0 x10: 00000000000000c0 x9 : ffffffd08487c34c [ 5.384496] x8 : 0000000000000004 x7 : 0000000000000004 x6 : 0000000000000000 [ 5.384500] x5 : ffffffffffffffff x4 : ffffff810323a080 x3 : ffffffc080a83600 [ 5.384504] x2 : 0000000000000000 x1 : 0000000a7ff00000 x0 : 0000000000000000 [ 5.384508] Call trace: [ 5.384509] __iommu_unmap+0x11c/0x1c0 [ 5.384512] iommu_unmap+0x4c/0xa0 [ 5.384516] iommu_map_sg+0x178/0x1c0 [ 5.384519] __iommu_dma_alloc_noncontiguous.constprop.0+0x280/0x410 [ 5.384522] iommu_dma_alloc+0x248/0x348 [ 5.384524] dma_alloc_attrs+0xf8/0x108 [ 5.384528] pispbe_probe+0x794/0xa58 [pisp_be] [ 5.384537] platform_probe+0x70/0xd0 [ 5.384541] really_probe+0x150/0x2b8 [ 5.384544] __driver_probe_device+0x80/0x140 [ 5.384547] driver_probe_device+0x44/0x170 [ 5.384550] __driver_attach+0x9c/0x1b0 [ 5.384553] bus_for_each_dev+0x80/0xe8 [ 5.384556] driver_attach+0x2c/0x40 [ 5.384559] bus_add_driver+0xec/0x1f8 [ 5.384561] driver_register+0x68/0x138 [ 5.384565] __platform_driver_register+0x30/0x48 [ 5.384569] pispbe_pdrv_init+0x28/0xff8 [pisp_be] [ 5.384577] do_one_initcall+0x60/0x2c0 [ 5.384579] do_init_module+0x60/0x218 [ 5.384583] load_module+0x1f28/0x2000 [ 5.384586] __se_sys_init_module+0x1a0/0x1e0 [ 5.384590] __arm64_sys_init_module+0x24/0x38 [ 5.384594] invoke_syscall.constprop.0+0x58/0x100 [ 5.384598] do_el0_svc+0xb0/0xd8 [ 5.384602] el0_svc+0x54/0x1b8 [ 5.384606] el0t_64_sync_handler+0x100/0x130 [ 5.384610] el0t_64_sync+0x190/0x198 [ 5.384612] ---[ end trace 0000000000000000 ]--- ``` 完整启动 log:https://paste.ubuntu.com/p/Vs89HWjH5m/
评论 (
4
)
登录
后才可以发表评论
状态
已完成
待办的
进行中
已完成
已拒绝
负责人
未设置
标签
sig/sig-SBC
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
未关联
master
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/openeuler/raspberrypi.git
git@gitee.com:openeuler/raspberrypi.git
openeuler
raspberrypi
raspberrypi
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册