-
-
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
Tried booting with the new changes, and I tried |
Hey, just coming here to say I really appreciate the work you're putting into this, @JohnTheCoolingFan. I went looking for a way to compile an image for CB2 myself instead of relying on BTT's image and have been following your efforts for the last month or so. I'm not really familiar with this build process and don't really have much development bandwidth at the moment but if I do in the future I'll let you know. If I could help perform some tests or something less technical please let me know! |
Did some device tree adjustments I was hoping would make ethernet work, but no, unfortunately. HDMI still not working, wifi varies from boot to boot. Onboard eMMC works when enabled and the PCIe slot works with an NVMe drive. Didn't test sound and bluetooth. |
1617dc4
to
b5ac358
Compare
Ethernet is working now |
The board freezes after about 3 minutes, reset button works but I don't know the cause. Activity LED stops blinking, UART and ssh unresponsive. I've installed the heatsink with self-adhesive thermal tape. It's warm to the touch but not hot. I am using a dedicated Type-c power supply rated at 5V 4A. |
Bluetooth seems to work, |
068114b
to
a54da67
Compare
Co-authored-by: Ricardo Pardini <[email protected]>
a54da67
to
41e1ece
Compare
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
So far, from test boots:
Checklist:
Please delete options that are not relevant.