nomida
Posts: 2
Joined: Fri Sep 16, 2016 8:52 pm

Change Kernel

Fri Sep 16, 2016 10:54 pm

Hi All,

I need to use some bluetooth LE libraries and I figured out that such libraries are not working with Linux 4.4.x

So, my idea was to use this:

https://downloads.raspberrypi.org/raspb ... 015-05-07/

But it didn't work with me raspberry Pi 3. So is there an easy way to downgrade the kernel from Jessie ? or I need to compile a vanilla kernel ?

Thanks

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 9069
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Change Kernel

Sat Sep 17, 2016 8:20 am

Is it really the kernel or changing to Jessie that has made things not work?

The reason Wheezy doesn't work on a Pi3 is that the firmware from May 2015 knows nothing about that hardware.

You can try (no guarantees here) taking your image and replacing the .dat, .elf, and .dtb files on the boot partition of your card with the versions in https://github.com/raspberrypi/firmware ... aster/boot. Don't update the kernel.img files. (I think "sudo SKIP_KERNEL=1 rpi-update" may do the same in a more automated way.)
There shouldn't be any significant ABI changes between kernel and GPU if you're running such a hybrid scheme, but you are a bit on your own.

If it is the Jessie distribution that is the problem (and not the kernel), you can take a Wheezy image and then use "sudo rpi-update" on a Pi compatible with Wheezy (ie Pi1 or 2) to update the kernel and firmware to the latest.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

mfa298
Posts: 1387
Joined: Tue Apr 22, 2014 11:18 am

Re: Change Kernel

Sat Sep 17, 2016 6:36 pm

If Jessie is the issue there are nightly images for wheezy that should work on the Pi3. http://nightly.raspberrypi.org/nightlyimages-v2/

A better solution would be determining the issues with the newer libraries / kernel and see if they can be fixed. I believe wheezy now only gets security fixes and at some point it won't get any updates.

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 9069
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Change Kernel

Sat Sep 17, 2016 6:40 pm

Thanks mfa928, I'd forgotten about the nightlies. That should be significantly easier.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Return to “Advanced users”