autorun of a custom executable

News and discussion about development of the Debian OS itself

autorun of a custom executable

Postby gianlucarenzi » 2014-03-31 15:07

I dont know if this is the right place to ask a question like this but I am going mad on executing As Soon As Possible during boot my custom executable.
My system is a Debian Wheezy (armel) 7.2 (bootstrapped from scratch) running on our custom board based on arm926ej-s processor.
Our board has a bootloader (barebox) which initializes the lcd screen, loading a PNG file from /boot directory and splash it onto screen during boot.
Somewhere in the kernel activation the splash screen disappear (maybe the same buffer is used by Linux and the new framebuffer is empty) so I wrote a little helper using SDL library to load the same PNG file and remains listening on a FIFO to quit itself.

I put those command in a /etc/init.d/fbsplash file:
/usr/bin/mkfifo /tmp/myfifo
/sbin/fbsplash /boot/splash.png &

linked to a /etc/rcS.d/S01fbsplash, but it seems not called.

Anybody know why???

There are some rules during boot sequence?

What about to put this into /etc/inittab??? and how???

Gianluca Renzi
Posts: 2
Joined: 2014-03-31 15:00

Return to Debian Development

Who is online

Users browsing this forum: No registered users and 3 guests