public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: dbrazeau <dbrazeau1024@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] How do you print/view avaliable devices?
Date: Fri, 14 Aug 2009 09:54:13 -0700 (PDT)	[thread overview]
Message-ID: <24975016.post@talk.nabble.com> (raw)
In-Reply-To: <200908141826.58534.sr@denx.de>


I actually tried used ace as well, since I saw it being used in some of the
environment variables.  Unfortunately that didn't work either, but had a
different error.

fatload ace 0 0x1000000 /mnt-xsa/kdiags.katmai.img
reading /mnt-xsa/kdiags.katmai.img

** Unable to read "/mnt-xsa/kdiags.katmai.img" from ace 0:1 **

This error made it sound like the file wasn't even in the flash so id did an
fatls

fatls ace 0 /
            mnt-xsa/

0 file(s), 1 dir(s)

=> fatls ace 0 /mnt-xsa/
            ./
            ../
  1378602   kernel.img
 19783883   ramdisk.img

2 file(s), 2 dir(s)

Yep, not even there.  

Now I tried transferring the program image via tftp a running it but it
fails with an illegal instruction. Here is the output:

tftp 0x100000 kdiags.katmai.img
Waiting for PHY auto negotiation to complete.... done
ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0)
Using ppc_4xx_eth0 device
TFTP from server 192.168.2.66; our IP address is 192.168.2.92
Filename 'kdiags.katmai.img'.
Load address: 0x100000
Loading: #############################################################
done
Bytes transferred = 893996 (da42c hex)
=> go 0x100000
## Starting application at 0x00100000 ...
NIP: 00100004 XER: 00000000 LR: 1FF75C9C REGS: 1fe64cb8 TRAP: 0700 DEAR:
0ECFC12
0
MSR: 00029000 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 00

GPR00: 1FF75D1C 1FE64DA8 1FE64F38 00000001 1FE693F4 1FE693F4 00000006
58AF5DD6
GPR08: 1FF6CD98 00000020 010F4471 09896800 28822F22 00100400 1FFB4400
00000000
GPR16: 1FFA8EA8 1FFAE7BC 00000000 00000000 00000000 00000000 00000000
00000000
GPR24: 00000000 1FE69340 00000000 00000000 1FE693F4 00100004 1FFB4A18
00000002
** Illegal Instruction **
Call backtrace:
00100004 1FF75D1C 1FF871D0 1FF868DC 1FF86A4C 1FF896A8 1FF6C8E4
1FF6B6DC
Program Check Exception


I have also tried "go 0x100004" but that didn't work either.  Am I doing
something wrong? Any Ideas?  Thanks for you help.


Stefan Roese wrote:
> 
> On Friday 14 August 2009 17:56:07 dbrazeau wrote:
>> I working on the Katmai board.  I'm trying to run a program in the 16MB
>> boot flash.  The user manual states the U-boot command to load Kozio
>> diagnostics program is:
>> => fatload xsa 0x1000000 /mnt-xsa/kdiags.katmai.img
> 
> That's not boot flash but most likely a CompactFlash connected via the 
> SystemACE. You should use "ace" instead of "xsa" here. Perhaps this will
> work.
> 
> Cheers,
> Stefan
> 
> --
> DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 
> 

-- 
View this message in context: http://www.nabble.com/How-do-you-print-view-avaliable-devices--tp24943649p24975016.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

  reply	other threads:[~2009-08-14 16:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-12 23:10 [U-Boot] How do you print/view avaliable devices? dbrazeau
2009-08-13 11:35 ` Detlev Zundel
2009-08-13 15:57   ` dbrazeau
2009-08-14 15:09     ` Detlev Zundel
2009-08-14 15:56       ` dbrazeau
2009-08-14 16:26         ` Stefan Roese
2009-08-14 16:54           ` dbrazeau [this message]
2009-08-14 17:42             ` Wolfgang Denk
2009-08-14 17:55               ` dbrazeau

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=24975016.post@talk.nabble.com \
    --to=dbrazeau1024@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