VAR SOM MX6 (iMX6) - BOOT FAILURE EMMC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

VAR SOM MX6 (iMX6) - BOOT FAILURE EMMC

Jump to solution
2,835 Views
AntoineP
Contributor I

Hi everyone,

My iMX6 processor failed to boot after a few weeks of use with the error codes :

  • "JBD2: invalid checksum recovering block 724  in log"
  • "EXT4-fs mmcblk0p1: error loading journal
  • "Unable to mount rootfs on unknown block (179,1)"

I have a VAR SOM MX6 processor (https://www.variscite.com/wp-content/uploads/2017/12/VAR-SOM-MX6_datasheet.pdf) with kernel 4.1.15 version (https://github.com/xhctoi/linux-imx-4.1.15) and boot from eMMC.

The rootfs seems to be corrupted and can not be repaired. The only fix we have is to format eMMC and reflash our linux image.

Do you have any ideas how to prevent this corruption and what can be the root cause of it?

Thanks in advance,

0 Kudos
Reply
1 Solution
2,819 Views
igorpadykov
NXP Employee
NXP Employee

Hi Antoine

 

>Do you have any ideas how to prevent this corruption and what can be the root cause of it?

 

reason may be sudden power loss, so rootfs can be corrupted. As solution one can

consider back-up battery as in i.MX6Q Sabre SD schematic spf-27392 p.18

Design files, including hardware schematics, Gerbers, and OrCAD files for i.MX 6Quad (i.MX 6Dual emu...

 

Best regards
igor

View solution in original post

0 Kudos
Reply
3 Replies
2,820 Views
igorpadykov
NXP Employee
NXP Employee

Hi Antoine

 

>Do you have any ideas how to prevent this corruption and what can be the root cause of it?

 

reason may be sudden power loss, so rootfs can be corrupted. As solution one can

consider back-up battery as in i.MX6Q Sabre SD schematic spf-27392 p.18

Design files, including hardware schematics, Gerbers, and OrCAD files for i.MX 6Quad (i.MX 6Dual emu...

 

Best regards
igor

0 Kudos
Reply
2,798 Views
AntoineP
Contributor I

Hi Igor,

Thank you for your response.

We used to store our rootfs initially on a SD card and we never encoutenred this kind of problem before. But we were facing SD card detection problems, so we moved our rootfs on the eMMC available. And now we're facing rootfs corruption.

Unfortunately, we can't change our hardware, but is it possible to use eMMC of VAR SOM MX6 in data reliability (SLC mode) and how? Do you think it could resolve our problem?

We could also change our rootfs in read-only mode or build an emergency backup system (but it will be longer to implement).

What solution would be the best to resolve this corruption? I'm open to any other suggestion to fix this.

Best regards,

0 Kudos
Reply
2,756 Views
igorpadykov
NXP Employee
NXP Employee

these questions ( rootfs in read-only mode, eMMC in data reliability (SLC mode)) are general

linux questions and may be recommended to post them on kernel mail list

http://vger.kernel.org/vger-lists.html

 

Best regards
igor

0 Kudos
Reply