They offer now two images: 4 Gb and 1 Gb. Even the bigger one has 2.5 Gb free after flashing it to the internal eMMC, so I guess it could be used too.
I went with the smaller one, its rootfs size is 660MB, used space is 462 MB, so I guess there’s plenty of room for expanding either rootfs or data partition.
What I did:
- built Mender image as per the manual (forum topic), only specified config file with “emmc” in its name, not with “sdcard”.
- booted Beaglebone with official image from uSD card.
- copied Mender .img file to the SD card with
scp. This step could be done prior to booting.
dd command on the Beaglebone itself for flashing the .img file to the eMMC.
- powered Beaglebone off, removed uSD card and powered it on.
It booted and appeared in the hosted Mender server dashboard!
So now I have another question:
The official Beaglebone image can be booted from SD card as well as from internal eMMC. It’s possible to uncomment a single line (
cmdline=init=<path_to_flasher_script>) in /boot/uEnv.txt to flash the image from SD card to eMMC.
Is it possible to prepare similar image for Mender? E.g. it can be booted from SD card, but, with a single command, it copies itself to eMMC without the need for .img file.
Or the only way is to copy Mender .img file to official Beaglebone image, and then dd it?