All of lore.kernel.org
 help / color / mirror / Atom feed
* FADS board and bootp
@ 2001-01-16 22:52 Zheng, Haifei
  2001-01-16 23:46 ` Wolfgang Denk
  2001-01-17  1:31 ` Where can download MPC860 scc drivers? Wang Chao Feng
  0 siblings, 2 replies; 4+ messages in thread
From: Zheng, Haifei @ 2001-01-16 22:52 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


Hello all,

After having shelved the FADS board for a couple of weeks, we dug it out
again and tried to install ppcboot (ver 0.7.1). We used the cross compiler
that comes with hardhat and set the makefile appropriately. The build went
smoothly, with the odd warning popping up. As noted in the doc, downloading
the image is another story. We used the Motorola ADI port to upload the
kernel and to start execution.... unfortunately it doesn't get far ;-D

Here is the dump of attempt number 2 (this time using the ELF binary)

f860TBug> loadf PPCBOOT 3000
loadf: Loading ELF file . . .
Loading flash mapped sections to ram memory buffer:
Loading section 1 (.text) : 00013370 bytes at 00003000
Loading section 2 (.reloc) : 00000c80 bytes at 00017000
Loading section 3 (.data) : 00004488 bytes at 00017c80
Loading section 4 (.bss) : 000026a8 bytes at 0001d000 (not loaded)
Programming flash :0001c6a8 bytes  at 02800000-0281c6a7
Flash programming completed

Loading ram mapped sections to ram memory:
Entry point set to 02800000
Heap start address set to 00000001
Loaded 00000222 symbols into the symbol table
Duplicated symbols (38) expanded with enumerated suffixes
f860TBug> go
  Use Ctrl-C to abort execution !
exception: SOFTWARE EMULATION
0x02800000      27051956 unknown primary opcode 9
f860TBug>

I know others are using the 860T FADS board, so rather struggle.... Some
questions:

What methods are you using to upload binaries?
Have you experienced similar problems?
  Or  have we just done something silly?

Thanks for the help

Cheers
    Caleb.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: FADS board and bootp
  2001-01-16 22:52 FADS board and bootp Zheng, Haifei
@ 2001-01-16 23:46 ` Wolfgang Denk
  2001-01-17  1:31 ` Where can download MPC860 scc drivers? Wang Chao Feng
  1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2001-01-16 23:46 UTC (permalink / raw)
  To: Zheng, Haifei; +Cc: 'linuxppc-embedded@lists.linuxppc.org'


Hello,

in message <5D2136DF3DD5D311AE89009027C67FB001D8F288@fmsmsx96.fm.intel.com> you wrote:
>
> After having shelved the FADS board for a couple of weeks, we dug it out
> again and tried to install ppcboot (ver 0.7.1). We used the cross compiler
> that comes with hardhat and set the makefile appropriately. The build went
> smoothly, with the odd warning popping up. As noted in the doc, downloading
> the image is another story. We used the Motorola ADI port to upload the
> kernel and to start execution.... unfortunately it doesn't get far ;-D

You have better chances to get help for  PPCBoot  if  you  send  such
messages to the PPCBoot mailing list at ppcboot-users@lists.sourceforge.net

...
> Flash programming completed
...
> f860TBug> go
>   Use Ctrl-C to abort execution !
> exception: SOFTWARE EMULATION
> 0x02800000      27051956 unknown primary opcode 9

27051956 is indeed no valid opcode, it's my birthday instead :-)

> What methods are you using to upload binaries?

It seems our download method was OK, since the magic number is at the
expected address (at the start of the image in flash).

> Have you experienced similar problems?
>   Or  have we just done something silly?

To be honest: yes. Normally, PPCBoot is started out  of  reset,  when
the  ROM  (or  flash)  is mapped at address 0x0000 and the CPU starts
execution at address 0x0100. So you will find the  first  instruction
of PPCBoot at offset 0x0100 - at address 0x02800100 in your case.

But please be aware that PPCBoot assumes to start with  reset  state,
which means flash mapped at 0.

Hope this helps,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Do not simplify the design of a program if a way can be found to make
it complex and wonderful.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Where can download MPC860 scc drivers?
  2001-01-16 22:52 FADS board and bootp Zheng, Haifei
  2001-01-16 23:46 ` Wolfgang Denk
@ 2001-01-17  1:31 ` Wang Chao Feng
  2001-01-17  2:41   ` Daris Nevil
  1 sibling, 1 reply; 4+ messages in thread
From: Wang Chao Feng @ 2001-01-17  1:31 UTC (permalink / raw)
  To: linuxppc-embedded


I only found uart & enet drivers at /arch/ppc/8xx-io
Where can download hdlc drivers of MPC860 scc?

Best Regards,
WCF

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Where can download MPC860 scc drivers?
  2001-01-17  1:31 ` Where can download MPC860 scc drivers? Wang Chao Feng
@ 2001-01-17  2:41   ` Daris Nevil
  0 siblings, 0 replies; 4+ messages in thread
From: Daris Nevil @ 2001-01-17  2:41 UTC (permalink / raw)
  To: Wang Chao Feng; +Cc: linuxppc-embedded


Wang,

I have written an HDLC driver for the MPC850 SCC's that you could easily adapt
to the 860.  You can download the source from ftp://qslinux.org/pub/qslinux.
After you untar the tarball, go to snmc/qslinux/drivers/net.

Regards,
Daris Nevil
SNMC


Wang Chao Feng wrote:

> I only found uart & enet drivers at /arch/ppc/8xx-io
> Where can download hdlc drivers of MPC860 scc?
>
> Best Regards,
> WCF
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2001-01-17  2:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-16 22:52 FADS board and bootp Zheng, Haifei
2001-01-16 23:46 ` Wolfgang Denk
2001-01-17  1:31 ` Where can download MPC860 scc drivers? Wang Chao Feng
2001-01-17  2:41   ` Daris Nevil

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.