LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* RE: simple bootloader vs 2.6.10-rc3 for 8xx vs I2C based EEPROM ! !!
@ 2004-12-24  2:32 Povolotsky, Alexander
  2004-12-24  6:53 ` Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: Povolotsky, Alexander @ 2004-12-24  2:32 UTC (permalink / raw)
  To: 'Tom Rini', 'dan@embeddededge.com'
  Cc: 'linuxppc-embedded@ozlabs.org'


Sorry for keeping annoying with questions !

arch\ppc\8xx_io\uart.c - is it suppose to exist in 2.6.10-rc3 ?

I do not have it ...

(I used
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.10-rc3.tar.bz2
- is it correct ?)

If uart.c is functionally not suppose to be in 2.6.10-rc3 (but I do clearly
see it in 2.6.8 ) 
where its code went to ?

Also the question from my previous e-mail, which was not answered - does the
simple bootloader has any debugging print statements ( prior to calling
"load_kernel(...)" function), which I could enable ? (how ?)

Thanks,
Alex

PS Happy Holidays !
-----Original Message-----
From: Tom Rini [mailto:trini@kernel.crashing.org]
Sent: Thursday, December 23, 2004 6:13 PM
To: Povolotsky, Alexander
Cc: 'dan@embeddededge.com'; 'linuxppc-embedded@ozlabs.org'
Subject: Re: simple bootloader vs 2.6.10-rc3 for 8xx vs I2C based EEPROM
!!!


On Thu, Dec 23, 2004 at 05:21:46PM -0500, Povolotsky, Alexander wrote:

> Hi,
> 
> Would below (from Dan Malek) explain why on my 8xx board with I2C EEPROM
> (which ptobably does not work on 2.6.10-rc3) the simple bootloader fails
to
> load the kernel ?

If the board you've selected does not have any meaningful functions in
embed_config.c, yes, it probably would.  If this is a custom board, or
something not otherwise supported by the standard kernel, it sounds like
some other parts of your 2.4 code, under arch/ppc/boot/ have not been
ported over yet.

-- 
Tom Rini
http://gate.crashing.org/~trini/

^ permalink raw reply	[flat|nested] 4+ messages in thread
* simple bootloader vs 2.6.10-rc3 for 8xx vs I2C based EEPROM !!!
@ 2004-12-23 22:21 Povolotsky, Alexander
  2004-12-23 23:13 ` Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: Povolotsky, Alexander @ 2004-12-23 22:21 UTC (permalink / raw)
  To: 'Tom Rini', 'dan@embeddededge.com'
  Cc: 'linuxppc-embedded@ozlabs.org'

Hi,

Would below (from Dan Malek) explain why on my 8xx board with I2C EEPROM
(which ptobably does not work on 2.6.10-rc3) the simple bootloader fails to
load the kernel ?

If my assumption is correct - does simple bootloader, if/when it fails to
read the data from EEPROM, 
calls "load_kernel()" function or not ?

Does simple bootloader has any debugging print statements, which I could
enable ? (how ?)

If my assumption is correct - then I am probably in a "dead loop":

cannot fix I2C without loading the kernel - can not load the kernel without
working I2C ...

Would greatly appresiate response/advise !

Thks,
Alex
**********************************************
Dan Malek dan at embeddededge.com 
Tue Oct 12 02:38:49 EST 2004 

You need to build a zImage so you get the simple
bootloader that will read the information from the EEPROM
and format the board structure.

Load the zImage file as a binary.  It has a 64K ELF header
on it, so you can either use 'dd' to strip that before the
download or add 64K to the load address to use as the
start address.  The start address is the first instruction of
the image (or +64K if you didn't remove the ELF header).

....the kernel does not understand anything about
the EEPROM format on this board.  This is the
reason this "front end" bootloader was created.
The standard interface to the kernel is the
board descriptor, the board specific data in
the EEPROM or elsewhere is usually quite
varied and isn't appropriate to have in the
kernel when it can be easily represented in
a standard manner.

Thanks.


		-- Dan

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

end of thread, other threads:[~2004-12-24  6:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-24  2:32 simple bootloader vs 2.6.10-rc3 for 8xx vs I2C based EEPROM ! !! Povolotsky, Alexander
2004-12-24  6:53 ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2004-12-23 22:21 simple bootloader vs 2.6.10-rc3 for 8xx vs I2C based EEPROM !!! Povolotsky, Alexander
2004-12-23 23:13 ` Tom Rini

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