Re: Adding network driver to kickstart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Okay, I found my doc:

Adding broadcom driver to bootable CD RH 9 (shrike)

zcat -9 initrd.img >> initrd.img.un
mount -o loop initrd.img.un loop/

edit modules-info file (ascii text): added:
bcm5700
        eth
        "BCM5700 NetXtreme Gigabit Ethernet Driver"

Modify modules.cgz
zcat modules.cgz  > modules.cpio
cpio -i --make-directories < modules.cpio
this creates the directory: 2.4.20-8BOOT
copy desired modules into this 2.4.20-8BOOT folder.
Ie: bcm5700.o

Now you need to repackage and recompress your modules
 find 2.4.9-e.3BOOT > filelist
 cpio -o -H crc < filelist > modules.cpio
 gzip --best modules.cpio
 mv modules.cpio.gz modules.cgz
Append the following lines into: pcitable
0x14e4 0x1644 "bcm5700" "Broadcom NetXtreme BCM5700 Gigabit Ethernet" 0x14e4 0x1645 "bcm5700" "Broadcom NetXtreme BCM5701 Gigabit Ethernet" 0x14e4 0x1646 "bcm5700" "Broadcom NetXtreme BCM5702 Gigabit Ethernet" 0x14e4 0x16a6 "bcm5700" "Broadcom NetXtreme BCM5702 Gigabit Ethernet" 0x14e4 0x16c6 "bcm5700" "Broadcom NetXtreme BCM5702 Gigabit Ethernet" 0x14e4 0x1647 "bcm5700" "Broadcom NetXtreme BCM5703 Gigabit Ethernet" 0x14e4 0x16a7 "bcm5700" "Broadcom NetXtreme BCM5703 Gigabit Ethernet" 0x14e4 0x16c7 "bcm5700" "Broadcom NetXtreme BCM5703 Gigabit Ethernet" 0x14e4 0x1648 "bcm5700" "Broadcom NetXtreme BCM5704 Gigabit Ethernet" 0x14e4 0x16a8 "bcm5700" "Broadcom NetXtreme BCM5704S Gigabit Ethernet" 0x14e4 0x1653 "bcm5700" "Broadcom NetXtreme BCM5705 Gigabit Ethernet" 0x14e4 0x1654 "bcm5700" "Broadcom NetXtreme BCM5705 Gigabit Ethernet" 0x14e4 0x165d "bcm5700" "Broadcom NetXtreme BCM5705M Gigabit Ethernet" 0x14e4 0x165e "bcm5700" "Broadcom NetXtreme BCM5705M Gigabit Ethernet" 0x14e4 0x1696 "bcm5700" "Broadcom NetXtreme BCM5782 Gigabit Ethernet" 0x14e4 0x169c "bcm5700" "Broadcom NetXtreme BCM5788 Gigabit Ethernet"
0x14e4  0x170d  "bcm5700"       "Broadcom NetXtreme BCM5901 Fast Ethernet"
0x14e4  0x170e  "bcm5700"       "Broadcom NetXtreme BCM5901 Fast Ethernet"


umount initrd loop
gzip --best initrd.img.un
cp initrd.img.un.gz initrd.img


Adding the broadcom driver to the custom CD
Install source rpm package:
 rpm -ivh bcm5700-6.2.17-1.src.rpm

cd to /usr/src/redhat/SPECS

build rpm:
rpmbuild -bb bcm5700.spec
this will only build the bcm driver for the currently running kernel:
for example, if you are running 2.4.20-20
then it will build: /lib/modules/2.4.20-20-9/kernel/drivers/net/bcm5700.o

install the rpm




[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux