LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Help on 8260 board
@ 2005-09-13  4:18 prabha.j
  2005-09-13  8:52 ` Alex Zeffertt
  2005-09-15  8:24 ` Tore Martin Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: prabha.j @ 2005-09-13  4:18 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]


Hi All,
I am newbie to porting of linux to ppc board.Actually i have MPC8260ADS 
board with RAM version Bootloader(u-boot). I have to convert it to ROM 
version . How to do it.
I have compiled the kernel with denx toolchain. Now i want to know if i 
have to configure according to my board what i have to change in the 
source and which source file i have to change.
With default settings i have built both the kernel and u-boot image. But i 
want to do according to the board.
Please give me some advice on this.
Regards

Prabha J.
Tata Consultancy Services Limited
Mailto: prabha.j@tcs.com
Website: http://www.tcs.com

Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you

[-- Attachment #2: Type: text/html, Size: 1530 bytes --]

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

* Re: Help on 8260 board
  2005-09-13  4:18 Help on 8260 board prabha.j
@ 2005-09-13  8:52 ` Alex Zeffertt
  2005-09-13  8:58   ` Alex Zeffertt
  2005-09-15  8:24 ` Tore Martin Hagen
  1 sibling, 1 reply; 4+ messages in thread
From: Alex Zeffertt @ 2005-09-13  8:52 UTC (permalink / raw)
  To: prabha.j; +Cc: linuxppc-embedded

On Tue, 13 Sep 2005 09:48:26 +0530
prabha.j@tcs.com wrote:

> With default settings i have built both the kernel and u-boot image. But i 
> want to do according to the board.
> Please give me some advice on this.

Don't use the defaults.  The configuration is already done for you -

In u-boot-<version>:

	make MPC8260_config
	...

In linux-<version>:


	make ads8260_config
	make oldconfig

Also, I suggest you read the DULG wiki on using linux with u-boot in PPC environments.  It's mostly
aimed at the 8xx but it all still applies to the 82xx:

	http://www.denx.de/twiki/bin/view/DULG/Manual

Alex

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

* Re: Help on 8260 board
  2005-09-13  8:52 ` Alex Zeffertt
@ 2005-09-13  8:58   ` Alex Zeffertt
  0 siblings, 0 replies; 4+ messages in thread
From: Alex Zeffertt @ 2005-09-13  8:58 UTC (permalink / raw)
  To: Alex Zeffertt; +Cc: linuxppc-embedded

I wrote:
> In u-boot-<version>:
> 
> 	make MPC8260_config
> 	...
> 

Sorry that should be "make MPC8260ADS_config"

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

* Re: Help on 8260 board
  2005-09-13  4:18 Help on 8260 board prabha.j
  2005-09-13  8:52 ` Alex Zeffertt
@ 2005-09-15  8:24 ` Tore Martin Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Tore Martin Hagen @ 2005-09-15  8:24 UTC (permalink / raw)
  To: prabha.j; +Cc: linuxppc-embedded

Hi,

To change u-boot for your needs you will need to do approximately the 
following:

copy include/configs/MPC8260ADS.h to include/configs/YOURBOARD8260.h

Print out the the file and sit down with the 8260 ref. manual. Adjust 
the YOURBOARD8260.h to fit your needs. (If you are not a HW designer 
this will definitely take you some time)

Added a new directory
      board/yourboard8260
copied the following files from board/mpc8266ads to board/fox8275:
      config.mk
      flash.c
      Makefile
      mpc8260ads.c -> yourboard8260.c
      u-boot.lds
Changed the files to fit the your board.

Changed the main Makefile to support a new target

 > YOURBOARD8260_config:    unconfig
 >     @./mkconfig $(@:_config=) ppc mpc8260 yourboard8260

good luck

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

end of thread, other threads:[~2005-09-15  8:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-13  4:18 Help on 8260 board prabha.j
2005-09-13  8:52 ` Alex Zeffertt
2005-09-13  8:58   ` Alex Zeffertt
2005-09-15  8:24 ` Tore Martin Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox