pyavitz / debian-image-builder

Debian image builder for single board computers
Other
143 stars 33 forks source link

Debian Image Builder #2

Closed pyavitz closed 3 years ago

pyavitz commented 3 years ago

Host: Ubuntu Focal Updated u-boot to v2021.01

Ubuntu Focal offers more options in the GCC department and will enable u-boot and kernels to be built specific for the release of Debian that is chosen.

Board: Odroid HC4 You may need to remove incompatible Petitboot loader that is shipped with the board. From the Petitboot, select “Exit to shell” and enter these commands to remove the Petitboot.

# flash_eraseall /dev/mtd0
# flash_eraseall /dev/mtd1
# flash_eraseall /dev/mtd2
# flash_eraseall /dev/mtd3

This will make your SPI flash memory empty, so it can start from SD on next boot. In case you want to put Petitboot back on the board, use these instructions.

Added new Odroid power/reset patch and updated the amlogic_defconfig. Rockchip patches have been updated, up to Linux 5.10.23. Other miscellaneous changes to functions, scripting and files.