m-labs / bugs

Old Milkymist repos. Only kept for historical purposes :)
4 stars 0 forks source link

autostart crash in 640x480 #2

Closed sbourdeauducq closed 13 years ago

sbourdeauducq commented 13 years ago

Autostart seems to crash the system when the GUI resolution is 640x480. We should: a) fix this bug b) disable loading of the sysconfig.bin from the flash when booted in rescue mode, so that other potential problems like this do not end up with an unrecoverable state for the user.

xiangfu commented 13 years ago

when "autostart crash in 640x480", all keyboard shortcuts not working, like "Ctrl + Alt + Del" not reboot m1.

b) Hi Sebastien, is this patch ok for you: http://lists.milkymist.org/pipermail/devel-milkymist.org/2011-April/001446.html

sbourdeauducq commented 13 years ago

That's a solution, but: 1) Remove the call to readconfig() instead of making it return immediately. 2) The build scripts in flash/ should also build the now different images appropriately. Maybe it is even better if the Makefile builds two images (normal and rescue) all the time. 3) A better solution is to detect rescue mode at runtime which would avoid flashing two different images. To do that, the BIOS can load a CPU register to indicate to the application whether it is in rescue mode or not before booting.