Re: [U-Boot-Users] SystemACE support for u-boot via fat

Wolfgang Denk wd-at-denx.de |u-boot-users| wrote:
In message 27598-21055@sneakemail.com you wrote:
I've made a patch relative the current CVS (at sourceforge) that adds support for a Xilinx SystemACE chip directly attached to the PPC. (Well, conceivably any CPU type.)
I've made the bundle of diffs and new files available for ftp download here:
It doesn't work this way. Please you submit your patches to the list (or to me).
Best regards,
Wolfgang Denk
I hope this survives all the mailers. This is the patch itself. The new files in the next messages.
Changelog here:
* Add support for Xilinx SystemACE chip: New file common/cmd_ace.c New file include/systemace.h Hook systemace support into cmd_fat and the partition manager.
? disk/.depend Index: common/Makefile =================================================================== RCS file: /cvsroot/u-boot/u-boot/common/Makefile,v retrieving revision 1.14 diff -p -u -r1.14 Makefile --- common/Makefile 6 Jan 2004 22:38:21 -0000 1.14 +++ common/Makefile 5 Feb 2004 02:29:51 -0000 @@ -28,7 +28,7 @@ LIB = libcommon.a AOBJS =
COBJS = main.o ACEX1K.o altera.o bedbug.o \ - cmd_autoscript.o \ + cmd_ace.o cmd_autoscript.o \ cmd_bdinfo.o cmd_bedbug.o cmd_bmp.o cmd_boot.o cmd_bootm.o \ cmd_cache.o cmd_console.o \ cmd_date.o cmd_dcr.o cmd_diag.o cmd_doc.o cmd_dtt.o \ Index: common/cmd_fat.c =================================================================== RCS file: /cvsroot/u-boot/u-boot/common/cmd_fat.c,v retrieving revision 1.7 diff -p -u -r1.7 cmd_fat.c --- common/cmd_fat.c 15 Oct 2003 23:53:50 -0000 1.7 +++ common/cmd_fat.c 5 Feb 2004 02:29:51 -0000 @@ -63,6 +63,12 @@ block_dev_desc_t *get_dev (char* ifname, return(mmc_get_dev(dev)); } #endif +#if defined(CONFIG_SYSTEMACE) + if (strcmp(ifname,"ace")==0) { + extern block_dev_desc_t * systemace_get_dev(int dev); + return(systemace_get_dev(dev)); + } +#endif return NULL; }
Index: disk/part.c =================================================================== RCS file: /cvsroot/u-boot/u-boot/disk/part.c,v retrieving revision 1.6 diff -p -u -r1.6 part.c --- disk/part.c 3 Jan 2004 19:43:49 -0000 1.6 +++ disk/part.c 5 Feb 2004 02:29:51 -0000 @@ -36,7 +36,7 @@ #if ((CONFIG_COMMANDS & CFG_CMD_IDE) || \ (CONFIG_COMMANDS & CFG_CMD_SCSI) || \ (CONFIG_COMMANDS & CFG_CMD_USB) || \ - (CONFIG_MMC) ) + (CONFIG_MMC) || (CONFIG_SYSTEMACE) )
/* ------------------------------------------------------------------------- */ /* @@ -107,7 +107,8 @@ void dev_print (block_dev_desc_t *dev_de
#if ((CONFIG_COMMANDS & CFG_CMD_IDE) || \ (CONFIG_COMMANDS & CFG_CMD_SCSI) || \ - (CONFIG_COMMANDS & CFG_CMD_USB) ) + (CONFIG_COMMANDS & CFG_CMD_USB) || \ + defined(CONFIG_SYSTEMACE) )
#if defined(CONFIG_MAC_PARTITION) || \ defined(CONFIG_DOS_PARTITION) || \ Index: disk/part_dos.c =================================================================== RCS file: /cvsroot/u-boot/u-boot/disk/part_dos.c,v retrieving revision 1.6 diff -p -u -r1.6 part_dos.c --- disk/part_dos.c 10 Sep 2003 22:30:55 -0000 1.6 +++ disk/part_dos.c 5 Feb 2004 02:29:52 -0000 @@ -37,7 +37,8 @@
#if ((CONFIG_COMMANDS & CFG_CMD_IDE) || \ (CONFIG_COMMANDS & CFG_CMD_SCSI) || \ - (CONFIG_COMMANDS & CFG_CMD_USB) ) && defined(CONFIG_DOS_PARTITION) + (CONFIG_COMMANDS & CFG_CMD_USB) || \ + (CONFIG_SYSTEMACE)) && defined(CONFIG_DOS_PARTITION)
/* Convert char[4] in little endian format to the host format integer */

In message 27102-76102@sneakemail.com you wrote:
I hope this survives all the mailers. This is the patch itself. The new files in the next messages.
Sorry, but please submit a proper patch. See previous message.
Best regards,
Wolfgang Denk
participants (2)
-
Stephen Williams
-
Wolfgang Denk