SMC2802 installation on MPC5200 - Firmware/hotplug

"Simoneau, Mario" <[email protected]>
Newsgroups gmane.linux.drivers.prism54.user
Message-ID <[email protected]>
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 
 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=17679 )

Thanks for any hints...

Mario Simoneau
SIAMtec
95-7075, Place Robert-Joncas
Montréal (Québec)
H4M 2Z2

* 		(514) 333-8101 ext: 225
*		(514) 333-7382
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.