Error flashing an image to X-15

60 views
Skip to first unread message

Miguel Duran

unread,
Jul 27, 2018, 7:06:05 PM7/27/18
to BeagleBoard
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


Robert Nelson

unread,
Jul 27, 2018, 8:01:41 PM7/27/18
to Beagle Board, miguel...@gmail.com
Which image did you try to flash?

Regards,

--
Robert Nelson
https://rcn-ee.com/

Andy Laberge

unread,
Jul 28, 2018, 1:59:30 PM7/28/18
to beagl...@googlegroups.com
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.


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYgtxJunrR9g9wzM2QUpRMmjKGccS72fZMzk9yXWKT2CdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Miguel Duran

unread,
Jul 30, 2018, 8:46:30 AM7/30/18
to BeagleBoard
The one from the beagleboard page: Debian 9.4 2018-06-17 4GB SD LXQT 

Miguel Duran

unread,
Jul 30, 2018, 8:48:51 AM7/30/18
to BeagleBoard
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.

Robert Nelson

unread,
Jul 30, 2018, 10:31:11 AM7/30/18
to Beagle Board
On Mon, Jul 30, 2018 at 7:46 AM, Miguel Duran <miguel...@gmail.com> wrote:
> The one from the beagleboard page: Debian 9.4 2018-06-17 4GB SD LXQT

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

Jeff Andich

unread,
Jul 30, 2018, 12:30:11 PM7/30/18
to BeagleBoard
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!!

Miguel Duran

unread,
Aug 1, 2018, 9:17:06 AM8/1/18
to BeagleBoard
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!!
Reply all
Reply to author
Forward
0 new messages