内核下载来自官方的
git clone -b zero-5.2.y --depth 1 https://github.com/Lichee-Pi/linux.git
按照aodzip的步骤
将cedar放入内核中
编译配置
> Device Drivers > Staging drivers > Media staging drivers
[星] Allwinner sunXi family Video Devices
<星> Allwinner CedarX Video Engine Driver # ve驱动
<星> Allwinner CedarX Ion Driver #ion接口
> Library routines
- 星号-DMA Contiguous Memory Allocator
Default contiguous memory area size:
(32) Size in Mega Bytes
Selected region size (Use mega bytes value only) --->
按照提示修改设备树
修改sun8i-v3s.dtsi
编译后将zimage和sun8i-v3s-licheepi-zero.dtb放进第一分区
跑起来后没有/dev/ion和/dev/cedar_dev
离线