您尚未登录。

楼主 # 2025-01-01 21:06:39

memory
会员
注册时间: 2021-08-11
已发帖子: 505
积分: 477

45块买到的10.1寸汉朔hanshow价签F1C200S (三)

上电(12V)↓:
0a289bbd1b2634c4916f056018594fb.jpg

背面↓:
b6c82f2c2f7c53107fec6ff8cce1e94.jpg

开始自己DIY 12V电源线↓:
fd6164e54c4e325d097d27643c68cfe.jpg

DIY线已成↓:
ec7c206665b2280163520386b79c8da.jpg

第一次拆,没有经验,应该用热风枪+真空吸盘的↓:
2e8a8025798cf0c6a5f73394c03e94f.jpg

太难拆了↓:
fd5891b20f00e8e22e0fc946eb8aade.jpg

623f937b2ae318d428cd82fcb05ff51.jpg

3339a5e79bfef49ff427bc9937b1611.jpg

d7ab65a17b9ef1103f5c824f80fa179.jpg

7fbb2ca3a896dad27a2aecb1d312896.jpg

bc2141b3c131d7246be7f78c9d55ec8.jpg

离线

楼主 #1 2025-01-01 21:06:55

memory
会员
注册时间: 2021-08-11
已发帖子: 505
积分: 477

Re: 45块买到的10.1寸汉朔hanshow价签F1C200S (三)

开机速度比 保资的慢多了

离线

楼主 #2 2025-01-01 21:06:59

memory
会员
注册时间: 2021-08-11
已发帖子: 505
积分: 477

Re: 45块买到的10.1寸汉朔hanshow价签F1C200S (三)

全部启动日志:

[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
[568]Check is correct.
[579]Ready to disable icache.
[582]Jump to secend Boot.


U-Boot 2014.07 (Feb 21 2020 - 18:27:46) 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.627]pmbus:   ready
axp: get node[/soc/pmu0] error
axp_probe error
[0.633]PMU: cpux 408 Mhz,AXI=408 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz
key value = 4294967295, fel_key = [256,426]
DRAM:  64 MiB
Relocation Offset is: 03521000
axp: get node[/soc/pmu0] error
int sunxi_dma_init---
irq enable
workmode = 0,storage type = 0
[0.710]NAND: NAND_UbootInit
[0.713]NAND_UbootInit start
[0.715]NB1: enter NAND_LogicInit
[0.720]nand0: get node offset error
[0.724]init nctri NAND PIORequest error!
[0.727]nand_physic_init, init nctri error
[0.731]nand_physic_init init_parameter error
[0.735]nand_physic_init error -1
[0.738]SpiNandHwInit: Start Nand Hardware initializing .....
[0.744]uboot: nand version: 3 6013 20180906 1300
int sunxi_dma_init---
irq enable
[0.763]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x83db88c8
[0.771]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x83db88e8
_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=0x1001
_change_spic_clk_v1: mclk=0xc8
_get_spic_clk_v1: sclk0=0x32
[0.824]not burn nand partition table!
[0.828]NB1: nftl num: 1
[0.830]init nftl: 0
[1.189]NB1: NAND_LogicInit ok, result = 0x0
[1.193]NAND_UbootInit end: 0x0
used mbr [0], count = 8
sunxi secure storage is not supported
find key burned flag
env size is 256
env partition is too small!
can't enabled backup env functions
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        20000
boot        : 4a0000        400000
rootfs      : 8a0000        1e00000
rootfs_data : 26a0000       1400000
misc        : 3aa0000       40000
private     : 3ae0000       40000
UDISK       : 3b20000       0
-----------------------------------
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:    2881272 Bytes = 2.7 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 8100f23f

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 (hs@ubuntu) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #27 Fri Aug 28 02:48:57 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 32 MiB at 82000000
[    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 c05d2824, node_mem_map c0602000
[    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 partitions=bootlogo@nanda:env@nandb:boot@nandc:rootfs@nandd:rootfs_data@nande:misc@nandf:private@nandg:UDISK@nandh cma=32M fb_base=0x83f00000 androidboot.serialno=0000000000000000000 boot_type=5
[    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: 25836k/25836k available, 39700k 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 - 0xc04c5f84   (4856 kB)
[    0.000000]       .init : 0xc04c6000 - 0xc04e46dc   ( 122 kB)
[    0.000000]       .data : 0xc04e6000 - 0xc05d3148   ( 949 kB)
[    0.000000]        .bss : 0xc05d3148 - 0xc0601d80   ( 188 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=552000000 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.005314] Calibrating delay loop... 275.25 BogoMIPS (lpj=1376256)
[    0.075249] pid_max: default: 32768 minimum: 301
[    0.080429] Mount-cache hash table entries: 512
[    0.086385] CPU: Testing write buffer coherency: ok
[    0.092156] Setting up static identity map for 0xc03ac478 - 0xc03ac4d0
[    0.101385] devtmpfs: initialized
[    0.107016] pinctrl core: initialized pinctrl subsystem
[    0.119385] NET: Registered protocol family 16
[    0.127388] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.135051] dump_class_init,844, success
[    0.143891] sun3iw1p1-pinctrl pio: initialized sunXi PIO driver
[    0.167846] bio: create slab <bio-0> at 0
[    0.173294] pwm module init!
[    0.178049] SCSI subsystem initialized
[    0.182255] usbcore: registered new interface driver usbfs
[    0.188143] usbcore: registered new interface driver hub
[    0.194019] usbcore: registered new device driver usb
[    0.205249] Linux video capture interface: v2.00
[    0.210582] Advanced Linux Sound Architecture Driver Initialized.
[    0.218573] cfg80211: Calling CRDA to update world regulatory domain
[    0.226134] Switching to clocksource sun3i high-res couter
[    0.251380] get det_vbus is fail, 84
[    0.256855] NET: Registered protocol family 2
[    0.263486] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.270598] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.277258] TCP: Hash tables configured (established 512 bind 512)
[    0.283828] TCP: reno registered
[    0.287225] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.293336] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.300423] NET: Registered protocol family 1
[    0.320699] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.327420] msgmni has been set to 114
[    0.334721] io scheduler noop registered
[    0.338893] io scheduler cfq registered (default)
[    0.343870] [pm]aw_pm_init!
[    0.347151] [pm]valid
[    0.349554] [pm]valid
[    0.352364] [DISP]disp_module_init
[    0.411945] pll_freq=297000000HZ, lcd_dclk_freq=48000000HZ, clk_div=6
[    0.419249] *******************************
[    0.423676] ***
[    0.425551] *** LCD Panel Parameter Check
[    0.429705] ***
[    0.431572] ***             by guozhenjie
[    0.435766] ***
[    0.437637] ********************************
[    0.442086] ***
[    0.443956] *** Interface:
[    0.446528] *** Parallel HV Panel
[    0.450253] *** Lcd Frm to RGB666
[    0.453734] ***
[    0.455602] *** Timing:
[    0.458175] *** lcd_x:      800
[    0.461452] *** lcd_y:      1280
[    0.464845] *** lcd_ht:     1000
[    0.468211] *** lcd_hbp:    100
[    0.471488] *** lcd_vt:     1480
[    0.474878] *** lcd_vbp:    100
[    0.478155] *** lcd_hspw:   50
[    0.481343] *** lcd_vspw:   50
[    0.484559] *** lcd_frame_frq:  32Hz
[    0.488274] ***
[    0.490144] *** WRN03: Recommend "lcd_dclk_frq = 88"
[    0.495293] ***
[    0.497164] *** LCD Panel Parameter Check End
[    0.501671] *******************************
[    0.506155] num_screens=1
[    0.508913] screen_id=0
[    0.511487] para->mclk[MOD_CLK_LCD1CH0]=0xc180c340
[    0.516499] para->mclk[MOD_CLK_LCD1CH1]=0xc180c440
[    0.521453] disp tv init
[    0.524155] tcon_clk=0xc180c340, tcon_clk_parent=0x0
[    0.529288] tcon_clk=0xc180c340, tcon_clk_parent=0xc1804400
[    0.535069] tve_clk=0xc180c440, tve_clk_parent=0xc1804400
[    0.540636] disp al tv init
[    0.546363] fetch script datadisp.screen2_output_type fail
[    0.552134] invalid screen0_output_type 0
[    0.556622] fetch script datadisp.screen2_output_mode fail
[    0.564997] fetch script datadisp.fb2_format fail
[    0.570173] fetch script datadisp.fb2_scaler_mode_enable fail
[    0.576479] fetch script datadisp.fb2_width fail
[    0.581568] fetch script datadisp.fb2_height fail
[    0.615960] [DISP]disp_module_init finish
[    0.634309] uart1: ttyS1 at MMIO 0x1c25400 (irq = 104) is a SUNXI
[    0.640632] sw_console_setup()1324 - console setup baud 115200 parity n bits 8, flow n
[    0.648907] console [ttyS1] enabled, bootconsole disabled
[    0.648907] console [ttyS1] enabled, bootconsole disabled
[    0.661482] misc dump reg init
[    0.666882] [NAND]SPIC0_BASE_ADDR f1c05000
[    0.672214] Failed to get dragonboard_flag
[    0.676763] [NAND]nand init start
[    0.680443] SpiNandHwInit: Start Nand Hardware initializing Sep  6 2018 07:23:33.....
[    0.689201] kernel: nand version: 3 6013 20180906 1300
[    0.694945] print_level is no used
[    0.698726] request spi gpio  ok!
[    0.702435] request tx DMA
[    0.705444] request general tx dma channel ok!
[    0.710366] request rx DMA
[    0.713400] request general rx dma channel ok!
[    0.718324] NAND_ClkRequest
[    0.721464] NAND_ClkRequest: get pll6 rate 200000000HZ
[    0.727290] SPI nand ID: 12c212c2 12c212c2
[    0.731917] [SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffcfffff
[    0.739834] id_number_ctl is no used
[    0.743839] _UpdateExtAccessFreqPara: no para.
[    0.749451] PHY_Scan_DelayMode: right delay mode 0x0
[    0.755525] PHY_Scan_DelayMode: right delay mode 0x800
[    0.761278] _get_spic_clk_v1: sclk0=0x32
[    0.765709] PHY_Scan_DelayMode: right delay mode,clk 50 MHz, bit[13]=0,bit[11]=0
[    0.773953] physic_info_read start!!
[    0.777947] physic_info_get_offset start!!
[    0.787058] physic_info_get_one_copy start!!
[    0.792773] block 13 page 48
[    0.796456] block 13 page 49
[    0.800140] block 13 page 50
[    0.803894] block 13 page 51
[    0.807575] block 13 page 52
[    0.811256] block 13 page 53
[    0.815006] block 13 page 54
[    0.818691] block 13 page 55
[    0.822451] block 13 page 56
[    0.826136] block 13 page 57
[    0.829816] block 13 page 58
[    0.833577] block 13 page 59
[    0.837260] block 13 page 60
[    0.840945] block 13 page 61
[    0.844704] block 13 page 62
[    0.848384] block 13 page 63
[    0.852736] physic info copy is ok
[    0.856529]
[    0.856529]
[    0.859826] [SCAN_DBG] ==============Nand Architecture Parameter==============
[    0.867914] [SCAN_DBG]    Nand Chip ID:         0xffff12c2 0xffffffff
[    0.875099] [SCAN_DBG]    Nand Chip Count:      0x1
[    0.880507] [SCAN_DBG]    Nand Chip Connect:    0x1
[    0.885944] [SCAN_DBG]    Sector Count Of Page: 0x4
[    0.891352] [SCAN_DBG]    Page Count Of Block:  0x40
[    0.896884] [SCAN_DBG]    Block Count Of Die:   0x400
[    0.902510] [SCAN_DBG]    Plane Count Of Die:   0x2
[    0.907918] [SCAN_DBG]    Die Count Of Chip:    0x1
[    0.913352] [SCAN_DBG]    Bank Count Of Chip:   0x1
[    0.918759] [SCAN_DBG]    Optional Operation:   0x6d
[    0.924289] [SCAN_DBG]    Access Frequence:     0x32
[    0.929791] [SCAN_DBG] =======================================================
[    0.929791]
[    0.970263] secure storage updata ok!
[    0.974423] nand secure storage ok: 58,59
[    0.978898] start block:60
[    0.981948] [ND]boot start
[    0.985049] [ND]boot :0xc1940000
[    0.988626] [ND]boot->magic :0xaa55a5a5
[    0.992910] [ND]boot->len :0x8000
[    0.996585] [ND]boot->no_use_block :0x21
[    1.000931] [ND]boot->uboot_start_block :0x8
[    1.005700] [ND]boot->uboot_next_block :0x3a
[    1.010434] [ND]boot->logic_start_block :0x21
[    1.015298] [ND]mbr len :4096
[    1.018588] [ND]_PARTITION len :2560
[    1.022577] [ND]_NAND_STORAGE_INFO len :512
[    1.027214] [ND]_FACTORY_BLOCK len :2048
[    1.031645] [NE]partition_num: 0,size :0x36c00,cross_talk 0
[    1.037873] [NE]part mbr size: 0x2000 type: 0
[    1.042741] [NE]part bootlogo size: 0x400 type: 0
[    1.047956] [NE]part env size: 0x100 type: 0
[    1.052722] [NE]part boot size: 0x2000 type: 0
[    1.057650] [NE]part rootfs size: 0xf000 type: 0
[    1.062802] [NE]part rootfs_data size: 0xa000 type: 0
[    1.068404] [NE]part misc size: 0x200 type: 0
[    1.073263] [NE]part private size: 0x200 type: 0
[    1.078383] [NE]part UDISK size: 0x19300 type: 0
[    1.083660] [ND]factory bad block:0,436 PartitionNO:0
[    1.089281] [ND]partition->size :224256
[    1.093568] [ND]partition->cross_talk :0
[    1.097916] [ND]partition->attribute :0
[    1.102195] [ND]partition->start.Chip_NO :0
[    1.106833] [ND]partition->start.Block_NO :33
[    1.111659] [ND]partition->end.Chip_NO :0
[    1.116131] [ND]partition->end.Block_NO :511
[    1.120864] [ND]partition->nand_disk[0].size :8192
[    1.126203] [ND]partition->nand_disk[0].type :0
[    1.131227] [ND]partition->nand_disk[1].size :1024
[    1.136565] [ND]partition->nand_disk[1].type :0
[    1.141588] [ND]partition->nand_disk[2].size :256
[    1.146828] [ND]partition->nand_disk[2].type :0
[    1.151879] [ND]partition->nand_disk[3].size :8192
[    1.157190] [ND]partition->nand_disk[3].type :0
[    1.162240] [ND]partition->nand_disk[4].size :61440
[    1.167647] [ND]partition->nand_disk[4].type :0
[    1.172696] [ND]partition->nand_disk[5].size :40960
[    1.178102] [ND]partition->nand_disk[5].type :0
[    1.183150] [ND]partition->nand_disk[6].size :512
[    1.188365] [ND]partition->nand_disk[6].type :0
[    1.193414] [ND]partition->nand_disk[7].size :512
[    1.198628] [ND]partition->nand_disk[7].type :0
[    1.203676] [ND]partition->nand_disk[8].size :103168
[    1.209179] [ND]partition->nand_disk[8].type :0
[    1.214229] [ND]partition->nand_disk[9].size :-1
[    1.219348] [ND]partition->nand_disk[9].type :-1
[    1.224492] [ND]partition->nand_disk[10].size :-1
[    1.229707] [ND]partition->nand_disk[10].type :-1
[    1.234947] [ND]partition->nand_disk[11].size :-1
[    1.240162] [ND]partition->nand_disk[11].type :-1
[    1.245404] [ND]partition->nand_disk[12].size :-1
[    1.250618] [ND]partition->nand_disk[12].type :-1
[    1.255860] [ND]partition->nand_disk[13].size :-1
[    1.261075] [ND]partition->nand_disk[13].type :-1
[    1.266316] [ND]partition->nand_disk[14].size :-1
[    1.271531] [ND]partition->nand_disk[14].type :-1
[    1.276781] [ND]partition->nand_disk[15].size :-1
[    1.282025] [ND]partition->nand_disk[15].type :-1
[    1.287241] [ND]partition->nand_disk[16].size :-1
[    1.292482] [ND]partition->nand_disk[16].type :-1
[    1.297698] [ND]partition->nand_disk[17].size :-1
[    1.302940] [ND]partition->nand_disk[17].type :-1
[    1.308156] [ND]partition->nand_disk[18].size :-1
[    1.313397] [ND]partition->nand_disk[18].type :-1
[    1.318613] [ND]partition->nand_disk[19].size :-1
[    1.323854] [ND]partition->nand_disk[19].type :-1
[    1.329068] [ND]partition->nand_disk[20].size :-1
[    1.334311] [ND]partition->nand_disk[20].type :-1
[    1.339527] [ND]partition->nand_disk[21].size :-1
[    1.344767] [ND]partition->nand_disk[21].type :-1
[    1.349982] [ND]partition->nand_disk[22].size :-1
[    1.355222] [ND]partition->nand_disk[22].type :-1
[    1.360437] [ND]partition->nand_disk[23].size :-1
[    1.365680] [ND]partition->nand_disk[23].type :-1
[    1.370897] [ND]phy_partition->PartitionNO :0
[    1.375753] [ND]phy_partition->SectorNumsPerPage :8
[    1.381160] [ND]phy_partition->PageNumsPerBlk :64
[    1.386400] [ND]phy_partition->TotalBlkNum :479
[    1.391422] [ND]phy_partition->FullBitmapPerPage :8
[    1.396853] [ND]phy_partition->FreeBlock :0
[    1.401489] [ND]phy_partition->TotalSectors :224256
[    1.406921] [ND]phy_partition->StartBlock.Chip_NO :0
[    1.412450] [ND]phy_partition->StartBlock.Block_NO :33
[    1.418145] [ND]phy_partition->EndBlock.Chip_NO :0
[    1.423483] [ND]phy_partition->EndBlock.Block_NO :511
[    1.429082] [ND]phy_partition->next_phy_partition :0
[    1.434613] [ND]phy_partition->PartitionNO 0  FACTORY BAD BLOCK:
[    1.441272] [ND]BAD Chip:0;Block:436.
[    1.445361] [ND]phy_partition->PartitionNO 0  NEW BAD BLOCK:
[    1.451636] [ND]build 1 phy_partition !
[    1.455918] [ND]nand_info->type :0
[    1.459689] [ND]nand_info->SectorNumsPerPage :8
[    1.464740] [ND]nand_info->BytesUserData :16
[    1.469473] [ND]nand_info->PageNumsPerBlk :64
[    1.474331] [ND]nand_info->BlkPerChip :512
[    1.478871] [ND]nand_info->FirstBuild :0
[    1.483244] [ND]nand_info->FullBitmap :0
[    1.487592] [ND]nand_info->bad_block_addr.Chip_NO :0
[    1.493123] [ND]nand_info->bad_block_addr.Block_NO :0
[    1.498723] [ND]nand_info->mbr_block_addr.Chip_NO :0
[    1.504255] [ND]nand_info->mbr_block_addr.Block_NO :0
[    1.509854] [ND]nand_info->no_used_block_addr.Chip_NO :0
[    1.515772] [ND]nand_info->no_used_block_addr.Block_NO :33
[    1.521881] [ND]nand_info->new_bad_block_addr.Chip_NO :0
[    1.527769] [ND]nand_info->new_bad_block_addr.Block_NO :0
[    1.533782] [ND]nand_info->new_bad_page_addr :65535
[    1.539188] [ND]nand_info->partition_nums :1
[    1.543947] [ND]sizeof partition:2384
[    1.548007] [ND]nand_info->partition:0:
[    1.552286] [ND]size:0x36c00
[    1.555479] [ND]cross_talk:0x0
[    1.558861] [ND]attribute:0x0
[    1.562177] [ND]start: chip:0 block:33
[    1.566332] [ND]end  : chip:0 block:511
[    1.570583] [ND]boot :0xc1940000
[    1.574188] [ND]boot->magic :0xaa55a5a5
[    1.578440] [ND]boot->len :0x8000
[    1.582139] [ND]boot->no_use_block :0x21
[    1.586486] [ND]boot->uboot_start_block :0x8
[    1.591217] [ND]boot->uboot_next_block :0x3a
[    1.595977] [ND]boot->logic_start_block :0x21
[    1.600805] [ND]mbr len :4096
[    1.604119] [ND]_PARTITION len :2560
[    1.608083] [ND]_NAND_STORAGE_INFO len :512
[    1.612746] [ND]_FACTORY_BLOCK len :2048
[    1.617438] [ND]nand_partition0
[    1.621104] [ND]nftl start:479,41
[    1.625104] [ND]first
[    1.743499] [ND]bad block: 403
[    1.772418] [ND]before second 478 438.
[    2.288316] [NE]recover_phy_page_mapping no used page 56!!
[    2.294493] [ND]recover 50 56
[    2.297834] [ND]free block nums is 19 !
[    2.302138] [NE]not power on gc 19!
[    2.306005] [ND]nftl ok!
[    2.308889] [ND]max_erase_times = 65000
[    2.315763]  nanda: unknown partition table
[    2.323192]  nandb: unknown partition table
[    2.330451]  nandc: unknown partition table
[    2.337787]  nandd: unknown partition table
[    2.345089]  nande: unknown partition table
[    2.351246]  nandf: unknown partition table
[    2.358617]  nandg:
[    2.363717]  nandh: unknown partition table
[    2.369246] [NAND]nand init end
[    2.373465] sunxi-wlan wlan: wlan_busnum (0)
[    2.378229] sunxi-wlan wlan: wlan_power_num (0)
[    2.383362] sunxi-wlan wlan: Missing wlan_io_regulator.
[    2.389169] sunxi-wlan wlan: io_regulator_name ((null))
[    2.395056] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed
[    2.402995] sunxi-wlan wlan: wlan_regon gpio=130  mul-sel=1  pull=3  drv_level=1  data=1
[    2.412147] sunxi-wlan wlan: wlan_hostwake gpio=131  mul-sel=6  pull=-1  drv_level=-1  data=1
[    2.421650] sunxi-wlan wlan: Missing clocks.
[    2.426457] sunxi-wlan wlan: clk_name ((null))
[    2.431426] sunxi-wlan wlan: clk not config
[    2.436502] lradc_battery_probe:lradc_battery_probe ++++++
[    2.442677] lradc_battery_dts_parse:lradc_battery_dts_parse ++++++
[    2.449569] key base: f1c23400
[    2.453142] irq num: 115 !
[    2.456152] battery_data_hw_init:battery_data_hw_init ++++++
[    2.462542] lradc_battery_probe:lradc_battery_probe ------
[    2.469303] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.477170] usbcore: registered new interface driver usb-storage
[    2.484074] usbcore: registered new interface driver usbtest
[    2.491336] /soc/usbc0@0: could not find phandle
[    2.496588] get regulator_io is no nocare
[    2.501194] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[    2.509214] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[    2.520972] hub 1-0:1.0: USB hub found
[    2.525313] hub 1-0:1.0: 1 port detected
[    2.530136] wrn: hcd is not enable, need not stop hcd
[    2.536486] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[    2.543671] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x51)
[    2.552930] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    2.560098] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[    2.567750] sunxi cedar version 0.1
[    2.572008] VE: install start!!!
[    2.572008]
[    2.577393] cedar_ve: cedar-ve the get irq is 103
[    2.583303] VE: install end!!!
[    2.583303]
[    2.589857] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    2.600195] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v0.91 2018-5-29 14:19) Compiled in Aug  6 2020 at 14:27:00
[    2.612682] sunxi-mmc sdc0: Can't get vmmc regulator string
[    2.618882] sunxi-mmc sdc0: Can't get vqmmc regulator string
[    2.625269] sunxi-mmc sdc0: Can't get vdmmc regulator string
[    2.631558] sunxi-mmc sdc0: Failed getting OCR mask: 0
[    2.638786] sunxi-mmc sdc0: ***set host ocr***
[    2.644299] sunxi-mmc sdc0: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.671945] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.702105] sunxi-mmc sdc0: base:0xf1c0f000 irq:107
[    2.707564] sunxi-mmc sdc0: smc 0 p0 err, cmd 52, RTO !!
[    2.714415] sunxi-mmc sdc0: smc 0 p0 err, cmd 52, RTO !!
[    2.720413] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.731671] usbcore: registered new interface driver usbhid
[    2.737970] usbhid: USB HID core driver
[    2.745637] failed to get gpio-spk and gpio_num
[    2.754540] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.766189] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    2.774238] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    2.782218] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    2.789950] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    2.797721] sunxi-codec-machine sound.2: ASoC: DAPM unknown pin External Speaker
[    2.807997] sunxi-mmc sdc0: smc 0 p0 err, cmd 8, RTO !!
[    2.817594] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    2.826688] sunxi-codec-machine sound.2:  sun3iw1codec <-> 1c23c00.cpudai0-controller mapping ok
[    2.836653] sunxi-codec-machine sound.2: ASoC: no sink widget found for MainMic Bias
[    2.845354] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    2.851196] sunxi-codec-machine sound.2: ASoC: Failed to add route External MainMic -> direct -> MainMic Bias
[    2.862244] sunxi-codec-machine sound.2: ASoC: no source widget found for MainMic Bias
[    2.871036] sunxi-codec-machine sound.2: ASoC: Failed to add route MainMic Bias -> direct -> MIC1P
[    2.881025] sunxi-codec-machine sound.2: ASoC: no source widget found for MainMic Bias
[    2.889853] sunxi-codec-machine sound.2: ASoC: Failed to add route MainMic Bias -> direct -> MIC1N
[    2.900699] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    2.908429] ipip: IPv4 over IPv4 tunneling driver
[    2.915013] gre: GRE over IPv4 demultiplexor driver
[    2.920446] ip_gre: GRE over IPv4 tunneling driver
[    2.928268] TCP: cubic registered
[    2.932076] Initializing XFRM netlink socket
[    2.936885] NET: Registered protocol family 17
[    2.941973] NET: Registered protocol family 15
[    2.947456] VFP support v0.3: not present
[    2.952932] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    2.959219] [LCD]lcd_module_init
[    2.962953] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[    2.969767] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[    2.976669] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[    2.983524] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[    2.989844] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.002225] enhance_en=1
[    3.005098] matrixresult:(0x0, 0x3c4, 0x0, 0x0)
[    3.010171] ERROR,DE_BE_Layer_Set_Screen_Win:175 w,h=[0,0]
[    3.016364] ERROR,DE_BE_Layer_Set_Screen_Win:175 w,h=[0,0]
[    3.022529] ERROR,DE_BE_Layer_Set_Screen_Win:175 w,h=[0,0]
[    3.028684] pll_freq=297000000HZ, lcd_dclk_freq=48000000HZ, clk_div=6
[    3.035905] clk_div=6
[    3.039774] sunxi-mmc sdc0: smc 0 p0 err, cmd 1, RTO !!
[    3.046035] sunxi-mmc sdc0: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    3.056596] [LCD]open, step 0 finish
[    3.091922] [LCD]open, step 1 finish
[    3.151901] [LCD]open, step 2 finish
[    3.262352] close lcd backlight!
[    3.266079] [LCD]open, step 3 finish
[    3.272374] [LCD]lcd_module_init finish
[    3.277176] usb_serial_number:20080411
[    3.282185] file system registered
[    3.288859] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    3.296643] android_usb gadget: Number of LUNs=3
[    3.301865]  lun0: LUN: removable file: (no medium)
[    3.307284]  lun1: LUN: removable file: (no medium)
[    3.312763]  lun2: LUN: removable file: (no medium)
[    3.319110] android_usb gadget: android_usb ready
[    3.324892] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x51)
[    3.334181] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    3.340859] rtc-pcf8563 0-0051: hctosys: unable to read the hardware clock
[    3.348772] ALSA device list:
[    3.352166]   #0: audiocodec
[    3.362991] VFS: Mounted root (squashfs filesystem) readonly on device 93:48.
[    3.375825] devtmpfs: mounted
[    3.380286] Freeing unused kernel memory: 120K (c04c6000 - c04e4000)
mount: mounting none on /dev failed: Resource busy
mount: mounting pstore on /sys/fs/pstore failed: No such file or directory
[    4.271994]
[    4.271994] insmod_device_driver
[    4.271994]
[    4.279138] device_chose finished 77!
[    4.345483] EXT4-fs (nande): mounted filesystem with ordered data mode. Opts: (null)
-- run rc.preboot --
-- run hanshow config --
/
copy mac.txt to /tmp/xr_wifi.conf success!
copy SN.txt to /usr/product_id success!
-- end --
[    4.980236] EXT4-fs (nandh): mounted filesystem with ordered data mode. Opts: (null)
[    5.721997] sunxi-wlan wlan: bus_index: 0
[    5.740747] ======== XRADIO WIFI OPEN ========
[    5.745891] [XRADIO] Driver Label:XR_V02.15.40  Aug  5 2020 01:58:31
[    5.762084] [XRADIO] Allocated hw_priv @ c1916fa0
[    5.767494] [XRADIO_ERR] MACADDR=98:6d:35:71:0a:d4
[    5.892044] [XRADIO] Detect SDIO card 0
[    5.906658] sunxi-mmc sdc0: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    5.931986] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    5.962717] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    5.976981] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    5.990544] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[    6.012291] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing SD-HS(SDR25) dt B
[    6.023874] sunxi-mmc sdc0: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 1 timing SD-HS(SDR25) dt B
[    6.035970] sunxi-mmc sdc0: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 4 timing SD-HS(SDR25) dt B
[    6.048990] mmc0: new high speed SDIO card at address 0001
[    6.063315] [SBUS] XRadio Device:sdio clk=50000000
[    6.093496] [XRADIO] XRADIO_HW_REV 1.0 detected.
[    6.220667] [XRADIO] Bootloader complete
[    6.319094] [XRADIO] Firmware completed.
[    6.342007] [WSM] Firmware Label:XR_C01.08.52.11 Jan 24 2017 10:15:58
[    6.349325] [XRADIO] Firmware Startup Done.
[    6.402417] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
-- run rc.final --
insmod F1C200s-board
-- wifi connect --
insmod wifi kernel module --------------------
insmod: can't insert '/lib/modules/3.10.65/xradio_wlan.ko': File exists
start wpa_supplicant ------------------------
[    6.876975] android_usb: already disabled
[    7.010137] adb_open
[    7.015855] adb_bind_config
Successfully initialized wpa_supplicant
[    7.282968] android_work: sent uevent USB_STATE=CONNECTED
[    7.303179] android_usb gadget: high-speed config #1: android
[    7.313770] android_work: sent uevent USB_STATE=CONFIGURED
rfkill: Cannot open RFKILL control device
[    7.834642] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0
nl80211: Could not re-add multicast membership for vendor events: -2 (No such file or directory)
start udhcpc ----------------
mkdir: can't create directory '/mnt/focus': File exists
udhcpc: started, v1.27.2
[    9.127895] EXT4-fs (nandh): mounted filesystem with ordered data mode. Opts: (null)
udhcpc: sending discover
vm.panic_on_oom = 1
kernel.panic = 10
-- end --


BusyBox v1.27.2 () built-in shell (ash)

 _____  _              __     _
|_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
  | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
  | |  | || | || _ |  |_____||_||_|_||___||_,_|
  |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!
 ----------------------------------------------
 Tina Linux (Neptune, 5C1C9C53)
 ----------------------------------------------
root@TinaLinux:/# [    9.662510] [STA_WRN] Freq 2437 (wsm ch: 6) prev: 3.
[    9.668826] wlan0: authenticate with 72:3d:d6:25:ac:3b (try 1)
[    9.732324] wlan0: authenticated
[    9.738048] wlan0: associate with 72:3d:d6:25:ac:3b (try 1)
[    9.785057] wlan0: RX AssocResp from 72:3d:d6:25:ac:3b (capab=0x1031 status=0 aid=26)
[    9.793942] wlan0: associated
[    9.808514] [AP_WRN] [STA] ASSOC HTCAP 11N 58
[    9.842624] wlan0: deauthenticating from 72:3d:d6:25:ac:3b by local choice (reason=3)
[    9.851925] [WSM_WRN] Issue unjoin command(TX).
[    9.878660] cfg80211: Calling CRDA to update world regulatory domain
udhcpc: sending discover
udhcpc: sending discover
creat test file ok
read len  test_len:70
ssid_str:hanshow
pwd_str:12345678
/mnt/focus/etc/focus.conf is exist, use ssid:hanshow & pwd:12345678 to connect ap!
==================================
==============TEST WIFI=========Connecting to the network(hanshow)......
[   20.498302] wlan0: authenticate with 72:3d:d6:25:ac:3b (try 1)
[   20.544013] wlan0: authenticated
[   20.549450] wlan0: associate with 72:3d:d6:25:ac:3b (try 1)
[   20.597111] wlan0: RX AssocResp from 72:3d:d6:25:ac:3b (capab=0x1031 status=0 aid=9)
[   20.605853] wlan0: associated
[   20.620389] [AP_WRN] [STA] ASSOC HTCAP 11N 58
[   20.657714] wlan0: deauthenticating from 72:3d:d6:25:ac:3b by local choice (reason=3)
[   20.668770] [WSM_WRN] Issue unjoin command(TX).
[   20.675168] [WSM_WRN] STA mode, send_deauth_to_self
[   20.680615] [TXRX_WRN] Issue unjoin command(TX) by self.
[   20.690874] cfg80211: Calling CRDA to update world regulatory domain
Disconnected,the reason:WSE_NETWORK_NOT_EXIST
Wifi connect ap : Failure!
step2: run focus!

root@TinaLinux:/#
root@TinaLinux:/# ifconfig
[   44.830688] [NE]gc_one ok!
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 98:6D:35:71:0A:D4
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:403 (403.0 B)  TX bytes:308 (308.0 B)

root@TinaLinux:/# [   49.242617] wlan0: authenticate with 72:3d:d6:25:ac:3b (try 1)
[   49.282580] wlan0: authenticated
[   49.288391] wlan0: associate with 72:3d:d6:25:ac:3b (try 1)
[   49.337798] wlan0: RX AssocResp from 72:3d:d6:25:ac:3b (capab=0x1031 status=0 aid=15)
[   49.346689] wlan0: associated
[   49.373311] [AP_WRN] [STA] ASSOC HTCAP 11N 58
[   49.404939] wlan0: deauthenticating from 72:3d:d6:25:ac:3b by local choice (reason=3)
[   49.417097] [WSM_WRN] Issue unjoin command(TX).
[   49.439137] cfg80211: Calling CRDA to update world regulatory domain
[   51.209049] [NE]gc_one ok!
[   51.335095] [NE]gc_one ok!
[   51.464408] [NE]gc_one ok!
[   52.063651] [NE]gc_one ok!
[   60.005530] Open the lcd backlight!
[   60.386106] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
[   60.395490] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
[   60.404695] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
[   60.413958] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
[   60.423233] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
[   70.005221] Open the lcd backlight!

root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 98:6D:35:71:0A:D4
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:516 (516.0 B)  TX bytes:461 (461.0 B)

root@TinaLinux:/#

离线

楼主 #3 2025-01-01 21:07:19

memory
会员
注册时间: 2021-08-11
已发帖子: 505
积分: 477

Re: 45块买到的10.1寸汉朔hanshow价签F1C200S (三)

mac地址来源:

root@TinaLinux:/#
root@TinaLinux:/# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 98:6D:35:71:0A:D4
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# cat /mnt/private/ULI/factory/SN.txt
213010089003800139root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# cat /mnt/private/ULI/factory/mac.txt
98:6D:35:71:0A:D4root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#

离线

楼主 #4 2025-01-01 21:14:06

memory
会员
注册时间: 2021-08-11
已发帖子: 505
积分: 477

Re: 45块买到的10.1寸汉朔hanshow价签F1C200S (三)

开机自动运行脚本 cat /etc/init.d/rc.final

#!/bin/sh

echo "-- run rc.final --"

wifi_connect1()
{
        #example for setting mac address,The actual production needs to be revised.
        #cp /etc/xr_wifi.conf /tmp/
        #echo 4 > /proc/sys/kernel/printk
        echo "insmod wifi kernel module --------------------"
        insmod /lib/modules/3.10.65/xradio_wlan.ko
        echo "start wpa_supplicant ------------------------"
        wpa_supplicant  -Dnl80211 -iwlan0 -c /etc/wpa_supplicant.conf -B
        sleep 1
        echo "start udhcpc ----------------"
        udhcpc -iwlan0 &
}
wifi_connect2()
{
        #example for setting mac address,The actual production needs to be revised.
        #cp /etc/xr_wifi.conf /tmp/
    count=0
        #echo 4 > /proc/sys/kernel/printk
        echo "insmod wifi kernel module --------------------"
        insmod /lib/modules/3.10.65/xradio_wlan.ko
        echo "start wpa_supplicant ------------------------"
        wpa_supplicant -iwlan0 -Dnl80211 -c/etc/wpa_supplicant.conf > /tmp/wifi.log &

        sleep 1

        while true
        do
                usleep 500
                let count++
                grep "CTRL-EVENT-CONNECTED" /tmp/wifi.log && {
                        echo "start udhcpc ----------------"
                        /sbin/udhcpc -i wlan0 &
                        return
                }
                if [ $count -eq 500 ]; then
                        echo "wifi connect fail!!!!!!!!!!!!!!!!!!!!!!"
                        return
                fi
    done
}

echo "insmod F1C200s-board"
if [ -f "/usr/bin/F1C200s-board" ]; then
        /usr/bin/F1C200s-board > /dev/null 2>&1 &
        sleep 3
        echo "app start..."
fi

echo "-- wifi connect --"
wifi_connect1

#[ ! -f "/mnt/UDISK/etc/focus.conf" ] && ( mkdir -p /mnt/focus; mkdir -p /mnt/UDISK/etc; cp /etc/focus.conf /mnt/UDISK/etc )
mkdir /mnt/focus
[ -d "/mnt/focus" ] && ( umount /mnt/UDISK; mount -t ext4 /dev/nandh /mnt/focus)

# for update app
[ -f "/usr/bin/focus.new" ] && ( mv /usr/bin/focus.new /usr/bin/focus; chmod +x /usr/bin/focus )
[ -f "/usr/bin/hanshow_player.new" ] && ( mv /usr/bin/hanshow_player.new /usr/bin/hanshow_player; chmod +x /usr/bin/hanshow_player )

sysctl -w vm.panic_on_oom=1
sysctl -w kernel.panic=10


#export FOCUS_HOME=/mnt/focus
#/usr/bin/focus > /dev/null 2>&1 &

/usr/bin/hanshow_auto_focus &

echo "-- end --"

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn