Change Gumstix Overo Booting Screen (Logo image)

By default, overo boots up with its own image with progress bar. I want to display my own picture when it boots up.

I follow the below website, but it is for Angstrom. I did some modification to suit my overo COM.

1) bitbake psplash

$ cd /build/czhang/overo-oe
$ source build/profile
$ bitbake psplash

2) copy file to proper place.

$ cp /build/czhang/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/psplash-angstrom-0.0+svnr422-r33/psplash/ /build/czhang/overo-oe/

3) create your own image file, make sure it is in right dimensions.

$ cd /build/czhang/overo-oe/
$ ./ [your-image].png HAND

    back up original image head file:
$ mv psplash-hand-img.h psplash-hand-img.h_orig
$ mv [your-imge]-img.h psplash-hand-img.h
$ cd /build/czhang/overo-oe
$ source build/profile
$ bitbake psplash

Error occurred:

| psplash.c: In function 'main':
| psplash.c:271: error: 'POKY_IMG_WIDTH' undeclared (first use in this function)
| psplash.c:271: error: (Each undeclared identifier is reported only once
| psplash.c:271: error: for each function it appears in.)
| psplash.c:272: error: 'POKY_IMG_HEIGHT' undeclared (first use in this function)
| psplash.c:275: error: 'POKY_IMG_BYTES_PER_PIXEL' undeclared (first use in this function)
| psplash.c:276: error: 'POKY_IMG_RLE_PIXEL_DATA' undeclared (first use in this function)
| make[1]: *** [psplash.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| mv -f .deps/psplash-write.Tpo .deps/psplash-write.Po
| mv -f .deps/psplash-console.Tpo .deps/psplash-console.Po
| mv -f .deps/psplash-fb.Tpo .deps/psplash-fb.Po
| make[1]: Leaving directory `/build/czhang/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/psplash-0.0+svnr422-r33/psplash'
| make: *** [all] Error 2
| FATAL: oe_runmake failed

it took me a long time to figure it out. In


there are three files:

take a look psplash-poky-img.h content where the error occurred:
$ less psplash-poky-img.h

/* GdkPixbuf RGB C-Source image dump 1-byte-run-length-encoded */

#define HAND_IMG_ROWSTRIDE (816)
#define HAND_IMG_WIDTH (272)
#define HAND_IMG_HEIGHT (363)
#define HAND_IMG_BYTES_PER_PIXEL (3) /* 3:RGB, 4:RGBA */
#define HAND_IMG_RLE_PIXEL_DATA ((uint8*) \

After I replaced the HAND with POKY, and bitbake again, error disappeared.

4) bitbake console image

$ bitbake omap3-console-image

5) remember to install psplash_0.0+svnr422-r33.6_armv7a.ipk (maybe psplash-support_0.0+svnr422-r33.6_armv7a.ipk too), this is a software which can load booting image.

Done! you will see the pretty image in the booting procedure.

1 comment:

  1. Anonymous17/5/12 00:44

    In my case this won't work, cause of package dependencies to e.g. hicolor-icon-theme package.

    root@overo:~# opkg install psplash_0.0\+svnr422-r34.6_armv7a.ipk
    Installing psplash (0.0+svnr422-r34.6) to root...
    Configuring hicolor-icon-theme.
    //usr/lib/opkg/info/hicolor-icon-theme.postinst: line 7: can't create /etc/gtk-2.0/gdk-pixbuf.loaders: nonexistent directory
    //usr/lib/opkg/info/hicolor-icon-theme.postinst: line 7: gdk-pixbuf-query-loaders: not found
    //usr/lib/opkg/info/hicolor-icon-theme.postinst: line 13: gtk-update-icon-cache: not found
    Collected errors:
    * satisfy_dependencies_for: Cannot satisfy the following dependencies for psplash:
    * psplash-support *
    * opkg_install_cmd: Cannot install package psplash.
    * pkg_run_script: package "hicolor-icon-theme" postinst script returned status 127.
    * opkg_configure: hicolor-icon-theme.postinst returned 127.

    Did you change something else e.g. in ?

    It will only work for the omap3-desktop-image for me. But I'm interested to get it work for omap3-console-image.
    I will thankful for any suggestions.