1# RK3566_RK3568 Linux SDK Note 2 3--- 4 5**Versions** 6 7[TOC] 8 9--- 10 11## rk356x_linux_release_v1.4.0_20230720.xml Note 12 13The main update list is as follows: 14 151 SDK update main core component versions 16 17- Update Debian10 to Debian11 18- Update Yocto3.4 to Yocto4.0 19- Update Buildroot 2018 to Buildroot2021 20- Update Kernel4.19 with rockchip inside 21 222 SDK optimization and adjustment 23 24- Reconstruct SDK configuration compilation mechanism 25- Adjusting the compilation mechanism of the wifibt module 26- Import a new version of Camera rkaiq to optimize its functionality and performance 27 283 SDK main fix issues 29 30- Fix ubi format partition packaging and mounting issues 31- Fix recovery mount partition exception 32- Fix [webgl](https://webglsamples.org/aquarium/aquarium.html) Flash screen issue 33- Fixed the issue of resetting the time to 0 after standby wake-up 34- Fix fiq debugger driver, serial port RX interference, resulting in system stuck 35- Fixed a low probability of error after starting KASAN: KASAN: use after free in rga_ job_ next 36- Support for addressing Weston touch related configurations 37- Solve HDMI/MIPI plug and display issues 38- Solve the problem of PDM recording channel confusion 39- Resolve the issue of playback noise caused by RK809 · RK817-pdm recording 40- Resolve the issue of new uboot.img unable to start old boot.img during secure startup of RK356X FIT 41- Solving the stability problem of RK3566/RK3568 LPDDR4 at high frequencies, increasing the logic voltage and modifying the CLK/CA SR can both solve the problem. 42- Improving the stability of RK3568/RK3566 DDR4 43- Fixed the suspend/resume function crash problem caused by DDR active_ranks configuration error on RK3566/RK3568 44- Add to support L3 cache partition and cache ecc on RK3566/RK3568 45 46## rk356x_linux_release_v1.3.0_20220620.xml Note 47 48**Buildroot**: 49 50``` 51- Update buildroot 2018.02-rc3 52 * - Fix sd upgrade and boot issue with SDDiskTool 53 * - Switch weston to dispaly as launcher 54 * - Support eglfs 55 * - Support AFBC 56 * - Support vulkan and vkmark 57 * - Update weston to fix some issues 58 * - Update gstreamer1 to fix hang issue 59 * - Update configure to disable RGA by default 60 * - Update gstreamer1 to fix some issue with v4l2src plugin 61 * - Update rockchip-test to match new version 62 * - Upgrade wayland to buildroot upstream's 1.20.0 63 * - Upgrade to Chromium-wayland to 101.0.4951.54 64 * - Upgrade RK356X NPU to v1.3.0 65 ... 66``` 67 68**Debian**: 69 70``` 71- Update Debian10 72 * - Update the font to chinese by default 73 * - Update mirrors.ustc.edu.cn for source.list 74 * - Update mpp/gst-rkmpp/xserver 75 * - Update rockchip-test 76 * - Update gstreamer to fix the format issues 77 * - Update Powermanager for s2r 78 * - Fixes cheese app issues 79 * - Add rktoolkit and partition init for recovery 80 * - Reduce the rootfs size 81 ... 82``` 83 84**Kernel**: 85 86``` 87- Update Kernel to 4.19.232 88 * - Update pcie3phy firmware for RK3568 89 * - Fixes the GPU OPP error with stress tests 90 ... 91``` 92 93**Yocto**: 94 95``` 96- Update Yocto to 3.4.1 97 * - Support Chromium to 101.0.4951 98 * - Bump xserver/v4l-utils/v4l-mpp/gst-mpp/mpp 99 * - Update rkwifibt-firmware and rockchip-libmali 100``` 101 102**Other**: 103 104``` 105- Update rkbin/u-boot/tools/docs/gstreamer-rockchip/mpp... 106``` 107 108## rk356x_linux_release_v1.2.4_20220418.xml Note 109 110**Buildroot**: 111 112``` 113- update buildroot 2018.02-rc3 114 * - Gstreamer upgrade to 1.20.0 version 115 * - Bump glibc to 2.34 116 * - Bump weston to 10.0.0 117 ... 118``` 119 120**Debian**: 121 122``` 123- update Debian10 124 * - 2775061 ubuntu-build-service: remove hostapd and gstreamer1.0-libav 125 * - 4da1c99 overlay: fix the ssh service 126 * - 2a5f79c packages: update mpp/gst-rkmpp/xserver 127 * - df16049 scripts: add post-build.sh to handle fstab 128 * - e15ea61 overlay-debug: delete unused tests 129 * - 1cc248a packages: update rkaiq for rk356x 130 * - 966eed2 overlay-debug: update rockchip-test 131 ... 132``` 133 134**Kernel**: 135 136``` 137- update Kernel to 4.19.232 138 * - Suport RK630 139 * - Update isp to v1.8.0 140 * - Fix USB some issues 141 * - Update rga 142 ... 143``` 144 145**Yocto**: 146 147``` 148- Bump yocto to 3.4.1 149``` 150 151- Update rkbin/u-boot/aiserver/rkwifibt... 152 153## rk356x_linux_release_v1.2.3_20220108.xml Note 154 155**Buildroot**: 156 157``` 158- update buildroot 2018.02-rc3 159 * - glmark2 upgrade to 2021.02 version 160 * - Support AFBC for kmssink and waylandsink 161 * - Fix a memory leak in window create/destroy on qt5wayland 162 * - Support NV12_10 and NV16 format 163 ... 164``` 165 166**Debian**: 167 168``` 169- update Debian10 170 * - ecfd77c packages: update gstreamer for afbc 171 * - 4f78d66 packages: armhf: Update gstreamer and gstreamer plugins 172 * - 776346f overlay-debug: update scripts 173 * - 33934b6 mk-rootfs-buster.sh: remove the typo 174 * - a438f20 packages: update gst-rkmpp/mpp/libdrm-cursor/xserver 175 * - ed04efc packages: Update gstreamer and gstreamer plugins 176 * - 41a6ac8 mk-rootfs-buster.sh: add some packages 177 * - 9d2aac4 overlay-firmware: remove unused wifi tools 178 * - 93c150e overlay-debug: add rockchip_test 179 * - a792a28 overlay-debug: update ddr test tools 180 * - 18985be overlay: update services 181 ... 182``` 183 184**external**: 185 186``` 187- update camera_engine_rkaiq 188 * - c1b0f18 rkaiq_3A_server: workaround: always enable readback 189 * - e758b50 update aiq to version v2.0x60.1 190 191- update mpp 192 * - 693720fd ([iep2]: Disable test log 193 * - e85c28ab [vp9d]: Fix ref frame pointer not free issue 194 * - f94ae6d0 [vepu580]: Add YUV444 support for vepu580 195 * - 5dec7c0b [hal_h265e]: Format file from dos to unix 196 * - be46d787 [hal_hevc580]: Add frame offset x y set 197 ... 198 199- update gstreamer-rockchip 200 * - 9db2606 rkximage: Fix pitch error for YUV420_8BIT 201 * - 652bf72 HACK: rkximage: Fix aligning error for AFBC 202 * - 983a1e1 mppdec: Adjust crop size based on MPP's offsets 203 * - b0d0fc5 HACK: mppdec: Avoid copying output buffer in make_writable() while shared 204 * - e2e2491 mppdec: Honor interlace mode changing 205 * - b35866b mppdec: Support crop-rectangle property 206 ... 207``` 208 209**Kernel**: 210 211``` 212- update Kernel to 4.19.219 213 * - 82957dba3977 drm/rockchip: vop2: add support DRM_FORMAT_YUYV for RK356x Cluster 214 * - 6b8a1e9f8ebf drm/rockchip: dev_ebc: release version v2.26 215 * - 3987669c73ce media: i2c: add new camera sensor gc030a 216 * - 61cf54704b72 media: rockchip: isp: improve snapshot feature(tb in RISC-V) 217 ... 218``` 219 220**Uboot**: 221 222``` 223- update rkbin 224 * - c7a0111 rk3568: bl32: fix pack failure 225 * - 0419aef rk3568: bl32: update version to v2.01 226 ... 227``` 228 229**Tools**: 230 231``` 232- update tools 233 * - 1a32bc7 tools: linux: update Linux_Upgrade_Tool to v2.1 234 * - 00ad7ea tools: windows: update RKDevTool to v2.91 235 ... 236``` 237 238## rk356x_linux_release_v1.2.2_20211205.xml Note 239 240**Buildroot**: 241 242``` 243- update buildroot 2018.02-rc3 244 * - add arm32 rknpu2 test mode and demo 245 * - gstreamer1: gstpad: Add 1 sec timeout for activation 246 * - gst1-plugins-base: playbin2: Fix deadlock when hooking about-to-finish signal 247 * - qt5multimedia: Support choosing playbin2 and playbin3 248 ... 249``` 250 251**external**: 252 253``` 254- update mpp 255 * - [mpp_impl]: modify dump frame default size 256 * - [mpp_dec]: Optimize sort pts function 257 * - [mpp_list]: Add list_sort func 258 * - [mpp_enc]: Fix rotation case GET_CFG mismatch 259 * - [h264e_vepu]: add cfg to disable mb rc 260 * - [hal_task]: Remove hal_enc_task.h 261 * - [mpp_hal]: Remove enc define from HalTaskInfo 262 * - [mpp_cluster]: Change callback return type 263 ... 264 265- update gstreamer-rockchip 266 * - rockchipmpp: Add mppvpxalphadecodebin element 267 * - mppenc: Add mpph265enc 268 * - mppenc: Fix unbalance stream unlock 269 *- mppdec: Unlock stream when doing RGA conversion 270 * - rkximage/mppdec: Support NV12_10(AFBC) 271 * - rkximage: Disable colorkey by default 272 ... 273``` 274 275**kernel**: 276 277``` 278- update Kernel4.19 279 * - video: rockchip: mpp: rkvdec2: setup link mode clk 280 * - video: rockchip: mpp: Fix mpp_iommu_refresh crash issue 281 ... 282``` 283 284## rk356x_linux_release_v1.2.0_20210930.xml Note 285 286**app**: 287 288``` 289- update qsetting 290 * - qsetting: wifibt: fix build 291 * - qtbt:Solve the bug of incomplete Bluetooth display 292 293- update rkaiq_tool_server 294 * - media pipeline: only link for selected sensor 295``` 296 297**external**: 298 299``` 300- update mpp 301 * - [hal_task]: Remove unused variable 302 * - [mpp_dec]: Optimize decoder flow 303 * - [mpp_lock]: Add gcc atomic macro define 304 * - [h265d_parser]: Fix h265d parser crash issue 305 * - [mpp_meta]: Use macro to generate code 306 * - [mpp_meta]: Add performance test case 307 * - [mpp_meta]: Improve performance 308 * - [mpp_dec]: Fix double free issue 309 ... 310 311- update gstreamer-rockchip 312 * - mppenc: Improve format and alignment supports 313 * - mppdec: Provide RGA formats only when available 314 * - mppdec: Add RGB/BGR formats 315 * - mppjpegenc: Update size limits 316 * - mppenc: Simplify caps 317 * - mppvideodec: Delay discarding frames for some broken videos 318 * - mppvideodec: Drop extra MPP frame in I4O2 deinterlaced mode 319 * - mppvideodec: Rule out YUV444 for H264 320 * - rkximage: Fix colorkey setting issue 321 * - mppdec: Use alignment 2 for strides when doing RGA conversion 322 * - rkximage: Support disabling vsync 323 * - rkximage: Update colorkey prop defination 324 * - mppjpegdec: Drop PP format NV16 325 * - mppdec: Support setting prefered output format 326 * - rockchipmpp: Fix RGA RGB16 wrong endian 327 * - mppdec: Drop RGB15 and BGR15 328 * - Revert "rockchipmpp: Use height as vstride in RGA conversion" 329 * - mppjpegdec: Add a sanity check for input video info 330 * - rockchipmpp: Fix a few compile warnings 331 * - Switch to meson 332 * - Remove unused tests/examples 333 334- update libmali 335 * - Move scripts and sources to sub directories 336 * - Speed up normalizing 337 * - debian: Sort targets 338 * - debian: Force enabling wrappers 339 * - libmali: px30, 3326: add libs of libmali-bifrost-g31-g2p0-only-cl.so of g2p0-01eac0-8 340 * - libmali: px30, 3326: add libs of libmali of g2p0-01eac0-7 341 * - libmali optimized for size: 356x: add libmali-bifrost-g52-g2p0-without-cl-dummy-gbm.so of g2p0-01eac0-6 342 * - libmali optimized for size: 356x: add libmali-bifrost-g52-g2p0-dummy-gbm.so of g2p0-01eac0-6 343 * - meson: Support optimize-level option 344 * - debian: Simplify conflicts logic 345 * - meson: Don't try to fixup non-existing headers 346 * - libmali: 356x: add libmali-bifrost-g52-g2p0-without-cl-dummy-gbm.so of g2p0-01eac0-5 347 348- update linux-rga 349 * - build: add .gitignore if build in rga source dir 350 * - build: Modify CMakeLists. 351 * - drmPrimeHandleToFD add DRM_CLOEXEC | DRM_RDWR flag 352 * - build: cmake support compiling with 'buildroot' TARGET. 353 * - im2d_api: Fix the error of rgaImDemo fill mode. 354 * - Modify the judgment about perpixelAlpha. 355 * - Support BGR565/BGRA5551/BGRA4444. 356 * - im2d_api: Fix the check error of crop mode. 357 * - im2d_api: Fix errors in the blend module. 358 * - docs: Modify the wrong format description of RGB and RGBA. 359 * - Fix the error of BGR565/5551/4444 format conversion. 360 * - Get the version compatible with RGA1. 361 * - im2d_api: Remove IM_CROP. 362 363- update camera_engine_rkaiq 364 * - update aiq to version v2.0x60.1 365 * - add lock for j2s & fix crash on multi camera. 366 * - rkaiq_3A_server: start engine in threads 367 * - rkaiq_3A_server: get sensor entity name from librkaiq 368 * - isp or ispp can be NULL for rkcif media device 369 * - CamHwIsp20: fix dvp entity name not matched with driver 370 371- update deviceio_release 372 * - devceio_release: update to 20210930 373 * - fixed build err in the case of cpp refer c 374 * - devceio_release: update to 20210907 375 376- update storage_manager/rknpu/rknn-toolkit2/rockx/rknpu2/isp2-ipc/ipcweb-backend/mediaserver/aiserver/uac_app/common_algorithm/libglCompositor/rkwifibt 377``` 378 379**Debian**: 380 381``` 382- update Debian10 383 * - mk-rootfs-buster.sh: Error out when source not found 384 * - mk-rootfs-buster.sh: Build for arm64 by default 385 * - mk-rootfs-buster.sh: Drop unused xserver -dev packages 386 * - mk-rootfs-buster.sh: Use apt-get to install local packages 387 * - mk-rootfs-buster.sh: Only hold custom local packages 388 * - packaegs: update xserver 389 * - packages: update libdrm-cursor 390 * - overlay-debug: update glmark2 391 * - packages: update xserver 392 * - overllay: upgrade bifrost-g31 to g2p0 393 * - packages: update libmali 394 * - packages: update libdrm-cursor 395 * - overlay: xorg.conf.d: Add some comments 396 * - overlay: fixes the typo for scripts 397 * - packages: update xserver 398 * - packages/mpp: update mpp 399 * - packages: update gst-rkmpp/mpp/rga packages 400 * - scripts: the libssl-dev had existed on base package 401 * - packages: fixes dri2 pagefilp issue for xserver 402 * - mk-rootfs-buster.sh: Only preload libdrm-cursor for X 403 * - overlay: enable ASYNC for atomic commit by default 404 * - packages: update xserver package 405 * - Merge "rkscripts: Don't remove the build dir" 406 * - Merge "packages: update rga/mpp/gstreamer-rockchip" 407 * - rkscripts: Don't remove the build dir 408 * - chromium-x11: Update to 91.0.4472.164 409 * - packages: update rga/mpp/gstreamer-rockchip 410``` 411 412**Yocto**: 413 414``` 415- update Yocto3.2 416 * - linux-rockchip: 4.4: Update color-key patch 417 * - linux-rockchip: 4.4: Fix compile error with new GCC 418 * - u-boot: Rebase patches 419 * - machine: px30: Switch mali to g2p0 420 * - Bump BSP package revisions at 2021_10_13 421 * - Add drm-cursor 422 * - Fix fetching errors for local git sources with detached HEAD 423 * - gstreamer-rockchip: Switch to meson build system 424``` 425 426**Buildroot**: 427 428``` 429- update buildroot 2018.02-rc3 430 * - rknpu: Remove redundant 356x options 431 * - rockchip_rk3568_defconfig: fix rknpu2. 432 * - qt5wayland: Support window lower() and raise() 433 * - configs: add rk3588 nvr defconfig 434 * - weston: Use vblank based dynamic repaint window 435 * - weston: Improve input device and output associating 436 ... 437``` 438 439**U-boot**: 440 441``` 442- update U-boot (next-dev) 443 * - mtd: spi-nor-ids: Add support for gd25lb512m 444 * - dm: sysreset: do optimise 445 * - arm: crt0_64.S: disable arm64 SError for usbplug 446 * - lib: optee_clientApi: data alignment for get_rkss_version 447 * - rockchip: rkimg: support setting NVME as main storage 448 * - rockchip: rk3308bs: correct the nand iomux 449 ... 450``` 451 452**rkbin**: 453 454``` 455- update rkbin 456 * - rk3566: ddr: update ddr bin to v1.11 457 * - rk3568: ddr: update ddr bin to v1.11 458 ... 459``` 460 461**kernel**: 462 463``` 464- update Kernel4.19 465 * - video: rockchip: mpp: use dma-buf-cache func 466 * - drm: rockchip: do release callback if not define CONFIG_DMABUF_CACHE 467 * - clk: rockchip: rk3568: add CLK_SET_RATE_NO_REPARENT flag for clk_gmacx_rx_tx 468 * - ASoC: es8311: fixed the dapm route error 469 * - phy: rockchip-naneng-usb2: do apb reset during probe 470 * - arm64: dts: rockchip: rk3568-linux: enable hdmi_sound with hdmi jack function 471 * - arm64: dts: rockchip: rk3568-evb: use "rockchip,hdmi" instead of "simple-audio-card" 472 * - mmc: dw_mmc-rockchip: Improve v2 tuning 473 * - mmc: dw_mmc-rockchip: Skip all phases bigger than 270 degrees 474 * - media: rockchip: ispp: replace iommu detach/attach 475 ... 476``` 477 478**docs** 479 480``` 481- update docs 482 * - docs: add ROS2 document and update PCBA and Recovery document 483 * - Common/CAMERA: upgrade ISP2x to 20210925 484 * - docs: add wifibt avl for linux and update wifibt docs to 20210915 485 * - Linux: Multimedia: update Rockchip_Developer_Guide_Linux_RKADK_CN.pdf to v1.2.0 486 * - COMMON: update it with inside on 20210922 487 * - Linux: Recovery: update DFU upgrade guide document to v1.1.0 488 * - docs: update Rockchip_Driver_Guide_VI & Rockchip_Tuning_Guide_ISP20 document; 489``` 490 491**tools** 492 493``` 494- update tools 495 * - update RKDevTool from V2.84 to V2.86 496 * - linux: Linux_Pack_Firmware: add rv1126-package-file-sllock 497 * - tools: windows: update ParameterTool to v1.2 498 * - linux: Linux_Pack_Firmware: add new package file 499 ... 500``` 501 502## rk356x_linux_release_v1.1.0_20210520.xml Note 503 504**Buildroot (2018.02-rc3)**: 505 506``` 507- Adjust the new buildroot project 508- Support buildroot 32 bits for rk356x 509- Support RKNN SDK 1.0.0 Version 510``` 511 512**Debian10 (buster)**: 513 514``` 515- Use the new debian project 516``` 517 518**Kernel (4.19)**: 519 520``` 521- Enable optee by default 522- Update USB/DRM/Wireless/Media/Video/Clock driver 523``` 524 525**docs/tools**: 526 527``` 528- Use the new docs project 529``` 530 531**rkbin**: 532 533``` 534- rk3568/rk3566: bl31: update version to v1.22 535- rk3568/rk3566: bl32: update version to v1.05 536- rk3568/rk3566: ddr: update ddr bin to v1.07 537- rk3568/rk3566: spl: update version to v1.11 538- rk356x: loader: update version to v1.08 539``` 540 541## rk356x_linux_release_v1.0.0_20210410.xml Note 542 543**Buildroot (2018.02-rc3)**: 544 545``` 546- Upgrade libmali to g2p0 547- Upgrade Chromium to 88.0.4324.150 548- Support RKNN SDK 0.7 Version 549- Update weston to support multi-screen 550- Update mpp and gstreamer for mpeg4 551- Update rockit 552- Fixes qTbase/qt5multimedia/waylandsink/qt5declarative/qt5virtualkeyboard some bugs 553- Support lxc and pcl 554- Fixes qt5webengine on qt5.15 555``` 556 557**Yocto**: 558 559``` 560- Upgrade libmali to g2p0 561- Upgrade Chromium to 88.0.4324.1502 562``` 563 564**Debian10 (buster)**: 565 566``` 567- Upgrade libmali to g2p0 568- Upgrade Chromium to 88.0.4324.1502 569- Support multi-screen 570- Update rga/libmali/mpp packages 571``` 572 573**Kernel (4.19)**: 574 575``` 576- Upgrade Kernel to 4.19.172 from rockchip inside 577``` 578 579**docs/tools**: 580 581``` 582- Integrate AVL/DDR/DISPLAY/NVM/PCIe/UART/USB/U-BOOT documents to Common directory 583- Update camera and audio documents and directory structure 584- Add some rk356x documents 585- Update rk_sign_tool to v1.41 586- Update RKDevTool to V2.81 587- Update SDDiskTool to v1.64 588- Update SecureBootTool to v1.99 589``` 590 591## rk356x_linux_beta_v0.2.0_20210226.xml Note 592 593**Buildroot (2018.02-rc3)**: 594 595``` 596- Use QT5.14 by default, and support QT5.15 597- Upgrade Chromium to 87.0.4280.141 598- Fixes qt5webengine HW video decode error on 5.15 599- Update weston to fix some bugs 600- Update power-key.sh for suspend and resume 601- Add rockchip_rk356x_libs_defconfig for small system 602``` 603 604**Yocto**: 605 606``` 607- Fixes some issues on Yocto3.2 608``` 609 610**Debian10 (buster)**: 611 612``` 613- Fixes some issues on Debian10 614``` 615 616**Kernel (4.19)**: 617 618``` 619- Update Kernel from rockchip inside 620``` 621 622## rk356x_linux_beta_v0.1.0_20210118.xml Note 623 624``` 625- The first beta version 626``` 627 628## rk356x_linux_alpha_v0.0.1_20201211.xml Note 629 630``` 631- The first alpha version 632``` 633