Update imx6

Yesterday I received a Colibri IMX6S 256MB IT, V1.0 A, with a Carried board Iris V1.1 A.

I am using Colibri_iMX6_LinuxImageV2.6Beta2_20160630.tar.bz2.

I used a sdcard with “sudo ./update.sh -o /media/angelo-toradex/C2C1-4955” .

After using run setupdate and run update, there is an error during update:

Colibri iMX6 # run update 
reading colibri_imx6/u-boot.imx
314368 bytes read in 34 ms (8.8 MiB/s)
switch to partitions #1, O
mmc0(part 1) is current device 

MMC write: dev # 0, block # 2, count 614 ... 614 blocks written: OK 
done.                                                                                                                                        
Fuse 0, 5:     5072  
Fast boot mode already fused, no need to fuse                                                                                              
reading colibri_imx6/mbr.bin  
512 bytes read in 15 ms (33.2 KiB/s)  
switch to partitions #0, OK  
mmc0(part 0) is current device 

MMC write: dev # 0, block # 0, count 1 ... 1 blocks written: OK  
reading colibri_imx6/boot.vfat
16777216 bytes read in 796 ms (20.1 MiB/s) 
switch to partitions #0, OK
mmc0(part 0) is current device 

MMC write: dev # 0, block # 8192, count 32768 ... 32768 blocks written: OK   
reading colibri_imx6/uImage 
4713456 bytes read in 242 ms (18.6 MiB/s) 
writing uImage 
4713456 bytes written
reading colibri_imx6/imx6dl-colibri-eval-v3.dtb
43853 bytes read in 25 ms (1.7 MiB/s) 
writing imx6dl-colibri-eval-v3.dtb 
43853 bytes written
reading colibri_imx6/root.ext3 
67108864 bytes read in 3138 ms (20.4 MiB/s)
switch to partitions #0, OK
mmc0(part 0) is current device 

MMC write: dev # 0, block # 40960, count 131072 ... 131072 blocks written: OK 
reading colibri_imx6/root.ext3 
67108864 bytes read in 3215 ms (19.9 MiB/s) 
switch to partitions #0, OK
mmc0(part 0) is current device 

MMC write: dev # 0, block # 172032, count 131072 ... 131072 blocks written: OK
reading colibri_imx6/root.ext3 
67108864 bytes read in 3289 ms (19.5 MiB/s)
switch to partitions #0, OK
mmc0(part 0) is current device 

MMC write: dev # 0, block # 303104, count 131072 ... Timeout waiting for DAT0 to go high!
mmc fail to send stop cmd 

**0 blocks written: ERROR**

reading colibri_imx6/root.ext3 
67108864 bytes read in 3366 ms (19 MiB/s) 
reading colibri_imx6/root.ext3 
67108864 bytes read in 3441 ms (18.6 MiB/s) 
reading colibri_imx6/root.ext3 
67108864 bytes read in 3515 ms (18.2 MiB/s)  
reading colibri_imx6/root.ext3

** **colibri_imx6/root.ext3 shorter than offset + len** ** 

38797312 bytes read in 2277 ms (16.2 MiB/s)   
resetting ... 

After reset, the kernel is not loaded:

[    4.602611] VFS: Mounted root (ext3 filesystem) readonly on device 79:10.                                                                
[    4.613463] devtmpfs: mounted                                                                                                             
[    4.618362] Freeing unused kernel memory: 312K (807e8000 - 80836000)                                                                      
[    4.631234] **Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for** .

I don’t know what is happening.

Angelo

It seems that U-Boot had an issue while writing the Rootfs to eMMC:

Timeout waiting for DAT0 to go high! mmc fail to send stop cmd

Can you try again? If this is reproduce-able I guess there is an issue with the eMMC…

Stefan,

I have tried many times, and all times, the message happens:
MMC write: dev # 0, block # 303104, count 131072 … Timeout waiting for DAT0 to go high!
mmc fail to send stop cmd
0 blocks written: ERROR

I will contact Toradex Brazil.