All of lore.kernel.org
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.aribaud@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] Need Help in bulding U-boot-2010-06 for OpenRD client
Date: Tue, 06 Jul 2010 18:32:33 +0200	[thread overview]
Message-ID: <4C335AA1.2090803@free.fr> (raw)
In-Reply-To: <AANLkTilnP9q-qFBGeS28Y_nP2VBWsjnPdjr7d194HWP2@mail.gmail.com>

Le 06/07/2010 17:47, kalyan karnati a ?crit :
> Hi Albert,
> Thanks for your reply.
>
> I compiled U-boot with the patch that enables support for
> OpenRD_client and OpenRD_ultimate given by Tanmay.
> OpenRD Client is connected to PC/Host with FTDI programmed for Channel
> A as CPU FIFO.
>
> I'm using the binary for OpenOCD that I got from Marvell to tranfer
> uboot.bin into board's NAND.
> I copied the 'u-boot-2010.06.bin' in to
> ~\openocd\openocd.binaries.libftdi/bin as 'uboot.bin'.
> Then executed the command ' ./openocd ?f target/board/openrd.cfg ?c
> init -c openrd_reflash_uboot'
>
> Logs show:
> wrote file uboot.bin to NAND flash 0 up to offset 0x0004e800 in 50.190395s
> Info : JTAG tap: feroceon.cpu tap/device found: 0x20a023d3
> (Manufacturer: 0x1e9, Part: 0x0a02, Version: 0x2)
> Info : JTAG Tap/device matched
>
> But then the board doesn't boot and the console is all blank :(
> Please let me know if I'm doing something wrong..
>
> Thanks,
> Kalyan.

Hi Kalyan,

At the moment the openrd image will only run if loaded into RAM through 
openocd.

I'd discussed with Tanmay about running the openrd binary: I'd tried to 
load it into RAM from the resident u-boot via TFTP, and that fails too.

In your case it will also certainly fail because the board config file 
contains #define CONFIG_SKIP_LOWLEVEL_INIT, which as the name implies 
skips very early and critical initialization code -- and without this 
code u-boot won't start from Flash (this config option is used precisely 
when running u-boot from RAM).

Can you try removing the #define and let us know if that fixes things up?

I'm not sure it will, though, because it fails when run in RAM from 
u-boot with the #define, which means it probably does not do some 
critical init --one that openocd does when it runs u-voot from RAM, 
since in that case it works.

Amicalement,
-- 
Albert.

  reply	other threads:[~2010-07-06 16:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-01 13:44 [U-Boot] Need Help in bulding U-boot-2010-06 for OpenRD client kalyan karnati
2010-07-01 13:53 ` Albert ARIBAUD
2010-07-06 15:47 ` kalyan karnati
2010-07-06 16:32   ` Albert ARIBAUD [this message]
2010-07-07  8:09     ` Prafulla Wadaskar
2010-07-07 11:08       ` Albert ARIBAUD
2010-07-07 11:44         ` Prafulla Wadaskar
2010-07-07 14:05           ` Albert ARIBAUD
2010-07-07 18:10             ` kalyan karnati
2010-07-08  5:59               ` Prafulla Wadaskar
2010-07-08  6:09             ` Prafulla Wadaskar
2010-07-08  6:54               ` Albert ARIBAUD

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=4C335AA1.2090803@free.fr \
    --to=albert.aribaud@free.fr \
    --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.