16 Ağustos 2021 Pazartesi

Firmware

Giriş
Firmware paketleri kernel ile dağıtılmaz. Açıklaması şöyle
Many hardware device manufacturers do not embed firmware into their devices, they require firmware to be loaded into the device by the operating system's driver.

Some other manufacturers embed an old version of the firmware but allow an updated version to be loaded by the driver - quite often the embedded version is ancient and/or buggy (and rarely, if ever, updated in the device itself because that might require changes to the manufacturing or testing process - this is generally a deliberate design decision. The rationale is that the embedded firmware version doesn't have to be good, it just has to resemble something that's minimally functional - updates can and should be loaded by the driver)

The firmware files almost always have a license which is incompatible with the GPL (or even no explicit or discernible license, just an implied "right to use" by being distributed with the device itself and the Windows driver it comes with) and thus can not be distributed with the kernel itself, and has to be distributed as a separate package.
Firmware için şu link takip ederiz
Firmware for the Linux kernel is distributed separately and has its own development tree.

Firmware kurmak için önce yine apt install ile driver kurulur
Örnek
Şöyle yaparızz
sudo apt install firmware-ralink
dmesg çıktısında şunu alırız. İlk iki satırda firmware'in yüklendiği görülebilir.
... ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
... ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
... wlan0: authenticate with 30:23:03:41:73:67
... wlan0: send auth to 30:23:03:41:73:67 (try 1/3)
... wlan0: authenticated
... wlan0: associate with 30:23:03:41:73:67 (try 1/3)
... wlan0: RX AssocResp from 30:23:03:41:73:67 (capab=0x411 status=0 aid=5)
... wlan0: associated
... IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

Hiç yorum yok:

Yorum Gönder