public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: bhargavak <anur.bhargav@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Handling images(.jpg, .bmp etc) in u-boot
Date: Sun, 31 Mar 2013 04:54:35 -0700 (PDT)	[thread overview]
Message-ID: <1364730875617-151108.post@n7.nabble.com> (raw)
In-Reply-To: <20130331123804.5a8699f8@crub>

That's a very nice explanation..
Here's what I will do, please tell me if the whole procedure is right.

I have a SD-card partitioned as follows:
boot: FAT32, holds a MLO and u-boot.bin through which I boot my device (runs
on OMAP4470)
rootfs: mostly empty always (ext4 currently), I will format it as FAT32

I copy "slide-0.bmp" into the rootfs partition and define
"CONFIG_SYS_HUSH_PARSER".

Then I stop the bootloader before the kernel starts, do "setenv" as follows,
and "saveenv"
> show_one=fatload mmc 0:2 40001000 slide-${i}.bmp;bmp d 40001000

Then do the following:
> run show_one

I should be able to see the image on the screen ?
Is there any other configuration options that I should enable ?

For some reason "saveenv" was not working for me yesterday, when I tried to
experiment with the "splashimage" environment variable.
I do not remember the exact error it threw, I could post the error first
thing tomorrow from my workplace.
As a workaround can I set above variables in my "OMAP" config header ?
My u-boot version is "U-Boot 1.1.4-geb3fa991".



--
View this message in context: http://u-boot.10912.n7.nabble.com/Handling-images-jpg-bmp-etc-in-u-boot-tp150524p151108.html
Sent from the U-Boot mailing list archive at Nabble.com.

  reply	other threads:[~2013-03-31 11:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-24  7:48 [U-Boot] Handling images(.jpg, .bmp etc) in u-boot bhargavak
2013-03-24 10:05 ` Wolfgang Denk
2013-03-24 11:26   ` bhargavak
2013-03-24 13:16     ` Wolfgang Denk
2013-03-30 17:47       ` bhargavak
2013-03-31  8:54         ` Anatolij Gustschin
2013-03-31  9:30           ` bhargavak
2013-03-31 10:38             ` Anatolij Gustschin
2013-03-31 11:54               ` bhargavak [this message]
2013-03-31 13:21                 ` Anatolij Gustschin
2013-03-31 17:56                   ` bhargavak
2013-04-06 10:33                   ` Bhargav AK

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1364730875617-151108.post@n7.nabble.com \
    --to=anur.bhargav@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox