Hi,
We am developing a software for a equipment.
The software works on embedded linux on a our custom board based on mx7dsabresd.
We would like to display a image that a operator can safely power off on LCD when linux is halted.
We have no idea to implement that feature.
Could you give us any idea?
Now, When linux is halted, LCD display is completely off .
We just think a method the following but it is not good. we cannot change the image.
(1).When mxsfb_shutdown() in mxsfb.c is called,
the LCD driver copies a converted image data to the frame buffer.
In this case, we should make the converted image data before kernel build.
We would like to use a bmp file or a png file directly.
Could you give us better ideas?
Best regard,
Hideo Yamashiro.
Solved! Go to Solution.
Hi, I can solved the issue by myselt.
I use sysemd, so I made a service file to display a power-off image file when the state of linux reach shutdown.target.
I use fbv package to display a image.
I modified the following driver source files to skip to stop LCD and pwm-backlight.
(1). mxsfb_shutdown() in mxsfb.c
(2). pwn_backlight_shutdown() in pwm_bl.c
Best regards,
Hideo Yamashiro.
Hi, I can solved the issue by myselt.
I use sysemd, so I made a service file to display a power-off image file when the state of linux reach shutdown.target.
I use fbv package to display a image.
I modified the following driver source files to skip to stop LCD and pwm-backlight.
(1). mxsfb_shutdown() in mxsfb.c
(2). pwn_backlight_shutdown() in pwm_bl.c
Best regards,
Hideo Yamashiro.