FW: Inquiry of Omap3 Beagleboard Tool

FYI, does some one remember what tool we used to add the beagle logo
in u-boot, just out of my head.

Question was directed to me, just thought of bringing this to mailing list.

Regards,
Khasim

FYI, does some one remember what tool we used to add the beagle logo
in u-boot, just out of my head.

Question was directed to me, just thought of bringing this to mailing list.

GIMP was used to create the .h file from a PNG. I then wrote a C
program that included the .h to write a new .c file in a
run-length-encoded manner. I've been searching for that C program a
couple of days now. It was simple to write. It only took 30 minutes
or so and I probably wasted more time looking for it than that, but I
hate redoing things and will keep looking for it a bit.

FYI, does some one remember what tool we used to add the beagle logo
in u-boot, just out of my head.

Hi Khasim,
Long back while am exploring something else I got this info and saved it in My PC.The steps I got from that link are

  1. Download and build U-Boot from mainline denx repository
    see: http://elinux.org/BeagleBoard#U-Boot

  2. Download the logo patch from here:
    http://groups.google.com/group/beagleboard/browse_thread/thread/3ad9b.
    (You want the “u-boot_v1_beagle_logo.patch.bz2 95K Download” link at the bottom)

  3. Make sure you copy “u-boot_v1_beagle_logo.patch.bz2” to u-boot-main and run:
    bunzip2 u-boot_v1_beagle_logo.patch.bz2
    patch -p1 < u-boot_v1_beagle_logo.patch

the patch doesn’t apply cleanly so you’ll need to either:

option (a) change the patch file’s second change (dss_init function) last three

lines to match board/omap3/beagle/beagle.c after the board_init() function

option (b) much like (a) but just replace the lines in the patch with blank lines and

then add a bunch of blank lines after the board_init() functio in beagle.c

option (c) copy the dss_init() function out of the patch and manually copy it into

board/omap3/beagle/beagle.c after the board_init() function (remember to remove the

“+” signs at the start of the line.

  1. Rebuild everything from the “make CROSS_COMPILE=… mrproper” line…

  2. You should now have the default/small BB logo (Beagle + “beagleboard.org” + Tux)

  3. To replace this logo with your own,
    6a. Open the image in GIMP
    6b. Make sure your image is 1280 pixels wide.
    6c. Select Save As
    6d. Choose “C source code header” as the file type and save to logo.h
    6e. On line 3 of logo.h change “width” to “beagle_width”
    6f. On line 4 of logo.h change “heigh” to “beagle_height”
    6g. Replace u-boot-main/board/omap3/beagle/logo.h with your new logo.h
    6h. Rebuild (from the mrproper step)

The below method is good, but skips out on the run-length-encoding,
which saves a lot of space and boot time.

Hawk,

Please see this thread, for any further queries please ask on list, it
will generate lot of data for others to leverage and will be instant
and better.

Thanks all.

Regards,
Khasim