linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PPCBOOT in customised MPC860T board
@ 2004-02-19  4:11 RamanaYV
  2004-02-19 19:09 ` Dennis Khoo
  2004-02-19 19:43 ` Wolfgang Denk
  0 siblings, 2 replies; 6+ messages in thread
From: RamanaYV @ 2004-02-19  4:11 UTC (permalink / raw)
  To: linuxppc-embedded


I was working in MPC860T customised board and trying to port linux  through
PPCBOOT.

can you give me breif guidence to boot PPCBOOT in my board and to port
linux-2.4.19 based kernel.

Thank you,
Ramana

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

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

* Re: PPCBOOT in customised MPC860T board
  2004-02-19  4:11 PPCBOOT in customised MPC860T board RamanaYV
@ 2004-02-19 19:09 ` Dennis Khoo
  2004-02-19 19:48   ` Wolfgang Denk
  2004-02-19 19:43 ` Wolfgang Denk
  1 sibling, 1 reply; 6+ messages in thread
From: Dennis Khoo @ 2004-02-19 19:09 UTC (permalink / raw)
  To: RamanaYV, linuxppc-embedded


Ramana,

Perhaps you should try the u-boot forum and use pick a tqm board as your
guide for the u-boot port.  But briefly for u-boot port:

1. Change Makefile to use your cross compiler and add your board config
2. Create a file named your_board.h in u-boot-x.x.x/include/configs for your
board configs.
3. Create a dir for your board under u-boot-x.x.x/board and in it
a) write/copy some flash routines in say flash.c
b) write/copy some ram routines in say your_board.c
c) write/copy other files like Makefile, etc
4. Modify u-boot-x.x.x/include/commproc.h to your board specs.
5. Compile and burn the u-boot.bin through BDM(I use DENX's $50 BDM4GDB but
that required on the MPCBDM so invest in a BDI2000.)

For the kernel(for 2.4.22 but 2.4.19 is similar):

1. Change the Makefile to use the right cross-compiler and also to tell it
to
build a ppc kerel. For example, add an entry "YOUR_BOARD CONFIG_YOURBOARD \"
in the list of boards under "if [ "$CONFIG_8xx" =
"y" ]; then" ....

2. Modify arch/ppc/config.in to add your board name to list of boards
already
present in the kernel for your cpu family.

#if defined(CONFIG_YOURBOARD)
 #include <platforms/yourboard.h>
 #endif

Please note that different kernel versions have different organizations so
yourboard.h which you will create later may have to be placed in a different
location.

3. Add the following to include/asm/mpc8xx.h:

 #if defined(CONFIG_YOURBOARD)
 #include <platforms/yourboard.h>
 #endif

4. Create the include/asm/yourboard.h   Not much to do here basically
#define IMAP_ADDR/SIZE to get the board going. (look at tqm board for
guidance)

5.  This next step is optional but it saves me a lot of time when I clean
and
rebuild my kernel.  When I clean my kernel, the .config file which was
created
when I do a "make menuconfig" or "make config" is wiped out and the next
time
when I build a kernel, the default config file "arch/ppc/defconfig is used
which usually means I have to reconfigure a lot of
the options.  To save time, right after I do a "make menuconfig" and the
.config
file is generated in the top directory, I copy the .config file and replace
arch/ppc/defconfig with it.

6. (If your board has ethernet) Add board specific scc ethernet pin info to
include/asm/commproc.h(find a spot
somewhere between the list of boards and possibly change
arch/ppc/8xx_io/fec.c to get fast ethernet(fec) to work.

7. whatever else you need.

Hopes this helps

Dennis Khoo
Software Engineer
Adapcom, INC.

----- Original Message -----
From: "RamanaYV" <venkataramana_y@mic.co.in>
To: <linuxppc-embedded@lists.linuxppc.org>
Sent: Wednesday, February 18, 2004 8:11 PM
Subject: PPCBOOT in customised MPC860T board


>
> I was working in MPC860T customised board and trying to port linux
through
> PPCBOOT.
>
> can you give me breif guidence to boot PPCBOOT in my board and to port
> linux-2.4.19 based kernel.
>
> Thank you,
> Ramana
>
>


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

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

* Re: PPCBOOT in customised MPC860T board
  2004-02-19  4:11 PPCBOOT in customised MPC860T board RamanaYV
  2004-02-19 19:09 ` Dennis Khoo
@ 2004-02-19 19:43 ` Wolfgang Denk
  1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2004-02-19 19:43 UTC (permalink / raw)
  To: RamanaYV; +Cc: linuxppc-embedded


In message <4034377A.000003.00996@RAMANAYV> you wrote:
>
> I was working in MPC860T customised board and trying to port linux  through
> PPCBOOT.

Please don't post the same message to several malining lists  without
any indication of doing so.

PPCBoot is a dead project. It was put to rest one and a half years ago.

> can you give me breif guidence to boot PPCBOOT in my board and to port
> linux-2.4.19 based kernel.

PPCBoot support has been discontinued. Please use U-Boot instead.


Wolfgang Denk

--
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
The faster I go, the behinder I get.                 -- Lewis Carroll

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

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

* Re: PPCBOOT in customised MPC860T board
  2004-02-19 19:09 ` Dennis Khoo
@ 2004-02-19 19:48   ` Wolfgang Denk
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2004-02-19 19:48 UTC (permalink / raw)
  To: Dennis Khoo; +Cc: RamanaYV, linuxppc-embedded


In message <000001c3f71c$1372ee30$7ec7c7c7@dkhoo> you wrote:
>
> Perhaps you should try the u-boot forum and use pick a tqm board as your
> guide for the u-boot port.  But briefly for u-boot port:

The TQM may be a good choice for a model, or may be not. It  dopeneds
onthe hardware. It is not possible to give a general recommendation.

> 1. Change Makefile to use your cross compiler and add your board config

No  such  change  is  necessary  nor  encouraged.  Just  export   the
CROSS_COMPILE envrionment variable as needed.

> 4. Create the include/asm/yourboard.h   Not much to do here basically
> #define IMAP_ADDR/SIZE to get the board going. (look at tqm board for
> guidance)

Don't forget to make sure to use the correct definition of bd_info.

> the options.  To save time, right after I do a "make menuconfig" and the
> .config
> file is generated in the top directory, I copy the .config file and replace
> arch/ppc/defconfig with it.

A  much  better  and  less  intrusive  way  is  to  copy  .config  to
arch/ppc/configs/<boardname>_defconfig  so  you  can use the standard
"make <boardname>_config ; make oldconfig ; make dep ;  make  uImage"
command sequence.


Best regards,

Wolfgang Denk

--
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
"Don't try to outweird me, three-eyes. I get stranger things than you
free with my breakfast cereal."
           - Zaphod Beeblebrox in  "Hitchhiker's Guide to the Galaxy"

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

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

* Re: PPCBOOT in customised MPC860T board
@ 2004-02-20  4:53 Thamarai Selvan
  2004-02-20  9:01 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Thamarai Selvan @ 2004-02-20  4:53 UTC (permalink / raw)
  To: RamanaYV, linuxppc-embedded


Ramana,

check out the following link
http://www.uclinux.org/~bkuhn/Platforms/Coldfire/tarifa/20020526/README
if ur still interested with ppcboot this will give u a good idea ;-)-

 With Regards,
 Thamarai Selvan.G
 (:  91-22-27612571, 27621100 X 4115
________________________________________________________

 "Rivers of dream, never ends on destiny sea"                      - Thams


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

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

* Re: PPCBOOT in customised MPC860T board
  2004-02-20  4:53 Thamarai Selvan
@ 2004-02-20  9:01 ` Wolfgang Denk
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2004-02-20  9:01 UTC (permalink / raw)
  To: Thamarai Selvan; +Cc: RamanaYV, linuxppc-embedded


In message <OF6966D76E.A0BB8139-ON65256E40.001AB153@lntinfotech.com> you wrote:
>
> check out the following link
> http://www.uclinux.org/~bkuhn/Platforms/Coldfire/tarifa/20020526/README
> if ur still interested with ppcboot this will give u a good idea ;-)-

This is very, very misleading information.

First, the link points to a  very  old  document.  Many  things  have
changed in the last 2 years.

Second, the ColdFire is still one of the "new" processors  which  are
supported  by  U-Boot, and obviously it was much worse two years ago.
On the other hand, the MPC860  was  the  very  first  processor  ever
supported by U-Boot and it's predecessor PPCBoot.


If you're looking for up-to-date information about U-Boot you should
rather read the manual at
http://www.denx.de/twiki/bin/view/DULG/Manual

Best regards,

Wolfgang Denk

--
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
grep me no patterns and I'll tell you no lines.

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

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

end of thread, other threads:[~2004-02-20  9:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-19  4:11 PPCBOOT in customised MPC860T board RamanaYV
2004-02-19 19:09 ` Dennis Khoo
2004-02-19 19:48   ` Wolfgang Denk
2004-02-19 19:43 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2004-02-20  4:53 Thamarai Selvan
2004-02-20  9:01 ` 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).