|
Packaging
=========
The driver is released in two packaging formats: source RPM and compressed tar
formats. The file names for the two packages are bcm5700-<version>.src.rpm and
bcm5700-<version>.tar.gz respectively. Identical source files to build the
driver are included in both packages. The tar file contains additional
utilities such as patches and driver diskette images for network installation.
Installing Source RPM Package
=============================
1. Install the source RPM package:
rpm -ivh bcm5700-<version>.src.rpm
If installing the driver on SuSE Linux, refer to the Notes section below
before continuing.
2. CD to the RPM path and build the binary driver for your kernel:
cd /usr/src/{redhat,OpenLinux,turbo,packages,rpm ..}
rpm -bb SPECS/bcm5700.spec
or
rpmbuild -bb SPECS/bcm5700.spec (for RPM version 4.x.x)
Note that the RPM path is different for different Linux distributions.
3. Install the newly built package (driver and man page):
rpm -ivh RPMS/i386/bcm5700-<version>.i386.rpm
Note that the --force option is needed if installing on Red Hat 7.1, 7.2,
and others that already contain an older version of the driver.
The driver will be installed in the following path:
2.2.x kernels:
/lib/modules/<kernel_version>/net/bcm5700.o
2.4.x kernels:
/lib/modules/<kernel_version>/kernel/drivers/net/bcm5700.o
2.4.x kernels with bcm5700 driver patched in (e.g. Red Hat 7.1, 7.2):
/lib/modules/<kernel_version>/kernel/drivers/net/bcm/bcm5700.o
or
/lib/modules/<kernel_version>/kernel/drivers/addon/bcm5700/bcm5700.o
4. Load the driver:
insmod bcm5700
If loading the driver on Red Hat 7.3, 2.1 AS or newer Red Hat kernels, refer
to the Notes section below before loading the driver.
5. To configure network protocol and address, refer to various Linux
documentations.
Building Driver From TAR File
=============================
1. Create a directory and extract the files:
tar xvzf bcm5700-<version>.tar.gz
If installing the driver on SuSE Linux, refer to the Notes section below
before continuing.
2. Build the driver bcm5700.o as a loadable module for the running kernel:
cd src
make
3. Test the driver by loading it:
insmod bcm5700.o
If loading the driver on Red Hat 7.3, 2.1 AS or newer Red Hat kernels, refer
to the Notes section below before loading the driver.
4. Install the driver and man page:
make install
See RPM instructions above for the location of the installed driver.
5. To configure network protocol and address, refer to various Linux
documentations.
这些是我下的驱动的RELEASE文件说明。(网卡为asus a7v8x板载Broadcom 440x)
我有几个问题想问:
1、.tar.gz文件是什么类型的?是否跟win中的zip差不多
2、.rpm文件是什么类型的?
3、.spec文件是什么类型的?
4、.o文件是什么类型的?
5、rpm -bb SPECS/bcm5700.spec 这句中的-bb是否有这个参数?
6、kernels是否指的终端?
7、insmod是什么命令?
8、最后什么文件才可以make install?
9、如果照上面都做好了,那如果添加网卡?
谢谢!我刚装了linux8.0,其他都认了,就网卡不认所以很头疼!
看说明我有很多地方看不懂!所以请大家帮忙,谢谢了 |
|