Announcing the availability of an updated 3.10.17 kernel for RIoTboard.It has been available for quite some time in github repository.

https://github.com/embest-tech/linux-imx/tree/embest_imx_3.10.17_1.0.0_ga

 

The release has been in sync with official i.MX releases.

 

All the commits can be found in the repository providing support for LCD and other accessories.

 

We made our major release on this heavily tested and optimised kernel which carries number of advancements over the older releases.

With new kernel we get the most sought feature, the Device Tree, which contributes to smaller amount of BSP code to merge and greater ability to customise physical devices on new boards.

 

To setup we need to download a SDCARD image with an updated kernel first.

The updated kernel source can be found here.

 

We will be downloading the fsl-image-fb-riotboard.sdcard image.

https://www.dropbox.com/sh/8ebbtcork0l2cua/AACH4U7ovJYIJvge1VLdWueJa/image.rar

 

The SVN2652 has

 

Image NameDescription

fsl-image-fb-riotboard.sdcard

SDCARD image for RIoTboard

fsl-image-fb-riotboard.tar.bz2

Root File System bundle.

imx6solo_RIoTboard.dtb

Device Tree Binary

u-boot.imx

Bootloader

uImage3.10.17 kernel

 

 

First we need to detect the memory device.

I am using in built-in SDCARD adapter in my laptop and it shows SD card as mmcblk device.

 

# ll /dev/mmc*

brw-rw---- 1 root disk 179, 0 Jul 29 17:19 /dev/mmcblk0

 

Using a USB-SD adapter shows a sdb device .

 

 

 

# ll /dev/sd*

brw-rw---- 1 root disk 8, 0 Jul 29 11:26 /dev/sda

brw-rw---- 1 root disk 8, 3 Jul 29 11:26 /dev/sda3

brw-rw---- 1 root disk 8, 5 Jul 29 11:26 /dev/sda5

brw-rw---- 1 root disk 8, 6 Jul 29 11:26 /dev/sda6

brw-rw---- 1 root disk 8, 7 Jul 29 11:26 /dev/sda7

brw-rw---- 1 root disk 8, 8 Jul 29 11:26 /dev/sda8

brw-rw---- 1 root disk 8, 16 Jul 29 16:45 /dev/sdb

 

 

CAUTION: Most Linux machines shows harddisk as sda. Our device will be mostly something like sdb,sdc ....

                       We will be carefully selecting our device so that we don't wipe out our SDA harddisk partition

 

to confirm our device name, plug in and plug out the card reader and execute the command ( ll /dev/sd* )  to determine the device number.

 

If the device is mounted by default , manually unmount the device  before proceeding.

 

# umount /dev/sdb

 

Once we have completed the device detection , we will use below command to setup a kernel 3.10.17 based bootable sdcard.

 

# sudo dd if=fsl-image-fb-riotboard.sdcard of=/dev/sdX bs=1M

      (where sdX is the detected sdcard device)

 

Once the command completes, power down the card, remove it, plug it into J6 of RIoTboard and power on the board.

 

Make sure the boot switch are in SDCARD mode before powering on.

2a4xxlx.jpg

 

1111gz9.jpg

 

Once Powered on it will boot with Kernel 3.10.17.

You will see a boot log as below:

U-Boot 2013.04 (Jul 04 2014 - 09:45:23)

 

CPU:   Freescale i.MX6SOLO rev1.1 at 792 MHz

CPU:   Temperature 42 C, calibration data: 0x5a151a5f

Reset cause: POR

Board: MX6SOLO RIoTboard

I2C:   ready

DRAM:  1 GiB

MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2

*** Warning - bad CRC, using default environment

 

No panel detected: default to HDMI

Display: HDMI (640x480)

In:    serial

Out:   serial

Err:   serial

mmc0 is current device

Net:   FEC [PRIME]

Warning: failed to set MAC address

 

Normal Boot

Hit any key to stop autoboot:  0

mmc0 is current device

reading boot.scr

** Unable to read file boot.scr **

reading uImage

5275824 bytes read in 250 ms (20.1 MiB/s)

Booting from mmc ...

reading imx6solo_RIoTboard.dtb

43553 bytes read in 21 ms (2 MiB/s)

## Booting kernel from Legacy Image at 12000000 ...

   Image Name:   Linux-3.10.17_1.0.0_RIoTboard+g1

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    5275760 Bytes = 5 MiB

   Load Address: 10008000

   Entry Point:  10008000

   Verifying Checksum ... OK

## Flattened Device Tree blob at 18000000

   Booting using the fdt blob at 0x18000000

   Loading Kernel Image ... OK

OK

   Using Device Tree in place at 18000000, end 1800da20

 

Starting kernel ...

 

 

It will stop at login promt

riotboard login:

Enter root as the username , no password is required.

 

riotboard login: root

root@riotboard:~#

 

Verifying the kernel version details:

root@riotboard:~# uname -a

 

Linux riotboard 3.10.17_1.0.0_RIoTboard+g14571fa #1 SMP PREEMPT Fri Jul 4 09:49:22 CST 2014 armv7l GNU/Linux


So we got an updated 3.10 kernel for RIoTboard .


A video guide :