bootloader bootcount feature request - Raspberry Pi Forums
hello,
i've been working u-boot , pi allow a/b/recovery partition scheme.
u-boot has bootcount , altbootcmd allow booting alternative partition or recovery partition after x boot attempts.
but, i've been struggling u-boot , custom compute module using emmc.
wondering it possible bootcount , altbootcmd feature added default pi bootloader seems have no trouble using our custom compute module , emmc.
around lines of
in fat boot partition file called bootcount.txt with
-------------
bootcount=n
maxbootcount=3
altbootconfig=config_alt.txt
------------------
where:
bootcount increment on each boot, os edit value back 0 on successful boot.
maxbootcount specifies max boot attempt in if bootcount greater number bootloader use config altbootconfig instead of default config.txt
add ability implement recovery partitions.
-dorian
i've been working u-boot , pi allow a/b/recovery partition scheme.
u-boot has bootcount , altbootcmd allow booting alternative partition or recovery partition after x boot attempts.
but, i've been struggling u-boot , custom compute module using emmc.
wondering it possible bootcount , altbootcmd feature added default pi bootloader seems have no trouble using our custom compute module , emmc.
around lines of
in fat boot partition file called bootcount.txt with
-------------
bootcount=n
maxbootcount=3
altbootconfig=config_alt.txt
------------------
where:
bootcount increment on each boot, os edit value back 0 on successful boot.
maxbootcount specifies max boot attempt in if bootcount greater number bootloader use config altbootconfig instead of default config.txt
add ability implement recovery partitions.
-dorian
i have nothing bootloader development.
bootloader has ability write (modify) files?
think has implemented reading part simplicity reason.
writing more complicated, because have take care more things.
bootloader has ability write (modify) files?
think has implemented reading part simplicity reason.
writing more complicated, because have take care more things.
raspberrypi
Comments
Post a Comment