The NAND flash will be scanned when OpenWrt boots up to map out LEBs right? Would that process initiate UBI scrubbing? If so, actually there should be no need for the boot up script to trigger scrubbing?
Maybe just a weekly cron job to trigger scrubbing?
New installer pre-release containing the latest changes for people who want to run SNAPSHOTS and are currently on 23.05.x or earlier (or stock firmware):
If you're talking latest 22.x release version of BL2, then yes, that works every bit as well as the first. However, the versions provided with 23.x are all 2.9 and suffer from OKD. You don't want to run any of the currently available 23.x BL2 releases. If you're talking about the OKD-fixed snapshot releases, it's been built specifically to use FIP in UBI and will not load a FIP in mtd.
Yes, from what I know. BL2 from TF-A 2.9 and later added support for FIP in UBI volumes, but MTD support is still there. So FIP is MTD is not a problem.
Edit:
Since you have already downgraded, and it works, best to leave it alone. BL2 is not really important in the grand scheme of things IMHO.
There is a difference in the compilation for BL2. When building the binary, you must tell it to look for the fip in mtd space or in UBI. As of yet, there is no binary that will look in both places. Therefore, the version built to go with snapshot will only look for fip in UBI. The version built to go with 22.x and 23.x will only look for fip in mtd. Not only that, but because the data layout differs between the 23.x and 24.x/snapshot builds, the snapshot BL2 requires an additional parameter to update the UBI offset.
Will you make a new one for 24.XX when that release becomes available? So for users who had used old 2.4 installer(s) and still on 23.XX but want to stay on official releases? Is the latter a safe option?
To go from 23.x to 24.x/snapshot, it would indeed be as simple as running the snapshot version of the installer and then the snapshot or 24.x firmware you intend to run.
I meant users who had last installed older owrt-ubi-installer versions that used the TF-A v2.4 like v0.6.4, are presently on an OpenWrt 23.05.X release, and want to wait for 24.XX release.
Safe enough for those users like me just to wait for the 24.XX release and the corresponding updated owrt-ubi-installer?