Skip to content
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

PinebookPRO black screen with newer mainline kernels #180

Closed
thypon opened this issue Jan 16, 2021 · 9 comments
Closed

PinebookPRO black screen with newer mainline kernels #180

thypon opened this issue Jan 16, 2021 · 9 comments

Comments

@thypon
Copy link
Member

thypon commented Jan 16, 2021

Cc: @CameronNemo , @ericonr , @Johnnynator

What is happening?

  • I build an image with latest kernel-5.10.2 and aarch64 root
git clone https://github.com/void-linux/void-mklive
cd void-mklive
make
./mkrootfs.sh aarch64
./mkplatformfs.sh pinebookpro <base-tarballl>
./mkimage.sh -B 512M <rootfs-tarball>
  • I flash the image to an SD dd if=<image> of=<disk>
  • I try to boot the SD on Pinebook PRO
  • The Screen Remains Black, the LED switch from yellow to green.

Expected Behaviour

The system boots correctly

Troubleshooting

I tried different microSD brands.
ARCH Linux image is booting correctly.

@CameronNemo
Copy link
Contributor

CameronNemo commented Jan 16, 2021

I do not imagine you have a serial adapter for the PBP? Are you using dracut or no initramfs (the mmc indexes may have swapped again)?

@thypon
Copy link
Member Author

thypon commented Jan 16, 2021

No serial adapter here with me. No change to the base image, not even the SD one is booting. When It is booting from the eMMC the led remains yellow, while on the SD it turns green. This usually means the kernel has booted.

@thypon
Copy link
Member Author

thypon commented Jan 16, 2021

@CameronNemo I think the title may be misleading, I'm not using a custom mainline kernel, I'm using the one included in void, pinebookpro-kernel. pinebookpro-kernel is the mainline one since 5.9.x, with minor patches. It was a completely separated tree before.

The problem is that I cannot even create a working SD card from void-mklive with latest rootfs, at the moment.

@CameronNemo
Copy link
Contributor

@thypon indeed the new kernel we have uses more modules it seems, conflicting with the initramfs-less image created by this repo. you could try to find out which Ms need to be Ys in the kernel config, or just add dracut to the platformfs.

@thypon
Copy link
Member Author

thypon commented Jan 16, 2021

I will try with dracut, thanks. It may be time to add dracut as pinebook-base package, anyway.

@thypon
Copy link
Member Author

thypon commented Jan 17, 2021

It's working good with dracut.

@ericonr
Copy link
Member

ericonr commented Feb 17, 2021

I believe this has been fixed? Initramfs could be documented as a requirement, but that goes in void-docs.

@CameronNemo
Copy link
Contributor

I would consider this fixed if building the image from this repo without any additional packages produced something functional. Right now the user has to manually specify dracut as an additional package. That is the bug from my POV.

CameronNemo added a commit to CameronNemo/void-packages that referenced this issue Feb 20, 2021
CameronNemo added a commit to CameronNemo/void-packages that referenced this issue Feb 20, 2021
The PBP kernel has more modules, and thus needs an initramfs to boot.
Add dracut to ensure that PBP images created by mklive boot correctly.

void-linux/void-mklive#180
ericonr pushed a commit to void-linux/void-packages that referenced this issue Feb 23, 2021
The PBP kernel has more modules, and thus needs an initramfs to boot.
Add dracut to ensure that PBP images created by mklive boot correctly.

void-linux/void-mklive#180
@CameronNemo
Copy link
Contributor

this can be closed now

atweiden added a commit to atweiden/voidpkgs that referenced this issue Feb 24, 2021
The PBP kernel has more modules, and thus needs an initramfs to boot.
Add dracut to ensure that PBP images created by mklive boot correctly.

void-linux/void-mklive#180

void-linux/void-packages@7791f87
@ericonr ericonr closed this as completed Feb 24, 2021
hazayan pushed a commit to hazayan/void-packages that referenced this issue Feb 28, 2021
The PBP kernel has more modules, and thus needs an initramfs to boot.
Add dracut to ensure that PBP images created by mklive boot correctly.

void-linux/void-mklive#180
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants