Jump to content

Recommended Posts

Posted

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

Posted

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

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines