public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] SCSI support for MIB405 board
@ 2004-12-02 23:50 Wolfgang Denk
  2004-12-03  7:52 ` [U-Boot-Users] " Denis Peter
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2004-12-02 23:50 UTC (permalink / raw)
  To: u-boot

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 at denx.de
In general, they do what you want, unless you want consistency.
                                    - Larry Wall in the perl man page

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot-Users] Re: SCSI support for MIB405 board
  2004-12-02 23:50 [U-Boot-Users] SCSI support for MIB405 board Wolfgang Denk
@ 2004-12-03  7:52 ` Denis Peter
  2004-12-03  9:43   ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Denis Peter @ 2004-12-03  7:52 UTC (permalink / raw)
  To: u-boot

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 at 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot-Users] Re: SCSI support for MIB405 board
  2004-12-03  7:52 ` [U-Boot-Users] " Denis Peter
@ 2004-12-03  9:43   ` Wolfgang Denk
  2004-12-06 15:19     ` [U-Boot-Users] Patch for SCSI support Denis Peter
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2004-12-03  9:43 UTC (permalink / raw)
  To: u-boot

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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
... The prejudices people feel about each other disappear  when  then
get to know each other.
	-- Kirk, "Elaan of Troyius", stardate 4372.5

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot-Users] Patch for SCSI support
  2004-12-03  9:43   ` Wolfgang Denk
@ 2004-12-06 15:19     ` Denis Peter
  2005-08-03 23:15       ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Denis Peter @ 2004-12-06 15:19 UTC (permalink / raw)
  To: u-boot

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scsi-patch.diff.gz
Type: application/x-gzip
Size: 2094 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20041206/3d0825f0/attachment.bin 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot-Users] Patch for SCSI support
  2004-12-06 15:19     ` [U-Boot-Users] Patch for SCSI support Denis Peter
@ 2005-08-03 23:15       ` Wolfgang Denk
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2005-08-03 23:15 UTC (permalink / raw)
  To: u-boot

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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
As usual, this being a 1.3.x release, I haven't  even  compiled  this
kernel yet. So if it works, you should be doubly impressed.
      - Linus Torvalds in <199506181536.SAA10638@keos.cs.Helsinki.FI>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-03 23:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-02 23:50 [U-Boot-Users] SCSI support for MIB405 board Wolfgang Denk
2004-12-03  7:52 ` [U-Boot-Users] " Denis Peter
2004-12-03  9:43   ` Wolfgang Denk
2004-12-06 15:19     ` [U-Boot-Users] Patch for SCSI support Denis Peter
2005-08-03 23:15       ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox