Changes

Jump to: navigation, search

XUELK-AN-002: Running Debian distribution

86,511 bytes added, 16:36, 12 February 2021
no edit summary
{{InfoBoxTop}}
{{AppliesToSBCLynx}}
{{AppliesToDWM AN}}
{{AppliesTo AXEL ULite AN}}
{{AppliesTo SBC Lynx AN}}
{{InfoBoxBottom}}
{{WarningMessage|text=This application note was validated against specific versions of the kit only. It may not work with other versions. Supported versions are listed in the ''History'' section.}}
{{ImportantMessage|text=Regarding the Molex antenna used in this AN. It is valid only for '''No EU''' countries - see [https://www.lairdconnect.com/documentation/regulatory-information-tiwi-ble link]}}
== History ==
{| class="wikitable" border="1"
!Version
!XUELK version
!Date
!Notes
|-
|1.0.0
|1.1.3
|February 2017
|First public release
|-
|2.0.0
|1.1.3
|April 2017
|
*Added several packages to the root file system
*Removed <code>busybox</code>
*Added notes about physical interfaces
|-
|2.1.0
|1.1.3
|April 2017
|
*Added section ''Using the raw image''
*Added notes about <code>ssh</code> server configuration
*Added notes about <code>MySQL</code> server installation and configuration
|-
|}
 
==Introduction==
Several "distributions" are available for embedded Linux devices. [https://www.yoctoproject.org Yocto] and [https://buildroot.org 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)|'''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.
==Initial configuration==
For the sake of simplicity, the same approach described [[AXEL_ULite_and_SBC_Lynx_Embedded_Linux_Kit_(XUELK)#Target_setup_and_first_boot|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 usedworth to remember that such a microSD card can be created following the instructions described [[How_to_create_a_bootable_microSD_card_(XUELK)|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]It is assumed that the microSD card is connected to the host machine. As such, the two partitions are mounted as <code>/media/BOOT</code> and <code>/media/ROOTFS</code>.
It is quite straightforward to prepare a microSD card The kernel image and the compressed archive containing a Debian minimal the root file system that replaces are available for download at the one delivered along with the XUELKfollowing URLs respectively:* https://mirror.dave.eu/lynx/debian/20170403/xuelk-1.1.3_uImage.debian* https://mirror.dave.eu/lynx/debian/20170403/20170403-sbclynx-debian-8.tgz
To get such an copy the kernel imageto the microSD card, issue the following command on your host machine:[1]
<pre class="board-terminal">
wget cp -c https://rcnv xuelk-ee1.1.3_uImage.com/rootfsdebian /eewikimedia/barefsBOOT/debian-8.7-bare-armhf-2017-01-14.tar.xz
</pre>
To verify itDelete all the existing files in the <code>/media/ROOTFS</code> partition:
<pre class="board-terminal">
sha256sum debiansudo rm -8.7-barerf /media/ROOTFS/*sudo tar xvzf 20170403-armhfsbclynx-2017-01-14.tar.xz159e1a6addc35bbfff03b5eafd5cb741086a8a016d5ab9572ab122ce64d63e5e debian-8.7tgz -bare-armhf-2017-01-14.tar.xzC /media/ROOTFS/
</pre>
After inserting Decompress the microSD card into the adapter connected to the host machine, it is possible to decompress the <code>.tar.xz</code> Debian root file system in the <code>ROOTFS</code> same partition:
<pre class="board-terminal">
unzip debian-8-xfcesudo tar xvzf 20170403-wandboardsbclynx-20150514.zip cd debian-8.7-bare-armhf-2017-01-14/tar xvf armhf-rootfs-debian-jessie.tar tgz -C /media/dvdk/ROOTFS/sudo umount /media/dvdk/BOOT sudo umount /media/dvdk/ROOTFS
</pre>
You can then insert Remove the microSD card from the host and plug it into the slot of SBC Lynx's slot. On target side After powering it up, these are the messages printed out on stop the serial consoleautomatic boot process, when and edit the root file system is mounted<code>mmcboot</code> variable as follows:
<pre class="board-terminal">
=> edit mmc_loadkedit: fatload mmc 0:1 ${loadaddr} xuelk-1.1.3_uImage.debian</pre> Then start the Linux kernel by issuing the <code>run mmcboot</code> 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):<pre class="board-terminal mw-collapsible mw-collapsed">=> run mmcbootreading xuelk-1.1.3_uImage.debian6752936 bytes read in 338 ms (19.1 MiB/s)reading imx6ul-lynx.dtb31436 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.114803000000] 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.125035129638] devtmpfs: mounted[ 5.128943133435] Freeing unused kernel memory: 408K (80b15000 80b30000 - 80b7b00080b96000)[ 5.751274754461] systemd[1]: System time before build time, advancing clock.[ 5.783486793204] systemd[1]: Failed to insert module 'kdbus': Function not impimplemented[ 5.823801840739] 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.843563860434] systemd[1]: Detected architecture arm.
Welcome to Debian GNU/Linux 8 (jessie)!
[ 5.880235893284] systemd[1]: Set hostname to <arm>.[ 6.727889793575] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 6.758625819361] systemd[1]: Listening on Journal udev Kernel Socket (/dev/log).[ OK ] Listening on Journal udev Kernel Socket (/dev/log).[ 6.788119] systemd[1]: Reached target Encrypted Volumes.[ OK ] Reached target Encrypted Volumes.[ 6.818418849399] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 6.839082869027] 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.869354999342] systemd[1]: Started Forward Password Requests to Wall DirectoReached target Remote File Systems.[ OK ] Started Forward Password Requests to Wall Directory Watch.[ 6.901334] systemd[1]: Set up automount Arbitrary Executable Reached target Remote File Format[ OK ] Set up automount Arbitrary ExecutabSystems...ats File System Automount Poi[ 67.939313029982] systemd[1]: Listening on /dev/initctl Compatibility Named PipPipe.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ 6.968527] systemd[1]: Reached target Remote File Systems.[ OK ] Reached target Remote File Systems.[ 6.999801] systemd[1]: Reached target Swap.[ OK ] Reached target Swap.[ 7.019678060031] systemd[1]: Created slice System User and Session Slice.[ OK ] Created slice System User and Session Slice.[ 7.038667089399] systemd[1]: Reached target Slices.
[ OK ] Reached target Slices.
[ 7.059455] systemd[1]: Created slice system-serial\x2dgetty.slice.[ OK ] Created slice system-serial\x2dgetty.slice.[ 7.089497] systemd[1]: Created slice system-getty.slice.[ OK ] Created slice system-getty.slice.[ 7.119398110139] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 7.145290152479] 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.182154411297] systemd[1]: Starting Remount Root and Kernel Set up automount Arbitrary Executable File SystemsFormats File System Automount Point.[ OK ] Set up automount Arbitrary Executab.. Starting Remount Root and Kernel .ats File Systems..System Automount Point.[ 7.241987477276] systemd[1]: Mounting Debug File System..Started Forward Password Requests to Wall Directory Watch. Mounting Debug File System..[ OK ] Started Forward Password Requests to Wall Directory Watch.[ 7.308585529053] systemd[1]: Starting Load Kernel Modules..Reached target Encrypted Volumes. Starting Load Kernel Modules..[ OK ] Reached target Encrypted Volumes.[ 7.364001549681] systemd[1]: Started Dispatch Password Requests to Console DirDirectory Watch.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ 7.418164579006] systemd[1]: Reached target Paths.
[ OK ] Reached target Paths.
[ 7.451915] systemd[1]: Starting Create Static Device Nodes in /dev... Starting Create Static Device Nodes in /dev...[ 7.508441] systemd[1]: Listening on udev Kernel Socket.[ OK ] Listening on udev Kernel Socket.[ 7.528001] systemd[1]: Reached target Sockets.[ OK ] Reached target Sockets.[ 7.558251593796] systemd[1]: Mounted Debug File System.
[ OK ] Mounted Debug File System.
[ 7.589958] systemd[1]: Started Remount Root and Kernel File Systems.[ OK ] Started Remount Root and Kernel File Systems.[ 7.651199630692] systemd[1]: Started Load Kernel Modules.
[ OK ] Started Load Kernel Modules.
[ 7.680384684582] systemd[1]: Started Create Static Device Nodes in /dev.
[ OK ] Started Create Static Device Nodes in /dev.
[ 7.716855720664] 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.780271] systemd[1]: Starting Apply Kernel Variables... Starting Apply Kernel Variables...[ 7.821035] systemd[1]: Mounting FUSE Control File System... Mounting FUSE Control File System...[ 7.909856] systemd[1]: Starting udev Coldplug all Devices... Starting udev Coldplug all Devices...[ 7.932630928911] systemd[1]: Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems (Pre).
[ 87.001492] systemd[1]: Starting Load/Save Random Seed... Starting Load/Save Random Seed...[ 8.058300969049] 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.114063170411] systemd[1]: Mounted FUSE Control File System.
[ OK ] Mounted FUSE Control File System.
[ 8.179693201728] 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.210239] systemd[1]: Started Apply Kernel Variables.[ OK ] Started Apply Kernel Variables.[ 8.251215] systemd[1]: Started Load/Save Random Seed.[ OK ] Started Load/Save Random Seed.[ 8.295404354235] systemd[1]: Starting Raise network interfaces...
Starting Raise network interfaces...
[ 9.378588322029] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage...
[ 10.329376519125] systemd-journald[134140]: Received request to flush runtime jourjournal 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 udev Coldplug all DevicesNetwork Time Synchronization.[ 21.038081] fec 2188000.ethernet eth0: Freescale FEC PHY driver [Micrel K[ 21.188538] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Network Time Synchronization.
[ 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 getty on tty2-tty6 if dbus and logind are not availableLogin Service...
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
Starting Generic Board Startup[ 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 Generic Board StartupRestore /etc/resolv...ore the ppp link was shut down..See 'systemctl status genericpppd-board-startupdns.service' for details.[ OK ] Started System Logging Service.[ 25.038599] libphy: 2188000.ethernet:03 - Link is Up - 100/Full[ 25.044599] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready[ OK ] Started getty on tty2-tty6 if dbus and logind are not available.
[ 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...
Starting [ OK ] Started Permit User Sessions...
[ OK ] Started /etc/rc.local Compatibility.
[ OK ] Started Permit User Sessions.
[ OK ] Started Getty on tty6.
[ OK ] Started Getty on tty3.
[ OK ] Started Serial Getty on ttymxc0.
[ OK ] Started Getty on tty2.
[ OK ] Started Getty on tty1.
[ OK ] Started Getty on tty5.
[ OK ] Started Getty on tty4.
[ OK ] Reached target Login Prompts.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
Debian GNU/Linux 8 arm ttymxc0
default username:password is [debian:temppwd]DAVE Embedded Systems (www.dave.eu)SBC Lynx
arm loginArchitecture: rootarmv7lPasswordHostname:armLast login: Sun Jan 15 02Linux kernel:57:41 UTC 2017 on ttymxc0Linux arm 3.14.52-xuelk-1.1.0 3 #7 3 SMP PREEMPT Fri Nov 25 17Thu Mar 16 09:1528:33 51 CET 2016 ar2017
The programs included with the Debian GNU/Linux system are free software;the exact distribution terms for each program are described in theindividual files in /usr/share/doc/*/copyright.default username:password is [debian:debian]
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extentpermitted by applicable law.root@armlogin:~#
</pre>
By default, two users are defined:
* user <code>debian</code>, password <code>temppwddebian</code>
* user <code>root</code>, password <code>root</code>
[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 as a statically linked driver.
[12] These information are retrieved 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.===Using the raw image===For convenience, the raw image of the microSD card is provided as well. This image is the result of the procedure described in the previous section, applied to a 16 GB card. The image can be downloaded [https://eewikimirror.dave.neteu/lynx/displaydebian/linuxonarm20170403/Wandboard#Wandboard20170403-sbclynx-debian-8-RootFileSystemusd.zip here].  Once decompressed, it can be written directly to the card. On a Linux host issue the following command (smallflashassuming the card is associated to the <code>/dec/sdc</code> device file) :<pre class="board-terminal">sudo dd if=/path/to/20170403-sbclynx-debian-8-usd.img of=/dev/sdc oflag=sync</pre> In case your host is a Windows machine, you can use the well-known ''Win32 Disk Imager'' tool. It can be downloaded [https://sourceforge.net/projects/win32diskimager/ here].  [[File:Sbclynx-debian-disk-imager-win.png|thumb|center|600px|''Win32 Disk Imager'' tool]]  After installing it, open it and (see also the image above):#select the raw image file#select the drive letter of the microSD card#press ''Write''.
==Adding packages==
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 [https://wiki.debian.org/Apt <code>apt</code>] and [https://packaging.python.org <code>pip</code>].
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), <code>nano</code> text editor can be used:
[ Wrote 9 lines ]
</pre>
Please note the that these changes will take effect after rebooting the machine. 
DNS server has also to be enabled, in order to resolve URLs. Again, <code>nano</code> comes to help:
</pre>
 
You can finally install the desired packages, as shown in the following examples:
Successfully installed autobahn six txaio
Cleaning up...
</pre>
===List of installed packages===
====deb packages====
Please click on the ''Expand'' button to see the list of the installed deb packages.
<pre class="board-terminal mw-collapsible mw-collapsed">
root@arm:~# dpkg -l
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
</pre>
====pip packages====
Please click on the ''Expand'' button to see the list of the installed pip packages.
<pre class="board-terminal mw-collapsible mw-collapsed">
root@arm:~# pip freeze
Automat==0.5.0
Jinja2==2.9.5
MarkupSafe==1.0
PyNaCl==1.0.1
PyQRCode==1.2.1
PyTrie==0.3
PyYAML==3.12
Pygments==2.2.0
Pynetinfo==0.2.3
Twisted==17.1.0
appdirs==1.4.3
argh==0.26.2
argparse==1.2.1
attrs==16.3.0
autobahn==0.17.2
bitstring==3.1.5
bluepy==1.0.5
cbor==1.0.0
cffi==1.9.1
chardet==2.3.0
click==6.7
colorama==0.3.2
constantly==15.1.0
crossbar==17.2.1
cryptography==1.7.2
enum34==1.1.6
html5lib==0.999
idna==2.5
incremental==16.10.1
ipaddress==1.0.18
lmdb==0.92
mistune==0.7.3
ndg-httpsclient==0.3.2
netaddr==0.7.19
packaging==16.8
pathtools==0.1.2
ply==3.4
psutil==5.2.0
py-ubjson==0.8.5
pyOpenSSL==16.2.0
pyasn1==0.2.3
pyasn1-modules==0.0.8
pycparser==2.17
pyparsing==2.1.10
requests==2.4.3
sdnotify==0.3.1
service-identity==16.0.0
setproctitle==1.1.10
shutilwhich==1.1.0
six==1.10.0
sortedcontainers==1.5.7
suds==0.4.1
treq==16.12.0
txaio==2.6.1
u-msgpack-python==2.3.0
urllib3==1.9.1
virtualenv==1.7.1.2
watchdog==0.8.3
wheel==0.24.0
wsgiref==0.1.2
zope.interface==4.3.3
</pre>
 
==Notes about physical interfaces==
In principle, the physical interfaces can be accessed the same way as described for the [[Physical_devices_mapping_(XUELK)|Yocto root file system]]. However, some of them require a different approach. For more details, please refer to the following sections.
===Ethernet===
See [[#Adding packages|this section]].
 
===Bluetooth and WiFi===
The root file system contains the same calibration file indicated [[XUELK-AN-001:_Using_WiFi-Bluetooth_combo_plugin_with_SBC_Lynx#Calibration|here]].
====Bluetooth====
The following script can be run to enable the Bluetooth controller:
<pre class="board-terminal">
root@arm:~# ./test/dwm_bt_init.sh
Found a Texas Instruments' chip!
Firmware file : /lib/firmware/ti-connectivity/TIInit_7.6.15.bts
Loaded BTS script version 1
texas: changing baud rate to 3000000, flow control to 1
Device setup complete
Devices:
hci0 88:33:14:5E:30:60
</pre>
Once the <code>hci</code> interface is enabled, <code>hcitool</code> or other tools can be used to access it:
<pre class="board-terminal">
root@arm:~# hcitool scan
Scanning ...
yy:yy:yy:yy:yy:yy device1
zz:zz:zz:zz:zz:zz device2
</pre>
 
====WiFi (client mode)====
The procedure here described can be used to connect to an Access Point, using the WPA2/PSK security protocol with network address given by the AP via DHCP. User can also follow [https://wiki.debian.org/WiFi/HowToUse#Command_Line this guide from Debian Wiki] for a generic approach.
 
As the WiFi driver is not statically linked to the kernel image, it is necessary to load the module first. This operation is done automatically upon boot, as the module is listed in <code>/etc/modules</code>:
<pre class="board-terminal">
root@arm:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
 
wl12xx
</pre>
 
In case you need to unload/load the module manually, the following commands can be used:
<pre class="board-terminal">
root@arm:~# rmmod wl12xx
root@arm:~# modprobe wl12xx
root@arm:~# [ 2751.040431] wlcore: loaded
</pre>
 
Once the WiFi module is loaded, it's time to configure the interface: first of all we need to fix interface renaming with the following command:
<pre class="board-terminal">
root@arm:~# ln -s /dev/null /etc/systemd/network/99-default.link
</pre>
 
Generate the PSK from the ESSID and the clear text passphrase using <code>wpa_passphrase</code> tool:
<pre class="board-terminal">
root@arm:~# wpa_passphrase SSID_ZyXEL_WPA2
# reading passphrase from stdin
ZyXEL-WPA2-PSK
network={
ssid="SSID_ZyXEL_WPA2"
#psk="ZyXEL-WPA2-PSK"
psk=ec41b79ebdf10022908aa10189b0341f095fd62eeb719a67c5c920e0cde28564
}
</pre>
 
Edit <code>/etc/network/interfaces</code> and change the <code>wlan0</code> configuration as follows, by entering the <code>ssid</code> and <code>psk</code> generated above:
<pre class="board-terminal">
auto wlan0
iface wlan0 inet dhcp
wpa-ssid SSID_ZyXEL_WPA2
wpa-psk
ec41b79ebdf10022908aa10189b0341f095fd62eeb719a67c5c920e0cde28564
</pre>
 
User can now restart <code>systemd</code> networking service with:
<pre class="board-terminal">
systemctl restart networking
</pre>
 
Now you can check the system configuration using standard tools (<code>route</code>, <code>ifconfig</code>, <code>iw</code>). E.g. to check the WiFi link status use:
<pre class="board-terminal">
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
</pre>All of the above configuration are persistent at reboots and automatically started by <code>systemd</code> at boot time.
 
==Miscellaneous configurations==
===<code>ssh</code> server===
The configuration file <code>/etc/ssh/sshd_config</code> is set to permit <code>root</code> user to log in.
===Installing MySQL server with remote access===
This section shows how to install MySQL server and how to enable remote access for <code>root</code> user.
{{ImportantMessage|text=From a security standpoint, giving <code>root</code> user logon permission from any host may be dangerous.
}}
 
 
Firstly, install the <code>mysql-server</code> package. During the installation process, you will set the password for the <code>root</code> user:
<pre class="board-terminal">
root@arm:~# sudo apt-get update
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
...
Reading package lists... Done
root@arm:~# sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
...
After this operation, 85.1 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://security.debian.org/ jessie/updates/main mysql-common all 5.5.54-0+deb8u1 [81.2 kB]
...
Configuring mysql-server-5.5
----------------------------
 
While not mandatory, it is highly recommended that you set a password for the
MySQL administrative "root" user.
 
If this field is left blank, the password will not be changed.
 
New password for the MySQL "root" user:
 
 
 
Repeat password for the MySQL "root" user:
 
 
Selecting previously unselected package libaio1:armhf.
...
Processing triggers for systemd (230-7~bpo8+2) ...
root@arm:~#
</pre>
 
 
Verify the server is up and running:
<pre class="board-terminal">
root@arm:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 43
Server version: 5.5.54-0+deb8u1 (Debian)
 
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
 
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
 
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
 
mysql> exit
Bye
root@arm:~#
</pre>
 
 
Edit the <code>/etc/mysql/my.cnf</code> file in order to comment out the following lines:
<pre class="board-terminal">
#bind-address = 127.0.0.1
#skip-networking
</pre>
 
 
Restart the server to make the changes take effect:
<pre class="board-terminal">
root@arm:~# service mysql restart
</pre>
 
 
Access MySQL server locally and issue the commands shown below:
<pre class="board-terminal">
root@arm:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 37
Server version: 5.5.54-0+deb8u1 (Debian)
 
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
 
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
 
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
 
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
Query OK, 0 rows affected (0.01 sec)
 
mysql> SELECT * from information_schema.user_privileges where grantee like "'root'%";
+--------------------+---------------+-------------------------+--------------+
| GRANTEE | TABLE_CATALOG | PRIVILEGE_TYPE | IS_GRANTABLE |
+--------------------+---------------+-------------------------+--------------+
| 'root'@'localhost' | def | SELECT | YES |
| 'root'@'localhost' | def | INSERT | YES |
| 'root'@'localhost' | def | UPDATE | YES |
| 'root'@'localhost' | def | DELETE | YES |
| 'root'@'localhost' | def | CREATE | YES |
| 'root'@'localhost' | def | DROP | YES |
| 'root'@'localhost' | def | RELOAD | YES |
| 'root'@'localhost' | def | SHUTDOWN | YES |
| 'root'@'localhost' | def | PROCESS | YES |
| 'root'@'localhost' | def | FILE | YES |
| 'root'@'localhost' | def | REFERENCES | YES |
| 'root'@'localhost' | def | INDEX | YES |
| 'root'@'localhost' | def | ALTER | YES |
| 'root'@'localhost' | def | SHOW DATABASES | YES |
| 'root'@'localhost' | def | SUPER | YES |
| 'root'@'localhost' | def | CREATE TEMPORARY TABLES | YES |
| 'root'@'localhost' | def | LOCK TABLES | YES |
| 'root'@'localhost' | def | EXECUTE | YES |
| 'root'@'localhost' | def | REPLICATION SLAVE | YES |
| 'root'@'localhost' | def | REPLICATION CLIENT | YES |
| 'root'@'localhost' | def | CREATE VIEW | YES |
| 'root'@'localhost' | def | SHOW VIEW | YES |
| 'root'@'localhost' | def | CREATE ROUTINE | YES |
| 'root'@'localhost' | def | ALTER ROUTINE | YES |
| 'root'@'localhost' | def | CREATE USER | YES |
| 'root'@'localhost' | def | EVENT | YES |
| 'root'@'localhost' | def | TRIGGER | YES |
| 'root'@'localhost' | def | CREATE TABLESPACE | YES |
| 'root'@'arm' | def | SELECT | YES |
| 'root'@'arm' | def | INSERT | YES |
| 'root'@'arm' | def | UPDATE | YES |
| 'root'@'arm' | def | DELETE | YES |
| 'root'@'arm' | def | CREATE | YES |
| 'root'@'arm' | def | DROP | YES |
| 'root'@'arm' | def | RELOAD | YES |
| 'root'@'arm' | def | SHUTDOWN | YES |
| 'root'@'arm' | def | PROCESS | YES |
| 'root'@'arm' | def | FILE | YES |
| 'root'@'arm' | def | REFERENCES | YES |
| 'root'@'arm' | def | INDEX | YES |
| 'root'@'arm' | def | ALTER | YES |
| 'root'@'arm' | def | SHOW DATABASES | YES |
| 'root'@'arm' | def | SUPER | YES |
| 'root'@'arm' | def | CREATE TEMPORARY TABLES | YES |
| 'root'@'arm' | def | LOCK TABLES | YES |
| 'root'@'arm' | def | EXECUTE | YES |
| 'root'@'arm' | def | REPLICATION SLAVE | YES |
| 'root'@'arm' | def | REPLICATION CLIENT | YES |
| 'root'@'arm' | def | CREATE VIEW | YES |
| 'root'@'arm' | def | SHOW VIEW | YES |
| 'root'@'arm' | def | CREATE ROUTINE | YES |
| 'root'@'arm' | def | ALTER ROUTINE | YES |
| 'root'@'arm' | def | CREATE USER | YES |
| 'root'@'arm' | def | EVENT | YES |
| 'root'@'arm' | def | TRIGGER | YES |
| 'root'@'arm' | def | CREATE TABLESPACE | YES |
| 'root'@'127.0.0.1' | def | SELECT | YES |
| 'root'@'127.0.0.1' | def | INSERT | YES |
| 'root'@'127.0.0.1' | def | UPDATE | YES |
| 'root'@'127.0.0.1' | def | DELETE | YES |
| 'root'@'127.0.0.1' | def | CREATE | YES |
| 'root'@'127.0.0.1' | def | DROP | YES |
| 'root'@'127.0.0.1' | def | RELOAD | YES |
| 'root'@'127.0.0.1' | def | SHUTDOWN | YES |
| 'root'@'127.0.0.1' | def | PROCESS | YES |
| 'root'@'127.0.0.1' | def | FILE | YES |
| 'root'@'127.0.0.1' | def | REFERENCES | YES |
| 'root'@'127.0.0.1' | def | INDEX | YES |
| 'root'@'127.0.0.1' | def | ALTER | YES |
| 'root'@'127.0.0.1' | def | SHOW DATABASES | YES |
| 'root'@'127.0.0.1' | def | SUPER | YES |
| 'root'@'127.0.0.1' | def | CREATE TEMPORARY TABLES | YES |
| 'root'@'127.0.0.1' | def | LOCK TABLES | YES |
| 'root'@'127.0.0.1' | def | EXECUTE | YES |
| 'root'@'127.0.0.1' | def | REPLICATION SLAVE | YES |
| 'root'@'127.0.0.1' | def | REPLICATION CLIENT | YES |
| 'root'@'127.0.0.1' | def | CREATE VIEW | YES |
| 'root'@'127.0.0.1' | def | SHOW VIEW | YES |
| 'root'@'127.0.0.1' | def | CREATE ROUTINE | YES |
| 'root'@'127.0.0.1' | def | ALTER ROUTINE | YES |
| 'root'@'127.0.0.1' | def | CREATE USER | YES |
| 'root'@'127.0.0.1' | def | EVENT | YES |
| 'root'@'127.0.0.1' | def | TRIGGER | YES |
| 'root'@'127.0.0.1' | def | CREATE TABLESPACE | YES |
| 'root'@'::1' | def | SELECT | YES |
| 'root'@'::1' | def | INSERT | YES |
| 'root'@'::1' | def | UPDATE | YES |
| 'root'@'::1' | def | DELETE | YES |
| 'root'@'::1' | def | CREATE | YES |
| 'root'@'::1' | def | DROP | YES |
| 'root'@'::1' | def | RELOAD | YES |
| 'root'@'::1' | def | SHUTDOWN | YES |
| 'root'@'::1' | def | PROCESS | YES |
| 'root'@'::1' | def | FILE | YES |
| 'root'@'::1' | def | REFERENCES | YES |
| 'root'@'::1' | def | INDEX | YES |
| 'root'@'::1' | def | ALTER | YES |
| 'root'@'::1' | def | SHOW DATABASES | YES |
| 'root'@'::1' | def | SUPER | YES |
| 'root'@'::1' | def | CREATE TEMPORARY TABLES | YES |
| 'root'@'::1' | def | LOCK TABLES | YES |
| 'root'@'::1' | def | EXECUTE | YES |
| 'root'@'::1' | def | REPLICATION SLAVE | YES |
| 'root'@'::1' | def | REPLICATION CLIENT | YES |
| 'root'@'::1' | def | CREATE VIEW | YES |
| 'root'@'::1' | def | SHOW VIEW | YES |
| 'root'@'::1' | def | CREATE ROUTINE | YES |
| 'root'@'::1' | def | ALTER ROUTINE | YES |
| 'root'@'::1' | def | CREATE USER | YES |
| 'root'@'::1' | def | EVENT | YES |
| 'root'@'::1' | def | TRIGGER | YES |
| 'root'@'::1' | def | CREATE TABLESPACE | YES |
| 'root'@'%' | def | SELECT | YES |
| 'root'@'%' | def | INSERT | YES |
| 'root'@'%' | def | UPDATE | YES |
| 'root'@'%' | def | DELETE | YES |
| 'root'@'%' | def | CREATE | YES |
| 'root'@'%' | def | DROP | YES |
| 'root'@'%' | def | RELOAD | YES |
| 'root'@'%' | def | SHUTDOWN | YES |
| 'root'@'%' | def | PROCESS | YES |
| 'root'@'%' | def | FILE | YES |
| 'root'@'%' | def | REFERENCES | YES |
| 'root'@'%' | def | INDEX | YES |
| 'root'@'%' | def | ALTER | YES |
| 'root'@'%' | def | SHOW DATABASES | YES |
| 'root'@'%' | def | SUPER | YES |
| 'root'@'%' | def | CREATE TEMPORARY TABLES | YES |
| 'root'@'%' | def | LOCK TABLES | YES |
| 'root'@'%' | def | EXECUTE | YES |
| 'root'@'%' | def | REPLICATION SLAVE | YES |
| 'root'@'%' | def | REPLICATION CLIENT | YES |
| 'root'@'%' | def | CREATE VIEW | YES |
| 'root'@'%' | def | SHOW VIEW | YES |
| 'root'@'%' | def | CREATE ROUTINE | YES |
| 'root'@'%' | def | ALTER ROUTINE | YES |
| 'root'@'%' | def | CREATE USER | YES |
| 'root'@'%' | def | EVENT | YES |
| 'root'@'%' | def | TRIGGER | YES |
| 'root'@'%' | def | CREATE TABLESPACE | YES |
+--------------------+---------------+-------------------------+--------------+
140 rows in set (0.02 sec)
 
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
 
mysql>
</pre>
 
 
You should be able to access from remote host:
<pre class="board-terminal">
dvdk@osboxes:~$ mysql -u root -ppassword -h 192.168.0.81
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 37
Server version: 5.5.54-0+deb8u1 (Debian)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
</pre>
a000298_approval, dave_user
299
edits

Navigation menu