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;
}