Boot up fail with ""Synchronous Abort" handler, esr 0x96000210"


#1

As title described, update.img was installed successfully but fail to boot up.
Can someone help me?


#2

Hi Mobile:
Can you specify more details about your issues? Bassicaly, following information is needed:

  • Which version ROM you installed for your VIM board?
  • I guess you compile the ROM by yourself, right?

Thanks!


#3

Which version ROM you installed for your VIM board?
–>Marshmallow
I guess you compile the ROM by yourself, right?
–>yes, I compile the ROM by myself. and you can refer to another issue I post a few days before.
https://forum.khadas.com/t/image-build-passed-download-the-image-to-vim1-board-successfully-but-boot-without-display-see-lcd-led-turn-to-greed-from-red-but-no-display/2639
the boot up fail issue can be resolved with terry’s suggestion. Terry’s suggestion is followed in below.
but recently I re-compiled the ROM trying to speed up EMMC, but encounter the same issue. and I check the code as terry’s suggestion, it’s same as his.
diff --git a/board/khadas/configs/kvim.h b/board/khadas/configs/kvim.h
index 8f7a3e4…bafc4b6 100644
— a/board/khadas/configs/kvim.h
+++ b/board/khadas/configs/kvim.h
@@ -76,6 +76,7 @@
“loadaddr=1080000\0”
“outputmode=1080p60hz\0”
“hdmimode=1080p60hz\0” \

  •    "cvbsmode=576cvbs\0" \
       "display_width=1920\0" \
       "display_height=1080\0" \
       "display_bpp=16\0" \
    

@@ -97,6 +98,7 @@
“EnableSelinux=disabled\0”
“recovery_part=recovery\0”
“recovery_offset=0\0”\

  •    "cvbs_drv=0\0"\
       "initargs="\
            "rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-ua
           "\0"\
    

@@ -304,7 +306,7 @@
#define CONFIG_CMD_BMP 1

#if defined(CONFIG_AML_VOUT)
-#undef CONFIG_AML_CVBS
+#define CONFIG_AML_CVBS
#endif

/* USB
diff --git a/common/cmd_hdmitx.c b/common/cmd_hdmitx.c
index 5ca80f3…f8e11eb 100644
— a/common/cmd_hdmitx.c
+++ b/common/cmd_hdmitx.c
@@ -35,12 +35,12 @@ static int do_hpd_detect(cmd_tbl_t *cmdtp, int flag, int argc,

    if (st) {
            setenv("outputmode", getenv("hdmimode"));
  •   #ifdef CONFIG_AML_CVBS
      } else {
    
  •           #ifdef CONFIG_AML_CVBS
              setenv("outputmode", getenv("cvbsmode"));
    
  •   #endif
    
  •   } else {
    
  •           #else
              setenv("outputmode", "1080p60hz");
    
  •           #endif
      }
      return st;
    

}


#4
  • 你的IP显示是中国用户,可以用中文描述问题
  • 你的代码是Khadas Github上面同步最新的代码吗?
  • 建议使用Android 7.1代码,6.0我们没维护了(6.0也不会有你现在的现象)
  • 那你现在什么问题?

#5

现在遇到的问题是:khadas VIM1 不断重启
不良现象:开机不断重启。
不良概率:针对手边的一台机器,开机的时候100%出现,从未出现开机进系统的情况。
不良log:链接:https://share.weiyun.com/5ktPo6l
系统:android 6.0.1

其实7月份刚买第一块khadas VIM1的时候,我自己编译的update.img也出现了同样的情况,后来经过Terry的建议,修改了uboot中的一些代码,就可以正常开机了。
Terry的建议如下:
https://forum.khadas.com/t/image-build-passed-download-the-image-to-vim1-board-successfully-but-boot-without-display-see-lcd-led-turn-to-greed-from-red-but-no-display/2639/11?u=mobile360
为了提高EMMC的CLK freq并且打印EMMC的debug log,我修改了部分代码,这部分代码是kernel中。应该不会影响uboot。

目前我只下载了6.0的source code,没有下载7.0的。而且这个问题很奇怪。


#6

如果只是修改eMMC Clock Freq,是不会影响的,即便有影响log也不同。

建议从如下方向分析:
1、早期的U-Boot代码没有配置CVBS,是有Reseting CPU问题,打开了CVBS配置就OK了,或者把VIM连接HDMI后再开机也不会有次问题。因此,确认下你代码是新的代码
2、检查下你的代码修改是否被恢复了,因为看你的现象跟你之前另外一个帖子发的现象一样,即没有修改CVBS配置的现象一样。
3、耐心检查下

PS:有的时候的错误是:你编译了正确的代码,烧录的时候拷贝错误的固件 :smile:

Have fun!


#7

你有快速下载android7.0 source code的链接吗?
khadas guide里面的方法下载太慢了~~
https://docs.khadas.com/vim1/DownloadAndroidSourceCode.html


#8

#9

我make clean,清掉了所有的img 文件。并且恢复到原始code。 build出来的image 下载到板子里,板子还是不断重启。
make image log:链接:https://share.weiyun.com/5gJVFQ7
fail log:链接:https://share.weiyun.com/5ktPo6l

请帮忙看看到底是什么问题,谢谢~~


#10

补充一下,我之前make 出来的image是能够正常开机的。


#11

问题已经解决了,我找到workaround了,谢谢