linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* linuxppc_2_4_mpc5200 / 5200lite zImage
@ 2003-11-02 12:08 Kate Alhola
  2003-11-02 13:35 ` Wolfgang Denk
  2003-11-02 13:48 ` Kate Alhola
  0 siblings, 2 replies; 9+ messages in thread
From: Kate Alhola @ 2003-11-02 12:08 UTC (permalink / raw)
  To: linuxppc-embedded


I just got Motorola5200 lite board and tried complie
linuxppc_2_4_mpc5200 from
denx to it.  When i say make bzImage it complains that __res is undefined

ppc_82xx-ld -T ../ld.script -Ttext 0x00800000 -Bstatic -o zvmlinux head.o
../common/relocate.o  ../common/misc-simple.o ../common/bootinfo.o
../common/misc-common.o ../common/string.o ../common/util.o
../common/serial_stub.o mgt5100_tty.o  image.o ../lib/zlib.a
mgt5100_tty.o: In function `serial_init':
mgt5100_tty.o(.text+0x2): undefined reference to `__res'
mgt5100_tty.o(.text+0xa): undefined reference to `__res'

__res is pointer to external scc buffer descriptors . Least it looks a
like that it is
defined in arch/ppc/platforms/icecube.c but this code looks a like complete
board initialization code so i am not sure is it right module to add
defining __res

In this setup board is running original motorola debugger, no u-boot and
this
reason i try make zimage where is uncompressinng headers included.

So, any suggestions or experiencies with 5200lite ?

Also i got Macraigor wiggler but  saddly noticed that ocd-cmdr does not
yet work with mpc5200. Any expreincies/suggestions with LOW COST
OCD debugger for 5200 that can be used loading initial code to empty
flash on my own board.

Kate

--
+==================================================================+
! Kate Marika Alhola  Internet Technologies International Oy       !
! kate@iti.fi         Phone +358 400 740701 Fax   +358 9 8138715   !
! kate@iki.fi	      http://www.iti.fi    http://www.iki.fi/kate  !
+==================================================================+


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

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: linuxppc_2_4_mpc5200 / 5200lite zImage now working
@ 2003-11-06  7:48 Tord Andersson
  2003-11-07  8:03 ` Kate Alhola
  0 siblings, 1 reply; 9+ messages in thread
From: Tord Andersson @ 2003-11-06  7:48 UTC (permalink / raw)
  To: Kate Alhola, Wolfgang Denk; +Cc: linuxppc-embedded


Kate,

Thanks for sharing your experiences with the MPC5200Lite card.
Would it be possible for you to explain the steps you took to replace
dbug with u-boot. Did you use dbug or a bdm?
I am about to do the same thing, and fear that I might end up with a
"dead" card if
things go wrong : )

Kind regards,

Tord Andersson

-----Original Message-----
From: Kate Alhola [mailto:kate@iti.fi]
Sent: den 2 november 2003 20:13
To: Wolfgang Denk
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: linuxppc_2_4_mpc5200 / 5200lite zImage now working



Thank you about usefull help, it looks a like doing things in newer way
may be faster than do older way ;)

Wolfgang Denk wrote:

>No. It's much more likely that you missed to pass  someother  of  the
>required  information.  You  have  several options: manually set up a
>bd_info structure with _all_ of the required  information;  modifying
>U-Boot  so  that  you  can load and start U-Boot from RAM; installing
>U-Boot into flash.
>
>
This worked with u-boot, setting CFG_RAMBOOT made it bootting from RAM
and allowed also programming u-boot to same flash as dbug so now i can
start uboot from dbug and then boot linux up

>You can always get a tested and working configuration  by  performing
>the standard kernel build procedure:
>
>	bash$ make mrproper
>	bash$ make icecube_5200_config
>	bash$ make oldconfig
>	bash$ make dep
>	bash$ make uImage
>
>
Tanks, that was also usefull

Kate


--
+==================================================================+
! Kate Marika Alhola  Internet Technologies International Oy       !
! kate@iti.fi         Phone +358 400 740701 Fax   +358 9 8138715   !
! kate@iki.fi	      http://www.iti.fi    http://www.iki.fi/kate  !
+==================================================================+


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

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

end of thread, other threads:[~2003-11-07 11:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-02 12:08 linuxppc_2_4_mpc5200 / 5200lite zImage Kate Alhola
2003-11-02 13:35 ` Wolfgang Denk
2003-11-02 13:48 ` Kate Alhola
2003-11-02 15:31   ` linuxppc_2_4_mpc5200 / 5200lite zImage continued Kate Alhola
2003-11-02 15:55     ` Wolfgang Denk
2003-11-02 19:12       ` linuxppc_2_4_mpc5200 / 5200lite zImage now working Kate Alhola
  -- strict thread matches above, loose matches on Subject: below --
2003-11-06  7:48 Tord Andersson
2003-11-07  8:03 ` Kate Alhola
2003-11-07 11:57   ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).