Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Kernel 5.16.y edge and RockPi4A(+)

Featured Replies

Hi,

 

I managed to compile 5.16.1 for my Rockpi4 board, I did not flash it yet as I try to polish things before I flash things.

Also awaiting my 4A+ ( with POE HAT ) but first things first.

 

Could one please update the edge entry to " 5.16.y " # /config/sources/families/include/ rockchip64_common.inc

 

 

Also imho for rockpi4a(+) all bluetooth and WiFi entries should be removed from the kernel .config:

 

- bluetooth-rtl8822cs-hci_ver-0x8.patch
- Bluetooth-hci_h5-Add-power-reset-via-gpio-in-h5_btrt.patch
- kali-wifi-injection-*.patch
- wireless-*.patch

 

- general-bluetooth-add-new-quirk.patch

- board-pbp-fix-wonky-wifi-bt.patch
- wifi-hf-lps170-bl602-kconfig-makefile.patch
- wifi-hf-lps170-bl602.patch

 

 

To build 5.16.y following patches have been removed : 

 

- board-rockpi4-0005-arm64-dts-enable-es8316-audio.patch
? general-fix-es8316-kernel-panic.patch # did not remove but should be imho ?


- bootsplash-5.10.y-0003-Revert-fbcon-remove-soft-scrollback-code.patch
- 0001-bootsplash.patch
- 0006-bootsplash.patch
- 0007-bootsplash.patch
- 0008-bootsplash.patch
- 0009-bootsplash.patch

 

./compile.sh BOARD=rockpi-4a BRANCH=edge RELEASE=bullseye BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=yes EXPERT=YES EXTRAWIFI=no


This way it built ( with WARNINGS : which is to be polished ) at least 5.16, Armbian_22.02.0-trunk_Rockpi-4a_bullseye_edge_5.16.1_minimal.img.

However patches removed either need to be revised ( and come back in ) or in most happy scenario indeed simply can be removed ( like for ess audio )

 

Also I would be happy to see an "lsmod" from rockpi4a+ which can be compared with rockpi4a.

Perhaps also radxa image and armbian image need to be put side by side so a proper ".config" can be created for 5.16.y edge kernels.

 

Hopefully we ( community ) can spend some effort coming months ( years :-) ) getting the 4a+ stable as I assume there are loose ends with this 'new' OP1 board.

Meanwhile like to do some trial and error on its .config next few days, but won't expect my 4a+ in before February 2022...

 

If appreciated I can post my current compilation and other output logs, I attached " compilation.log " and rgd WARNINGS:

 

- Bootsplashes fail due to removal patches ( missing dependencies )

- Bluetooth can be ignored for rockpi4a/4a+

 

These need to be looked in to ( as well bootsplashes ):
[ warn ] * [l][c] board-pbp-setup-USB-type-c-port-as-dual-dat.patch [ failed ]

[ warn ] * [l][c] board-rockpis-0008-thermal-rockchip-add-tsadc-support-for-rk3308.patch [ failed ]

[ warn ] * [l][c] board-rockpis-0016-ASoC-rockchip-add-support-for-rockchip-i2s-tdm-contr.patch [ failed ]

[ warn ] * [l][c] general-add-panel-simple-dsi.patch [ failed ]

 

Yup most likely there is some rework required...

 


 

compilation.zip

  • Author

Hello,

 

I noticed things have been updated since I have been gone , thanks very much for that and I was able to compile 5.16.15 just now for my rockpi-4a+ !

However it seems to run at 1,8GHz , while I was expecting with " rk3399-rock-pi-4a-plus.dtb " it should run at 2GHz, also because previous overlay "rk3399-opp-2ghz " vanished ?  Suppose this is WIP,.

 

Thanks a million for your efforts getting all this done as I found out it has been hard to take out all hurdles as posted back in January already !!!

 

UPDATE - this helped instead of using "overlays" option:

fdtfile=rockchip/rk3399-rock-pi-4a-plus.dtb

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.