johang / sd-card-images

Scripts to build bootable SD card images with Debian for various single-board computers
https://sd-card-images.johang.se
GNU General Public License v3.0
158 stars 34 forks source link

Several different issues with Amlogic P212 #144

Open LupusEtFlos opened 2 months ago

LupusEtFlos commented 2 months ago

Hello. I've followed the instructions for Debian Bookworm, using a 16GB SD card, but the dd process takes several minutes, prints out an error about input/output, but eventually finishes. I end up with a 29MB FAT16 partition, a 3.5GB bootable partition with an unrecognisable filesystem, and the rest is unallocated.

I then tried to insert the card on my device, and it boots straight to Android, the card shows up fine under the storage menu. Am I doing something wrong, could I attempt maybe Balena Etcher instead of dd to flash the image?

Worth mentioning, this board belonged to my old ISP, they used it as a streaming device I managed to escape from and reach the Android OS, I wonder if I need to flash its stock ROM first?

Any help or guidance is truly appreciated.

Here's screenshots. KPKcOlV 0I9poAV

johang commented 2 months ago

but the dd process [...] prints out an error about input/output

This might be the problem. Bad SD card?

LupusEtFlos commented 2 months ago

This might be the problem. Bad SD card?

Hmm, it works fine otherwise. I don't have another card big enough to test with. To be honest, every SD card I try to format with dd, for other projects I mean, give me issues of all sorts. I'm starting to wonder if the interface I'm using is the issue, or the adaptor. But... I don't have any other devices to do this process with.

Thanks for answering, by the way. I hope to be able to run this on my box someday.