-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
BigTreeTech CB2/Pi2 config #6860
base: main
Are you sure you want to change the base?
Conversation
Not sure which board you used as template for the board config, but you don't need most of this stuff. Try using this as an example: https://github.com/armbian/build/blob/main/config/boards/nanopi-r5c.csc (minus the asound and extlinux line, use Also, you have put your patches into And to prevent duplication, you could use a symlink for the dts file to point from one to the other if they're exactly the same, so you only have one dts and the other one is just a symlink (example: https://github.com/armbian/build/tree/main/patch/kernel/rockchip-rk3588-collabora/dt) |
4dc9c8e
to
a548263
Compare
@JohnTheCoolingFan please pick armsurvivors@779b4ee -- you told me the other day I could drop it, but you seem to have forgotten? @ColorfulRhino that addresses most of your comments, I think? |
I did pick it, just didn't push onto a remote branch and it's not used in this branch. This is subject to change during the development of the PR. Pushed it to |
Yeah, but reviews are costly -- please don't waste our time, it's precious. Thanks. |
When the PR is ready for review, I'll mark it as such. For now - it's a draft. |
Well I sent #6874 (also draft) - I don't (or plan to) have the board |
a548263
to
ffd956f
Compare
Switched it to the @rpardini config. The built image does boot but there is no hdmi output, no ethernet connection and I still can't get proper input via UART pins. I don't have dedicated usb-to-uart converters yet and have been using a chinese arduino nano clone with a ch340 chip and the MCU reset pin tied to ground. I can get board's output butt can't input anything. |
9af8109
to
a51a473
Compare
Noticed that BTT had a custom I'm getting out of ideas. The device tree is same, based on the same kernel, so why is it not giving any output? The config is set to have output on both serial and display. And also Ethernet doesn't work even though it probably uses the same exact driver (based on 6.6 kernel). |
a51a473
to
865e438
Compare
Tried vendor's image, a minimal Armbian build. It had a lot of additional device tree overlays, including hdmi, which did get me a working hdmi output, but simply putting |
What if you put HDMI to device tree? |
865e438
to
466a811
Compare
Ok, I finally got some progress with getting a tty. I shouldn't have traced down the gpio pins from rk3566 datasheet, the tx/rx pins are the same as in Btt Pi (CB1) or CM4. The pins are not marked as uart in the official manual, which just makes it extremely confusing. I now have a fully functional tty and can debug problems further. Alright, so now I would like to first set up ethernet so I don't have to use uart as often. In the current config, the board is having problems setting up ethernet:
|
Putting the boot log gist here just for the record: https://gist.github.com/JohnTheCoolingFan/5df87cc4b87298d6bc21e046bfcff5f6 |
729949b
to
f2207aa
Compare
Co-authored-by: Ricardo Pardini <[email protected]>
4001fe9
to
6083f36
Compare
Alright, a person on Discord messaged me about his usage of bigtreetech pi 2 6.11 with an image based on orangepi 3b. I've tried his dtb, and it works without the freezing issue. I will work on adding the proper dts. |
Description
Added patches and config for BigTreeTech CB2/Pi2
GitHub issue reference:
Jira reference number AR-2332
How Has This Been Tested?
Build and load on BTT Pi 2, test peripherals and see how it runs for 5 minutes
current
branch works fine, using BigTreeTech u-boot for cb2: https://github.com/bigtreetech/u-boot/tree/stable-4.19-cb2edge
is using mainline u-boot, having problems with the board freezing at about 2 minutes 50 seconds of uptimeChecklist:
Please delete options that are not relevant.