Error flashing an image to X-15

Hello

I tried to flash the debian 9 stretch image to the beagleboard x-15 flash from SD as per directons of https://beagleboard.org/latest-images it started okay but then the next error appeared

rsync: write failed on /tmp/rootfs/var/cache/apt/srcpkgcache.bin: No space left on device (28)

Have anyone encountered this problem?

Regards

M

Which image did you try to flash?

Regards,

It might be your image is over 4G some how.

When I first got my x15 I wanted to use eMMc for development; found out quickly not enough room.
I corrupted my eMMC but was able to reload it with 4.9.78 LXQT image. I loaded the image to a 4GB SD
using Etcher (you can use dd but Etcher is easier). After that I went into /rootfs/boot/uEnv.txt and
uncommented the line at the bottom of the file:
cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3-no-eeprom.sh

Installed card in the SD slot and powered up the x15 and it reloaded the eMMC.

I am now working with an 64GB SD card with kernel 4.14.x kernel… using a little over
8GB so far. I make it a habit to save the image at every major improvement…using
dd for saving…

Powered down
Pulled my SDcard out
powered up and verified my eMMC is still 4.9.78

I am happy with this design.

The one from the beagleboard page: Debian 9.4 2018-06-17 4GB SD LXQT

That might be it… I did try with a 8GB sd…I will attempt to do it with a 4GB and see if it works.

The default image is around 90% of space, you should have 400~450MB
free after flashing...

debian@BeagleBoard-X15:~$ cat /etc/dogtag
BeagleBoard.org Debian Image 2018-06-17

microSD:

debian@BeagleBoard-X15:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 897M 0 897M 0% /dev
tmpfs 201M 9.5M 192M 5% /run
/dev/mmcblk0p1 3.3G 2.7G 369M 89% /
tmpfs 1003M 8.0K 1003M 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1003M 0 1003M 0% /sys/fs/cgroup
tmpfs 201M 4.0K 201M 1% /run/user/1000

debian@BeagleBoard-X15:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk1 179:0 0 3.5G 0 disk
mmcblk1boot0 179:8 0 2M 1 disk
mmcblk1boot1 179:16 0 2M 1 disk
mmcblk1rpmb 179:24 0 512K 0 disk
mmcblk0 179:32 0 29.7G 0 disk
└─mmcblk0p1 179:33 0 3.3G 0 part /

After flashing, eMMC:

debian@BeagleBoard-X15:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 897M 0 897M 0% /dev
tmpfs 201M 9.4M 192M 5% /run
/dev/mmcblk1p1 3.5G 2.8G 460M 87% /
tmpfs 1003M 8.0K 1003M 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1003M 0 1003M 0% /sys/fs/cgroup
tmpfs 201M 4.0K 201M 1% /run/user/1000

Regards,

Can you tell us how you programmed the image, Debian 9.4 2018-06-17 4GB SD LXQT , onto the SD card?

Could you please convert THAT flasher image on the 8GB SD card back to a stand-alone image (e.g. comment back out the flasher script line in uEnv.txt) and boot Linux from THAT SD card.

Then once you’ve booted Debian from that SD card, check the partition size (e.g. mmcblk0p1 ) and layout of the disk by doing lsblk ?

Thanks!!

Finally solved it, in 2 ways actually, I flashed the image with etcher on a 4GB SD and also adjusted the size of an 8 GB SD card using GParted in ubuntu to 4GB then I proceeded to flash the image with PowerISO, both worked!! I speculate that I had a wrong partition size originally, the ext4 was more than 4GB which caused that error when burning in flash.

Thank you very much!!