(02-14-2021, 05:04 PM)KC9UDX Wrote: Okay, this really sounds to me like U-boot runs, and hands over control to the operating system, which crashes early.
Lets leave the eMMC turned off for now.
1) What operating system image are you trying to boot from Micro SD?
2) Have you tried a different Micro SD card?
3) How are you writing the image to the SD card?
4) Do you have a UART cable (beware there are "right" looking cables which can cause damage)?
I highly recommend the original PBP operating system image, "Debian Desktop" which can be found in the wiki, for these situations It seems to be the most likely to work in these situations. There have been many reports of SD cards that do not work properly, even a few reports of SD cards that once worked, which now do not. I only ever write SD cards with `dd`. I am not familiar with other methods, but many people report having other preferences.
It may sound ridiculous, but it is pretty common to have a buggered eMMC and an SD card that won't boot, at the same time. Usually after trying relentlessly, the PBP will just suddenly work with a particular SD card; and then you can rewrite the eMMC and get back to normal business. I hope this is your case.
If you should have a UART cable, and a way to use the serial console, this may give you more insight to what's actually happening.
YESTERDAY
=========
**For reference purposes only, feel free to skip to TODAY section below**
eMMC off.
Without UART cable!
1) Tried the following-
- Debian Desktop image by mrfixit (via wiki link)
- Archlinux image (via wiki link)
- Ubuntu Bionic LXDE image (via wiki link)
- NetBSD (via wiki link)
- Chromium (via wiki link)
- Manjaro KDE (via wiki link)
- Manjaro eMMC installer 20.04 (via osdn.net)
2) Yes, three of them. I've also checked whether they work on other devices. Able to boot from them on other SBC boards.
Samsung EVO Plus 128GB
Verbatim 8GB
Verbatim 4GB (where the image could fit)
3) dd
The only other tool I've *ever* used for writing SD cards is bmaptools.
4) Could not try. UART at work.
Observed as stated in previous posts.
TODAY
===
eMMC off.
UART cable delivered by work courier this morning (can't go to work today because of COVID19 restrictions).
1) Tried-
- Debian Desktop image by mrfixit (via wikilink)
2) Samsung EVO Plus 128GB
3) dd
4) UART pl2303 chipset being used. PL2303 is OK'd by the wiki (
https://wiki.pine64.org/wiki/Pinebook_Pr...g_the_UART). When UART is connected (via screen with baud rate of 1500000), u-boot shows.
Stops on 'Starting kernel ...'
If I spam the boot sequence with 1 and Enter keystrokes, so that there is no delay in loading the kernel, the display flicks for half a second.
I'm guessing this is some progress!
UPDATE
Other distros are, e.g. debian official, are finding CRC errors with the SPIFlash.