【每周学习摘要09(23/11/18-23/11/24)】

全志A33

核心板

经典核心板
1.锐尔威视A33-VSTAR
2.芯灵思SINLinx-SinA33
其中第二个有主线支持

开发包下载

1.一牛网
https://pan.baidu.com/s/13tXGCSaP4LRRM9uD5VqEiQ 9cpd
2.BSP开发包下载链接: https://pan.baidu.com/s/1jIvJiOu 密码: p6w7
source

编译教程

1.全志A33编译环境搭建
2.SINA33-V1.0 android系统的编译过程
3.whycan
241加油,先不弄了

在主线运行Mali GPU驱动(A33 Utgard)

sunxi的page发现的,一个是在bsp kernel加载ARM驱动(已经过时),还有一个是在主线加载驱动
当运行ARM闭源驱动的时候,运行eglinfo时看到Vendor就不是panfrost/lima而是ARM,但是不支持GLX,只支持EGL,但是可以用OpenVG,OpenCL等API(如果有)
参考bootlin的文章
这个r9p0是DDK的版本,一个DDK分为内核部分和用户空间部分
内核部分按照GPLv2开源
用户空间驱动由rk,全志,Amlogic这种签了协议的编译发布二进制blob

Xorg/GPU/APIs

术语表
EXA: Acceleration architecture with no well-defined acronym. Based on the kdrive acceleration architecture (KAA) but with some additional features and cleanups, and designed to be used within the xfree86 DDX.
DDX: Device Dependent X. The part of X that interacts with the hardware. There have been many of these over the years:xfree86, kdrive, xwin (for Windows), darwin (for OS X), xgl, vfb, xnest, and so forth. In the X server code, each directory under hw corresponds to one DDX. One DDX may have one or more device drivers. In the xfree86 DDX, each driver is a separate loadable module; in most of the other DDXes, each driver is compiled to its own server binary. Contrast: DIX.
EGL可以理解为一个API,然后通过EGL与X11的API,可以与XOrg交互。具体源码SimpleGL_example,也可以看A33主线Linux跑起OpenGL/ES
然后EGL底层有GBM/EGLStream等实现显存管理的方法,也可以是fbdev这种最基础的,见Fbdev的局限性-ARM
Wayland只是上层建筑,它可以基于GBM/EGLStream/fbdev(deprecated)这些backend...,详见Wayland-ArchWiki

瑞芯微

瑞芯微启动过程

https://opensource.rock-chips.com/wiki_Boot_option
不像全志,瑞芯微有两套启动方案,一套是闭源的二进制miniloader,还有一套是开源的u-boot TPL/SPL方案
原厂u-boot

生成ddr配置

在rkbin/tools里面有ddrbin_tool
可以用来生成ddr配置

11:29:23 ztn@DESKTOP-9D7T4FN rkbin ±|master ✗|→ ddrbin_tool -g gen_param.txt rv1126_ddr_784MHz_v1.09.bin
ddrbin_tool -g gen_param.txt rv1126_ddr_784MHz_v1.09.bin
version v1.15 20230530

Leave a Reply

Your email address will not be published. Required fields are marked *