Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litesom:debian [2019/04/12 13:26]
piotr.figlarek
litesom:debian [2019/06/24 15:04] (current)
piotr.figlarek [Boot Debian on liteboard]
Line 1: Line 1:
 ====== About Debian ====== ====== About Debian ======
 +
 +<columns 100% 10% - ->
 +{{:litesom:debian-logo.png?nolink&100 |}}
 +
 +<newcolumn>
  
 Debian is a Unix-like operating system consisting entirely of free software. Debian is a Unix-like operating system consisting entirely of free software.
Line 10: Line 15:
  
 New distributions are updated continually, and the next candidate is released after a time-based freeze. New distributions are updated continually, and the next candidate is released after a time-based freeze.
 +
 +</columns>
  
 ;;# ;;#
Line 22: Line 29:
  
 <code> <code>
-wget https://static.grinn-global.com/liteboard-debian-stretch-lite-2019-04-12.img.tar.gz+wget https://static.grinn-global.com/liteboard-debian-stretch-lite-2019-04-12.img.tar.gz
 </code> </code>
  
Line 28: Line 35:
  
 <code> <code>
-tar xf liteboard-debian-stretch-lite-2019-04-12.img.tar.gz +tar xf liteboard-debian-stretch-lite-2019-04-12.img.tar.gz 
 </code> </code>
  
Line 34: Line 41:
  
 <code> <code>
-sudo dd if=liteboard-debian-stretch-lite-2019-04-12.img of=/dev/<SD card> bs=4M +sudo dd if=liteboard-debian-stretch-lite-2019-04-12.img of=/dev/<SD card> bs=4M 
-sync+sync
 </code> </code>
  
Line 91: Line 98:
 Insert programmed SD card to the [[litesom:liteboard]] card socket. Insert programmed SD card to the [[litesom:liteboard]] card socket.
  
-Configure [[:litesom:boot switches]] as presented below. +Configure [[:litesom:boot switches]] to boot liteSOM from SD card.
- +
-|< 50% >| +
-^  BMODE0  ^  BMODE1  ^  BT_CFG1[7]  ^  BT_CFG1[6]  ^  BT_CFG1[5]  ^  BT_CFG2[3] +
-|          |    ON    |              |      ON      |              |              | +
-|   OFF    |          |     OFF      |              |     OFF      |     OFF      | +
-^        ^        ^      3            4                  ^            ^+
  
 Connect your [[litesom:liteboard]] to your PC via USB ↔ micro USB cable. Connect your [[litesom:liteboard]] to your PC via USB ↔ micro USB cable.
  
-[[litesom:liteboard]] will be automatically powered-up and on debug console you should see starting Linux, as presented below.+[[litesom:liteboard]] will be automatically powered-up and on debug console you should see starting Debian as presented below.
  
 <button collapse="log">Show log</button>  <button collapse="log">Show log</button> 
 <collapse id="log" collapsed="true"> <collapse id="log" collapsed="true">
 <code> <code>
-U-Boot SPL 2016.09.01 (Feb 04 2017 20:06:45)+U-Boot SPL 2019.01 (Apr 12 2019 13:00:02 +0200)
 Trying to boot from MMC1 Trying to boot from MMC1
  
  
-U-Boot 2016.09.01 (Feb 04 2017 20:06:45 +0100)+U-Boot 2019.01 (Apr 12 2019 13:00:02 +0200)
  
-CPU:   Freescale i.MX6UL rev1.528 MHz (running at 396 MHz) +CPU:   Freescale i.MX6UL rev1.528 MHz (running at 396 MHz) 
-CPU:   Industrial temperature grade (-40C to 105C) at 41C+CPU:   Industrial temperature grade (-40C to 105C) at 36C
 Reset cause: POR Reset cause: POR
 +Model: Grinn i.MX6UL liteBoard
 Board: Grinn liteBoard Board: Grinn liteBoard
-DRAM:  512 MiB+DRAM:  256 MiB
 MMC:   FSL_SDHC: 0, FSL_SDHC: 1 MMC:   FSL_SDHC: 0, FSL_SDHC: 1
-*** Warning - bad CRC, using default environment+Loading Environment from MMC... *** Warning - bad CRC, using default environment
  
 In:    serial In:    serial
Line 125: Line 127:
 switch to partitions #0, OK switch to partitions #0, OK
 mmc0 is current device mmc0 is current device
-Net:   FEC [PRIME] +Net:   eth-1ethernet@02188000
-ErrorFEC address not set. +
 Hit any key to stop autoboot:  1  0  Hit any key to stop autoboot:  1  0 
 switch to partitions #0, OK switch to partitions #0, OK
 mmc0 is current device mmc0 is current device
-reading boot.scr 
 ** Unable to read file boot.scr ** ** Unable to read file boot.scr **
-reading zImage +8253696 bytes read in 374 ms (21 MiB/s)
-6067112 bytes read in 280 ms (20.7 MiB/s)+
 Booting from mmc ... Booting from mmc ...
-reading imx6ul-liteboard.dtb +22494 bytes read in 15 ms (1.MiB/s)
-21018 bytes read in 19 ms (1.MiB/s)+
 ## Flattened Device Tree blob at 83000000 ## Flattened Device Tree blob at 83000000
    Booting using the fdt blob at 0x83000000    Booting using the fdt blob at 0x83000000
-   Using Device Tree in place at 83000000, end 83008219+   Using Device Tree in place at 83000000, end 830087dd
  
 Starting kernel ... Starting kernel ...
  
 [    0.000000] Booting Linux on physical CPU 0x0 [    0.000000] Booting Linux on physical CPU 0x0
-[    0.000000] Linux version 4.8.0 (filug@oxygen) (gcc version 5.4.0 (Buildroot 2016.11.2) ) #1 SMP Sat Feb 4 20:24:00 CET 2017+[    0.000000] Linux version 4.20.0 (filug@grinn218) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #1 SMP Fri Apr 12 13:00:41 CEST 2019
 [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
 [    0.000000] CPU: div instructions available: patching division code [    0.000000] CPU: div instructions available: patching division code
 [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
-[    0.000000] OF: fdt:Machine model: Grinn i.MX6UL liteBoard +[    0.000000] OF: fdt: Machine model: Grinn i.MX6UL liteBoard
-[    0.000000] cma: Reserved 16 MiB at 0x9f000000+
 [    0.000000] Memory policy: Data cache writealloc [    0.000000] Memory policy: Data cache writealloc
-[    0.000000] percpu: Embedded 14 pages/cpu @debcd000 s26024 r8192 d23128 u57344 +[    0.000000] cma: Reserved 16 MiB at 0x8f000000 
-[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048+[    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x478 with crng_init=0 
 +[    0.000000] percpu: Embedded 18 pages/cpu @(ptrval) s41896 r8192 d23640 u73728 
 +[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
 [    0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p2 rootwait rw [    0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p2 rootwait rw
-[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) +[    0.000000] Dentry cache hash table entries: 32768 (order: 5131072 bytes) 
-[    0.000000] Dentry cache hash table entries: 65536 (order: 6262144 bytes) +[    0.000000] Inode-cache hash table entries: 16384 (order: 465536 bytes) 
-[    0.000000] Inode-cache hash table entries: 32768 (order: 5131072 bytes) +[    0.000000] Memory: 218464K/262144K available (11264K kernel code, 819K rwdata, 3468K rodata, 1024K init, 7619K bss, 27296K reserved, 16384K cma-reserved, 0K highmem)
-[    0.000000] Memory: 481192K/524288K available (9216K kernel code, 442K rwdata, 2924K rodata, 1024K init, 8224K bss, 26712K reserved, 16384K cma-reserved, 0K highmem)+
 [    0.000000] Virtual kernel memory layout: [    0.000000] Virtual kernel memory layout:
 [    0.000000]     vector  : 0xffff0000 - 0xffff1000     4 kB) [    0.000000]     vector  : 0xffff0000 - 0xffff1000     4 kB)
 [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB) [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
-[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   496 MB) +[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   752 MB) 
-[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)+[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
 [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000     2 MB) [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000     2 MB)
 [    0.000000]     modules : 0xbf000000 - 0xbfe00000    14 MB) [    0.000000]     modules : 0xbf000000 - 0xbfe00000    14 MB)
-[    0.000000]       .text : 0xc0008000 0xc0a00000   (10208 kB) +[    0.000000]       .text : 0x(ptrval) 0x(ptrval)   (12256 kB) 
-[    0.000000]       .init : 0xc0d00000 0xc0e00000   (1024 kB) +[    0.000000]       .init : 0x(ptrval) 0x(ptrval)   (1024 kB) 
-[    0.000000]       .data : 0xc0e00000 0xc0e6e900   ( 443 kB) +[    0.000000]       .data : 0x(ptrval) 0x(ptrval)   ( 820 kB) 
-[    0.000000]        .bss : 0xc0e70000 0xc16782fc   (8225 kB)+[    0.000000]        .bss : 0x(ptrval) 0x(ptrval)   (7620 kB)
 [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
 [    0.000000] Running RCU self tests [    0.000000] Running RCU self tests
-[    0.000000] Hierarchical RCU implementation. +[    0.000000] rcu: Hierarchical RCU implementation. 
-[    0.000000] RCU lockdep checking is enabled. +[    0.000000] rcu:  RCU event tracing is enabled. 
-[    0.000000] Build-time adjustment of leaf fanout to 32+[    0.000000] rcu:  RCU lockdep checking is enabled
-[    0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1. +[    0.000000] rcu:  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1. 
-[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1 +[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. 
-[    0.000000] NR_IRQS:16 nr_irqs:16 16+[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 
 +[    0.000000] NR_IRQS: 16nr_irqs: 16, preallocated irqs: 16
 [    0.000000] Switching to timer-based delay loop, resolution 41ns [    0.000000] Switching to timer-based delay loop, resolution 41ns
-[    0.000018] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns +[    0.000019] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns 
-[    0.000062] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[    0.000088] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns 
-[    0.002512] Console: colour dummy device 80x30 +[    0.003279] Console: colour dummy device 80x30 
-[    0.002588] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar +[    0.003391] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar 
-[    0.002613] ... MAX_LOCKDEP_SUBCLASSES: +[    0.003441] ... MAX_LOCKDEP_SUBCLASSES: 
-[    0.002636] ... MAX_LOCK_DEPTH:          48 +[    0.003483] ... MAX_LOCK_DEPTH:          48 
-[    0.002655] ... MAX_LOCKDEP_KEYS:        8191 +[    0.003526] ... MAX_LOCKDEP_KEYS:        8191 
-[    0.002676] ... CLASSHASH_SIZE:          4096 +[    0.003564] ... CLASSHASH_SIZE:          4096 
-[    0.002695] ... MAX_LOCKDEP_ENTRIES:     32768 +[    0.003604] ... MAX_LOCKDEP_ENTRIES:     32768 
-[    0.002714] ... MAX_LOCKDEP_CHAINS:      65536 +[    0.003643] ... MAX_LOCKDEP_CHAINS:      65536 
-[    0.002735] ... CHAINHASH_SIZE:          32768 +[    0.003681] ... CHAINHASH_SIZE:          32768 
-[    0.002754]  memory used by lock dependency info: 5167 kB +[    0.003722]  memory used by lock dependency info: 4623 kB 
-[    0.002774]  per task-struct memory footprint: 1536 bytes +[    0.003762]  per task-struct memory footprint: 1536 bytes 
-[    0.002852] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[    0.003994] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) 
-[    0.002897] pid_max: default: 32768 minimum: 301 +[    0.004071] pid_max: default: 32768 minimum: 301 
-[    0.003627] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) +[    0.004960] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) 
-[    0.003666] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) +[    0.005033] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) 
-[    0.007943] CPU: Testing write buffer coherency: ok +[    0.012074] CPU: Testing write buffer coherency: ok 
-[    0.009640] /cpus/cpu@0 missing clock-frequency property +[    0.015137] /cpus/cpu@0 missing clock-frequency property 
-[    0.009692] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 +[    0.015219] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 
-[    0.009759] Setting up static identity map for 0x80100000 - 0x80100070 +[    0.020577] Setting up static identity map for 0x80100000 - 0x80100078 
-[    0.017417] Brought up 1 CPUs +[    0.022225rcu: Hierarchical SRCU implementation. 
-[    0.017462] SMP: Total of 1 processors activated (48.00 BogoMIPS). +[    0.026257] smp: Bringing up secondary CPUs ... 
-[    0.017485] CPU: All CPU(s) started in SVC mode. +[    0.026331] smp: Brought up 1 node, 1 CPU 
-[    0.022198] devtmpfs: initialized +[    0.026382] SMP: Total of 1 processors activated (48.00 BogoMIPS). 
-[    0.064396] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 +[    0.026425] CPU: All CPU(s) started in SVC mode. 
-[    0.066318] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[    0.033464] devtmpfs: initialized 
-[    0.068429] pinctrl core: initialized pinctrl subsystem +[    0.069283] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 
-[    0.076823] NET: Registered protocol family 16 +[    0.071237] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns 
-[    0.083895] DMA: preallocated 256 KiB pool for atomic coherent allocations +[    0.071408] futex hash table entries: 256 (order: 2, 16384 bytes) 
-[    0.088726] cpuidle: using governor menu +[    0.074131] pinctrl core: initialized pinctrl subsystem 
-[    0.174504] No ATAGs? +[    0.085516] NET: Registered protocol family 16 
-[    0.174604] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. +[    0.095834] DMA: preallocated 256 KiB pool for atomic coherent allocations 
-[    0.174638] hw-breakpoint: maximum watchpoint size is 8 bytes. +[    0.103657] cpuidle: using governor menu 
-[    0.181852] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver +[    0.131767] vdd3p0: supplied by regulator-dummy 
-[    0.265788] mxs-dma 1804000.dma-apbh: initialized +[    0.135728] cpu: supplied by regulator-dummy 
-[    0.273720] vgaarb: loaded +[    0.139000] vddsoc: supplied by regulator-dummy 
-[    0.275942] SCSI subsystem initialized +[    0.175226] No ATAGs? 
-[    0.278980] usbcore: registered new interface driver usbfs +[    0.175898] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. 
-[    0.279420] usbcore: registered new interface driver hub +[    0.176147] hw-breakpoint: maximum watchpoint size is 8 bytes. 
-[    0.280001] usbcore: registered new device driver usb +[    0.183846] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver 
-[    0.282657] Linux video capture interface: v2.00 +[    0.322692] mxs-dma 1804000.dma-apbh: initialized 
-[    0.283238] pps_core: LinuxPPS API ver. 1 registered +[    0.326048] regulator-usb-otg1-vbus GPIO handle specifies active low - ignored 
-[    0.283270] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> +[    0.331923] vgaarb: loaded 
-[    0.283572] PTP clock support registered +[    0.334525] SCSI subsystem initialized 
-[    0.285711] Advanced Linux Sound Architecture Driver Initialized. +[    0.338078] usbcore: registered new interface driver usbfs 
-[    0.291962] Bluetooth: Core ver 2.21 +[    0.338628] usbcore: registered new interface driver hub 
-[    0.292210] NET: Registered protocol family 31 +[    0.339289] usbcore: registered new device driver usb 
-[    0.292239] Bluetooth: HCI device and connection manager initialized +[    0.342109videodev: Linux video capture interface: v2.00 
-[    0.292389] Bluetooth: HCI socket layer initialized +[    0.342369] pps_core: LinuxPPS API ver. 1 registered 
-[    0.292458] Bluetooth: L2CAP socket layer initialized +[    0.342426] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> 
-[    0.292906] Bluetooth: SCO socket layer initialized +[    0.342566] PTP clock support registered 
-[    0.300318] clocksource: Switched to clocksource mxc_timer1 +[    0.344524] Advanced Linux Sound Architecture Driver Initialized. 
-[    0.301664] VFS: Disk quotas dquot_6.6.0 +[    0.350984] Bluetooth: Core ver 2.22 
-[    0.301994] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) +[    0.351290] NET: Registered protocol family 31 
-[    0.376072] NET: Registered protocol family 2 +[    0.351346] Bluetooth: HCI device and connection manager initialized 
-[    0.379883] TCP established hash table entries: 4096 (order: 216384 bytes) +[    0.351608] Bluetooth: HCI socket layer initialized 
-[    0.380099] TCP bind hash table entries: 4096 (order: 5147456 bytes) +[    0.351698] Bluetooth: L2CAP socket layer initialized 
-[    0.383962] TCP: Hash tables configured (established 4096 bind 4096+[    0.352023] Bluetooth: SCO socket layer initialized 
-[    0.384361] UDP hash table entries: 256 (order: 2, 20480 bytes) +[    0.357874] clocksource: Switched to clocksource mxc_timer1 
-[    0.384881] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) +[    0.903168] VFS: Disk quotas dquot_6.6.0 
-[    0.387111] NET: Registered protocol family 1 +[    0.903597] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) 
-[    0.389811] RPC: Registered named UNIX socket transport module. +[    0.970784] NET: Registered protocol family 2 
-[    0.389858] RPC: Registered udp transport module. +[    0.975829] tcp_listen_portaddr_hash hash table entries: 128 (order: 0, 5120 bytes) 
-[    0.389886] RPC: Registered tcp transport module. +[    0.975969] TCP established hash table entries: 2048 (order: 18192 bytes) 
-[    0.389912] RPC: Registered tcp NFSv4.1 backchannel transport module. +[    0.976158] TCP bind hash table entries: 2048 (order: 473728 bytes) 
-[    0.399439futex hash table entries256 (order: 216384 bytes) +[    0.976730] TCP: Hash tables configured (established 2048 bind 2048
-[    0.404728] workingset: timestamp_bits=30 max_order=17 bucket_order=0 +[    0.978031] UDP hash table entries: 256 (order: 2, 20480 bytes) 
-[    0.464310] NFS: Registering the id_resolver key type +[    0.978489] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) 
-[    0.464764] Key type id_resolver registered +[    0.979595] NET: Registered protocol family 1 
-[    0.464801] Key type id_legacy registered +[    0.984747] RPC: Registered named UNIX socket transport module. 
-[    0.465108] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. +[    0.984952] RPC: Registered udp transport module. 
-[    0.469829] fuse init (API version 7.25+[    0.985009] RPC: Registered tcp transport module. 
-[    0.493977] io scheduler noop registered +[    0.985057] RPC: Registered tcp NFSv4.1 backchannel transport module. 
-[    0.494026] io scheduler deadline registered +[    0.993661hw perfeventsenabled with armv7_cortex_a7 PMU driver5 counters available 
-[    0.495169] io scheduler cfq registered (default) +[    1.004105] Initialise system trusted keyrings 
-[    0.509189] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2 +[    1.005855] workingset: timestamp_bits=30 max_order=16 bucket_order=0 
-[    0.509257] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware +[    1.053121] NFS: Registering the id_resolver key type 
-[    0.535444] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 18, base_baud = 5000000) is a IMX +[    1.053508] Key type id_resolver registered 
-[    1.201387] console [ttymxc0] enabled +[    1.053705] Key type id_legacy registered 
-[    1.211781] [drm] Initialized drm 1.1.0 20060810 +[    1.054146] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. 
-[    1.302731] brd: module loaded +[    1.058302] fuse init (API version 7.28
-[    1.353229] loop: module loaded +[    1.146046] Key type asymmetric registered 
-[    1.369515] libphy: Fixed MDIO Bus: probed +[    1.146421] Asymmetric key parser 'x509' registered 
-[    1.376830] CAN device driver interface +[    1.146853] io scheduler noop registered 
-[    1.384819] 2188000.ethernet supply phy not found, using dummy regulator +[    1.146919] io scheduler deadline registered 
-[    1.396251] pps pps0: new PPS source ptp0 +[    1.148979] io scheduler cfq registered (default) 
-[    1.401067] fec 2188000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00 +[    1.149055] io scheduler mq-deadline registered 
-[    1.411181] fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 32:c5:1e:80:8a:07 +[    1.149111] io scheduler kyber registered 
-[    1.423701] libphy: fec_enet_mii_bus: probed +[    1.165667] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2 
-[    1.438037] fec 2188000.ethernet eth0: registered PHC device 0 +[    1.166129] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware 
-[    1.447577] usbcore: registered new interface driver asix +[    1.190989] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 21, base_baud = 5000000) is a IMX 
-[    1.453727] usbcore: registered new interface driver ax88179_178a +[    1.943499printk: console [ttymxc0] enabled 
-[    1.460557] usbcore: registered new interface driver cdc_ether +[    2.033395] brd: module loaded 
-[    1.466775] usbcore: registered new interface driver net1080 +[    2.099646] loop: module loaded 
-[    1.473037] usbcore: registered new interface driver cdc_subset +[    2.117295] libphy: Fixed MDIO Bus: probed 
-[    1.479324] usbcore: registered new interface driver zaurus +[    2.124242] CAN device driver interface 
-[    1.485665] usbcore: registered new interface driver cdc_ncm +[    2.132854fec 2188000.ethernet: 2188000.ethernet supply phy not found, using dummy regulator 
-[    1.491469] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[    2.142884] fec 2188000.ethernet: Linked as a consumer to regulator.0 
-[    1.498046] ehci-pci: EHCI PCI platform driver +[    2.154731] pps pps0: new PPS source ptp0 
-[    1.502930] ehci-mxc: Freescale On-Chip EHCI Host driver +[    2.159874] fec 2188000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00 
-[    1.509848] usbcore: registered new interface driver usb-storage +[    2.170131] fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 2e:a7:8a:51:7c:f1 
-[    1.527647] ci_hdrc ci_hdrc.0: EHCI Host Controller +[    2.182517] libphy: fec_enet_mii_bus: probed 
-[    1.533524] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1 +[    2.194401] fec 2188000.ethernet eth0: registered PHC device 0 
-[    1.570446] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00 +[    2.204523] usbcore: registered new interface driver asix 
-[    1.585297] hub 1-0:1.0: USB hub found +[    2.210959] usbcore: registered new interface driver ax88179_178a 
-[    1.589582] hub 1-0:1.0: 1 port detected +[    2.217432] usbcore: registered new interface driver cdc_ether 
-[    1.604334] mousedev: PS/mouse device common for all mice +[    2.224158] usbcore: registered new interface driver net1080 
-[    1.615129] input: 20cc000.snvs:snvs-powerkey as /devices/soc0/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0 +[    2.230621] usbcore: registered new interface driver cdc_subset 
-[    1.641213] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-as rtc0 +[    2.236907] usbcore: registered new interface driver zaurus 
-[    1.650564] i2c /dev entries driver +[    2.243371] usbcore: registered new interface driver cdc_ncm 
-[    1.655814] IR NEC protocol handler initialized +[    2.249391] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver 
-[    1.660536] IR RC5(x/sz) protocol handler initialized +[    2.256022] ehci-pci: EHCI PCI platform driver 
-[    1.665640] IR RC6 protocol handler initialized +[    2.261098] ehci-mxc: Freescale On-Chip EHCI Host driver 
-[    1.670282] IR JVC protocol handler initialized +[    2.268197] usbcore: registered new interface driver usb-storage 
-[    1.674860] IR Sony protocol handler initialized +[    2.281181] imx_usb 2184000.usb: Linked as a consumer to regulator.4 
-[    1.679517] IR SANYO protocol handler initialized +[    2.292988] ci_hdrc ci_hdrc.0: EHCI Host Controller 
-[    1.684324] IR Sharp protocol handler initialized +[    2.299830] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1 
-[    1.689075] IR MCE Keyboard/mouse protocol handler initialized +[    2.338044] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00 
-[    1.695005] IR XMP protocol handler initialized +[    2.355171] hub 1-0:1.0: USB hub found 
-[    1.715093] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0) +[    2.360190] hub 1-0:1.0: 1 port detected 
-[    1.721581] Bluetooth: HCI UART driver ver 2.3 +[    2.380698] input: 20cc000.snvs:snvs-powerkey as /devices/soc0/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0 
-[    1.726086] Bluetooth: HCI UART protocol H4 registered +[    2.406818] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-rtc-lp as rtc0 
-[    1.731355] Bluetooth: HCI UART protocol LL registered +[    2.417119] i2c /dev entries driver 
-[    1.738489] sdhci: Secure Digital Host Controller Interface driver +[    2.434580] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0) 
-[    1.744810] sdhci: Copyright(c) Pierre Ossman +[    2.441359] Bluetooth: HCI UART driver ver 2.3 
-[    1.749210] sdhci-pltfm: SDHCI platform and OF driver helper +[    2.445918] Bluetooth: HCI UART protocol H4 registered 
-[    1.757736] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO +[    2.453440] sdhci: Secure Digital Host Controller Interface driver 
-[    1.831511] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA +[    2.459900] sdhci: Copyright(c) Pierre Ossman 
-[    1.909486mmc0host does not support reading read-only switch, assuming write-enable +[    2.464355] sdhci-pltfm: SDHCI platform and OF driver helper 
-[    1.917756] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA +[    2.473103] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO 
-[    1.942997] mmc0: new high speed SDHC card at address 1234 +[    2.526870] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA 
-[    1.978846usbcoreregistered new interface driver usbhid +[    2.541166randomfast init done 
-[    1.984608usbhidUSB HID core driver +[    2.584007] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA 
-[    1.995026] mmcblk0: mmc0:1234 SA04G 3.64 GiB  +[    2.591934] mmc0: host does not support reading read-only switch, assuming write-enable 
-[    2.010527]  mmcblk0: p1 p2 +[    2.617301] mmc0: new high speed SDHC card at address 1234 
-[    2.040427randomfast init done +[    2.629290caam 2140000.caamEntropy delay = 3200 
-[    2.055771NETRegistered protocol family 10 +[    2.634658caam 2140000.caamInstantiated RNG4 SH0 
-[    2.060674] mmc1: new DDR MMC card at address 0001 +[    2.695422] caam 2140000.caam: Instantiated RNG4 SH1 
-[    2.072232] mmcblk1: mmc1:0001 MMC02G 1.79 GiB  +[    2.700633] caam 2140000.caam: device ID = 0x0a16030000000000 (Era 8) 
-[    2.082455] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver +[    2.707170] caam 2140000.caam: job rings = 3, qi = 0 
-[    2.092614mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB +[    2.723310] mmcblk0: mmc0:1234 SA04G 3.64 GiB  
-[    2.103998] NET: Registered protocol family 17 +[    2.752315]  mmcblk0: p1 p2 
-[    2.108594] can: controller area network core (rev 20120528 abi 9) +[    2.883886caam algorithms registered in /proc/crypto 
-[    2.115230] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB +[    2.915096] caam_jr 2141000.jr0registering rng-caam 
-[    2.123273] mmcblk1rpmb: mmc1:0001 MMC02G partition 128 KiB +[    2.925725caam 2140000.caamcaam pkc algorithms registered in /proc/crypto 
-[    2.135563] NET: Registered protocol family 29 +[    2.939519] usbcore: registered new interface driver usbhid 
-[    2.145289] can: raw protocol (rev 20120528+[    2.945254] usbhid: USB HID core driver 
-[    2.149873] can: broadcast manager protocol (rev 20160617 t) +[    2.966331] mmc1: new DDR MMC card at address 0001 
-[    2.168115] can: netlink gateway (rev 20130117) max_hops=1 +[    2.982637] mmcblk1: mmc1:0001 MMC02G 1.79 GiB  
-[    2.175783] Key type dns_resolver registered +[    3.000468] NET: Registered protocol family 10 
-[    2.183776] cpu cpu0: dev_pm_opp_get_opp_count: OPP table not found (-19) +[    3.010613] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB 
-[    2.196849] Registering SWP/SWPB emulation handler +[    3.020143] mmcblk1boot1: mmc1:0001 MMC02G partition 1.00 MiB 
-[    2.213038] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:58 UTC (58+[    3.032730] Segment Routing with IPv6 
-[    2.302257vdd3p0disabling +[    3.037107] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver 
-[    2.306262] ALSA device list: +[    3.044237mmcblk1rpmb: mmc1:0001 MMC02G partition 3 128 KiB, chardev (247:0) 
-[    2.309265]   No soundcards found. +[    3.056147] NET: Registered protocol family 17 
-[    2.327776EXT4-fs (mmcblk0p2)couldn't mount as ext3 due to feature incompatibilities +[    3.065173] can: controller area network core (rev 20170425 abi 9) 
-[    2.481623EXT4-fs (mmcblk0p2)recovery complete +[    3.078571] NET: Registered protocol family 29 
-[    2.490129] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) +[    3.083162] can: raw protocol (rev 20170425
-[    2.498590] VFS: Mounted root (ext4 filesystem) on device 179:2. +[    3.088161] can: broadcast manager protocol (rev 20170425 t) 
-[    2.507925] devtmpfs: mounted +[    3.106025] can: netlink gateway (rev 20170425) max_hops=1 
-[    2.514513] Freeing unused kernel memory: 1024K (c0d00000 c0e00000+[    3.113009] Key type dns_resolver registered 
-[    2.658588] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro,data=ordered +[    3.121484] cpu cpu0: Linked as a consumer to regulator.2 
-Starting logging: OK +[    3.128241] cpu cpu0: Linked as a consumer to regulator.3 
-Initializing random number generator... done+[    3.145496] Registering SWP/SWPB emulation handler 
-Starting network[    3.352162] Generic PHY 2188000.ethernet:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1+[    3.156175] Loading compiled-in X.509 certificates 
-   3.364245] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready +[    3.306130] imx_thermal tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C 
-udhcpcstartedv1.25.1 +[    3.321611] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0
-udhcpcsending discover +[    3.331434cfg80211Loading compiled-in X.509 certificates for regulatory database 
-udhcpcsending discover +[    3.348755] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' 
-udhcpcsending discover +[    3.357071] ALSA device list: 
-udhcpcno lease, failing +[    3.360419]   No soundcards found. 
-FAIL+[    3.365326platform regulatory.0Direct firmware load for regulatory.db failed with error -2 
 +[    3.384225cfg80211failed to load regulatory.db 
 +[    3.473681] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) 
 +[    3.482473] VFS: Mounted root (ext4 filesystem) on device 179:2. 
 +[    3.495950] devtmpfs: mounted 
 +[    3.502943] Freeing unused kernel memory: 1024K 
 +[    3.509082] Run /sbin/init as init process 
 +[    4.464537] systemd[1]: System time before build time, advancing clock. 
 +[    4.613840] random: systemd: uninitialized urandom read (16 bytes read) 
 +[    4.638243] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) 
 +[    4.661245] systemd[1]: Detected architecture arm. 
 + 
 +Welcome to Debian GNU/Linux 9 (stretch)! 
 + 
 +[    4.682197] systemd[1]: Set hostname to <liteboard>
 +[    4.838565] random: systemd: uninitialized urandom read (16 bytes read) 
 +[    5.168698] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read
 +[    6.082142] systemd[1]: Created slice System Slice. 
 +[  OK  ] Created slice System Slice. 
 +[    6.130330] systemd[1]: Listening on fsck to fsckd communication Socket. 
 +[  OK  ] Listening on fsck to fsckd communication Socket. 
 +[    6.178865] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. 
 +[  OK  ] Started Dispatch Password Requests to Console Directory Watch. 
 +[    6.235792] systemd[1]: Listening on Journal Socket (/dev/log). 
 +[  OK  ] Listening on Journal Socket (/dev/log). 
 +[    6.260654] systemd[1]: Created slice system-serial\x2dgetty.slice. 
 +[  OK  ] Created slice system-serial\x2dgetty.slice. 
 +[    6.283772] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. 
 +[  OK  ] Listening on /dev/initctl Compatibility Named Pipe. 
 +[    6.373754] systemd[1]: Created slice system-getty.slice. 
 +[  OK  ] Created slice system-getty.slice. 
 +[  OK  ] Set up automount Arbitrary Executab…rmats File System Automount Point. 
 +[  OK  ] Started Forward Password Requests to Wall Directory Watch. 
 +[  OK  ] Reached target Encrypted Volumes. 
 +[  OK  ] Reached target Paths. 
 +[  OK  ] Reached target Swap. 
 +[  OK  ] Listening on Journal Socket. 
 +         Starting Journal Service... 
 +         Starting Load Kernel Modules... 
 +         Starting Remount Root and Kernel File Systems... 
 +[  OK  ] Listening on udev Control Socket. 
 +[  OK  ] Reached target Slices. 
 +         Starting Create Static Device Nodes in /dev... 
 +[  OK  ] Reached target Remote File Systems. 
 +[  OK  ] Listening on udev Kernel Socket. 
 +[  OK  ] Reached target Sockets. 
 +         Mounting Debug File System... 
 +[  OK  ] Started Load Kernel Modules. 
 +[  OK  ] Mounted Debug File System. 
 +[    7.312980] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro 
 +[  OK  ] Started Remount Root and Kernel File Systems. 
 +[  OK  ] Started Create Static Device Nodes in /dev. 
 +         Starting udev Kernel Device Manager... 
 +         Starting Load/Save Random Seed... 
 +[  OK  ] Reached target Local File Systems (Pre). 
 +[  OK  ] Reached target Local File Systems. 
 +         Starting udev Coldplug all Devices... 
 +         Starting Apply Kernel Variables... 
 +         Mounting FUSE Control File System... 
 +[  OK  ] Started Load/Save Random Seed. 
 +[  OK  ] Mounted FUSE Control File System. 
 +[  OK  ] Started Apply Kernel Variables. 
 +         Starting Raise network interfaces... 
 +[  OK  ] Started udev Kernel Device Manager. 
 +[  OK  ] Started Journal Service. 
 +         Starting Flush Journal to Persistent Storage... 
 +[    9.026736] systemd-journald[214]: Received request to flush runtime journal from PID 1 
 +[  OK  ] Started Flush Journal to Persistent Storage. 
 +         Starting Create Volatile Files and Directories... 
 +[  OK  ] Started Create Volatile Files and Directories. 
 +         Starting Update UTMP about System Boot/Shutdown... 
 +         Starting Network Time Synchronization... 
 +[  OK  ] Started Update UTMP about System Boot/Shutdown. 
 +[  OK  ] Started Network Time Synchronization. 
 +[  OK  ] Reached target System Time Synchronized. 
 +[   12.140308] Generic PHY 2188000.ethernet-1:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=POLL
 +  12.223001] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready 
 +[   14.330703] fec 2188000.ethernet eth0Link is Up - 100Mbps/Full - flow control off 
 +[   14.386556] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready 
 +[  OK  ] Found device /dev/ttymxc0. 
 +[  OK  ] Started udev Coldplug all Devices. 
 +[  OK  ] Reached target System Initialization. 
 +[  OK  ] Started Daily apt download activities. 
 +[  OK  ] Started Daily apt upgrade and clean activities. 
 +[  OK  ] Reached target Basic System. 
 +[  OK  ] Started Daily Cleanup of Temporary Directories. 
 +[  OK  ] Reached target Timers. 
 +         Starting getty on tty2-tty6 if dbus and logind are not available... 
 +[  OK  ] Started getty on tty2-tty6 if dbus and logind are not available. 
 +[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. 
 +[  OK  ] Started ifup for eth0. 
 +         Stopping Network Time Synchronization... 
 +[  OK  ] Stopped Network Time Synchronization. 
 +         Starting Network Time Synchronization... 
 +[  OK  ] Started Network Time Synchronization. 
 +         Stopping Network Time Synchronization... 
 +[  OK  ] Stopped Network Time Synchronization. 
 +         Starting Network Time Synchronization... 
 +[  OK  ] Started Network Time Synchronization. 
 +[  OK  ] Started Raise network interfaces. 
 +[  OK  ] Reached target Network. 
 +         Starting Permit User Sessions... 
 +[  OK  ] Reached target Network is Online. 
 +         Starting Daily apt download activities... 
 +[  OK  ] Started Permit User Sessions. 
 +[  OK  ] Started Getty on tty3. 
 +[  OK  ] Started Getty on tty6. 
 +[  OK  ] Started Getty on tty5. 
 +[  OK  ] Started Getty on tty2. 
 +[  OK  ] Started Serial Getty on ttymxc0. 
 +[  OK  ] Started Getty on tty4. 
 +[  OK  ] Started Getty on tty1. 
 +[  OK  ] Reached target Login Prompts. 
 +[  OK  ] Reached target Multi-User System. 
 +[  OK  ] Reached target Graphical Interface. 
 +         Starting Update UTMP about System Runlevel Changes... 
 +         Stopping Network Time Synchronization... 
 +[  OK  ] Stopped Network Time Synchronization. 
 +[  OK  ] Started Update UTMP about System Runlevel Changes. 
 +         Starting Network Time Synchronization... 
 +[  OK  ] Started Network Time Synchronization. 
 +[  OK  ] Started Daily apt download activities. 
 +         Starting Daily apt upgrade and clean activities... 
 + 
 +Debian GNU/Linux 9 liteboard ttymxc0 
 + 
 +liteboard login:  
 +</code> 
 +</collapse> 
 + 
 +Default user is ''root'' (no password needed). 
 + 
 +==== Resize rootfs ==== 
 + 
 +You can use ''rootfs-resize'' command to increase size of root filesystem on your SD card. 
 + 
 +<code> 
 +# rootfs-resize 
 +</code> 
 + 
 +<button collapse="resize">Show log</button>  
 +<collapse id="resize" collapsed="true"> 
 +<code> 
 +root@liteboard:~# rootfs-resize  
 +Backup files: 
 +         MBR (offset     0size   512): /tmp/rootfs-resize-backup-mmcblk0-0x00000000.bak 
 + 
 +Disk /dev/mmcblk0: 3.7 GiB, 3904897024 bytes, 7626752 sectors 
 +Units: sectors of * 512 = 512 bytes 
 +Sector size (logical/physical)512 bytes / 512 bytes 
 +I/O size (minimum/optimal)512 bytes / 512 bytes 
 +Disklabel typedos 
 +Disk identifier0x00000000 
 + 
 +Old situation: 
 + 
 +Device         Boot Start    End Sectors  Size Id Type 
 +/dev/mmcblk0p1 *    16384  49151   32768   16M  c W95 FAT32 (LBA) 
 +/dev/mmcblk0p2      49152 573439  524288  256M 83 Linux 
 + 
 +>>> Script header accepted. 
 +>>> Script header accepted. 
 +>>> Script header accepted. 
 +>>> Script header accepted. 
 +>>> Created a new DOS disklabel with disk identifier 0x00000000. 
 +/dev/mmcblk0p1: Created a new partition 1 of type 'W95 FAT32 (LBA)' and of size 16 MiB. 
 +Partition #1 contains a vfat signature. 
 +/dev/mmcblk0p2: Created a new partition 2 of type 'Linux' and of size 3.6 GiB. 
 +Partition #2 contains a ext4 signature. 
 +/dev/mmcblk0p3: Done. 
 + 
 +New situation: 
 + 
 +Device         Boot Start     End Sectors  Size Id Type 
 +/dev/mmcblk0p1 *    16384   49151   32768   16M  c W95 FAT32 (LBA) 
 +/dev/mmcblk0p2      49152 7626751 7577600  3.6G 83 Linux
  
-Welcome to Buildroot +The partition table has been altered. 
-buildroot login+Calling ioctl() to re-read partition table. 
 +Re-reading the partition table failed.Device or resource busy 
 +The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8). 
 +Syncing disks. 
 +resize2fs 1.43.4 (31-Jan-2017) 
 +Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required 
 +old_desc_blocks = 2, new[  526.821101] EXT4-fs (mmcblk0p2): resizing filesystem from 262144 to 3788800 blocks 
 +_desc_blocks = 29 
 +[  530.024573] EXT4-fs (mmcblk0p2): resized filesystem to 3788800 
 +The filesystem on /dev/mmcblk0p2 is now 3788800 (1k) blocks long.
 </code> </code>
 </collapse> </collapse>
  
-With default configuration you can log as a ''root'' (no password needed) and start to use your [[litesom::liteboard]].+Now your board is ready to work!
  • litesom/debian.1555075610.txt.gz
  • Last modified: 2019/04/12 13:26
  • by piotr.figlarek