robear
Posts: 1
Joined: Wed Dec 04, 2019 5:59 am

Kernel 4.19 - USB Gadget? Do I need to upgrade? How do Kernel versions work?

Wed Dec 04, 2019 6:05 am

Hi!

I am trying to make a usb gadget project following: http://www.isticktoit.net/?p=1383

I am starting with: 2019-09-26-raspbian-buster-lite
On initial install I get kernel: linux simknob 4.19.75+ #1270 Tue Sep 24 18:38:54 BST 2019 armv6l GNU/Linux
They say:
We need to use the 4.4 Kernel, which is currently (Feb. 2016) not installed on the default Raspbian image. But upgrading is easy: just run

Code: Select all

sudo BRANCH=next rpi-update
I am a bit confused about kernel versions. Searching around I see people talking about running 4.4.11, 4.59, etc., but I cannot find a 'hash' to install those versions with rpi-update. I also cannot find any concise information around using these kernel versions.

If I do a simple rpi-update, I get kernel 4.19.86+, which is apparently the current development kernel? Was there ever official 4.4 support? Does the isticktoit blog actually mean '4.19.4' ? or maybe 4.14 ?

Thanks in advance for any explanations!

hippy
Posts: 6208
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: Kernel 4.19 - USB Gadget? Do I need to upgrade? How do Kernel versions work?

Wed Dec 04, 2019 6:06 pm

4.19 is later than 4.4 so you shouldn't have to worry about the kernel you have. You would only need to upgrade if you had an earlier version, as may have been the case in 2016, but not now.

And best not to run rpi-update. Ever. Not unless directly instructed by an RPT engineer on this forum.

User avatar
DougieLawson
Posts: 36511
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Kernel 4.19 - USB Gadget? Do I need to upgrade? How do Kernel versions work?

Wed Dec 04, 2019 7:34 pm

Stop now!

BRANCH=next rpi-update will leave your system unbootable (with a kernel that's almost a year out of date - that won't boot on an RPI4). What possible reason do you have for wanting to run rpi-update? What's missing from 4.19.75 (current stable kernel)? What's not in the development and experimental 4.19.86 kernel?
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Return to “Raspbian”