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 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.


raspberrypi



Comments

Popular posts from this blog

Valutazione Template - Joomla! Forum - community, help and support

SD Datastring Convention

First use of Arduino Uno : avrdude error on Blink uploading