public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* SC520 CDP - problem with booting from BIOS Flash
@ 2001-05-15 14:33 Alexander Melichenko
  2001-05-15 15:59 ` Robert Kaiser
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Melichenko @ 2001-05-15 14:33 UTC (permalink / raw)
  To: Vipin Malik; +Cc: linux-mtd, s_krishna

Hello, Vipin!
I work with AMD SC520 CDP. I use file sc520cdp.c from CVS (written by Robert
Kaiser). It works good when Linux boots from HDD or FDD. I can read/write
into mtd0,... device or work with JFFS placed into mtdblock device.
My root FS (JFFS) is placed into mtdblock0. Now I would like to place kernel
into BIOS-flash (29F040). I followed instructions, written by You.  But I
have some questions. My actions is :

I use lstart16.asm from AMD site with Your modifications.

BOOTCS - DIP
ROMCS1 - 8MHCS
ROMCS2 - 8MLCS

z
yi
nb0
ns lstart16.abs 7f800
ns zFlashImage 0 (zFlashImage is kernel with assigning root device
mtdblock0).
z
g

After reset I see changing some digits on the LEDs but kernel is not
booting.

Why kernel doesn't booting? This kernel boots good ( with root fs into
mtdblock0 ) when I use HDD.
Any ideas?

Thanks for any help.

Alexander Melichenko

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

* Re: SC520 CDP - problem with booting from BIOS Flash
  2001-05-15 14:33 SC520 CDP - problem with booting from BIOS Flash Alexander Melichenko
@ 2001-05-15 15:59 ` Robert Kaiser
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Kaiser @ 2001-05-15 15:59 UTC (permalink / raw)
  To: Alexander Melichenko; +Cc: Vipin Malik, linux-mtd, s_krishna

On Die, 15 Mai 2001 you wrote:

> After reset I see changing some digits on the LEDs but kernel is not
> booting.
> 
> Why kernel doesn't booting? This kernel boots good ( with root fs into
> mtdblock0 ) when I use HDD.
> Any ideas?
> 
The lstart16.asm code does not do a full board initialization. It does not
initialize the Super I/O chip and therefore, the first two serial ports of the
board, the floppy disk and the keyboard controller will not work. Also, there
is no BIOS to initialize any VGA card that might be there. So, if your kernel
uses the usual VGA console, it might even boot, but you won't see anything
other than the LEDs. The only console devices that are available in this case
are the two built-in serial ports of the SC520. So, your kernel has to be
configured for a serial console. I have never used the two built-in serial
ports on the SC520CDP. I believe one of them is hardware-wired for RS-422
operation, so you can not connect it to a normal terminal.

[BTW: In the meantime I have managed to implement my ROLO bootloader on the
SC520 CDP. It can boot Linux out of the DIP flash and even out of one of the
8MB flash banks. It  _does_ initialize the Super I/O. It does not intialize
any VGA card, so that problem remains. It needs some more documentation in
order to be usable by mere mortals. I want to make this new version publicly
available sometime in the near future, however, right now I am very busy trying
to keep some almost impossible deadlines, so I don't have time for this :-(

I can send you the full source code if you think it will help you, but I will
not be able to answer any questions you might have for the next -say- three
weeks.]

Cheers

Rob



----------------------------------------------------------------
Robert Kaiser                         email: rkaiser@sysgo.de
SYSGO RTS GmbH
Am Pfaffenstein 14                    phone: (49) 6136 9948-762
D-55270 Klein-Winternheim / Germany   fax:   (49) 6136 9948-10

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

* RE: SC520 CDP - problem with booting from BIOS Flash
@ 2001-05-15 19:37 Vipin Malik
  0 siblings, 0 replies; 3+ messages in thread
From: Vipin Malik @ 2001-05-15 19:37 UTC (permalink / raw)
  To: 'Alexander Melichenko '
  Cc: 'linux-mtd@lists.infradead.org ',
	's_krishna@in.ibm.com '

Sorry for the delayed response. Here are some more things you can try:

1. What are the LED's showing. two of them should say b7 (or something like
that). None of them should say FF.

2. Are you watching the serial console? Is it configured?

3. How will you know when your kernel boots?

Also, I rather than clutter up the list re. non mtd/JFFS issues (as your mtd
and jffs seems to be working), I will send you a personal mail to help you
further.

Thanks

Vipin
 

-----Original Message-----
From: Alexander Melichenko
To: Vipin Malik
Cc: linux-mtd@lists.infradead.org; s_krishna@in.ibm.com
Sent: 5/15/01 9:33 AM
Subject: SC520 CDP - problem with booting from BIOS Flash

Hello, Vipin!
I work with AMD SC520 CDP. I use file sc520cdp.c from CVS (written by
Robert
Kaiser). It works good when Linux boots from HDD or FDD. I can
read/write
into mtd0,... device or work with JFFS placed into mtdblock device.
My root FS (JFFS) is placed into mtdblock0. Now I would like to place
kernel
into BIOS-flash (29F040). I followed instructions, written by You.  But
I
have some questions. My actions is :

I use lstart16.asm from AMD site with Your modifications.

BOOTCS - DIP
ROMCS1 - 8MHCS
ROMCS2 - 8MLCS

z
yi
nb0
ns lstart16.abs 7f800
ns zFlashImage 0 (zFlashImage is kernel with assigning root device
mtdblock0).
z
g

After reset I see changing some digits on the LEDs but kernel is not
booting.

Why kernel doesn't booting? This kernel boots good ( with root fs into
mtdblock0 ) when I use HDD.
Any ideas?

Thanks for any help.

Alexander Melichenko

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

end of thread, other threads:[~2001-05-15 19:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-15 14:33 SC520 CDP - problem with booting from BIOS Flash Alexander Melichenko
2001-05-15 15:59 ` Robert Kaiser
  -- strict thread matches above, loose matches on Subject: below --
2001-05-15 19:37 Vipin Malik

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