rockpi image doesnt seem to boot

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
mikelikebike
Posts: 2
Joined: Wed Sep 02, 2020 6:54 am

rockpi image doesnt seem to boot

Post by mikelikebike »

Hi everyone,

I'm having issues with the 'DietPi_ROCKPi4-ARMv8-Buster' image. Doesn't seem to load at all. Can anyone confirm this image works on their RockPi 4?

I have tested a debian 9 image on the same RockPI and the board does work. The Debian 9 image has a partition structure as shown in the below link.
https://wiki.radxa.com/Rockpi4/partitions

The DietPi_ROCKPi4-ARMv8-Buster image only has one partition and it's 16MiB off from the start of the media. Could the partition structure be a problem for the RockPi target?
User avatar
Joulinar
Posts: 2287
Joined: Sat Nov 16, 2019 12:49 am

Re: rockpi image doesnt seem to boot

Post by Joulinar »

Hi,

many thanks for your request. We have a couple of messages on the board about working RockPi 4 systems

viewtopic.php?p=23214#p23214

viewtopic.php?f=11&t=7898

If I'm correct @trendy is using one??
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
trendy
Posts: 133
Joined: Tue Feb 25, 2020 2:54 pm

Re: rockpi image doesnt seem to boot

Post by trendy »

I am using it without any issues since I installed the non-dev image. But I flashed it some time ago, not sure if the current image available is fine or broken.
mikelikebike
Posts: 2
Joined: Wed Sep 02, 2020 6:54 am

Re: rockpi image doesnt seem to boot

Post by mikelikebike »

Hi Joulinar and trendy. Thank you for developing Dietpi. it's a great distro and have it on at least 2 other SBCs.

trendy, can you share your partition table on the working RockPi?

Here is the layout of the DietPi_ROCKPi4-ARMv8-Buster.img

Code: Select all

$ sudo parted /dev/sdc print
Model: Generic STORAGE DEVICE (scsi)
Disk /dev/sdc: 31.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End    Size   Type     File system  Flags
 1      16.8MB  531MB  515MB  primary  ext4
and here is the the official Rasbian 9 img layout (that works)

Code: Select all

sudo parted /dev/sdc print
Model: Generic STORAGE DEVICE (scsi)
Disk /dev/sdc: 31.0GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name     Flags
 1      32.8kB  4129kB  4096kB               loader1  msftdata
 2      8389kB  12.6MB  4194kB               loader2  msftdata
 3      12.6MB  16.8MB  4194kB               trust    msftdata
 4      16.8MB  554MB   537MB   fat32        boot     boot, esp
 5      554MB   2000MB  1446MB  ext4         rootfs
I'm not exactly sure if the RockPi needs this structure but only working way i have seen yet is with the second way.

I can try shuffling the DietPi image around to look like the Rasbian 9, but figured I'd ask if someone can recognize an obvious problem.
User avatar
Joulinar
Posts: 2287
Joined: Sat Nov 16, 2019 12:49 am

Re: rockpi image doesnt seem to boot

Post by Joulinar »

I guess that's fine. Raspbian 9 was based on Debian Stretch if I'm not mistaken. However the current DietPi image is based on Debian Buster.

I had a look to latest Armbian Buster (server) image. From structure (partition) point of view, this is looking same as DietPi image. If I'm not mistaken, DietPi is using Armbian as base image for RockPi SBC

DietPi
picture1.png
Armbian
picture.png
Pls can you try downloading Armbian Server image. Just to check if it's working. https://www.armbian.com/rock-pi-4/

If yes, you could transfer the Armbian system into DietPi by following this guide: https://github.com/MichaIng/DietPi/issues/1285
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply