I created a fresh SD card and flashed 011 to internal, tried stock 011 kernel, test1 and test2 but was unable to get my Beelink MiniMXIII to reboot 10 times in a row. The only way it booted 10 times in a row was when I removed the SD Card and unplugged my remote.
So with my test it seems like the boot issue is caused by the usb ports or SD card, @Kaszq could you build a kernel that disables booting from USB? I really think it maybe the USB ports coz as soon as i unplug my remote it boots. Yes I've tried different remotes and the results are the same, the stock remote stopped working but I haven't tested it since 008 since I don't use it anyways.
@ kostaman maybe you can try unplugging everything from the box except hdmi/lan and reboot using the stock remote or via ssh?
MiniM8sPro S905 2gb/8gb
LE Internal Flash
7.0.3.011 stock version. gxbb_p200_2G_100M_RealtekWiFi.dtb 18-Dec-2016 16:54 38576
I think JonSnow may have nailed it. I have slightly different results but definitely the USB Boot in the kernel is having a negative effect in my booting.
I fired up my box and it booted no problem with no USB or USB Air mouse receiver attached.
I re booted and powered off the box at least 20 times without a freeze.
I then inserted a USB Stick in the side USB port of my box (next to the sd card slot) not the back one.
I rebooted the box and got 5 freezes in a row.
I then removed the USB Stick and cold powered back on with success.
Rebooted 4 times no issue.
I then inserted the USB Stick in the BACK PORT. and rebooted with no issue.
Did this 4 times with no issue.
I re inserted the USB Stick back into the side Port and it booted up successfully. That threw me.
I rebooted another 4 times and it successfully booted until the 5th time it froze.
I cold booted and it successfully booted.
Powered off and it rebooted.
My observation whilst the USB Stick is inserted is that when it does boot,
The boot animation is shown for a good 8 to 10 seconds.
Without the USB Stick inserted the boot animation only stays for 3 seconds.
I would like to disable USB BootUp option with this build and see what happens.
update: sorry bud but this doesnt work, box rebooted 4 times before hanging, only hdmi and power plugged in 7.0.3.011 installed to nand on my mini mx s905 1gb/8gb realtek wifi box.
Can you please try the non realtek device tree. I am not 100% sure about your box but i never used that realtek device tree on my MiniMx 1gb/8gbgxbb_p200_1G_1Gbit.dtb
Edit Update : USB Inserted reboot and got this after LE Splash Screen. Kernel Panic.
Cold boot and successfully booted after this.