SRU linux-firmware-starfive

Bug #1977863 reported by Alexandre Ghiti
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

[Impact]

 The image for the StarFive VisionFive board will be available in 22.04.1: in order to provide Wifi and Bluetooth to users,
 we need some firmwares that are not available in linux-firmware. In the same way linux-firmware-raspi2 provides those same firmwares,
 we decided to introduce a new package so that we do not add those firmwares to linux-firmware and remove them later on when this
 board EOL.

[Test Plan]

I tested those firmwares on the VisionFive board:
- the WiFi firmware is correctly loaded by the driver and Wifi works fine
- the Bluetooth actually still does not work in our image but works in the Fedora image, the firmware in this package is the
  same as the Fedora's one.

[Where problems could occur]

As this package adds files to /lib/firmware/, it might conflict with existing firmware files:
- the Wifi firmwares are named after the StarFive boards, so that won't conflict
- the Bluetooth firmware is generic though, but I checked that it does not conflict with current Jammy linux-firmware package

And as linux-firmware-raspi2 already embeds those firmwares (in particular the Bluetooh one), we can be reassured it won't break
current linux-firmware package.

In addition, this package is only built on riscv64 architecture, so it won't break any other architecture.

[Other Info]

The package contains the firmware for BeagleV board: we do not officially support this board (and we won't'), but we think it is
nice to provide those firmwares as someone might want to use the different packages in the archive to build an image for this
board.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Verified that this new package does not conflict with linux-firmware, on riscv64.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

linux-firmware in jammy & kinetic already ship ./cypress/cyfmac43430-sdio.bin with symlinks as WHENCE:Link: brcm/brcmfmac43430-sdio.bin -> ../cypress/cyfmac43430-sdio.bin

with a more up to date version. the version shipped in linux-firmware-starfive seems to be from linux-firmware 04f71fe564552c22dc7ece0d2b8afc11b33de392 and the one we currently ship is from 3df9ea0b9bb2bc755b49d804c845a833e49f7e11

The .txt file matches brcm/brcmfmac43430-sdio.AP6212.txt if that is not loader, we can add more symlinks in linux-firmware such that it is also available as just brcm/brcmfmac43430-sdio.txt or brcm/brcmfmac43430-sdio.starfive,visionfive-v1.txt and so on.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.