Code: Select all
load MyBmpImage, ScreenBuffer
sync
end
MyBmpImage:
file 'Bg.bmp'
align 4
ProgramSize:
ScreenBuffer:
Thanks for the reply.DexOS wrote:Sure this will put a nice splash screen on bootupCode: Select all
load MyBmpImage, ScreenBuffer sync end MyBmpImage: file 'Bg.bmp' align 4 ProgramSize: ScreenBuffer:
DexOS wrote:Sorry it was a joke, it would put a splash screen, but little else.
As it's for bare metal coding, without a OS (eg: no linux).
And i sure thats not what you want.
Code: Select all
sudo apt-get install fbi Code: Select all
fbi -a /usr/share/images/desktop-base/spacefun-grub-widescreen.png Will this display the image on boot?mikerr wrote:fbi - linux framebuffer imageviewer
then run it asCode: Select all
sudo apt-get install fbi
Code: Select all
fbi -a /usr/share/images/desktop-base/spacefun-grub-widescreen.png
Yes, I have already went through that process and it seems to work, but then I don't get a splash screen...ghans wrote:Did you try the linked tutorial ?
ghans
I wonder if RPi Linux distros come with the 'dos2unix' utility included?Patfeesh wrote:I had authored my script file in notepad++ in windows, which makes it unreadable as windows and UNIX deal with /n etc differently.
Write your script on a UNIX box or SSH into the pi and use nano. That fixed it for me
Yea, I figured that out, but this going to a blank screen thing is killing me. So the way this works is that it loads a slide show at boot. When I run it verbose it is showing that 2 images are listed to show. Problem is, when it goes to the next image (a full black screen), it never exits and continues the boot sequence in the background. What's even stranger is that I can still log in, so fbi couldn't still be running could it?MattHawkinsUK wrote:In Notepad++ on Windows it tells you what format the file is in. If it says "Dos\Windows" in the lower-right status bar then go to :
Edit > EOL Conversion > UNIX Format
The status in the lower-right will change to "UNIX". You can then FTP to your Pi and not have any problems. When you re-open the text file it will already be in UNIX format and you can make changes, re-upload etc.