Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions stages/eib_image
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,12 @@ EOF
# Copy Raspberry Pi's u-boot
local UBOOT_PATH="${DEPLOY}"/usr/lib/u-boot/rpi_arm64
cp ${UBOOT_PATH}/u-boot.bin ${EIB_TMPDIR}/rpiboot/kernel8.img

if [ "${EIB_PLATFORM}" == "PAYG" ]; then
CHRG_BAT="\[pi500\]\n# Enable charging RTC battery with PAYG image\ndtparam=rtc_bbat_vchg=3000000\n"
sed -i "/^\[all\]/i ${CHRG_BAT}" ${EIB_TMPDIR}/rpiboot/config.txt
fi

eib_umount ${EIB_TMPDIR}/rpiboot
;;
pinebookpro)
Expand Down