We are seeing some very strange behavior from the eMMC after making changes to the registry and running SaveReg.
This is what the debug console displays normally:
Toradex Bootloader 1.0 for Colibri Built Mar 23 2016
Board: Colibri iMX6 DualLite 512MB
CPU is running at 984000MHz.
Using eMMC boot partition (size: 4096 sectors).
Loading EBoot configuration...
16 sectors of configuration data loaded from boot.
Initializing L2 Cache.
Press [SPACE] to enter Bootloader Menu
Initiating image launch in 0 seconds.
System ready!
Preparing for download...
Loading compressed image...
Reading image from sector 40962.
Extracting 67554676 bytes from compressed image of 38630909 bytes
................................................................
Done.
Launching image at 10200000.
IMAGE(CE8): 1.0
Colibri iMX6 DualLite 512MB
SMP support enabled
Detected 2 CPUs
Waiting for 2 CPUs
CPU0 is started
CPU1 is started
PID:00400003 TID:00560002 Registry - loading version 1 from 16386.
PID:00400003 TID:00560002 Registry - loading version 1 from 16386.
PID:00400003 TID:00560002 Registry - loading version 1 from 16386.
PID:00400003 TID:0048004E Port is used for OS debug!
PID:00400003 TID:0048004E Waiting for flash disk \FlashDisk for 60 seconds
PID:00400003 TID:0048004E Folder mounted
PID:00400003 TID:0048004E GALCORE 4.6.9(9754) (Sep 19 2014 12:04:16)
PID:00400002 TID:0048004E Major GPU: SysIntr=32 MemBases=0x130000 MMU Version=0
PID:00400002 TID:0048004E 2D GPU: SysIntr=33 MemBases=0x134000 MMU Version=0
PID:00400002 TID:0048004E VG GPU: SysIntr=34 MemBases=0x2204000
PID:00400002 TID:0048004E Video memory: BaseAddress=0x0 PhysBase=0x254b6000 size=0x3000000 physSize=0x0
PID:00400003 TID:054D0006 Maximum Allowed Error 5:
PID:00400003 TID:00560002 SoftRTC disabled
PID:04EE000A TID:04F8000A RTC Time restored (20.06.2016 05:59:29)
PID:04EE000B TID:04F8000A RTCSync: Completed.
PID:054F000B TID:0551000A Desktop Window QI, Unknown interfacePID:054F000B TID:0551000A Desktop Window QI, Unkno
wn interfacePID:054F000A TID:05E80032 Explorer(V2.0) taskbar thread started.
However, after a few reboots, we see the following:
Toradex Bootloader 1.0 for Colibri Built Mar 23 2016
Board: Colibri iMX6 DualLite 512MB
CPU is running at 984000MHz.
Using eMMC boot partition (size: 4096 sectors).
Loading EBoot configuration...
16 sectors of configuration data loaded from boot.
Initializing L2 Cache.
Press [SPACE] to enter Bootloader Menu
Initiating image launch in 0 seconds.
System ready!
Preparing for download...
Loading compressed image...
Reading image from sector 40962.
Extracting 67554676 bytes from compressed image of 38630909 bytes
................................................................
Done.
Launching image at 10200000.
IMAGE(CE8): 1.0
Colibri iMX6 DualLite 512MB
SMP support enabled
Detected 2 CPUs
Waiting for 2 CPUs
CPU0 is started
CPU1 is started
PID:00400003 TID:00560002 Registry - loading version 1 from 16386.
PID:00400003 TID:00560002 Registry - loading version 1 from 16386.
PID:00400003 TID:00560002 Registry - loading version 1 from 16386.
PID:00400002 TID:0048004E Port is used for OS debug!
PID:00400002 TID:029E0002 FATFS!FormatVolume: Formatting volume. Flags = 0x16.
PID:00400002 TID:0048004E Waiting for flash disk \FlashDisk for 60 seconds
PID:00400002 TID:0048004E Folder mounted
PID:00400002 TID:0048004E GALCORE 4.6.9(9754) (Sep 19 2014 12:04:16)
PID:00400002 TID:0048004E Major GPU: SysIntr=32 MemBases=0x130000 MMU Version=0
PID:00400002 TID:0048004E 2D GPU: SysIntr=33 MemBases=0x134000 MMU Version=0
PID:00400002 TID:0048004E VG GPU: SysIntr=34 MemBases=0x2204000
PID:00400002 TID:0048004E Video memory: BaseAddress=0x0 PhysBase=0x258b0000 size=0x3000000 physSize=0x0
PID:00400003 TID:051A0006 Maximum Allowed Error 5:
PID:00400003 TID:00560002 SoftRTC disabled
PID:04BE000A TID:04C3000A RTC Time restored (20.06.2016 06:00:16)
PID:04BE000B TID:04C3000A RTCSync: Completed.
PID:04E8000B TID:04E7000A Desktop Window QI, Unknown interfacePID:04E8000B TID:04E7000A Desktop Window QI, Unkno
wn interfacePID:04E8000A TID:045E0032 Explorer(V2.0) taskbar thread started.
The troublesome part is this line:
PID:00400002 TID:029E0002 FATFS!FormatVolume: Formatting volume. Flags = 0x16.
The data is sometimes wiped clean. We also sometimes see instances where the flash disk is not mounted resulting in an empty folder in Windows Explorer.
If you have any information that may be of help in troubleshooting or resolving this problem, please advise.
Thank you.