RPI5 - Stuck in bootloop after changing system partition size
Closed this issue · 1 comments
DGMeyer96 commented
I build the AOSP for my Raspberry Pi 5 and a vanilla build works perfectly. I then tried to add a custom SystemUI apk to the image and I ran into an error with the System Partition not being large enough. I edited the BoardConfig.mk in device/brcm/rpi5/ to enlarge the BOARD_SYSTEMIMAGE_PARTITION_SIZE from 2147483648 to 2684354560. Once I did this and flashed the image to my SD card, the RPI5 is now in a bootloop. Any advice? Is there a way to enable ADB via init.rc so I can debug?
Notes - I haven't added back my custom APK. This is stock build with change to partition size only.
DGMeyer96 commented
I'll close this issue. Was able to fix this by adjusting the sizes specified in rpi5-mkimg.sh. Image now boots successfully.