[Prism54-users] SMC2802 installation on MPC5200 - Firmware/hotplug

Simoneau, Mario MSimoneau@siamtec.ca
Wed, 21 Apr 2004 12:05:37 -0400


HI,

I'm a little bit lost about "Firmware/hotplug" needed with the prism54
driver.

INITIAL SETUP:
- Target: Lite5200 evaluation board from Motorola (ppc)
- Kernel from "DENX" 2.4.23-pre5 (for MPC5200)
- BusyBox v0.60.5
- Everything is cross-compiled (host X86)

ACTIONS:
- I downloaded and cross-compiled "patch-2.4.25-prism54-1.0.2.2"
  (I had to copy "moduleparam.h" from 2.4.25 kernel to make it compile)

- I downloaded file "1.0.4.3.arm" for =
"http://prism54.org/~mcgrof/firmware/"
(but did not do anything with it yet).

PROBLEM:
When my target boots, I have:
prism54: request_firmware() failed for 'isl3890'
eth0: could not upload firmware ('isl3890')

QUESTIONS:
My guess would be to copy (and rename) file "1.0.4.3.arm" to
"/usr/lib/hotplug/firmware/isl3890"...(will try it while you read this)

But, my concern is about the "Firmware/hotplug" section of the README =
file
(included hereafter):
------------------------------------------------------------------------=
----
-------------
Firmware/hotplug
----------------
 This driver needs to upload the firmware to the NIC's ram on =
initialization
 it does so by requesting the firmware from the hotplug subsystem by =
asking
 for "isl3890" or "isl3877" depending on the hardware detected. We =
don't=20
 actually know of any card using isl3877 so if you do let us know ;)

 Make sure the hotplug system has been setup properly, otherwise you
 might get errors in the kernel log stating that request_firmware() has
failed

  *) does "cat /proc/sys/kernel/hotplug" show something like
"/sbin/hotplug"?

  *) is /sbin/hotplug present?

  *) is the "firmware" agent is present (call /sbin/hotplug without
     any argument to show a list of available agents)

  *) have you copied the firmware file into the folder expected by
     firmware.agent? (usually "/usr/lib/hotplug/firmware/")

  *) for 2.6.x you need to mount sysfs!

Other issues not directly related to firmware uploading:

  *) [cardbus] have 'yenta_socket' module loaded in order to make =
cardbus
     card visible to the kernel pci subsystem? (check with lspci(1) =
whether
     device is visible to the kernel)
------------------------------------------------------------------------=
----
-------------
- "cat /proc/sys/kernel/hotplug" shows "/sbin/hotplug"

- But,  "/sbin/hotplug" is not present..... Where do I find it???
(The following link may be a good guess, but I'm a little bit lost on =
what I
have to use exactly and how to do it...
http://sourceforge.net/project/showfiles.php?group_id=3D17679 )

Thanks for any hints...

Mario Simoneau
SIAMtec
95-7075, Place Robert-Joncas
Montr=E9al (Qu=E9bec)
H4M 2Z2

* 		(514) 333-8101 ext: 225
*		(514) 333-7382