Results 1 to 11 of 11

Thread: How to upgrade the kernel on the Raspberry pi

  1. #1
    Join Date
    2017-Feb
    Posts
    3

    Question How do I upgrade the kernel on the Raspberry pi?

    Hello,
    I've noticed that "apt update" and "apt upgrade" never update the kernel on the raspberry pi. I guess this is by design, am I correct? I've tried installing the linux-image-armmp and I get a nice new kernel, but the raspberry always boots with the old kernel (by the way, I have to manually mount /boot before installing this package, otherwise apt happily copies the new kernel into /boot the mountpoint, instead of /boot the FAT partition). I've tried renaming the new kernel file into kernel7.img (I have a rpi 3), but all I get is an unbootable pi.
    Are there some docs on how to upgrade the kernel on kali for the raspberry pi? I've done quite a bit of googling but couldn't find anything.

    Thanks,
    Silla
    Last edited by Silla; 2017-02-12 at 20:48. Reason: Misleading title

  2. #2
    Join Date
    2013-Apr
    Posts
    15
    Hi there! You must use the "rpi-update" to update kernel and modules mister If not installed, "apt-cache search rpi-update"

  3. #3
    Join Date
    2017-Feb
    Posts
    3
    Hello,
    thanks for your answer, but rpi-update is nowhere to be found. I think that is a raspbian command.

    Regards,
    Silla

  4. #4
    hello, have you try dist-upgrade instead of upgrade ?

  5. #5
    Join Date
    2017-Feb
    Posts
    3
    Yes, still no joy.

  6. #6
    Join Date
    2016-Dec
    Posts
    21
    Try this:
    sudo curl -L --output /usr/bin/rpi-update https://raw.githubusercontent.com/He...ter/rpi-update && sudo chmod +x /usr/bin/rpi-update
    Then:
    sudo rpi-update
    In my case it works:
    screenshot.1487167444.jpg
    Last edited by martinii; 2017-02-15 at 14:06.

  7. #7
    Join Date
    2015-Aug
    Posts
    20
    Quote Originally Posted by martinii View Post
    Try this:


    Then:


    In my case it works:
    screenshot.1487167444.jpg
    Did this, everything downloaded, told me to reboot.. still at 4.1 is there something im missing? /boot shows the update is there but still no actual update

  8. #8
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Why don't you use my kernel?

    https://whitedome.com.au/re4son/re4son-kernel/

  9. #9
    Join Date
    2015-Aug
    Posts
    20
    i think i figured it out..

    before running rpi-update and I had to mount boot

    mount /dev/mmcblk0p1 /boot

    running now, will report back if it works

    Quote Originally Posted by re4son View Post
    i'm looking for wifi divers for my Archer T2UH dual band USB dongle.. does your kernel support it?
    Last edited by maiki; 2017-03-24 at 10:07. Reason: Merge posts

  10. #10
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Quote Originally Posted by drarkanex View Post
    i'm looking for wifi divers for my Archer T2UH dual band USB dongle.. does your kernel support it?
    It does but you still need the drivers.
    I've just compiled them on my pi without any problems but I cannot test it without the adapter.

    Why don't you give this a try:

    Install my kernel from here: https://whitedome.com.au/re4son/re4son-kernel/
    download, compile and install the drivers:

    Code:
    cd /usr/local/src
    git clone https://github.com/Myria-de/mt7610u_wifi_sta_v3002_dpo_20130916.git
    cd mt7610u_wifi_sta_v3002_dpo_20130916
    make
    sudo make install
    This all works on my test bed.
    I've read to continue with the following, but haven't tested it:

    Code:
    sudo make install
    sudo mkdir /etc/RT2870STA  ##This should probably read: "sudo mkdir /etc/Wireless/RT2870STA/"
    sudo cp RT2870STA.dat  /etc/Wireless/RT2870STA/RT2870STA.dat
    You probale want to copy the directory "mt7610u_wifi_sta_v3002_dpo_20130916" away so you can easily reinstall the drivers if you have to.

    Please let us know how you go.

  11. #11
    Join Date
    2015-Aug
    Posts
    20
    Same driver I've been using. The driver is from 2013 and when I compile it as a module and load it, no monitor mode and when I unplug the adapter, it locks up the kernel tight and I have to reboot.

Similar Threads

  1. Replies: 1
    Last Post: 2022-08-01, 01:31
  2. Raspberry Pi how to install Kernel 5.10
    By BlackDuck in forum ARM Archive
    Replies: 0
    Last Post: 2021-09-27, 17:51
  3. Raspberry Pi 2: How to upgrade kernel?
    By Mary D. Villanueva in forum ARM Archive
    Replies: 4
    Last Post: 2017-03-29, 21:27
  4. Replies: 0
    Last Post: 2015-04-16, 14:30
  5. kernel headers for Kali 1.0.6 on Raspberry Pi
    By n0-0ne in forum ARM Archive
    Replies: 4
    Last Post: 2014-08-28, 15:09

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •