Closed zhang-wenchao closed 1 week ago
@RadxaYuntian Need help. Thank you.
Your run ends here where you can see there are additional commands and logs after it. Please check if you are missing any additional run time dependencies.
You can run bash -x ./rbuild shrink-image ./rock-pi-s_debian_bookworm_cli.img
to see which command failed.
What I found was that I was missing parted, but after shrink it was 2.5G , which doesn't meet the requirements. It needs to be less than 1G.
The system can barely fit under 1G after heavy customization, but it is very minimal. You should look for Yocto for such use case, but ROCK S0 is yet to be supported.
My rock-pi-s has 1G of SD NAND, the downloaded img is 2.5G too big to use, I tried to compile it myself and couldn't reduce the size.