Collecting the Source and Build Process for Board-specific .deb Files

Community,

I am trying to come up with a way that we all can start tracking what we need from Radxa and Rockchip to effectively maintain and mainline the customizations needed to keep this board maximally performant as the board continues on its lifecycle. I’ve been reviewing what is available, and one thing I think it would be helpful for us to collect the best and most maintained sources of the .deb files provided by the Debos-based build and how to build them. This would allow to identify:

  1. Where Radxa is maintaining the most current versions of patchsets for the underlying package

  2. What projects need to be engaged with to upstream needed patches.

  3. Identifying closed and open source portions of the body of work, and identify any potential licensing issues

  4. Identifying gaps of information we need to obtain from Radxa or Rockchip before their focus eventually shifts to the next board.

To this end, I wanted to propose we work on filling out the following table, obtained from the latest radxa debos github repo:

category .deb source build instructions
audio dthelper_10.0.2-1_all.deb
audio libreelec-alsa-utils_10.0.2-1_all.deb
bt_wifi broadcom-wifibt-firmware_2.5_all.deb
bt_wifi intel-wifibt-firmware_0.1_all.deb
bt_wifi qualcomm-wifibt-firmware_0.1_all.deb
bt_wifi realtek-bt-firmware_0.3_all.deb
bt_wifi realtek-wifibt-firmware_0.5_all.deb
bt_wifi rtl8723be-firmware_0.1_all.deb
bt_wifi rtl8723ds-firmware_0.5_arm64.deb
camera camera-engine-rkaiq_3.0.2_arm64.deb
camera rkisp-engine_2.2.0-2_arm64.deb
chromium chromium-x11-dbgsym_91.0.4472.164_arm64.deb
chromium chromium-x11_91.0.4472.164_arm64.deb
devel 96boards-tools-common_0.9_all.deb
devel amlogic-adbd_0.2_arm64.deb
devel brcm-patchram-plus1_0.2_arm64.deb
devel glmark2-data_2021.02+ds-1_all.deb
devel glmark2-es2-x11-dbgsym_2021.02+ds-1_arm64.deb
devel glmark2-es2-x11_2021.02+ds-1_arm64.deb
devel glmark2_0.1_arm64.deb
devel io_0.1_arm64.deb
devel libmraa-buster_1.6_arm64.deb
devel libmraa-focal_1.6_arm64.deb
devel linaro-overlay-minimal_1112.10_all.deb
devel radxa-add-overlay_0.1_all.deb
devel radxa-e25-led_0.1_arm64.deb
devel resize-assistant_0.2_all.deb
devel rockchip-adbd_0.6_arm64.deb
devel upgrade-tool_1.0_arm64.deb
gstreamer gstreamer1.0-rockchip1-extra-dbgsym_20190621-1_arm64.deb
gstreamer gstreamer1.0-rockchip1-extra_20190621-1_arm64.deb
kernel amlogic-overlay_0.2-1_all.deb
kernel linux-4.19-rock-3-latest_4.19.193-55-rockchip_arm64.deb
kernel linux-4.4-rock-pi-4-latest_4.4.154-116-rockchip_all.deb
kernel linux-4.4-rock-pi-e-latest_4.4.194-19-rockchip_arm64.deb
kernel linux-4.4-rock-pi-n10-latest_4.4.167-21-rockchip_arm64.deb
kernel linux-4.4-rock-pi-s-latest_4.4.143-69-rockchip_arm64.deb
kernel linux-5.10-radxa-zero-latest_5.10.69-13-amlogic_arm64.deb
kernel linux-firmware-image-4.4.143-69-rockchip-g8ccef796d27d_4.4.143-69-rockchip_arm64.deb
kernel linux-firmware-image-4.4.154-116-rockchip-g86a614bc15b3_4.4.154-116-rockchip_all.deb
kernel linux-firmware-image-4.4.167-21-rockchip-g206ee2c36a39_4.4.167-21-rockchip_arm64.deb
kernel linux-firmware-image-4.4.194-11-rk3399-rockchip-g1bb08d49cc40_4.4.194-11-rk3399-rockchip_arm64.deb
kernel linux-firmware-image-4.4.194-19-rockchip-g287ff75afc47_4.4.194-19-rockchip_arm64.deb
kernel linux-headers-4.19.193-55-rockchip-g0c67c7a5a8d6_4.19.193-55-rockchip_arm64.deb
kernel linux-headers-4.4.143-69-rockchip-g8ccef796d27d_4.4.143-69-rockchip_arm64.deb
kernel linux-headers-4.4.154-116-rockchip-g86a614bc15b3_4.4.154-116-rockchip_all.deb
kernel linux-headers-4.4.167-21-rockchip-g206ee2c36a39_4.4.167-21-rockchip_arm64.deb
kernel linux-headers-4.4.194-11-rk3399-rockchip-g1bb08d49cc40_4.4.194-11-rk3399-rockchip_arm64.deb
kernel linux-headers-4.4.194-19-rockchip-g287ff75afc47_4.4.194-19-rockchip_arm64.deb
kernel linux-headers-5.10.131-4-rockchip-g55a44de4ad94_5.10.131-4-rockchip-g55a44de4ad94_arm64.deb
kernel linux-headers-5.10.66-20-rockchip-g0cdf37b755fe_5.10.66-20-rockchip_arm64.deb
kernel linux-headers-5.10.69-13-amlogic-g104342c59952_5.10.69-13-amlogic_arm64.deb
kernel linux-image-4.19.193-55-rockchip-g0c67c7a5a8d6_4.19.193-55-rockchip_arm64.deb
kernel linux-image-4.4.143-69-rockchip-g8ccef796d27d_4.4.143-69-rockchip_arm64.deb
kernel linux-image-4.4.154-116-rockchip-g86a614bc15b3_4.4.154-116-rockchip_all.deb
kernel linux-image-4.4.167-21-rockchip-g206ee2c36a39_4.4.167-21-rockchip_arm64.deb
kernel linux-image-4.4.194-11-rk3399-rockchip-g1bb08d49cc40_4.4.194-11-rk3399-rockchip_arm64.deb
kernel linux-image-4.4.194-19-rockchip-g287ff75afc47_4.4.194-19-rockchip_arm64.deb
kernel linux-image-5.10.131-4-rockchip-g55a44de4ad94_5.10.131-4-rockchip-g55a44de4ad94_arm64.deb
kernel linux-image-5.10.66-20-rockchip-g0cdf37b755fe_5.10.66-20-rockchip_arm64.deb
kernel linux-image-5.10.69-13-amlogic-g104342c59952_5.10.69-13-amlogic_arm64.deb
kernel rockchip-overlay_4.1_all.deb
kernel rockpi4-dtbo_5.3_all.deb
libdrm libkms1-dbgsym_2.4.104-1_arm64.deb https://github.com/JeffyCN/drm-udl/tree/master/debian
libdrm libkms1_2.4.104-1_arm64.deb https://github.com/JeffyCN/drm-udl/tree/master/debian
libdrm-cursor libdrm-cursor-dbgsym_1.3.0-1_arm64.deb https://github.com/JeffyCN/drm-cursor
libdrm-cursor libdrm-cursor-dev_1.3.0-1_arm64.deb https://github.com/JeffyCN/drm-cursor
libdrm-cursor libdrm-cursor_1.3.0-1_arm64.deb https://github.com/JeffyCN/drm-cursor
libmali libmali-valhall-g610-g6p0-x11_1.9-1_arm64.deb
libmali rockchip-mali-midgard-dev_1.6-2_arm64.deb
libmali rockchip-mali-midgard14_1.6-2_arm64.deb
libv4l dvb-tools-dbgsym_1.20.0-2_arm64.deb
libv4l dvb-tools_1.20.0-2_arm64.deb
libv4l ir-keytable-dbgsym_1.20.0-2_arm64.deb
libv4l ir-keytable_1.20.0-2_arm64.deb
libv4l libdvbv5-0-dbgsym_1.20.0-2_arm64.deb
libv4l libdvbv5-0_1.20.0-2_arm64.deb
libv4l libdvbv5-dev_1.20.0-2_arm64.deb
libv4l libdvbv5-doc_1.20.0-2_all.deb
libv4l libv4l-0-dbgsym_1.20.0-2_arm64.deb
libv4l libv4l-0_1.20.0-2_arm64.deb
libv4l libv4l-dev_1.20.0-2_arm64.deb
libv4l libv4l-rkmpp-dbgsym_1.4.0-1_arm64.deb https://github.com/JeffyCN/libv4l-rkmpp
libv4l libv4l-rkmpp_1.4.0-1_arm64.deb https://github.com/JeffyCN/libv4l-rkmpp
libv4l libv4l2rds0-dbgsym_1.20.0-2_arm64.deb
libv4l libv4l2rds0_1.20.0-2_arm64.deb
libv4l libv4lconvert0-dbgsym_1.20.0-2_arm64.deb
libv4l libv4lconvert0_1.20.0-2_arm64.deb
libv4l qv4l2-dbgsym_1.20.0-2_arm64.deb
libv4l qv4l2_1.20.0-2_arm64.deb
libv4l v4l-utils-dbgsym_1.20.0-2_arm64.deb https://github.com/JeffyCN/v4l-utils
libv4l v4l-utils_1.20.0-2_arm64.deb https://github.com/JeffyCN/v4l-utils
mpp librockchip-mpp-dev_1.5.0-1_arm64.deb
mpp librockchip-mpp1-dbgsym_1.5.0-1_arm64.deb
mpp librockchip-mpp1_1.5.0-1_arm64.deb
mpp librockchip-vpu0-dbgsym_1.5.0-1_arm64.deb
mpp librockchip-vpu0_1.5.0-1_arm64.deb
mpp rockchip-mpp-demos-dbgsym_1.5.0-1_arm64.deb
mpp rockchip-mpp-demos_1.5.0-1_arm64.deb
mpv libmpv-dev_0.29.1-1_arm64.deb https://github.com/JeffyCN/mpv ?
mpv libmpv1-dbgsym_0.29.1-1_arm64.deb https://github.com/JeffyCN/mpv ?
mpv libmpv1_0.29.1-1_arm64.deb https://github.com/JeffyCN/mpv ?
mpv mpv-dbgsym_0.29.1-1_arm64.deb https://github.com/JeffyCN/mpv
mpv mpv_0.29.1-1_arm64.deb https://github.com/JeffyCN/mpv
net networkmanager-patch_0.1_all.deb
npu rockchip-npu_0.6_arm64.deb
rga librga-dev_2.1.0-1_arm64.deb
rga librga-dev_2.2.0-1_arm64.deb
rga librga2-dbgsym_2.1.0-1_arm64.deb
rga librga2-dbgsym_2.2.0-1_arm64.deb
rga librga2_2.1.0-1_arm64.deb
rga librga2_2.2.0-1_arm64.deb
u-boot radxa-cm3-io-rk-ubootimg_2017.09-gcd33ad2313-211223_all.deb
u-boot radxa-e23-rk-ubootimg_2017.09-gcd33ad2313-211223_all.deb
u-boot radxa-e25-rk-ubootimg_2017.09-g26d3b6963ed-211223_all.deb
u-boot radxa-nx5-rk-ubootimg_2017.09-gb94363dedba-220414_all.deb
u-boot radxa-zero-ubootimg_2021.07-24136-g50c984a15b_all.deb
u-boot radxa-zero2-ubootimg_2021.07-24134-g5d52488414_all.deb
u-boot rock-3a-rk-ubootimg_2017.09-gcd33ad2313-211223_all.deb
u-boot rock-3b-rk-ubootimg_2017.09-gcd33ad2313-211223_all.deb
u-boot rock-3c-rk-ubootimg_2017.09-gcd33ad2313-211223_all.deb
u-boot rock-4c-plus-rk-ubootimg_2017.09-00028-g8e67d58161_all.deb
u-boot rock-5a-rk-ubootimg_2017.09-ge2fc9062b93-220414_all.deb
u-boot rock-5b-rk-ubootimg_2017.09-g49da44e116d-220414_all.deb
u-boot rockpi-4b-rk-ubootimg_2017.09-00026-g2431fa34678_all.deb
u-boot rockpi-s-rk-ubootimg_2017.09-g1765d3147d-dirty_all.deb
video gstreamer gstreamer1.0-rockchip1-extra-dbgsym_20190621-1_arm64.deb
video gstreamer gstreamer1.0-rockchip1-extra_20190621-1_arm64.deb
xserver xdmx-dbgsym_1.20.11-1_arm64.deb
xserver xdmx-tools-dbgsym_1.20.11-1_arm64.deb
xserver xdmx-tools_1.20.11-1_arm64.deb
xserver xdmx_1.20.11-1_arm64.deb
xserver xnest-dbgsym_1.20.11-1_arm64.deb
xserver xnest_1.20.11-1_arm64.deb
xserver xorg-server-source_1.20.11-1_all.deb https://github.com/JeffyCN/xorg-xserver
xserver xserver-common_1.20.11-1_all.deb https://github.com/JeffyCN/xorg-xserver
xserver xserver-xephyr-dbgsym_1.20.11-1_arm64.deb https://github.com/JeffyCN/xorg-xserver
xserver xserver-xephyr_1.20.11-1_arm64.deb https://github.com/JeffyCN/xorg-xserver
xserver xserver-xorg-core-dbgsym_1.20.11-1_arm64.deb https://github.com/JeffyCN/xorg-xserver
xserver xserver-xorg-core_1.20.11-1_arm64.deb https://github.com/JeffyCN/xorg-xserver
xserver xserver-xorg-dev_1.20.11-1_arm64.deb https://github.com/JeffyCN/xorg-xserver
xserver xserver-xorg-legacy-dbgsym_1.20.11-1_arm64.deb https://github.com/JeffyCN/xorg-xserver
xserver xserver-xorg-legacy_1.20.11-1_arm64.deb https://github.com/JeffyCN/xorg-xserver
xserver xvfb-dbgsym_1.20.11-1_arm64.deb
xserver xvfb_1.20.11-1_arm64.deb
xserver xwayland-dbgsym_1.20.11-1_arm64.deb
xserver xwayland_1.20.11-1_arm64.deb
1 Like

Thoughts? I’ll start filling this in, but help is appreciated. I have the following guidance from JeffyCN:

you can find those patches in:
1/ my github repo, for example xserver
2/ mirrors repo, for example mpp/rga
3/ mirrors repo’s buildroot branch, for example gstreamer
4/ meta-rockchip, for example chromium
5/ some of them are closed-source, for example rknn/libmali

In case you are still onto the subject, you may find this useful.

Working on the hardware and software of Radxa and Rockchip is a full time job. Only if one gets pay.