All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Handling images(.jpg, .bmp etc) in u-boot
Date: Sun, 31 Mar 2013 10:54:59 +0200	[thread overview]
Message-ID: <20130331105459.49d49ade@crub> (raw)
In-Reply-To: <1364665628804-151089.post@n7.nabble.com>

Hi,

On Sat, 30 Mar 2013 10:47:08 -0700 (PDT)
bhargavak <anur.bhargav@gmail.com> wrote:

> I created a partition in my eMMC, used fastboot to flash a "example.bmp"..
> How do I get the base address of the partition ?
> 
> I have the following partitions on my device running android, has a u-boot
> bootloader
> 
> U-Boot 1.1.4.XTRAVERSION-g6c554dbc-dirty (Mar 26 2013 - 14:26:11
> Load address: 0x80e80000
> DRAM: 512 MB
> Flash: 0 kB
> Using default environment
> In: serial
> Out: serial
> Err: serial
> efi partition table:
> ptbl slot:    EMMC:(1).
>       256     128K      xloader
>       512     3M         bootloader
>     6656     512K      splash
>     7680     128K      misc
>     8704     64M       efs
>  139776    16K        crypto
>  139808    16M        recovery
>  172576    8M          boot
>  188960    512M      system
> 1237536   256M      cache
> 1761824   128M      apk
> 2023968   2787M    userdata
> 
> How do I get the base address of each partition,

you seem to have only one efi partition. What do you need the base
address for?

> I tried the following
> commands in u-boot but It either gives me an error or doesn't return
> anything
> 1. # flinfo
> Bank # 1: missing or unknown FLASH type
> Bank # 2: missing or unknown FLASH type

This command is for NOR-Flash info, so this output is expected.
 
> 2. fsinfo
> Device Hangs up
> 
> 3. # fli
> Bank # 1: missing or unknown FLASH type
> Bank # 2: missing or unknown FLASH type
> 
> Please help me find the base address of each of the partition.

For loading files from a partition you do not need to know its
base address. Use appropriate commands, "fatload" comes to mind.

HTH,

Anatolij

  reply	other threads:[~2013-03-31  8: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 [this message]
2013-03-31  9:30           ` bhargavak
2013-03-31 10:38             ` Anatolij Gustschin
2013-03-31 11:54               ` bhargavak
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=20130331105459.49d49ade@crub \
    --to=agust@denx.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.