掌機 - TRIMUI - 焊接UART腳位



找一個空地


厚度剛好放下排針


跳線


背面(UART0)


完成


但是,UART竟然沒有任何輸出訊息


司徒一開始以為這個系統是RTOS相關客制系統,因此,好奇心驅使下,司徒更換到UART1測試一下


竟然有Bootloader訊息,這才發現,原來TRIMUI是使用UART1當作訊息輸出

[0]HELLO! BOOT0 is starting!
[2]boot0 commit : 80628dcde5dc4ecdc757a9e782c58d7cf1abf959

重新焊接



背面



完成


Baudrate 115200bps

[0]HELLO! BOOT0 is starting!
[2]boot0 commit : 80628dcde5dc4ecdc757a9e782c58d7cf1abf959
 
[60]dram size =64
[62](GPIO_BASE_ADDR + 0x48): 0x00002222
[65](GPIO_BASE_ADDR + 0x5c): 0x00000055
[69](GPIO_BASE_ADDR + 0x64): 0x00000004
[72]CCMU_BASE_ADDR + 0x2c0 0x00104040
[76]CCMU_BASE_ADDR + 0x60 0x00104040
[79]SPIC0_BASE_ADDR+0x24: 0x00001004
[82]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 58
[87]block from 8 to 58
[562]Check is correct.
[573]Ready to disable icache.
[575]Jump to secend Boot.


U-Boot 2014.07 (Jul 26 2020 - 17:05:45) Allwinner Technology 

uboot commit : 8 
i2c_init: by cpux
[I2C-DEBUG]:i2c_set_clock() 354 
[I2C-ERROR]:twi_send_clk_9pulse() 136 SDA is still Stuck Low, failed. 
i2c_init ok
[0.620]pmbus:   ready
axp: get node[/soc/pmu0] error
axp_probe error
[0.627]PMU: cpux 696 Mhz,AXI=696 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz 
key value = 4294967295, fel_key = [256,426]
DRAM:  64 MiB
Relocation Offset is: 03520000
axp: get node[/soc/pmu0] error
int sunxi_dma_init---
irq enable
workmode = 0,storage type = 0
[0.708]NAND: NAND_UbootInit
[0.711]NAND_UbootInit start
[0.713]NB1: enter NAND_LogicInit
[0.718]nand0: get node offset error
[0.721]init nctri NAND PIORequest error!
[0.724]nand_physic_init, init nctri error
[0.728]nand_physic_init init_parameter error
[0.732]nand_physic_init error -1
[0.735]SpiNandHwInit: Start Nand Hardware initializing Nov  4 2018 13:15:18.....
[0.742]uboot: nand version: 3 6019 20181104 1256
int sunxi_dma_init---
irq enable
[0.757]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x83db8aa8
[0.765]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x83db8ac8
_change_spic_clk: 0x01c05024=0x1009
_change_spic_clk_v1: mclk=0xc8
_change_spic_clk: 0x01c05024=0x1004
_change_spic_clk_v1: mclk=0xc8
_change_spic_clk: 0x01c05024=0x1000
_change_spic_clk_v1: mclk=0xc8
_get_spic_clk_v1: sclk0=0x64
[0.808]not burn nand partition table!
[0.812]NB1: nftl num: 1
[0.814]init nftl: 0
[1.022]NB1: NAND_LogicInit ok, result = 0x0
[1.026]NAND_UbootInit end: 0x0
used mbr [0], count = 8
logo addr = 0x83f00000
sunxi_read_bootlogo: read bootlogo partition successful
do not find fastboot status flag
--------fastboot partitions--------
-total partitions:8-
-name-        -start-       -size-      
bootlogo    : 400000        80000       
env         : 480000        40000       
boot        : 4c0000        480000      
rootfs      : 940000        7400000     
rootfs_data : 7d40000       40000       
misc        : 7d80000       40000       
private     : 7dc0000       40000       
UDISK       : 7e00000       0           
-----------------------------------
[1.132][NE]parameter error 32256,4 !
disable nand error: FDT_ERR_BADPATH
disable nand error: FDT_ERR_BADPATH
## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
PowerBus = 0( 2:vBus 3:acBus other: not exist)
no battery exist
sunxi_bmp_logo_display
Hit any key to stop autoboot:  0 
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   ARM OpenWrt Linux-3.10.65
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3105608 Bytes = 3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   XIP Kernel Image ... OK
   reserving fdt memory region: addr=81000000 size=10000
   Using Device Tree in place at 81000000, end 8100f27f

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.65 (alfchen@alfchen-ubuntu) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #508 Sun Aug 30 16:04:27 UTC 2020
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Allwinner A1X (Device Tree), model: sun3iw1p1
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] cma: CMA: reserved 8 MiB at 83800000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat c064065c, node_mem_map c067a000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    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: 16256
[    0.000000] Kernel command line: enforcing=1 earlyprintk=sunxi-uart,0x01c25000 initcall_debug=0 console=ttyS1,115200 loglevel=8 root=/dev/nandd init=/pseudo_init rdinit=/rdinit partition5
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 64MB = 64MB total
[    0.000000] Memory: 49980k/49980k available, 15556k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0528f84   (5252 kB)
[    0.000000]       .init : 0xc0529000 - 0xc0548854   ( 127 kB)
[    0.000000]       .data : 0xc054a000 - 0xc0640f88   ( 988 kB)
[    0.000000]        .bss : 0xc0640f88 - 0xc0679a80   ( 227 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] of_sunxi_clocks_init : sunxi_clk_base[0xf1c20000]
[    0.000000] pll_cpu-set_default_rate=720000000 success!
[    0.000000] pll_video-set_default_rate=297000000 success!
[    0.000000] pll_ddr-set_default_rate=312000000 success!
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.005246] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.065269] pid_max: default: 32768 minimum: 301
[    0.070371] Mount-cache hash table entries: 512
[    0.076215] CPU: Testing write buffer coherency: ok
[    0.081957] Setting up static identity map for 0xc03f6160 - 0xc03f61b8
[    0.090948] devtmpfs: initialized
[    0.096268] pinctrl core: initialized pinctrl subsystem
[    0.103659] NET: Registered protocol family 16
[    0.111161] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.118779] dump_class_init,844, success
[    0.126968] sun3iw1p1-pinctrl pio: initialized sunXi PIO driver
[    0.149483] bio: create slab <bio-0> at 0
[    0.154801] pwm module init!
[    0.159328] SCSI subsystem initialized
[    0.163596] usbcore: registered new interface driver usbfs
[    0.169364] usbcore: registered new interface driver hub
[    0.175229] usbcore: registered new device driver usb
[    0.185868] sun3iw1p1-pinctrl pio: missing allwinner,pins property in node twi2
[    0.193771] sun3iw1p1-pinctrl pio: missing allwinner,pins property in node twi2
[    0.201295] twi_request_gpio()367 - TWI2 devm_pinctrl_get() failed! return -22
[    0.208777] sunxi_i2c_hw_init()1004 - [i2c2] request i2c gpio failed!
[    0.215484] twi: probe of twi2 failed with error -5
[    0.220767] Linux video capture interface: v2.00
[    0.226105] Advanced Linux Sound Architecture Driver Initialized.
[    0.233822] cfg80211: Calling CRDA to update world regulatory domain
[    0.241228] Switching to clocksource sun3i high-res couter
[    0.263747] usb_script_parse
[    0.266843] port_type is 2
[    0.271234] NET: Registered protocol family 2
[    0.277604] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.284707] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.291355] TCP: Hash tables configured (established 512 bind 512)
[    0.297896] TCP: reno registered
[    0.301290] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.307383] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.314371] NET: Registered protocol family 1
[    0.332395] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.338972] jffs2: version 2.2. �© 2001-2006 Red Hat, Inc.
[    0.345322] msgmni has been set to 113
[    0.352384] io scheduler noop registered
[    0.356565] io scheduler cfq registered (default)
[    0.361534] [pm]aw_pm_init!
[    0.364789] [pm]valid
[    0.367262] [pm]valid
[    0.369958] [DISP]disp_module_init
[    0.427098] pll_freq=297000000HZ, lcd_dclk_freq=19000000HZ, clk_div=15
[    0.434521] num_screens=1
[    0.437368] screen_id=0
[    0.439947] para->mclk[MOD_CLK_LCD1CH0]=0xc300c340
[    0.444894] para->mclk[MOD_CLK_LCD1CH1]=0xc300c440
[    0.449882] disp tv init
[    0.452549] tcon_clk=0xc300c340, tcon_clk_parent=0x0
[    0.457713] tcon_clk=0xc300c340, tcon_clk_parent=0xc3004400
[    0.463458] tve_clk=0xc300c440, tve_clk_parent=0xc3004400
[    0.469053] disp al tv init
[    0.474387] fetch script datadisp.screen2_output_type fail
[    0.480428] fetch script datadisp.screen2_output_mode fail
[    0.486350] fb0_format 5
[    0.491059] fetch script datadisp.fb2_format fail
[    0.496184] fetch script datadisp.fb2_scaler_mode_enable fail
[    0.502442] fetch script datadisp.fb2_width fail
[    0.507546] fetch script datadisp.fb2_height fail
[    0.520143] [DISP] disp_get_lcd,line:62:    screen_id 1 out of range
[    0.526710] screen 0 lcd is c055565c or set_bright is nil
[    0.532382] [DISP]disp_module_init 1 finish
[    0.548302] uart1: ttyS1 at MMIO 0x1c25400 (irq = 104) is a SUNXI
[    0.554621] sw_console_setup()1324 - console setup baud 115200 parity n bits 8, flow n
[    0.562881] console [ttyS1] enabled, bootconsole disabled
[    0.562881] console [ttyS1] enabled, bootconsole disabled
[    0.575339] misc dump reg init
[    0.580610] [NAND]SPIC0_BASE_ADDR f1c05000
[    0.585853] Failed to get dragonboard_flag
[    0.590510] [NAND]nand init start
[    0.594203] SpiNandHwInit: Start Nand Hardware initializing Nov  4 2018 05:15:38.....
[    0.602953] kernel: nand version: 3 6019 20181104 1256
[    0.608702] print_level is no used
[    0.612486] request spi gpio  ok!
[    0.616163] request tx DMA
[    0.619207] request general tx dma channel ok!
[    0.624142] request rx DMA
[    0.627192] request general rx dma channel ok!
[    0.632127] NAND_ClkRequest
[    0.635268] NAND_ClkRequest: get pll6 rate 200000000HZ
[    0.641101] SPI nand ID: 12c212c2 12c212c2
[    0.645680] [SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffcfffff 
[    0.653666] id_number_ctl is no used
[    0.657675] _UpdateExtAccessFreqPara: no para.
[    0.663172] PHY_Scan_DelayMode: right delay mode 0x0
[    0.669165] PHY_Scan_DelayMode: right delay mode 0x800
[    0.674930] _get_spic_clk_v1: sclk0=0x64
[    0.679367] PHY_Scan_DelayMode: right delay mode,clk 100 MHz, SPI_TCR = 0x00000984, bit[13]=0,bit[11]=1
[    0.689841] physic_info_read start!!
[    0.693837] physic_info_get_offset start!!
[    0.701767] physic_info_get_one_copy start!!
[    0.707390] block 13 page 48
[    0.710963] block 13 page 49
[    0.714533] block 13 page 50
[    0.718179] block 13 page 51
[    0.721743] block 13 page 52
[    0.725315] block 13 page 53
[    0.728964] block 13 page 54
[    0.732532] block 13 page 55
[    0.736098] block 13 page 56
[    0.739746] block 13 page 57
[    0.743315] block 13 page 58
[    0.746884] block 13 page 59
[    0.750532] block 13 page 60
[    0.754110] block 13 page 61
[    0.757755] block 13 page 62
[    0.761329] block 13 page 63
[    0.765517] physic info copy is ok
[    0.769395] 
[    0.769395] 
[    0.772699] [SCAN_DBG] ==============Nand Architecture Parameter==============
[    0.780763] [SCAN_DBG]    Nand Chip ID:         0xffff12c2 0xffffffff
[    0.787951] [SCAN_DBG]    Nand Chip Count:      0x1
[    0.793366] [SCAN_DBG]    Nand Chip Connect:    0x1
[    0.798809] [SCAN_DBG]    Sector Count Of Page: 0x4
[    0.804224] [SCAN_DBG]    Page Count Of Block:  0x40
[    0.809762] [SCAN_DBG]    Block Count Of Die:   0x400
[    0.815370] [SCAN_DBG]    Plane Count Of Die:   0x2
[    0.820810] [SCAN_DBG]    Die Count Of Chip:    0x1
[    0.826225] [SCAN_DBG]    Bank Count Of Chip:   0x1
[    0.831665] [SCAN_DBG]    Optional Operation:   0x6d
[    0.837200] [SCAN_DBG]    Access Frequence:     0x64
[    0.842710] [SCAN_DBG] =======================================================
[    0.842710] 
[    0.875114] secure storage updata ok!
[    0.879278] nand secure storage ok: 58,59
[    0.883759] start block:60
[    0.886772] [ND]boot start 
[    0.889918] [ND]boot :0xc3140000
[    0.893502] [ND]boot->magic :0xaa55a5a5
[    0.897792] [ND]boot->len :0x8000
[    0.901472] [ND]boot->no_use_block :0x21
[    0.905824] [ND]boot->uboot_start_block :0x8
[    0.910591] [ND]boot->uboot_next_block :0x3a
[    0.915330] [ND]boot->logic_start_block :0x21
[    0.920193] [ND]mbr len :4096
[    0.923486] [ND]_PARTITION len :2560
[    0.927480] [ND]_NAND_STORAGE_INFO len :512
[    0.932121] [ND]_FACTORY_BLOCK len :2048
[    0.936553] [NE]partition_num: 0,size :0x36e00,cross_talk 0
[    0.942789] [NE]part mbr size: 0x2000 type: 0
[    0.947659] [NE]part bootlogo size: 0x400 type: 0
[    0.952884] [NE]part env size: 0x200 type: 0
[    0.957651] [NE]part boot size: 0x2400 type: 0
[    0.962586] [NE]part rootfs size: 0x3a000 type: 0
[    0.967836] [NE]part rootfs_data size: 0x200 type: 0
[    0.973349] [NE]part misc size: 0x200 type: 0
[    0.978213] [NE]part private size: 0x200 type: 0
[    0.983340] [NE]part UDISK size: 0xffff7e00 type: 0
[    0.988894] [ND]partition->size :224768
[    0.993151] [ND]partition->cross_talk :0
[    0.997541] [ND]partition->attribute :0
[    1.001798] [ND]partition->start.Chip_NO :0
[    1.006439] [ND]partition->start.Block_NO :33
[    1.011306] [ND]partition->end.Chip_NO :0
[    1.015757] [ND]partition->end.Block_NO :511
[    1.020525] [ND]partition->nand_disk[0].size :8192
[    1.025843] [ND]partition->nand_disk[0].type :0
[    1.030897] [ND]partition->nand_disk[1].size :1024
[    1.036216] [ND]partition->nand_disk[1].type :0
[    1.041269] [ND]partition->nand_disk[2].size :512
[    1.046490] [ND]partition->nand_disk[2].type :0
[    1.051544] [ND]partition->nand_disk[3].size :9216
[    1.056863] [ND]partition->nand_disk[3].type :0
[    1.061917] [ND]partition->nand_disk[4].size :237568
[    1.067453] [ND]partition->nand_disk[4].type :0
[    1.072483] [ND]partition->nand_disk[5].size :512
[    1.077728] [ND]partition->nand_disk[5].type :0
[    1.082758] [ND]partition->nand_disk[6].size :512
[    1.088005] [ND]partition->nand_disk[6].type :0
[    1.093034] [ND]partition->nand_disk[7].size :512
[    1.098280] [ND]partition->nand_disk[7].type :0
[    1.103309] [ND]partition->nand_disk[8].size :-33280
[    1.108846] [ND]partition->nand_disk[8].type :0
[    1.113875] [ND]partition->nand_disk[9].size :-1
[    1.119025] [ND]partition->nand_disk[9].type :-1
[    1.124150] [ND]partition->nand_disk[10].size :-1
[    1.129396] [ND]partition->nand_disk[10].type :-1
[    1.134617] [ND]partition->nand_disk[11].size :-1
[    1.139863] [ND]partition->nand_disk[11].type :-1
[    1.145086] [ND]partition->nand_disk[12].size :-1
[    1.150333] [ND]partition->nand_disk[12].type :-1
[    1.155554] [ND]partition->nand_disk[13].size :-1
[    1.160802] [ND]partition->nand_disk[13].type :-1
[    1.166023] [ND]partition->nand_disk[14].size :-1
[    1.171269] [ND]partition->nand_disk[14].type :-1
[    1.176493] [ND]partition->nand_disk[15].size :-1
[    1.181740] [ND]partition->nand_disk[15].type :-1
[    1.186963] [ND]partition->nand_disk[16].size :-1
[    1.192212] [ND]partition->nand_disk[16].type :-1
[    1.197458] [ND]partition->nand_disk[17].size :-1
[    1.202681] [ND]partition->nand_disk[17].type :-1
[    1.207927] [ND]partition->nand_disk[18].size :-1
[    1.213150] [ND]partition->nand_disk[18].type :-1
[    1.218395] [ND]partition->nand_disk[19].size :-1
[    1.223618] [ND]partition->nand_disk[19].type :-1
[    1.228863] [ND]partition->nand_disk[20].size :-1
[    1.234085] [ND]partition->nand_disk[20].type :-1
[    1.239330] [ND]partition->nand_disk[21].size :-1
[    1.244554] [ND]partition->nand_disk[21].type :-1
[    1.249809] [ND]partition->nand_disk[22].size :-1
[    1.255030] [ND]partition->nand_disk[22].type :-1
[    1.260282] [ND]partition->nand_disk[23].size :-1
[    1.265503] [ND]partition->nand_disk[23].type :-1
[    1.270750] [ND]phy_partition->PartitionNO :0
[    1.275587] [ND]phy_partition->SectorNumsPerPage :8
[    1.281026] [ND]phy_partition->PageNumsPerBlk :64
[    1.286248] [ND]phy_partition->TotalBlkNum :479
[    1.291300] [ND]phy_partition->FullBitmapPerPage :8
[    1.296715] [ND]phy_partition->FreeBlock :0
[    1.301380] [ND]phy_partition->TotalSectors :224768
[    1.306795] [ND]phy_partition->StartBlock.Chip_NO :0
[    1.312328] [ND]phy_partition->StartBlock.Block_NO :33
[    1.318056] [ND]phy_partition->EndBlock.Chip_NO :0
[    1.323374] [ND]phy_partition->EndBlock.Block_NO :511
[    1.329004] [ND]phy_partition->next_phy_partition :0
[    1.334519] [ND]phy_partition->PartitionNO 0  FACTORY BAD BLOCK:
[    1.341212] [ND]phy_partition->PartitionNO 0  NEW BAD BLOCK:
[    1.347522] [ND]build 1 phy_partition !
[    1.351780] [ND]nand_info->type :0
[    1.355553] [ND]nand_info->SectorNumsPerPage :8
[    1.360607] [ND]nand_info->BytesUserData :16
[    1.365345] [ND]nand_info->PageNumsPerBlk :64
[    1.370205] [ND]nand_info->BlkPerChip :512
[    1.374751] [ND]nand_info->FirstBuild :0
[    1.379130] [ND]nand_info->FullBitmap :0
[    1.383484] [ND]nand_info->bad_block_addr.Chip_NO :0
[    1.389019] [ND]nand_info->bad_block_addr.Block_NO :0
[    1.394626] [ND]nand_info->mbr_block_addr.Chip_NO :0
[    1.400161] [ND]nand_info->mbr_block_addr.Block_NO :0
[    1.405770] [ND]nand_info->no_used_block_addr.Chip_NO :0
[    1.411692] [ND]nand_info->no_used_block_addr.Block_NO :33
[    1.417810] [ND]nand_info->new_bad_block_addr.Chip_NO :0
[    1.423709] [ND]nand_info->new_bad_block_addr.Block_NO :0
[    1.429729] [ND]nand_info->new_bad_page_addr :65535
[    1.435144] [ND]nand_info->partition_nums :1
[    1.439907] [ND]sizeof partition:2384
[    1.443972] [ND]nand_info->partition:0:
[    1.448257] [ND]size:0x36e00
[    1.451452] [ND]cross_talk:0x0
[    1.454839] [ND]attribute:0x0
[    1.458155] [ND]start: chip:0 block:33
[    1.462315] [ND]end  : chip:0 block:511
[    1.466571] [ND]boot :0xc3140000
[    1.470177] [ND]boot->magic :0xaa55a5a5
[    1.474435] [ND]boot->len :0x8000
[    1.478135] [ND]boot->no_use_block :0x21
[    1.482489] [ND]boot->uboot_start_block :0x8
[    1.487251] [ND]boot->uboot_next_block :0x3a
[    1.491991] [ND]boot->logic_start_block :0x21
[    1.496825] [ND]mbr len :4096
[    1.500142] [ND]_PARTITION len :2560
[    1.504110] [ND]_NAND_STORAGE_INFO len :512
[    1.508777] [ND]_FACTORY_BLOCK len :2048
[    1.513465] [ND]nand_partition0
[    1.517214] [ND]nftl start:479,40
[    1.521128] [ND]first
[    1.629273] [ND]before second 479 439.
[    1.965837] [NE]recover_phy_page_mapping no used page 44!!
[    1.972022] [ND]recover 51 44
[    1.975496] [ND]free block nums is 51 !
[    1.979832] [NE]not power on gc 51!
[    1.983706] [ND]nftl ok!
[    1.986591] [ND]max_erase_times = 65000
[    1.992966]  nanda: unknown partition table
[    1.999875]  nandb: unknown partition table
[    2.006681]  nandc: unknown partition table
[    2.013637]  nandd: unknown partition table
[    2.019161] [NAND]nand init end
[    2.022981] lradc_battery_probe:lradc_battery_probe ++++++
[    2.029198] lradc_battery_dts_parse:lradc_battery_dts_parse ++++++
[    2.036108] key base: f1c23400
[    2.039684] irq num: 116 !
[    2.042697] battery_data_hw_init:battery_data_hw_init ++++++
[    2.049087] lradc_battery_probe:lradc_battery_probe ------
[    2.056514] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.064360] usbcore: registered new interface driver usb-storage
[    2.071391] usbcore: registered new interface driver usbserial
[    2.078047] usbcore: registered new interface driver usbserial_generic
[    2.085371] usbserial: USB Serial support registered for generic
[    2.092189] usbcore: registered new interface driver ch341
[    2.098419] usbserial: USB Serial support registered for ch341-uart
[    2.105457] usbcore: registered new interface driver cp210x
[    2.111775] usbserial: USB Serial support registered for cp210x
[    2.118489] usbcore: registered new interface driver ftdi_sio
[    2.124944] usbserial: USB Serial support registered for FTDI USB Serial Device
[    2.133229] usbcore: registered new interface driver pl2303
[    2.139551] usbserial: USB Serial support registered for pl2303
[    2.146536] [hcd0]: usb host driver initialize........
[    2.152654] [hcd0]: open_usb_clock
[    2.156492] pin_init
[    2.159201] get regulator_io is no nocare
[    2.163667] [hcd0]: host_init_state = 0
[    2.167995] [hcd0]: platform is usb host
[    2.172510] [hcd0]: sunxi_hcd_init_controller: sunxi_hcd_host0: USB Host mode controller at f1c13000 using PIO, IRQ 115
[    2.184577] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[    2.192571] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[    2.204131] hub 1-0:1.0: USB hub found
[    2.208474] hub 1-0:1.0: 1 port detected
[    2.213251] [hcd0]: [sunxi_hcd_host0]:hcd0 set_regulator_io:ON
[    2.219832] [hcd0]: sunxi_usb_host0_disable start
[    2.225065] [hcd0]: sunxi_hcd_wait_for_disconnect cnt=0
[    2.230905] [hcd0]: -------sunxi_hcd0_soft_disconnect---------
[    2.237384] wrn: hcd is not enable, need not stop hcd
[    2.243025] [hcd0]: [sunxi_hcd_host0]: Set USB Power OFF
[    2.248961] [hcd0]: [sunxi_hcd_host0]:hcd0 set_regulator_io:OFF
[    2.255615] [hcd0]: close_usb_clock
[    2.259575] [hcd0]: sunxi_usb_host0_disable end
[    2.265015] ++++++++++++++++ alpu_init +++++++++++++
[    2.270718] proc create successtrimui_sunxi_gpio_init: ver Aug  1 2020
[    2.281626] serial: 00000002ED
[    2.295024] Bypass Test OK!
[    2.298269] test enc
[    2.305822] ret=0
[    2.308014] test dec
[    2.315696] ret=0
[    2.317906] DEC: ARE LINK TEST 12
[    2.321914] -------- keytabcheck_init -------
[    2.328726] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v0.91 2018-5-29 14:19) Compiled in Aug  1 2020 at 07:15:49
[    2.341231] sunxi-mmc sdc0: Can't get vmmc regulator string
[    2.347514] sunxi-mmc sdc0: Can't get vqmmc regulator string
[    2.353808] sunxi-mmc sdc0: Can't get vdmmc regulator string
[    2.360138] sunxi-mmc sdc0: Failed getting OCR mask: 0
[    2.366759] sunxi-mmc sdc0: ***set host ocr***
[    2.371979] sunxi-mmc sdc0: Got CD GPIO #131.
[    2.377260] sunxi-mmc sdc0: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.407200] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.437530] sunxi-mmc sdc0: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    2.448086] sunxi-mmc sdc0: base:0xf1c0f000 irq:108
[    2.454729] hidraw: raw HID events driver (C) Jiri Kosina
[    2.462311] usbcore: registered new interface driver usbhid
[    2.468597] usbhid: USB HID core driver
[    2.474923] usbcore: registered new interface driver snd-usb-audio
[    2.483104] failed to get gpio-spk and gpio_num
[    2.490048] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    2.498112] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    2.506053] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    2.513839] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    2.521631] sunxi-codec-machine sound.2: ASoC: DAPM unknown pin External Speaker
[    2.536717] sunxi-codec-machine sound.2:  sun3iw1codec <-> 1c23c00.cpudai0-controller mapping ok
[    2.546685] sunxi-codec-machine sound.2: ASoC: no sink widget found for MainMic Bias
[    2.555368] sunxi-codec-machine sound.2: ASoC: Failed to add route External MainMic -> direct -> MainMic Bias
[    2.566426] sunxi-codec-machine sound.2: ASoC: no source widget found for MainMic Bias
[    2.575265] sunxi-codec-machine sound.2: ASoC: Failed to add route MainMic Bias -> direct -> MIC1P
[    2.585254] sunxi-codec-machine sound.2: ASoC: no source widget found for MainMic Bias
[    2.594085] sunxi-codec-machine sound.2: ASoC: Failed to add route MainMic Bias -> direct -> MIC1N
[    2.609430] ipip: IPv4 over IPv4 tunneling driver
[    2.615733] gre: GRE over IPv4 demultiplexor driver
[    2.621279] ip_gre: GRE over IPv4 tunneling driver
[    2.628753] TCP: cubic registered
[    2.632455] Initializing XFRM netlink socket
[    2.637351] NET: Registered protocol family 17
[    2.642368] NET: Registered protocol family 15
[    2.647844] VFP support v0.3: not present
[    2.653289] [LCD]lcd_module_init
[    2.658394] enhance_en=1
[    2.661270] matrixresult:(0x0, 0x3c4, 0x0, 0x0)
[    2.666437] pll_freq=297000000HZ, lcd_dclk_freq=19000000HZ, clk_div=15
[    2.673832] clk_div=15
[    2.676468] LCD_panel_init !
[    2.679855] LCD_panel_hw_reset !
[    3.037016] LCD_panel_hw_reset done !
[    3.187025] LCD_panel_io_term !
[    3.190572] [LCD]open, step 0 finish sleep 50 ms
[    3.247071] [LCD]open, step 1 finish sleep 100 ms
[    3.357859] [LCD]open, step 2 finish sleep 30 ms
[    3.397228] sun3iw1p1-pinctrl pio: missing allwinner,pins property in node pwm1
[    3.405368] platform pwm1.1: pinctrl_get failed!
[    3.410703] [LCD]open, step 3 finish sleep 0 ms
[    3.419963] [LCD]lcd_module_init finish
[    3.424660] usb_serial_number:20080411
[    3.429339] [udc]: alloc request: ep(0xc0632180, ep0, 64), req(0xc31e4960)
[    3.437096] [udc]: sunxi_udc_set_selfpowered_2413: usb device is not active
[    3.444869] [udc]: sunxi_udc_pullup, is_on = 0
[    3.449855] [udc]: sunxi_udc_set_pullup_2430: usb device is not active
[    3.457301] file system registered
[    3.463290] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    3.471061] android_usb gadget: Number of LUNs=1
[    3.476239]  lun0: LUN: removable file: (no medium)
[    3.482441] [udc]: sunxi_udc_set_selfpowered_2413: usb device is not active
[    3.490400] android_usb gadget: android_usb ready
[    3.495638] [udc]: [sunxi_usb_udc]: binding gadget driver 'android_usb'
[    3.503153] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    3.510429] ALSA device list:
[    3.513744]   #0: audiocodec
[    3.518184] EXT2-fs (nandd): error: couldn't mount because of unsupported optional features (40)
[    3.528629] EXT4-fs (nandd): couldn't mount as ext3 due to feature incompatibilities
[    3.568249] EXT4-fs (nandd): mounted filesystem without journal. Opts: (null)
[    3.576343] VFS: Mounted root (ext4 filesystem) readonly on device 93:48.
[    3.585383] devtmpfs: mounted
[    3.589437] Freeing unused kernel memory: 124K (c0529000 - c0548000)
mount: mounting none on /dev failed: Device or resource busy
mount: mounting pstore on /sys/fs/pstore failed: No such file or directory
mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such file or directory
Mount Failed: formating /dev/by-name/rootfs_data to ext4 ...
/pseudo_init: line 340: mkfs.ext4: not found
[    5.449541] EXT4-fs (nandd): warning: mounting unchecked fs, running e2fsck is recommended
[    5.459227] EXT4-fs (nandd): re-mounted. Opts: (null)
-- run rc.preboot --
-- set volume --
-- play music --
-- end --
playing '/etc/enter.wav': 2 ch, 48000 hz, 16 bit
[    6.248295] bdev is c31fdc00, dev is c3068410
[    6.253195] request gpio 0, GPIO Key Up
[    6.267205] request gpio 130, GPIO Key Down
[    6.287224] request gpio 132, GPIO Key Left
[    6.292046] request gpio 136, GPIO Key Right
[    6.296802] request gpio 113, GPIO Key A
[    6.310477] request gpio 108, GPIO Key B
[    6.314888] request gpio 98, GPIO Key X
[    6.320288] request gpio 115, GPIO Key Y
[    6.324813] request gpio 109, GPIO Key START
[    6.330679] request gpio 110, GPIO Key SELECT
[    6.336092] request gpio 139, GPIO Key MENU
[    6.341949] request gpio 96, GPIO Key L
[    6.346261] request gpio 97, GPIO Key R
[    6.350666] gpio-keys-polled platform_set_drvdata, dev is c3068410
[    6.357677] gpio-keys-polled input_register_polled_device, dev is c3068410
[    6.367571] input: gpio_keys.6 as /devices/soc/gpio_keys.6/input/input0
[    6.375023] gpio_keys_polled_open c31fdc00 c3216000 begin
[    6.381128] gpio_keys_polled_open c31fdc00 c3216000 end
[    6.413033] gpio-keys-polled report initial state of the 13 buttons
[    6.420178] gpio-keys-polled probe finished, dev is c3068410, pdev is c3068400
-- run rc.final --
insmod F1C200s-board
Linux login: add device 1: /dev/input/event0
  name:     "gpio_keys.6"
trimui_sunxi_gpio_init: ver Aug  1 2020
serial 00000002ED 0
test dec
vtpath = /dev/vc/2, fd = -1
vtpath = /dev/tty2, fd = 4
Current VT: 2
FB_VideoInit shadow_fb is 0
ttf inited
SDL_OpenAudio freq 44100, format 32784, channels 2, samples 2048
Mix_OpenAudio: No available audio device
FB_LeaveGraphicsMode
trimui_sunxi_gpio_init: ver Aug  1 2020
serial 00000002ED 0
test dec
vtpath = /dev/vc/2, fd = -1
vtpath = /dev/tty2, fd = 4
Current VT: 2
FB_VideoInit shadow_fb is 0
ttf inited
SDL_OpenAudio freq 44100, format 32784, channels 2, samples 2048
opened /dev/dsp audio_fd is 5
open audio true
sdl inited
SDL_GetVideoMode 320x240 16 -> 320x240 16
FB_EnterGraphicsMode start
iotcl VT_GETSTATE start
iotcl VT_ACTIVATE start 1
iotcl VT_WAITACTIVE start
iotcl KDGKBMODE start
iotcl KDSKBMODE start 3
iotcl KDSETMODE start
iotcl VT_LOCKSWITCH start
FB_EnterGraphicsMode end
SDL_CreateShadowSurface 16
SDL_SetVideoMode publicsurface 0x1b56048, shadowsurface 0x1b56048, videosurface 0x1b4c350
Double buf enabled 0, use SDL_UpdateRect when flip
screen inited
[InitKeyShm]: create shm fail : File exists, size 48
Load Music /usr/trimui/res/sound/click.wav
Load Music /etc/enter.wav
Load Music /usr/trimui/res/sound/MusMus-BGM-091.mp3
load font height is 26
read lang file /usr/trimui/res/lang/en.lang ok=1
genShortLangFile en.lang index 0, size 1
read lang file /usr/trimui/res/lang/ch.lang ok=1
genShortLangFile ch.lang index 1, size 2
dir is (null)
open applist /mnt/SDCARD/Apps/applist.json fail
set card 0 ctl 22 to 31
setup_keymap 0 A,B,X,Y,L,R
setLCDBrightness 130
restore background music volume 32
try to restore
open /tmp/state.json fail
nothing to restore
swap size is 0

LoginLinux login: