Please a create an autostart.sh file with the following content:
Copy it through Samba to the \\<IP-of-the-box>\Configfiles\ and then restart the box.
After the restart please copy and attach the \\<IP-of-the-box>\Downloads\uboot_env.txt file to this topic.
My assumption is that there is an uboot variable for display that is causing the problem.
Here it is.
Code
aml_dt=m8b_m201_1G
baudrate=115200
boardname=m8_board
bootargs=init=/init console=ttyS0,115200n8 no_console_suspend ramoops.mem_address=0x04e00000 ramoops.mem_size=0x100000 ramoops.record_size=0x8000 ramoops.console_size=0x4000 enforcing=0 androidboot.selinux=permissive storage=2 cvbsdrv=0 vdaccfg=0xa000 logo=osd1,loaded,0x7900000,1080p,full hdmimode=1080p cvbsmode=576cvbs androidboot.firstboot=0 hdmitx=
bootcmd=run startfromext; run storeboot
bootdelay=1
bootfile=boot.img
bootfromnand=0
bootm_low=0x00000000
bootm_size=0x80000000
bootpath=u-boot.bin
bootsize=100000
bootstart=0
bootup_offset=0x1302c270
bootup_size=0x3f4848
check_rebootmode=get_rebootmode; clear_rebootmode; echo reboot_mode=${reboot_mode};if test ${reboot_mode} = factory_reset; then defenv; fi;
chipname=8726m8
console=ttyS0,115200n8
cvbs_drv=0
cvbsmode=576cvbs
digitaudiooutput=PCM:auto
display_bpp=16
display_color_bg=0
display_color_fg=0xffff
display_color_format_index=16
display_height=1080
display_layer=osd2
display_width=1920
ethact=Meson_Ethernet
ethaddr=00:15:18:01:81:31
fb_addr=0x7900000
fb_height=1080
fb_width=1920
filesize=2BE
firstboot=0
fuweib=if tftpboot 12000000 boot.img; then bootm; fi
fuweiu=if tftpboot 12000000 u-boot.bin; then store rom_write 12000000 0 62000; fi
gatewayip=192.168.1.1
get_dt=checkhw
hdmimode=1080p
hostname=arm_m8
initargs=init=/init console=ttyS0,115200n8 no_console_suspend ramoops.mem_address=0x04e00000 ramoops.mem_size=0x100000 ramoops.record_size=0x8000 ramoops.console_size=0x4000 enforcing=0 androidboot.selinux=permissive storage=2
initrd_high=60000000
ipaddr=192.168.3.47
loadaddr=0x12000000
loadaddr_logo=0x13000000
netmask=255.255.252.0
normalsize=400000
normalstart=1000000
outputmode=1080p
p0path=uImage
p0size=400000
p0start=1000000
p1path=android.rootfs
p1size=8000000
p1start=1400000
partnum=2
preboot=run test_facreset;if itest ${upgrade_step} == 3; then run prepare; run storeargs; run update; fi; if itest ${upgrade_step} == 1; then defenv_reserve_env; setenv upgrade_step 2; saveenv;fi; run check_rebootmode;run prepare;run storeargs;run update_power_key; run update_ir; run switch_bootmode
preloaddtb=imgread dtb boot ${loadaddr}
prepare=logo size ${outputmode}; video open; video clear; video dev open ${outputmode};imgread pic logo bootup ${loadaddr_logo}; bmp display ${bootup_offset}; bmp scale;
reboot_mode=charging
recovery=echo enter recovery;setenv bootargs ${bootargs} wipeinstaboot;if mmcinfo; then if fatload mmc 0 ${loadaddr} recovery.img; then bootm;fi;fi; if usb start 0; then if fatload usb 0 ${loadaddr} recovery.img; then bootm; fi;fi;if imgread kernel recovery ${loadaddr}; then bootm; else echo no recovery in flash; fi;
sdc_burning=sdc_burn ${sdcburncfg}
sdcburncfg=aml_sdc_burn.ini
serverip=192.168.1.121
startfromext=if test ${bootfromnand} = 1; then setenv bootfromnand 0; saveenv; exit; fi; if test ${reboot_mode} = switch_system; then exit; fi; run startfromsd; run startfromusb
startfromsd=if mmcinfo; then if fatload mmc 0 ${loadaddr} kernel.img; then setenv bootargs ${bootargs} bootfromsd; bootm; fi; fi
startfromusb=if usb start 0; then if fatload usb 0 ${loadaddr} kernel.img; then setenv bootargs ${bootargs} bootfromusb; bootm; fi; fi
stderr=serial
stdin=serial
stdout=serial
store=2
storeargs=setenv bootargs ${initargs} cvbsdrv=${cvbs_drv} vdaccfg=${vdac_config} logo=osd1,loaded,${fb_addr},${outputmode},full hdmimode=${hdmimode} cvbsmode=${cvbsmode} androidboot.firstboot=${firstboot} hdmitx=${cecconfig}
storeboot=if test ${reboot_mode} = charging; then run try_auto_burn; fi;echo Booting...; if unifykey get usid; then setenv bootargs ${bootargs} androidboot.serialno=${usid};fi;if unifykey get mac; then setenv bootargs ${bootargs} mac=${mac};fi;imgread kernel boot ${loadaddr};bootm;run recovery
switch_bootmode=if test ${reboot_mode} = factory_reset; then run recovery;else if test ${reboot_mode} = update; then run update;else if test ${reboot_mode} = usb_burning; then run usb_burning;else if test ${wipe_data} = failed; then echo wipe_data=${wipe_data}; run recovery;else fi;fi;fi;fi
test_facreset=if test ${wipe_data} = failed; then echo -wipe_data=${wipe_data}; run prepare; run storeargs; run recovery;fi; if test ${wipe_cache} = failed; then echo -wipe_cache=${wipe_cache}; run prepare; run storeargs; run recovery;fi;
testaddr=0x12400000
update=run usb_burning; if mmcinfo; then if fatexist mmc 0 ${sdcburncfg}; then run sdc_burning; else if fatload mmc 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;run recovery;fi;else run recovery;fi;
update_ir=if irdetect; then run update; fi
update_power_key=if gset GPIOAO_6 get; then sleep 3; if gset GPIOAO_6 get; then echo update by key...; run update; fi;fi
upgrade_step=2
usb_burning=update 1000
vdac_config=0xa000
video_dev=tvout
wipe_cache=success
wipe_data=success
Display More
I did try to extract .dtb file from stock android firmware and replace dtb.img, box boots but still no img.