Hello,
I am doing development on an AM335x Starter Kit and am trying to get SDL 1.2 working.
I have installed SDL (cross compiled for arm-linux) and am trying to run a game which uses SDL.
I am finding that the game errors out with the following in the log file:
"Can't initialize SDL: No available video device"
I have tried to setup SDL to use the framebuffer, but i still have no luck in getting the game to run.
I have run fbset and the results are:
mode "480x272-57"
# D: 9.091 MHz, H: 16.992 kHz, V: 57.021 Hz
geometry 480 272 480 576 32
timings 110000 43 8 12 4 4 10
rgba 8/16,8/8,8/0,8/24
endmode
I can output to the framebuffer using
cat ~/test.bmp > /dev/fb0
and some sort of an image appears although it is not correct. which tells me that the frame buffer is at least functional in some way.
Has anyone had any experience with running SDL? Any pointers?
Thanks,
Tim