Pocket Reform will (try to) boot from a microSD card.
Copy the image to your microSD card
sudo dd if=reform-system-imx8mp.img of=/dev/sdX
bs=8M status=progress
Working good, 32GB SanDisk, 4822 MB transferees Ok. On first boot, the Setup Wizard and work ok.
That’s it—now you can boot your Pocket Reform from the freshly flashed microSD card. But, working for SD. Not work eMMC working!
1 Like
jirka
September 4, 2024, 1:09pm
2
sudo reform-boot-config --emmc emmc
Thanks
looks like “/dev/mmcblk2p1 doesn’t exist”
Tried “run reform-rescue”
“bash: run: command not found”
josch
September 4, 2024, 2:10pm
4
There is no command called run
. There is also no command called reform-rescue
. Did you see it used like this somewhere in the documentation? It would be helpful to know, so that this can get fixed.
Also, as far as I know, the Pocket Reform should come with a system on eMMC. The fact that your mmcblk2 has no partition on it is strange. Did you change that?
josch
September 4, 2024, 3:12pm
6
Here are the official instructions for when you deleted the partitions on eMMC:
Hi,
no worries, as long as you didn’t delete u-boot on the eMMC boot sector (it takes some effort to do that, though), you can still boot from MicroSD card and use the following part from our factory install script to re-image the eMMC freshly. Copy it to a text file and make it executable (with chmod a+x).
The script requires a few tools, to make sure these are installed, do:
apt install bmap-tools e2fsprogs parted
And here’s the main install script:
#!/bin/bash
echo "Copying MNT Pocket Re…
As long as you do not remove u-boot on eMMC (that would soft-brick your board) you will be able to recover your eMMC without too much effort.
2 Likes
Hi,
no worries, as long as you didn’t delete u-boot on the eMMC boot sector (it takes some effort to do that, though), you can still boot from MicroSD card and use the following part from our factory install script to re-image the eMMC freshly. Copy it to a text file and make it executable (with chmod a+x).
The script requires a few tools, to make sure these are installed, do:
apt install bmap-tools e2fsprogs parted
And here’s the main install script:
#!/bin/bash
echo "Copying MNT Pocket Re…
re-image eMMC:pocket-reform-system-imx8mp.img.gz
Copy it to a text file and make it executable (with chmod a+x
) ?
apt install bmap-tools e2fsprogs parted OK
And here’s the main install script: Vim? How make a copy text in vim? How do copy and paste?
Thank you
josch
September 5, 2024, 4:39am
8
Yes, chmod +x yourscript.sh
makes yourscript.sh
executable.
If you do not know vim yet, its learning curve might be a bit steep. There are other editors though which might be a bit more familiar to you, like for example the one called gedit
from gnome.
You have to change one thing in the script though which is the url to the image. So instead of:
sudo bmaptool copy https://source.mnt.re/reform/reform-system-image/-/jobs/4400/artifacts/raw/pocket-reform-system-imx8mp.img.gz /dev/mmcblk2
That line should be:
sudo bmaptool copy https://source.mnt.re/reform/reform-system-image/-/jobs/5802/artifacts/raw/pocket-reform-system-imx8mp.img.gz /dev/mmcblk2
The only change was to switch out job 4400 by 5802
1 Like