Support for FriendlyELEC NanoPi R5S rk3566 SBC

Appreciate the info, @anaelorlinski !

For those who may follow, here is what I did:

  • Use cfdisk to expand partition
    • cfdisk /dev/mmcblk1
    • Use the cfdisk interface to then expand /dev/mmcblkp2
  • Use losetup and resize2fs to expand filesystem
opkg update
opkg install losetup resize2fs

# Map loop device to root partition
losetup /dev/loop1 /dev/mmcblk1p2

# Expand root filesystem
resize2fs -f /dev/loop1

# Apply changes
reboot
2 Likes