Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How to upgrade the kernel on the Raspberry pi

  1. #1
    Junior Member
    Join Date
    Feb 2017
    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 08:48 PM. Reason: Misleading title

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

  3. #3
    Junior Member
    Join Date
    Feb 2017
    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
    Member
    Join Date
    Feb 2017
    Posts
    39
    hello, have you try dist-upgrade instead of upgrade ?

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

  6. #6
    Junior Member
    Join Date
    Dec 2016
    Posts
    20
    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 02:06 PM.

  7. #7
    Junior Member
    Join Date
    Aug 2015
    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
    Senior Member
    Join Date
    Nov 2015
    Location
    Australia
    Posts
    106
    Why don't you use my kernel?

    https://whitedome.com.au/re4son/re4son-kernel/
    ----------------------------------------
    Check out "Sticky Fingers Kali-Pi":
    https://whitedome.com.au/kali-pi

    Now with mana-toolkit and more goodies!

  9. #9
    Junior Member
    Join Date
    Aug 2015
    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 AM. Reason: Merge posts

  10. #10
    Senior Member
    Join Date
    Nov 2015
    Location
    Australia
    Posts
    106
    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.
    ----------------------------------------
    Check out "Sticky Fingers Kali-Pi":
    https://whitedome.com.au/kali-pi

    Now with mana-toolkit and more goodies!

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
  •