-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
opi3b: fix mainline uboot with vendor kernel and fix uwe5622 bt for rk35xx #7025
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
243c473
to
f3c5355
Compare
This pr is marked draft because I still get npu kernel panic with both mainline and vendor uboot. A bad hacking is disabling npu in kernel's devicetree but I think there is hope to solve this issue. |
@amazingfate support for Orange Pi 3B (v1.1 and v2.1) has now been merged to U-Boot Please try with latest U-Boot |
@Kwiboo I tried master branch of https://github.com/u-boot/u-boot.git with your vdd_npu patch. But there is still kernel panic.
Here is armbian build log: https://paste.armbian.com/cojaxahexo |
Hum, I am not seeing this with a vendor kernel built from the armbian kernel tree. Is the
When
Without the patch and
|
f3c5355
to
78202bd
Compare
I can't check uboot shell now, after pressing key to stop auto boot, I can't input anything.
Maybe I have a broken serial module. |
vdd_npu is disabeld, here is the regulator status from command
|
I tried to run
|
Looks like there is an issue to communicate with the Is there something special regarding your board, is it a dev or pre-production sample, or could Orange Pi have used different Is it possible to share your U-Boot build artifacts?, I can run a quick test on my board to see if it could be related to the U-Boot build or if it could be an issue/difference with the boards. Another thought, is the U-Boot SPL also the new mainline version? Or could it be some interoperability issue using vendor U-Boot SPL and mainline U-Boot proper. |
@amazingfate looks like there may be some discrepancies in use of part for Schematic mention use of Please try with adding following in
or disable the |
@Kwiboo I'm using a v1.1 board. After disabling FAN53555 there is no error of regulator@40, but I still can't enable vdd_npu, same error |
Thanks, I will test it on my board and get back with results.
Very strange, so maybe the
The linux-orangepi |
@amazingfate I have now tested your build and it seem to work on my v1.1.1 and v2.1 boards, output from my v1.1.1 board:
|
@rpardini do you have time testing this uboot with 6.1 vendor kernel? I want to know if this is a issue of my board, or all v1.1 opi3b have this issue. |
My opi3b is away on a mission -- unsure if or when it will come back -- sorry. |
78202bd
to
248bee2
Compare
248bee2
to
7612219
Compare
Update uboot to v2024.10-rc3 and add dts patch enabling vdd_gpu at uboot. |
@amazingfate @Kwiboo allow me to do all the testing. Please upload |
You can checkout my branch and build image by yourself. |
can you please specify link? |
https://github.com/amazingfate/build/tree/opi3b-vendor-uboot |
This ready? |
@igorpecovnik partially what is resolved |
Don't have any of those boards and am unable to pay attention to details of all PRs, lost this battle years ago :) ... add "Ready to merge" when / if you think its ready to go. |
Soc of my board is burned and I will get it back tomorrow. I will test this pr and merge it if it is fine. |
7612219
to
0dfc288
Compare
My opi3b v1.1 comes back. Just tested on it and vendor kernel boots fine. |
Description
6.1 vendor kernel is not bootable on opi3b. There is a post in forum: https://forum.armbian.com/topic/36332-orangepi3b-kernel-panic-when-trying-to-boot-with-the-new-vendor-kernel6143/#comment-186436
Opi3b is using mainline uboot for all branches which is not compatibale with vendor kernel's npu,
so I use radxa's rockchip uboot instead and limit mainline uboot to branch edge. I find that setting vdd_npu with propertyregulator-always-on
will fix the issue.There is also a missing uwe5622 patch on rk35xx family, which will cause kernel panic of sprdbt_tty kernel module.
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.
./compile.sh BOARD=orangepi3b BRANCH=vendor BUILD_MINIMAL=no DEB_COMPRESS=xz KERNEL_CONFIGURE=no RELEASE=noble KERNEL_GIT=shallow BUILD_DESKTOP=yes DESKTOP_APPGROUPS_SELECTED= DESKTOP_ENVIRONMENT=gnome DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base
Checklist:
Please delete options that are not relevant.