Using new (DTS-based) Linux on Embedsky E9 board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using new (DTS-based) Linux on Embedsky E9 board

2,189 Views
andreypanov
Contributor I

Hello!

Does anyone use Embedsky E9 board (http://en.embedsky.com/product_info.php?cateid=169&id=169) with 3.15 kernel?

It is i.MX6Q based board with (vendor said) design based on SabreSD, but it is not compatible.

I had ported Barebox bootloader and was able to boot Linux to commandline.

It works, but has a few issues:

a) Ethernet PHY detection is unstable, it has Realtek RTL8211 chip, but it detected in 50% cases.

b) Sound doesn't work at all

Maybe someone had a proper DTS for this board?

Or some linux kernel patches?

Labels (2)
0 Kudos
3 Replies

752 Views
andreypanov
Contributor I

My patches was accepted in barebox repo, so booting a Linus kernel will work.

Kernel from Freescale repo doesn't detect a RTL8211E gigabit PHY.

0 Kudos

752 Views
yiqingliang
Contributor I

Great Job!

but how to booting kernel?

I'm using 3.10.53 from freescale (with android), but can't boot it.

I found a patch in meta-fsl-arm,  but it looks like we need extra dts which is not in the patch.

0 Kudos

752 Views
andreypanov
Contributor I

You need to build barebox with

make ARCH=arm imx_v7_defconfig

make ARCH=arm

Or you can do a 'make ARCH=arm menuconfig' and disable other imx boards that will be built by default.

This will produce an 'images/barebox-freescale-imx6q-embedsky-e9.img'

copy it to SD card with

dd if=images/barebox-freescale-imx6q-embedsky-e9.img of=</dev/sdcard> bs=1k seek=1 skip=1

Make 2 partitions on SD

First is bootfs, second is rootfs

You should put zImage and DTB to bootfs, default filenames are 'zImage' and 'imx6q-embedsky-e9.dtb'

You can drop in barebox shell and edit boot scripts if needed, they are in /env/boot/* files

Default is mmc1 or mmc3, depends on boot media.

Edit it with command 'edit /env/boot/mmc1' and save with 'saveenv'

Other usage examples are in barebox documentation.

Look at my github tree at apxii/linux · GitHub

But it is mainline-based, and DTS will not fit in Freescale tree.

0 Kudos