[U-Boot] How do you print/view avaliable devices?
dbrazeau
dbrazeau1024 at gmail.com
Fri Aug 14 18:54:13 CEST 2009
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.
More information about the U-Boot
mailing list