GR8: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
No edit summary
(can haz root)
Line 213: Line 213:


so once again this says it's ready to <s>work</s> roll, however still you can't tell anything from the usb connection or a blinky led even. connected to a USB/UART serial interface, and jack shit on power up.
so once again this says it's ready to <s>work</s> roll, however still you can't tell anything from the usb connection or a blinky led even. connected to a USB/UART serial interface, and jack shit on power up.
'''going back to beginning and starting all over'''
running chromium on arch linux with "sudo chromium --no-sandbox", able to use "stable-chip-pro-debian-b2-Toshiba_512M_SLC.chp" aka: debian (DEPRECATED) with https://flash.getchip.com/pro
following is dump of serial while flashing was in progress.
<pre>
going to fastboot mode
musb-hdrc: peripheral reset irq lost!
Starting download of 33292340 bytes
...........................................New offset 0x4f80000
........ wrote 8128 blocks to 'UBI'
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0x4f80000 (ID: 2)
start 0x4f80 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0x4f80000
New offset 0x6f40000
........ wrote 8128 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0x6f40000 (ID: 3)
start 0x6f40 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0x6f40000
New offset 0x8f00000
........ wrote 8128 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0x8f00000 (ID: 4)
start 0x8f00 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0x8f00000
New offset 0xaec0000
........ wrote 8128 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0xaec0000 (ID: 5)
start 0xaec0 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0xaec0000
New offset 0xce80000
........ wrote 8128 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
Starting download of 4980788 bytes
......................................
downloading of 4980788 bytes finished
Flashing sparse image on partition UBI at offset 0xce80000 (ID: 6)
start 0xce80 blkcnt 0x4c0 partition 0x1000 size 0x1f000
Writing at offset 0xce80000
New offset 0xd340000
........ wrote 1216 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
</pre>
device still acts as if it is bricked, no output on serial after restarting.
found reference to a nand scrub command (https://bbs.nextthing.co/t/c-h-i-p-pro-cant-flash-and-cant-boot/17714/3) and re-ran flasher using https://flash.getchip.com/pro?scrub which seems to do a clear erase of nand flash per the serial output, note that "fel" button was held down per usual flashing routine while device was plugged into host computer usb.
<pre>
U-Boot SPL 2016.01 (Oct 07 2016 - 14:22:25)
DRAM: 256 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from
U-Boot 2016.01-00012-g1708aea-dirty (Mar 01 2017 - 17:28:04 -0800) Allwinner Technology
CPU:  Allwinner A13 (SUN5I)
I2C:  ready
DRAM:  256 MiB
NAND:  512 MiB
video-mode 720x480-24@60 not available, falling back to 1024x768-24@60
Setting up a 720x480i composite-ntsc console (overscan 40x20)
In:    serial
Out:  serial
Err:  serial
Net:  usb_ether
starting USB...
No controllers found
Hit any key to stop autoboot:  0
## Error: "test_fastboot" not defined
(FEL boot)
## Executing script at 43100000
Executing custom command
NAND scrub.chip: device 0 whole chip
Erasing at 0x17fc0000 --  75% complete.
nand0: MTD Erase failure: -5
nand0: MTD Erase failure: -5
Erasing at 0x1ffc0000 -- 100% complete.
OK
resetting ...
</pre>
now that can haz scrubbed memory chip, re-ran regular procedure of flashing from chromium. start to finish serial dump follows
<pre>
U-Boot SPL 2016.01-00088-g99c771f (Dec 22 2016 - 11:58:20)
DRAM: 256 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from
U-Boot 2016.01-00088-g99c771f (Dec 22 2016 - 11:58:20 -0800) Allwinner Technology
CPU:  Allwinner A13 (SUN5I)
I2C:  ready
DRAM:  256 MiB
NAND:  512 MiB
*** Warning - bad CRC, using default environment
video-mode 720x480-24@60 not available, falling back to 1024x768-24@60
Setting up a 720x480i composite-ntsc console (overscan 40x20)
In:    serial
Out:  vga
Err:  vga
Net:  usb_ether
starting USB...
No controllers found
Hit any key to stop autoboot:  0
(FEL boot)
## Executing script at 43100000
NAND erase.chip: device 0 whole chip
Skipping bad block at  0x18000000                                         
Skipping bad block at  0x18040000                                         
Erasing at 0x1ffc0000 -- 100% complete.
OK
 
NAND write:  174080 bytes written: OK
NAND write:  174080 bytes written: OK
NAND write: device 0 offset 0x800000, size 0xc0000
786432 bytes written: OK
Enabling Splash
Configuring Video Mode
Saving Environment to NAND...
Erasing NAND...
Erasing at 0xfc0000 -- 100% complete.
Writing to NAND... OK
going to fastboot mode
musb-hdrc: peripheral reset irq lost!
Starting download of 33292340 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292340 bytes finished
Flashing sparse image on partition UBI at offset 0x1000000 (ID: 0)
start 0x1000 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0x1000000
New offset 0x2fc0000
........ wrote 8128 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0x2fc0000 (ID: 1)
start 0x2fc0 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0x2fc0000
New offset 0x4f80000
........ wrote 8128 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0x4f80000 (ID: 2)
start 0x4f80 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0x4f80000
New offset 0x6f40000
........ wrote 8128 blocks to 'UBI'
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0x6f40000 (ID: 3)
start 0x6f40 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0x6f40000
New offset 0x8f00000
........ wrote 8128 blocks to 'UBI'
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0x8f00000 (ID: 4)
start 0x8f00 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0x8f00000
New offset 0xaec0000
........ wrote 8128 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0xaec0000 (ID: 5)
start 0xaec0 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0xaec0000
New offset 0xce80000
........ wrote 8128 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
Starting download of 4980788 bytes
......................................
downloading of 4980788 bytes finished
Flashing sparse image on partition UBI at offset 0xce80000 (ID: 6)
start 0xce80 blkcnt 0x4c0 partition 0x1000 size 0x1f000
Writing at offset 0xce80000
New offset 0xd340000
........ wrote 1216 blocks to 'UBI'
</pre>
unplugged from usb, and replugged, without holding "fel" button, and connecting TX1/RX1/GND via separate USB/UART serial connection.
'''w00t something worked'''
<pre>
U-Boot SPL 2016.01-00088-g99c771f (Dec 22 2016 - 11:58:20)
DRAM: 256 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from NAND
U-Boot 2016.01-00088-g99c771f (Dec 22 2016 - 11:58:20 -0800) Allwinner Technology
CPU:  Allwinner A13 (SUN5I)
I2C:  ready
DRAM:  256 MiB
NAND:  512 MiB
video-mode 720x480-24@60 not available, falling back to 1024x768-24@60
Setting up a 720x480i composite-ntsc console (overscan 40x20)
In:    serial
Out:  serial
Err:  serial
Net:  usb_ether
starting USB...
No controllers found
Hit any key to stop autoboot:  0
## Error: "test_fastboot" not defined
device nand0 <sunxi-nand.0>, # parts = 5
#: name                size            offset          mask_flags
0: spl                0x00400000      0x00000000      0
1: spl-backup          0x00400000      0x00400000      0
2: uboot              0x00400000      0x00800000      0
3: env                0x00400000      0x00c00000      0
4: UBI                0x1f000000      0x01000000      0
active partition: nand0,0 - (spl) 0x00400000 @ 0x00000000
defaults:
mtdids  : none
mtdparts: none
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=4", size 496 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 1024
ubi0: VID header offset: 1024 (aligned 1024), data offset: 4096
ubi0: good PEBs: 1982, bad PEBs: 2, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1444477407
ubi0: available PEBs: 1160, total reserved PEBs: 822, PEBs reserved for bad PEB handling: 38
ubi0: LEBs per PEB: 1
ubi0: volume 0 ("rootfs") re-sized from 779 to 1939 LEBs
Loading file '/boot/ntc-gr8-crumb.dtb' to addr 0x43000000...
Done
Loading file '/boot/initrd.uimage' to addr 0x44000000...
** File not found /boot/initrd.uimage **
Loading file '/boot/zImage' to addr 0x42000000...
Done
Kernel image @ 0x42000000 [ 0x000000 - 0x6b0358 ]
Wrong Ramdisk Image Format
Ramdisk image is corrupt or invalid
device nand0 <sunxi-nand.0>, # parts = 5
#: name                size            offset          mask_flags
0: spl                0x00400000      0x00000000      0
1: spl-backup          0x00400000      0x00400000      0
2: uboot              0x00400000      0x00800000      0
3: env                0x00400000      0x00c00000      0
4: UBI                0x1f000000      0x01000000      0
active partition: nand0,0 - (spl) 0x00400000 @ 0x00000000
defaults:
mtdids  : none
mtdparts: none
Unmounting UBIFS volume rootfs!
ubi0: detaching mtd1
ubi0: mtd1 is detached
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=4", size 496 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 1024
ubi0: VID header offset: 1024 (aligned 1024), data offset: 4096
ubi0: good PEBs: 1982, bad PEBs: 2, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1444477407
ubi0: available PEBs: 0, total reserved PEBs: 1982, PEBs reserved for bad PEB handling: 38
ubi0: LEBs per PEB: 1
Loading file '/boot/ntc-gr8-crumb.dtb' to addr 0x43000000...
Done
Loading file '/boot/zImage' to addr 0x42000000...
Done
Kernel image @ 0x42000000 [ 0x000000 - 0x6b0358 ]
## Flattened Device Tree blob at 43000000
  Booting using the fdt blob at 0x43000000
  Loading Device Tree to 49ff3000, end 49fff8a8 ... OK
Cannot setup simplefb: node not found
Starting kernel ...
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.30-pro (bamboo@ip-172-31-18-5) (gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu1) ) #1 SMP Wed Dec 21 01:50:18 UTC 2016
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: NextThing Crumb
[    0.000000] cma: Reserved 64 MiB at 0x4c000000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] PERCPU: Embedded 12 pages/cpu @cbd6e000 s19008 r8192 d21952 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: root=ubi0:rootfs rootfstype=ubifs rw earlyprintk ubi.mtd=4
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 178028K/262144K available (8972K kernel code, 1137K rwdata, 4160K rodata, 1068K init, 349K bss, 18580K reserved, 65536K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]    vector  : 0xffff0000 - 0xffff1000  (  4 kB)
[    0.000000]    fixmap  : 0xffc00000 - 0xfff00000  (3072 kB)
[    0.000000]    vmalloc : 0xd0800000 - 0xff800000  ( 752 MB)
[    0.000000]    lowmem  : 0xc0000000 - 0xd0000000  ( 256 MB)
[    0.000000]    pkmap  : 0xbfe00000 - 0xc0000000  (  2 MB)
[    0.000000]    modules : 0xbf000000 - 0xbfe00000  (  14 MB)
[    0.000000]      .text : 0xc0208000 - 0xc0edc1d0  (13137 kB)
[    0.000000]      .init : 0xc0edd000 - 0xc0fe8000  (1068 kB)
[    0.000000]      .data : 0xc0fe8000 - 0xc11046b8  (1138 kB)
[    0.000000]        .bss : 0xc1107000 - 0xc115e600  ( 350 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370868154 ns
[    0.000000] sched_clock: 32 bits at 200 Hz, resolution 5000000ns, wraps every 10737418237500000ns
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty0] enabled
[    0.025000] Calibrating delay loop... 1002.70 BogoMIPS (lpj=2506752)
[    0.025000] pid_max: default: 32768 minimum: 301
[    0.025000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.025000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.025000] Initializing cgroup subsys io
[    0.025000] Initializing cgroup subsys memory
[    0.025000] Initializing cgroup subsys devices
[    0.025000] Initializing cgroup subsys freezer
[    0.025000] Initializing cgroup subsys net_cls
[    0.025000] Initializing cgroup subsys net_prio
[    0.025000] Initializing cgroup subsys pids
[    0.025000] CPU: Testing write buffer coherency: ok
[    0.025000] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.025000] Setting up static identity map for 0x40209000 - 0x40209098
[    0.030000] Brought up 1 CPUs
[    0.030000] SMP: Total of 1 processors activated (1002.70 BogoMIPS).
[    0.030000] CPU: All CPU(s) started in SVC mode.
[    0.030000] devtmpfs: initialized
[    0.045000] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.045000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[    0.050000] pinctrl core: initialized pinctrl subsystem
[    0.050000] NET: Registered protocol family 16
[    0.055000] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.055000] cpuidle: using governor ladder
[    0.055000] cpuidle: using governor menu
[    0.060000] No ATAGs?
[    0.060000] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.065000] Serial: AMBA PL011 UART driver
[    0.080000] vgaarb: loaded
[    0.080000] SCSI subsystem initialized
[    0.080000] usbcore: registered new interface driver usbfs
[    0.080000] usbcore: registered new interface driver hub
[    0.085000] usbcore: registered new device driver usb
[    0.085000] pps_core: LinuxPPS API ver. 1 registered
[    0.085000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.085000] PTP clock support registered
[    0.085000] EDAC MC: Ver: 3.0.0
[    0.085000] clocksource: Switched to clocksource timer
[    0.095000] NET: Registered protocol family 2
[    0.095000] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.095000] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.095000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.095000] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.095000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.095000] NET: Registered protocol family 1
[    0.095000] RPC: Registered named UNIX socket transport module.
[    0.095000] RPC: Registered udp transport module.
[    0.095000] RPC: Registered tcp transport module.
[    0.095000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.095000] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.110000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.110000] NFS: Registering the id_resolver key type
[    0.110000] Key type id_resolver registered
[    0.110000] Key type id_legacy registered
[    0.110000] ntfs: driver 2.1.32 [Flags: R/O].
[    0.110000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.110000] io scheduler noop registered
[    0.110000] io scheduler deadline registered
[    0.110000] io scheduler cfq registered (default)
[    0.115000] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0-id-pin@0, deferring probe
[    0.120000] gr8-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.130000] coupled-voltage-regulator wifi_reg: Couldn't get regulator vin0
[    0.190000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.215000] 1c28400.serial: ttyS0 at MMIO 0x1c28400 (irq = 29, base_baud = 1500000) is a U6_16550A
[    0.810000] console [ttyS0] enabled
[    0.835000] 1c28800.serial: ttyS1 at MMIO 0x1c28800 (irq = 30, base_baud = 1500000) is a U6_16550A
[    0.865000] 1c28c00.serial: ttyS2 at MMIO 0x1c28c00 (irq = 31, base_baud = 1500000) is a U6_16550A
[    0.875000] SuperH (H)SCI(F) driver initialized
[    0.880000] msm_serial: driver initialized
[    0.885000] STMicroelectronics ASC driver initialized
[    0.890000] [drm] Initialized drm 1.1.0 20060810
[    0.905000] loop: module loaded
[    0.910000] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xdc
[    0.920000] nand: Toshiba TC58NVG2S0H 4G 3.3V 8-bit
[    0.925000] nand: 512 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 256
[    0.930000] Bad block table not found for chip 0
[    0.940000] Bad block table not found for chip 0
[    0.940000] Scanning device for bad blocks
[    1.045000] random: nonblocking pool is initialized
[    1.255000] Bad eraseblock 1536 at 0x000018000000
[    1.260000] Bad eraseblock 1537 at 0x000018040000
[    1.370000] Bad block table written to 0x00001ffc0000, version 0x01
[    1.380000] Bad block table written to 0x00001ff80000, version 0x01
[    1.385000] 5 ofpart partitions found on MTD device 1c03000.nand
[    1.390000] Creating 5 MTD partitions on "1c03000.nand":
[    1.395000] 0x000000000000-0x000000400000 : "SPL"
[    1.400000] 0x000000400000-0x000000800000 : "SPL.backup"
[    1.410000] 0x000000800000-0x000000c00000 : "U-Boot"
[    1.415000] 0x000000c00000-0x000001000000 : "env"
[    1.420000] 0x000001000000-0x000200000000 : "rootfs"
[    1.425000] mtd: partition "rootfs" extends beyond the end of device "1c03000.nand" -- size truncated to 0x1f000000
[    1.440000] libphy: Fixed MDIO Bus: probed
[    1.445000] CAN device driver interface
[    1.450000] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.3.0-k
[    1.455000] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.465000] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    1.470000] usbcore: registered new interface driver pegasus
[    1.480000] usbcore: registered new interface driver asix
[    1.485000] usbcore: registered new interface driver ax88179_178a
[    1.490000] usbcore: registered new interface driver cdc_ether
[    1.495000] usbcore: registered new interface driver smsc75xx
[    1.500000] usbcore: registered new interface driver smsc95xx
[    1.505000] usbcore: registered new interface driver net1080
[    1.515000] usbcore: registered new interface driver rndis_host
[    1.520000] usbcore: registered new interface driver cdc_subset
[    1.525000] usbcore: registered new interface driver zaurus
[    1.530000] usbcore: registered new interface driver cdc_ncm
[    1.540000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.545000] ehci-pci: EHCI PCI platform driver
[    1.550000] ehci-platform: EHCI generic platform driver
[    1.555000] ehci-omap: OMAP-EHCI Host Controller driver
[    1.560000] ehci-orion: EHCI orion driver
[    1.565000] ehci-st: EHCI STMicroelectronics driver
[    1.570000] ehci-exynos: EHCI EXYNOS driver
[    1.575000] ehci-atmel: EHCI Atmel driver
[    1.580000] tegra-ehci: Tegra EHCI driver
[    1.580000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.590000] ohci-pci: OHCI PCI platform driver
[    1.595000] ohci-platform: OHCI generic platform driver
[    1.600000] ohci-omap3: OHCI OMAP3 driver
[    1.600000] ohci-st: OHCI STMicroelectronics driver
[    1.605000] ohci-atmel: OHCI Atmel driver
[    1.610000] usbcore: registered new interface driver usb-storage
[    1.620000] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.630000] mousedev: PS/2 mouse device common for all mice
[    1.640000] i2c /dev entries driver
[    1.645000] axp20x 0-0034: AXP20x variant AXP209 found
[    1.655000] axp20x-gpio axp20x-gpio: AXP209 GPIO driver loaded
[    1.670000] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0
[    1.685000] axp20x 0-0034: AXP20X driver loaded
[    1.715000] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.725000] sdhci: Secure Digital Host Controller Interface driver
[    1.730000] sdhci: Copyright(c) Pierre Ossman
[    1.735000] Synopsys Designware Multimedia Card Interface Driver
[    1.745000] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.755000] ledtrig-cpu: registered to indicate activity on CPUs
[    1.760000] usbcore: registered new interface driver usbhid
[    1.765000] usbhid: USB HID core driver
[    1.775000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.780000] NET: Registered protocol family 10
[    1.790000] sit: IPv6 over IPv4 tunneling driver
[    1.795000] NET: Registered protocol family 17
[    1.795000] can: controller area network core (rev 20120528 abi 9)
[    1.805000] NET: Registered protocol family 29
[    1.810000] can: raw protocol (rev 20120528)
[    1.815000] can: broadcast manager protocol (rev 20120528 t)
[    1.820000] can: netlink gateway (rev 20130117) max_hops=1
[    1.825000] Key type dns_resolver registered
[    1.830000] cpu: dev_pm_opp_of_cpumask_add_table: couldn't find opp table for cpu:0, -19
[    1.840000] cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
[    1.845000] ThumbEE CPU extension supported.
[    1.850000] Registering SWP/SWPB emulation handler
[    1.860000] ehci-platform 1c14000.usb: EHCI Host Controller
[    1.865000] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[    1.875000] ehci-platform 1c14000.usb: irq 22, io mem 0x01c14000
[    1.890000] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[    1.895000] hub 1-0:1.0: USB hub found
[    1.900000] hub 1-0:1.0: 1 port detected
[    1.905000] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[    1.910000] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 2
[    1.920000] ohci-platform 1c14400.usb: irq 23, io mem 0x01c14400
[    1.980000] hub 2-0:1.0: USB hub found
[    1.985000] hub 2-0:1.0: 1 port detected
[    1.990000] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    2.000000] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    2.005000] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    2.015000] hub 3-0:1.0: USB hub found
[    2.020000] hub 3-0:1.0: 1 port detected
[    2.025000] using random self ethernet address
[    2.030000] using random host ethernet address
[    2.035000] usb0: HOST MAC 62:4a:30:94:eb:e9
[    2.040000] usb0: MAC d2:6e:8d:c9:af:e5
[    2.045000] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    2.050000] g_cdc gadget: g_cdc ready
[    2.055000] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[    2.065000] sunxi-mmc 1c0f000.mmc: allocated mmc-pwrseq
[    2.100000] sunxi-mmc 1c0f000.mmc: base:0xd0908000 irq:20
[    2.105000] ubi0: attaching mtd4
[    2.110000] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 8, RTO !!
[    2.120000] sunxi-mmc 1c0f000.mmc: card claims to support voltages below defined range
[    2.140000] mmc0: new high speed SDIO card at address 0001
[    2.595000] g_cdc gadget: high-speed config #1: CDC Composite (ECM + ACM)
[    3.665000] ubi0: scanning is finished
[    3.685000] ubi0: attached mtd4 (name "rootfs", size 496 MiB)
[    3.690000] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[    3.695000] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 1024
[    3.705000] ubi0: VID header offset: 1024 (aligned 1024), data offset: 4096
[    3.710000] ubi0: good PEBs: 1978, bad PEBs: 6, corrupted PEBs: 0
[    3.715000] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[    3.725000] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1444477407
[    3.735000] ubi0: available PEBs: 1, total reserved PEBs: 1977, PEBs reserved for bad PEB handling: 34
[    3.745000] hctosys: unable to open rtc device (rtc0)
[    3.755000] vcc3v0: disabling
[    3.755000] vcc3v3: disabling
[    3.760000] ubi0: background thread "ubi_bgt0d" started, PID 57
[    3.775000] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 58
[    4.005000] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    4.010000] UBIFS (ubi0:0): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[    4.020000] UBIFS (ubi0:0): FS size: 497774592 bytes (474 MiB, 1929 LEBs), journal size 9420800 bytes (8 MiB, 37 LEBs)
[    4.030000] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[    4.035000] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 435F92C7-9BDF-4BEC-A27A-638EABBA49D3, small LPT model
[    4.055000] VFS: Mounted root (ubifs filesystem) on device 0:15.
[    4.065000] devtmpfs: mounted
[    4.070000] Freeing unused kernel memory: 1068K (c0edd000 - c0fe8000)
[    4.535000] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    4.550000] systemd[1]: Detected architecture 'arm'.
Welcome to Linux!
[    4.590000] systemd[1]: Set hostname to <chip>.
[    4.595000] systemd[1]: Initializing machine ID from random generator.
[    5.625000] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[    5.655000] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    5.665000] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    5.670000] systemd[1]: Expecting device dev-ttyS0.device...
        Expecting device dev-ttyS0.device...
[    5.690000] systemd[1]: Expecting device dev-ttyGS0.device...
        Expecting device dev-ttyGS0.device...
[    5.705000] systemd[1]: Starting Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[    5.720000] systemd[1]: Reached target Remote File Systems (Pre).
[    5.725000] systemd[1]: Starting Network is Online.
[  OK  ] Reached target Network is Online.
[    5.740000] systemd[1]: Reached target Network is Online.
[    5.745000] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[    5.750000] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    5.760000] systemd[1]: Starting Paths.
[  OK  ] Reached target Paths.
[    5.775000] systemd[1]: Reached target Paths.
[    5.775000] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    5.785000] systemd[1]: Starting Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[    5.805000] systemd[1]: Reached target Encrypted Volumes.
[    5.810000] systemd[1]: Starting Swap.
[  OK  ] Reached target Swap.
[    5.825000] systemd[1]: Reached target Swap.
[    5.825000] systemd[1]: Starting Root Slice.
[  OK  ] Created slice Root Slice.
[    5.845000] systemd[1]: Created slice Root Slice.
[    5.845000] systemd[1]: Starting User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    5.865000] systemd[1]: Created slice User and Session Slice.
[    5.870000] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    5.890000] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    5.895000] systemd[1]: Starting Delayed Shutdown Socket.
[  OK  ] Listening on Delayed Shutdown Socket.
[    5.910000] systemd[1]: Listening on Delayed Shutdown Socket.
[    5.915000] systemd[1]: Starting Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    5.930000] systemd[1]: Listening on Journal Socket (/dev/log).
[    5.935000] systemd[1]: Starting udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    5.950000] systemd[1]: Listening on udev Control Socket.
[    5.955000] systemd[1]: Starting udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    5.970000] systemd[1]: Listening on udev Kernel Socket.
[    5.975000] systemd[1]: Starting Journal Socket.
[  OK  ] Listening on Journal Socket.
[    5.990000] systemd[1]: Listening on Journal Socket.
[    5.995000] systemd[1]: Starting System Slice.
[  OK  ] Created slice System Slice.
[    6.010000] systemd[1]: Created slice System Slice.
[    6.015000] systemd[1]: Starting system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    6.030000] systemd[1]: Created slice system-getty.slice.
[    6.035000] systemd[1]: Starting system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    6.050000] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    6.055000] systemd[1]: Starting Restore / save the current clock...
        Starting Restore / save the current clock...
[    6.080000] systemd[1]: Mounting POSIX Message Queue File System...
        Mounting POSIX Message Queue File System...
[    6.120000] systemd[1]: Starting Create list of required static device nodes for the current kernel...
        Starting Create list of required static device nodes...rrent kernel...
[    6.185000] systemd[1]: Started live-config contains the components that configure a live system during the boot process (late userspace)..
[    6.260000] systemd[1]: Starting udev Coldplug all Devices...
        Starting udev Coldplug all Devices...
[    6.285000] systemd[1]: Mounting Debug File System...
        Mounting Debug File System...
[    6.305000] systemd[1]: Mounted Huge Pages File System.
[    6.320000] systemd[1]: Starting Load Kernel Modules...
        Starting Load Kernel Modules...
[    6.360000] systemd[1]: Started Set Up Additional Binary Formats.
[    6.385000] systemd[1]: Starting Journal Service...
        Starting Journal Service...
[  OK  ] Started Journal Service.
[    6.475000] systemd[1]: Started Journal Service.
[  OK  ] Reached target Slices.
        Starting Remount Root and Kernel File Systems...
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Create list of required static device nodes ...current kernel.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Remount Root and Kernel File Systems.
        Starting Load/Save Random Seed...
        Mounting Configuration File System...
        Starting Apply Kernel Variables...
        Starting Create Static Device Nodes in /dev...
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started udev Coldplug all Devices.
        Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
[  OK  ] Reached target Remote File Systems.
        Starting Trigger Flushing of Journal to Persistent Storage...
        Starting Create Volatile Files and Directories...
[    7.720000] systemd-udevd[97]: starting version 215
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started udev Kernel Device Manager.
        Starting Copy rules generated while the root was ro...
        Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Copy rules generated while the root was ro.
[    8.015000] systemd-journald[78]: Received request to flush runtime journal from PID 1
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Timers.
        Starting Restore Sound Card State...
[  OK  ] Reached target Basic System.
        Starting NAND health watchdog service...
[  OK  ] Started NAND health watchdog service.
        Starting Network Manager...
        Starting OpenBSD Secure Shell server...
[  OK  ] Started OpenBSD Secure Shell server.
        Starting /etc/rc.local Compatibility...
        Starting Login Service...
        Starting LSB: Advanced IEEE 802.11 management daemon...
        Starting LSB: Start NTP daemon...
        Starting Avahi mDNS/DNS-SD Stack...
        Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
        Starting Permit User Sessions...
[  OK  ] Started Restore Sound Card State.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started Permit User Sessions.
[  12.330000] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[  OK  ] Found device /dev/ttyS0.
        Starting Serial Getty on ttyS0...
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Login Service.
[  OK  ] Found device /dev/ttyGS0.
[  OK  ] Started LSB: Start NTP daemon.
[  14.950000] RTW: module init start
[  14.950000] RTW: rtl8723ds v5.1.1.2_18132.20160706_BTCOEX20160510-0909
[  14.960000] RTW: build time: Dec 21 2016 01:53:26
[  14.965000] RTW: rtl8723ds BT-Coex version = BTCOEX20160510-0909
[  15.105000] RTW: CHIP TYPE: RTL8723D
[  15.105000] RTW: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1
[  15.115000] RTW: Chip Version Info: CHIP_8723D_Normal_Chip_TSMC_C_CUT_1T1R_RomVer(0)
[  15.175000] RTW: SetHwReg: bMacPwrCtrlOn=1
[  15.195000] RTW: PowerOnCheck: val_mix:0x0000063f, res:0x0000063f
[  15.200000] RTW: PowerOnCheck: 0x100 the result of cmd52 and cmd53 is the same.
[  15.235000] RTW: PowerOnCheck: 0x1B8 test Pass.
[  15.235000] RTW: ReadAdapterInfo8723DS, 0x4e=0xc2
[  15.265000] RTW: EEPROM type is E-FUSE
[  15.265000] RTW: hal_EfuseSwitchToBank: Efuse switch bank to 0
[  15.340000] RTW: hal_ReadEFuse_WiFi: data end at address=0xa9
[  15.355000] RTW: HW EFUSE
[  15.355000] RTW: eFuse Content:
[  15.395000] RTW: Hal_EfuseParseBTCoexistInfo_8723D: Enable BT-coex, ant_num=1
[  15.400000] RTW: hal_com_config_channel_plan chplan:0x20
[  15.405000] RTW: Hal_EfuseParseVoltage_8723D hwinfo[EEPROM_Voltage_ADDR_8723D] =a0
[  15.415000] RTW: Hal_EfuseParseVoltage_8723D pHalData->adjuseVoltageVal =a
[  15.505000] RTW: rtl8723d_FirmwareDownload fw: FW_NIC, size: 25650
[  15.510000] RTW: rtl8723d_FirmwareDownload: fw_ver=10 fw_subver=0000 sig=0x23d1, Month=05, Date=16, Hour=18, Minute=16
[  15.520000] RTW: rtl8723d_FirmwareDownload(): Shift for fw header!
[  15.605000] RTW: rtl8723d_FirmwareDownload by IO write!
[  16.000000] RTW: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x07060305
[  16.030000] RTW: _8051Reset8723: Finish
[  16.055000] RTW: _FWFreeToGo: Polling FW ready OK! (3, 25ms), REG_MCUFWDL:0x070607c6
[  16.060000] RTW: rtl8723d_FirmwareDownload success. write_fw:1, 535ms
[  16.130000] RTW:  <=== rtl8723d_FirmwareDownload()
[  16.135000] RTW: hal_read_mac_hidden_rpt OK! (1, 5ms), fwdl:1, id:0x19
[  16.155000] RTW: SetHwReg: bMacPwrCtrlOn=0
[  16.180000] RTW: rtw_hal_read_chip_info in 1060 ms
[  16.200000] RTW: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13
[  16.220000] RTW: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1
[  16.245000] RTW: Init_ODM_ComInfo_8723d(): fab_ver=0 cut_ver=2
[  16.250000] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[  16.260000] RTW: rtw_macaddr_cfg mac addr:a0:2c:36:89:78:aa
[  16.355000] RTW: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[  16.375000] RTW: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13
[  16.425000] RTW: rtw_alloc_macid((null)) if2, hwaddr:ff:ff:ff:ff:ff:ff macid:1
[  16.430000] RTW: rtw_drv_add_vir_if if2 mac_addr : a2:2c:36:89:78:aa
[  16.435000] RTW: rtw_wiphy_alloc(phy0)
[  16.440000] RTW: rtw_wdev_alloc(padapter=d0ecf000)
[  16.445000] RTW: rtw_wiphy_alloc(phy1)
[  16.450000] RTW: rtw_wdev_alloc(padapter=d0f44000)
[  16.455000] RTW: rtw_wiphy_register(phy0)
[  16.460000] RTW: Register RTW cfg80211 vendor cmd(0x67) interface
[  16.465000] RTW: rtw_ndev_init(wlan0) if1 mac_addr=a0:2c:36:89:78:aa
[  16.470000] RTW: rtw_ndev_notifier_call(wlan0) state:16
[  16.480000] RTW: rtw_ndev_notifier_call(wlan0) state:5
[  16.485000] RTW: rtw_wiphy_register(phy1)
[  16.490000] RTW: Register RTW cfg80211 vendor cmd(0x67) interface
[  16.495000] RTW: rtw_ndev_init(wlan1) if2 mac_addr=a2:2c:36:89:78:aa
[  16.500000] RTW: rtw_ndev_notifier_call(wlan1) state:16
[  16.505000] RTW: rtw_ndev_notifier_call(wlan1) state:5
[  16.795000] RTW: module init ret=0
[  OK  ] Created slice system-systemd\x2drfkill.slice.
        Starting Load/Save RF Kill Switch Status of rfkill1...
        Starting Load/Save RF Kill Switch Status of rfkill0...
[  OK  ] Reached target Sound Card.
        Starting Authenticate and Authorize Users to Run Privileged Tasks...
        Starting Serial Getty on ttyGS0...
[  OK  ] Started Serial Getty on ttyGS0.
[  OK  ] Started Load/Save RF Kill Switch Status of rfkill1.
[  OK  ] Started Load/Save RF Kill Switch Status of rfkill0.
[  18.660000] RTW: rtw_ndev_notifier_call(wlan0) state:13
[  18.670000] RTW: _netdev_open(wlan0) , bup=0
[  18.690000] RTW: FW does not exist before power on!!
[  18.700000] RTW: SetHwReg: bMacPwrCtrlOn=1
[  18.710000] RTW: PowerOnCheck: val_mix:0x0000063f, res:0x0000063f
[  18.715000] RTW: PowerOnCheck: 0x100 the result of cmd52 and cmd53 is the same.
[  18.730000] RTW: PowerOnCheck: 0x1B8 test Pass.
[  18.735000] RTW: Power on ok!
[  18.735000] RTW: rtl8723d_FirmwareDownload fw: FW_NIC, size: 25650
[  18.745000] RTW: rtl8723d_FirmwareDownload: fw_ver=10 fw_subver=0000 sig=0x23d1, Month=05, Date=16, Hour=18, Minute=16
[  18.755000] RTW: rtl8723d_FirmwareDownload(): Shift for fw header!
[  18.785000] RTW: rtl8723d_FirmwareDownload by IO write!
[  18.935000] RTW: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00060705
[  18.945000] RTW: _8051Reset8723: Finish
[  18.960000] RTW: _FWFreeToGo: Polling FW ready OK! (220, 15ms), REG_MCUFWDL:0x000607c6
[  18.970000] RTW: rtl8723d_FirmwareDownload success. write_fw:1, 210ms
[  18.985000] RTW:  <=== rtl8723d_FirmwareDownload()
[  18.985000] RTW: HalDetectPwrDownMode(): PDN=0
[  18.990000] RTW: Set RF Chip ID to RF_6052 and RF type to 3.
Debian GNU/Linux 8 chip ttyS0
chip login: [  19.090000] RTW: ===>phy_SpurCalibration_8723D: Channel = 1
[  19.100000] RTW: ===>phy_SwChnl8723D: Channel = 1
[  19.110000] RTW: ADAPTIVITY_VERSION 9.3.3
[  19.115000] RTW: RTW_ADAPTIVITY_EN_ENABLE
[  19.115000] RTW: RTW_ADAPTIVITY_MODE_NORMAL
[  19.120000] RTW: RTW_ADAPTIVITY_DML_DISABLE
[  19.125000] RTW: RTW_ADAPTIVITY_DC_BACKOFF:2
[  19.415000] RTW: rtw_hal_set_macaddr_port wlan0- hw port(0) mac_addr =a0:2c:36:89:78:aa
[  19.425000] RTW: rtw_hal_set_macaddr_port wlan1- hw port(1) mac_addr =a2:2c:36:89:78:aa
[  19.435000] RTW: rtw_hal_get_macaddr_port wlan0- hw port(0) mac_addr =a0:2c:36:89:78:aa
[  19.440000] RTW: wlan0- hw port(0) mac_addr =a0:2c:36:89:78:aa
[  19.455000] RTW: rtw_hal_get_macaddr_port wlan1- hw port(1) mac_addr =a2:2c:36:89:78:aa
[  19.460000] RTW: wlan1- hw port(1) mac_addr =a2:2c:36:89:78:aa
[  19.475000] RTW: ===>phy_SpurCalibration_8723D: Channel = 1
[  19.485000] RTW: ===>phy_SwChnl8723D: Channel = 1
[  19.495000] RTW: MAC Address = a0:2c:36:89:78:aa
[  19.505000] RTW: start rtl8723ds_xmit_thread(wlan0)
[  19.510000] RTW: rtw_cfg80211_init_wiphy:rf_type=3
[  19.515000] RTW: [HT] HAL Support STBC = 0x01
[  19.515000] RTW: _netdev_vir_if_open(wlan1) , bup=0
[  19.535000] RTW: rtw_cfg80211_init_wiphy:rf_type=3
[  19.535000] RTW: [HT] HAL Support STBC = 0x01
[  19.540000] RTW: _netdev_vir_if_open(wlan1) (bup=1) exit
[  19.545000] RTW: -871x_drv - drv_open, bup=1
[  19.550000] RTW: cfg80211_rtw_set_power_mgmt(wlan0) enabled:1, timeout:-1
[  19.560000] RTW: rtw_ndev_notifier_call(wlan0) state:1
[  19.565000] RTW: start rtl8723ds_xmit_thread(wlan1)
[  19.605000] RTW: cfg80211_rtw_get_txpower
[  20.035000] RTW: cfg80211_rtw_get_txpower
[  20.045000] RTW: cfg80211_rtw_get_txpower
[  20.055000] RTW: cfg80211_rtw_get_txpower
[  20.060000] RTW: rtw_ndev_notifier_call(wlan0) state:4
[  20.130000] RTW: cfg80211_rtw_flush_pmksa(wlan0)
</pre>
pressing enter to initiate shell, logging in as chip, and escalating privileges to root with "su".
<pre>
Debian GNU/Linux 8 chip ttyS0
chip login: chip
Password:
Linux chip 4.4.30-pro #1 SMP Wed Dec 21 01:50:18 UTC 2016 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
chip@chip:~$ su
Password:
root@chip:/home/chip#
</pre>

Revision as of 17:43, 5 October 2017

un-bagging Next Thing Co "chip pro" featuring a 'GR8' chip, some dude take'n a smoke break on streets of sf handed me one, so took it home and started hack'n on it as ya do, or thus far don't. these were set to release in "october" this is october, one year later. debian boot image for this is marked "deprecated", embedded arch version doesn't seem to have been rounded out.

https://docs.getchip.com/chip_pro.html#get-started-with-c-h-i-p-pro

http://flash.getchip.com/start

following cut and paste, doesn't exactly work, also you could just "su" the user in teh terminal to update group addition. in theory this would also work "sudo chromium --no-sandbox" however this assumes using ubuntu, we're using arch, so pause here to find windows machine.

So rtfm'd on Windows 10 machine, installed chrome app, installed driver, flashed with VU example, and now flasher can't re-enable FEL mode after running other tests. Also main product page says "dual mic's" however, these are apparently only i2s inputs, and the actual hardware required is on a optional dev board, so VU demo is probably totally useless in this case.

WHY IN TEH POST IRONIC SMALL BATCH INFINITY SCALE HARDWARE WORLD DOESN'T THIS COME WITH A PRE-INSTALLED IMAGE THAT DOES SOMETHING OUT OF THE BAG!?

will sleep on it before going nuclear...


came across this in bbs/forum threads: http://www.chip-community.org/index.php/Archlinuxarm_on_chip

#required packages for flashing
$ sudo pacman -S android-tools sunxi-tools

$ ./flash_arch.sh 
Loading SPL to the device
Uploading padded SPL to device memory
Uploading padded Uboot to device memory
Uploading Uboot flashing script image to device memory
Running Uboot with flashing script on device and waiting for fastboot
Flashing UBI image using fastboot
target reported max download size of 33554432 bytes
sending sparse 'UBI' 1/9 (30720 KB)...
OKAY [  2.968s]
writing 'UBI' 1/9...
FAILED (remote: error writing the image)
finished. total time: 3.062s
Flashing done, hopefully now the device will boot correctly to Arch
resuming boot...
OKAY [  0.000s]
finished. total time: 0.000s

The first few steps seem to work fine, then fails trying to write the entire UBI image. The shell script uses a "-u" flag which specifically does not erase the partition before writing, running without this flag did not seem to erase the partition first either.

I re-ran the entire procedure in the shell script manually, this time running a fastboot erase command on the UBI partition before the fastboot flash step which then successfully completed the UBI flashing. I used pre-compiled image from http://85.255.10.189/v0.4/ubi.img.sparse

$ sudo sunxi-fel spl sunxi-spl.bin
$ sudo sunxi-fel write 0x43000000 sunxi-spl-with-ecc.bin
$ sudo sunxi-fel write 0x4a000000 padded_uboot
$ sudo sunxi-fel write 0x43100000 uboot-script.img
$ sudo sunxi-fel exe 0x4a000000
$ sudo fastboot -i 0x1f3a devices
162542ca0b423627	fastboot

$ sudo fastboot -i 0x1f3a erase UBI
erasing 'UBI'...
OKAY [  2.814s]
finished. total time: 2.814s

$ sudo fastboot -i 0x1f3a -u flash UBI ubi.img.sparse
target reported max download size of 33554432 bytes
sending sparse 'UBI' 1/9 (30720 KB)...
OKAY [  2.905s]
writing 'UBI' 1/9...
OKAY [  3.935s]
sending sparse 'UBI' 2/9 (30720 KB)...
OKAY [  2.878s]
writing 'UBI' 2/9...
OKAY [ 17.116s]
sending sparse 'UBI' 3/9 (30720 KB)...
OKAY [  2.841s]
writing 'UBI' 3/9...
OKAY [ 17.118s]
sending sparse 'UBI' 4/9 (30720 KB)...
OKAY [  2.905s]
writing 'UBI' 4/9...
OKAY [ 17.117s]
sending sparse 'UBI' 5/9 (30720 KB)...
OKAY [  2.896s]
writing 'UBI' 5/9...
OKAY [ 17.119s]
sending sparse 'UBI' 6/9 (30720 KB)...
OKAY [  2.888s]
writing 'UBI' 6/9...
OKAY [ 17.121s]
sending sparse 'UBI' 7/9 (30720 KB)...
OKAY [  2.916s]
writing 'UBI' 7/9...
OKAY [ 17.120s]
sending sparse 'UBI' 8/9 (30720 KB)...
OKAY [  2.918s]
writing 'UBI' 8/9...
OKAY [ 17.128s]
sending sparse 'UBI' 9/9 (22528 KB)...
OKAY [  2.118s]
writing 'UBI' 9/9...
OKAY [ 10.770s]
finished. total time: 159.808s

$ sudo fastboot -i 0x1f3a continue
resuming boot...
OKAY [  0.000s]
finished. total time: 0.000s

this all seemed to work, and in theory the chip is now loaded with Arch and has booted into it. I can't seem to verify this as the USB connection does not resolve to a valid serial port and the chip just seems to get very hot to the touch at this point. restarting the chip enumerates as a USB device with no specific interface, although it seems to run at a reasonable temperature now.

ARRRRRRRRRR FARTS!, that was not teh distro you're looking for

all of that probably would have worked if this was a "c.h.i.p." however, this is a "c.h.i.p. pro" which has half the ram and 1/8th of storage. i had a suspicion as there was a vague reference to expanding a file system to 4GB. so maybe if some settings were twerked and it was compiled from source, maybe.


so here's another random find https://docs.getchip.com/chip_pro.html#bluetooth-is-not-working-on-c-h-i-p-pro-debian-based-pro-image

this describes a process of installing some things from git, and downloading a tar file, which comes a bit awkwardly from mega. this process seems to work ok on a arch based host machine with modification for pre-requisites to be installed using pacman not apt-get "sudo pacman -S sunxi-tools uboot-tools"

$ sudo ./chip-update-firmware.sh -L img/
== Local directory 'img/' selected ==
== preparing images ==
== Local/cached probe files located ==
== Staging for NAND probe ==
Image Name:   detect NAND
Created:      Thu Oct  5 16:22:11 2017
Image Type:   ARM Linux Script (uncompressed)
Data Size:    97 Bytes = 0.09 KiB = 0.00 MiB
Load Address: 00000000
Entry Point:  00000000
Contents:
   Image 0: 89 Bytes = 0.09 KiB = 0.00 MiB
waiting for fel...OK
waiting for fel......OK
NAND detected:
nand_erasesize=40000
nand_oobsize=100
nand_writesize=1000
== Cached UBI located ==
Image Name:   flash server
Created:      Thu Oct  5 16:22:22 2017
Image Type:   ARM Linux Script (uncompressed)
Data Size:    1784 Bytes = 1.74 KiB = 0.00 MiB
Load Address: 00000000
Entry Point:  00000000
Contents:
   Image 0: 1776 Bytes = 1.73 KiB = 0.00 MiB
waiting for fel...OK
waiting for fastboot..............OK
target reported max download size of 33554432 bytes
sending sparse 'UBI' 1/11 (32512 KB)...
OKAY [  2.480s]
writing 'UBI' 1/11...
OKAY [ 16.448s]
sending sparse 'UBI' 2/11 (32512 KB)...
OKAY [  2.530s]
writing 'UBI' 2/11...
OKAY [ 18.064s]
sending sparse 'UBI' 3/11 (32512 KB)...
OKAY [  2.637s]
writing 'UBI' 3/11...
OKAY [ 18.070s]
sending sparse 'UBI' 4/11 (32512 KB)...
OKAY [  2.503s]
writing 'UBI' 4/11...
OKAY [ 18.071s]
sending sparse 'UBI' 5/11 (32512 KB)...
OKAY [  2.536s]
writing 'UBI' 5/11...
OKAY [ 18.071s]
sending sparse 'UBI' 6/11 (32512 KB)...
OKAY [  2.511s]
writing 'UBI' 6/11...
OKAY [ 18.074s]
sending sparse 'UBI' 7/11 (32512 KB)...
OKAY [  2.523s]
writing 'UBI' 7/11...
OKAY [ 18.075s]
sending sparse 'UBI' 8/11 (32512 KB)...
OKAY [  2.535s]
writing 'UBI' 8/11...
OKAY [ 18.082s]
writing 'UBI' 9/11...
OKAY [ 18.070s]
sending sparse 'UBI' 10/11 (32512 KB)...
OKAY [  2.534s]
writing 'UBI' 10/11...
OKAY [ 17.821s]
sending sparse 'UBI' 11/11 (2560 KB)...
OKAY [  0.205s]
writing 'UBI' 11/11...
OKAY [  1.321s]
finished. total time: 205.692s
resuming boot...
OKAY [  0.000s]
finished. total time: 0.000s


FLASH VERIFICATION COMPLETE.


   #  #  #
  #########
###       ###
  # {#}   #
###  '%######
  #       #
###       ###
  ########
   #  #  #


CHIP is ready to roll!

so once again this says it's ready to work roll, however still you can't tell anything from the usb connection or a blinky led even. connected to a USB/UART serial interface, and jack shit on power up.


going back to beginning and starting all over

running chromium on arch linux with "sudo chromium --no-sandbox", able to use "stable-chip-pro-debian-b2-Toshiba_512M_SLC.chp" aka: debian (DEPRECATED) with https://flash.getchip.com/pro

following is dump of serial while flashing was in progress.

going to fastboot mode
musb-hdrc: peripheral reset irq lost!
Starting download of 33292340 bytes
...........................................New offset 0x4f80000
........ wrote 8128 blocks to 'UBI'
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0x4f80000 (ID: 2)
start 0x4f80 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0x4f80000
New offset 0x6f40000
........ wrote 8128 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0x6f40000 (ID: 3)
start 0x6f40 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0x6f40000
New offset 0x8f00000
........ wrote 8128 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0x8f00000 (ID: 4)
start 0x8f00 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0x8f00000
New offset 0xaec0000
........ wrote 8128 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0xaec0000 (ID: 5)
start 0xaec0 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0xaec0000
New offset 0xce80000
........ wrote 8128 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
Starting download of 4980788 bytes
......................................
downloading of 4980788 bytes finished
Flashing sparse image on partition UBI at offset 0xce80000 (ID: 6)
start 0xce80 blkcnt 0x4c0 partition 0x1000 size 0x1f000
Writing at offset 0xce80000
New offset 0xd340000
........ wrote 1216 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4

device still acts as if it is bricked, no output on serial after restarting.

found reference to a nand scrub command (https://bbs.nextthing.co/t/c-h-i-p-pro-cant-flash-and-cant-boot/17714/3) and re-ran flasher using https://flash.getchip.com/pro?scrub which seems to do a clear erase of nand flash per the serial output, note that "fel" button was held down per usual flashing routine while device was plugged into host computer usb.

U-Boot SPL 2016.01 (Oct 07 2016 - 14:22:25)
DRAM: 256 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from 


U-Boot 2016.01-00012-g1708aea-dirty (Mar 01 2017 - 17:28:04 -0800) Allwinner Technology

CPU:   Allwinner A13 (SUN5I)
I2C:   ready
DRAM:  256 MiB
NAND:  512 MiB
video-mode 720x480-24@60 not available, falling back to 1024x768-24@60
Setting up a 720x480i composite-ntsc console (overscan 40x20)
In:    serial
Out:   serial
Err:   serial
Net:   usb_ether
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
## Error: "test_fastboot" not defined
(FEL boot)
## Executing script at 43100000
Executing custom command

NAND scrub.chip: device 0 whole chip
Erasing at 0x17fc0000 --  75% complete.
nand0: MTD Erase failure: -5

nand0: MTD Erase failure: -5
Erasing at 0x1ffc0000 -- 100% complete.
OK
resetting ...


now that can haz scrubbed memory chip, re-ran regular procedure of flashing from chromium. start to finish serial dump follows

U-Boot SPL 2016.01-00088-g99c771f (Dec 22 2016 - 11:58:20)
DRAM: 256 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from 


U-Boot 2016.01-00088-g99c771f (Dec 22 2016 - 11:58:20 -0800) Allwinner Technology

CPU:   Allwinner A13 (SUN5I)
I2C:   ready
DRAM:  256 MiB
NAND:  512 MiB
*** Warning - bad CRC, using default environment

video-mode 720x480-24@60 not available, falling back to 1024x768-24@60
Setting up a 720x480i composite-ntsc console (overscan 40x20)
In:    serial
Out:   vga
Err:   vga
Net:   usb_ether
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
(FEL boot)
## Executing script at 43100000

NAND erase.chip: device 0 whole chip
Skipping bad block at  0x18000000                                          
Skipping bad block at  0x18040000                                          
Erasing at 0x1ffc0000 -- 100% complete.
OK
  
NAND write:  174080 bytes written: OK

NAND write:  174080 bytes written: OK

NAND write: device 0 offset 0x800000, size 0xc0000
 786432 bytes written: OK
Enabling Splash
Configuring Video Mode
Saving Environment to NAND...
Erasing NAND...
Erasing at 0xfc0000 -- 100% complete.
Writing to NAND... OK
going to fastboot mode
musb-hdrc: peripheral reset irq lost!
Starting download of 33292340 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292340 bytes finished
Flashing sparse image on partition UBI at offset 0x1000000 (ID: 0)
start 0x1000 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0x1000000
New offset 0x2fc0000
........ wrote 8128 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0x2fc0000 (ID: 1)
start 0x2fc0 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0x2fc0000
New offset 0x4f80000
........ wrote 8128 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0x4f80000 (ID: 2)
start 0x4f80 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0x4f80000
New offset 0x6f40000
........ wrote 8128 blocks to 'UBI'
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0x6f40000 (ID: 3)
start 0x6f40 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0x6f40000
New offset 0x8f00000
........ wrote 8128 blocks to 'UBI'
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0x8f00000 (ID: 4)
start 0x8f00 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0x8f00000
New offset 0xaec0000
........ wrote 8128 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
Starting download of 33292352 bytes
..........................................................................
..........................................................................
..........................................................................
................................
downloading of 33292352 bytes finished
Flashing sparse image on partition UBI at offset 0xaec0000 (ID: 5)
start 0xaec0 blkcnt 0x1fc0 partition 0x1000 size 0x1f000
Writing at offset 0xaec0000
New offset 0xce80000
........ wrote 8128 blocks to 'UBI'
status: -104 ep 'ep1in' trans: 4
Starting download of 4980788 bytes
......................................
downloading of 4980788 bytes finished
Flashing sparse image on partition UBI at offset 0xce80000 (ID: 6)
start 0xce80 blkcnt 0x4c0 partition 0x1000 size 0x1f000
Writing at offset 0xce80000
New offset 0xd340000
........ wrote 1216 blocks to 'UBI'

unplugged from usb, and replugged, without holding "fel" button, and connecting TX1/RX1/GND via separate USB/UART serial connection.

w00t something worked

U-Boot SPL 2016.01-00088-g99c771f (Dec 22 2016 - 11:58:20)
DRAM: 256 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from NAND


U-Boot 2016.01-00088-g99c771f (Dec 22 2016 - 11:58:20 -0800) Allwinner Technology

CPU:   Allwinner A13 (SUN5I)
I2C:   ready
DRAM:  256 MiB
NAND:  512 MiB
video-mode 720x480-24@60 not available, falling back to 1024x768-24@60
Setting up a 720x480i composite-ntsc console (overscan 40x20)
In:    serial
Out:   serial
Err:   serial
Net:   usb_ether
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
## Error: "test_fastboot" not defined

device nand0 <sunxi-nand.0>, # parts = 5
 #: name                size            offset          mask_flags
 0: spl                 0x00400000      0x00000000      0
 1: spl-backup          0x00400000      0x00400000      0
 2: uboot               0x00400000      0x00800000      0
 3: env                 0x00400000      0x00c00000      0
 4: UBI                 0x1f000000      0x01000000      0

active partition: nand0,0 - (spl) 0x00400000 @ 0x00000000

defaults:
mtdids  : none
mtdparts: none
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=4", size 496 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 1024
ubi0: VID header offset: 1024 (aligned 1024), data offset: 4096
ubi0: good PEBs: 1982, bad PEBs: 2, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1444477407
ubi0: available PEBs: 1160, total reserved PEBs: 822, PEBs reserved for bad PEB handling: 38
ubi0: LEBs per PEB: 1
ubi0: volume 0 ("rootfs") re-sized from 779 to 1939 LEBs
Loading file '/boot/ntc-gr8-crumb.dtb' to addr 0x43000000...
Done
Loading file '/boot/initrd.uimage' to addr 0x44000000...
** File not found /boot/initrd.uimage **
Loading file '/boot/zImage' to addr 0x42000000...
Done
Kernel image @ 0x42000000 [ 0x000000 - 0x6b0358 ]
Wrong Ramdisk Image Format
Ramdisk image is corrupt or invalid

device nand0 <sunxi-nand.0>, # parts = 5
 #: name                size            offset          mask_flags
 0: spl                 0x00400000      0x00000000      0
 1: spl-backup          0x00400000      0x00400000      0
 2: uboot               0x00400000      0x00800000      0
 3: env                 0x00400000      0x00c00000      0
 4: UBI                 0x1f000000      0x01000000      0

active partition: nand0,0 - (spl) 0x00400000 @ 0x00000000

defaults:
mtdids  : none
mtdparts: none
Unmounting UBIFS volume rootfs!
ubi0: detaching mtd1
ubi0: mtd1 is detached
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=4", size 496 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 1024
ubi0: VID header offset: 1024 (aligned 1024), data offset: 4096
ubi0: good PEBs: 1982, bad PEBs: 2, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1444477407
ubi0: available PEBs: 0, total reserved PEBs: 1982, PEBs reserved for bad PEB handling: 38
ubi0: LEBs per PEB: 1
Loading file '/boot/ntc-gr8-crumb.dtb' to addr 0x43000000...
Done
Loading file '/boot/zImage' to addr 0x42000000...
Done
Kernel image @ 0x42000000 [ 0x000000 - 0x6b0358 ]
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   Loading Device Tree to 49ff3000, end 49fff8a8 ... OK
Cannot setup simplefb: node not found

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.30-pro (bamboo@ip-172-31-18-5) (gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu1) ) #1 SMP Wed Dec 21 01:50:18 UTC 2016
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: NextThing Crumb
[    0.000000] cma: Reserved 64 MiB at 0x4c000000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] PERCPU: Embedded 12 pages/cpu @cbd6e000 s19008 r8192 d21952 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: root=ubi0:rootfs rootfstype=ubifs rw earlyprintk ubi.mtd=4
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 178028K/262144K available (8972K kernel code, 1137K rwdata, 4160K rodata, 1068K init, 349K bss, 18580K reserved, 65536K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0208000 - 0xc0edc1d0   (13137 kB)
[    0.000000]       .init : 0xc0edd000 - 0xc0fe8000   (1068 kB)
[    0.000000]       .data : 0xc0fe8000 - 0xc11046b8   (1138 kB)
[    0.000000]        .bss : 0xc1107000 - 0xc115e600   ( 350 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370868154 ns
[    0.000000] sched_clock: 32 bits at 200 Hz, resolution 5000000ns, wraps every 10737418237500000ns
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty0] enabled
[    0.025000] Calibrating delay loop... 1002.70 BogoMIPS (lpj=2506752)
[    0.025000] pid_max: default: 32768 minimum: 301
[    0.025000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.025000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.025000] Initializing cgroup subsys io
[    0.025000] Initializing cgroup subsys memory
[    0.025000] Initializing cgroup subsys devices
[    0.025000] Initializing cgroup subsys freezer
[    0.025000] Initializing cgroup subsys net_cls
[    0.025000] Initializing cgroup subsys net_prio
[    0.025000] Initializing cgroup subsys pids
[    0.025000] CPU: Testing write buffer coherency: ok
[    0.025000] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.025000] Setting up static identity map for 0x40209000 - 0x40209098
[    0.030000] Brought up 1 CPUs
[    0.030000] SMP: Total of 1 processors activated (1002.70 BogoMIPS).
[    0.030000] CPU: All CPU(s) started in SVC mode.
[    0.030000] devtmpfs: initialized
[    0.045000] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.045000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[    0.050000] pinctrl core: initialized pinctrl subsystem
[    0.050000] NET: Registered protocol family 16
[    0.055000] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.055000] cpuidle: using governor ladder
[    0.055000] cpuidle: using governor menu
[    0.060000] No ATAGs?
[    0.060000] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.065000] Serial: AMBA PL011 UART driver
[    0.080000] vgaarb: loaded
[    0.080000] SCSI subsystem initialized
[    0.080000] usbcore: registered new interface driver usbfs
[    0.080000] usbcore: registered new interface driver hub
[    0.085000] usbcore: registered new device driver usb
[    0.085000] pps_core: LinuxPPS API ver. 1 registered
[    0.085000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.085000] PTP clock support registered
[    0.085000] EDAC MC: Ver: 3.0.0
[    0.085000] clocksource: Switched to clocksource timer
[    0.095000] NET: Registered protocol family 2
[    0.095000] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.095000] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.095000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.095000] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.095000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.095000] NET: Registered protocol family 1
[    0.095000] RPC: Registered named UNIX socket transport module.
[    0.095000] RPC: Registered udp transport module.
[    0.095000] RPC: Registered tcp transport module.
[    0.095000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.095000] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.110000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.110000] NFS: Registering the id_resolver key type
[    0.110000] Key type id_resolver registered
[    0.110000] Key type id_legacy registered
[    0.110000] ntfs: driver 2.1.32 [Flags: R/O].
[    0.110000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.110000] io scheduler noop registered
[    0.110000] io scheduler deadline registered
[    0.110000] io scheduler cfq registered (default)
[    0.115000] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0-id-pin@0, deferring probe
[    0.120000] gr8-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.130000] coupled-voltage-regulator wifi_reg: Couldn't get regulator vin0
[    0.190000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.215000] 1c28400.serial: ttyS0 at MMIO 0x1c28400 (irq = 29, base_baud = 1500000) is a U6_16550A
[    0.810000] console [ttyS0] enabled
[    0.835000] 1c28800.serial: ttyS1 at MMIO 0x1c28800 (irq = 30, base_baud = 1500000) is a U6_16550A
[    0.865000] 1c28c00.serial: ttyS2 at MMIO 0x1c28c00 (irq = 31, base_baud = 1500000) is a U6_16550A
[    0.875000] SuperH (H)SCI(F) driver initialized
[    0.880000] msm_serial: driver initialized
[    0.885000] STMicroelectronics ASC driver initialized
[    0.890000] [drm] Initialized drm 1.1.0 20060810
[    0.905000] loop: module loaded
[    0.910000] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xdc
[    0.920000] nand: Toshiba TC58NVG2S0H 4G 3.3V 8-bit
[    0.925000] nand: 512 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 256
[    0.930000] Bad block table not found for chip 0
[    0.940000] Bad block table not found for chip 0
[    0.940000] Scanning device for bad blocks
[    1.045000] random: nonblocking pool is initialized
[    1.255000] Bad eraseblock 1536 at 0x000018000000
[    1.260000] Bad eraseblock 1537 at 0x000018040000
[    1.370000] Bad block table written to 0x00001ffc0000, version 0x01
[    1.380000] Bad block table written to 0x00001ff80000, version 0x01
[    1.385000] 5 ofpart partitions found on MTD device 1c03000.nand
[    1.390000] Creating 5 MTD partitions on "1c03000.nand":
[    1.395000] 0x000000000000-0x000000400000 : "SPL"
[    1.400000] 0x000000400000-0x000000800000 : "SPL.backup"
[    1.410000] 0x000000800000-0x000000c00000 : "U-Boot"
[    1.415000] 0x000000c00000-0x000001000000 : "env"
[    1.420000] 0x000001000000-0x000200000000 : "rootfs"
[    1.425000] mtd: partition "rootfs" extends beyond the end of device "1c03000.nand" -- size truncated to 0x1f000000
[    1.440000] libphy: Fixed MDIO Bus: probed
[    1.445000] CAN device driver interface
[    1.450000] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.3.0-k
[    1.455000] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.465000] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    1.470000] usbcore: registered new interface driver pegasus
[    1.480000] usbcore: registered new interface driver asix
[    1.485000] usbcore: registered new interface driver ax88179_178a
[    1.490000] usbcore: registered new interface driver cdc_ether
[    1.495000] usbcore: registered new interface driver smsc75xx
[    1.500000] usbcore: registered new interface driver smsc95xx
[    1.505000] usbcore: registered new interface driver net1080
[    1.515000] usbcore: registered new interface driver rndis_host
[    1.520000] usbcore: registered new interface driver cdc_subset
[    1.525000] usbcore: registered new interface driver zaurus
[    1.530000] usbcore: registered new interface driver cdc_ncm
[    1.540000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.545000] ehci-pci: EHCI PCI platform driver
[    1.550000] ehci-platform: EHCI generic platform driver
[    1.555000] ehci-omap: OMAP-EHCI Host Controller driver
[    1.560000] ehci-orion: EHCI orion driver
[    1.565000] ehci-st: EHCI STMicroelectronics driver
[    1.570000] ehci-exynos: EHCI EXYNOS driver
[    1.575000] ehci-atmel: EHCI Atmel driver
[    1.580000] tegra-ehci: Tegra EHCI driver
[    1.580000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.590000] ohci-pci: OHCI PCI platform driver
[    1.595000] ohci-platform: OHCI generic platform driver
[    1.600000] ohci-omap3: OHCI OMAP3 driver
[    1.600000] ohci-st: OHCI STMicroelectronics driver
[    1.605000] ohci-atmel: OHCI Atmel driver
[    1.610000] usbcore: registered new interface driver usb-storage
[    1.620000] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.630000] mousedev: PS/2 mouse device common for all mice
[    1.640000] i2c /dev entries driver
[    1.645000] axp20x 0-0034: AXP20x variant AXP209 found
[    1.655000] axp20x-gpio axp20x-gpio: AXP209 GPIO driver loaded
[    1.670000] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0
[    1.685000] axp20x 0-0034: AXP20X driver loaded
[    1.715000] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.725000] sdhci: Secure Digital Host Controller Interface driver
[    1.730000] sdhci: Copyright(c) Pierre Ossman
[    1.735000] Synopsys Designware Multimedia Card Interface Driver
[    1.745000] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.755000] ledtrig-cpu: registered to indicate activity on CPUs
[    1.760000] usbcore: registered new interface driver usbhid
[    1.765000] usbhid: USB HID core driver
[    1.775000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.780000] NET: Registered protocol family 10
[    1.790000] sit: IPv6 over IPv4 tunneling driver
[    1.795000] NET: Registered protocol family 17
[    1.795000] can: controller area network core (rev 20120528 abi 9)
[    1.805000] NET: Registered protocol family 29
[    1.810000] can: raw protocol (rev 20120528)
[    1.815000] can: broadcast manager protocol (rev 20120528 t)
[    1.820000] can: netlink gateway (rev 20130117) max_hops=1
[    1.825000] Key type dns_resolver registered
[    1.830000] cpu: dev_pm_opp_of_cpumask_add_table: couldn't find opp table for cpu:0, -19
[    1.840000] cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
[    1.845000] ThumbEE CPU extension supported.
[    1.850000] Registering SWP/SWPB emulation handler
[    1.860000] ehci-platform 1c14000.usb: EHCI Host Controller
[    1.865000] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[    1.875000] ehci-platform 1c14000.usb: irq 22, io mem 0x01c14000
[    1.890000] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[    1.895000] hub 1-0:1.0: USB hub found
[    1.900000] hub 1-0:1.0: 1 port detected
[    1.905000] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[    1.910000] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 2
[    1.920000] ohci-platform 1c14400.usb: irq 23, io mem 0x01c14400
[    1.980000] hub 2-0:1.0: USB hub found
[    1.985000] hub 2-0:1.0: 1 port detected
[    1.990000] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    2.000000] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    2.005000] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    2.015000] hub 3-0:1.0: USB hub found
[    2.020000] hub 3-0:1.0: 1 port detected
[    2.025000] using random self ethernet address
[    2.030000] using random host ethernet address
[    2.035000] usb0: HOST MAC 62:4a:30:94:eb:e9
[    2.040000] usb0: MAC d2:6e:8d:c9:af:e5
[    2.045000] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    2.050000] g_cdc gadget: g_cdc ready
[    2.055000] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[    2.065000] sunxi-mmc 1c0f000.mmc: allocated mmc-pwrseq
[    2.100000] sunxi-mmc 1c0f000.mmc: base:0xd0908000 irq:20
[    2.105000] ubi0: attaching mtd4
[    2.110000] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 8, RTO !!
[    2.120000] sunxi-mmc 1c0f000.mmc: card claims to support voltages below defined range
[    2.140000] mmc0: new high speed SDIO card at address 0001
[    2.595000] g_cdc gadget: high-speed config #1: CDC Composite (ECM + ACM)
[    3.665000] ubi0: scanning is finished
[    3.685000] ubi0: attached mtd4 (name "rootfs", size 496 MiB)
[    3.690000] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[    3.695000] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 1024
[    3.705000] ubi0: VID header offset: 1024 (aligned 1024), data offset: 4096
[    3.710000] ubi0: good PEBs: 1978, bad PEBs: 6, corrupted PEBs: 0
[    3.715000] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[    3.725000] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1444477407
[    3.735000] ubi0: available PEBs: 1, total reserved PEBs: 1977, PEBs reserved for bad PEB handling: 34
[    3.745000] hctosys: unable to open rtc device (rtc0)
[    3.755000] vcc3v0: disabling
[    3.755000] vcc3v3: disabling
[    3.760000] ubi0: background thread "ubi_bgt0d" started, PID 57
[    3.775000] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 58
[    4.005000] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    4.010000] UBIFS (ubi0:0): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[    4.020000] UBIFS (ubi0:0): FS size: 497774592 bytes (474 MiB, 1929 LEBs), journal size 9420800 bytes (8 MiB, 37 LEBs)
[    4.030000] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[    4.035000] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 435F92C7-9BDF-4BEC-A27A-638EABBA49D3, small LPT model
[    4.055000] VFS: Mounted root (ubifs filesystem) on device 0:15.
[    4.065000] devtmpfs: mounted
[    4.070000] Freeing unused kernel memory: 1068K (c0edd000 - c0fe8000)
[    4.535000] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    4.550000] systemd[1]: Detected architecture 'arm'.

Welcome to Linux!

[    4.590000] systemd[1]: Set hostname to <chip>.
[    4.595000] systemd[1]: Initializing machine ID from random generator.
[    5.625000] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[    5.655000] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    5.665000] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    5.670000] systemd[1]: Expecting device dev-ttyS0.device...
         Expecting device dev-ttyS0.device...
[    5.690000] systemd[1]: Expecting device dev-ttyGS0.device...
         Expecting device dev-ttyGS0.device...
[    5.705000] systemd[1]: Starting Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[    5.720000] systemd[1]: Reached target Remote File Systems (Pre).
[    5.725000] systemd[1]: Starting Network is Online.
[  OK  ] Reached target Network is Online.
[    5.740000] systemd[1]: Reached target Network is Online.
[    5.745000] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[    5.750000] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    5.760000] systemd[1]: Starting Paths.
[  OK  ] Reached target Paths.
[    5.775000] systemd[1]: Reached target Paths.
[    5.775000] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    5.785000] systemd[1]: Starting Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[    5.805000] systemd[1]: Reached target Encrypted Volumes.
[    5.810000] systemd[1]: Starting Swap.
[  OK  ] Reached target Swap.
[    5.825000] systemd[1]: Reached target Swap.
[    5.825000] systemd[1]: Starting Root Slice.
[  OK  ] Created slice Root Slice.
[    5.845000] systemd[1]: Created slice Root Slice.
[    5.845000] systemd[1]: Starting User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    5.865000] systemd[1]: Created slice User and Session Slice.
[    5.870000] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    5.890000] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    5.895000] systemd[1]: Starting Delayed Shutdown Socket.
[  OK  ] Listening on Delayed Shutdown Socket.
[    5.910000] systemd[1]: Listening on Delayed Shutdown Socket.
[    5.915000] systemd[1]: Starting Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    5.930000] systemd[1]: Listening on Journal Socket (/dev/log).
[    5.935000] systemd[1]: Starting udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    5.950000] systemd[1]: Listening on udev Control Socket.
[    5.955000] systemd[1]: Starting udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    5.970000] systemd[1]: Listening on udev Kernel Socket.
[    5.975000] systemd[1]: Starting Journal Socket.
[  OK  ] Listening on Journal Socket.
[    5.990000] systemd[1]: Listening on Journal Socket.
[    5.995000] systemd[1]: Starting System Slice.
[  OK  ] Created slice System Slice.
[    6.010000] systemd[1]: Created slice System Slice.
[    6.015000] systemd[1]: Starting system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    6.030000] systemd[1]: Created slice system-getty.slice.
[    6.035000] systemd[1]: Starting system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    6.050000] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    6.055000] systemd[1]: Starting Restore / save the current clock...
         Starting Restore / save the current clock...
[    6.080000] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    6.120000] systemd[1]: Starting Create list of required static device nodes for the current kernel...
         Starting Create list of required static device nodes...rrent kernel...
[    6.185000] systemd[1]: Started live-config contains the components that configure a live system during the boot process (late userspace)..
[    6.260000] systemd[1]: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...
[    6.285000] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[    6.305000] systemd[1]: Mounted Huge Pages File System.
[    6.320000] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    6.360000] systemd[1]: Started Set Up Additional Binary Formats.
[    6.385000] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[  OK  ] Started Journal Service.
[    6.475000] systemd[1]: Started Journal Service.
[  OK  ] Reached target Slices.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Create list of required static device nodes ...current kernel.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Load/Save Random Seed...
         Mounting Configuration File System...
         Starting Apply Kernel Variables...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started udev Coldplug all Devices.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
[  OK  ] Reached target Remote File Systems.
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting Create Volatile Files and Directories...
[    7.720000] systemd-udevd[97]: starting version 215
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started udev Kernel Device Manager.
         Starting Copy rules generated while the root was ro...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Copy rules generated while the root was ro.
[    8.015000] systemd-journald[78]: Received request to flush runtime journal from PID 1
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Timers.
         Starting Restore Sound Card State...
[  OK  ] Reached target Basic System.
         Starting NAND health watchdog service...
[  OK  ] Started NAND health watchdog service.
         Starting Network Manager...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started OpenBSD Secure Shell server.
         Starting /etc/rc.local Compatibility...
         Starting Login Service...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting LSB: Start NTP daemon...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
         Starting Permit User Sessions...
[  OK  ] Started Restore Sound Card State.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started Permit User Sessions.
[   12.330000] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[  OK  ] Found device /dev/ttyS0.
         Starting Serial Getty on ttyS0...
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Login Service.
[  OK  ] Found device /dev/ttyGS0.
[  OK  ] Started LSB: Start NTP daemon.
[   14.950000] RTW: module init start
[   14.950000] RTW: rtl8723ds v5.1.1.2_18132.20160706_BTCOEX20160510-0909
[   14.960000] RTW: build time: Dec 21 2016 01:53:26
[   14.965000] RTW: rtl8723ds BT-Coex version = BTCOEX20160510-0909
[   15.105000] RTW: CHIP TYPE: RTL8723D
[   15.105000] RTW: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1
[   15.115000] RTW: Chip Version Info: CHIP_8723D_Normal_Chip_TSMC_C_CUT_1T1R_RomVer(0)
[   15.175000] RTW: SetHwReg: bMacPwrCtrlOn=1
[   15.195000] RTW: PowerOnCheck: val_mix:0x0000063f, res:0x0000063f
[   15.200000] RTW: PowerOnCheck: 0x100 the result of cmd52 and cmd53 is the same.
[   15.235000] RTW: PowerOnCheck: 0x1B8 test Pass.
[   15.235000] RTW: ReadAdapterInfo8723DS, 0x4e=0xc2
[   15.265000] RTW: EEPROM type is E-FUSE
[   15.265000] RTW: hal_EfuseSwitchToBank: Efuse switch bank to 0
[   15.340000] RTW: hal_ReadEFuse_WiFi: data end at address=0xa9
[   15.355000] RTW: HW EFUSE
[   15.355000] RTW: eFuse Content:
[   15.395000] RTW: Hal_EfuseParseBTCoexistInfo_8723D: Enable BT-coex, ant_num=1
[   15.400000] RTW: hal_com_config_channel_plan chplan:0x20
[   15.405000] RTW: Hal_EfuseParseVoltage_8723D hwinfo[EEPROM_Voltage_ADDR_8723D] =a0
[   15.415000] RTW: Hal_EfuseParseVoltage_8723D pHalData->adjuseVoltageVal =a
[   15.505000] RTW: rtl8723d_FirmwareDownload fw: FW_NIC, size: 25650
[   15.510000] RTW: rtl8723d_FirmwareDownload: fw_ver=10 fw_subver=0000 sig=0x23d1, Month=05, Date=16, Hour=18, Minute=16
[   15.520000] RTW: rtl8723d_FirmwareDownload(): Shift for fw header!
[   15.605000] RTW: rtl8723d_FirmwareDownload by IO write!
[   16.000000] RTW: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x07060305
[   16.030000] RTW: _8051Reset8723: Finish
[   16.055000] RTW: _FWFreeToGo: Polling FW ready OK! (3, 25ms), REG_MCUFWDL:0x070607c6
[   16.060000] RTW: rtl8723d_FirmwareDownload success. write_fw:1, 535ms
[   16.130000] RTW:  <=== rtl8723d_FirmwareDownload()
[   16.135000] RTW: hal_read_mac_hidden_rpt OK! (1, 5ms), fwdl:1, id:0x19
[   16.155000] RTW: SetHwReg: bMacPwrCtrlOn=0
[   16.180000] RTW: rtw_hal_read_chip_info in 1060 ms
[   16.200000] RTW: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13
[   16.220000] RTW: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1
[   16.245000] RTW: Init_ODM_ComInfo_8723d(): fab_ver=0 cut_ver=2
[   16.250000] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[   16.260000] RTW: rtw_macaddr_cfg mac addr:a0:2c:36:89:78:aa
[   16.355000] RTW: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[   16.375000] RTW: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13
[   16.425000] RTW: rtw_alloc_macid((null)) if2, hwaddr:ff:ff:ff:ff:ff:ff macid:1
[   16.430000] RTW: rtw_drv_add_vir_if if2 mac_addr : a2:2c:36:89:78:aa
[   16.435000] RTW: rtw_wiphy_alloc(phy0)
[   16.440000] RTW: rtw_wdev_alloc(padapter=d0ecf000)
[   16.445000] RTW: rtw_wiphy_alloc(phy1)
[   16.450000] RTW: rtw_wdev_alloc(padapter=d0f44000)
[   16.455000] RTW: rtw_wiphy_register(phy0)
[   16.460000] RTW: Register RTW cfg80211 vendor cmd(0x67) interface
[   16.465000] RTW: rtw_ndev_init(wlan0) if1 mac_addr=a0:2c:36:89:78:aa
[   16.470000] RTW: rtw_ndev_notifier_call(wlan0) state:16
[   16.480000] RTW: rtw_ndev_notifier_call(wlan0) state:5
[   16.485000] RTW: rtw_wiphy_register(phy1)
[   16.490000] RTW: Register RTW cfg80211 vendor cmd(0x67) interface
[   16.495000] RTW: rtw_ndev_init(wlan1) if2 mac_addr=a2:2c:36:89:78:aa
[   16.500000] RTW: rtw_ndev_notifier_call(wlan1) state:16
[   16.505000] RTW: rtw_ndev_notifier_call(wlan1) state:5
[   16.795000] RTW: module init ret=0
[  OK  ] Created slice system-systemd\x2drfkill.slice.
         Starting Load/Save RF Kill Switch Status of rfkill1...
         Starting Load/Save RF Kill Switch Status of rfkill0...
[  OK  ] Reached target Sound Card.
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
         Starting Serial Getty on ttyGS0...
[  OK  ] Started Serial Getty on ttyGS0.
[  OK  ] Started Load/Save RF Kill Switch Status of rfkill1.
[  OK  ] Started Load/Save RF Kill Switch Status of rfkill0.
[   18.660000] RTW: rtw_ndev_notifier_call(wlan0) state:13
[   18.670000] RTW: _netdev_open(wlan0) , bup=0
[   18.690000] RTW: FW does not exist before power on!!
[   18.700000] RTW: SetHwReg: bMacPwrCtrlOn=1
[   18.710000] RTW: PowerOnCheck: val_mix:0x0000063f, res:0x0000063f
[   18.715000] RTW: PowerOnCheck: 0x100 the result of cmd52 and cmd53 is the same.
[   18.730000] RTW: PowerOnCheck: 0x1B8 test Pass.
[   18.735000] RTW: Power on ok!
[   18.735000] RTW: rtl8723d_FirmwareDownload fw: FW_NIC, size: 25650
[   18.745000] RTW: rtl8723d_FirmwareDownload: fw_ver=10 fw_subver=0000 sig=0x23d1, Month=05, Date=16, Hour=18, Minute=16
[   18.755000] RTW: rtl8723d_FirmwareDownload(): Shift for fw header!
[   18.785000] RTW: rtl8723d_FirmwareDownload by IO write!
[   18.935000] RTW: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00060705
[   18.945000] RTW: _8051Reset8723: Finish
[   18.960000] RTW: _FWFreeToGo: Polling FW ready OK! (220, 15ms), REG_MCUFWDL:0x000607c6
[   18.970000] RTW: rtl8723d_FirmwareDownload success. write_fw:1, 210ms

[   18.985000] RTW:  <=== rtl8723d_FirmwareDownload()
[   18.985000] RTW: HalDetectPwrDownMode(): PDN=0
[   18.990000] RTW: Set RF Chip ID to RF_6052 and RF type to 3.
Debian GNU/Linux 8 chip ttyS0

chip login: [   19.090000] RTW: ===>phy_SpurCalibration_8723D: Channel = 1
[   19.100000] RTW: ===>phy_SwChnl8723D: Channel = 1
[   19.110000] RTW: ADAPTIVITY_VERSION 9.3.3
[   19.115000] RTW: RTW_ADAPTIVITY_EN_ENABLE
[   19.115000] RTW: RTW_ADAPTIVITY_MODE_NORMAL
[   19.120000] RTW: RTW_ADAPTIVITY_DML_DISABLE
[   19.125000] RTW: RTW_ADAPTIVITY_DC_BACKOFF:2
[   19.415000] RTW: rtw_hal_set_macaddr_port wlan0- hw port(0) mac_addr =a0:2c:36:89:78:aa
[   19.425000] RTW: rtw_hal_set_macaddr_port wlan1- hw port(1) mac_addr =a2:2c:36:89:78:aa
[   19.435000] RTW: rtw_hal_get_macaddr_port wlan0- hw port(0) mac_addr =a0:2c:36:89:78:aa
[   19.440000] RTW: wlan0- hw port(0) mac_addr =a0:2c:36:89:78:aa
[   19.455000] RTW: rtw_hal_get_macaddr_port wlan1- hw port(1) mac_addr =a2:2c:36:89:78:aa
[   19.460000] RTW: wlan1- hw port(1) mac_addr =a2:2c:36:89:78:aa
[   19.475000] RTW: ===>phy_SpurCalibration_8723D: Channel = 1
[   19.485000] RTW: ===>phy_SwChnl8723D: Channel = 1
[   19.495000] RTW: MAC Address = a0:2c:36:89:78:aa
[   19.505000] RTW: start rtl8723ds_xmit_thread(wlan0)
[   19.510000] RTW: rtw_cfg80211_init_wiphy:rf_type=3
[   19.515000] RTW: [HT] HAL Support STBC = 0x01
[   19.515000] RTW: _netdev_vir_if_open(wlan1) , bup=0
[   19.535000] RTW: rtw_cfg80211_init_wiphy:rf_type=3
[   19.535000] RTW: [HT] HAL Support STBC = 0x01
[   19.540000] RTW: _netdev_vir_if_open(wlan1) (bup=1) exit
[   19.545000] RTW: -871x_drv - drv_open, bup=1
[   19.550000] RTW: cfg80211_rtw_set_power_mgmt(wlan0) enabled:1, timeout:-1
[   19.560000] RTW: rtw_ndev_notifier_call(wlan0) state:1
[   19.565000] RTW: start rtl8723ds_xmit_thread(wlan1)
[   19.605000] RTW: cfg80211_rtw_get_txpower
[   20.035000] RTW: cfg80211_rtw_get_txpower
[   20.045000] RTW: cfg80211_rtw_get_txpower
[   20.055000] RTW: cfg80211_rtw_get_txpower
[   20.060000] RTW: rtw_ndev_notifier_call(wlan0) state:4
[   20.130000] RTW: cfg80211_rtw_flush_pmksa(wlan0)

pressing enter to initiate shell, logging in as chip, and escalating privileges to root with "su".


Debian GNU/Linux 8 chip ttyS0

chip login: chip
Password: 
Linux chip 4.4.30-pro #1 SMP Wed Dec 21 01:50:18 UTC 2016 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
chip@chip:~$ su
Password: 
root@chip:/home/chip#