Download, extract, and write an OS to the MicroSD card.
Boot the board with the eMMC attached.
Download the image or copy it to the board using SSH or an USB key.
Extract the image if you are copying it compressed with xz -dk FILENAME.xz.
dd it to the eMMC sudo dd if=FILENAME of=/dev/mmcblk0 bs=1M.
Reboot
If the eMMC already has a corrupted system written on it and you want to overwrite it:
Boot the board via SD card without eMMC.
Attach the eMMC. Be very careful not to short anything. Also be careful not to destroy the connectors by fat fingering it while attaching. Line everything up.
In a terminal type:
git clone https://github.com/libre-computer-project/libretech-flash-tool.git lft
cd lft
sudo ./lft.sh b-emmc rebind
Continue from step 3 of the regular process above.
While I certainly skipped around in it, there are some things I noticed and worked to avoid and to encounter.
I have managed to install RaspbianPi to the eMMC and have it boot. It did require microsd card. I did use an AMD machine. Did the thing to stop uboot and then the dd to the emmc.
Iâm fairly sure that I have a set of steps that would work for anyone, while explaining a little bit of troubleshooting that could help along the way. For example my first time through I just followed the steps without thinking about what I was doing. After failing, I went back and tried with what I know and found success.
Is there a place that I can upload a document when I redo this for verification? Or can I just KCS the original post? As screen shots help in these cases, I will be using them. If there is a SME that would like to review Iâll happily work with them as well.
Regards from a warm potato and happy taterân to yâall!
Thank you for your quick reply! Unfortunately I still canât get it to work.
Your instructions worked fine. the dd command finished with the following output:
4668+0 records in
4668+0 records out
4894752768 bytes (4.9 GB, 4.6 GiB) copied, 74.6514 s, 65.6MB/s
I then:
powered down the board
removed the SD card (I am assuming this is the right thing to do at this point?)
powered the board back up
What I am getting is the regular start sequence. uboot interruption option first [which I do not interrupt] and then booting withe the following ouput:
** Booting bootflow âmmc@ff520000.bootdev.part_1â with efi
Card did not respond to voltage select! : -110
Booting /efi\boot\bootaa64.efi
After that the boot seems to crash at different times. Sometimes the HDMI output stops alltogether, sometimes I get the Ubuntu load screen with the spinning wheel and the wheel stops spinning and then it just sits there forever, sometimes it seems to keep going for a while and then I get a bunch of text output that I donât know what it means (see upload attached).
Since the behavior is not consistent it seems like something is unstable and leads to crashes at different times but I am not sure what to make of that or how to proceed.
I would like to get the emmc to work as performance should be much faster than with an SD card.
When I run from SD card the system seems a bit slow but generally stable, consistent and workable (it boots into the desktop environment and everything seems to generally work).
Do you have any tips what I can do to get this to work reliably with the emmc?
Oh I forgot to mention, I do have a CanaKit 5V 2.5A power supply. I read that too weak of a power supply could cause those issues but I donât think this is the issue in this case as it works fine with the same power supply when booting from the SD card.
It took me a long time to be able to get back to that prompt where I can type anything as it kept crashing before getting to that but when I got there and typed the command there are many pages of outputs. I have attached 2 pictures, the first is the final output of journalctl -xb --no-pager the other one shows a bunch more text that just popped up while just sitting there for a few more minutes (maybe after 4-5 minutes).
Does this help you to determine what the issue is at all? Is there anything else I can provide that would help?
Where and when did you get the image? If the image was able to be written to the eMMC, it means that thereâs no problem with either. What command are you using to dd?
It is the same image I put on the SD card which I am booting from to flash the emmc. That image seems to be working fine when using it from the SD card.
The dd command used is the one you provided in your earlier reply in this thread from August 10th as point 5: âsudo dd if=FILENAME of=/dev/mmcblk0 bs=1Mâ where I replace FILENAME with the extracted .img file name