4 ms·
My PBP with mostly stock uboot and kernel boots in ~15 seconds. Not great (especially without s2ram) but not 'dog slow' in my opinion. No altmode typec in mai
by CameronNemo 6y ago
My PBP with mostly stock uboot and kernel boots in ~15 seconds.
Not great (especially without s2ram) but not 'dog slow' in my opinion.
No altmode typec in mainline is a big issue for me. Very sad that there is no usable video output.
- megous 6y agoU-Boot has no business taking > 1-2s to boot PBP. More than that is kinda ridiculous. I was shocked seeing it take 8s when I first booted Manjaro. (My allwinner boards boot in ~2s, and those are all way slower than RK3399) With some older levinboot version, PBP boots to initramfs FDE password prompt in ~4s [1]. It's probably even faster now. I wish it would take 2s to that prompt, because then I can open PBP, enter password right away, and then just do something else waiting for the desktop to load. But 3-4s is already pretty nice. [1] https://xnux.eu/log/#015 https://xnux.eu/log/#015 At least suspend to idle works as a sort of replacement for suspend to ram. PBP can stay for long enough in that state, so it's usable on the go even without suspend to RAM.
- mswann 6y agoHaven't heard of levinboot yet, LGTM, thanks for the hint! Where do you get your entropy from? Does levinboot provide some (enough?) to the kernel? Right now I delay booting via a sleep in the initramfs so that I have time to randomly press as many keys as possible to get crng initialized before cryptsetup is called. Configuring my U-Boot build to provide entropy to the kernel is still on my to do list, haven't looked into it yet and don't know whether it already does or not. At least last time I checked I observed that KASLR didn't work due to missing entropy (the artificial delay won't work here as KASLR happens way before calling init).
- megous 6y agoIt's in the feature list: https://gitlab.com/DeltaGem/levinboot https://gitlab.com/DeltaGem/levinboot > providing entropy to the kernel (KASLR and RNG seeds) via the DTB I might as well add this feature to p-boot too. :)