PocketBook Touch Lux 2 (626)
PocketBook Touch Lux 2 (626) | |
---|---|
Manufacturer | PocketBook |
Dimensions | 114.6mm x 174.4mm x 8.3mm |
Release Date | Month year |
Website | [1] |
Specifications | |
SoC | A13 @ 1Ghz |
DRAM | 256MiB DDR3 @ ??MHz |
NAND | N/A |
Power | DC 5V @ 3A, 1500mAh 3.7V Li-Ion battery |
Features | |
Touchscreen | ?-finger capacitive(Manufacturer device) |
Video | N/A |
Audio | N/A |
Network | WiFi 802.11 b/g/n (Manufacturer device), 10/100/1000Mbps Ethernet (Manufacturer device) |
Storage | 2 x µSD (1 internal, 1 external) |
USB | 1 USB2.0 Host |
Camera | none |
Other | eInk "backlight" |
Headers | UART |
This page needs to be properly filled according to the New Device Howto and the New Device Page guide.
This device has an eInk device, dmesg shows an EPDC driver is used. An almost identical device exists, the PocketBook Touch Lux 3. Mother board has some subtle differences, both uses the same firmwares.
Identification
This section explains how to most easily identify your device. For a development board, explain the name(s) printed on the board. For an android device, find out the strings as reported under settings.
On the back of the device, the following is printed:
Manufacturer Marketing Name ModelNumber
The PCB has the following silkscreened on it:
E026 PB626V1.4 20140625
Sunxi support
Current status
Give a brief overview of the current status of support under sunxi here.
Images
Optional. Add MANUFACTURER DEVICE specific sunxi ROM images here. E.g. a livesuit image or some other linux image which uses linux-sunxi code. Do not put non-sunxi images here, they should live under See also. If no sunxi based images are available, this section can be removed.
HW-Pack
Optional. Add MANUFACTURER DEVICE sunxi HW-pack specifics here. When empty, this section can be removed.
BSP
- http://www.pocketbook-int.com/parts-of-software
- https://github.com/pocketbook/Platform_A13/tree/master/Kernel
Manual build
You can build things for yourself by following our Manual build howto and by choosing from the configurations available below.
U-Boot
Sunxi/Legacy U-Boot
Use the MANUFACTURER_DEVICE build target.
Mainline U-Boot
I tried tweaking the A13-OLinuXino_defconfig. Added: CONFIG_MMC_SUNXI_SLOT_EXTRA=2 to get u-boot doing something.
There are obvious issues with MMC detection. MMC2 (internal slot) seems to work perfectly, whereas MMC0 (external slot) does not really work. It seems detected ("mmc list" command) but issuing "mmc dev 0" has no effect: command returns code 1 with no error message.
Even with this, it is still possible to boot a mainline linux kernel, but it has the same issue with external slot.
Linux Kernel
Sunxi/Legacy Kernel
Use the MANUFACTURER_DEVICE.fex file.
Mainline kernel
Please look at the "discussion" tab of this page, I added some notes.
I tried tweaking the "sun5i-a13-olinuxino" device-tree.
But there is an issue at this point with at least the external mmc slot (0):
/sys/kernel/debug # cat mmc0/ios
clock: 0 Hz
vdd: 0 (invalid)
bus mode: 2 (push-pull)
chip select: 0 (don't care)
power mode: 0 (off)
bus width: 0 (1 bits)
timing spec: 0 (legacy)
signal voltage: 0 (3.30 V)
driver type: 0 (driver type B)
/sys/kernel/debug # cat mmc1/ios
clock: 50000000 Hz
actual clock: 50000000 Hz
vdd: 21 (3.3 ~ 3.4 V)
bus mode: 2 (push-pull)
chip select: 0 (don't care)
power mode: 2 (on)
bus width: 2 (4 bits)
timing spec: 2 (sd high-speed)
signal voltage: 0 (3.30 V)
driver type: 0 (driver type B)
But that did not help since everything seems good in device tree (clock definition, bus width etc.).
Tips, Tricks, Caveats
Please look at the "discussion" tab of this page, I added some notes.
Manufacturer SD image boots the old boot0 / boot1 / boot.axf way, then starts an uImage Linux 3 kernel (as of firmware 5.14.1225). We can find source code for the kernel here, but I think it is incomplete, and while I built it successfully, I have not been able to boot it.
Manufacturer's OS dmesg output |
[ 0.000000] Linux version 3.0.8-hg+default-8e9111a31373 (jenkins@redbool) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #1 PREEMPT Mon Jul 17 20:19:39 EEST 2017 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387f [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: sun5i [ 0.000000] Total Detected Memory: 256MB with 2 banks [ 0.000000] Memory Reserved(in bytes): [ 0.000000] SYS: 0x43000000, 0x00010000 [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] On node 0 totalpages: 57344 [ 0.000000] free_area_init_node: node 0, pgdat c03d4d70, node_mem_map c0432000 [ 0.000000] Normal zone: 512 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 56832 pages, LIFO batch:15 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 56832 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p7 init=/init loglevel=1 rootwait [ 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: 97MB 127MB = 224MB total [ 0.000000] Memory: 222952k/222952k available, 6424k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB) [ 0.000000] vmalloc : 0xd0800000 - 0xf0000000 ( 504 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .init : 0xc0008000 - 0xc0025000 ( 116 kB) [ 0.000000] .text : 0xc0025000 - 0xc03b10e8 (3633 kB) [ 0.000000] .data : 0xc03b2000 - 0xc03da2f0 ( 161 kB) [ 0.000000] .bss : 0xc03da314 - 0xc04313ec ( 349 kB) [ 0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:96 nr_irqs:96 96 [ 0.000000] timer0: Periodic Mode [ 0.000000] sw_timer_init,line:376 [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] aw_clksrc_init, line:339 [ 0.000000] Console: colour dummy device 80x30 [ 0.000108] Calibrating delay loop... 997.37 BogoMIPS (lpj=498688) [ 0.008219] pid_max: default: 32768 minimum: 301 [ 0.008325] Mount-cache hash table entries: 512 [ 0.008627] CPU: Testing write buffer coherency: ok [ 0.010097] print_constraints: dummy: [ 0.010246] NET: Registered protocol family 16 [ 0.011322] try to parse apb frequency from script faild! [ 0.011414] SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics [ 0.011477] Initialize DMAC OK [ 0.013315] bio: create slab <bio-0> at 0 [ 0.013690] usbcore: registered new interface driver usbfs [ 0.013739] usbcore: registered new interface driver hub [ 0.013830] usbcore: registered new device driver usb [ 0.014786] cfg80211: Calling CRDA to update world regulatory domain [ 0.014862] Init eGon pin module V2.0 [ 0.014871] gpio irq init... [ 0.014881] Switching to clocksource aw 64bits couter [ 0.014881] Switched to NOHz mode on CPU #0 [ 0.018096] [usb_manager]: CONFIG_USB_SW_SUN5I_USB0_OTG [ 0.018337] [sw_hcd0]: usb host driver initialize........ [ 0.018401] [sw_hcd0]: open_usb_clock [ 0.038584] [sw_hcd0]: host_init_state = 0 [ 0.038593] [sw_hcd0]: platform is usb host [ 0.038659] [sw_hcd0]: sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f1c13000 using PIO, IRQ 38 [ 0.038683] sw_hcd_host0 sw_hcd_host0: sw_hcd host driver [ 0.038699] sw_hcd_host0 sw_hcd_host0: new USB bus registered, assigned bus number 1 [ 0.039152] hub 1-0:1.0: USB hub found [ 0.039180] hub 1-0:1.0: 1 port detected [ 0.039208] wrn: hcd is not enable, need not start hcd [ 0.039310] [sw_hcd0]: sw_usb_host0_disable start [ 0.039321] -------sw_hcd0_soft_disconnect--------- [ 0.039332] [sw_hcd_host0]: Set USB Power OFF [ 0.039342] wrn: hcd is not enable, need not stop hcd [ 0.039373] [sw_hcd0]: close_usb_clock [ 0.039416] [sw_hcd0]: sw_usb_host0_disable end [ 0.039453] [sw_udc]: udc_init: version 20080411 [ 0.039790] NET: Registered protocol family 2 [ 0.039902] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.040134] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.040254] TCP bind hash table entries: 8192 (order: 3, 32768 bytes) [ 0.040326] TCP: Hash tables configured (established 8192 bind 8192) [ 0.040336] TCP reno registered [ 0.040347] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.040365] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.040526] NET: Registered protocol family 1 [ 0.040746] PMU: registered new PMU device of type 0 [ 0.040792] [pm]aw_pm_init! [ 0.040806] standby_mode = 1. [ 0.050885] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.051107] msgmni has been set to 435 [ 0.054806] alg: No test for stdrng (krng) [ 0.054868] io scheduler noop registered [ 0.054876] io scheduler deadline registered [ 0.054971] io scheduler cfq registered (default) [ 0.055557] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.056382] serial8250.0: ttyS0 at MMIO 0x1c28400 (irq = 2) is a U6_16550A [ 0.056492] console [ttyS0] enabled [ 0.056913] sunxi-uart.1: ttyS0 at MMIO 0x1c28400 (irq = 2) is a U6_16550A [ 0.057656] brd: module loaded [ 0.059445] loop: module loaded [ 0.059468] drivers/spi/spi_sunxi.c(L2114) sw spi init fetch spi0 uning configuration failed [ 0.059491] [spi]: Found 1 spi devices in config files [ 0.059503] boards_num modalias max_spd_hz bus_num cs mode [ 0.059524] 0 panel_spi 100000 2 0 0 [ 0.059650] drivers/spi/spi_sunxi.c(L2081) get spi 2 para failed, err code = -4 [ 0.059940] [spi-2]: source = sdram_pll_p, src_clk = 408000000, mclk 102000000 [ 0.060185] Reuuimllas SoC SPI Driver loaded for Bus SPI-2 with 2 Slaves at most [ 0.060200] [spi-2]: driver probe succeed, base d08b6000, irq 12, dma_id_rx 4, dma_id_tx 5! [ 0.060255] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.060306] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.060371] ------print_msc_config----- [ 0.060379] vendor_id = 0x18d1 [ 0.060386] mass_storage_id = 0x1 [ 0.060392] adb_id = 0x2 [ 0.060398] usb_manufacturer_name = USB Developer [ 0.060406] usb_product_name = Android [ 0.060412] usb_serial_number = 20080411 [ 0.060419] msc_vendor_name = USB 2.0 [ 0.060425] msc_product_name = USB Flash Driver [ 0.060433] msc_release = 100 [ 0.060439] luns = 2 [ 0.060445] --------------------------- [ 0.060589] [sw_udc]: [sw_usb_udc]: binding gadget driver 'android_usb' [ 0.060607] [sw_udc]: alloc request: ep(0xc03cde88, ep0, 64), req(0xcf90ba40) [ 0.060628] WRN:L2695(drivers/usb/sun5i_usb/udc/sw_udc.c):ERR: usb device is not active [ 0.060641] [sw_udc]: sw_udc_pullup, is_on = 0 [ 0.060651] WRN:L2730(drivers/usb/sun5i_usb/udc/sw_udc.c):ERR: usb device is not active [ 0.061657] android_usb gadget: Mass Storage Function, version: 2009/09/11 [ 0.061672] android_usb gadget: Number of LUNs=2 [ 0.061682] lun0: LUN: removable file: (no medium) [ 0.061691] lun1: LUN: removable file: (no medium) [ 0.061700] lun name: lun [ 0.061711] lun name: lun1 [ 0.061839] WRN:L2695(drivers/usb/sun5i_usb/udc/sw_udc.c):ERR: usb device is not active [ 0.061860] android_usb gadget: android_usb ready [ 0.061935] mousedev: PS/2 mouse device common for all mice [ 0.062125] input: sun4i-keyboard as /devices/virtual/input/input0 [ 0.062225] GpioKey_probe: hxm GPIOKEY__used. [ 0.062246] sw_gpio_set_trigger(): Enter 3 [ 0.064057] sw_gpio_set_trigger(): Enter 3 [ 0.066221] i2c-core: driver [pcf8563] using legacy suspend method [ 0.066231] i2c-core: driver [pcf8563] using legacy resume method [ 0.066241] i2c /dev entries driver [ 0.066340] !!! base_Addr = 0xd08b8c00 [ 0.066359] config i2c gpio with gpio_config api [ 0.066404] twi0, apb clock = 24000000 [ 0.068297] axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected [ 0.069306] rtc_detect,line:206 [ 0.069315] I2C: i2c-0: AW16XX I2C adapter [ 0.069322] **********start************ [ 0.069329] 0x40 [ 0.069334] 0xf8 [ 0.069339] 0x28 [ 0.069344] 0x0 [ 0.069348] 0x0 [ 0.069353] **********end************ [ 0.069390] !!! base_Addr = 0xd08ba000 [ 0.069436] twi1, apb clock = 24000000 [ 0.069594] rtc_detect: Detected chip pcf8563 at adapter 1, address 0x51 [ 0.069673] pcf8563 1-0051: chip found, driver version 0.4.3 [ 0.080815] rtc (null): alarm rollover not handled [ 0.080993] using rtc device, pcf8563, for alarms [ 0.081052] pcf8563 1-0051: rtc core: registered pcf8563 as rtc0 [ 0.090163] I2C: i2c-1: AW16XX I2C adapter [ 0.090170] **********start************ [ 0.090177] 0x40 [ 0.090182] 0xf8 [ 0.090187] 0x5a [ 0.090192] 0x0 [ 0.090196] 0x0 [ 0.090200] **********end************ [ 0.090240] !!! base_Addr = 0xd08bc400 [ 0.090292] twi2, apb clock = 24000000 [ 0.090436] rtc_detect,line:206 [ 0.090445] I2C: i2c-2: AW16XX I2C adapter [ 0.090451] **********start************ [ 0.090457] 0x40 [ 0.090462] 0xf8 [ 0.090467] 0x59 [ 0.090472] 0x0 [ 0.090476] 0x0 [ 0.090481] **********end************ [ 0.090627] print_constraints: axp20_ldo1: 1300 mV [ 0.091569] print_constraints: axp20_ldo2: 1800 <--> 3300 mV at 3000 mV [ 0.092502] print_constraints: axp20_ldo3: 700 <--> 3500 mV at 3300 mV [ 0.092567] [axp_regulator_probe] disable AXP20_ID_LDO3 [ 0.093633] print_constraints: axp20_ldo4: 1250 <--> 3300 mV at 3300 mV [ 0.094537] print_constraints: axp20_buck2: 700 <--> 2275 mV at 1400 mV [ 0.095458] print_constraints: axp20_buck3: 700 <--> 3500 mV at 1200 mV [ 0.096532] print_constraints: axp20_ldoio0: 1800 mV [ 0.097091] input: axp20-supplyer as /devices/platform/sun5i-i2c.0/i2c-0/0-0034/axp20-supplyer.28/input/input1 [ 0.101907] [AXP]power key up [ 0.105894] pmu_pekoff_time = 6000 [ 0.105903] pmu_pekoff_en = 1 [ 0.105909] pmu_peklong_time = 1500 [ 0.105915] pmu_pekon_time = 1000 [ 0.105921] pmu_pwrok_time = 64 [ 0.105927] pmu_pwrnoe_time = 2000 [ 0.105933] pmu_intotp_en = 1 [ 0.106419] [AXP]POWER20_OFF_CTL:2139-->0x42 [ 0.106886] POWER20_PEK_SET:2157-->0x1d [ 0.107357] POWER20_PEK_SET:2168-->0x1d [ 0.107823] POWER20_PEK_SET:2177-->0x1d [ 0.108296] POWER20_PEK_SET:2188-->0x1d [ 0.108765] POWER20_PEK_SET:2200-->0x1d [ 0.109252] POWER20_HOTOVER_CTL:2209-->0xad [ 0.112537] [AXP]last_rest_vol = 100, now_rest_vol = 98 [ 0.114043] [AXP]Cur_CoulombCounter = 75 [ 0.114052] [AXP]charger->rest_vol = 100 [ 0.117213] sunxi_wdt: sunxi WatchDog Timer Driver v1.0 [ 0.117452] sunxi_wdt: initialized (timeout=23s, nowayout=0) [ 0.117668] [mmc_pm]: no sdio card used in configuration [ 0.117678] [mmc]: sunximmc_init [ 0.117688] enable_mmc0 [ 0.117782] mmc0_interrupt_init [ 0.117801] sw_gpio_set_trigger(): Enter 3 [ 0.119093] sw_gpio_set_trigger(): Enter 2 [ 0.119106] sd_inserted 1 dev c03d0ff8 cf8e9900 [ 0.119193] [mmc]: sunxi mmc controller using config : 0x5 [ 0.119247] [mmc]: sunxi-mmc.0: pdev->name: sunxi-mmc, pdev->id: 0 [ 0.119391] sw_gpio_set_trigger(): Enter 3 [ 0.119401] sd_inserted 0 dev c03d0ff8 cf8e9900 [ 0.119570] [mmc]: mmc 0 power off !! [ 0.119607] disable_mmc0 [ 0.119653] [mmc]: mmc0 Probe: base:0xd08c0000 irq:32 dma:0 pdes:0xffdff000, ret 0. [ 0.119678] [mmc]: sunxi-mmc.2: pdev->name: sunxi-mmc, pdev->id: 2 [ 0.119894] [mmc]: mmc 2 power off !! [ 0.119945] [mmc]: mmc2 Probe: base:0xd08c2000 irq:34 dma:0 pdes:0xffdfe000, ret 0. [ 0.119983] sunxi_leds driver init [ 0.120228] Registered led device: power_led [ 0.120261] [ledtrig_charging_init] == [ 0.120535] [mmc]: mmc 2 power on !! [ 0.120880] TCP cubic registered [ 0.120897] NET: Registered protocol family 17 [ 0.120930] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.120956] Registering SWP/SWPB emulation handler [ 0.121266] dram_sysdev_init finished! [ 0.121715] [1008] [ 0.121739] [1008] [ 0.121835] [1008] [ 0.121861] [pcb_version_init] registered [ 0.122706] regulator_init_complete: axp20_buck3: incomplete constraints, leaving on [ 0.122974] regulator_init_complete: axp20_buck2: incomplete constraints, leaving on [ 0.123764] regulator_init_complete: axp20_ldo2: incomplete constraints, leaving on [ 0.127298] pcf8563 1-0051: setting system clock to 2018-07-16 17:57:31 UTC (1531763851) [ 0.128468] Waiting for root device /dev/mmcblk0p7... [ 0.142824] [mmc]: sdxc_request_done(L1116): smc 2 err, cmd 52, RTO !! [ 0.143650] [mmc]: sdxc_request_done(L1116): smc 2 err, cmd 52, RTO !! [ 0.150103] [mmc]: sdxc_request_done(L1116): smc 2 err, cmd 5, RTO !! [ 0.150908] [mmc]: sdxc_request_done(L1116): smc 2 err, cmd 5, RTO !! [ 0.151712] [mmc]: sdxc_request_done(L1116): smc 2 err, cmd 5, RTO !! [ 0.152516] [mmc]: sdxc_request_done(L1116): smc 2 err, cmd 5, RTO !! [ 0.181808] mmc1: new high speed SDHC card at address 0001 [ 0.182161] mmcblk0: 1 mmc1:0001 BB1QT 29.8 GiB [ 0.183321] mmcblk0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 > p4 [ 0.231822] EXT2-fs (mmcblk0p7): warning: maximal mount count reached, running e2fsck is recommended [ 0.234763] VFS: Mounted root (ext2 filesystem) on device 179:7. [ 0.234820] Freeing init memory: 116K [ 0.235353] Failed to execute /init. Attempting defaults... [ 0.450530] Software EPDC driver (build Jul 17 2017 20:19:45) [ 0.450548] Copyright (c) 2013 by Obreey Products [ 0.453736] loading waveform file: /boot/default.wbf [ 0.455903] waveform size: 99635 [ 0.461346] waveform name: V220_C133_WR9401_ED060XC3H2_TC [ 0.461362] waveform type: 43 [ 0.461369] frame rate: 85 [ 0.461376] timing mode: 3 [ 0.461382] AMEPD part: 0xdd [ 0.461389] waveform modes: 8 [ 0.461394] temp ranges: 14 [ 0.480681] waveforms loaded [ 0.480984] init wf framebuffer: 320,793,7 [ 0.485584] [epdc_pmic_init] param pmic=TPS65185 [ 0.485598] [epdc_pmic_init] select "TPS65185" EPDC PMIC driver [ 0.497670] pmic vcom: -2030 [ 0.497799] [epdc_probe] POWER_SUPPLY_PROP_CAPACITY = 100 [ 0.526094] [960] [ 0.555645] ===========================ft5x_ts_init===================== [ 0.555664] ctp_fetch_sysconfig_para. [ 0.555690] ctp_fetch_sysconfig_para: after: ctp_twi_addr is 0x24, dirty_addr_buf: 0x24. dirty_addr_buf[1]: 0xfffe [ 0.555707] ctp_fetch_sysconfig_para: ctp_twi_id is 2. [ 0.555717] ctp_fetch_sysconfig_para: screen_max_x = 1024. [ 0.555727] ctp_fetch_sysconfig_para: screen_max_y = 758. [ 0.555737] ctp_fetch_sysconfig_para: revert_x_flag = 0. [ 0.555748] ctp_fetch_sysconfig_para: revert_y_flag = 0. [ 0.555758] ctp_fetch_sysconfig_para: exchange_x_y_flag = 0. [ 0.555767] [ctp_fetch_sysconfig_para] Defined CONFIG_PB_PLATFORM [ 0.555785] SetLDO1_8V: script_parser_fetch err. Use default [ 0.560038] SelectTPVoltage: script_parser_fetch err. Use default [ 0.560118] PoweronFPCFlash: script_parser_fetch err. Use default [ 0.560133] ft5x_ts_init: after fetch_sysconfig_para: normal_i2c: 0x24. normal_i2c[1]: 0xfffe [ 0.560153] script parser fetch err. [ 0.560162] ctp_init_platform_resource: tp_wakeup request gpio fail! [ 0.566045] [1008] [ 0.676331] ctp_detect: Detected chip ft5x_ts at adapter 2, address 0x24 [ 0.676455] ====ft5x_ts_probe begin=====. [ 0.676750] input: ft5x_ts as /devices/virtual/input/input2 [ 0.676899] CONFIG_FT5X0X_MULTITOUCH is defined. [ 0.677548] ft5x_ts_probe:2562 TS in bootloader mode, init TS [ 0.677559] cyttsp_init:1556 do soft reset [ 0.677995] cyttsp_init:1558 wrote into TS result 0 [ 0.697080] [960] [ 0.717063] [1008] [ 0.916046] cyttsp_init:1563 exiting bootloader mode [ 0.917486] cyttsp_init:1569 wrote into TS result 1 [ 1.039293] cyttsp_init:1572 [ 1.110075] [912] [ 1.193583] cyttsp_init:1578 [ 1.194034] cyttsp_init:1580 [ 1.214528] do_handshake:1439 [ 1.215223] Dumping buffer data of length 2 (0x2): [ 1.215232] 0000: 90 04 [ 1.215246] Dumping buffer data of length 2 (0x2): [ 1.215253] 0000: 00 10 [ 1.230051] [960] [ 1.250026] [1008] [ 1.340160] do_handshake:1439 [ 1.340816] Dumping buffer data of length 2 (0x2): [ 1.340824] 0000: 10 05 [ 1.340833] Dumping buffer data of length 2 (0x2): [ 1.340840] 0000: 00 90 [ 1.341277] cyttsp_init:1589 [ 1.360042] [960] [ 1.384123] cyttsp_init:1600 [ 1.384140] do_handshake:1439 [ 1.384797] Dumping buffer data of length 2 (0x2): [ 1.384805] 0000: 90 86 [ 1.384815] Dumping buffer data of length 2 (0x2): [ 1.384823] 0000: 00 10 [ 1.420038] [1008] [ 1.528097] [600] [ 1.590617] cyttsp_init:1609 [ 1.610840] do_handshake:1439 [ 1.611525] Dumping buffer data of length 2 (0x2): [ 1.611538] 0000: 80 00 [ 1.611554] Dumping buffer data of length 2 (0x2): [ 1.611565] 0000: 00 00 [ 1.612036] cyttsp_init:1613 [ 1.631045] [1008] [ 1.646722] cyttsp_init:1619 read from TS result 2 [ 1.646732] Dumping buffer data of length 15 (0xf): [ 1.646739] 0000: 00 00 00 00 00 00 00 00 [ 1.646754] 0008: 00 00 00 00 00 00 00 [ 1.687855] cyttsp_init:1623 [ 1.688446] cyttsp_init:1628 read from TS result 2 [ 1.688456] Dumping buffer data of length 1 (0x1): [ 1.688466] 0000: 00 [ 1.689119] touchscreen no low power mode detected [ 1.748051] [600] [ 1.813043] [1008] [ 1.901773] Dumping buffer data of length 32 (0x20): [ 1.901788] 0000: 10 44 00 00 00 08 00 05 [ 1.901804] 0008: 9a c2 5d 3d 34 19 04 01 [ 1.901820] 0010: 0c 15 d5 20 54 02 07 00 [ 1.901835] 0018: 00 00 00 00 a1 00 64 05 [ 1.942054] [816] [ 2.042052] [864] [ 2.046459] ft5x_ts_probe:2574 sysinfo read OK [ 2.046474] ft5x_ts_probe:2595 touchscreen type 1 App ID 0x2054 APP Ver 0x0207 [ 2.046487] ctp_set_irq_mode: config gpio to int mode. [ 2.046521] ctp_set_irq_mode, 259: gpio_int_info, port = 7, port_num = 11. [ 2.046531] INTERRUPT CONFIG [ 2.047451] touchscreen no low power mode detected [ 2.048630] ==ft5x_ts_probe over = [ 2.084106] EXT2-fs (mmcblk0p4): warning: mounting unchecked fs, running e2fsck is recommended [ 2.093205] EXT2-fs (mmcblk0p9): warning: mounting unchecked fs, running e2fsck is recommended [ 2.162132] [600] [ 2.207078] [1008] [ 2.312802] FAT-fs (mmcblk0p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! [ 2.312815] [ 2.327072] [600] [ 2.548102] [1008] [ 2.661073] [600] [ 2.794093] [1008] [ 2.883616] [charge_led_activate] Start timer [ 2.883633] [charge_led_activate] LED activation [ 2.912076] [768] [ 2.932149] [1008] [ 3.038097] [864] [ 3.058084] [912] [ 3.138099] [960] [ 3.178101] [1008] [ 3.321085] [912] [ 3.361085] [1008] [ 4.632740] WRN:L117(drivers/usb/host/sw_hci_sun5i.c):ERR: get usb_drv_vbus_1_gpio usbc1(usbc1) id failed [ 4.632765] WRN:L137(drivers/usb/host/sw_hci_sun5i.c):ERR: sw-ehci1(drv vbus_1) is invalid [ 4.632805] WRN:L117(drivers/usb/host/sw_hci_sun5i.c):ERR: get usb_drv_vbus_1_gpio usbc1(usbc1) id failed [ 4.632821] WRN:L137(drivers/usb/host/sw_hci_sun5i.c):ERR: sw-ohci1(drv vbus_1) is invalid [ 4.638219] [sw-ehci1]: probe, pdev->name: sw-ehci, pdev->id: 1, sw_ehci: 0xbf0438fc [ 4.638238] [sw-ehci1]: open clock [ 4.721106] usb_passby en=1,passly=0 [ 4.721122] hci_port_configure en=1,config_cnt=0 [ 4.721133] [sw-ehci1]: Set USB Power ON [ 4.725479] sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.725525] sw-ehci sw-ehci.1: new USB bus registered, assigned bus number 2 [ 4.725646] sw-ehci sw-ehci.1: irq 39, io mem 0xf1c14000 [ 4.731072] sw-ehci sw-ehci.1: USB 0.0 started, EHCI 1.00 [ 4.731594] hub 2-0:1.0: USB hub found [ 4.731623] hub 2-0:1.0: 1 port detected [ 4.731868] [sw-ohci1]: probe, pdev->name: sw-ohci, pdev->id: 1, sw_ohci: 0xbf043a54 [ 4.731890] [sw-ohci1]: open clock [ 4.737618] ehci_irq: port change detect [ 4.791934] hci_port_configure en=1,config_cnt=1 [ 4.791950] usb_passby en=1,passly=1 [ 4.791969] sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 4.792031] sw-ohci sw-ohci.1: new USB bus registered, assigned bus number 3 [ 4.792100] sw-ohci sw-ohci.1: irq 40, io mem 0xf1c14400 [ 4.851881] hub 3-0:1.0: USB hub found [ 4.851915] hub 3-0:1.0: 1 port detected [ 4.989078] [960] [ 5.009087] [1008] [ 5.033112] usb 2-1: new high speed USB device number 2 using sw-ehci [ 5.400132] [960] [ 5.440113] [1008] [ 5.687874] RTL871X: module init start [ 5.687891] RTL871X: rtl8188eu v4.3.0.4_11485.20140519 [ 5.687899] RTL871X: build time: Jul 17 2017 20:19:45 [ 5.688056] RTL871X: [ 5.688061] usb_endpoint_descriptor(0): [ 5.688070] RTL871X: bLength=7 [ 5.688076] RTL871X: bDescriptorType=5 [ 5.688082] RTL871X: bEndpointAddress=81 [ 5.688089] RTL871X: wMaxPacketSize=512 [ 5.688095] RTL871X: bInterval=0 [ 5.688101] RTL871X: RT_usb_endpoint_is_bulk_in = 1 [ 5.688109] RTL871X: [ 5.688112] usb_endpoint_descriptor(1): [ 5.688119] RTL871X: bLength=7 [ 5.688125] RTL871X: bDescriptorType=5 [ 5.688131] RTL871X: bEndpointAddress=2 [ 5.688137] RTL871X: wMaxPacketSize=512 [ 5.688143] RTL871X: bInterval=0 [ 5.688150] RTL871X: RT_usb_endpoint_is_bulk_out = 2 [ 5.688157] RTL871X: [ 5.688160] usb_endpoint_descriptor(2): [ 5.688167] RTL871X: bLength=7 [ 5.688173] RTL871X: bDescriptorType=5 [ 5.688179] RTL871X: bEndpointAddress=3 [ 5.688185] RTL871X: wMaxPacketSize=512 [ 5.688191] RTL871X: bInterval=0 [ 5.688197] RTL871X: RT_usb_endpoint_is_bulk_out = 3 [ 5.688206] RTL871X: nr_endpoint=3, in_num=1, out_num=2 [ 5.688211] [ 5.688219] RTL871X: USB_SPEED_HIGH [ 5.688318] RTL871X: CHIP TYPE: RTL8188E [ 5.688350] RTL871X: register rtw_netdev_ops to netdev_ops [ 5.688370] RTL871X: rtw_wdev_alloc(padapter=d103b000) [ 5.694078] RTL871X: Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_K_CUT_1T1R_RomVer(0) [ 5.694099] RTL871X: RF_Type is 3!! [ 5.694112] RTL871X: _ConfigNormalChipOutEP_8188E OutEpQueueSel(0x05), OutEpNumber(2) [ 5.695094] RTL871X: EEPROM type is E-FUSE [ 5.695110] RTL871X: ====> _ReadAdapterInfo8188EU [ 5.696100] RTL871X: Boot from EFUSE, Autoload OK ! [ 5.703205] RTL871X: SetHwReg8188EU: bMacPwrCtrlOn=1 [ 5.703444] bFWReady == _FALSE call reset 8051... [ 5.706373] RTL871X: =====> _8051Reset88E(): 8051 reset success . [ 5.721208] RTL871X: efuse_read_phymap_from_txpktbuf bcnhead:0 [ 5.722199] RTL871X: efuse_read_phymap_from_txpktbuf len:125, lenbak:125, aaa:125, aaabak:125 [ 5.731699] RTL871X: efuse_read_phymap_from_txpktbuf read count:123 [ 5.732077] RTL871X: EEPROM ID=0x8129 [ 5.732089] RTL871X: VID = 0x0BDA, PID = 0x8179 [ 5.732097] RTL871X: Customer ID: 0x00, SubCustomer ID: 0xCD [ 5.732110] RTL871X: Hal_ReadPowerSavingMode88E...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(1) [ 5.732122] RTL871X: ### PS params=> power_mgnt(1),usbss_enable(0) ### [ 5.732137] RTL871X: ======= Path 0, Channel 1 ======= [ 5.732146] RTL871X: Index24G_CCK_Base[0][1] = 0x25 [ 5.732155] RTL871X: Index24G_BW40_Base[0][1] = 0x2b [ 5.732163] RTL871X: ======= Path 0, Channel 2 ======= [ 5.732171] RTL871X: Index24G_CCK_Base[0][2] = 0x25 [ 5.732179] RTL871X: Index24G_BW40_Base[0][2] = 0x2b [ 5.732186] RTL871X: ======= Path 0, Channel 3 ======= [ 5.732194] RTL871X: Index24G_CCK_Base[0][3] = 0x24 [ 5.732203] RTL871X: Index24G_BW40_Base[0][3] = 0x2b [ 5.732211] RTL871X: ======= Path 0, Channel 4 ======= [ 5.732219] RTL871X: Index24G_CCK_Base[0][4] = 0x24 [ 5.732227] RTL871X: Index24G_BW40_Base[0][4] = 0x2b [ 5.732235] RTL871X: ======= Path 0, Channel 5 ======= [ 5.732243] RTL871X: Index24G_CCK_Base[0][5] = 0x24 [ 5.732251] RTL871X: Index24G_BW40_Base[0][5] = 0x2b [ 5.732259] RTL871X: ======= Path 0, Channel 6 ======= [ 5.732267] RTL871X: Index24G_CCK_Base[0][6] = 0x24 [ 5.732275] RTL871X: Index24G_BW40_Base[0][6] = 0x2b [ 5.732282] RTL871X: ======= Path 0, Channel 7 ======= [ 5.732291] RTL871X: Index24G_CCK_Base[0][7] = 0x24 [ 5.732299] RTL871X: Index24G_BW40_Base[0][7] = 0x2b [ 5.732306] RTL871X: ======= Path 0, Channel 8 ======= [ 5.732314] RTL871X: Index24G_CCK_Base[0][8] = 0x24 [ 5.732322] RTL871X: Index24G_BW40_Base[0][8] = 0x2b [ 5.732330] RTL871X: ======= Path 0, Channel 9 ======= [ 5.732338] RTL871X: Index24G_CCK_Base[0][9] = 0x23 [ 5.732346] RTL871X: Index24G_BW40_Base[0][9] = 0x2a [ 5.732354] RTL871X: ======= Path 0, Channel 10 ======= [ 5.732362] RTL871X: Index24G_CCK_Base[0][10] = 0x23 [ 5.732370] RTL871X: Index24G_BW40_Base[0][10] = 0x2a [ 5.732378] RTL871X: ======= Path 0, Channel 11 ======= [ 5.732386] RTL871X: Index24G_CCK_Base[0][11] = 0x23 [ 5.732394] RTL871X: Index24G_BW40_Base[0][11] = 0x2a [ 5.732402] RTL871X: ======= Path 0, Channel 12 ======= [ 5.732413] RTL871X: Index24G_CCK_Base[0][12] = 0x23 [ 5.732421] RTL871X: Index24G_BW40_Base[0][12] = 0x2a [ 5.732429] RTL871X: ======= Path 0, Channel 13 ======= [ 5.732437] RTL871X: Index24G_CCK_Base[0][13] = 0x23 [ 5.732445] RTL871X: Index24G_BW40_Base[0][13] = 0x2a [ 5.732453] RTL871X: ======= Path 0, Channel 14 ======= [ 5.732461] RTL871X: Index24G_CCK_Base[0][14] = 0x23 [ 5.732469] RTL871X: Index24G_BW40_Base[0][14] = 0x2a [ 5.732482] RTL871X: ======= TxCount 0 ======= [ 5.732490] RTL871X: CCK_24G_Diff[0][0]= 0 [ 5.732497] RTL871X: OFDM_24G_Diff[0][0]= 4 [ 5.732505] RTL871X: BW20_24G_Diff[0][0]= 2 [ 5.732512] RTL871X: BW40_24G_Diff[0][0]= 0 [ 5.732518] RTL871X: EEPROMRegulatory = 0x0 [ 5.732528] RTL871X: mlmepriv.ChannelPlan = 0x08 [ 5.732535] RTL871X: CrystalCap: 0x 3 [ 5.732542] RTL871X: EEPROM Customer ID: 0x 0 [ 5.732553] RTL871X: EEPROM : AntDivCfg = 0, TRxAntDivType = 3 [ 5.732561] RTL871X: Board Type: 0x 0 [ 5.732568] RTL871X: ThermalMeter = 0x1e [ 5.732575] RTL871X: <==== _ReadAdapterInfo8188EU in 37 ms [ 5.732831] RTL871X: init_channel_set ChannelPlan ID 8 Chan num:14 [ 5.733709] RTL871X: pwrctrlpriv.bSupportRemoteWakeup~~~~~~ [ 5.733722] RTL871X: pwrctrlpriv.bSupportRemoteWakeup~~~[1]~~~ [ 5.733735] RTL871X: rtw_macaddr_cfg MAC Address = ac:a2:13:9a:62:7e [ 5.733747] RTL871X: bDriverStopped:1, bSurpriseRemoved:0, bup:0, hw_init_completed:0 [ 5.733770] RTL871X: rtw_ndev_init(eth0) [ 5.734367] RTL871X: _rtw_drv_register_netdev, MAC Address (if1) = ac:a2:13:9a:62:7e [ 5.734463] usbcore: registered new interface driver rtl8188eu [ 5.734474] RTL871X: module init ret=0 [ 5.764318] RTL871X: +871x_drv - drv_open, bup=0 [ 5.764345] RTL871X: Set RF Chip ID to RF_6052 and RF type to 1T1R. [ 5.767712] RTL871X: rtl8188e_FirmwareDownload fw:NIC, size: 13904 [ 5.767735] RTL871X: rtl8188e_FirmwareDownload: fw_ver=b fw_subver=0001 sig=0x88e1, Month=11, Date=27, Hour=30, Minute=36 [ 5.791076] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 1ms), REG_MCUFWDL:0x00030005 [ 5.792569] RTL871X: =====> _8051Reset88E(): 8051 reset success . [ 5.795218] RTL871X: _FWFreeToGo: Polling FW ready OK! (18, 4ms), REG_MCUFWDL:0x000300c6 [ 5.795235] RTL871X: FWDL success. write_fw:1, 27ms [ 5.880117] [960] [ 5.900102] [1008] [ 5.980069] orientation changed 0->3 [ 6.018222] [912] [ 6.037095] [1008] [ 6.070849] ==> rtl8188e_iol_efuse_patch [ 6.159124] [960] [ 6.187467] RTL871X: pDM_Odm TxPowerTrackControl = 1 [ 6.199100] [1008] [ 7.136070] set usbcur 0 mA [ 7.136543] set usbvol 4000 mV [ 7.624820] RTL871X: rtl8188eu_hal_init in 1860ms [ 7.628623] RTL871X: hw_var_set_opmode()-2931 mode = 2 [ 7.635599] RTL871X: MAC Address = ac:a2:13:9a:62:7e [ 7.643613] RTL871X: rtw_cfg80211_init_wiphy:rf_type=3 [ 7.643664] RTL871X: -871x_drv - drv_open, bup=1 [ 7.643739] RTL871X: cfg80211_rtw_set_power_mgmt(eth0) enabled:1, timeout:-1 [ 7.899518] RTL871X: cfg80211_rtw_flush_pmksa(eth0) [ 8.280082] RTL871X: cfg80211_rtw_scan(eth0) [ 9.813398] RTL871X: survey done event(38) band:0 for eth0 [ 9.813590] RTL871X: rtw_indicate_scan_done(eth0) [ 9.814115] RTL871X: ==>rtw_ps_processor .fw_state(8) [ 9.814129] RTL871X: ==>ips_enter cnts:1 [ 9.814136] RTL871X: nolinked power save enter [ 9.814144] RTL871X: ===> rtw_ips_pwr_down................... [ 9.814152] RTL871X: ====> rtw_ips_dev_unload... [ 9.845325] RTL871X: =>cfg80211_rtw_connect(eth0) [ 9.845350] RTL871X: privacy=1, key= (null), key_len=0, key_idx=0 [ 9.880341] RTL871X: usb_read_port_cancel [ 9.880487] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) [ 9.882099] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) [ 9.883240] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) [ 9.883345] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) [ 9.883472] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) [ 9.883596] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) [ 9.883722] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) [ 9.883843] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) [ 9.883867] RTL871X: usb_write_port_cancel [ 9.883956] RTL871X: ==> rtl8188eu_hal_deinit [ 9.884222] RTL871X: bkeepfwalive(0) [ 9.890859] RTL871X: SetHwReg8188EU: bMacPwrCtrlOn=0 [ 9.890877] RTL871X: <=== rtw_ips_pwr_down..................... in 76ms [ 9.890902] RTL871X: _rtw_pwr_wakeup wait ps_processing... [ 9.901096] RTL871X: _rtw_pwr_wakeup wait ps_processing done [ 9.901120] RTL871X: _rtw_pwr_wakeup call ips_leave.... [ 9.901131] RTL871X: ==>ips_leave cnts:1 [ 9.901138] RTL871X: ===> rtw_ips_pwr_up.............. [ 9.901154] RTL871X: ===> ips_netdrv_open......... [ 9.904244] RTL871X: SetHwReg8188EU: bMacPwrCtrlOn=1 [ 9.904259] RTL871X: Set RF Chip ID to RF_6052 and RF type to 1T1R. [ 9.904994] RTL871X: rtl8188e_FirmwareDownload fw:NIC, size: 13904 [ 9.905048] RTL871X: rtl8188e_FirmwareDownload: fw_ver=b fw_subver=0001 sig=0x88e1, Month=11, Date=27, Hour=30, Minute=36 [ 9.925997] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00030005 [ 9.927601] RTL871X: =====> _8051Reset88E(): 8051 reset success . [ 9.930242] RTL871X: _FWFreeToGo: Polling FW ready OK! (12, 4ms), REG_MCUFWDL:0x000300c6 [ 9.930257] RTL871X: FWDL success. write_fw:1, 25ms [ 10.205755] ==> rtl8188e_iol_efuse_patch [ 10.291368] RTL871X: pDM_Odm TxPowerTrackControl = 1 [ 10.445079] [960] [ 10.485102] [1008] [ 10.820375] RTL871X: rtl8188eu_hal_init in 919ms [ 10.820871] RTL871X: hw_var_set_opmode()-2931 mode = 2 [ 10.831508] RTL871X: <=== rtw_ips_pwr_up.............. in 930ms [ 10.831527] RTL871X: nolinked power save leave [ 10.831754] RTL871X: ==> ips_leave.....LED(0x00028282)... [ 10.831771] RTL871X: ssid=radium, len=6 [ 10.831781] RTL871X: bssid=30:46:9a:2d:12:5e [ 10.831790] RTL871X: rtw_cfg80211_set_wpa_version, wpa_version=2 [ 10.831801] RTL871X: rtw_cfg80211_set_auth_type, nl80211_auth_type=0 [ 10.831811] RTL871X: cfg80211_rtw_connect, ie_len=22 [ 10.831820] RTL871X: set wpa_ie(length:22): [ 10.831830] RTL871X: 0x30 0x14 0x01 0x00 0x00 0x0f 0xac 0x04 [ 10.831841] RTL871X: 0x01 0x00 0x00 0x0f 0xac 0x04 0x01 0x00 [ 10.831851] RTL871X: 0x00 0x0f 0xac 0x02 0x00 0x00 0x8f 0xcf [ 10.831867] RTL871X: got wpa2_ie, wpa2_ielen:20 [ 10.832244] RTL871X: SetHwReg8188EU, 3610, RCR= 700060ca [ 10.832259] RTL871X: rtw_cfg80211_set_cipher, ucast=1, cipher=0xfac04 [ 10.832270] RTL871X: rtw_cfg80211_set_cipher, ucast=0, cipher=0xfac04 [ 10.832280] RTL871X: rtw_cfg80211_set_key_mgt, key_mgt=0xfac02 [ 10.832323] RTL871X: rtw_set_802_11_connect(eth0) fw_state=0x00000008 [ 10.832350] RTL871X: [by_bssid:1][assoc_ssid:radium][to_roam:0] new candidate: radium(30:46:9a:2d:12:5e, ch11) rssi:-46 [ 10.832372] RTL871X: rtw_select_and_join_from_scanned_queue: candidate: radium(30:46:9a:2d:12:5e, ch:11) [ 10.832402] RTL871X: [HT] Support STBC = 0x01 [ 10.832414] RTL871X: declare supporting RX STBC [ 10.832431] RTL871X: link to Artheros AP [ 10.832483] RTL871X: set ssid:dot11AuthAlgrthm=2, dot11PrivacyAlgrthm=4, dot118021XGrpPrivacy=4 [ 10.832496] RTL871X: <=cfg80211_rtw_connect, ret 0 [ 10.832621] RTL871X: set HT ch/bw before connected [ 10.832633] RTL871X: start_join_set_ch_bw: ch=11, bwmode=1, ch_offset=2 [ 10.906770] RTL871X: link to Artheros AP [ 10.906799] RTL871X: start auth [ 10.906822] RTL871X: issue_auth [ 10.908688] RTL871X: OnAuthClient [ 10.908707] RTL871X: auth success, start assoc [ 10.908734] RTL871X: network.SupportedRates[0]=82 [ 10.908742] RTL871X: network.SupportedRates[1]=84 [ 10.908750] RTL871X: network.SupportedRates[2]=8B [ 10.908758] RTL871X: network.SupportedRates[3]=96 [ 10.908765] RTL871X: network.SupportedRates[4]=0C [ 10.908772] RTL871X: network.SupportedRates[5]=12 [ 10.908780] RTL871X: network.SupportedRates[6]=18 [ 10.908787] RTL871X: network.SupportedRates[7]=24 [ 10.908794] RTL871X: network.SupportedRates[8]=30 [ 10.908802] RTL871X: network.SupportedRates[9]=48 [ 10.908809] RTL871X: network.SupportedRates[10]=60 [ 10.908817] RTL871X: network.SupportedRates[11]=6C [ 10.908826] RTL871X: bssrate_len = 12 [ 10.912605] RTL871X: OnAssocRsp [ 10.912650] RTL871X: report_join_res(1) [ 10.912667] RTL871X: rtw_joinbss_update_network [ 10.912682] RTL871X: +rtw_update_ht_cap() [ 10.912706] RTL871X: rtw_alloc_macid = 0 [ 10.912714] RTL871X: rtw_joinbss_update_stainfo [ 10.912731] RTL871X: ### Set STA_(0) info [ 10.912750] RTL871X: rtw_cfg80211_indicate_connect(eth0) [ 10.912801] RTL871X: pwdev->sme_state(b)=1 [ 10.912832] RTL871X: pwdev->sme_state(a)=1 [ 10.912840] RTL871X: assoc success [ 10.913093] RTL871X: HW_VAR_BASIC_RATE: 0x15f -> 0x15d -> 0x15f [ 10.913313] RTL871X: OnAction_back [ 10.913325] RTL871X: OnAction_back, action=0 [ 10.913337] RTL871X: issue_action_BA, category=3, action=1, status=0 [ 10.916493] RTL871X: WMM(0): 0, a42b [ 10.916613] RTL871X: WMM(1): 0, a44f [ 10.916742] RTL871X: WMM(2): 0, 5e4322 [ 10.916874] RTL871X: WMM(3): 0, 2f3222 [ 10.916884] RTL871X: wmm_para_seq(0): 0 [ 10.916891] RTL871X: wmm_para_seq(1): 1 [ 10.916898] RTL871X: wmm_para_seq(2): 2 [ 10.916904] RTL871X: wmm_para_seq(3): 3 [ 10.916912] RTL871X: HTOnAssocRsp [ 10.926143] RTL871X: UpdateHalRAMask8188E => mac_id:0, networkType:0x0b, mask:0x000fffff [ 10.926154] ==> rssi_level:0, rate_bitmap:0x000ff015 [ 10.926177] RTL871X: ### MacID(1),Set Max Tx RPT MID(2) [ 10.926362] RTL871X: ### rtl8188e_set_FwMediaStatus_cmd: MStatus=1 MACID=0 [ 10.928368] RTL871X: rtl8188e_set_FwJoinBssReport_cmd mstatus(1) [ 10.928688] RTL871X: send eapol packet [ 10.929498] RTL871X: SetFwRsvdPagePkt(eth0) [ 10.929511] RsvdPageNum: 8 [ 10.929572] RTL871X: SetFwRsvdPagePkt: Set RSVD page location to Fw ,TotalPacketLen(706) [ 10.930629] RTL871X: eth0: 1 DL RSVD page success! DLBcnCount:1, poll:1 [ 10.931357] RTL871X: Set RSVD page location to Fw. [ 10.931487] RTL871X: =>mlmeext_joinbss_event_callback [ 10.935133] RTL871X: send eapol packet [ 10.935494] RTL871X: cfg80211_rtw_add_key(eth0) adding key for 30:46:9a:2d:12:5e [ 10.935510] RTL871X: cipher=0xfac04 [ 10.935516] RTL871X: key_len=0x10 [ 10.935522] RTL871X: seq_len=0x6 [ 10.935529] RTL871X: key_index=0 [ 10.935534] RTL871X: pairwise=1 [ 10.935545] RTL871X: rtw_cfg80211_set_encryption [ 10.935556] RTL871X: rtw_cfg80211_set_encryption, : param->u.crypt.set_tx ==1 [ 10.935565] RTL871X: ~~~~set sta key:unicastkey [ 10.935620] RTL871X: set pairwise key camid:4, addr:30:46:9a:2d:12:5e, kid:0, type:AES [ 10.935667] RTL871X: rtw_cfg80211_set_encryption, ret=0 [ 10.935829] RTL871X: cfg80211_rtw_set_default_key(eth0) key_index=0, unicast=1, multicast=0. [ 10.937811] RTL871X: cfg80211_rtw_add_key(eth0) adding key for (null) [ 10.937830] RTL871X: cipher=0xfac04 [ 10.937881] RTL871X: key_len=0x10 [ 10.937888] RTL871X: seq_len=0x6 [ 10.937894] RTL871X: key_index=2 [ 10.937900] RTL871X: pairwise=0 [ 10.937908] RTL871X: rtw_cfg80211_set_encryption [ 10.937921] RTL871X: ~~~~set sta key:groupkey [ 10.937933] RTL871X: ==> rtw_set_key algorithm(4),keyid(2),key_mask(0) [ 10.937949] RTL871X: rtw_cfg80211_set_encryption, ret=0 [ 10.940500] RTL871X: set group key camid:5, addr:30:46:9a:2d:12:5e, kid:2, type:AES [ 10.941996] RTL871X: SetHwReg8188EU, 3606, RCR= 700060ce [ 10.942492] RTL871X: cfg80211_rtw_change_station(eth0) [ 11.026740] RTL871X: OnAction_back [ 11.026762] RTL871X: OnAction_back, action=0 [ 11.026777] RTL871X: issue_action_BA, category=3, action=1, status=0 [ 11.117096] [960] [ 11.236178] [600] [ 11.276109] [1008] [ 11.380081] [600] [ 11.576089] [408] [ 11.716100] [1008] [ 12.051075] [768] [ 12.171153] [432] [ 12.291111] [408] [ 12.411116] [960] [ 12.491144] [1008] [ 12.649008] pocketbook (72): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead. [ 12.690080] [864] [ 12.810074] [408] [ 12.838803] RTL871X: UpdateHalRAMask8188E => mac_id:0, networkType:0x0b, mask:0x000fffff [ 12.838822] ==> rssi_level:1, rate_bitmap:0x000f0000 [ 12.890125] [1008] [ 12.896069] [lt_check_cap] LED OFF by timer [ 13.002069] [408] [ 13.122131] [1008] [ 13.229066] [408] [ 13.349130] [1008] [ 13.456068] [408] [ 13.576122] [1008] [ 13.683071] [408] [ 13.803127] [1008] [ 13.910063] [408] [ 14.030124] [1008] [ 14.137085] [408] [ 14.257130] [1008] [ 14.364067] [408] [ 14.484132] [1008] [ 14.591065] [408] [ 14.711123] [1008] [ 14.818069] [408] [ 14.938171] [1008] [ 15.045070] [408] [ 15.165124] [1008] [ 15.272068] [408] [ 15.392127] [1008] [ 15.499061] [408] [ 15.619141] [1008] [ 15.726071] [408] [ 15.846130] [1008] [ 15.952068] [408] [ 16.072135] [960] [ 16.192064] [408] [ 16.532090] [864] [ 16.652070] [408] [ 16.752115] [1008] [ 16.859073] [600] [ 16.979099] [1008] [ 17.139078] [864] [ 17.259082] [408] [ 17.419123] [1008] [ 17.526068] [408] [ 17.646108] [1008] [ 17.770087] [720] [ 17.810117] [960] [ 17.930070] [408] [ 18.090142] [912] [ 18.210076] [408] [ 18.550118] [960] [ 18.670069] [408] [ 18.770114] [1008] [ 18.877067] [408] [ 18.997119] [1008] [ 19.104065] [408] [ 19.224120] [1008] [ 19.331068] [408] [ 19.451128] [1008] [ 19.558070] [408] [ 19.678124] [1008] [ 19.785068] [408] [ 19.905130] [1008] [ 20.012085] [408] [ 20.132126] [1008] [ 20.239068] [408] [ 20.359132] [1008] [ 20.466068] [408] [ 20.586128] [1008] [ 20.693068] [408] [ 20.813124] [1008] [ 20.920071] [408] [ 21.040112] [1008] [ 21.147075] [408] [ 21.267133] [1008] [ 21.374083] [408] [ 21.494126] [1008] [ 21.601067] [408] [ 21.721126] [1008] [ 21.945072] [768] [ 22.065073] [408] [ 22.165112] [1008] [ 22.271067] [408] [ 22.391129] [1008] [ 22.524078] [600] [ 22.624107] [1008] [ 22.737068] [408] [ 22.857139] [1008] [ 22.967069] [408] [ 23.087126] [1008] [ 23.203069] [408] [ 26.603138] [960] [ 26.643099] [1008] [ 26.757068] [408] [ 26.797126] [960] [ 26.817107] [1008] [ 26.933124] [408] [ 27.413119] [912] [ 27.433089] [1008] [ 27.535070] [648] [ 27.655083] [408] [ 27.895122] [960] [ 28.015065] [408] [ 30.868577] RTL871X: rtw_set_ps_mode(eth0) Enter 802.11 power save - WIFI-TRAFFIC_IDLE [ 30.870420] RTL871X: rtl8188e_set_FwPwrMode_cmd: Mode=1 SmartPS=2 UAPSD=0 [ 38.966860] RTL871X: cfg80211_rtw_add_key(eth0) adding key for (null) [ 38.966899] RTL871X: cipher=0xfac04 [ 38.966914] RTL871X: key_len=0x10 [ 38.966928] RTL871X: seq_len=0x6 [ 38.966942] RTL871X: key_index=1 [ 38.966955] RTL871X: pairwise=0 [ 38.966975] RTL871X: rtw_cfg80211_set_encryption [ 38.966998] RTL871X: ~~~~set sta key:groupkey [ 38.967082] RTL871X: ==> rtw_set_key algorithm(4),keyid(1),key_mask(0) [ 38.967122] RTL871X: rtw_cfg80211_set_encryption, ret=0 [ 38.967410] RTL871X: send eapol packet [ 38.973492] RTL871X: set group key camid:6, addr:30:46:9a:2d:12:5e, kid:1, type:AES [ 38.973978] RTL871X: SetHwReg8188EU, 3606, RCR= 700760ce [ 38.995125] [1008] [ 39.003675] RTL871X: rtw_set_ps_mode(eth0) Leave 802.11 power save - WIFI-LPS_CTRL_SPECIAL_PACKET [ 39.003701] RTL871X: rtl8188e_set_FwPwrMode_cmd: Mode=0 SmartPS=2 UAPSD=0 [ 39.103071] [408] [ 39.143117] [1008] [ 39.251069] [408] |
FEL mode
Entering FEL mode with default pocketbook software: device powered off, press right button (square symbol), power on while keeping the button pressed. There is not LED or indicator showing if the device is on. However plugging the device to a computer through USB will show there is something. lsusb:
Bus 002 Device 008: ID 1f3a:efe8 Onda (unverified) V972 tablet in flashing mode
Serial console output will look like:
dram size =256 0xffffffff,0xffffffff super_standby_flag = 0 HELLO! BOOT0 is starting! boot0 version : 1.5.0 The size of Boot1 is 0x00038000. Succeed in loading boot1 from sdmmc flash. Ready to disable icache. Succeed in loading Boot1. Jump to Boot1. [ 0.240] boot1 version : 1.5.1 [ 0.240] pmu type = 3 [ 0.241] bat vol = 4139 [ 0.243] core_para->vol_threshold=3600 [ 0.248] bat_cou=0x00000000 [ 0.249] dcin_exist [ 0.252] power_step_level =0x00000002, bat_vol = 0x0000102b [ 0.291] axi:ahb:apb=3:2:2 [ 0.291] set dcdc2=1400, clock=1008 successed [ 0.293] key [ 2.560] you can unclench the key to update now [ 2.560] key found, jump to fel
Device will answer to sunxi-fel:
AWUSBFEX soc=00001625(A13) 00000001 ver=0001 44 08 scratchpad=00007e00 00000000 00000000
To get out of FEL mode, press power button for 10s.
Device specific topic
Pocketbook uses a strange partition layout on this device:
626.img1 1009664 7763967 6754304 3.2G b W95 FAT32 626.img2 * 73728 139263 65536 32M 6 FAT16 626.img3 1 1009664 1009664 493M 85 Linux extended 626.img5 139264 172031 32768 16M 83 Linux 626.img6 172032 204799 32768 16M 83 Linux 626.img7 204800 275455 70656 34.5M 83 Linux 626.img8 275456 776191 500736 244.5M 83 Linux 626.img9 776192 976895 200704 98M 83 Linux 626.img10 976896 1009663 32768 16M 83 Linux
boot1 seems to check a MBR at 0x01400000. Feeding it to sunxi-nand gives the following output:
check partition table copy 0: mbr: version 0x00000100, magic softw311 OK check partition table copy 1: mbr: version 0x00000100, magic softw311 OK check partition table copy 2: mbr: version 0x00000100, magic softw311 OK mbr: version 0x00000100, magic softw311 8 partitions partition 1: class = DISK, name = bootloader, partition start = 32768, partition size = 65536 user_type=0 partition 2: class = DISK, name = env, partition start = 98304, partition size = 32768 user_type=0 partition 3: class = DISK, name = boot, partition start = 131072, partition size = 32768 user_type=0 partition 4: class = DISK, name = rootfs, partition start = 163840, partition size = 70656 user_type=0 partition 5: class = DISK, name = ebrmain, partition start = 234496, partition size = 500736 user_type=0 partition 6: class = DISK, name = secure, partition start = 735232, partition size = 200704 user_type=0 partition 7: class = DISK, name = updatefs, partition start = 935936, partition size = 32768 user_type=0 partition 8: class = DISK, name = UDISK, partition start = 968704, partition size = 6754304 user_type=0
Which is consistent with fdisk output considering the 0x0140000 offset.
Altering primary partition #1 and adding primary partition #4 is fine even if the MBR at 0x01400000 is not modified. But removing the other partitions makes boot1 fail the fs check and enter FEL mode.
...
Adding a serial port (voids warranty)
Serial TTL signal pads are clearly labeled on the board. Soldering is required.
Device disassembly
Insert the Plastic_tool between the back cover and the front cover. You can look at this video https://www.youtube.com/watch?v=c7AUData0UA Personally, I am using Dunlop 1.14mm guitar picks, it is not the most convenient but does the job.
Locating the UART
Describe how to find the RX,TX,GND signals here, and mention the UART howto.
Pictures
Take some pictures of your device, upload them, and add them here. DO NOT UPLOAD PICTURES WHICH YOU PLUCKED OFF THE INTERNET.
Also known as
List rebadged devices here.
See also
Add some nice to have links here. This includes related devices, and external links.
Manufacturer images
Optional. Add non-sunxi images in this section.