YY3568开发板
YY3568开发板是 「风火轮科技」 基于Rockchip RK3568 芯片平台设计的开发板,四核 64Cortex-A55 核,主频最高达 2GHz,集成双核心架构GPU以及高效能NPU,芯片性能优异。开发板功能接口丰富,多媒体性能强悍、可在物联网、工业控制、智慧交通、轻量级人工智能等领域发挥独特优势。
YY3568详细的硬件说明,参考链接:http://wiki.youyeetoo.cn/zh/YY3568/IntroductiontoDevelopmentBoard#yy3568
YY3568正面硬件描述YY3568背面硬件描述
sudo apt-get update && sudo apt-get install binutils git git-lfs gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip m4 bc gnutls-bin python3.8 python3-pip ruby
git config --global user.name "yourname"
git config --global user.email "your-email-address"
git config --global credential.helper store
curl -s https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 >
/usr/local/bin/repo #如果没有权限,可下载至其他目录,并将其配置到环境变量中
chmod a+x /usr/local/bin/repo
pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests
repo init -u git@gitee.com:openharmony/manifest.git -b refs/tags/OpenHarmony-v3.2-Beta5 --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'
repo init -u https://gitee.com/openharmony/manifest -b refs/tags/OpenHarmony-v3.2-Beta5 --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'
youyootee@youyootee:~/ohos/project/youyootee/yy3568$ cd vendor
youyootee@youyootee:~/ohos/project/youyootee/yy3568/vendor$ mkdir youyootee
youyootee@youyootee:~/ohos/project/youyootee/yy3568/vendor$ cd youyootee
youyootee@youyootee:~/ohos/project/youyootee/yy3568/vendor/youyootee$ git clone https://gitee.com/RiceChen0/vendor_yy3568.git yy3568
youyootee@youyootee:~/ohos/project/youyootee/yy3568$ cd device/board/
youyootee@youyootee:~/ohos/project/youyootee/yy3568/device/board$ mkdir youyootee
youyootee@youyootee:~/ohos/project/youyootee/yy3568/device/board$ cd youyootee
youyootee@youyootee:~/ohos/project/youyootee/yy3568/device/board/youyootee$ git clone https://gitee.com/RiceChen0/board_yy3568.git yy3568
KHDF_AUDIO_BASE_ROOT_DIR = ../../../../../../..
KHDF_AUDIO_KHDF_ROOT_DIR = drivers/hdf/khdf
KHDF_FRAMEWORK_ROOT_DIR = drivers/hdf/framework
KHDF_AUDIO_ROOT_DIR = ../../../../../framework/model/audio
obj-$(CONFIG_DRIVERS_HDF_AUDIO) +=
$(KHDF_AUDIO_ROOT_DIR)/core/src/audio_core.o
$(KHDF_AUDIO_ROOT_DIR)/core/src/audio_host.o
$(KHDF_AUDIO_ROOT_DIR)/core/src/audio_parse.o
$(KHDF_AUDIO_ROOT_DIR)/common/src/audio_codec_base.o
$(KHDF_AUDIO_ROOT_DIR)/common/src/audio_dsp_base.o
$(KHDF_AUDIO_ROOT_DIR)/common/src/audio_dai_base.o
$(KHDF_AUDIO_ROOT_DIR)/common/src/audio_platform_base.o
$(KHDF_AUDIO_ROOT_DIR)/common/src/audio_dma_base.o
$(KHDF_AUDIO_ROOT_DIR)/sapm/src/audio_sapm.o
$(KHDF_AUDIO_ROOT_DIR)/dispatch/src/audio_stream_dispatch.o
$(KHDF_AUDIO_ROOT_DIR)/dispatch/src/audio_control_dispatch.o
obj-$(CONFIG_DRIVERS_HDF_AUDIO_RK3568) +=
$(KHDF_AUDIO_BASE_ROOT_DIR)/device/board/youyootee/yy3568/audio_drivers/
ccflags-$(CONFIG_DRIVERS_HDF_AUDIO) += -lm -lc -lgcc -std=gnu99 -Werror
-I$(srctree)/$(KHDF_AUDIO_KHDF_ROOT_DIR)/osal/include
-I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/include/core
-I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/include/utils
-I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/include/osal
-I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/include/platform
-I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/include/config
-I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/include/audio
-I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/ability/sbuf/include
-I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/core/common/include/host
-I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/core/host/include
-I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/model/audio/core/include
-I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/model/audio/sapm/include
-I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/model/audio/dispatch/include
-I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/model/audio/common/include
-I$(srctree)/bounds_checking_function/include
ccflags-$(CONFIG_DRIVERS_HDF_AUDIO_CAP_REPORT) += -DAUDIO_ENABLE_CAP_THRESHOLD
youyootee@youyootee:~/ohos/project/youyootee/yy3568$ bash build/prebuilts_download.sh
Looking in indexes: http://repo.huaweicloud.com/repository/pypi/simple
Requirement already satisfied: rich in /home/rice/.local/lib/python3.8/site-packages (13.3.1)
Requirement already satisfied: markdown-it-py<3.0.0,>=2.1.0 in /home/rice/.local/lib/python3.8/site-packages (from rich) (2.2.0)
Requirement already satisfied: pygments<3.0.0,>=2.14.0 in /home/rice/.local/lib/python3.8/site-packages (from rich) (2.14.0)
.....
(from prompt_toolkit==1.0.14) (1.16.0)
Requirement already satisfied: wcwidth in ./prebuilts/python/linux-x86/3.9.2/lib/python3.9/site-packages (from prompt_toolkit==1.0.14) (0.2.5)
WARNING: You are using pip version 20.2.3; however, version 23.0.1 is available.
You should consider upgrading via the '/home/rice/ohos/project/youyootee/yy3568/prebuilts/python/linux-x86/3.9.2/bin/python3.9 -m pip install --upgrade pip' command.
youyootee@youyootee:~/ohos/project/youyootee/yy3568$
youyootee@youyootee:~/ohos/project/youyootee/yy3568$ ./build.sh --product-name yy3568 –ccache
++++++++++++++++++++++++++++++++++++++++
The system shell is bash 5.0.17(1)-release
++++++++++++++++++++++++++++++++++++++++
2023-04-03 17:45:50
--product-name yy3568 –ccache
[OHOS INFO] Set cache size limit to 100.0 GB
......
[OHOS INFO] c overall build overlap rate: 1.06
[OHOS INFO]
[OHOS INFO]
[OHOS INFO] yy3568 build success
[OHOS INFO] cost time: 0:13:17
=====build successful=====
2023-04-03 17:59:08
++++++++++++++++++++++++++++++++++++++++
youyootee@youyootee:~/ohos/project/youyootee/yy3568$
youyootee@youyootee:~/ohos/project/youyootee/yy3568/out/yy3568/packages/phone/images$ ls
boot_linux.img config.cfg parameter.txt resource.img system.img updater.img vendor.img
chip_prod.img MiniLoaderAll.bin ramdisk.img sys_prod.img uboot.img userdata.img
youyootee@youyootee:~/ohos/project/youyootee/yy3568/out/yy3568/packages/phone/images$
欢迎关注微信公众号『Rice嵌入式开发技术分享』
全部0条评论
快来发表一下你的评论吧 !