Giter Site home page Giter Site logo

Comments (3)

steev avatar steev commented on June 20, 2024

Correct - this is actually covered in the forums already; and dealt with in the script (temporary workaround while trying to come up with a better fix - it has to do with the way Debian does their partitioning which is different than upstream (and by extension us, despite our reliance on Debian.)

https://forums.kali.org/showthread.php?41853-Raspberry-Pi-3-B-Error-During-dist-upgrade is the forum post to cover it, but the basic gist reproduced here is to

mount /dev/mmcblk0p1 /boot
mkdir -p /boot/firmware
mount -t tmpfs /boot/firmware

And then do the dist-upgrade

And finally

cp /usr/lib/raspi3-firmware/* /boot/

To make the workaround more permanent add

tmpfs /boot/firmware tmpfs rw 0 0

to your /etc/fstab so it is always mounted.

In the future, something like this is better covered under either bugs.kali.org or in the forums, the issues here are more for dealing with the scripts themselves.

from kali-arm-build-scripts.

jsl303 avatar jsl303 commented on June 20, 2024

from kali-arm-build-scripts.

steev avatar steev commented on June 20, 2024

If you ran dist-upgrade, you probably ran into the issue that I left the firmware-brcm80211 package installed, and the upgrade wrote over the files.

The fix there is to

For nexmon firmware:

apt purge firmware-brcm80211
cd /lib/firmware/brcm
cp brcmfmac43430-sdio.nexmon.bin brcmfmac43430-sdio.bin
cp brcmfmac43455-sdio.nexmon.bin brcmfmac43455-sdio.bin

Or if you don't want to use the nexmon firmware:

apt purge firmware-brcm80211
cd /lib/firmware/brcm
cp brcmfmac43455-sdio.rpi.bin brcmfmac43455-sdio.bin
cp brcmfmac43430-sdio.rpi.bin brcmfmac43430-sdio.bin

IIRC, there was already a bug filed, but there was also a forum post for that.

The next release of the images (2018.4) will have it fixed already.

from kali-arm-build-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.