Jump to content

Adding the edge kernel to Rock 2F/2A


Go to solution Solved by Werner,

Recommended Posts

Posted (edited)

Armbian image placed on internal soldered eMMC 64GB - only one issue now aic8800 not supported yet by kernel 7.0-rc6 so no wifi 😕

No PCI as no PCI slots... also no HDMI... Experimental image based on Kwiboo repo dispo here.

image.png.fc473ec8b23f0541175e61c688f5d67d.png

Edited by D roZDi
Posted

apply this patch for a working wifi:

 

diff --git a/extensions/radxa-aic8800.sh b/extensions/radxa-aic8800.sh
index e3e99eaa8..7ab721353 100644
--- a/extensions/radxa-aic8800.sh
+++ b/extensions/radxa-aic8800.sh
@@ -10,7 +10,7 @@ function extension_finish_config__install_kernel_headers_for_aic8800_dkms() {

 function post_install_kernel_debs__install_aic8800_dkms_package() {

-       if linux-version compare "${KERNEL_MAJOR_MINOR}" ge 6.20; then
+       if linux-version compare "${KERNEL_MAJOR_MINOR}" ge 7.1; then
                display_alert "Kernel version is too recent" "skipping aic8800 dkms for kernel v${KERNEL_MAJOR_MINOR}" "warn"
                return 0
        fi

Posted (edited)

It is not working with this patch because offcially AIC8800 is not supported in kernel > 7.0-rc6 plus in my image Wifi was initially disabled ;)

With new image it is better:

 

image.png.77eeb54066564cf4a23429aed2a13564.png

 

I made a small fix to make it running with some commands as root:

```
# unzip AIC_FIX.zip
# mkdir -p /lib/modules/$(uname -r)/kernel/drivers/net/wireless/aic8800
# cp aic_btusb.ko aic_load_fw.ko aic8800_fdrv.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/aic8800/
# depmod -a
# cat /etc/modules-load.d/aic8800.conf
aic_load_fw
aic8800_fdrv
aic_btusb
# cp -r aic8800_fw /lib/firmware/
# cp -pr aic8800_fw/USB/aic8800D80/ /lib/firmware/
# modprobe aic_load_fw
# modprobe aic8800_fdrv
# modprobe aic_btusb
# lsmod |grep -i aic
aic_btusb              57344  0
aic8800_fdrv          626688  0
cfg80211             1200128  1 aic8800_fdrv
aic_load_fw            86016  1 aic8800_fdrv

```

 

 

 

 

R4.jpg

 

 

Please also remember as it is experimental and all you do it is on your own risk :)

 

HDMI is not working and we need some code first, I guess for this part: CONFIG_PHY_ROCKCHIP_INNO_HDMI_QP

Edited by D roZDi

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