-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
rk35xx-vendor: bump to latest sdk release rkr3 #6853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Tested with rk3568 board hinlink h66k and rk3528 board hinlink ht2, working fine. |
Not sure if I messed something up, with the compile, but could not get this to boot with orange pi 5 plus. |
Any serial logs? |
No, I wasn't getting any output on the HDMI. No blinkies on the ethernet either, which suggest to me that the image wasn't booting. log-build-d190bf26-0659-404b-aeb8-abf5b212057d.log Compile Log files are above. I'm going to be working on this today, going to reflash an image from the main armbian website ( need to compile mesa + Qt from scratch on a fresh image) so happy to take another swing if it's helpful! edit: flashed a downloaded image to the same sd card, and it booted, so the SD card is good. I validated the SHAsum on the system I was flashing on (from the original file that didn't boot for me) and I use balena-etcher that I think does that as well, so as long as the build was clean, the result should be valid |
Someone on the discord explained how to get a serial console. I'm very new to hardware, but long time linux user.
|
I guess you are using this kernel source: https://github.com/armbian/linux-rockchip/tree/rk-6.1-rkr3, which does not have devicetree of opi5plus. This pr depends on armbian/linux-rockchip#200, so before that pr is merged, you have to use kernel source from my repo: https://github.com/amazingfate/linux-rockchip/tree/rk-6.1-rkr3_wip. |
@amazingfate , updating the kernel to that branch works for me, boots fine now |
b39dd88
to
27a37a0
Compare
I've cherry picked and Subject: [PATCH] rk35xx-vendor: rkr3 won't build `driver_uwe5622` nor `driver_rtl8811_rtl8812_rtl8814_rtl8821` nor `driver_rtl8192EU` nor `driver_rtl8189ES`
---
diff --git a/config/sources/families/rk35xx.conf b/config/sources/families/rk35xx.conf
--- a/config/sources/families/rk35xx.conf (revision 2f33cb45915c5cbd569ada2aad7fc393dc061cd1)
+++ b/config/sources/families/rk35xx.conf (revision ceffbc20693fd7b65e62bf4cd2c0aa588fee0646)
@@ -33,6 +33,7 @@
KERNELSOURCE='https://github.com/armbian/linux-rockchip.git'
KERNELBRANCH='branch:rk-6.1-rkr3'
KERNELPATCHDIR='rk35xx-vendor-6.1'
+ KERNEL_DRIVERS_SKIP+=("driver_uwe5622" "driver_rtl8811_rtl8812_rtl8814_rtl8821" "driver_rtl8192EU" "driver_rtl8189ES") # won't build with rkr3
;;
esac
diff --git a/config/sources/families/rockchip-rk3588.conf b/config/sources/families/rockchip-rk3588.conf
--- a/config/sources/families/rockchip-rk3588.conf (revision 2f33cb45915c5cbd569ada2aad7fc393dc061cd1)
+++ b/config/sources/families/rockchip-rk3588.conf (revision ceffbc20693fd7b65e62bf4cd2c0aa588fee0646)
@@ -37,6 +37,7 @@
KERNELBRANCH='branch:rk-6.1-rkr3'
KERNELPATCHDIR='rk35xx-vendor-6.1'
LINUXFAMILY=rk35xx
+ KERNEL_DRIVERS_SKIP+=("driver_uwe5622" "driver_rtl8811_rtl8812_rtl8814_rtl8821" "driver_rtl8192EU" "driver_rtl8189ES") # won't build with rkr3
;;
current) |
Yes, I think I built with a flag turned on to shutoff extra wifi because the patches were failing. |
Realized now just picking this doesn't bring armbian/linux-rockchip#200 while that's not merged. |
71aec1a
to
5bc2644
Compare
Pushed a commit disabling the drivers that don't build. I think |
I have sprdbt_tty, sprdwl_ng, and 8192eu built. |
Interesting. Guess I've something different, somehow; I'll unpush that disablement commit so we can get to the bottom of this. |
5bc2644
to
f77c7af
Compare
Yeah sorry for the noise with the wifi-drivers. I've dropped the commit and rebuilt and all was fine. I guess the first try I had a different/newer host OS and gcc was stricter with warnings/errors etc. |
Let's merge it, so we can continue with support for rk3576. |
Description
Rockchip has released new sdk with rk3576 support and kernel's tag is
linux-6.1-stan-rkr3
.I have rebased commits from rkr1 to rkr3 and this pr depends on armbian/linux-rockchip#200.
Prebuilt kernel can get downloaded from github actions: https://github.com/armbian/linux-rockchip/actions/runs/9740746614?pr=200
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.
./compile.sh BOARD=rock-5b BRANCH=vendor DEB_COMPRESS=xz KERNEL_CONFIGURE=no KERNEL_GIT=shallow
Checklist:
Please delete options that are not relevant.