william@beaglebone:~$ *apt-cache search linux-image |grep 4.1* Too much output here to view. Narrow search parameters assuming I want a *bone* kernel, and not ti kernel.
william@beaglebone:~$ *apt-cache search linux-image |grep 4.1*bone** linux-image-4.0.4-bone4 - Linux kernel, version 4.0.4-bone4 linux-image-4.1.14-bone-rt-r17 - Linux kernel, version 4.1.14-bone-rt-r17 linux-image-4.1.14-bone17 - Linux kernel, version 4.1.14-bone17 linux-image-4.1.4-bone15 - Linux kernel, version 4.1.4-bone15 linux-image-4.2.4-bone2 - Linux kernel, version 4.2.4-bone2 linux-image-4.3.4-bone4 - Linux kernel, version 4.3.4-bone4 linux-image-4.5.0-rc4-bone2 - Linux kernel, version 4.5.0-rc4-bone2 Much more manageable, now I just need to pick one. In this case, let's assume I want the latest rt image. william@beaglebone:~$ *sudo apt-get install linux-image-4.1.14-bone-rt-r17* Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: linux-firmware-image-4.1.14-bone-rt-r17 The following NEW packages will be installed: linux-image-4.1.14-bone-rt-r17 0 upgraded, 1 newly installed, 0 to remove and 45 not upgraded. Need to get 26.0 MB of archives. After this operation, 64.8 MB of additional disk space will be used. Get:1 http://repos.rcn-ee.com/debian/ wheezy/main linux-image-4.1.14-bone-rt-r17 armhf 1wheezy [26.0 MB] Fetched 26.0 MB in 1min 13s (353 kB/s) perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Selecting previously unselected package linux-image-4.1.14-bone-rt-r17. (Reading database ... 26266 files and directories currently installed.) Unpacking linux-image-4.1.14-bone-rt-r17 (from .../linux-image-4.1.14-bone-rt-r17_1wheezy_armhf.deb) ... Setting up linux-image-4.1.14-bone-rt-r17 (1wheezy) ... update-initramfs: Generating /boot/initrd.img-4.1.14-bone-rt-r17 zz-uenv_txt: Updating /boot/uEnv.txt [uname_r=4.1.14-bone-rt-r17] After which we need to reboot. But first. Let's confirm we're not already using that kernel. william@beaglebone:~$ *uname -r* 4.1.12-bone-rt-r16 william@beaglebone:~$ *sudo reboot* Broadcast message from root@beaglebone (pts/0) (Thu Apr 7 15:37:25 2016): The system is going down for reboot NOW! Log in after reboot . . . william@beaglebone:~$ *uname -r* 4.1.14-bone-rt-r17 Also keep in mind that the old kernel is still in place, and in fact can be set to be the boot kernel again by making a single modification to one file. So, if in fact you're done with the old kernel, it may behoove you to remove it least it clogs of your storage, and you soon run out of room. On Thu, Apr 7, 2016 at 5:10 AM, Virendra <[email protected]> wrote: > Hi, > > I have built a custom image (kernel_version=4.1.20) in SD card from Robert > Nelson. > > The current kernel version seems to be 4.5. How to upgrade from 4.1 to 4.5 > without reflashing the SD card image. > The custom kernel upgrade should be downloaded from the local network and > not using apt-get. > Any pointers how to do the upgrade from the existing image without > reflashing the sdcard will be helpful. > > Thanks, > Veera > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
