DSS11-E

Generic information for see iMX platform

http://redmine.digitalstrom.org/projects/testing/wiki/How_to_Flash_a_dSS11-E

Install Image

see point 7, 8
https://git.digitalstrom.org/dss-oe/dss-oe/blob/master/targets/dss11e-yocto-devel/README
http://update.aizo.com/feeds/digitalstrom-testing-eglibc/images/dss11e/

Legacy Kernel (vendor)

board file
https://git.digitalstrom.org/bsp/linux-icnexus/blob/master/ubuntu-kernel-4.1.0/arch/arm/mach-mx6/board-mx6q_sabrelite.c#L882

Raw kernel slots

The legacy u-boot, did not have support for filesystems. Hence the kernel had to be stored in raw partitions, and since we didn't repartition the device there are partitions available to hold a fallback kernel

wget http://update.aizo.com/feeds/digitalstrom-devel-eglibc/images/dss11e/uImage-dtb-imx6q-dss11e6x.bin
cat uImage-dtb-imx6q-dss11e6x.bin > /dev/mmcblk0p1

The legacy u-boot bootcmd_mmc only loads 4MB from flash, make sure the kernel fits within (#11526)

To start the kernels from U-Boot:

run loadraw
run rawboot

USB rescue stick

Create USB rescue stick

dSS > run usbscript

no buttons, manually start

Mac address migration from u-boot env into OTP area

Legacy u-boot stored the mac address in the U-Boot environment. This legacy u-boot environment is still available under /etc/fw_factory.config but no more used. The mac address has been extracted and stored into the OTP area

see OTP area

Verify mac address stored in OTP area

# opkg install fsl-otp-tool (should be installed by default)
# otp-tool
mac:  f8:5c:45:66:04:51

Force writing mac address to OTP area

should happen automatically when updating via opkg

opkg install store-otp-mac

Tests

IPerf Test with kernel 3.0.35 and 4.1.4:

Setup:
dss11e connected to PC (core2duo 1GB Ethernet, crossover)

Script on dsse:

#!/bin/sh
while true; do iperf -c <ip-address_of_pc> -r done

Command line on PC:

iperf -s

Results:

Kernel Bandwith packet loss
Linux dSSE-devel 3.0.35-2666-gbdde708-4.1.0+yocto #1 SMP PREEMPT Wed Apr 1 15:15:18 CEST 2015 armv7l GNU/Linux 360-378 Mbits/sec none
Linux dSSE-devel 4.1.4 #1 SMP Wed Oct 7 14:49:13 CEST 2015 armv7l GNU/Linux 370-377 Mbits/sec none

Download time

Setup:
dsse with kernel 4.1.4.
Download of an Image of 220MB.

#/bin/sh
for i in `seq 1 10`; do
time wget -O /dev/null http://update.aizo.com/feeds/digitalstrom-devel-eglibc/images/dss11e/digitalstrom-image-dss11e.dssimg
done

Result:

Connecting to update.aizo.com (137.117.129.119:80)
null                 100% |*******************************|   222M  0:00:00 ETA
real    1m 54.76s
user    0m 1.24s
sys     0m 14.03s
...

observed download Time: btw 1m 17.80s and 2m 21.86s

FAQ

Strange symbols in serial console (rts/cts inverted)

root@dSS11-e:~# ls?  <- should be enter instead of '?'
-sh: ls?: not found
root@dSS11-e:~# ?op  <- should be 'top'
-sh: ?op: not found
root@dSS11-e:~# v? /etc/ini????   <- vi /etc/inittab

http://redmine.digitalstrom.org/projects/testing/wiki/How_to_Flash_a_dSS11-E#Create-console-adapter-null-modem-cable

Kernel boot fails with memory corruption

Please verify the memory size in the dtb file, e.g. if 1GB is declared but only has 512MB are present, the boot will fail with a memory corruption

Bricked my device how can I unbrick it

there is s jumper above the console plug, with that you can force it into DFU mode. If you bricked your device it should enter DFU automatically
https://boundarydevices.com/unbricking-nitrogen6x-sabre-lite-i-mx6-board/

Connect the device with a USB mini cable.
Ensure you see the device in the lsusb output, otherwise check that jumper is removed, power cycle, missing USB cable?

$ lsusb | grep Freescale
Bus 001 Device 012: ID 15a2:0054 Freescale Semiconductor, Inc. i.MX 6Dual/6Quad SystemOnChip in RecoveryMode

Then start loading a u-boot into RAM, you need the imx file!

sudo ./imx_usb u-boot.imx

console_pinout.png (50.5 KB) Andreas Fenkart, 02/11/2015 10:20 AM

console_switch.png (315 KB) Andreas Fenkart, 02/11/2015 01:15 PM

uboot_default_env.txt Magnifier (1.57 KB) Andreas Fenkart, 02/13/2015 11:18 AM

uboot_flash_usb.txt Magnifier (226 Bytes) Matthias Tramm, 09/15/2016 01:49 PM

boot.scr - uboot script, generated from uboot_flash_usb.txt (298 Bytes) Matthias Tramm, 09/15/2016 01:49 PM