SATA HAT issue Installation

I bought the 4C with the quad sata hat.
I use a 32 GB emmc module for the operating system. (Armbian_21.05.1_Rockpi-4c_buster_legacy_4.4.213.img.xz)
The installation according to the instructions works without problems,
until I install the latest u-boot

sudo apt-get install -y rockpi4c-rk-u-boot-latest

I get the followin error:

Step two: upgrade bootloader on uSD card or eMMC
Boot device, uSD card or eMMC, is found. Would you like to upgrade bootloader on it?
If yes, type Y/y. If no, type N/n.


Backup bootloader on boot device (/dev/mmcblk1p1).

dd: writing to ‘/usr/lib/u-boot-rockpi4c/rockpi4c-rk-uboot_bkp.img’: No space left on device
55888153+0 records in
55888152+0 records out
28614733824 bytes (29 GB, 27 GiB) copied, 1884.64 s, 15.2 MB/s
dpkg: error processing package rockpi4c-rk-ubootimg (–configure):
installed rockpi4c-rk-ubootimg package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of rockpi4c-rk-u-boot-latest:
rockpi4c-rk-u-boot-latest depends on rockpi4c-rk-ubootimg (= 2017.09-2700-g70b4cfe057); however:
Package rockpi4c-rk-ubootimg is not configured yet.
Version of rockpi4c-rk-ubootimg on system, provided by rockpi4c-rk-ubootimg:all, is .

dpkg: error processing package rockpi4c-rk-u-boot-latest (–configure):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.5-2) …
dpkg: unrecoverable fatal error, aborting:
unable to flush /var/lib/dpkg/updates/tmp.i after padding: No space left on device
E: Sub-process /usr/bin/dpkg returned an error code (2)

Did I need a larger emmc module?

Thank you for your help.

Since you use Armbian - you don’t need uboot, better use Armbian from here

thanks for your tip.
The system looks nice.
But unfortunately I don’t need a GUI.

@skais, ah, then everything simplier.i thought you needed gui since you picked buster. Then you need to go here

Also you can remove desktop from buster with apt-get remove lightdm


I was now able to solve the problem with the instructions.

The system is now running very well.