[vc_row][vc_column][vc_column_text]There are cases that you can download kernel with certain features from pcDuino website or LinkSprite learning center. Normally, the kernel file is named as pcduino_a10_hwpack_xxxxxxxx.tar.rar or different extension.
In this post, we are going to look at how to replace the kernel of pcDuino.
First, we need to download the kernel file, and decompress it:
[/vc_column_text][vc_tour][vc_tab title=”Boot from NAND” tab_id=”1388200471-1-88″][vc_column_text]When pcDuino boots from NAND, we use the following commands to replace kernel:
$ tar xvf pcduino_a10_hwpack_YYYYMMDD.tar.xz -C /tmp
$ sudo mount /dev/nanda /boot
$ sudo cp /tmp/kernel/* /boot -f
$ sudo mv /lib/modules/3.4.29+ /lib/modules/3.4.29_old
$ sudo cp /tmp/rootfs/lib/modules/3.4.29+ /lib/modules/ -ar
$ sudo sync
$ sudo umount /boot/
$ sudo reboot
[/vc_column_text][/vc_tab][vc_tab title=”Boot from SD” tab_id=”1388200471-2-36″][vc_column_text]We will use the following commands to replace kernel if pcDuino boots from SD:
$ tar xvf pcduino_a10_hwpack_YYYYMMDD.tar.xz -C /tmp
$ sudo mount /dev/mmcblk0p1 /boot
$ sudo cp /tmp/kernel/* /boot -f
$ sudo mv /lib/modules/3.4.29+ /lib/modules/3.4.29_old
$ sudo cp /tmp/rootfs/lib/modules/3.4.29+ /lib/modules/ -ar
$ sudo sync
$ sudo umount /boot/
$ sudo reboot
[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]
Leave a Reply
You must be logged in to post a comment.