Skip to contentSkip to conversation

SC520 CDP - problem with booting from BIOS Flash

DISCUSSION Alexander Melichenko 2 participants 2 messages May 15, 2001 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 7 lines · 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: [email protected]
SYSGO RTS GmbH
Am Pfaffenstein 14 phone: (49) 6136 9948-762
D-55270 Klein-Winternheim / Germany fax: (49) 6136 9948-10