Generic information for see iMX platform
Legacy Kernel (vendor)¶
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¶
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
IPerf Test with kernel 3.0.35 and 4.1.4:¶
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:
|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|
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
Connecting to update.aizo.com (18.104.22.168: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
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
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
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