RE: kernel porting query

2007-02-16 Thread Bernd Petrovitsch
On Fri, 2007-02-16 at 07:46 +0530, Rick Brown wrote:

Your quoting style sucks. I fixed it by hand.
 
[...]
> > 1) Can any one please shed some light on precisely and exactly what are
> > differences in different boards for which we need to port linux?

> On Fri, 2007-02-16 at 09:48 +0530, Ajay Singh (ajaysi) wrote:
> The differences depends on the boards ... Mostly if they belong to the
> same family the differences could be mainly in the peripherials ...
> Interrupt mappings... Serial interface ... Memory sizes (if differnet
> boards have different memory sizes) ... Sometimes some devices may be
> moved to some other locations in the memory map (Look at memory map of
> your SoC on your board). 

You may have different boot loaders (or none at all).
You also may have different storage media like FlashRAM, IDE,
network,  for boot loader/kernel/root filesystem. They may have
different sizes and it makes a "little" difference for your requirements
in the toolchain if you have 4MB or 1GB to boot your system from.

All that kind of information can be found in a BSP (board support
package).

Bernd
-- 
Firmix Software GmbH   http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
  Embedded Linux Development and Services

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


RE: kernel porting query

2007-02-16 Thread Bernd Petrovitsch
On Fri, 2007-02-16 at 07:46 +0530, Rick Brown wrote:

Your quoting style sucks. I fixed it by hand.
 
[...]
  1) Can any one please shed some light on precisely and exactly what are
  differences in different boards for which we need to port linux?

 On Fri, 2007-02-16 at 09:48 +0530, Ajay Singh (ajaysi) wrote:
 The differences depends on the boards ... Mostly if they belong to the
 same family the differences could be mainly in the peripherials ...
 Interrupt mappings... Serial interface ... Memory sizes (if differnet
 boards have different memory sizes) ... Sometimes some devices may be
 moved to some other locations in the memory map (Look at memory map of
 your SoC on your board). 

You may have different boot loaders (or none at all).
You also may have different storage media like FlashRAM, IDE,
network,  for boot loader/kernel/root filesystem. They may have
different sizes and it makes a little difference for your requirements
in the toolchain if you have 4MB or 1GB to boot your system from.

All that kind of information can be found in a BSP (board support
package).

Bernd
-- 
Firmix Software GmbH   http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
  Embedded Linux Development and Services

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


RE: kernel porting query

2007-02-15 Thread Ajay Singh \(ajaysi\)
 

 
1) Can any one please shed some light on precisely and exactly what are
differences in different boards for which we need to port linux?

The differences depends on the boards ... Mostly if they belong to the
same family the differences could be mainly in the peripherials ...
Interrupt mappings... Serial interface ... Memory sizes (if differnet
boards have different memory sizes) ... Sometimes some devices may be
moved to some other locations in the memory map (Look at memory map of
your SoC on your board). 

2) Also, I would appreciate if you could point out code portions /
source files that need to be changed in the process of porting Linux?

Look in linux-2.6.20\arch\mips\mips-boards for help on porting to your
board. You can add directory specific to your board here.
I think you can start from xxx_setup.c file in the above directory.

Good luck.
Ajay.

TIA,

Rick

--
To unsubscribe from this list: send an email with "unsubscribe
kernelnewbies" to [EMAIL PROTECTED] Please read the FAQ at
http://kernelnewbies.org/FAQ
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


RE: kernel porting query

2007-02-15 Thread Ajay Singh \(ajaysi\)
 

snip 
1) Can any one please shed some light on precisely and exactly what are
differences in different boards for which we need to port linux?

The differences depends on the boards ... Mostly if they belong to the
same family the differences could be mainly in the peripherials ...
Interrupt mappings... Serial interface ... Memory sizes (if differnet
boards have different memory sizes) ... Sometimes some devices may be
moved to some other locations in the memory map (Look at memory map of
your SoC on your board). 

2) Also, I would appreciate if you could point out code portions /
source files that need to be changed in the process of porting Linux?

Look in linux-2.6.20\arch\mips\mips-boards for help on porting to your
board. You can add directory specific to your board here.
I think you can start from xxx_setup.c file in the above directory.

Good luck.
Ajay.

TIA,

Rick

--
To unsubscribe from this list: send an email with unsubscribe
kernelnewbies to [EMAIL PROTECTED] Please read the FAQ at
http://kernelnewbies.org/FAQ
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/