You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(79) |
Aug
(27) |
Sep
(64) |
Oct
(202) |
Nov
(31) |
Dec
(59) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(125) |
Feb
(173) |
Mar
(13) |
Apr
(140) |
May
(75) |
Jun
(1) |
Jul
(37) |
Aug
(14) |
Sep
|
Oct
(20) |
Nov
(9) |
Dec
(2) |
2003 |
Jan
(51) |
Feb
(12) |
Mar
(18) |
Apr
(24) |
May
(1) |
Jun
|
Jul
|
Aug
(72) |
Sep
(12) |
Oct
(18) |
Nov
(60) |
Dec
(26) |
2004 |
Jan
(1) |
Feb
(40) |
Mar
(3) |
Apr
(3) |
May
|
Jun
(1) |
Jul
(4) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(1) |
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(5) |
2006 |
Jan
(13) |
Feb
(5) |
Mar
(8) |
Apr
(13) |
May
(7) |
Jun
(6) |
Jul
(10) |
Aug
(6) |
Sep
(6) |
Oct
(35) |
Nov
(20) |
Dec
(10) |
2007 |
Jan
(13) |
Feb
(9) |
Mar
(2) |
Apr
(1) |
May
(1) |
Jun
(2) |
Jul
(2) |
Aug
(3) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
(1) |
2008 |
Jan
|
Feb
|
Mar
(1) |
Apr
(4) |
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(54) |
Jun
(78) |
Jul
(35) |
Aug
(21) |
Sep
(21) |
Oct
(29) |
Nov
(10) |
Dec
(5) |
2010 |
Jan
|
Feb
|
Mar
(26) |
Apr
(55) |
May
(73) |
Jun
(63) |
Jul
(38) |
Aug
(39) |
Sep
(19) |
Oct
(2) |
Nov
(1) |
Dec
(1) |
2011 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: Tim R. <Ti...@Ri...> - 2002-02-27 17:41:04
|
This would not have any effect until the initrd is accessed, no? That happens after most all of the kernel text is displayed. Erik Mouw wrote: > > On Wed, Feb 27, 2002 at 11:54:54AM +0200, Abraham vd Merwe wrote: > > I see blob is bootable again after Erik fixed the Makefile, but now blob > > doesn't want to boot my linux kernel anymore. It just does this each time: > > > > ------------< snip <------< snip <------< snip <------------ > > blob> boot > > > > Starting kernel ... > > > > Uncompressing Linux........................................ done, booting > > the k. > > ------------< snip <------< snip <------< snip <------------ > > > > And get stuck there. Any ideas? > > Back out Tim's patches (in your sandbox) and see if that solves the > problem. I guess it will because I don't expect the kernel to be able > to boot with ATAG_INITRD put on a flash address (because there probably > isn't a logical-->physical address mapping so early in the boot > process). > > Erik > > -- > J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty > of Information Technology and Systems, Delft University of Technology, > PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 > Fax: +31-15-2781843 Email: J.A...@it... > WWW: http://www-ict.its.tudelft.nl/~erik/ > > _______________________________________________ > blob-cvs-commit mailing list > blo...@li... > https://lists.sourceforge.net/lists/listinfo/blob-cvs-commit -- Tim Riker - http://rikers.org/ - short SIGs! <g> All I need to know I could have learned in Kindergarten ... if I'd just been paying attention. |
From: Tim R. <tim...@us...> - 2002-02-27 17:21:51
|
Update of /cvsroot/blob/blob/src/blob In directory usw-pr-cvs1:/tmp/cvs-serv30358/src/blob Modified Files: main.c Log Message: stop copying ramdisk on all platforms Index: main.c =================================================================== RCS file: /cvsroot/blob/blob/src/blob/main.c,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- main.c 27 Feb 2002 16:57:51 -0000 1.39 +++ main.c 27 Feb 2002 17:21:47 -0000 1.40 @@ -87,7 +87,7 @@ blob_status.ramdiskType = fromFlash; blob_status.downloadSpeed = baud_115200; blob_status.terminalSpeed = TERMINAL_SPEED; - blob_status.load_ramdisk = 1; + blob_status.load_ramdisk = LOAD_RAMDISK; blob_status.cmdline[0] = '\0'; blob_status.boot_delay = 10; @@ -638,7 +638,6 @@ blob_status.kernelSize = 0; blob_status.kernelType = fromFlash; printf("Loading kernel from flash "); -#ifndef NOT_ENOUGH_RAM } else if(strncmp(what, "ramdisk", 8) == 0) { dst = (u32 *)RAMDISK_RAM_BASE; src = (u32 *)RAMDISK_FLASH_BASE; @@ -646,7 +645,6 @@ blob_status.ramdiskSize = 0; blob_status.ramdiskType = fromFlash; printf("Loading ramdisk from flash "); -#endif } else { printerror(EINVAL, what); return 0; |
From: Tim R. <tim...@us...> - 2002-02-27 17:21:50
|
Update of /cvsroot/blob/blob/include/blob/arch In directory usw-pr-cvs1:/tmp/cvs-serv30358/include/blob/arch Modified Files: accelent_sa.h assabet.h badge4.h brutus.h clart.h frodo.h h3600.h idr.h jornada720.h lart.h nesa.h pleb.h shannon.h system3.h Log Message: stop copying ramdisk on all platforms Index: accelent_sa.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/accelent_sa.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- accelent_sa.h 27 Feb 2002 01:44:55 -0000 1.2 +++ accelent_sa.h 27 Feb 2002 17:21:47 -0000 1.3 @@ -60,6 +60,7 @@ #define PARAM_FLASH_LEN (256 * 1024) #define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN) #define KERNEL_FLASH_LEN (1024 * 1024) +#define LOAD_RAMDISK 0 /* leave ramdisk in flash */ #define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN) #define RAMDISK_FLASH_LEN (4 * 1024 * 1024) Index: assabet.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/assabet.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- assabet.h 27 Feb 2002 16:57:51 -0000 1.6 +++ assabet.h 27 Feb 2002 17:21:47 -0000 1.7 @@ -60,6 +60,7 @@ #define PARAM_FLASH_LEN (256 * 1024) #define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN) #define KERNEL_FLASH_LEN (1024 * 1024) +#define LOAD_RAMDISK 0 /* leave ramdisk in flash */ #define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN) #define RAMDISK_FLASH_LEN (4 * 1024 * 1024) Index: badge4.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/badge4.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- badge4.h 27 Feb 2002 01:44:55 -0000 1.4 +++ badge4.h 27 Feb 2002 17:21:47 -0000 1.5 @@ -61,6 +61,7 @@ #define PARAM_FLASH_LEN (0x00002000 * 2) #define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN) #define KERNEL_FLASH_LEN (0x00010000 * 16) +#define LOAD_RAMDISK 0 /* leave ramdisk in flash */ #define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN) #define RAMDISK_FLASH_LEN (0x00010000 * 47) Index: brutus.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/brutus.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- brutus.h 27 Feb 2002 16:57:51 -0000 1.4 +++ brutus.h 27 Feb 2002 17:21:47 -0000 1.5 @@ -61,6 +61,7 @@ #define PARAM_FLASH_LEN (64 * 1024) #define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN) #define KERNEL_FLASH_LEN ((1024 - 128) * 1024) +#define LOAD_RAMDISK 0 /* leave ramdisk in flash */ #define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN) #define RAMDISK_FLASH_LEN (4 * 1024 * 1024 - BLOB_FLASH_LEN - PARAM_FLASH_LEN - KERNEL_FLASH_LEN) Index: clart.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/clart.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- clart.h 27 Feb 2002 16:57:51 -0000 1.5 +++ clart.h 27 Feb 2002 17:21:47 -0000 1.6 @@ -60,6 +60,7 @@ #define PARAM_FLASH_LEN (128 * 1024) #define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN) #define KERNEL_FLASH_LEN (1024 * 1024) +#define LOAD_RAMDISK 0 /* leave ramdisk in flash */ #define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN) #define RAMDISK_FLASH_LEN (4 * 1024 * 1024) Index: frodo.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/frodo.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- frodo.h 27 Feb 2002 16:57:51 -0000 1.6 +++ frodo.h 27 Feb 2002 17:21:47 -0000 1.7 @@ -103,6 +103,7 @@ #define PARAM_FLASH_LEN (256 * 1024) #define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN) #define KERNEL_FLASH_LEN (1024 * 1024) +#define LOAD_RAMDISK 0 /* leave ramdisk in flash */ #define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN) #define RAMDISK_FLASH_LEN (4 * 1024 * 1024) Index: h3600.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/h3600.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- h3600.h 27 Feb 2002 01:44:55 -0000 1.5 +++ h3600.h 27 Feb 2002 17:21:47 -0000 1.6 @@ -60,6 +60,7 @@ #define PARAM_FLASH_LEN (256 * 1024) #define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN) #define KERNEL_FLASH_LEN (1024 * 1024) +#define LOAD_RAMDISK 0 /* leave ramdisk in flash */ #define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN) #define RAMDISK_FLASH_LEN (4 * 1024 * 1024) Index: idr.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/idr.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- idr.h 27 Feb 2002 03:28:04 -0000 1.7 +++ idr.h 27 Feb 2002 17:21:47 -0000 1.8 @@ -55,7 +55,7 @@ #define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN) #define KERNEL_FLASH_LEN ((1024 - 128) * 1024) #define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN) -#define NOT_ENOUGH_RAM /* we can't fit the entire ramdisk in flash */ +#define LOAD_RAMDISK 0 /* leave ramdisk in flash */ #define RAMDISK_FLASH_LEN (16 * 1024 * 1024 - BLOB_FLASH_LEN - PARAM_FLASH_LEN - KERNEL_FLASH_LEN) /* the position of the kernel boot parameters */ Index: jornada720.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/jornada720.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- jornada720.h 27 Feb 2002 01:44:55 -0000 1.3 +++ jornada720.h 27 Feb 2002 17:21:47 -0000 1.4 @@ -61,6 +61,7 @@ #define PARAM_FLASH_LEN (1 * 256 * 1024) #define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN) #define KERNEL_FLASH_LEN (4 * 256 * 1024) +#define LOAD_RAMDISK 0 /* leave ramdisk in flash */ #define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN) #define RAMDISK_FLASH_LEN (8 * 256 * 1024) Index: lart.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/lart.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- lart.h 27 Feb 2002 16:57:51 -0000 1.4 +++ lart.h 27 Feb 2002 17:21:47 -0000 1.5 @@ -60,6 +60,7 @@ #define PARAM_FLASH_LEN (64 * 1024) #define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN) #define KERNEL_FLASH_LEN ((1024 - 128) * 1024) +#define LOAD_RAMDISK 0 /* leave ramdisk in flash */ #define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN) #define RAMDISK_FLASH_LEN (4 * 1024 * 1024 - BLOB_FLASH_LEN - PARAM_FLASH_LEN - KERNEL_FLASH_LEN) Index: nesa.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/nesa.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- nesa.h 27 Feb 2002 16:57:51 -0000 1.6 +++ nesa.h 27 Feb 2002 17:21:47 -0000 1.7 @@ -63,6 +63,7 @@ #define NESA_ERASE_BLOCK (2 * 64 * 1024) #define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN) #define KERNEL_FLASH_LEN (NESA_ERASE_BLOCK * 3) +#define LOAD_RAMDISK 0 /* leave ramdisk in flash */ #define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN) #define RAMDISK_FLASH_LEN (NESA_ERASE_BLOCK * (32 - 4)) Index: pleb.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/pleb.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- pleb.h 27 Feb 2002 16:57:51 -0000 1.4 +++ pleb.h 27 Feb 2002 17:21:47 -0000 1.5 @@ -62,6 +62,7 @@ #define PARAM_FLASH_LEN (64 * 1024) #define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN) #define KERNEL_FLASH_LEN ((1024 - 128) * 1024) +#define LOAD_RAMDISK 0 /* leave ramdisk in flash */ #define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN) #define RAMDISK_FLASH_LEN (4 * 1024 * 1024 - BLOB_FLASH_LEN - PARAM_FLASH_LEN - KERNEL_FLASH_LEN) Index: shannon.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/shannon.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- shannon.h 27 Feb 2002 01:44:55 -0000 1.8 +++ shannon.h 27 Feb 2002 17:21:47 -0000 1.9 @@ -100,6 +100,7 @@ #define PARAM_FLASH_LEN (64 * 1024) #define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN) #define KERNEL_FLASH_LEN ((1024 - 128) * 1024) +#define LOAD_RAMDISK 0 /* leave ramdisk in flash */ #define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN) #define RAMDISK_FLASH_LEN (4 * 1024 * 1024 - BLOB_FLASH_LEN - PARAM_FLASH_LEN - KERNEL_FLASH_LEN) Index: system3.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/system3.h,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- system3.h 27 Feb 2002 01:44:55 -0000 1.12 +++ system3.h 27 Feb 2002 17:21:47 -0000 1.13 @@ -64,6 +64,7 @@ #define PARAM_FLASH_LEN (256 * 1024) #define KERNEL_FLASH_BASE (0x00080000) #define KERNEL_FLASH_LEN (1024 * 1024) +#define LOAD_RAMDISK 0 /* leave ramdisk in flash */ #define RAMDISK_FLASH_BASE (0x00180000) #define RAMDISK_FLASH_LEN (4 * 1024 * 1024) |
From: Tim R. <tim...@us...> - 2002-02-27 16:57:55
|
Update of /cvsroot/blob/blob/src/blob In directory usw-pr-cvs1:/tmp/cvs-serv17997/src/blob Modified Files: main.c Log Message: finish the TERMINAL_SPEED patch Index: main.c =================================================================== RCS file: /cvsroot/blob/blob/src/blob/main.c,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- main.c 27 Feb 2002 03:28:05 -0000 1.38 +++ main.c 27 Feb 2002 16:57:51 -0000 1.39 @@ -86,11 +86,7 @@ blob_status.kernelType = fromFlash; blob_status.ramdiskType = fromFlash; blob_status.downloadSpeed = baud_115200; -#ifdef TERMINAL_SPEED blob_status.terminalSpeed = TERMINAL_SPEED; -#else - blob_status.terminalSpeed = baud_9600; -#endif blob_status.load_ramdisk = 1; blob_status.cmdline[0] = '\0'; blob_status.boot_delay = 10; |
From: Tim R. <tim...@us...> - 2002-02-27 16:57:55
|
Update of /cvsroot/blob/blob/include/blob/arch In directory usw-pr-cvs1:/tmp/cvs-serv17997/include/blob/arch Modified Files: assabet.h brutus.h clart.h frodo.h lart.h nesa.h pleb.h Log Message: finish the TERMINAL_SPEED patch Index: assabet.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/assabet.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- assabet.h 4 Nov 2001 23:04:37 -0000 1.5 +++ assabet.h 27 Feb 2002 16:57:51 -0000 1.6 @@ -35,6 +35,7 @@ /* serial port */ #define USE_SERIAL1 +#define TERMINAL_SPEED baud_9600 /* GPIO for the LED */ Index: brutus.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/brutus.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- brutus.h 4 Nov 2001 23:04:37 -0000 1.3 +++ brutus.h 27 Feb 2002 16:57:51 -0000 1.4 @@ -36,6 +36,7 @@ /* serial port */ #define USE_SERIAL3 +#define TERMINAL_SPEED baud_9600 /* GPIO for the LED */ Index: clart.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/clart.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- clart.h 4 Nov 2001 23:04:37 -0000 1.4 +++ clart.h 27 Feb 2002 16:57:51 -0000 1.5 @@ -35,6 +35,7 @@ /* serial port */ #define USE_SERIAL3 +#define TERMINAL_SPEED baud_9600 /* GPIO for the LED */ Index: frodo.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/frodo.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- frodo.h 25 Feb 2002 12:53:45 -0000 1.5 +++ frodo.h 27 Feb 2002 16:57:51 -0000 1.6 @@ -82,6 +82,7 @@ /* serial port */ #define USE_SERIAL2 +#define TERMINAL_SPEED baud_9600 /* GPIO for the LED */ #define LED_GPIO (0x00000000) /* no led (for now) */ Index: lart.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/lart.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- lart.h 4 Nov 2001 23:04:37 -0000 1.3 +++ lart.h 27 Feb 2002 16:57:51 -0000 1.4 @@ -35,6 +35,7 @@ /* serial port */ #define USE_SERIAL3 +#define TERMINAL_SPEED baud_9600 /* GPIO for the LED */ Index: nesa.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/nesa.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- nesa.h 21 Jan 2002 23:31:25 -0000 1.5 +++ nesa.h 27 Feb 2002 16:57:51 -0000 1.6 @@ -36,6 +36,7 @@ /* serial port */ #define USE_SERIAL3 +#define TERMINAL_SPEED baud_9600 /* GPIO for the LED */ Index: pleb.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/pleb.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- pleb.h 4 Nov 2001 23:04:37 -0000 1.3 +++ pleb.h 27 Feb 2002 16:57:51 -0000 1.4 @@ -36,6 +36,7 @@ /* serial port */ #define USE_SERIAL3 +#define TERMINAL_SPEED baud_9600 /* GPIO for the LED */ |
From: Erik M. <J.A...@it...> - 2002-02-27 12:39:57
|
On Tue, Feb 26, 2002 at 07:28:07PM -0800, Tim Riker wrote: > Update of /cvsroot/blob/blob/include/blob/arch > In directory usw-pr-cvs1:/tmp/cvs-serv23058/include/blob/arch > > Modified Files: > idr.h > Log Message: > don't load ramdisk if it won't fit. Use ramdisk from flash if not downloaded. Ramdisks fit _per_ _definition_, and large ramdisks don't make sense: http://lists.arm.linux.org.uk/pipermail/linux-arm/2001-February/000545.html I understand what you mean, but you should solve it differently: If there is no ramdisk downloaded, the ATAG_INITRD node should point to flash, otherwise it should point to the location where the ramdisk was downloaded. Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A...@it... WWW: http://www-ict.its.tudelft.nl/~erik/ |
From: Erik M. <J.A...@it...> - 2002-02-27 12:28:25
|
On Tue, Feb 26, 2002 at 05:44:57PM -0800, Tim Riker wrote: > Update of /cvsroot/blob/blob/src/blob > In directory usw-pr-cvs1:/tmp/cvs-serv24741/src/blob > > Modified Files: > main.c > Log Message: > define TERMINAL_SPEED or get baud_9600 > > Index: main.c > =================================================================== > RCS file: /cvsroot/blob/blob/src/blob/main.c,v > retrieving revision 1.36 > retrieving revision 1.37 > diff -u -d -r1.36 -r1.37 > --- main.c 21 Feb 2002 14:21:35 -0000 1.36 > +++ main.c 27 Feb 2002 01:44:55 -0000 1.37 > @@ -86,16 +86,17 @@ > blob_status.kernelType = fromFlash; > blob_status.ramdiskType = fromFlash; > blob_status.downloadSpeed = baud_115200; > +#ifdef TERMINAL_SPEED > + blob_status.terminalSpeed = TERMINAL_SPEED; > +#else > blob_status.terminalSpeed = baud_9600; > +#endif Better do it right: completely remove the #ifdef and define TERMINAL_SPEED in all architecture dependent files. Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A...@it... WWW: http://www-ict.its.tudelft.nl/~erik/ |
From: Erik M. <J.A...@it...> - 2002-02-27 12:26:37
|
On Wed, Feb 27, 2002 at 11:54:54AM +0200, Abraham vd Merwe wrote: > I see blob is bootable again after Erik fixed the Makefile, but now blob > doesn't want to boot my linux kernel anymore. It just does this each time: > > ------------< snip <------< snip <------< snip <------------ > blob> boot > > Starting kernel ... > > Uncompressing Linux........................................ done, booting > the k. > ------------< snip <------< snip <------< snip <------------ > > And get stuck there. Any ideas? Back out Tim's patches (in your sandbox) and see if that solves the problem. I guess it will because I don't expect the kernel to be able to boot with ATAG_INITRD put on a flash address (because there probably isn't a logical-->physical address mapping so early in the boot process). Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A...@it... WWW: http://www-ict.its.tudelft.nl/~erik/ |
From: Abraham vd M. <ab...@2d...> - 2002-02-27 09:54:13
|
Hi! I see blob is bootable again after Erik fixed the Makefile, but now blob doesn't want to boot my linux kernel anymore. It just does this each time: ------------< snip <------< snip <------< snip <------------ blob> boot Starting kernel ... Uncompressing Linux........................................ done, booting the k. ------------< snip <------< snip <------< snip <------------ And get stuck there. Any ideas? --=20 Regards Abraham QOTD: "Just how much can I get away with and still go to heaven?" __________________________________________________________ Abraham vd Merwe - 2d3D, Inc. Device Driver Development, Outsourcing, Embedded Systems Cell: +27 82 565 4451 Snailmail: Tel: +27 21 761 7549 Block C, Antree Park Fax: +27 21 761 7648 Doncaster Road Email: ab...@2d... Kenilworth, 7700 Http: http://www.2d3d.com South Africa |
From: Tim R. <tim...@us...> - 2002-02-27 03:28:09
|
Update of /cvsroot/blob/blob/src/blob In directory usw-pr-cvs1:/tmp/cvs-serv23058/src/blob Modified Files: linux.c main.c Log Message: don't load ramdisk if it won't fit. Use ramdisk from flash if not downloaded. Index: linux.c =================================================================== RCS file: /cvsroot/blob/blob/src/blob/linux.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- linux.c 8 Feb 2002 12:55:16 -0000 1.9 +++ linux.c 27 Feb 2002 03:28:05 -0000 1.10 @@ -105,7 +105,7 @@ params->u.mem.start = memory_map[i].start; params->u.mem.size = memory_map[i].len; - + params = tag_next(params); } #if defined( NEPONSET ) @@ -128,8 +128,8 @@ params->u.cmdline.cmdline[0] = '\0'; /* copy default commandline from parameter block */ - if(blob_status.cmdline[0] != '\0') - strlcpy(params->u.cmdline.cmdline, blob_status.cmdline, + if(blob_status.cmdline[0] != '\0') + strlcpy(params->u.cmdline.cmdline, blob_status.cmdline, COMMAND_LINE_SIZE); /* copy commandline */ @@ -141,7 +141,7 @@ p += strlen(p); *p++ = ' '; } - + p--; *p = '\0'; @@ -154,9 +154,9 @@ if(strlen(params->u.cmdline.cmdline) > 0) { params->hdr.tag = ATAG_CMDLINE; - params->hdr.size = (sizeof(struct tag_header) + + params->hdr.size = (sizeof(struct tag_header) + strlen(params->u.cmdline.cmdline) + 1 + 4) >> 2; - + params = tag_next(params); } } @@ -165,14 +165,19 @@ static void setup_initrd_tag(void) { /* an ATAG_INITRD node tells the kernel where the compressed - * ramdisk can be found. ATAG_RDIMG is a better name, actually. + * ramdisk can be found. ATAG_RDIMG is a better name, actually. */ params->hdr.tag = ATAG_INITRD; params->hdr.size = tag_size(tag_initrd); - - params->u.initrd.start = RAMDISK_RAM_BASE; - params->u.initrd.size = RAMDISK_FLASH_LEN; - + + if (blob_status.ramdiskType = fromDownload) { + params->u.initrd.start = RAMDISK_RAM_BASE; + params->u.initrd.size = blob_status.ramdiskSize; + } else { + params->u.initrd.start = RAMDISK_FLASH_BASE; + params->u.initrd.size = RAMDISK_FLASH_LEN; + } + params = tag_next(params); } @@ -180,15 +185,15 @@ static void setup_ramdisk_tag(void) { /* an ATAG_RAMDISK node tells the kernel how large the - * decompressed ramdisk will become. + * decompressed ramdisk will become. */ params->hdr.tag = ATAG_RAMDISK; params->hdr.size = tag_size(tag_ramdisk); - + params->u.ramdisk.start = 0; params->u.ramdisk.size = RAMDISK_SIZE; params->u.ramdisk.flags = 1; /* automatically load ramdisk */ - + params = tag_next(params); } Index: main.c =================================================================== RCS file: /cvsroot/blob/blob/src/blob/main.c,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- main.c 27 Feb 2002 01:44:55 -0000 1.37 +++ main.c 27 Feb 2002 03:28:05 -0000 1.38 @@ -642,6 +642,7 @@ blob_status.kernelSize = 0; blob_status.kernelType = fromFlash; printf("Loading kernel from flash "); +#ifndef NOT_ENOUGH_RAM } else if(strncmp(what, "ramdisk", 8) == 0) { dst = (u32 *)RAMDISK_RAM_BASE; src = (u32 *)RAMDISK_FLASH_BASE; @@ -649,6 +650,7 @@ blob_status.ramdiskSize = 0; blob_status.ramdiskType = fromFlash; printf("Loading ramdisk from flash "); +#endif } else { printerror(EINVAL, what); return 0; |
From: Tim R. <tim...@us...> - 2002-02-27 03:28:09
|
Update of /cvsroot/blob/blob/include/blob/arch In directory usw-pr-cvs1:/tmp/cvs-serv23058/include/blob/arch Modified Files: idr.h Log Message: don't load ramdisk if it won't fit. Use ramdisk from flash if not downloaded. Index: idr.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/idr.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- idr.h 27 Feb 2002 01:44:55 -0000 1.6 +++ idr.h 27 Feb 2002 03:28:04 -0000 1.7 @@ -55,11 +55,8 @@ #define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN) #define KERNEL_FLASH_LEN ((1024 - 128) * 1024) #define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN) -#ifdef FULL_RAMDISK_SIZE /* blob tries to load the whole image. ugh */ +#define NOT_ENOUGH_RAM /* we can't fit the entire ramdisk in flash */ #define RAMDISK_FLASH_LEN (16 * 1024 * 1024 - BLOB_FLASH_LEN - PARAM_FLASH_LEN - KERNEL_FLASH_LEN) -#else -#define RAMDISK_FLASH_LEN (4 * 1024 * 1024) -#endif /* the position of the kernel boot parameters */ #define BOOT_PARAMS (0xc0000100) |
From: Tim R. <tim...@us...> - 2002-02-27 01:44:58
|
Update of /cvsroot/blob/blob/src/blob In directory usw-pr-cvs1:/tmp/cvs-serv24741/src/blob Modified Files: main.c Log Message: define TERMINAL_SPEED or get baud_9600 Index: main.c =================================================================== RCS file: /cvsroot/blob/blob/src/blob/main.c,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- main.c 21 Feb 2002 14:21:35 -0000 1.36 +++ main.c 27 Feb 2002 01:44:55 -0000 1.37 @@ -86,16 +86,17 @@ blob_status.kernelType = fromFlash; blob_status.ramdiskType = fromFlash; blob_status.downloadSpeed = baud_115200; +#ifdef TERMINAL_SPEED + blob_status.terminalSpeed = TERMINAL_SPEED; +#else blob_status.terminalSpeed = baud_9600; +#endif blob_status.load_ramdisk = 1; blob_status.cmdline[0] = '\0'; blob_status.boot_delay = 10; /* call serial_init() because the default 9k6 speed might not be what the user requested */ -#if defined(H3600) || defined(SHANNON) || defined(IDR) || defined(BADGE4) || defined(JORNADA720) || defined(ACCELENT_SA) || defined(PT_SYSTEM3) - blob_status.terminalSpeed = baud_115200; /* DEBUG */ -#endif serial_init(blob_status.terminalSpeed); /* parse the core tag, for critical things like terminal speed */ |
From: Tim R. <tim...@us...> - 2002-02-27 01:44:58
|
Update of /cvsroot/blob/blob/include/blob/arch In directory usw-pr-cvs1:/tmp/cvs-serv24741/include/blob/arch Modified Files: accelent_sa.h badge4.h h3600.h idr.h jornada720.h shannon.h system3.h Log Message: define TERMINAL_SPEED or get baud_9600 Index: accelent_sa.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/accelent_sa.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- accelent_sa.h 4 Feb 2002 18:02:41 -0000 1.1 +++ accelent_sa.h 27 Feb 2002 01:44:55 -0000 1.2 @@ -36,6 +36,7 @@ /* serial port */ #define USE_SERIAL1 +#define TERMINAL_SPEED baud_115200 /* GPIO for the LED */ #define LED_GPIO (0x00000002) /* GPIO 1 */ Index: badge4.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/badge4.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- badge4.h 23 Jan 2002 18:09:42 -0000 1.3 +++ badge4.h 27 Feb 2002 01:44:55 -0000 1.4 @@ -36,6 +36,7 @@ /* serial port */ #define USE_SERIAL3 +#define TERMINAL_SPEED baud_115200 /* GPIO for the LED */ Index: h3600.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/h3600.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- h3600.h 4 Nov 2001 23:04:37 -0000 1.4 +++ h3600.h 27 Feb 2002 01:44:55 -0000 1.5 @@ -35,6 +35,7 @@ /* serial port */ #define USE_SERIAL3 +#define TERMINAL_SPEED baud_115200 /* GPIO for the LED */ Index: idr.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/idr.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- idr.h 27 Jan 2002 07:13:46 -0000 1.5 +++ idr.h 27 Feb 2002 01:44:55 -0000 1.6 @@ -29,6 +29,7 @@ /* serial port */ #define USE_SERIAL3 +#define TERMINAL_SPEED baud_115200 /* GPIO for the LED */ #define LED_GPIO (0x00000000) /* safe mode: no GPIO, no LED */ Index: jornada720.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/jornada720.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- jornada720.h 15 Jan 2002 01:45:01 -0000 1.2 +++ jornada720.h 27 Feb 2002 01:44:55 -0000 1.3 @@ -36,6 +36,7 @@ /* serial port */ #define USE_SERIAL3 +#define TERMINAL_SPEED baud_115200 /* GPIO for the LED */ Index: shannon.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/shannon.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- shannon.h 26 Feb 2002 08:39:57 -0000 1.7 +++ shannon.h 27 Feb 2002 01:44:55 -0000 1.8 @@ -36,6 +36,7 @@ /* serial port */ #define USE_SERIAL3 +#define TERMINAL_SPEED baud_115200 /* GPIO for the LED */ Index: system3.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/system3.h,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- system3.h 21 Feb 2002 14:48:31 -0000 1.11 +++ system3.h 27 Feb 2002 01:44:55 -0000 1.12 @@ -40,6 +40,7 @@ /* serial port */ #define USE_SERIAL1 +#define TERMINAL_SPEED baud_115200 /* GPIO for the LED */ #define LED_GPIO (0x00000400) /* GPIO 10 */ |
From: Russ D. <ru...@us...> - 2002-02-26 17:19:59
|
Update of /cvsroot/blob/blob/src/blob In directory usw-pr-cvs1:/tmp/cvs-serv18677/src/blob Modified Files: shannon.c Log Message: correct paramater block layout for shannon Index: shannon.c =================================================================== RCS file: /cvsroot/blob/blob/src/blob/shannon.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- shannon.c 13 Feb 2002 00:08:54 -0000 1.8 +++ shannon.c 26 Feb 2002 17:19:56 -0000 1.9 @@ -33,9 +33,18 @@ /* 2x AMD *whatever* flash (4MB) */ static const flash_descriptor_t shannon_flash_descriptors[] = { + + { + size: 2 * 16 * 1024, + num: 1, + }, { size: 2 * 8 * 1024, - num: 8, + num: 2, + }, + { + size: 2 * 32 * 1024, + num: 1, }, { size: 2 * 64 * 1024, |
From: Erik M. <er...@us...> - 2002-02-26 15:58:34
|
Update of /cvsroot/blob/blob/src/blob In directory usw-pr-cvs1:/tmp/cvs-serv22815 Modified Files: Makefile.am Log Message: Trivial bug: the object files should be in LDADD, not in LDFLAGS *blush* Index: Makefile.am =================================================================== RCS file: /cvsroot/blob/blob/src/blob/Makefile.am,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- Makefile.am 17 Feb 2002 20:03:41 -0000 1.26 +++ Makefile.am 26 Feb 2002 15:58:31 -0000 1.27 @@ -169,6 +169,11 @@ blob_rest_elf32_LDFLAGS += \ + -Wl,-T,rest-ld-script \ + -Wl,-Map,blob-rest-elf32.map + + +blob_rest_elf32_LDADD += \ @BLOB_CHKMEM_OBJS@ \ @BLOB_CLOCK_OBJS@ \ @BLOB_CRAMFS_OBJS@ \ @@ -177,11 +182,6 @@ @BLOB_PLATFORM_OBJS@ \ @BLOB_UUCODEC_OBJS@ \ @BLOB_XMODEM_OBJS@ \ - -Wl,-T,rest-ld-script \ - -Wl,-Map,blob-rest-elf32.map - - -blob_rest_elf32_LDADD += \ -L${top_builddir}/src/commands -L${top_builddir}/src/lib \ -lcommands -lblob \ -lgcc |
From: Erik M. <J.A...@it...> - 2002-02-26 10:38:43
|
On Tue, Feb 26, 2002 at 11:10:01AM +0200, Abraham vd Merwe wrote: > Did anyone try the latest CVS on a SA-1110 board? It doesn't want to work on > my board anymore... I had no problems on Assabet this weekend. Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A...@it... WWW: http://www-ict.its.tudelft.nl/~erik/ |
From: Abraham vd M. <ab...@2d...> - 2002-02-26 10:35:48
|
Hi Stefan! > > Did anyone try the latest CVS on a SA-1110 board? It doesn't want to wo= rk on > > my board anymore... >=20 > Hmm, i use 2.0.5-pre3 on both the assabet and my own system3, both are > SA1110 based. When last did you test it? I think I stumbled onto the same bug that Russ reported earlier today. --=20 Regards Abraham Be careful of reading health books, you might die of a misprint. -- Mark Twain __________________________________________________________ Abraham vd Merwe - 2d3D, Inc. Device Driver Development, Outsourcing, Embedded Systems Cell: +27 82 565 4451 Snailmail: Tel: +27 21 761 7549 Block C, Antree Park Fax: +27 21 761 7648 Doncaster Road Email: ab...@2d... Kenilworth, 7700 Http: http://www.2d3d.com South Africa |
From: Erik M. <J.A...@it...> - 2002-02-26 10:34:44
|
On Tue, Feb 26, 2002 at 01:34:28AM -0700, Russ Dill wrote: > this commit broke blob CVS for me: > > blob_rest_elf32_LDFLAGS += \ > + @BLOB_CHKMEM_OBJS@ \ > + @BLOB_CLOCK_OBJS@ \ > + @BLOB_CRAMFS_OBJS@ \ > + @BLOB_FLASH_OBJS@ \ > + @BLOB_JFFS2_OBJS@ \ > + @BLOB_PLATFORM_OBJS@ \ > + @BLOB_UUCODEC_OBJS@ \ > + @BLOB_XMODEM_OBJS@ \ > -Wl,-T,rest-ld-script \ > -Wl,-Map,blob-rest-elf32.map > > with my version of autmake (1.4-p4) the following command in the > Makefile is generated: Known problem, this change completely confuses the auto{conf|make} tools. Run "make maintainerclean", regenerate all stuff with "./tools/update-gcc", reconfigure, and recompile. Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A...@it... WWW: http://www-ict.its.tudelft.nl/~erik/ |
From: Abraham vd M. <ab...@2d...> - 2002-02-26 09:09:00
|
Hi! Did anyone try the latest CVS on a SA-1110 board? It doesn't want to work on my board anymore... --=20 Regards Abraham The first thing I do in the morning is brush my teeth and sharpen my tongue. -- Dorothy Parker __________________________________________________________ Abraham vd Merwe - 2d3D, Inc. Device Driver Development, Outsourcing, Embedded Systems Cell: +27 82 565 4451 Snailmail: Tel: +27 21 761 7549 Block C, Antree Park Fax: +27 21 761 7648 Doncaster Road Email: ab...@2d... Kenilworth, 7700 Http: http://www.2d3d.com South Africa |
From: Russ D. <ru...@us...> - 2002-02-26 08:40:00
|
Update of /cvsroot/blob/blob/include/blob/arch In directory usw-pr-cvs1:/tmp/cvs-serv19527 Modified Files: shannon.h Log Message: added led diag gpio and instructions for shannon Index: shannon.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/shannon.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- shannon.h 15 Jan 2002 01:59:34 -0000 1.6 +++ shannon.h 26 Feb 2002 08:39:57 -0000 1.7 @@ -39,9 +39,37 @@ /* GPIO for the LED */ -#define LED_GPIO (0x00000000) /* safe mode: no GPIO, no LED */ - +#define LED_GPIO (0x00040000) /* GPIO 18, codec (ucb1300) reset */ +/* to connect this up, you'll need an LED and a resistor (100ohm - 1k will probably do) + * + * o o o =\ =o o o o o o ___________ \ + * 33| | \ \ |//| | | 1////-33 \ \ \ |/--\o + * --+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-- |||| --+-+-+-+-+-+-+ + * | : : : : : : : : : : : : : : : : : | |||| | : : : : : : : + * --+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-- |||| --+-+-+-+-+-+-+ + * <-- front 34o o o o o|o o J601 o|||||||| o 2|||| 34o J600o|o|o|o back --> + * | / /\ /\o|o|o|o| |||| | | | | + * || || + * || || + * GPIO18 GND + * + * This is supposed to be ascii art of the daughter board rotated 90 degrees clockwise. + * An LED and resistor should be connected between the two vias indicated by GPIO18 and + * GND. These vias are on either side of the J601 silk label. The circuit should be connected + * as shown below (other interpretations sholud work as well). + * + * + * |\ | + * GPIO18 o---/\/\/\---| >|---------o GND + * |/ | + * + * R1 D1 + * + * + * A little excessive description maybe, but I don't want anyone blowing up their tux :) + * + */ /* Shannon memory layout is a bit precious because we want to be able * to load blob at the correct location for both 8 and 32MB * SODIMMs. We assume that the following amount of memory is at least |
From: Russ D. <Rus...@as...> - 2002-02-26 08:33:30
|
this commit broke blob CVS for me: blob_rest_elf32_LDFLAGS += \ + @BLOB_CHKMEM_OBJS@ \ + @BLOB_CLOCK_OBJS@ \ + @BLOB_CRAMFS_OBJS@ \ + @BLOB_FLASH_OBJS@ \ + @BLOB_JFFS2_OBJS@ \ + @BLOB_PLATFORM_OBJS@ \ + @BLOB_UUCODEC_OBJS@ \ + @BLOB_XMODEM_OBJS@ \ -Wl,-T,rest-ld-script \ -Wl,-Map,blob-rest-elf32.map with my version of autmake (1.4-p4) the following command in the Makefile is generated: blob-rest-elf32: $(blob_rest_elf32_OBJECTS) $(blob_rest_elf32_DEPENDENCIES) @rm -f blob-rest-elf32 $(LINK) $(blob_rest_elf32_LDFLAGS) $(blob_rest_elf32_OBJECTS) \ $(blob_rest_elf32_LDADD) $(LIBS) (line continuation added) this causes amd32.o to be the first thing in blob-rest, which in turn, causes an undefined instruction exception. russ:~/jtag/blob.sf/src/blob$ arm-linux-objdump blob-rest-elf32 -D blob-rest-elf32: file format elf32-littlearm Disassembly of section .text: c0000400 <flash_erase_amd32>: c0000400: e92d41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} c0000404: e59f70d4 ldr r7, [pc, #d4] ; c00004e0 <flash_erase_amd32+0xe0> ... |
From: Abraham vd M. <ab...@us...> - 2002-02-25 12:53:53
|
Update of /cvsroot/blob/blob/include/blob/arch In directory usw-pr-cvs1:/tmp/cvs-serv25984 Modified Files: frodo.h Log Message: Updated memory configuration. nCS3 is now used for 16-bit devices on the board, nCS4 is used for the daughtercard (32-bit), and nCS0 for flash memory (32-bit). Index: frodo.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/frodo.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- frodo.h 19 Feb 2002 11:49:55 -0000 1.4 +++ frodo.h 25 Feb 2002 12:53:45 -0000 1.5 @@ -127,8 +127,9 @@ # define MDCAS00_VALUE 0x5555557f # define MDCAS01_VALUE 0x55555555 # define MDCAS02_VALUE 0x55555555 -# define MSC0_VALUE 0x00004770 -# define MSC1_VALUE 0x4f710000 /* 0x4f750000 == 16-bit */ +# define MSC0_VALUE 0x00004770 /* nCS[1:0] 32-bit, flash */ +# define MSC1_VALUE 0x4f710000 /* nCS[3:2] 32-bit, daughter card */ +# define MSC2_VALUE 0x00004f75 /* nCS[5:4] 16-bit, CPLDs, etc. */ #else /* #if (CPU_SPEED >= CPU_CORE_SPEED_206mhz) */ @@ -141,8 +142,9 @@ # define MDCAS00_VALUE 0xaaaaaaa7 # define MDCAS01_VALUE 0xaaaaaaaa # define MDCAS02_VALUE 0xaaaaaaaa -# define MSC0_VALUE 0x00004668 -# define MSC1_VALUE /* FIXME: calculate this */ +# define MSC0_VALUE 0x00004668 /* nCS[1:0] 32-bit, flash */ +# define MSC1_VALUE 0x4e6d0000 /* nCS[3:2] 32-bit, daughter card */ +# define MSC2_VALUE 0x00004e69 /* nCS[5:4] 16-bit, CPLDs, etc. */ #endif /* #if (CPU_SPEED >= CPU_CORE_SPEED_206mhz) */ @@ -153,13 +155,11 @@ * MDCAS20_VALUE * MDCAS21_VALUE * MDCAS22_VALUE - * MSC2_VALUE */ #define MECR_VALUE 0x994a994a #define MDCAS20_VALUE 0xaaaaaa7f #define MDCAS21_VALUE 0xaaaaaaaa #define MDCAS22_VALUE 0xaaaaaaaa -#define MSC2_VALUE 0x42196669 #endif /* #ifdef BLOB_NEED_MEMCONFIG */ |
From: Stefan E. <ste...@el...> - 2002-02-22 15:02:49
|
On Fri, Feb 22, 2002 at 02:38:05PM +0100, Erik Mouw wrote: > On Fri, Feb 22, 2002 at 02:07:40PM +0100, Erik Mouw wrote: > > On Thu, Feb 21, 2002 at 01:18:38PM -0800, Christopher Hoover wrote: > > > Wouldn't we be better off with a #define in <platform>.h for the default > > > terminal baud rate rather than this ever-growing #if expression? > > > > Even better is to let it default to 9k6 and override it with a > > parameter block setting. > > Now that I'm thinking of it: > > Russ, it might be a good idea to have a default parameter block > compiled into blob, much in the same way as I made a default partition > table (only in src/blob/lart.c right now). The default parameter block > would live in the architecture specific source file, so it doesn't > clutter up the rest of the code. Ah, that would be nice! > > > Erik > > -- > J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty > of Information Technology and Systems, Delft University of Technology, > PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 > Fax: +31-15-2781843 Email: J.A...@it... > WWW: http://www-ict.its.tudelft.nl/~erik/ > > _______________________________________________ > blob-cvs-commit mailing list > blo...@li... > https://lists.sourceforge.net/lists/listinfo/blob-cvs-commit |
From: Erik M. <J.A...@it...> - 2002-02-22 13:38:25
|
On Fri, Feb 22, 2002 at 02:07:40PM +0100, Erik Mouw wrote: > On Thu, Feb 21, 2002 at 01:18:38PM -0800, Christopher Hoover wrote: > > Wouldn't we be better off with a #define in <platform>.h for the default > > terminal baud rate rather than this ever-growing #if expression? > > Even better is to let it default to 9k6 and override it with a > parameter block setting. Now that I'm thinking of it: Russ, it might be a good idea to have a default parameter block compiled into blob, much in the same way as I made a default partition table (only in src/blob/lart.c right now). The default parameter block would live in the architecture specific source file, so it doesn't clutter up the rest of the code. Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A...@it... WWW: http://www-ict.its.tudelft.nl/~erik/ |
From: Erik M. <J.A...@it...> - 2002-02-22 13:07:54
|
On Thu, Feb 21, 2002 at 01:18:38PM -0800, Christopher Hoover wrote: > Wouldn't we be better off with a #define in <platform>.h for the default > terminal baud rate rather than this ever-growing #if expression? Even better is to let it default to 9k6 and override it with a parameter block setting. Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A...@it... WWW: http://www-ict.its.tudelft.nl/~erik/ |