XUELK-AN-002: Running Debian distribution

From DAVE Developer's Wiki
Revision as of 17:08, 23 March 2017 by U0001 (talk | contribs) (Adding packages)

Jump to: navigation, search
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 an 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 a loadable module instead of a 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...

List of installed packages[edit | edit source]

deb packages[edit | edit source]

root@arm:~# pip freezedpkg -l | grep "rc "rc Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii acl 2.2.52-2 armhf Access control list utilities ii adduser 3.113+nmu3 all add and remove users and groups ii apt 1.0.9.8.4 armhf commandline package manager ii apt-file 2.5.4 all search for files within Debian pa ii apt-utils 1.0.9.8.4 armhf package management related utilit ii base-files 8+deb8u7 armhf Debian base system miscellaneous ii base-passwd 3.5.37 armhf Debian base system master passwor ii bash 4.3-11+deb8u armhf GNU Bourne Again SHell ii bash-completio 1:2.1-4 all programmable completion for the b ii bind9-host 1:9.9.5.dfsg armhf Version of 'host' bundled with BI ii binutils 2.25-5 armhf GNU assembler, linker and binary ii bluez 5.23-2+b1 armhf Bluetooth tools and daemons ii bluez-obexd 5.23-2+b1 armhf bluez obex daemon ii bluez-tools 0.2.0~201408 armhf Set of tools to manage Bluetooth ii bridge-utils 1.5-9 armhf Utilities for configuring the Lin ii bsdmainutils 9.0.6 armhf collection of more utilities from ii bsdutils 1:2.25.2-6 armhf basic utilities from 4.4BSD-Lite ii build-essentia 11.7 armhf Informational list of build-essen ii bzip2 1.0.6-7+b3 armhf high-quality block-sorting file c ii ca-certificate 20141019+deb all Common CA certificates ii command-not-fo 0.2.38-1 all Suggest installation of packages ii coreutils 8.23-4 armhf GNU core utilities ii cpio 2.11+dfsg-4. armhf GNU cpio -- a program to manage a ii cpp 4:4.9.2-2 armhf GNU C preprocessor (cpp) ii cpp-4.9 4.9.2-10 armhf GNU C preprocessor ii crda 3.13-1 armhf wireless Central Regulatory Domai ii cron 3.0pl1-127+d armhf process scheduling daemon ii curl 7.38.0-4+deb armhf command line tool for transferrin ii dash 0.5.7-4+b1 armhf POSIX-compliant shell ii dbus 1.8.22-0+deb armhf simple interprocess messaging sys ii dc 1.06.95-9 armhf GNU dc arbitrary precision revers ii debconf 1.5.56 all Debian configuration management s ii debconf-i18n 1.5.56 all full internationalization support ii debian-archive 2014.3 all GnuPG archive keys of the Debian ii debianutils 4.4+b1 armhf Miscellaneous utilities specific ii diffutils 1:3.3-1+b1 armhf File comparison utilities ii dmsetup 2:1.02.90-2. armhf Linux Kernel Device Mapper usersp ii dnsutils 1:9.9.5.dfsg armhf Clients provided with BIND ii dos2unix 6.0.4-1 armhf convert text file line endings be ii dosfstools 3.0.27-1 armhf utilities for making and checking ii dpkg 1.17.27 armhf Debian package management system ii dpkg-dev 1.17.27 all Debian package development tools ii e2fslibs:armhf 1.43-3~bpo8+ armhf ext2/ext3/ext4 file system librar ii e2fsprogs 1.43-3~bpo8+ armhf ext2/ext3/ext4 file system utilit ii elvis-tiny 1.4-23 armhf Tiny vi compatible editor for the ii fakeroot 1.20.2-1 armhf tool for simulating superuser pri ii file 1:5.22+15-2+ armhf Determines file type using "magic ii findutils 4.4.2-9+b1 armhf utilities for finding files--find ii firmware-ti-co 20161130-2 all Binary firmware for TI Connectivi ii fuse 2.9.3-15+deb armhf Filesystem in Userspace ii fuse2fs 1.43-3~bpo8+ armhf ext2 / ext3 / ext4 file system dr ii g++ 4:4.9.2-2 armhf GNU C++ compiler ii g++-4.9 4.9.2-10 armhf GNU C++ compiler ii gcc 4:4.9.2-2 armhf GNU C compiler ii gcc-4.8-base:a 4.8.4-1 armhf GCC, the GNU Compiler Collection ii gcc-4.9 4.9.2-10 armhf GNU C compiler ii gcc-4.9-base:a 4.9.2-10 armhf GCC, the GNU Compiler Collection ii geoip-database 20150317-1 all IP lookup command line tools that ii gnupg 1.4.18-7+deb armhf GNU privacy guard - a free PGP re ii gpgv 1.4.18-7+deb armhf GNU privacy guard - signature ver ii grep 2.20-4.1 armhf GNU grep, egrep and fgrep rc groff-base 1.22.2-8 armhf GNU troff text-formatting system ii gzip 1.6-4 armhf GNU compression utilities ii hostname 3.15 armhf utility to set/show the host name ii htop 1.0.3-1 armhf interactive processes viewer ii ifupdown 0.8.13~bpo8+ armhf high level tools to configure net ii inetutils-teln 2:1.9.2.39.3 armhf telnet client ii init 1.22 armhf System-V-like init utilities - me ii init-system-he 1.22 all helper tools for all init systems ii initscripts 2.88dsf-59 armhf scripts for initializing and shut ii insserv 1.14.0-5 armhf boot sequence organizer using LSB ii ipcalc 0.41-4 all parameter calculator for IPv4 add ii iperf 2.0.5+dfsg1- armhf Internet Protocol bandwidth measu ii ipppd 1:3.25+dfsg1 armhf ISDN utilities - PPP daemon ii iproute2 3.16.0-2 armhf networking and traffic control to ii iptables 1.4.21-2+b1 armhf administration tools for packet f ii iputils-ping 3:20121221-5 armhf Tools to test the reachability of ii isc-dhcp-clien 4.3.1-6+deb8 armhf DHCP client for automatically obt ii isc-dhcp-commo 4.3.1-6+deb8 armhf common files used by all of the i ii isdnutils-base 1:3.25+dfsg1 armhf ISDN utilities - minimal set ii iw 3.17-1 armhf tool for configuring Linux wirele ii kmod 18-3 armhf tools for managing Linux kernel m ii krb5-locales 1.12.1+dfsg- all Internationalization support for ii less 458-3 armhf pager program similar to more ii libacl1:armhf 2.2.52-2 armhf Access control list shared librar ii libalgorithm-c 0.09-1 all Perl module for merging hierarchi ii libalgorithm-d 1.19.02-3 all module to find differences betwee ii libalgorithm-d 0.04-3+b1 armhf module to find differences betwee ii libalgorithm-m 0.08-2 all Perl module for three-way merge o ii libapparmor1:a 2.10.95-4~bp armhf changehat AppArmor library ii libapt-inst1.5 1.0.9.8.4 armhf deb package format runtime librar ii libapt-pkg-per 0.1.29+b2 armhf Perl interface to libapt-pkg ii libapt-pkg4.12 1.0.9.8.4 armhf package management runtime librar ii libarchive-ext 0.72-1 all generic archive extracting module ii libasan1:armhf 4.9.2-10 armhf AddressSanitizer -- a fast memory rc libatasmart4:a 0.19-3 armhf ATA S.M.A.R.T. reading and parsin ii libatomic1:arm 4.9.2-10 armhf support library providing __atomi ii libattr1:armhf 1:2.4.47-2 armhf Extended attribute shared library ii libaudit-commo 1:2.4-1 all Dynamic library for security audi ii libaudit1:armh 1:2.4-1+b1 armhf Dynamic library for security audi ii libbind9-90 1:9.9.5.dfsg armhf BIND9 Shared Library used by BIND ii libblkid1:armh 2.25.2-6 armhf block device id library ii libbsd0:armhf 0.7.0-2 armhf utility functions from BSD system ii libbz2-1.0:arm 1.0.6-7+b3 armhf high-quality block-sorting file c ii libc-bin 2.19-18+deb8 armhf GNU C Library: Binaries ii libc-dev-bin 2.19-18+deb8 armhf GNU C Library: Development binari ii libc6:armhf 2.19-18+deb8 armhf GNU C Library: Shared libraries ii libc6-dev:armh 2.19-18+deb8 armhf GNU C Library: Development Librar ii libcap-ng0:arm 0.7.4-2 armhf An alternate POSIX capabilities l ii libcap2:armhf 1:2.24-8 armhf POSIX 1003.1e capabilities (libra ii libcap2-bin 1:2.24-8 armhf POSIX 1003.1e capabilities (utili ii libcgi-fast-pe 1:2.04-1 all CGI subclass for work with FCGI ii libcgi-pm-perl 4.09-1 all module for Common Gateway Interfa ii libclass-c3-pe 0.26-1 all pragma for using the C3 method re ii libclass-c3-xs 0.13-2+b1 armhf Perl module to accelerate Class:: ii libcloog-isl4: 0.18.2-1+b2 armhf Chunky Loop Generator (runtime li ii libcomerr2:arm 1.43-3~bpo8+ armhf common error description library ii libconfig-file 1.50-2 all Parses simple configuration files ii libcpan-meta-p 2.142690-1 all Perl module to access CPAN distri ii libcryptsetup4 2:1.6.6-5 armhf disk encryption support - shared ii libcurl3:armhf 7.38.0-4+deb armhf easy-to-use client-side URL trans ii libdata-optlis 0.109-1 all module to parse and validate simp ii libdata-sectio 0.200006-1 all module to read chunks of data fro ii libdb5.3:armhf 5.3.28-9 armhf Berkeley v5.3 Database Libraries ii libdbus-1-3:ar 1.8.22-0+deb armhf simple interprocess messaging sys ii libdebconfclie 0.192 armhf Debian Configuration Management S ii libdevmapper1. 2:1.02.90-2. armhf Linux Kernel Device Mapper usersp ii libdns-export1 1:9.9.5.dfsg armhf Exported DNS Shared Library ii libdns100 1:9.9.5.dfsg armhf DNS Shared Library used by BIND ii libdpkg-perl 1.17.27 all Dpkg perl modules ii libedit2:armhf 3.1-20140620 armhf BSD editline and history librarie ii libelfg0:armhf 0.8.13-5 armhf an ELF object file access library ii libestr0 0.1.9-1.1 armhf Helper functions for handling str ii libexpat1:armh 2.1.0-6+deb8 armhf XML parsing C library - runtime l ii libexpat1-dev: 2.1.0-6+deb8 armhf XML parsing C library - developme ii libfakeroot:ar 1.20.2-1 armhf tool for simulating superuser pri ii libfcgi-perl 0.77-1+deb8u armhf helper module for FastCGI ii libffi-dev:arm 3.1-2+b2 armhf Foreign Function Interface librar ii libffi6:armhf 3.1-2+b2 armhf Foreign Function Interface librar ii libfile-fcntll 0.22-1+b1 armhf Perl module for file locking with ii libfuse2:armhf 2.9.3-15+deb armhf Filesystem in Userspace (library) ii libgcc-4.9-dev 4.9.2-10 armhf GCC support library (development ii libgcc1:armhf 1:4.9.2-10 armhf GCC support library ii libgcrypt20:ar 1.6.3-2+deb8 armhf LGPL Crypto library - runtime lib ii libgdbm3:armhf 1.8.3-13.1 armhf GNU dbm database routines (runtim ii libgeoip1:armh 1.6.2-4 armhf non-DNS IP-to-country resolver li ii libglib2.0-0:a 2.42.1-1+b1 armhf GLib library of C routines ii libglib2.0-bin 2.42.1-1+b1 armhf Programs for the GLib library ii libglib2.0-dat 2.42.1-1 all Common files for GLib library ii libglib2.0-dev 2.42.1-1+b1 armhf Development files for the GLib li ii libgmp10:armhf 2:6.0.0+dfsg armhf Multiprecision arithmetic library ii libgnutls-deb0 3.3.8-6+deb8 armhf GNU TLS library - main runtime li ii libgnutls-open 3.3.8-6+deb8 armhf GNU TLS library - OpenSSL wrapper ii libgomp1:armhf 4.9.2-10 armhf GCC OpenMP (GOMP) support library ii libgpg-error0: 1.17-3 armhf library for common error values a ii libgssapi-krb5 1.12.1+dfsg- armhf MIT Kerberos runtime libraries - rc libgudev-1.0-0 215-17+deb8u armhf GObject-based wrapper library for ii libhogweed2:ar 2.7.1-5+deb8 armhf low level cryptographic library ( ii libical1a 1.0-1.3 armhf iCalendar library implementation ii libicu52:armhf 52.1-8+deb8u armhf International Components for Unic ii libidn11:armhf 1.29-1+deb8u armhf GNU Libidn library, implementatio ii libirs-export9 1:9.9.5.dfsg armhf Exported IRS Shared Library ii libisc-export9 1:9.9.5.dfsg armhf Exported ISC Shared Library ii libisc95 1:9.9.5.dfsg armhf ISC Shared Library used by BIND ii libisccc90 1:9.9.5.dfsg armhf Command Channel Library used by B ii libisccfg-expo 1:9.9.5.dfsg armhf Exported ISC CFG Shared Library ii libisccfg90 1:9.9.5.dfsg armhf Config File Handling Library used ii libisl10:armhf 0.12.2-2 armhf manipulating sets and relations o ii libjson-c2:arm 0.11-4 armhf JSON manipulation library - share ii libk5crypto3:a 1.12.1+dfsg- armhf MIT Kerberos runtime libraries - ii libkeyutils1:a 1.5.9-5+b1 armhf Linux Key Management Utilities (l ii libkmod2:armhf 18-3 armhf libkmod shared library ii libkrb5-3:armh 1.12.1+dfsg- armhf MIT Kerberos runtime libraries ii libkrb5support 1.12.1+dfsg- armhf MIT Kerberos runtime libraries - ii libldap-2.4-2: 2.4.40+dfsg- armhf OpenLDAP libraries ii liblist-moreut 0.33-2+b1 armhf Perl module with additional list ii liblocale-gett 1.05-8+b1 armhf module using libc functions for i rc liblockfile1:a 1.09-6 armhf NFS-safe locking library ii liblog-message 0.8-1 all powerful and flexible message log ii liblog-message 0.10-2 all simplified interface to Log::Mess ii liblogging-std 1.0.4-1 armhf easy to use and lightweight loggi ii liblognorm1:ar 1.0.1-3 armhf Log normalizing library ii liblwres90 1:9.9.5.dfsg armhf Lightweight Resolver Library used ii liblzma5:armhf 5.1.1alpha+2 armhf XZ-format compression library ii liblzo2-2:armh 2.08-1.2 armhf data compression library ii libmagic1:armh 1:5.22+15-2+ armhf File type determination library u ii libmnl0:armhf 1.0.3-5 armhf minimalistic Netlink communicatio ii libmodule-buil 0.421000-2+d all framework for building and instal ii libmodule-plug 5.1-1 all module for giving modules the ab ii libmodule-sign 0.73-1+deb8u all module to manipulate CPAN SIGNATU ii libmount1:armh 2.25.2-6 armhf device mounting library ii libmozjs185-1. 1.8.5-1.0.0+ armhf Spidermonkey javascript engine ii libmpc3:armhf 1.0.2-1 armhf multiple precision complex floati ii libmpfr4:armhf 3.1.2-2 armhf multiple precision floating-point ii libmro-compat- 0.12-1 all mro::* interface compatibility fo ii libncurses5:ar 5.9+20140913 armhf shared libraries for terminal han ii libncursesw5:a 5.9+20140913 armhf shared libraries for terminal han ii libnetfilter-a 1.0.2-1.1 armhf Netfilter acct library ii libnettle4:arm 2.7.1-5+deb8 armhf low level cryptographic library ( ii libnfnetlink0: 1.0.1-3 armhf Netfilter netlink library ii libnl-3-200:ar 3.2.24-2 armhf library for dealing with netlink ii libnl-3-dev 3.2.24-2 armhf development library and headers f ii libnl-genl-3-2 3.2.24-2 armhf library for dealing with netlink ii libnl-genl-3-d 3.2.24-2 armhf development library and headers f ii libnl-idiag-3- 3.2.24-2 armhf library for dealing with netlink ii libnl-idiag-3- 3.2.24-2 armhf development library and headers f ii libnspr4:armhf 2:4.12-1+deb armhf NetScape Portable Runtime Library ii libp11-kit0:ar 0.20.7-1 armhf Library for loading and coordinat ii libpackage-con 0.04-1 all List constants defined in a packa ii libpam-modules 1.1.8-3.1+de armhf Pluggable Authentication Modules ii libpam-modules 1.1.8-3.1+de armhf Pluggable Authentication Modules ii libpam-runtime 1.1.8-3.1+de all Runtime support for the PAM libra ii libpam-systemd 230-7~bpo8+2 armhf system and service manager - PAM ii libpam0g:armhf 1.1.8-3.1+de armhf Pluggable Authentication Modules ii libparams-util 1.07-2+b1 armhf Perl extension for simple stand-a ii libparted2:arm 3.2-7 armhf disk partition manipulator - shar ii libpcap0.8:arm 1.6.2-2 armhf system interface for user-level p ii libpcre3:armhf 2:8.35-3.3+d armhf Perl 5 Compatible Regular Express ii libpcre3-dev:a 2:8.35-3.3+d armhf Perl 5 Compatible Regular Express ii libpcrecpp0:ar 2:8.35-3.3+d armhf Perl 5 Compatible Regular Express ii libpcsclite1:a 1.8.13-1+deb armhf Middleware to access a smart card ii libpod-latex-p 0.61-1 all module to convert Pod data to for ii libpod-readme- 0.11-1 all Perl module to convert POD to REA ii libpolkit-agen 0.113-2~bpo8 armhf PolicyKit Authentication Agent AP ii libpolkit-gobj 0.113-2~bpo8 armhf PolicyKit Authorization API ii libpopt0:armhf 1.16-10 armhf lib for parsing cmdline parameter ii libprocps3:arm 2:3.3.9-9 armhf library for accessing process inf ii libpsl0:armhf 0.5.1-1 armhf Library for Public Suffix List (s ii libpython-dev: 2.7.9-1 armhf header files and a static library ii libpython-stdl 2.7.9-1 armhf interactive high-level object-ori ii libpython2.7:a 2.7.9-2+deb8 armhf Shared Python runtime library (ve ii libpython2.7-d 2.7.9-2+deb8 armhf Header files and a static library ii libpython2.7-m 2.7.9-2+deb8 armhf Minimal subset of the Python lang ii libpython2.7-s 2.7.9-2+deb8 armhf Interactive high-level object-ori ii libreadline6:a 6.3-8+b3 armhf GNU readline and history librarie ii libregexp-asse 0.35-8 all Perl module that assemble multipl ii libregexp-comm 2013031301-1 all module with common regular expres ii librtmp1:armhf 2.4+20150115 armhf toolkit for RTMP streams (shared ii libsasl2-2:arm 2.1.26.dfsg1 armhf Cyrus SASL - authentication abstr ii libsasl2-modul 2.1.26.dfsg1 armhf Cyrus SASL - pluggable authentica ii libsasl2-modul 2.1.26.dfsg1 armhf Cyrus SASL - pluggable authentica ii libseccomp2:ar 2.2.3-3~bpo8 armhf high level interface to Linux sec ii libselinux1:ar 2.3-2 armhf SELinux runtime shared libraries ii libsemanage-co 2.3-1 all Common files for SELinux policy m ii libsemanage1:a 2.3-1+b1 armhf SELinux policy management library ii libsepol1:armh 2.3-2 armhf SELinux library for manipulating ii libshishi0 1.0.2-5 armhf Library for the Shishi Kerberos v ii libslang2:armh 2.3.0-2 armhf S-Lang programming library - runt ii libsmartcols1: 2.25.2-6 armhf smart column output alignment lib ii libsoftware-li 0.103010-3 all module providing templated softwa ii libsqlite3-0:a 3.8.7.1-1+de armhf SQLite 3 shared library ii libss2:armhf 1.43-3~bpo8+ armhf command-line interface parsing li ii libssh2-1:armh 1.4.3-4.1+de armhf SSH2 client-side library ii libssl-dev:arm 1.0.1t-1+deb armhf Secure Sockets Layer toolkit - de ii libssl-doc 1.0.1t-1+deb all Secure Sockets Layer toolkit - de ii libssl1.0.0:ar 1.0.1t-1+deb armhf Secure Sockets Layer toolkit - sh ii libstdc++-4.9- 4.9.2-10 armhf GNU Standard C++ Library v3 (deve ii libstdc++6:arm 4.9.2-10 armhf GNU Standard C++ Library v3 ii libsub-exporte 0.986-1 all sophisticated exporter for custom ii libsub-install 0.928-1 all module for installing subroutines ii libsystemd0:ar 230-7~bpo8+2 armhf systemd utility library ii libtasn1-6:arm 4.2-3+deb8u2 armhf Manage ASN.1 structures (runtime) ii libterm-ui-per 0.42-1 all Term::ReadLine UI made easy ii libtext-charwi 0.04-7+b4 armhf get display widths of characters ii libtext-iconv- 1.7-5+b2 armhf converts between character sets i ii libtext-sounde 3.4-1+b2 armhf implementation of the soundex alg ii libtext-templa 1.46-1 all perl module to process text templ ii libtext-wrapi1 0.06-7 all internationalized substitute of T ii libtimedate-pe 2.3000-2 all collection of modules to manipula ii libtinfo5:armh 5.9+20140913 armhf shared low-level terminfo library ii libubsan0:armh 4.9.2-10 armhf UBSan -- undefined behaviour sani ii libudev1:armhf 230-7~bpo8+2 armhf libudev shared library rc libudisks2-0:a 2.1.3-5 armhf GObject based library to access u ii libusb-0.1-4:a 2:0.1.12-25 armhf userspace USB programming library ii libusb-1.0-0:a 2:1.0.19-1 armhf userspace USB programming library ii libustr-1.0-1: 1.0.4-3+b2 armhf Micro string library: shared libr ii libuuid1:armhf 2.25.2-6 armhf Universally Unique ID library ii libwrap0:armhf 7.6.q-25 armhf Wietse Venema's TCP wrappers libr ii libx11-6:armhf 2:1.6.2-3 armhf X11 client-side library ii libx11-data 2:1.6.2-3 all X11 client-side library ii libxau6:armhf 1:1.0.8-1 armhf X11 authorisation library ii libxcb1:armhf 1.10-3+b1 armhf X C Binding ii libxdmcp6:armh 1:1.1.1-1+b1 armhf X11 Display Manager Control Proto ii libxext6:armhf 2:1.3.3-1 armhf X11 miscellaneous extension libra ii libxml2:armhf 2.9.1+dfsg1- armhf GNOME XML library ii libxmuu1:armhf 2:1.1.2-1 armhf X11 miscellaneous micro-utility l ii libxtables10 1.4.21-2+b1 armhf netfilter xtables library ii libyaml-0-2:ar 0.1.6-3 armhf Fast YAML 1.1 parser and emitter ii libyaml-dev:ar 0.1.6-3 armhf Fast YAML 1.1 parser and emitter ii linux-libc-dev 3.16.39-1 armhf Linux support headers for userspa ii login 1:4.2-3+deb8 armhf system login tools ii logrotate 3.8.7-1+b1 armhf Log rotation utility ii lrzsz 0.12.21-7 armhf Tools for zmodem/xmodem/ymodem fi ii lsb-base 4.1+Debian13 all Linux Standard Base 4.1 init scri ii lsb-release 4.1+Debian13 all Linux Standard Base version repor ii lzop 1.03-3 armhf fast compression program ii make 4.0-8.1 armhf utility for directing compilation ii makedev 2.3.1-93 all creates device files in /dev ii manpages 3.74-1 all Manual pages about using a GNU/Li ii manpages-dev 3.74-1 all Manual pages about using GNU/Linu ii mawk 1.3.3-17 armhf a pattern scanning and text proce ii mime-support 3.58 all MIME files 'mime.types' & 'mailca ii minicom 2.7-1 armhf friendly menu driven serial commu ii mount 2.25.2-6 armhf Tools for mounting and manipulati ii multiarch-supp 2.19-18+deb8 armhf Transitional package to ensure mu ii nano 2.2.6-3 armhf small, friendly text editor inspi ii ncurses-base 5.9+20140913 all basic terminal type definitions ii ncurses-bin 5.9+20140913 armhf terminal-related programs and man ii ncurses-term 5.9+20140913 all additional terminal type definiti ii net-tools 1.60-26+b1 armhf NET-3 networking toolkit ii netbase 5.3 all Basic TCP/IP networking system ii netcat-traditi 1.10-41 armhf TCP/IP swiss army knife ii nfacct 1.0.1-1.1 armhf netfilter accounting object tool rc ntfs-3g 1:2014.2.15A armhf read/write NTFS driver for FUSE ii openssh-client 1:6.7p1-5+de armhf secure shell (SSH) client, for se ii openssh-server 1:6.7p1-5+de armhf secure shell (SSH) server, for se ii openssh-sftp-s 1:6.7p1-5+de armhf secure shell (SSH) sftp server mo ii openssl 1.0.1t-1+deb armhf Secure Sockets Layer toolkit - cr ii parted 3.2-7 armhf disk partition manipulator ii passwd 1:4.2-3+deb8 armhf change and administer password an ii patch 2.7.5-1 armhf Apply a diff file to an original ii perl 5.20.2-3+deb armhf Larry Wall's Practical Extraction ii perl-base 5.20.2-3+deb armhf minimal Perl system ii perl-modules 5.20.2-3+deb all Core Perl modules ii pkg-config 0.28-1 armhf manage compile and link flags for rc pmount 0.9.23-3+b1 armhf mount removable devices as normal ii policykit-1 0.113-2~bpo8 armhf framework for managing administra ii ppp 2.4.6-3.1 armhf Point-to-Point Protocol (PPP) - d ii procps 2:3.3.9-9 armhf /proc file system utilities ii psmisc 22.21-2 armhf utilities that use the proc file ii python 2.7.9-1 armhf interactive high-level object-ori ii python-cffi 0.8.6-1 armhf Foreign Function Interface for Py ii python-chardet 2.3.0-1 all universal character encoding dete ii python-coloram 0.3.2-1 all Cross-platform colored terminal t ii python-cryptog 0.6.1-1 armhf Python library exposing cryptogra ii python-dev 2.7.9-1 armhf header files and a static library ii python-distlib 0.1.9-1 all low-level components of python di ii python-gdbm 2.7.8-2+b1 armhf GNU dbm database support for Pyth ii python-html5li 0.999-3 all HTML parser/tokenizer based on th ii python-minimal 2.7.9-1 armhf minimal subset of the Python lang ii python-ndg-htt 0.3.2-1 all enhanced HTTPS support for httpli ii python-openssl 0.14-1 all Python 2 wrapper around the OpenS ii python-pip 1.5.6-5 all alternative Python package instal ii python-pkg-res 5.5.1-1 all Package Discovery and Resource Ac ii python-ply 3.4-5 all Lex and Yacc implementation for P ii python-pyasn1 0.1.7-1 all ASN.1 library for Python (Python ii python-pycpars 2.10+dfsg-3 all C parser in Python ii python-request 2.4.3-6 all elegant and simple HTTP library f ii python-setupto 5.5.1-1 all Python Distutils Enhancements ii python-six 1.8.0-1 all Python 2 and 3 compatibility libr ii python-suds 0.4.1-15 all Lightweight SOAP client for Pytho ii python-support 1.0.15 all automated rebuilding support for ii python-urllib3 1.9.1-3 all HTTP library with thread-safe con ii python-wheel 0.24.0-1 all built-package format for Python ii python2.7 2.7.9-2+deb8 armhf Interactive high-level object-ori ii python2.7-dev 2.7.9-2+deb8 armhf Header files and a static library ii python2.7-mini 2.7.9-2+deb8 armhf Minimal subset of the Python lang ii rcn-ee-archive 2016.04.24~b all GnuPG archive keys of the rcn-ee ii rdate 1:1.2-6 armhf sets the system's date from a rem ii readline-commo 6.3-8 all GNU readline and history librarie ii rename 0.20-3 all Perl extension for renaming multi ii rfkill 0.5-1 armhf tool for enabling and disabling w ii rsyslog 8.4.2-1+deb8 armhf reliable system and kernel loggin ii sed 4.2.2-4+deb8 armhf The GNU sed stream editor ii sensible-utils 0.0.9 all Utilities for sensible alternativ ii sgml-base 1.26+nmu4 all SGML infrastructure and SGML cata ii shared-mime-in 1.3-1 armhf FreeDesktop.org shared MIME datab ii sharutils 1:4.14-2 armhf shar, unshar, uuencode, uudecode ii shishi-common 1.0.2-5 all Platform independent files for Sh ii startpar 0.59-3 armhf run processes in parallel and mul ii sudo 1.8.10p3-1+d armhf Provide limited super user privil ii systemd 230-7~bpo8+2 armhf system and service manager ii systemd-sysv 230-7~bpo8+2 armhf system and service manager - SysV ii sysv-rc 2.88dsf-59 all System-V-like runlevel change mec ii sysvinit-utils 2.88dsf-59 armhf System-V-like utilities ii tar 1.27.1-2+deb armhf GNU version of the tar archiving ii tcpd 7.6.q-25 armhf Wietse Venema's TCP wrapper utili ii tftp 0.17-18 armhf Trivial file transfer protocol cl ii traceroute 1:2.0.20-2+b armhf Traces the route taken by packets ii tzdata 2016j-0+deb8 all time zone and daylight-saving tim ii ucf 3.0030 all Update Configuration File(s): pre ii udev 230-7~bpo8+2 armhf /dev/ and hotplug management daem ii unrar 1:5.2.7-0.1 armhf Unarchiver for .rar files (non-fr ii unzip 6.0-16+deb8u armhf De-archiver for .zip files ii usbutils 1:007-2 armhf Linux USB utilities ii util-linux 2.25.2-6 armhf Miscellaneous system utilities ii vlan 1.9-3.2 armhf user mode programs to enable VLAN ii wget 1.16-1+deb8u armhf retrieves files from the web ii wireless-regdb 2016.06.10-1 all wireless regulatory database ii wpasupplicant 2.5~git20150 armhf client support for WPA and WPA2 ( ii xauth 1:1.0.9-1 armhf X authentication utility ii xdg-user-dirs 0.15-2 armhf tool to manage well known user di ii xml-core 0.13+nmu2 all XML infrastructure and XML catalo ii xz-utils 5.1.1alpha+2 armhf XZ-format compression utilities ii zlib1g:armhf 1:1.2.8.dfsg armhf compression library - runtime ii zlib1g-dev:arm 1:1.2.8.dfsg armhf compression library - development

Notes about physical interfaces[edit | edit source]

In principle, the physical interfaces can be accessed the same way as described for the Yocto root file system. However, some of them require a different approach. For more details, please refer to the following sections.

Ethernet[edit | edit source]

Please refer to this section.

WiFi (client mode)[edit | edit source]

The procedure here described can be used to connect to an Access Point, using the WPA2/PSK security protocol.

As the WiFi driver is not statically linked to the kernel image, it is necessary to load the module first:

root@arm:~# modprobe wl12xx


Then, bring the interface up:

root@arm:~# iw dev
phy#0
        Interface wlan0
                ifindex 4
                wdev 0x1
                addr 88:33:14:5e:30:61
                type managed
root@arm:~# ip link show wlan0
4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 88:33:14:5e:30:61 brd ff:ff:ff:ff:ff:ff
root@arm:~# ip link set wlan0 up
[  276.076847] wlcore: firmware booted (Rev 6.3.10.0.133)
[  276.097912] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
root@arm:~# ip link show wlan0
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq qlen 1000
    link/ether 88:33:14:5e:30:61 brd ff:ff:ff:ff:ff:ff
root@arm:~# iw wlan0 link
Not connected.


The connection will be established with the SSID named SSID_ZyXEL_WPA2:

root@arm:~# iw wlan0 scan
...
BSS fe:f0:28:cc:03:90(on wlan0)
        TSF: 42646261 usec (0d, 00:00:42)
        freq: 2437
        beacon interval: 100 TUs
        capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
        signal: -53.00 dBm
        last seen: 0 ms ago
        SSID: SSID_ZyXEL_WPA2
        Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
        DS Parameter set: channel 6
        RSN:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP
                 * Authentication suites: PSK
                 * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
        ERP: <no flags>
        Extended supported rates: 24.0 36.0 48.0 54.0
        WMM:     * Parameter version 1
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
...


Add the passphrase key to the wpa_supplicant configuration file and make it readable by root only:

root@arm:~# wpa_passphrase SSID_ZyXEL_WPA2 >> /etc/wpa_supplicant.conf
ZyXEL-WPA2-PSK
root@arm:~# chmod 0600 /etc/wpa_supplicant.conf
root@arm:~# cat /etc/wpa_supplicant.conf
# reading passphrase from stdin
network={
        ssid="SSID_ZyXEL_WPA2"
        #psk="ZyXEL-WPA2-PSK"
        psk=ec41b79ebdf10022908aa10189b0341f095fd62eeb719a67c5c920e0cde28564
}


Start wpa_supplicant:

root@arm:~# wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
[ 3527.234018] wlan0: authenticate with fe:f0:28:cc:03:90
[ 3527.269591] wlan0: send auth to fe:f0:28:cc:03:90 (try 1/3)
[ 3527.277879] wlan0: authenticated
[ 3527.282841] wl12xx_driver wl12xx.0.auto wlan0: disabling HT/VHT due to WEP/TKIP use
[ 3527.298407] wlan0: associate with fe:f0:28:cc:03:90 (try 1/3)
[ 3527.307655] wlan0: RX AssocResp from fe:f0:28:cc:03:90 (capab=0x431 status=0 aid=1)
[ 3527.326148] wlcore: Association completed.
[ 3527.349780] wlan0: associated
[ 3527.352824] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready


Once the connection process completed successfully, iw reports the link status as follows:

root@arm:~# iw wlan0 link
Connected to fe:f0:28:cc:03:90 (on wlan0)
        SSID: SSID_ZyXEL_WPA2
        freq: 2437
        RX: 13605 bytes (160 packets)
        TX: 1226 bytes (12 packets)
        signal: -22 dBm
        tx bitrate: 54.0 MBit/s

        bss flags:      short-preamble short-slot-time
        dtim period:    1
        beacon int:     100


After assigning a (static) IP address to the wlan0 interface, it is possibile to ping the Access Point:

root@arm:~# ifconfig wlan0 192.168.11.81
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:35226 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3555583 (3.3 MiB)  TX bytes:1906 (1.8 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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 88:33:14:5E:30:61
          inet addr:192.168.11.81  Bcast:192.168.11.255  Mask:255.255.255.0
          inet6 addr: fe80::8a33:14ff:fe5e:3061/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24970 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2448625 (2.3 MiB)  TX bytes:1291 (1.2 KiB)

root@arm:~# ping 192.168.11.243
PING 192.168.11.243 (192.168.11.243): 56 data bytes
64 bytes from 192.168.11.243: seq=0 ttl=64 time=20.155 ms
64 bytes from 192.168.11.243: seq=1 ttl=64 time=11.253 ms
64 bytes from 192.168.11.243: seq=2 ttl=64 time=11.259 ms
64 bytes from 192.168.11.243: seq=3 ttl=64 time=3.726 ms
64 bytes from 192.168.11.243: seq=4 ttl=64 time=11.582 ms
64 bytes from 192.168.11.243: seq=5 ttl=64 time=3.138 ms
64 bytes from 192.168.11.243: seq=6 ttl=64 time=11.221 ms
64 bytes from 192.168.11.243: seq=7 ttl=64 time=11.652 ms
64 bytes from 192.168.11.243: seq=8 ttl=64 time=11.294 ms
64 bytes from 192.168.11.243: seq=9 ttl=64 time=11.268 ms
64 bytes from 192.168.11.243: seq=10 ttl=64 time=11.598 ms
64 bytes from 192.168.11.243: seq=11 ttl=64 time=11.690 ms
^C
--- 192.168.11.243 ping statistics ---
12 packets transmitted, 12 packets received, 0% packet loss
round-trip min/avg/max = 3.138/10.819/20.155 ms


In order to automatically load the wl12xx module on startup, issue the following command:

root@arm:~# echo wl12xx >> /etc/modules