Firefly开源社区

打印 上一主题 下一主题

[Android] rk3566jd4 audio问题

361

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
361

rk3566jd4 audio问题

发表于 2023-2-17 18:29:18      浏览:5147 | 回复:1        打印      只看该作者   [复制链接] 楼主
本帖最后由 zhu944567126 于 2023-2-17 18:34 编辑

遇到audio有问题
关于生成audio.primary.rk30board. audio.primary.default 音频的库,请更新sdk 从legacy_hal更新到tinyalsa_hal 或者提供tinyalsa_hal的编译方法。我通过rk原厂找到了tinyalsa_hal 变异报错,这个问题源头是现在android 11 都用tinyalsa_hal ,你们老音频的framework。
现在都tinyalsa_hal。


老的程序都是几年前的事情,现在都tinyalsa_hal。

root@dcy:/media/root/1.6T/rk3566/proj/RK356X_Android11.0# mmm -j56 hardware/rockchip/audio/
18:02:15 Warning: high -j56 count compared to 31.4GB of RAM
18:02:15 If you run into segfaults or other errors, try a lower -j value
[W][2023-02-17T18:02:15+0800][326] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2023-02-17T18:02:15+0800][326] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
TARGET_PRODUCT=rk3566_firefly_aiojd4
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a55
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-2a
TARGET_2ND_CPU_VARIANT=cortex-a55
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-96-generic-x86_64-Ubuntu-16.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RQ3A.210705.001
OUT_DIR=out
============================================
[W][2023-02-17T18:02:16+0800][451] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2023-02-17T18:02:16+0800][451] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
[W][2023-02-17T18:02:16+0800][464] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2023-02-17T18:02:16+0800][464] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
[W][2023-02-17T18:02:17+0800][519] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2023-02-17T18:02:17+0800][519] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
[W][2023-02-17T18:02:17+0800][584] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2023-02-17T18:02:17+0800][584] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
$(shell date +%y%m%d%H%M) was changed, regenerating...
[W][2023-02-17T18:02:20+0800][801] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2023-02-17T18:02:20+0800][801] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
hardware/rockchip/audio/Android.mk was modified, regenerating...
[100% 1/1] initializing build system ...
device/rockchip/common/prebuild.mk:2: warning: Generating manifest snapshot at out/commit_id.xml...
device/rockchip/common/prebuild.mk:3: warning: You can disable this by removing this and setting BOARD_RECORD_COMMIT_ID := false in BoardConfig.mk
[  2% 6/283] including build/make/target/board/Android.mk ...
build fstab file with device/rockchip/common/scripts/fstab_tools/fstab.in....
rebuilding dtbo image with device/rockchip/rk356x/rk3566_firefly_aiojd4/dt-overlay.in....
build parameter.txt with device/rockchip/common/scripts/parameter_tools/parameter.in....
[ 22% 63/283] including external/rk_tee_user/v2/Android.mk ...
'building rk_tee_user v2'
[ 43% 124/283] including hardware/rockchip/camera_engine_rkisp/Android.mk ...
TARGET_BOARD_PLATFORM=rk356x
[ 46% 131/283] including hardware/rockchip/libhwjpeg/Android.mk ...
sed: /media/root/1.6T/rk3566/proj/RK356X_Android11.0/hardware/rockchip/libhwjpeg/src/version.h: No such file or directory
sed: /media/root/1.6T/rk3566/proj/RK356X_Android11.0/hardware/rockchip/libhwjpeg/src/version.h: No such file or directory
git-8885a5a author: Damon.d 2022-10-08 2022.10.8-11.48下载了最新sdk,合并了代码
[ 47% 134/283] including hardware/rockchip/librga/Android.mk ...
RGA is compiling with Android.mk Generated version.h
[ 48% 136/283] including hardware/rockchip/omx_il/Android.mk ...
date: Unknown option 'R' (see "date --help")
cp: .git/hooks/pre-commit: No such file or directory
tools/hooks .git/hooks
[W][2023-02-17T18:02:55+0800][1760] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2023-02-17T18:02:55+0800][1760] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
[W][2023-02-17T18:02:55+0800][1775] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2023-02-17T18:02:55+0800][1775] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
FAILED: ninja: unknown target 'MODULES-IN-hardware-rockchip-audio'
18:02:57 ninja failed with: exit status 1

#### failed to build some targets (42 seconds) ####

root@dcy:/media/root/1.6T/rk3566/proj/RK356X_Android11.0#






回复

使用道具 举报

发表于 2023-2-21 09:13:19        只看该作者  沙发
1. 需要 tinyalsa_hal 源码,请联系商务 sales@t-firefly.com
2. 其他来源的,请自行调试
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表