xieqi | 1 Apr 2003 10:32

[PPCBoot-users] how to drive a new board

Hi Sir,
 I want to drive a ppc860 board which is not included in the /board subdirectory , and i make a new dir in
/board/scop860 ,so which files I need to add in ? My board contains a SST-39vf040(512k bytes flash as
bootrom,PLCC), two HYUNDAI-hy57v281620hct-6(SDRAM) ,and a INTEL-te28f320 , and
24lc32(eeprom),lxt905lc(ethernet),ds1305(rtc). how can i drive these things ? i think the first step
is to bulid a ppcboot.bin to the bootrom . who can tell me what should i do ? 

Thank you very much !!

yours sincerely 
                                         michael xie 
                                         04/01/2003

Hi Sir,
 I want to drive a ppc860 board which is not included in the /board subdirectory 
, and i make a new dir in /board/scop860 ,so which files I need to add in ? My bo
ard contains a SST-39vf040(512k bytes flash as bootrom,PLCC), two HYUNDAI-hy57v28
1620hct-6(SDRAM) ,and a INTEL-te28f320 , and 24lc32(eeprom),lxt905lc(ethernet),ds
1305(rtc). how can i drive these things ? i think the first step is to bulid a pp
cboot.bin to the bootrom . who can tell me what should i do&nbsp ;? 

Thank you very much !!


yours sincerely  
                                         michael xie 
                                         04/01/2003



(Continue reading)

Roel Loeffen | 1 Apr 2003 11:30
Picon

[PPCBoot-users] U-Boot or PPC Boot

Hello,

I want to start using a Boot Loader for:
- PMC Module with a Motorola 7410 and a Marvell Galileo Discorery bridge.
- CodeWarrior and Power-Tap Pro, (debugging)

I've found some infomation about PPCBoot, and it seams to be an intresting
Boot Loader for me.
But in the users-list I've read that the development discontinued??

Is U-Boot a predecessor of PPCBoot?
Which one should I use?

Thank you, Roel

-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
Andreas Heppel | 1 Apr 2003 12:06
Picon

Re: [PPCBoot-users] U-Boot or PPC Boot

Hello Roel!

On 2003-04-01 11:30:23 +0200 Roel Loeffen <RL <at> prodrive.nl> wrote:

> Hello,
> 
> I want to start using a Boot Loader for:
> - PMC Module with a Motorola 7410 and a Marvell Galileo Discorery bridge.
> - CodeWarrior and Power-Tap Pro, (debugging)
> 
> I've found some infomation about PPCBoot, and it seams to be an intresting
> Boot Loader for me.
> But in the users-list I've read that the development discontinued??
> 
> Is U-Boot a predecessor of PPCBoot?
> Which one should I use?
No, U-Boot is the successor of PPCboot. Thus, you should start with U-boot, 
as it is the newer one.

Good luck,
Andreas

--

-- 

SYSGO AG
Am Pfaffenstein 14
55270 Klein-Winternheim, Germany

Voice: +49-6136-9948-0
Fax:   +49-6136-9948-10
(Continue reading)

Wolfgang Denk | 1 Apr 2003 17:51
Picon
Picon
Favicon

Re: [PPCBoot-users] how to drive a new board

In message <3E894E89.00001E.20909 <at> bjapp9> you wrote:
> 
>  I want to drive a ppc860 board which is not included in the /board subdirectory , and i make a new dir in
/board/scop860 ,so which files I need to add in ? My board contains a SST-39vf040(512k bytes flash as
bootrom,PLCC), two HYUNDAI-hy57v281620hct-6(
> SDRAM) ,and a INTEL-te28f320 , and 24lc32(eeprom),lxt905lc(ethernet),ds1305(rtc). how can i drive
these things ? i think the first step is to bulid a ppcboot.bin to the bootrom . who can tell me what should i do
? 

PPCBoot is a dead project. Development has been discontinued half a year ago. Please use the U-Boot project instead.

And read the README, which contains a  (short)  section  about  steps
needed  to port U-Boot to new hardware. If you need more information,
read the source code. Or hire an expert.

> --Boundary-=_atsmSNleVbLVcBeURZBXgLHfHAkX
> Content-Type: text/html; charset="gb2312"
> Content-Transfer-Encoding: 8bit

And never post HTML or base64 encoded messages to the mailing lists.

Wolfgang Denk

--

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd <at> denx.de
Your csh still thinks true is false. Write to your vendor  today  and
tell them that next year Configure ought to "rm /bin/csh" unless they
fix  their blasted shell. :-)
                 - Larry Wall in Configure from the perl distribution
(Continue reading)

Wolfgang Denk | 1 Apr 2003 17:51
Picon
Picon
Favicon

Re: [PPCBoot-users] how to drive a new board

In message <3E894E89.00001E.20909 <at> bjapp9> you wrote:
> 
>  I want to drive a ppc860 board which is not included in the /board subdirectory , and i make a new dir in
/board/scop860 ,so which files I need to add in ? My board contains a SST-39vf040(512k bytes flash as
bootrom,PLCC), two HYUNDAI-hy57v281620hct-6(
> SDRAM) ,and a INTEL-te28f320 , and 24lc32(eeprom),lxt905lc(ethernet),ds1305(rtc). how can i drive
these things ? i think the first step is to bulid a ppcboot.bin to the bootrom . who can tell me what should i do
? 

PPCBoot is a dead project. Development has been discontinued half a year ago. Please use the U-Boot project instead.

And read the README, which contains a  (short)  section  about  steps
needed  to port U-Boot to new hardware. If you need more information,
read the source code. Or hire an expert.

> --Boundary-=_atsmSNleVbLVcBeURZBXgLHfHAkX
> Content-Type: text/html; charset="gb2312"
> Content-Transfer-Encoding: 8bit

And never post HTML or base64 encoded messages to the mailing lists.

Wolfgang Denk

--

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd <at> denx.de
Your csh still thinks true is false. Write to your vendor  today  and
tell them that next year Configure ought to "rm /bin/csh" unless they
fix  their blasted shell. :-)
                 - Larry Wall in Configure from the perl distribution
(Continue reading)

PASCAL Joseph | 8 Apr 2003 11:42
Picon

[PPCBoot-users] how to use fec

hi!
i'm student and  i work on mpc862 which use ppcboot for launch 
application and test some memories

i'have a fec driver for a phy(ltx973)
this driver have function :
eth_init(), eth_send()..

here is my function eth_send():
int eth_send(volatile void *packet, int length)
{
	int j, rc;
	volatile immap_t *immr = (immap_t *) CFG_IMMR;
	volatile fec_t *fecp = &(immr->im_cpm.cp_fec);

	/* section 16.9.23.3
	 * Wait for ready
	 */
	j = 0;
	while ((rtx->txbd[txIdx].cbd_sc & BD_ENET_TX_READY) && (j<TOUT_LOOP)) {
		udelay(1);
		j++;
	}
	if (j>=TOUT_LOOP) {
		printf("TX not ready\n");
	}

	rtx->txbd[txIdx].cbd_bufaddr = (uint)packet;
	rtx->txbd[txIdx].cbd_datlen  = length;
	rtx->txbd[txIdx].cbd_sc |= BD_ENET_TX_READY | BD_ENET_TX_LAST;
(Continue reading)

Wolfgang Denk | 8 Apr 2003 12:02
Picon
Picon
Favicon

Re: [PPCBoot-users] how to use fec

Hekllo,

in message <3E9299A0.5080409 <at> c-s.fr> you wrote:
>
> i'm student and  i work on mpc862 which use ppcboot for launch 
> application and test some memories

I hope you are aware of the fact that the PPCBoot prokject  has  been
discontinued,  so it makes little sense to put any development effort
in a dead project. Use the  U-Boot  project  instead,  which  is  the
successor.

> i'have a fec driver for a phy(ltx973)
> this driver have function :
> eth_init(), eth_send()..
> 
> here is my function eth_send():
> int eth_send(volatile void *packet, int length)

I don't understand why you would rename functions? The code you  copy
is obviously the fec_send() function from cpu/mpc8xx/fec.c

Please explain why you mess with this code - it should work fine as is.

> my question is what would be the format of my packet??

It's a standard ethernet packet.

Wolfgang Denk

(Continue reading)

Wolfgang Denk | 8 Apr 2003 12:02
Picon
Picon
Favicon

Re: [PPCBoot-users] how to use fec

Hekllo,

in message <3E9299A0.5080409 <at> c-s.fr> you wrote:
>
> i'm student and  i work on mpc862 which use ppcboot for launch 
> application and test some memories

I hope you are aware of the fact that the PPCBoot prokject  has  been
discontinued,  so it makes little sense to put any development effort
in a dead project. Use the  U-Boot  project  instead,  which  is  the
successor.

> i'have a fec driver for a phy(ltx973)
> this driver have function :
> eth_init(), eth_send()..
> 
> here is my function eth_send():
> int eth_send(volatile void *packet, int length)

I don't understand why you would rename functions? The code you  copy
is obviously the fec_send() function from cpu/mpc8xx/fec.c

Please explain why you mess with this code - it should work fine as is.

> my question is what would be the format of my packet??

It's a standard ethernet packet.

Wolfgang Denk

(Continue reading)

PASCAL Joseph | 8 Apr 2003 13:00
Picon

Re: [PPCBoot-users] how to use fec

i know that ppcboot is dead project but i work on a part of this project 
that had been began 2 years ago. And it is the person who had work on 
fec.c who had rename the function and i don't know why...

another questions

  a)is there necessary to put in the packet the protocole (iP,arp etc..)?

b)  my packet format is it correct:( destination address, source 
address, length and data)?

c) the begening of my packet address must be the begining of my transmit 
buffer address, right?

pascal joseph

Wolfgang Denk wrote:

> Hekllo,
> 
> in message <3E9299A0.5080409 <at> c-s.fr> you wrote:
> 
>>i'm student and  i work on mpc862 which use ppcboot for launch 
>>application and test some memories
>>
> 
> I hope you are aware of the fact that the PPCBoot prokject  has  been
> discontinued,  so it makes little sense to put any development effort
> in a dead project. Use the  U-Boot  project  instead,  which  is  the
> successor.
(Continue reading)

Wolfgang Denk | 8 Apr 2003 14:05
Picon
Picon
Favicon

Re: [PPCBoot-users] how to use fec

In message <3E92ABE2.5010408 <at> c-s.fr> you wrote:
> i know that ppcboot is dead project but i work on a part of this project 
> that had been began 2 years ago. And it is the person who had work on 
> fec.c who had rename the function and i don't know why...

I think it is dangerous to work on code  you  don't  understand.  The
original  PPCboot  vode  was  probably  working  find.  If  you don;t
understand the modifications, and why they are necessary,  you  might
be just wasting your time.

> another questions
> 
>   a)is there necessary to put in the packet the protocole (iP,arp etc..)?

Depends on what you want  to  do.  If  you  want  to  implement  some
protocol, then yes.

Again, I don;t understand what you are trying to do. All these things
are working fine. This is definitely not  the  place  to  touch  when
porting PPCBoot to a new board.

> b)  my packet format is it correct:( destination address, source 
> address, length and data)?

Ummm... please read the relevant RFC's and related documentation. 

This discussion goes far beyond the scope of this mailing list.

Best regards,

(Continue reading)

摩托罗拉西门子诺基亚铃声图片放送  TOM短讯    >>更多精彩
Mon Tue Wed Thu Fri Sat Sun
 123456
78910111213
14151617181920
21222324252627
282930    
Language
Options
Current view: Threads only / Showing only 20 lines / Not hiding cited text.
Change to All messages, whole messages, or hide cited text.

Post a message
NNTP Newsgroup
Classic Gmane web interface
XML RSS Feed
List Information

About Gmane
Recent entries
Archives
 
1259
 
2341
 
2570
 
2468
 
2297
 
2442
 
1822
 
2391
 
2896
 
3086
 
3162
 
2420
 
1722
 
1958
 
1971
 
2469
 
1990
 
2387
 
2545
 
3936
 
4894
 
2880
 
2424
 
2242
 
1627
 
1818
 
2224
 
1407
 
1476
 
2091
 
1661
 
1915
 
2726
 
1634
 
1817
 
1258
 
1287
 
1188
 
1543
 
1215
 
800
 
1417
 
991
 
1329
 
1712
 
2139
 
1759
 
2599
 
1768
 
1681
 
1889
 
1445
 
1969
 
1366
 
1253
 
1231
 
1771
 
1377
 
1413
 
1786
 
1125
 
1421
 
1463
 
1529
 
1152
 
1652
 
708
 
871
 
815
 
676
 
993
 
803
 
665
 
798
 
661
 
771
 
517
 
459
 
348
 
607
 
528
 
288
 
549
 
534
 
457
 
489
 
413
 
668
 
295
 
376
 
159
 
461
 
344
 
385
 
412
 
319
 
480
 
415
 
360
 
355
 
309
 
402
 
372
 
381
 
431
 
459
 
393
 
504
 
443
 
315
 
393
 
521
 
644
 
447
 
309
 
357
 
403
 
395
 
333
 
369
 
460
 
322
 
352
 
571
 
273
 
178
 
221
 
270
 
299
 
228
 
219
 
161
 
285
 
213
 
366
 
487
 
218
 
227
 
116
 
158
 
201
 
185
 
214
 
188
 
193
 
187
 
169
 
203
 
130
 
205
 
70
 
125
 
152
 
34
 
23
 
58
 
13
 
1
 
2
 
5
Design
Your Own Design
Paste the URL of your CSS below.
Download CSS template