I have been trying for some time now to get the A8_1_X BSP persistent registry working on SD with no luck.
I have been trying to get the registry to persist on the SD card as a prerequisite to persisting to an eMMC device (which looks just like a permanently mounted SD card). I when through the same exercise with the 6.13 BSP and was successful. This is what I know:
6.13 registry persist to Flash -WORKS
6.13 registry persist to SD - WORKS
6.13 registry persist to eMMC - WORKS
A8_1_X registry persist to Flash - WORKS
A8_1_X registry persist to SD - FAILS
A8_1_X registry persist to eMMC - FAILS
I used the same technique and pretty much the same registry setting (HKLM\BootVars, System\Storagemanager\Profiles\SDMemory etc.). I have the HIVE BOOT SECTION's around the boot registry needed drivers (SDHC,GPIO etc) and the proper flags entry set ("Flags"=dword:00001000).
Debugging I can see it is pretty much making it through boot phase 1 and 2, I can even see the registry folders and files created correctly. The issue seems to be when it transitions to the later boot stage when it loads the remainder of the drivers. Then I get all kinds of strange exceptions and errors. Again, the same exact OSDESIGN works just fine when FLASH registry persistence is used and the FLASH drivers are added. Sometimes I get strange error messages that seem to be related to the SERVICESD.EXE process as it tries to start some of the winsock and other services.
I suspect it has something to do with the custom bus enumerator but I don't know what.
I can get a minimal OSDESIGN to boot all the way, cleanly, by setting the omapbus.reg flags setting from "Flags"=dword:00010000 to "Flags"=dword:00001000 and removing most all other drivers but I know this is not correct as bus enum will only run in early boot stage.
Since eMMC support seems to be important I would assume this scenario should be supported.
I do not have a EVM2 to test with but I do have two different reference platforms (one DM3730 and one 3530) and both fail the exact same way.
Any ideas? Has anyone managed to get SD persistent registry working with the A8 BSP?
Unfortunately, unlike the 6.13 BSP, the registry setting are spread across multiple .reg files so not easy to post.