02-12-2019, 05:14 PM
(01-26-2019, 03:54 AM)nuumio Wrote: EDIT: About an hour later I figured out why I haven't experienced reboot problems as of late: I've running myRP64s with eMMC. I just tried rebooting with SD-card and it didn't work even once (tried about 10 times). I think it may have hanged once in shutdown but all other tries failed when trying to boot showing this in serial console:
(full boot + reboot log pastebin: https://pastebin.com/4RPFk8FA)Code:pmugrf_os_reg[2] = 0x3AA1FAA1, stride = 0xD
OUT
U-Boot SPL board init
U-Boot SPL 2017.09-rockchip-ayufan-1035-gd646df03ac (Oct 26 2018 - 08:36:09)
booted from SD
Trying to boot from MMC2
mmc_load_image_raw_sector: mmc block read error
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
Maybe people familiar with U-Boot can tell what's going on here.
That's odd because I am running an eMMC module and have the problem and in fact the ONLY time I ever got it to reboot fine was with the Armbian image on microSD card. I never investigated it further because I had no plans to use and SD card. At the time I chalked it up to being Armbian (since I had been using the Bionic image before that) but once Armbian was on the eMMC it refused to reboot.
Having said that I'm 99% sure I had upgraded the kernel and added fanctl prior reboot attempts so it could very well be an issue with the kernel or fanctl service. I had to make a drive change and a full refresh of the eMMC card today so I plan on doing a bunch of testing to see if I can narrow the issue down any more.