[U-Boot-Users] SCSI support for MIB405 board

Dear Denis,
can you tell me something about the SCSI support in the current versions of U-Boot? It seems the MIB405 board (maintained by you) has SCSI support enabled, but the whole code in common/cmd_scsi.c seemd to be unused - for example, there is no caller of do_scsi() or do_scsiboot() anywhere in the whole source tree?
Best regards,
Wolfgang Denk

Dear Wolfgang,
the MIP405 has no SCSI chip on board, and the SCSI Support isn't enabled for this board. SCSI support has been added to the PIP405 board, which is more or less a dead project. The state of this project is the reason, why the U-Boot has not been tested on the PIP405 some time ago. The code for the SCSI has been added before the introduction of the macros "U_BOOT_CMD", and it seems that these macros are missing for do_scsi() and do_scsiboot(). I can add these macros, test it on the PIP405 and send you a patch, but it may took some time.
With best regards,
Denis
At 00:50 03.12.2004, you wrote:
Dear Denis,
can you tell me something about the SCSI support in the current versions of U-Boot? It seems the MIB405 board (maintained by you) has SCSI support enabled, but the whole code in common/cmd_scsi.c seemd to be unused - for example, there is no caller of do_scsi() or do_scsiboot() anywhere in the whole source tree?
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de In general, they do what you want, unless you want consistency. - Larry Wall in the perl man page
---------------------------------------------- MPL AG CH-5405 Daettwil Switzerland http://www.mpl.ch Tel. ++41 (0)56 483 34 34 Fax ++41 (0)56 493 30 20

In message 6.0.0.22.0.20041203083838.01ce1310@notes.mpl.ch you wrote:
the MIP405 has no SCSI chip on board, and the SCSI Support isn't enabled
But there is a lot of SCSI-specific stuff in the config file:
MIP405.h: * SCSI support (experimental) only SYM53C8xx supported MIP405.h:#undef CONFIG_SCSI_SYM53C8XX MIP405.h:#ifdef CONFIG_SCSI_SYM53C8XX MIP405.h:#define CFG_SCSI_MAX_LUN 8 /* number of supported LUNs */ MIP405.h:#define CFG_SCSI_MAX_SCSI_ID 7 /* maximum SCSI ID (0..6) */ MIP405.h:#define CFG_SCSI_MAX_DEVICE CFG_SCSI_MAX_SCSI_ID * CFG_SCSI_MAX_LUN /* maximum Target devices */ MIP405.h:#define CFG_SCSI_SPIN_UP_TIME 2 MIP405.h:#endif /* CONFIG_SCSI_SYM53C8XX */
for this board. SCSI support has been added to the PIP405 board, which is more or less a dead project. The state of this project is the reason, why the U-Boot has not been tested on the PIP405 some time ago. The code for the SCSI has been added before the introduction of the macros "U_BOOT_CMD", and it seems that these macros are missing for do_scsi() and do_scsiboot(). I can add these macros, test it on the PIP405 and send you a patch, but it may took some time.
That would be excellent. Thanks in advance.
Best regards,
Wolfgang Denk

Dear Wolfgang,
attached is the requested Patch which (re)enables the scsi commands for the PIP405 board. The SCSI specific stuff in the MIP405.h file has been removed. Here the Changelog entry (if needed):
CHANGELOG: * Patch by Denis Peter, 6 Dec 2004 (re)enabled scsi commands do_scsi() and do_scsiboot()
With best regards,
Denis

In message 200412061619.19874.d.peter@mpl.ch you wrote:
- Patch by Denis Peter, 6 Dec 2004 (re)enabled scsi commands do_scsi() and do_scsiboot()
Added, thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Denis Peter
-
Wolfgang Denk