Firefly开源社区

标题: firefly ROC-rk3566-PC主板和官网sdk固件不能正常开机 [打印本页]

作者: 嘟~嘟xfwu    时间: 2021-12-28 18:36
标题: firefly ROC-rk3566-PC主板和官网sdk固件不能正常开机
使用官方下载的sdk,git log查看
commit 47b12149d90dc56b3ef7a8e99a3848f82c1e436a
Author: Firefly <service@t-firefly.com>
Date:   Fri Nov 19 11:50:09 2021 +0800

    aosp update to android-11.0.0_r39
应该是最新的
编译方法:
./FFTools/make.sh -d rk3566-roc-pc -j8 -l rk3566_roc_pc-userdebug
./FFTools/mkupdate/mkupdate.sh -l rk3566_roc_pc-userdebug
刷机后,一直卡在android动画那几十分钟了。
但是刷官方下载的固件,能够正常开机。
现在不知道哪里有问题
作者: 嘟~嘟xfwu    时间: 2021-12-28 18:41
自己顶一下,有帮忙看看么,谢谢
作者: zyk    时间: 2021-12-28 18:52
有log吗
作者: 嘟~嘟xfwu    时间: 2021-12-28 19:05
zyk 发表于 2021-12-28 18:52
有log吗

没有,串口打印都是乱的,我试过115200  1500000都不行
作者: 嘟~嘟xfwu    时间: 2021-12-28 19:09
同时,我试过你发的贴“rk3566/rk3568 烧写异常问题”,效果一样
作者: 嘟~嘟xfwu    时间: 2021-12-28 19:16
[   73.888389] init: Created socket '/dev/socket/usap_pool_secondary', mode 660, user 0, group 1000
[   74.409814] type=1400 audit(1637419697.183:39): avc: denied { execute_no_trans } for comm="audio.service" path="/vendor/bin/sh" dev="dm-2" ino=196 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:vendor_shell_exec:s0 tclass=file permissive=1
[   78.885323] init: starting service 'netd'...
[   78.886011] init: Created socket '/dev/socket/dnsproxyd', mode 660, user 0, group 3003
[   78.886494] init: Created socket '/dev/socket/mdns', mode 660, user 0, group 1000
[   78.886882] init: Created socket '/dev/socket/fwmarkd', mode 660, user 0, group 3003
[   78.890408] init: starting service 'zygote'...
[   78.891084] init: Created socket '/dev/socket/zygote', mode 660, user 0, group 1000
[   78.891527] init: Created socket '/dev/socket/usap_pool_primary', mode 660, user 0, group 1000
[   78.895092] init: starting service 'zygote_secondary'...
[   78.895765] init: Created socket '/dev/socket/zygote_secondary', mode 660, user 0, group 1000
[   78.896422] init: Created socket '/dev/socket/usap_pool_secondary', mode 660, user 0, group 1000
[   83.893024] init: starting service 'netd'...
[   83.893669] init: Created socket '/dev/socket/dnsproxyd', mode 660, user 0, group 3003
[   83.894113] init: Created socket '/dev/socket/mdns', mode 660, user 0, group 1000
[   83.894491] init: Created socket '/dev/socket/fwmarkd', mode 660, user 0, group 3003
[   83.898004] init: starting service 'zygote'...
[   83.898689] init: Created socket '/dev/socket/zygote', mode 660, user 0, group 1000
[   83.899232] init: Created socket '/dev/socket/usap_pool_primary', mode 660, user 0, group 1000
[   83.902801] init: starting service 'zygote_secondary'...
[   83.903547] init: Created socket '/dev/socket/zygote_secondary', mode 660, user 0, group 1000
[   83.904115] init: Created socket '/dev/socket/usap_pool_secondary', mode 660, user 0, group 1000
[   84.413128] type=1400 audit(1637419707.186:40): avc: denied { execute_no_trans } for comm="audio.service" path="/vendor/bin/sh" dev="dm-2" ino=196 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:vendor_shell_exec:s0 tclass=file permissive=1
[   88.900554] init: starting service 'netd'...
[   88.901168] init: Created socket '/dev/socket/dnsproxyd', mode 660, user 0, group 3003
[   88.901599] init: Created socket '/dev/socket/mdns', mode 660, user 0, group 1000
[   88.901977] init: Created socket '/dev/socket/fwmarkd', mode 660, user 0, group 3003
[   88.905525] init: starting service 'zygote'...
[   88.906403] init: Created socket '/dev/socket/zygote', mode 660, user 0, group 1000
[   88.906925] init: Created socket '/dev/socket/usap_pool_primary', mode 660, user 0, group 1000
[   88.910486] init: starting service 'zygote_secondary'...
[   88.911321] init: Created socket '/dev/socket/zygote_secondary', mode 660, user 0, group 1000
[   88.912033] init: Created socket '/dev/socket/usap_pool_secondary', mode 660, user 0, group 1000
[   93.906440] init: starting service 'netd'...
[   93.907076] init: Created socket '/dev/socket/dnsproxyd', mode 660, user 0, group 3003
[   93.907512] init: Created socket '/dev/socket/mdns', mode 660, user 0, group 1000
[   93.907885] init: Created socket '/dev/socket/fwmarkd', mode 660, user 0, group 3003
[   93.911509] init: starting service 'zygote'...
[   93.912215] init: Created socket '/dev/socket/zygote', mode 660, user 0, group 1000
[   93.912826] init: Created socket '/dev/socket/usap_pool_primary', mode 660, user 0, group 1000
[   93.916486] init: starting service 'zygote_secondary'...
[   93.917223] init: Created socket '/dev/socket/zygote_secondary', mode 660, user 0, group 1000
[   93.917798] init: Created socket '/dev/socket/usap_pool_secondary', mode 660, user 0, group 1000
[   94.419708] type=1400 audit(1637419717.193:41): avc: denied { execute_no_trans } for comm="audio.service" path="/vendor/bin/sh" dev="dm-2" ino=196 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:vendor_shell_exec:s0 tclass=file permissive=1
[   98.914393] init: starting service 'netd'...
[   98.915033] init: Created socket '/dev/socket/dnsproxyd', mode 660, user 0, group 3003
[   98.915479] init: Created socket '/dev/socket/mdns', mode 660, user 0, group 1000
[   98.915912] init: Created socket '/dev/socket/fwmarkd', mode 660, user 0, group 3003
[   98.919463] init: starting service 'zygote'...
[   98.920190] init: Created socket '/dev/socket/zygote', mode 660, user 0, group 1000
[   98.920713] init: Created socket '/dev/socket/usap_pool_primary', mode 660, user 0, group 1000
[   98.924292] init: starting service 'zygote_secondary'...
[   98.924987] init: Created socket '/dev/socket/zygote_secondary', mode 660, user 0, group 1000
[   98.925547] init: Created socket '/dev/socket/usap_pool_secondary', mode 660, user 0, group 1000
[   99.423494] type=1400 audit(1637419722.196:42): avc: denied { execute_no_trans } for comm="audio.service" path="/vendor/bin/sh" dev="dm-2" ino=196 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:vendor_shell_exec:s0 tclass=file permissive=1

image.jpg (229.84 KB, 下载次数: 828)

image.jpg

作者: 嘟~嘟xfwu    时间: 2021-12-28 19:19

作者: zyk    时间: 2021-12-28 20:18
有改过代码吗
作者: 嘟~嘟xfwu    时间: 2021-12-29 08:55
zyk 发表于 2021-12-28 20:18
有改过代码吗

什么代码都没修改哈,最近几天才收到板子和下载好sdk
作者: 嘟~嘟xfwu    时间: 2021-12-29 08:58
zyk 发表于 2021-12-28 20:18
有改过代码吗

需要我发下git log么?还是我重新下载sdk解压,重新弄一份
作者: 嘟~嘟xfwu    时间: 2021-12-29 09:04
allan@ubuntu:~/work1/RK3566_a11/RK356x_a11$ .bundle/update && git rebase FETCH_HEAD
[Info]Update Bundle repo...
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
-------------------------------------------
[Info]Update to FETCH_HEAD:
来自 .bundle/8.bundle
* branch            HEAD       -> FETCH_HEAD
[Info]Fetch .bundle/8.bundle successfully!!
当前分支 firefly 是最新的。
作者: zyk    时间: 2021-12-29 09:50
bundle和sdk的压缩包校验过是否都正确。如果没有问题可以尝试回退一个大版本再编译试一下
作者: 嘟~嘟xfwu    时间: 2021-12-29 11:03
zyk 发表于 2021-12-29 09:50
bundle和sdk的压缩包校验过是否都正确。如果没有问题可以尝试回退一个大版本再编译试一下

看了md5值,是一样的。有大版本的commit id么,发我一个,我回退一下,谢谢
作者: firefly_zhongw    时间: 2021-12-29 11:03
本帖最后由 firefly_zhongw 于 2021-12-29 11:12 编辑

1. 检查SDK有没有如下两个so文件
  1. vendor/rockchip/common/tinyalsa/lib/hw/audio.primary.rk30board.so
  2. vendor/rockchip/common/tinyalsa/lib64/hw/audio.primary.rk30board.so
复制代码

2. 检查板子里有没有如下两个so文件,用调试串口查看
  1. /vendor/lib/hw/audio.primary.rk30board.so
  2. /vendor/lib64/hw/audio.primary.rk30board.so
复制代码

作者: 嘟~嘟xfwu    时间: 2021-12-29 16:31
谢谢两位哈,重新download代码,就好了
作者: firefly_zhongw    时间: 2021-12-29 17:36
嘟~嘟xfwu 发表于 2021-12-29 16:31
谢谢两位哈,重新download代码,就好了

重新download代码 ?
----> 是重新编译固件还是重新烧录固件,或者是重新下载SDK压缩包?
具体是怎么解决的,能描述一下么?
作者: 嘟~嘟xfwu    时间: 2022-1-4 17:14
firefly_zhongw 发表于 2021-12-29 17:36
重新download代码 ?
----> 是重新编译固件还是重新烧录固件,或者是重新下载SDK压缩包?
具体是怎么解 ...

重新下载代码,不作修改,直接编译,烧录固件,就可以了




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1