[split] U-Boot with NVMe support, keyboard & display working
#31
Thanks for the info guys. Well, it was kind of expected that problems will still be there. But hey - it's always worth trying.

I have some crazy theory regarding inconsistencies of booting. I mean for some people the device boots without problems and for others it doesn't. Or at least boots rarely without a hang.

My question is @Arwen , @belfastraven , @giamma1295 - from which batch your pbp is ?


And the image for sd emmc is here --->  SD/eMMC.
  Reply
#32
(07-29-2020, 11:22 PM)as400 Wrote: Thanks for the info guys. Well, it was kind of expected that problems will still be there. But hey - it's always worth trying.

I have some crazy theory regarding inconsistencies of booting. I mean for some people the device boots without problems and for others it doesn't. Or at least boots rarely without a hang.

My question is @Arwen , @belfastraven , @giamma1295 - from which batch your pbp is ?


And the image for sd emmc is here --->  SD/eMMC.
IMy pinebook was and early one from the second 100 sent out.  By the way,  It was coming down to not being able to boot at all.  I used an armbian build on sd through the serial cable to reflash pcm720's latest version.  I was just wondering whether you (or anyone else) knows the proper u-boot console command  to erase the spi flash.  I had no problem getting to the u-boot console with your build,  which was great,  and I know it would be sf erase "xxxxx" --just wasn't sure what the "xxxxx" was. (e.g. was it mtd0 0 0)  Although I disassembled this machine at least 30 times when I first got it (losing and replacing all the screws and standoffs--ha ha) and even took a hacksaw to the original nvme adapter,  I really would like to minimize the times that I need to take things apart,...
  Reply
#33
I'm wondering how well this handles sleep....
  Reply
#34
Thanks @belfastraven - mine is from the second batch (first ansi ones).

@samueldr also has from the first batch and he also has problems booting. My suspicion is that the hardware batches differ slightly.
It doesn't have to be something big. Maybe quality of components or something like that.
I wonder from which batch is @giamma1295 - his apparently boots quite consistently. Well, let's wait.

As to the dissasemblies - welcome to the club Smile I also lost screws, had to short pins and so on hundreds of times Smile It's like neverending adventure.

@wdt - I wouldn't count on sleep.
  Reply
#35
>@wdt - I wouldn't count on sleep.
Well, you have that uboot installed, does it work or not?
If it works, should be less than 10%/d (when sleeping for that whole day)
Saves a lot of charging annoyance
AND makes it feasible to run off SD
  Reply
#36
Can't tell you that because I have NVME installed. And sleep never worked with NVME drives.
AFAIK sleep problem with mainline kernels was not resolved as of now. Although there is one person working on it.
  Reply
#37
If I recall properly, mine was from the first 100 too. I get something like 90-95% hangs without the workaround.

NVME is not installed.

Sleep with mainline kernel is partially-solved, with the proprietary trustzone blob from Rockchip.
  Reply
#38
(07-30-2020, 02:16 PM)as400 Wrote: Thanks @belfastraven - mine is from the second batch (first ansi ones).

@samueldr also has from the first batch and he also has problems booting. My suspicion is that the hardware batches differ slightly.
It doesn't have to be something big. Maybe quality of components or something like that.
I wonder from which batch is @giamma1295 - his apparently boots quite consistently. Well, let's wait.

As to the dissasemblies - welcome to the club Smile I also lost screws, had to short pins and so on hundreds of times Smile It's like neverending adventure.

@wdt - I wouldn't count on sleep.

Mine is from last batch.
Tests performed:
1) Manjaro NVME 5.7, sometimes before starting up I have to turn off and on again even 10 times, so it is not very consistent.
2) Debian on eMMC , installed using the script present in this forum, with the 5.5 kernel always booting correctly, with a 5.7 kernel compiled by me it boots very rarely.
3) Anything from USB does not boot

Unfortunately i don't have so much luck whit this bootloader

EDIT: I don't know what is happening, i erased the spi(flash_erase) so now my pbp should use the u-boot installed on eMMC, but it still boots from NVME (really fast and consistent too)...
  Reply
#39
I've tried the latest U-Boot here with my ISO Pinebook Pro on the eMMC, because it still had the Mr Fixit Debian, and kernel 4.4. It appears to work great. Have to boot a bunch more times to see if it's reliable. This Pinebook Pro is from the first 100 batch.

One odd thing, during switch over from U-Boot to kernel, I get vertical black and white bars on the screen for a few seconds. Startled me the first time because I thought it was going to hang. Probably some interaction between the 2 video initializations.

Edit:
One note, the timeout specified in U-Boot configuration is in 1/10s of a second. So 50 in the example is 5 seconds. Not quite long enough for my purpose.

And, Manjaro 5.7 kernel does not boot, (out of 3 times). But, I made it a second partition and boot entry. The Debian 4.4 still boots fine, same Pinebook Pro. (Of course I could have made a mistake in the Manjaro copy...)
--
Arwen Evenstar
Princess of Rivendale
  Reply
#40
@Arwen - the problems with booting kernels > 5.5 are known so no surprise here.
I wonder why I don't experience that inconsistency so painfully. Seems my theory of differences in hardware is not relevant.

@giamma1295 - wait, so you still have uboot from this thread even though you erased SPI ?

I wonder guys if someone of you could test my binary compiled 5.8.0rc7 kernel ? Maybe this happens because of patchset used ?
If somebody would be willing to test it I'll be more than happy to provide you with my kernel, initrd, modules and dtb file.

I will also try stock Manjaro kernel and see if this will give me problems like you have. Will report back.

EDIT:

So testing my kernel does not make sense since Manjaro stock kernel (5.7.0-3) boots fairly consistently for me.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro for sale - ISO keyboard - UK only c6Q$! 0 115 02-21-2021, 09:19 AM
Last Post: c6Q$!
  Built-in Webcam Not Working fozzedout 36 10,736 02-01-2021, 08:59 AM
Last Post: lemaurien19
  Novice question: Pinebook Pro does boot (does it?) but black screen Gert V. 21 2,161 01-27-2021, 10:48 PM
Last Post: rimaille
  Sudden Pinebook Pro boot problems ndp 3 497 01-21-2021, 09:51 AM
Last Post: ndp
  How to determine which U-boot I am using edandjeanmcknight@gmail.com 0 211 01-15-2021, 08:25 AM
Last Post: edandjeanmcknight@gmail.com
  U-Boot with direct NVMe boot support for eMMC/SPI Flash pcm720 115 72,701 01-04-2021, 09:57 AM
Last Post: wdt
  Booting to sdcard stopped working after emmc flash techiedog 3 725 12-31-2020, 06:30 PM
Last Post: Anarethos
  No keyboard & trackpad leads to no display. RMA from the US. Free parts in Seattle BitterPine 4 1,178 12-30-2020, 06:14 AM
Last Post: BetteHoward
  Pinebook Pro refuses to boot from eMMC pivic 23 2,679 12-14-2020, 05:08 PM
Last Post: KC9UDX
  Keyboard settings not saved on reboot motezart 6 1,226 11-26-2020, 12:11 PM
Last Post: creaverse

Forum Jump:


Users browsing this thread: 1 Guest(s)