Jump to content

Kernel upgrade (3.4.106-cubieboard -> 3.19.6-cubietruck) on a Cubietruck


markus

Recommended Posts

Hi,

 

 

I've got a quick question regarding the kernel upgrade instructions on a Cubietruck that runs on Igor's Debian image.

 

 

Let me mention first that the system boots from my Cubietruck's NAND. However, the root partition and the /home partition are both installed on some SSD.

 

 

I've followed the instructions about the kernel upgrade (3.4.106-cubieboard to 3.19.6-cubietruck) in order to be able to use the proper shutdown feature - as detailed on http://www.igorpecovnik.com/2013/12/24/cubietruck-debian-wheezy-sd-card-image/.

 

I.e. I installed the various *.deb packages which were contained in the *.tar archive via `dpkg -i`. Then I ran the steps as described on "Optional steps if you have your system on NAND" and rebooted. 

 

Apparently, the kernel in use is still my trusty 3.4.106-cubieboard. The new one (3.19.6) hasn't been loaded.

 

Am I missing a step here? Would I need to edit the boot loader (grub?) or would I have to uninstall the old kernel in order to be able to use the new one?

 

 

 

Any hint would be greatly appreciated.



~/KERNELS/3.19.6$ ls
3.19.6-cubietruck-next.tar
linux-dtb-3.19.6-cubietruck_3.6_armhf.deb
linux-headers-3.19.6-cubietruck_3.6_armhf.deb
linux-image-3.19.6-cubietruck_3.6_armhf.deb
linux-libc-dev_3.6_armhf.deb
linux-u-boot-3.19.6-cubietruck_3.6_armhf.deb
~/KERNELS/3.19.6$ uname -a
Linux stronghold 3.4.106-cubieboard #2 SMP PREEMPT Tue Feb 17 06:16:56 CET 2015 armv7l GNU/Linux
~/KERNELS/3.19.6$ uname -r
3.4.106-cubieboard
~/KERNELS/3.19.6$ uname -o
GNU/Linux
~/KERNELS/3.19.6$ 




cd /boot/
/boot$ ls
boot.cmd System.map-3.19.6-cubietruck
boot.scr uImage
config-3.19.6-cubietruck vmlinuz-3.19.6-cubietruck
dtb zImage
initrd.img-3.19.6-cubietruck


/boot$ sudo dpkg-query -l 'linux*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  linux-dtb-3.19 3.6          armhf        Linux DTB, version 3.19.6-cubietr
un  linux-firmware <none>       <none>       (no description available)
ii  linux-firmware 3.3          armhf        Linux kernel firmware, version 3.
un  linux-headers  <none>       <none>       (no description available)
un  linux-headers- <none>       <none>       (no description available)
ii  linux-headers- 3.6          armhf        Linux kernel headers for 3.19.6-c
ii  linux-headers- 3.3          armhf        Linux kernel headers for 3.4.106-
un  linux-image    <none>       <none>       (no description available)
un  linux-image-2. <none>       <none>       (no description available)
ii  linux-image-3. 3.6          armhf        Linux kernel, version 3.19.6-cubi
ii  linux-image-3. 3.3          armhf        Linux kernel, version 3.4.106-cub
un  linux-initramf <none>       <none>       (no description available)
un  linux-kernel-h <none>       <none>       (no description available)
un  linux-kernel-l <none>       <none>       (no description available)
ii  linux-libc-dev 3.16.7-ckt11 armhf        Linux support headers for userspa
un  linux-modules- <none>       <none>       (no description available)
un  linux-modules- <none>       <none>       (no description available)
ii  linux-u-boot-3 3.6          all          Uboot loader
 
Link to comment
Share on other sites

The most important problem here is that NAND is not supported in kernel different from 3.4.x ... If this is ok, than download latest system (4.1.6).

 

You will need to boot from SD card, than change boot script parameter from root=/dev/mmcblk0p1 to /dev/sda, copy kernel files  /lib/modules/xxxxxxxxxx from SD card to SDA. Boot from hard drive.

 

Add /dev/mmcblk0p1 to your /etc/fstab and mount under /boot

 

Done.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines