From: Erik M. <er...@us...> - 2001-11-07 14:43:20
|
Update of /cvsroot/blob/blob In directory usw-pr-cvs1:/tmp/cvs-serv15687 Modified Files: README Log Message: README updates from Kevin Lo (ke...@ms...). Not completely correct, but it fixes the basic errors. Index: README =================================================================== RCS file: /cvsroot/blob/blob/README,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- README 2001/08/30 08:45:45 1.4 +++ README 2001/11/07 14:43:17 1.5 @@ -464,18 +464,19 @@ ------------------------------------------ First you need two know a couple of things: the name of the board, -what kind of CPU the board uses (SA1100 or SA1110), what kind of RAM -it uses (EDODRAM or SDRAM), and which serial port will be the console -(port 1 or 3). Let's assume the foobar platform has an SA1100 CPU, -uses EDODRAM, and serial port 1 as console. The correct lines for -configure.in will be: +what kind of CPU the board uses (SA1100 or SA1110), whether it has +LCD support, and the name of the platform obj and flash obj. +Let's assume the foobar platform has an SA1100 CPU, no use LCD, +and platform obj and flahs obj are foobar.o. +The correct lines for configure.in will be: foobar) - AC_MSG_RESULT(foobar) + board_name="Foobar Board" AC_DEFINE(FOOBAR) - AC_DEFINE(USE_SA1100) - AC_DEFINE(USE_EDODRAM) - AC_DEFINE(USE_SERIAL1) + BLOB_PLATFORM_OBJ="foobar.o" + BLOB_FLASH_OBJS="foobar.o" + use_cpu="sa1100" + use_lcd="no" ;; Put this just after the CreditLART definition. @@ -522,7 +523,7 @@ ** Select correct clock speed ----------------------------- -Open src/start.S in an editor, and add a line to select the correct +Open src/blob/start.S in an editor, and add a line to select the correct clock speed (just before the SHANNON definition): #if defined FOOBAR @@ -532,9 +533,9 @@ ** Edit memory settings ----------------------- -Edit src/memsetup.c and add the correct memory setting for the foobar -architecture. Add these (example) settings right before the PLEB -definitions: +Edit src/blob/memsetup-sa1100.S or src/blob/memsetup-sa1110.S, +and add the correct memory setting for the foobar architecture. +Add these (example) settings right before the PLEB definitions: #if defined FOOBAR mdcas0: .long 0x1c71c01f @@ -554,7 +555,7 @@ ** Edit LED defines ------------------- -If your board has a LED on a GPIO pin, edit include/led.h in an editor +If your board has a LED on a GPIO pin, edit include/blob/led.h in an editor to switch it on early in the boot stage. Let's assume the foobar board has the LED on GPIO pin 1, so add the following lines just before the PLEB definition: |