PINE64
Installation Debian on emmc: which U-Boot and where? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: General Discussion on ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=99)
+--- Thread: Installation Debian on emmc: which U-Boot and where? (/showthread.php?tid=16826)



Installation Debian on emmc: which U-Boot and where? - vongillus - 06-12-2022

Hello,

I bought a rockpro64 2.1 with a 32gb emmc module.

I read different wiki pages and ended up installing U-Boot on the spi.

But even if U-Boot works and I could finish the Debian install on emmc (which I did before installing U-Boot), everytime I boot it seems like it doesn't detect anymore emmc. It's says:

Card did not respond to voltage select! : -110

Ok then I thought it's a wrong version of U-Boot so I installed towboot.

But I get the same error.

Any idea what I am doing wrong there?

Thanks


RE: Installation Debian on emmc: which U-Boot and where? - dkebler - 06-18-2022

try connecting pins 23-25 per the wiki (will bypass spi) and boot sd/emmc with u-boot

Have you tried booting from an sd card? another emmc.


RE: Installation Debian on emmc: which U-Boot and where? - vongillus - 07-01-2022

(06-18-2022, 08:28 AM)dkebler Wrote: try connecting pins 23-25 per the wiki  (will bypass spi) and boot sd/emmc with u-boot

Have you tried booting from an sd card?  another emmc.

Thanks for your answer. No I didn't try yet to boot an OS from the sd card. I just booted with the sd card to install the OS. I can install an u-boot to the spi and also erase it. What you suggest is to install u-boot on emmc instead of spi right? Do you have any link for this?

Thanks again


RE: Installation Debian on emmc: which U-Boot and where? - dkebler - 07-02-2022

Here is what I do with a new board. 

0. burn erase and flash disk images to a couple sd cards.  https://github.com/sigmaris/u-boot/releases  (these are not the latest but latest compiled)
1. Jump pin 23-25
2. put erase sd in and boot (have a monitor plugged in and confirm that the spi flash was erased)
3. Now put the sd "flash" one in, as soon as the the board starts to boot from sd card remove the jump (or the flashing won't work). Again confirm that the flashing was completed.  Any errors or message that 0 bytes were flashed means it failed.  It must succeed.
4.  Now you can remove the jumper completely
5.  Now burn an os image to and sd card or emmc.
6.  Put that in and power up and you are on your way.

**Note:** Some of the rockrpo64 boards have a "hardware" bug which is they wont "reset" until the power as been off for about 60 secs.  So if it just sits there and does nothing then unplug from power for at least 60 seconds.  See my and other's posts about this on the forum.  https://forum.pine64.org/showthread.php?tid=16151

# OS Images

The best way to get an image on emmc is not to boot from sd card and xfer but to get a usb-emmc adapter (available from pin64) and put your os image directly on it using your primary computer. 
I have a number of bad emmc cards. They go bad and burning another image on them doesn't fix them. Always try another (new) one if having boot only from emmc issues.

armbian (ubuntu or debian, cli or desktop)
https://www.armbian.com/rockpro64/

dietpi  (debian cli only)
https://dietpi.com/

manjaro (desktop only) - https://github.com/manjaro-arm/rockpro64-images/releases  - I haven't tried these put they look good for desktop install and may have kernel support for the dsi/touch