-
Notifications
You must be signed in to change notification settings - Fork 20
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
Pinebook Pro doesn't boot #8
Comments
Made some progress. The issue appears to be the idbloader.img and u-boot.itb from uboot-pinebook-pro-rk3399_defconfig-2021.04. Flashing the u-boot and idbloader files I pulled form my working manjaro installation got it booting. U-boot logs up to "Starting kernel ..." appear on screen, and then it goes blank. It might be using UART from that point, but I can't confirm right now. I lost my pinebook UART cable, the replacement is arriving in a couple of weeks. I might be able to get the display working by modifying |
I am just using uboot from nixpkgs: nixos-aarch64-images/default.nix Line 20 in d7aede4
Maybe also report in nixpkgs than. |
Have you made progress? Maybe also try nixpkgs-unstable in case stable does not work. |
Sorry, haven't had a chance to get back to this for a while. I'll give it a try this weekend and follow up. |
I've been trying to get boot logs, but there's something weird going on with the serial terminal. Here's what I'm seeing:
I'm pretty sure 11500 is the right baud rate, given the bootloader build date and version are showing up correctly. This is also not nix-specific as this happens with Manjaro too. I'll continue working this. |
Are you perhaps using the official UART cable? My tip is do not use that official UART cable. It is 5V level UART, while I think the Pinebook Pro UART is actually 1.8 V, but tolerant up to 3.0 V or so. You should optimally be using a 1.8 V level UART, but at least a more common 3.3 V level UART is not that far above spec (but could still theoretically damage the device). No idea why PINE are selling things that do not work completely correctly, and might even potentially damage the thing... The issue mostly comes with sending data over it to UART, since then you are applying voltage to the device. Passively listening might be less bad, but with 5V levels you might not even be able to read things clearly and I think that might be the noise you are seeing. |
Oh that makes sense... I was wondering why my logic analyzer could pick it up but the cable couldn't. Didn't think to check the levels on account of it being "the official cable" XD |
Turns out the official cables work. I just had a faulty ribbon cable inside the pbp. Took far too much trial and error to figure it out. I've flashed tow-boot on the spi-flash. Still cant get nixos booting from the image though. Here are the boot logs:
Display is blank, and the serial terminal shows nothing beyond this point. I tried booting from sdcard and emmc. Open to suggestions if anyone has ideas for debugging further. EDIT: after flashing tow-boot, the upstream generic aarch64 image worked. The version of the image used in
|
Ok. I bumped the version of the nixos image. Hopefully it would work now... |
Tried flashing to EMMC, doesn't boot. This might have something to do with differences in how u-boot is loaded by pbp. The manjaro image for example does this:
EDIT: nevermind, the differences in partitioning are apparently down to MBR vs GPT. The nixos image's partitions and offsets are in line with what is needed for GPT.
The text was updated successfully, but these errors were encountered: