public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] building and updating u-boot on redboot based
@ 2010-02-21 17:36 Vipul Jain
  2010-02-21 18:07 ` Matthias Kaehlcke
  0 siblings, 1 reply; 6+ messages in thread
From: Vipul Jain @ 2010-02-21 17:36 UTC (permalink / raw)
  To: u-boot

Date: Sun, 21 Feb 2010 11:21:20 +0100
From: Matthias Kaehlcke <matthias@kaehlcke.net>
Subject: Re: [U-Boot] building and updating u-boot on redboot based
       board
To: Vipul Jain <vipulsj@gmail.com>
Cc: u-boot at lists.denx.de
Message-ID: <20100221102120.GR20201@darwin
>
Content-Type: text/plain; charset=us-ascii

Hi,

El Sat, Feb 20, 2010 at 05:31:48PM -0800 Vipul Jain ha dit:

> 1. How to know if u-boot image I have build is build correctly?

the image is build correctly if the file u-boot.bin is
generated. another question is if this image is appropriate for your
board

> 2. I have redboot on my EP9302 SOC (Cirrus logic), can I load u-boot in
> memory and test if it works? What will be the memory address I need to
> download the image?

in order to start U-Boot from RAM you must define
CONFIG_SKIP_LOWLEVEL_INIT and CONFIG_SKIP_RELOCATE_UBOOT. the memory
address depends on your board. for a edb9302 try 0x01000000, for
edb9302a 0xc1000000

be aware that even if the U-Boot image starts from RAM this doesn't
mean automatically that it will boot on your board. when booting from
RAM low-level initialization is skipped (i.e. the environment set up
by redboot is used), when U-Boot boots from flash it is in charge to
do the low-level init.

> 3. How can I burn the u-boot image if I find every thing ok?

if your board is a Cirrus Logic edb9302, refer to the paragraph
"Download Utility" in chapter 7 of the technical reference
manual. otherwise consult the manual provided by your board
manufacturer.

i think you could skip step 2 (try to load U-Boot from RAM), as you
can always restore your RedBoot bootloader using the same procedure as
for flashing the U-Boot image

btw, which version of U-Boot are you using, the current development
version or a custom one?

best regards

--
Matthias Kaehlcke
Embedded Linux Developer
Barcelona

Hi Matthias,

   I am using the latest source of u-boot that I have gitted from git://
git.denx.de/u-boot.git
here.  Can you please also tell me how to find out memory address for any
particular
board to download u-boot image. either from u-boot source or from board
specific technical
manual (PRM).

Also, I did tried last night the following command and now board is not
responding to anything,
Is there any way to recover the board back either via software/jumper
setting or JTAG. if JTAG
I am not sure which one and how to go about it, if there any pointer to
these. I really appreciate
your help, in making newbies learn.

RedBoot> load -r -v -b 0x100000 -h 192.168.15.6
u-boot.bin
-

Raw file loaded 0x00100000-0x00119ee7, assumed entry at 0x00100000
RedBoot> fis write -f 0x60000000 -b 0x100000 -l 0x40000
<------------------------ I gave this number from some website

                                                  how to find this number ??

* CAUTION * about to program
FLASH
            at 0x60000000..0x6003ffff from 0x00100000 - continue (y/n)?
y
... Erase from 0x60000000-0x60040000:
..
... Program from 0x00100000-0x00140000@0x60000000:
..
RedBoot>
reset
... Resetting.


Regards,
Vipul.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-02-22 21:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-21 17:36 [U-Boot] building and updating u-boot on redboot based Vipul Jain
2010-02-21 18:07 ` Matthias Kaehlcke
2010-02-21 18:22   ` Vipul Jain
2010-02-21 18:36     ` Matthias Kaehlcke
     [not found]       ` <b178b0fc1002211058p354f83b1ka7a0cc89e96c79df@mail.gmail.com>
     [not found]         ` <20100221191049.GU20201@darwin>
     [not found]           ` <b178b0fc1002211251q3a271202ica6d649285b29053@mail.gmail.com>
     [not found]             ` <20100221205942.GV20201@darwin>
     [not found]               ` <b178b0fc1002211313y12934e1avfe5492499d9dd234@mail.gmail.com>
     [not found]                 ` <20100222090445.GA20201@darwin>
     [not found]                   ` <b178b0fc1002221205v2c7d13d8w6b42982de51a0512@mail.gmail.com>
     [not found]                     ` <20100222203544.GC20201@darwin>
2010-02-22 21:25                       ` Vipul Jain
2010-02-22 21:30                         ` Matthias Kaehlcke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox