Difference between revisions of "XUELK-AN-002: Running Debian distribution"

From DAVE Developer's Wiki
Jump to: navigation, search
(WiFi (client mode))
(WiFi (client mode))
Line 1,016: Line 1,016:
 
           collisions:0 txqueuelen:1000
 
           collisions:0 txqueuelen:1000
 
           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
</pre>
 +
The root file system provide the [https://wireless.wiki.kernel.org/en/users/documentation/iw <code>iw</code> tool]] that can be used to manage the WiFi interface. For instance, issue the following command to start scanning:
 +
<pre class="board-terminal">
 +
root@arm:~# iw dev wlan0 scan
 
</pre>
 
</pre>

Revision as of 14:32, 20 March 2017

Info Box
SBC Lynx-top.png Applies to SBC Lynx

History[edit | edit source]

Version Date Notes
1.0.0 February 2017 First public release
2.0.0 March 2017 TBD

Introduction[edit | edit source]

Several "distributions" are available for embedded Linux devices. Yocto and Buildroot are just two examples of the most common. Nevertheless, for some applications the use of a desktop/server distribution might be preferable. Since they are not conceived for embedded platforms, these distributions have to be carefully tailored, in order to match hardware resources.[1]

This application note shows how to run one of such distributions - Debian Jessie - on SBC Lynx. It is assumed that the reader if already familiar with AXEL ULite and SBC Lynx Embedded Linux Kit (XUELK), as it is the basis of this work.

The procedure was tested on a SBC Lynx with ConfigID=0x0000000C (PCB revision CS214515A), starting from XUELK 1.1.3 binaries.



[1] Non-volatile storage footprint is the typical example. Disk occupation of a desktop distribution is measured in GB or tens of GB, while many embedded platforms have less the 1 GB of flash memory.

Initial configuration[edit | edit source]

For the sake of simplicity, the same approach described here will be used. In other words, a microSD card containing Linux kernel image, device tree blob, and decompressed root file system will be used. It is worth to remember that such a microSD card can be created following the instructions described here.

Starting from such a card, we need to do the following operations:

  • adding a modified version of the Linux kernel image [1]
  • replacing the default Yocto root file system delivered along with the XUELK, with the Debian one. [2]

The following box shows how to perform such operations once the card (mapped as /dev/TBD in the example) has been connected to a Linux host.

TBD

You can now remove the card from the host, and plug it into the slot of SBC Lynx.

After powering it up, stop the automatic boot process, and edit the mmcboot variable as follows:

=> edit mmc_loadk
edit: fatload mmc 0:1 ${loadaddr} xuelk-1.1.3_uImage.debian

Then start the Linux kernel by issuing the run mmcboot command. The Linux kernel should boot and mount the Debian root file system as shown in the following box (click on the Expand link to open it):

=> run mmcboot
reading xuelk-1.1.3_uImage.debian
6752936 bytes read in 338 ms (19.1 MiB/s)
reading imx6ul-lynx.dtb
31436 bytes read in 22 ms (1.4 MiB/s)
FDT: override 'som_uniqueid' with 'e6b3f362:393d61d4'
FDT: override 'cb_uniqueid' with '00000000:00000000'
## Booting kernel from Legacy Image at 80800000 ...
   Image Name:   Linux-3.14.52-xuelk-1.1.3
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6752872 Bytes = 6.4 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Loading Kernel Image ... OK
   reserving fdt memory region: addr=83000000 size=8000
   Using Device Tree in place at 83000000, end 8300afff

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.14.52-xuelk-1.1.3 (guglielmini@linuxserver2) (gcc version 4.9.2 (GCC) ) #3 SMP PREEMPT Thu Mar 16 09:28:51 CET 2017
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Freescale i.MX6 UltraLite LYNX Board
[    0.000000] cma: CMA: reserved 64 MiB at 9c000000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] PERCPU: Embedded 8 pages/cpu @9bbc0000 s8832 r8192 d15744 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: root=/dev/mmcblk0p2 rootwait rw console=ttymxc0,115200 vmalloc=400M mtdparts=gpmi-nand:8M(nand-uboot),1M(nand-env1),1M(nand-env2),1M(nand-fdt),1M(nand-spare),8M(nand-kernel),4M(nand-splash),-(nand-ubi);spi0.0:1M(spi-uboot),256k(spi-env1),256k(spi-env2),512k(spi-dtb),6M(spi-kernel),4M(spi-splash),-(spi-free)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 441088K/524288K available (8253K kernel code, 599K rwdata, 3168K rodata, 408K init, 436K bss, 83200K reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xa0800000 - 0xff000000   (1512 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)
[    0.000000]     pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
[    0.000000]     modules : 0x7f000000 - 0x7fe00000   (  14 MB)
[    0.000000]       .text : 0x80008000 - 0x80b2f940   (11423 kB)
[    0.000000]       .init : 0x80b30000 - 0x80b96280   ( 409 kB)
[    0.000000]       .data : 0x80b98000 - 0x80c2dd38   ( 600 kB)
[    0.000000]        .bss : 0x80c2dd44 - 0x80c9b134   ( 437 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Switching to timer-based delay loop
[    0.000018] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns
[    0.002384] clocksource_of_init: no matching clocksources found
[    0.002734] Console: colour dummy device 80x30
[    0.002779] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.002813] pid_max: default: 32768 minimum: 301
[    0.003222] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.003256] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.020249] Initializing cgroup subsys net_cls
[    0.020379] CPU: Testing write buffer coherency: ok
[    0.020894] /cpus/cpu@0 missing clock-frequency property
[    0.020935] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.020998] Setting up static identity map for 0x807dcbd0 - 0x807dcc28
[    0.070694] Brought up 1 CPUs
[    0.070734] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[    0.070754] CPU: All CPU(s) started in SVC mode.
[    0.072139] devtmpfs: initialized
[    0.083581] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.084417] pinctrl core: initialized pinctrl subsystem
[    0.085356] regulator-dummy: no parameters
[    0.090485] NET: Registered protocol family 16
[    0.109011] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.110707] cpuidle: using governor ladder
[    0.110845] cpuidle: using governor menu
[    0.111326] Use WDOG1 as reset source
[    0.129117] syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered
[    0.129876] vdd3p0: 2625 <--> 3400 mV at 3000 mV
[    0.130844] cpu: 725 <--> 1450 mV at 1150 mV
[    0.131878] vddsoc: 725 <--> 1450 mV at 1175 mV
[    0.137433] syscon 20e4000.iomuxc-gpr: regmap [mem 0x020e4000-0x020e7fff] registered
[    0.144559] syscon 21ac000.romcp: regmap [mem 0x021ac000-0x021affff] registered
[    0.146058] syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered
[    0.151918] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.151952] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.155717] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.158603] 20dc000.gpc supply pu not found, using dummy regulator
[    0.192082] bio: create slab <bio-0> at 0
[    0.198737] mxs-dma 1804000.dma-apbh: initialized
[    0.199687] vref-3v3: 3300 mV
[    0.200455] usb_otg1_vbus: 5000 mV
[    0.201231] usb_otg2_vbus: 5000 mV
[    0.202070] wilink-wl-en: 3300 mV
[    0.203906] i2c-core: driver [max17135] using legacy suspend method
[    0.203933] i2c-core: driver [max17135] using legacy resume method
[    0.205251] SCSI subsystem initialized
[    0.206492] usbcore: registered new interface driver usbfs
[    0.206668] usbcore: registered new interface driver hub
[    0.207010] usbcore: registered new device driver usb
[    0.208698] imx-i2c 21a0000.i2c: Cannot look up pinctrl state recovery: -19
[    0.210225] i2c i2c-0: IMX I2C adapter registered
[    0.210475] Linux video capture interface: v2.00
[    0.210656] pps_core: LinuxPPS API ver. 1 registered
[    0.210682] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.210763] PTP clock support registered
[    0.213526] MIPI CSI2 driver module loaded
[    0.214093] Advanced Linux Sound Architecture Driver Initialized.
[    0.216077] Bluetooth: Core ver 2.18
[    0.216206] NET: Registered protocol family 31
[    0.216232] Bluetooth: HCI device and connection manager initialized
[    0.216272] Bluetooth: HCI socket layer initialized
[    0.216306] Bluetooth: L2CAP socket layer initialized
[    0.216392] Bluetooth: SCO socket layer initialized
[    0.217373] cfg80211: Calling CRDA to update world regulatory domain
[    0.218432] Switched to clocksource mxc_timer1
[    0.244751] NET: Registered protocol family 2
[    0.246715] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.246852] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.247011] TCP: Hash tables configured (established 4096 bind 4096)
[    0.247129] TCP: reno registered
[    0.247168] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.247224] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.247759] NET: Registered protocol family 1
[    0.248663] RPC: Registered named UNIX socket transport module.
[    0.248699] RPC: Registered udp transport module.
[    0.248718] RPC: Registered tcp transport module.
[    0.248739] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.251648] imx rpmsg driver is registered.
[    0.253291] Bus freq driver module loaded
[    0.255285] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.273962] VFS: Disk quotas dquot_6.5.2
[    0.274661] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.280865] NFS: Registering the id_resolver key type
[    0.280989] Key type id_resolver registered
[    0.281014] Key type id_legacy registered
[    0.281107] jffs2: version 2.2. (NAND) c 2001-2006 Red Hat, Inc.
[    0.282982] fuse init (API version 7.22)
[    0.284195] msgmni has been set to 989
[    0.293372] io scheduler noop registered
[    0.293406] io scheduler deadline registered
[    0.293917] io scheduler cfq registered (default)
[    0.294987] imx-weim 21b8000.weim: Driver registered.
[    0.302340] MIPI DSI driver module loaded
[    0.302784] MIPI DSI driver module loaded
[    0.307241] imx-sdma 20ec000.sdma: no event needs to be remapped
[    0.307465] imx-sdma 20ec000.sdma: loaded firmware 3.2
[    0.316226] imx-sdma 20ec000.sdma: initialized
[    0.318991] pfuze100-regulator 0-0008: Full layer: 1, Metal layer: 1
[    0.319657] pfuze100-regulator 0-0008: FAB: 0, FIN: 0
[    0.319690] pfuze100-regulator 0-0008: pfuze3000 found.
[    0.321037] SW1A: 700 <--> 3300 mV at 3300 mV
[    0.322777] SW1B: 700 <--> 1475 mV at 1400 mV
[    0.323913] SW2: 2500 <--> 3300 mV at 3300 mV
[    0.325038] SW3: 900 <--> 1650 mV at 1350 mV
[    0.326160] SWBST: 5000 <--> 5150 mV at 5000 mV
[    0.327315] VSNVS: 1000 <--> 3000 mV at 3000 mV
[    0.327813] VREFDDR: 750 mV
[    0.328982] VLDO1: 1800 <--> 3300 mV at 3300 mV
[    0.330651] VLDO2: 800 <--> 1550 mV at 1500 mV
[    0.331799] VCCSD: 2850 <--> 3300 mV at 3300 mV
[    0.332932] V33: 2850 <--> 3300 mV at 3300 mV
[    0.334066] VLDO3: 1800 <--> 3300 mV at 1800 mV
[    0.335194] VLDO4: 1800 <--> 3300 mV at 1800 mV
[    0.336019] Serial: IMX driver
[    0.336721] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a IMX
[    1.145038] console [ttymxc0] enabled
[    1.150031] 2024000.serial: ttymxc7 at MMIO 0x2024000 (irq = 72, base_baud = 5000000) is a IMX
[    1.160577] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59, base_baud = 5000000) is a IMX
[    1.170504] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 60, base_baud = 5000000) is a IMX
[    1.180141] serial: Freescale lpuart driver
[    1.188140] imx sema4 driver is registered.
[    1.192657] [drm] Initialized drm 1.1.0 20060810
[    1.198524] [drm] Initialized vivante 1.0.0 20120216 on minor 0
[    1.225852] brd: module loaded
[    1.240591] loop: module loaded
[    1.260901] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xd3
[    1.267306] nand: AMD/Spansion S34ML08G1
[    1.271318] nand: 1024MiB, SLC, page size: 2048, OOB size: 64
[    1.277391] gpmi-nand 1806000.gpmi-nand: mode:4 ,failed in set feature.
[    1.284122] Scanning device for bad blocks
[    1.418476] Bad eraseblock 919 at 0x0000072e0000
[    1.659109] random: nonblocking pool is initialized
[    1.850544] Bad eraseblock 3900 at 0x00001e780000
[    2.460822] 8 cmdlinepart partitions found on MTD device gpmi-nand
[    2.467049] Creating 8 MTD partitions on "gpmi-nand":
[    2.472191] 0x000000000000-0x000000800000 : "nand-uboot"
[    2.480325] 0x000000800000-0x000000900000 : "nand-env1"
[    2.488243] 0x000000900000-0x000000a00000 : "nand-env2"
[    2.496271] 0x000000a00000-0x000000b00000 : "nand-fdt"
[    2.504172] 0x000000b00000-0x000000c00000 : "nand-spare"
[    2.512444] 0x000000c00000-0x000001400000 : "nand-kernel"
[    2.520666] 0x000001400000-0x000001800000 : "nand-splash"
[    2.528281] 0x000001800000-0x000040000000 : "nand-ubi"
[    2.537850] gpmi-nand 1806000.gpmi-nand: driver registered.
[    2.547026] m25p80 spi0.0: s25fl256s1 (32768 Kbytes)
[    2.552156] 7 cmdlinepart partitions found on MTD device spi0.0
[    2.558112] Creating 7 MTD partitions on "spi0.0":
[    2.563069] 0x000000000000-0x000000100000 : "spi-uboot"
[    2.570888] 0x000000100000-0x000000140000 : "spi-env1"
[    2.578583] 0x000000140000-0x000000180000 : "spi-env2"
[    2.586204] 0x000000180000-0x000000200000 : "spi-dtb"
[    2.593833] 0x000000200000-0x000000800000 : "spi-kernel"
[    2.601843] 0x000000800000-0x000000c00000 : "spi-splash"
[    2.609917] 0x000000c00000-0x000002000000 : "spi-free"
[    2.617455] spi_imx 2008000.ecspi: probed
[    2.623718] CAN device driver interface
[    2.630576] 2188000.ethernet supply phy not found, using dummy regulator
[    2.638656] pps pps0: new PPS source ptp0
[    2.643736] libphy: fec_enet_mii_bus: probed
[    2.650840] fec 2188000.ethernet eth0: registered PHC device 0
[    2.658305] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    2.666081] usbcore: registered new interface driver pegasus
[    2.672064] usbcore: registered new interface driver rtl8150
[    2.677915] usbcore: registered new interface driver r8152
[    2.683754] usbcore: registered new interface driver asix
[    2.689429] usbcore: registered new interface driver ax88179_178a
[    2.695685] usbcore: registered new interface driver cdc_ether
[    2.701747] usbcore: registered new interface driver dm9601
[    2.707477] usbcore: registered new interface driver sr9700
[    2.713369] usbcore: registered new interface driver CoreChips
[    2.719511] usbcore: registered new interface driver smsc75xx
[    2.725479] usbcore: registered new interface driver smsc95xx
[    2.731488] usbcore: registered new interface driver net1080
[    2.737314] usbcore: registered new interface driver plusb
[    2.743023] usbcore: registered new interface driver cdc_subset
[    2.749146] usbcore: registered new interface driver zaurus
[    2.754881] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    2.762590] usbcore: registered new interface driver cdc_ncm
[    2.768284] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.774930] ehci-mxc: Freescale On-Chip EHCI Host driver
[    2.780776] usbcore: registered new interface driver usb-storage
[    2.787182] usbcore: registered new interface driver usbserial
[    2.793246] usbcore: registered new interface driver usbserial_generic
[    2.799976] usbserial: USB Serial support registered for generic
[    2.806129] usbcore: registered new interface driver ftdi_sio
[    2.812067] usbserial: USB Serial support registered for FTDI USB Serial Device
[    2.819561] usbcore: registered new interface driver pl2303
[    2.825269] usbserial: USB Serial support registered for pl2303
[    2.831397] usbcore: registered new interface driver usb_ehset_test
[    2.839991] 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
[    2.860160] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.865302] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    2.888512] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.896300] hub 1-0:1.0: USB hub found
[    2.900323] hub 1-0:1.0: 1 port detected
[    2.906529] mousedev: PS/2 mouse device common for all mice
[    2.913630] snvs_pwrkey 20cc000.snvs-pwrkey: can't get snvs clock
[    2.920657] input: 20cc000.snvs-pwrkey as /devices/soc0/soc.0/2000000.aips-bus/20cc000.snvs-pwrkey/input/input0
[    2.931561] snvs_pwrkey 20cc000.snvs-pwrkey: i.MX snvs powerkey probed
[    2.939480] i2c-core: driver [egalax_allpoint_i2c] using legacy suspend method
[    2.946743] i2c-core: driver [egalax_allpoint_i2c] using legacy resume method
[    2.955387] i2c-core: driver [isl29023] using legacy suspend method
[    2.961837] i2c-core: driver [isl29023] using legacy resume method
[    2.969250] snvs_rtc 20cc034.snvs-rtc-lp: can't get snvs-rtc clock
[    2.976464] snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0
[    2.984865] snvs_rtc 20cc034.snvs-rtc-lp: configured with power off disabled
[    2.992325] i2c /dev entries driver
[    2.996731] IR NEC protocol handler initialized
[    3.001769] IR RC5(x) protocol handler initialized
[    3.006604] IR RC6 protocol handler initialized
[    3.011219] IR JVC protocol handler initialized
[    3.015780] IR Sony protocol handler initialized
[    3.020497] IR RC5 (streamzap) protocol handler initialized
[    3.026098] IR SANYO protocol handler initialized
[    3.030865] IR MCE Keyboard/mouse protocol handler initialized
[    3.040058] i2c-core: driver [mag3110] using legacy suspend method
[    3.046286] i2c-core: driver [mag3110] using legacy resume method
[    3.053741] imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
[    3.062449] Bluetooth: HCI UART driver ver 2.2
[    3.066947] Bluetooth: HCI H4 protocol initialized
[    3.071815] Bluetooth: HCI BCSP protocol initialized
[    3.076812] Bluetooth: HCILL protocol initialized
[    3.081620] ci_hdrc ci_hdrc.0: there is a vbus glitch
[    3.086779] Bluetooth: HCIATH3K protocol initialized
[    3.092112] usbcore: registered new interface driver bcm203x
[    3.097994] usbcore: registered new interface driver btusb
[    3.103792] usbcore: registered new interface driver ath3k
[    3.109937] sdhci: Secure Digital Host Controller Interface driver
[    3.116154] sdhci: Copyright(c) Pierre Ossman
[    3.120595] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.128886] mmc0: no vqmmc regulator found
[    3.133045] mmc0: no vmmc regulator found
[    3.178508] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[    3.190202] mmc1: no vqmmc regulator found
[    3.267425] mmc0: host does not support reading read-only switch. assuming write-enable.
[    3.282137] mmc0: new high speed SDHC card at address 0001
[    3.288692] mmcblk0: mmc0:0001 SD16G 14.8 GiB
[    3.295208]  mmcblk0: p1 p2
[    3.318523] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[    3.336879] caam 2140000.caam: Instantiated RNG4 SH0
[    3.358853] sdhci-esdhc-imx 2194000.usdhc: card claims to support voltages below defined range
[    3.397638] caam 2140000.caam: Instantiated RNG4 SH1
[    3.406349] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[    3.411942] caam 2140000.caam: device ID = 0x0a160300 (Era 8)
[    3.417731] caam 2140000.caam: job rings = 3, qi = 0
[    3.425245] mmc1: new SDIO card at address 0001
[    3.433187] wl1271_sdio mmc1:0001:2: legacy platform data not found, trying device tree
[    3.557476] caam algorithms registered in /proc/crypto
[    3.568192] caam_jr 2141000.jr0: registering rng-caam
[    3.575495] platform caam_sm: blkkey_ex: 8 keystore units available
[    3.582287] platform caam_sm: 64-bit clear key:
[    3.586876] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[    3.593044] platform caam_sm: 64-bit black key:
[    3.597632] platform caam_sm: [0000] 88 e6 66 fb fc 76 aa 9f
[    3.603444] platform caam_sm: [0008] 6a d2 37 ea 53 ff 7f 26
[    3.609224] platform caam_sm: 128-bit clear key:
[    3.613889] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[    3.619716] platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
[    3.625411] platform caam_sm: 128-bit black key:
[    3.630105] platform caam_sm: [0000] d6 cb 8d ed 8f 0e 84 c7
[    3.635807] platform caam_sm: [0008] 37 e0 0c 61 0d a2 7b ec
[    3.641583] platform caam_sm: 192-bit clear key:
[    3.646247] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[    3.651984] platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
[    3.657684] platform caam_sm: [0016] 10 11 12 13 14 15 16 17
[    3.663407] platform caam_sm: 192-bit black key:
[    3.668064] platform caam_sm: [0000] 51 36 f4 90 91 0d 87 66
[    3.673790] platform caam_sm: [0008] a0 70 1d cf 4c 6c 39 21
[    3.679517] platform caam_sm: [0016] af f8 77 77 44 bf cd 21
[    3.685214] platform caam_sm: [0024] 15 07 24 01 24 f1 c7 31
[    3.690929] platform caam_sm: 256-bit clear key:
[    3.695585] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[    3.701312] platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
[    3.707010] platform caam_sm: [0016] 10 11 12 13 14 15 16 17
[    3.712733] platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f
[    3.718452] platform caam_sm: 256-bit black key:
[    3.723112] platform caam_sm: [0000] 90 6a 4c 00 d4 99 d7 df
[    3.728838] platform caam_sm: [0008] 86 bb c3 1c 60 5b 25 04
[    3.734538] platform caam_sm: [0016] ac d9 96 c6 2c fc 26 79
[    3.740262] platform caam_sm: [0024] e2 13 7a 84 89 bc a5 89
[    3.745949] platform caam_sm: 64-bit unwritten blob:
[    3.750979] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[    3.756679] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[    3.762402] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[    3.768099] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[    3.773822] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[    3.779550] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[    3.785248] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[    3.790984] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[    3.796687] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    3.802420] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    3.808118] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    3.813845] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    3.819564] platform caam_sm: 128-bit unwritten blob:
[    3.824656] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[    3.830383] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[    3.836083] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[    3.841812] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[    3.847512] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[    3.853235] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[    3.858958] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[    3.864655] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[    3.870379] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    3.876077] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    3.881802] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    3.887498] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    3.893216] platform caam_sm: 196-bit unwritten blob:
[    3.898309] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[    3.904032] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[    3.909756] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[    3.915456] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[    3.921182] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[    3.926878] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[    3.932603] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[    3.938302] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[    3.944026] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    3.949751] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    3.955447] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    3.961171] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    3.966859] platform caam_sm: 256-bit unwritten blob:
[    3.971979] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[    3.977677] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[    3.983403] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[    3.989128] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[    3.994824] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[    4.000550] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[    4.006249] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[    4.011993] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[    4.017694] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    4.023424] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    4.029146] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    4.034843] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    4.040846] platform caam_sm: 64-bit black key in blob:
[    4.046125] platform caam_sm: [0000] 8d 95 5d f4 8a 59 05 eb
[    4.051921] platform caam_sm: [0008] cb bb e0 24 5a d8 b7 8f
[    4.057626] platform caam_sm: [0016] 90 98 97 8e 94 8b d1 db
[    4.063364] platform caam_sm: [0024] 95 d7 07 49 3f e0 f4 d0
[    4.069096] platform caam_sm: [0032] 0c 1d 12 19 f8 85 58 fd
[    4.074798] platform caam_sm: [0040] 0b 8d b2 86 cd fc d4 03
[    4.080524] platform caam_sm: [0048] 38 4c c6 ae 76 1c de 58
[    4.086223] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[    4.091946] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    4.097642] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    4.103366] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    4.109093] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    4.114783] platform caam_sm: 128-bit black key in blob:
[    4.120166] platform caam_sm: [0000] 55 66 aa 80 2b 1c 38 b7
[    4.125862] platform caam_sm: [0008] 4a 9b 3f 29 a3 e9 43 47
[    4.131587] platform caam_sm: [0016] 3b 4d 26 03 5a 3d e2 6d
[    4.137284] platform caam_sm: [0024] 73 6f d3 3b 25 ec bb 98
[    4.143007] platform caam_sm: [0032] 44 38 c9 9b a9 94 c6 0b
[    4.148733] platform caam_sm: [0040] cd 57 15 e6 e6 ad 30 e9
[    4.154431] platform caam_sm: [0048] 67 a0 02 be ab 5a 4a e9
[    4.160156] platform caam_sm: [0056] 18 ac bb ba ed 2c f4 8d
[    4.165854] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    4.171581] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    4.177279] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    4.183004] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    4.188719] platform caam_sm: 192-bit black key in blob:
[    4.194072] platform caam_sm: [0000] 34 63 18 9d 98 df 41 82
[    4.199801] platform caam_sm: [0008] b3 ee c9 9c 1d e3 c0 ff
[    4.205502] platform caam_sm: [0016] ff 24 44 e8 13 16 2c ea
[    4.211230] platform caam_sm: [0024] 65 e7 51 d4 8f 92 f2 0e
[    4.216928] platform caam_sm: [0032] 3c bb 90 25 1f ec f4 b5
[    4.222653] platform caam_sm: [0040] ad 91 f2 27 72 90 38 d7
[    4.228350] platform caam_sm: [0048] 85 21 69 46 48 24 ad 9f
[    4.234074] platform caam_sm: [0056] 58 d5 1b 34 ae 2e 5c 28
[    4.239805] platform caam_sm: [0064] 51 b7 b0 28 fd 8c 2d 62
[    4.245501] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    4.251225] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    4.256927] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    4.262645] platform caam_sm: 256-bit black key in blob:
[    4.268000] platform caam_sm: [0000] ad 9f 86 08 d8 7e 60 eb
[    4.273730] platform caam_sm: [0008] 5b 2b ce b3 f0 2a c0 51
[    4.279457] platform caam_sm: [0016] 24 50 2b d9 b1 6f 14 80
[    4.285155] platform caam_sm: [0024] db 9d 5c a5 7e 45 ae 4d
[    4.290879] platform caam_sm: [0032] 2f 2f e5 e3 3d 70 c3 fa
[    4.296576] platform caam_sm: [0040] 94 85 09 bc f0 4e 56 3d
[    4.302303] platform caam_sm: [0048] ea 07 b6 8d 11 a3 9e 74
[    4.308001] platform caam_sm: [0056] 89 98 61 68 17 fc db c0
[    4.313725] platform caam_sm: [0064] 29 d4 2a 5f de 04 cd 61
[    4.319452] platform caam_sm: [0072] 27 19 45 a6 2d f3 eb 7e
[    4.325149] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    4.330870] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    4.336874] platform caam_sm: restored 64-bit black key:
[    4.342283] platform caam_sm: [0000] 3e 80 ad 16 20 dc 91 cd
[    4.347987] platform caam_sm: [0008] 2e af 2b 53 1b cd 7f e8
[    4.353721] platform caam_sm: restored 128-bit black key:
[    4.359197] platform caam_sm: [0000] d6 cb 8d ed 8f 0e 84 c7
[    4.364897] platform caam_sm: [0008] 37 e0 0c 61 0d a2 7b ec
[    4.370616] platform caam_sm: restored 192-bit black key:
[    4.376055] platform caam_sm: [0000] 51 36 f4 90 91 0d 87 66
[    4.381782] platform caam_sm: [0008] a0 70 1d cf 4c 6c 39 21
[    4.387479] platform caam_sm: [0016] 81 d5 50 13 b2 8e ab 58
[    4.393203] platform caam_sm: [0024] f3 86 84 d7 86 7a 41 ca
[    4.398924] platform caam_sm: restored 256-bit black key:
[    4.404363] platform caam_sm: [0000] 90 6a 4c 00 d4 99 d7 df
[    4.410091] platform caam_sm: [0008] 86 bb c3 1c 60 5b 25 04
[    4.415791] platform caam_sm: [0016] ac d9 96 c6 2c fc 26 79
[    4.421518] platform caam_sm: [0024] e2 13 7a 84 89 bc a5 89
[    4.427780] snvs-secvio 20cc000.caam-snvs: can't get snvs clock
[    4.433869] snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
[    4.442756] usbcore: registered new interface driver usbhid
[    4.448369] usbhid: USB HID core driver
[    4.461740] fsl-asrc 2034000.asrc: driver registered
[    4.476973] NET: Registered protocol family 26
[    4.481644] Netfilter messages via NETLINK v0.30.
[    4.486437] nfnl_acct: registering with nfnetlink.
[    4.491417] nf_conntrack version 0.5.0 (7916 buckets, 31664 max)
[    4.498829] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[    4.505570] xt_time: kernel timezone is -0000
[    4.510698] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.516245] arp_tables: (C) 2002 David S. Miller
[    4.521053] TCP: cubic registered
[    4.525780] NET: Registered protocol family 10
[    4.532415] sit: IPv6 over IPv4 tunneling driver
[    4.538937] NET: Registered protocol family 17
[    4.543464] can: controller area network core (rev 20120528 abi 9)
[    4.549930] NET: Registered protocol family 29
[    4.554415] can: raw protocol (rev 20120528)
[    4.558762] can: broadcast manager protocol (rev 20120528 t)
[    4.564472] can: netlink gateway (rev 20130117) max_hops=1
[    4.570710] Bluetooth: RFCOMM TTY layer initialized
[    4.575671] Bluetooth: RFCOMM socket layer initialized
[    4.581094] Bluetooth: RFCOMM ver 1.11
[    4.584906] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.590298] Bluetooth: BNEP filters: protocol multicast
[    4.595581] Bluetooth: BNEP socket layer initialized
[    4.600614] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    4.606583] Bluetooth: HIDP socket layer initialized
[    4.611734] 8021q: 802.1Q VLAN Support v1.8
[    4.616071] Key type dns_resolver registered
[    4.622012] cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
[    4.652276] SWBST: disabling
[    4.655215] usb_otg1_vbus: disabling
[    4.658941] regulator-dummy: disabling
[    4.663256] imx mcc test is registered.
[    4.669280] snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01 00:00:01 UTC (1)
[    4.698300] ALSA device list:
[    4.701426]   No soundcards found.
[    4.720777] kjournald starting.  Commit interval 5 seconds
[    5.107209] EXT3-fs (mmcblk0p2): using internal journal
[    5.112604] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[    5.119599] VFS: Mounted root (ext3 filesystem) on device 179:2.
[    5.129638] devtmpfs: mounted
[    5.133435] Freeing unused kernel memory: 408K (80b30000 - 80b96000)
[    5.754461] systemd[1]: System time before build time, advancing clock.
[    5.793204] systemd[1]: Failed to insert module 'kdbus': Function not implemented
[    5.840739] systemd[1]: systemd 230 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    5.860434] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 8 (jessie)!

[    5.893284] systemd[1]: Set hostname to <arm>.
[    6.793575] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    6.819361] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    6.849399] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    6.869027] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    6.889673] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[    6.910861] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    6.940329] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    6.969405] systemd[1]: Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[    6.999342] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    7.029982] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    7.060031] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    7.089399] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    7.110139] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    7.152479] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    7.192788] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[    7.232732] systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
[    7.308977] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    7.324509] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    7.373285] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    7.411297] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[    7.477276] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    7.529053] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[    7.549681] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    7.579006] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    7.593796] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[    7.630692] systemd[1]: Started Load Kernel Modules.
[  OK  ] Started Load Kernel Modules.
[    7.684582] systemd[1]: Started Create Static Device Nodes in /dev.
[  OK  ] Started Create Static Device Nodes in /dev.
[    7.720664] systemd[1]: Started Remount Root and Kernel File Systems.
[  OK  ] Started Remount Root and Kernel File Systems.
[    7.746364] systemd[1]: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
[    7.796806] systemd[1]: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...
[    7.852274] systemd[1]: Starting udev Kernel Device Manager...
         Starting udev Kernel Device Manager...
[    7.928911] systemd[1]: Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems (Pre).
[    7.969049] systemd[1]: Reached target Local File Systems.
[  OK  ] Reached target Local File Systems.
[    7.998902] systemd[1]: Mounting FUSE Control File System...
         Mounting FUSE Control File System...
[    8.082205] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[    8.170411] systemd[1]: Mounted FUSE Control File System.
[  OK  ] Mounted FUSE Control File System.
[    8.201728] systemd[1]: Started Load/Save Random Seed.
[  OK  ] Started Load/Save Random Seed.
[    8.261146] systemd[1]: Started Apply Kernel Variables.
[  OK  ] Started Apply Kernel Variables.
[    8.310956] systemd[1]: Started udev Kernel Device Manager.
[  OK  ] Started udev Kernel Device Manager.
[    8.354235] systemd[1]: Starting Raise network interfaces...
         Starting Raise network interfaces...
[    9.322029] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[   10.519125] systemd-journald[140]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[   14.858928] fec 2188000.ethernet eth0: Freescale FEC PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=2188000.ethernet:03, irq=-1)
[  OK  ] Started udev Coldplug all Devices.
[   14.989292] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Regular background program processing daemon.
         Starting isdnutils-base.service...
         Starting Generic Board Startup...
         Starting Cape Manager Service...
         Starting Restore /etc/resolv.conf i...e the ppp link was shut down....
         Starting System Logging Service...
         Starting Login Service...
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Started D-Bus System Message Bus.
[   18.859213] libphy: 2188000.ethernet:03 - Link is Up - 100/Full
[   18.865209] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started System Logging Service.
[FAILED] Failed to start Generic Board Startup.
See 'systemctl status generic-board-startup.service' for details.
[FAILED] Failed to start Cape Manager Service.
See 'systemctl status capemgr.service' for details.
[FAILED] Failed to start Restore /etc/resolv...ore the ppp link was shut down..
See 'systemctl status pppd-dns.service' for details.
[  OK  ] Found device /dev/ttymxc0.
[  OK  ] Started Login Service.
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
         Starting Permit User Sessions...
[  OK  ] Started OpenBSD Secure Shell server.
         Starting /etc/rc.local Compatibility...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Serial Getty on ttymxc0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.

Debian GNU/Linux 8

DAVE Embedded Systems (www.dave.eu)
SBC Lynx

Architecture: armv7l
Hostname: arm
Linux kernel: 3.14.52-xuelk-1.1.3 #3 SMP PREEMPT Thu Mar 16 09:28:51 CET 2017

default username:password is [debian:debian]

arm login:

By default, two users are defined:

  • user debian, password debian
  • user root, password root


[1] The only difference with respect to the XUELK kernel image is related to the WiFi driver. To make it work with the Debian root file system, it has to be built as loadable module instead of statically linked driver.

[2] The provided root file system is derived from this one: https://rcn-ee.com/rootfs/eewiki/barefs/debian-8.7-bare-armhf-2017-01-14.tar.xz.

Adding packages[edit | edit source]

Of course, one of the greatest - if not the greatest - pros of having a desktop distribution, is the availability of a huge archive of pre-built packages. They can be installed very easily with tools such as apt and pip.

Before installing packages, the network interface has to be configured, as it is disabled by default. To configure it with a static IP address (192.168.0.80 in the example), nano text editor can be used:

  GNU nano 2.2.6         File: /etc/network/interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
#source-directory /etc/network/interfaces.d
auto eth0
iface eth0 inet static
     address 192.168.0.80
     netmask 255.255.255.0
     gateway 192.168.0.254











                               [ Wrote 9 lines ]

Please note the these changes will take effect after rebooting the machine.

DNS server has also to be enabled, in order to resolve URLs. Again, nano comes to help:

  GNU nano 2.2.6            File: /etc/resolv.conf

domain localdomain
search localdomain
nameserver 8.8.8.8
















                               [ Wrote 4 lines ]

You can finally install the desired packages, as shown in the following examples:

root@arm:~# apt update
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Get:2 http://repos.rcn-ee.com jessie InRelease [4373 B]
Ign http://httpredir.debian.org jessie InRelease
Get:3 http://httpredir.debian.org jessie-updates InRelease [145 kB]
Get:4 http://httpredir.debian.org jessie Release.gpg [2373 B]
Get:5 http://httpredir.debian.org jessie Release [148 kB]
Get:6 http://security.debian.org jessie/updates/main armhf Packages [420 kB]
Get:7 http://repos.rcn-ee.com jessie/main armhf Packages [796 kB]
Get:8 http://security.debian.org jessie/updates/contrib armhf Packages [994 B]
Get:9 http://security.debian.org jessie/updates/non-free armhf Packages [20 B]
Get:10 http://httpredir.debian.org jessie-updates/main armhf Packages [17.6 kB]
Get:11 http://httpredir.debian.org jessie-updates/contrib armhf Packages [20 B]
Get:12 http://httpredir.debian.org jessie-updates/non-free armhf Packages [450 B]
Get:13 http://httpredir.debian.org jessie/contrib armhf Packages [44.7 kB]
Get:14 http://httpredir.debian.org jessie/non-free armhf Packages [74.9 kB]
Get:15 http://httpredir.debian.org jessie/main armhf Packages [8850 kB]
Fetched 10.6 MB in 43s (240 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
root@arm:~# apt-get install python
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  file libexpat1 libmagic1 libpython-stdlib libpython2.7-minimal
  libpython2.7-stdlib libsqlite3-0 libssl1.0.0 mime-support python-minimal
  python2.7 python2.7-minimal
Suggested packages:
  python-doc python-tk python2.7-doc binutils binfmt-support
The following NEW packages will be installed:
  file libexpat1 libmagic1 libpython-stdlib libpython2.7-minimal
  libpython2.7-stdlib libsqlite3-0 libssl1.0.0 mime-support python
  python-minimal python2.7 python2.7-minimal
0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
Need to get 5449 kB of archives.
After this operation, 20.5 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://security.debian.org/ jessie/updates/main libssl1.0.0 armhf 1.0.1t-1+deb8u6 [868 kB]
Get:2 http://httpredir.debian.org/debian/ jessie/main libmagic1 armhf 1:5.22+15-2+deb8u3 [245 kB]
Get:3 http://httpredir.debian.org/debian/ jessie/main libsqlite3-0 armhf 3.8.7.1-1+deb8u2 [384 kB]
Get:4 http://httpredir.debian.org/debian/ jessie/main libpython2.7-minimal armhf 2.7.9-2+deb8u1 [376 kB]
Get:5 http://httpredir.debian.org/debian/ jessie/main python2.7-minimal armhf 2.7.9-2+deb8u1 [1152 kB]
Get:6 http://httpredir.debian.org/debian/ jessie/main mime-support all 3.58 [36.0 kB]
Get:7 http://httpredir.debian.org/debian/ jessie/main python-minimal armhf 2.7.9-1 [40.2 kB]
Get:8 http://httpredir.debian.org/debian/ jessie/main libexpat1 armhf 2.1.0-6+deb8u3 [61.8 kB]
Get:9 http://httpredir.debian.org/debian/ jessie/main file armhf 1:5.22+15-2+deb8u3 [60.0 kB]
Get:10 http://httpredir.debian.org/debian/ jessie/main libpython2.7-stdlib armhf 2.7.9-2+deb8u1 [1805 kB]
Get:11 http://httpredir.debian.org/debian/ jessie/main python2.7 armhf 2.7.9-2+deb8u1 [252 kB]
Get:12 http://httpredir.debian.org/debian/ jessie/main libpython-stdlib armhf 2.7.9-1 [19.6 kB]
Get:13 http://httpredir.debian.org/debian/ jessie/main python armhf 2.7.9-1 [151 kB]
Fetched 5449 kB in 4s (1306 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 13.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 13.)
debconf: falling back to frontend: Teletype
Preconfiguring packages ...
Selecting previously unselected package libssl1.0.0:armhf.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 8710 files and directories currently installed.)
Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u6_armhf.deb ...
Unpacking libssl1.0.0:armhf (1.0.1t-1+deb8u6) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../libmagic1_1%3a5.22+15-2+deb8u3_armhf.deb ...
Unpacking libmagic1:armhf (1:5.22+15-2+deb8u3) ...
Selecting previously unselected package libsqlite3-0:armhf.
Preparing to unpack .../libsqlite3-0_3.8.7.1-1+deb8u2_armhf.deb ...
Unpacking libsqlite3-0:armhf (3.8.7.1-1+deb8u2) ...
Selecting previously unselected package libpython2.7-minimal:armhf.
Preparing to unpack .../libpython2.7-minimal_2.7.9-2+deb8u1_armhf.deb ...
Unpacking libpython2.7-minimal:armhf (2.7.9-2+deb8u1) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.9-2+deb8u1_armhf.deb ...
Unpacking python2.7-minimal (2.7.9-2+deb8u1) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.9-1_armhf.deb ...
Unpacking python-minimal (2.7.9-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.58_all.deb ...
Unpacking mime-support (3.58) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../libexpat1_2.1.0-6+deb8u3_armhf.deb ...
Unpacking libexpat1:armhf (2.1.0-6+deb8u3) ...
Selecting previously unselected package libpython2.7-stdlib:armhf.
Preparing to unpack .../libpython2.7-stdlib_2.7.9-2+deb8u1_armhf.deb ...
Unpacking libpython2.7-stdlib:armhf (2.7.9-2+deb8u1) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.9-2+deb8u1_armhf.deb ...
Unpacking python2.7 (2.7.9-2+deb8u1) ...
Selecting previously unselected package libpython-stdlib:armhf.
Preparing to unpack .../libpython-stdlib_2.7.9-1_armhf.deb ...
Unpacking libpython-stdlib:armhf (2.7.9-1) ...
Setting up libpython2.7-minimal:armhf (2.7.9-2+deb8u1) ...
Setting up python2.7-minimal (2.7.9-2+deb8u1) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up python-minimal (2.7.9-1) ...
Selecting previously unselected package python.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 9539 files and directories currently installed.)
Preparing to unpack .../python_2.7.9-1_armhf.deb ...
Unpacking python (2.7.9-1) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.22+15-2+deb8u3_armhf.deb ...
Unpacking file (1:5.22+15-2+deb8u3) ...
Setting up libssl1.0.0:armhf (1.0.1t-1+deb8u6) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up libmagic1:armhf (1:5.22+15-2+deb8u3) ...
Setting up libsqlite3-0:armhf (3.8.7.1-1+deb8u2) ...
Setting up mime-support (3.58) ...
Setting up libexpat1:armhf (2.1.0-6+deb8u3) ...
Setting up libpython2.7-stdlib:armhf (2.7.9-2+deb8u1) ...
Setting up python2.7 (2.7.9-2+deb8u1) ...
Setting up libpython-stdlib:armhf (2.7.9-1) ...
Setting up python (2.7.9-1) ...
Setting up file (1:5.22+15-2+deb8u3) ...
Processing triggers for libc-bin (2.19-18+deb8u7) ...
root@arm:~# pip install 'autobahn==0.13.0'
Downloading/unpacking autobahn==0.13.0
  Downloading autobahn-0.13.0.tar.gz (169kB): 169kB downloaded
  Running setup.py (path:/tmp/pip-build-bHFxQl/autobahn/setup.py) egg_info f

    package init file 'twisted/plugins/__init__.py' not found (or not a regu
    Unhandled Error
    Traceback (most recent call last):
      File "<string>", line 17, in <module>

      File "/tmp/pip-build-bHFxQl/autobahn/setup.py", line 259, in <module>
        list(getPlugins(IPlugin))
      File "/usr/local/lib/python2.7/dist-packages/twisted/plugin.py", line
        allDropins = getCache(package)
    --- <exception caught here> ---
      File "/usr/local/lib/python2.7/dist-packages/twisted/plugin.py", line
        provider = pluginModule.load()
      File "/usr/local/lib/python2.7/dist-packages/twisted/python/modules.py
        return self.pathEntry.pythonPath.moduleLoader(self.name)
      File "/usr/local/lib/python2.7/dist-packages/twisted/python/reflect.py
        topLevelPackage = _importAndCheckStack(trialname)
      File "/usr/local/lib/python2.7/dist-packages/twisted/python/reflect.py
        reraise(excValue, excTraceback)
      File "/tmp/pip-build-bHFxQl/autobahn/twisted/plugins/autobahn_endpoint
        from autobahn.twisted.websocket import WrappingWebSocketServerFactor
      File "autobahn/twisted/__init__.py", line 41, in <module>
        from autobahn.twisted.choosereactor import install_reactor
      File "autobahn/twisted/choosereactor.py", line 31, in <module>
        import txaio
    exceptions.ImportError: No module named txaio

    Twisted found (default reactor is <class 'twisted.internet.epollreactor.
    Twisted dropin.cache regenerated.
Downloading/unpacking six>=1.10.0 (from autobahn==0.13.0)
  Downloading six-1.10.0-py2.py3-none-any.whl
Downloading/unpacking txaio>=2.2.2 (from autobahn==0.13.0)
  Downloading txaio-2.6.0-py2.py3-none-any.whl
Installing collected packages: autobahn, six, txaio
  Running setup.py install for autobahn
    package init file 'twisted/plugins/__init__.py' not found (or not a regu

    Unhandled Error
    Traceback (most recent call last):
      File "<string>", line 1, in <module>

      File "/tmp/pip-build-bHFxQl/autobahn/setup.py", line 259, in <module>
        list(getPlugins(IPlugin))
      File "/usr/local/lib/python2.7/dist-packages/twisted/plugin.py", line
        allDropins = getCache(package)
    --- <exception caught here> ---
      File "/usr/local/lib/python2.7/dist-packages/twisted/plugin.py", line
        provider = pluginModule.load()
      File "/usr/local/lib/python2.7/dist-packages/twisted/python/modules.py
        return self.pathEntry.pythonPath.moduleLoader(self.name)
      File "/usr/local/lib/python2.7/dist-packages/twisted/python/reflect.py
        topLevelPackage = _importAndCheckStack(trialname)
      File "/usr/local/lib/python2.7/dist-packages/twisted/python/reflect.py
        reraise(excValue, excTraceback)
      File "/usr/local/lib/python2.7/dist-packages/twisted/plugins/autobahn_
        from autobahn.twisted.websocket import WrappingWebSocketServerFactor
      File "autobahn/twisted/__init__.py", line 41, in <module>
        from autobahn.twisted.choosereactor import install_reactor
      File "autobahn/twisted/choosereactor.py", line 31, in <module>
        import txaio
    exceptions.ImportError: No module named txaio

    Twisted found (default reactor is <class 'twisted.internet.epollreactor.
    Twisted dropin.cache regenerated.
  Found existing installation: six 1.8.0
    Not uninstalling six at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installed autobahn six txaio
Cleaning up...

Notes about physical interfaces[edit | edit source]

WiFi (client mode)[edit | edit source]

The procedure is similar to the one described here. However, as the WiFi driver is not statically linked to the kernel image, it is necessary to load the module first:

root@arm:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:C2:1E:AF:E9
          inet addr:192.168.0.81  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::250:c2ff:fe1e:afe9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:592 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:58472 (57.1 KiB)  TX bytes:1077 (1.0 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:95 (95.0 B)  TX bytes:95 (95.0 B)

root@arm:~# modprobe wl12xx
root@arm:~# ifconfig wlan0 up
[  108.813796] wlcore: firmware booted (Rev 6.3.10.0.133)
[  108.835973] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
root@arm:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:C2:1E:AF:E9
          inet addr:192.168.0.81  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::250:c2ff:fe1e:afe9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4238 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:418532 (408.7 KiB)  TX bytes:1341 (1.3 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:95 (95.0 B)  TX bytes:95 (95.0 B)

wlan0     Link encap:Ethernet  HWaddr 88:33:14:5E:30:61
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

The root file system provide the iw tool] that can be used to manage the WiFi interface. For instance, issue the following command to start scanning:

root@arm:~# iw dev wlan0 scan