您尚未登录。

楼主 #1 2021-03-31 10:00:05

无根浮萍
会员
注册时间: 2021-01-14
已发帖子: 62
积分: 31

tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

启动失败, 没有生成分区:

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

[60]dram size =64
[62]card no is 1
[63]sdcard 1 line count 1
[66][mmc]: mmc driver ver 2018-5-23 16:07:00
[70][mmc]: mmc_get_timing_cfg: input para error!
[74][mmc]: mmc_get_timing_cfg: input para error!
[84][mmc]: Wrong media type 0xffffff00
[87][mmc]: ***Try SD card 1***
[97][mmc]: DS26/SDR12 1 bit
[100][mmc]: 25000000 Hz
[102][mmc]: 120 MB
[104][mmc]: ***SD/MMC 1 init OK!!!***
[389]Loading boot-pkg Succeed(index=0).
[401]Ready to disable icache.
[404]Jump to secend Boot.


U-Boot 2014.07 (Aug 21 2019 - 14:53:36) Allwinner Technology

uboot commit : 78cb55af380c57c0278162e241a9999cdc16e1d6

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.452]pmbus:   ready
axp: get node[/soc/pmu0] error
axp_probe error
[0.459]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: 03520000
axp: get node[/soc/pmu0] error
int sunxi_dma_init---
irq enable
workmode = 0,storage type = 6
[0.542]MMC:      1
SUNXI SD/MMC: 1
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        600000
rootfs      : ac0000        1900000
rootfs_data : 23c0000       1900000
misc        : 3cc0000       40000
private     : 3d00000       40000
UDISK       : 3d40000       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:    2701616 Bytes = 2.6 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 8100f31f

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 (cube@global) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #46 Wed Mar 31 01:28:24 UTC 2021
[    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 c0574d14, node_mem_map c05a2000
[    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/mmcblk0p7 init=/pseudo_init rdinit=/rdinit partitions=bootlogo@mmcblk0p2:env@mmcblk0p5:boot@mmcblk0p6:rootfs@mmcblk0p7:rootfs_data@mmcblk0p8:misc@mmcblk0p9:private@mmcblk0p10:UDISK@mmcblk0p1 cma=32M rootdelay=5 fb_base=0x83f00000 androidboot.serialno=0000000000000000000 boot_type=6
[    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: 26220k/26220k available, 39316k 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 - 0xc046ff84   (4512 kB)
[    0.000000]       .init : 0xc0470000 - 0xc048e038   ( 121 kB)
[    0.000000]       .data : 0xc0490000 - 0xc0575688   ( 918 kB)
[    0.000000]        .bss : 0xc0575688 - 0xc05a1eb0   ( 179 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.005322] Calibrating delay loop... 275.25 BogoMIPS (lpj=1376256)
[    0.075251] pid_max: default: 32768 minimum: 301
[    0.080431] Mount-cache hash table entries: 512
[    0.086406] CPU: Testing write buffer coherency: ok
[    0.092199] Setting up static identity map for 0xc036a8b0 - 0xc036a908
[    0.101497] devtmpfs: initialized
[    0.107107] pinctrl core: initialized pinctrl subsystem
[    0.119514] NET: Registered protocol family 16
[    0.127530] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.135198] dump_class_init,844, success
[    0.144032] sun3iw1p1-pinctrl pio: initialized sunXi PIO driver
[    0.167624] bio: create slab <bio-0> at 0
[    0.173163] pwm module init!
[    0.177947] SCSI subsystem initialized
[    0.182125] usbcore: registered new interface driver usbfs
[    0.188009] usbcore: registered new interface driver hub
[    0.193892] usbcore: registered new device driver usb
[    0.201429] gpio=0,mul_sel=0,pull=0,drv_level=0,data=0
[    0.207145] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.215693] pcf857x 0-0020: retry commucation.7
[    0.220658] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.229183] pcf857x 0-0020: retry commucation.6
[    0.234161] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.242679] pcf857x 0-0020: retry commucation.5
[    0.247632] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.256148] pcf857x 0-0020: retry commucation.4
[    0.261099] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.269615] pcf857x 0-0020: retry commucation.3
[    0.274590] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.283102] pcf857x 0-0020: retry commucation.2
[    0.288056] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.296569] pcf857x 0-0020: retry commucation.1
[    0.301519] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.310063] pcf857x: probe of 0-0020 failed with error -70
[    0.319617] Linux video capture interface: v2.00
[    0.325055] Advanced Linux Sound Architecture Driver Initialized.
[    0.333025] cfg80211: Calling CRDA to update world regulatory domain
[    0.341786] Switching to clocksource sun3i high-res couter
[    0.366810] get det_vbus is fail, 84
[    0.372227] NET: Registered protocol family 2
[    0.378897] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.386012] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.392672] TCP: Hash tables configured (established 512 bind 512)
[    0.399223] TCP: reno registered
[    0.402616] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.408728] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.415828] NET: Registered protocol family 1
[    0.433908] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.440566] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
[    0.447001] msgmni has been set to 115
[    0.454226] io scheduler noop registered
[    0.458516] io scheduler cfq registered (default)
[    0.463391] [pm]aw_pm_init!
[    0.466658] [pm]valid
[    0.469154] [pm]valid
[    0.471879] [DISP]disp_module_init
[    0.527678] pll_freq=297000000HZ, lcd_dclk_freq=33000000HZ, clk_div=9
[    0.535051] num_screens=1
[    0.537937] screen_id=0
[    0.540518] para->mclk[MOD_CLK_LCD1CH0]=0xc180c340
[    0.545468] para->mclk[MOD_CLK_LCD1CH1]=0xc180c440
[    0.550471] disp tv init
[    0.553140] tcon_clk=0xc180c340, tcon_clk_parent=0x0
[    0.558309] tcon_clk=0xc180c340, tcon_clk_parent=0xc1804400
[    0.564056] tve_clk=0xc180c440, tve_clk_parent=0xc1804400
[    0.569652] disp al tv init
[    0.575338] fetch script datadisp.screen2_output_type fail
[    0.581431] fetch script datadisp.screen2_output_mode fail
[    0.589813] fetch script datadisp.fb2_format fail
[    0.594988] fetch script datadisp.fb2_scaler_mode_enable fail
[    0.601295] fetch script datadisp.fb2_width fail
[    0.606379] fetch script datadisp.fb2_height fail
[    0.634570] [DISP]disp_module_init finish
[    0.652813] uart1: ttyS1 at MMIO 0x1c25400 (irq = 104) is a SUNXI
[    0.659255] sw_console_setup()1324 - console setup baud 115200 parity n bits 8, flow n
[    0.667416] console [ttyS1] enabled, bootconsole disabled
[    0.667416] console [ttyS1] enabled, bootconsole disabled
[    0.679980] misc dump reg init
[    0.684659] sunxi-wlan wlan: wlan_busnum (0)
[    0.689548] sunxi-wlan wlan: wlan_power_num (0)
[    0.694593] sunxi-wlan wlan: Missing wlan_io_regulator.
[    0.700448] sunxi-wlan wlan: io_regulator_name ((null))
[    0.706281] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed
[    0.714141] ------------SUNXI_RF: Set regon for SUN3IW1P1_R6!----------------
[    0.722115] sunxi-wlan wlan: wlan_regon gpio=-1048149120  mul-sel=-1048355436  pull=-1048355480  drv_level=-1072832404  data=-1072834700
[    0.735755] sunxi-wlan wlan: can't request wlan_regon gpio 2041
[    0.742392] platform wlan: Driver sunxi-wlan requests probe deferral
[    0.749825] lradc_battery_probe:lradc_battery_probe ++++++
[    0.755922] lradc_battery_dts_parse:lradc_battery_dts_parse ++++++
[    0.762888] key base: f1c23400
[    0.766414] irq num: 114 !
[    0.769488] battery_data_hw_init:battery_data_hw_init ++++++
[    0.775824] lradc_battery_probe:lradc_battery_probe ------
[    0.783473] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.792078] gpio_request failed
[    0.795590] get regulator_io is no nocare
[    0.800318] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[    0.808347] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[    0.820179] hub 1-0:1.0: USB hub found
[    0.824397] hub 1-0:1.0: 1 port detected
[    0.829345] wrn: hcd is not enable, need not stop hcd
[    0.835697] sunxi_keyboard_startup: keyboard has no clk.
[    0.842313] input: sunxi-keyboard as /devices/virtual/input/input0
[    0.850363] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[    0.857463] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x51)
[    0.866732] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    0.873977] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[    0.881633] sunxi cedar version 0.1
[    0.885746] VE: install start!!!
[    0.885746]
[    0.891243] cedar_ve: cedar-ve the get irq is 103
[    0.897074] VE: install end!!!
[    0.897074]
[    0.903272] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v0.91 2018-5-29 14:19) Compiled in Mar 31 2021 at 01:27:46
[    0.915759] sunxi-mmc sdc1: regulator prop vmmc,str none
[    0.921757] sunxi-mmc sdc1: regulator prop vqmmc,str none
[    0.927829] sunxi-mmc sdc1: regulator prop vdmmc,str none
[    0.933830] sunxi-mmc sdc1: Failed getting OCR mask: 0
[    0.940999] sunxi-mmc sdc1: ***set host ocr***
[    0.946349] sunxi-mmc sdc1: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.967701] sunxi-mmc sdc1: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.997778] sunxi-mmc sdc1: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.008698] sunxi-mmc sdc1: base:0xf1c10000 irq:106
[    1.018345] failed to get gpio-spk and gpio_num
[    1.026625] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    1.034719] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    1.042720] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    1.050501] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    1.058271] sunxi-codec-machine sound.2: ASoC: DAPM unknown pin External Speaker
[    1.067637] sunxi-mmc sdc1: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.086452] sunxi-codec-machine sound.2:  sun3iw1codec <-> 1c23c00.cpudai0-controller mapping ok
[    1.096428] sunxi-codec-machine sound.2: ASoC: no sink widget found for MainMic Bias
[    1.105107] sunxi-codec-machine sound.2: ASoC: Failed to add route External MainMic -> direct -> MainMic Bias
[    1.116166] sunxi-codec-machine sound.2: ASoC: no source widget found for MainMic Bias
[    1.124996] sunxi-codec-machine sound.2: ASoC: Failed to add route MainMic Bias -> direct -> MIC1P
[    1.134972] sunxi-codec-machine sound.2: ASoC: no source widget found for MainMic Bias
[    1.143793] sunxi-codec-machine sound.2: ASoC: Failed to add route MainMic Bias -> direct -> MIC1N
[    1.154912] sunxi-mmc sdc1: sdc set ios: clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.166637] sunxi-mmc sdc1: smc 0 p1 err, cmd 1, RTO !!
[    1.172623] sunxi-mmc sdc1: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    1.184725] ipip: IPv4 over IPv4 tunneling driver
[    1.191225] gre: GRE over IPv4 demultiplexor driver
[    1.196661] ip_gre: GRE over IPv4 tunneling driver
[    1.205436] TCP: cubic registered
[    1.209240] Initializing XFRM netlink socket
[    1.214035] NET: Registered protocol family 17
[    1.219108] NET: Registered protocol family 15
[    1.224579] VFP support v0.3: not present
[    1.230266] [LCD]lcd_module_init
[    1.237861] enhance_en=1
[    1.240731] matrixresult:(0x0, 0x3c4, 0x0, 0x0)
[    1.245902] pll_freq=297000000HZ, lcd_dclk_freq=33000000HZ, clk_div=9
[    1.253162] clk_div=9
[    1.255704] [DISP] disp_sys_gpio_request,line:303:    disp_sys_gpio_request failed, gpio_name=lcd_gpio_0, gpio=2043, ret=-517
[    1.269863] [LCD]open, step 0 finish
[    1.307692] [LCD]open, step 1 finish
[    1.367662] [LCD]open, step 2 finish
[    1.487678] ------------[ cut here ]------------
[    1.492877] WARNING: at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x28/0x4c()
[    1.500678] invalid GPIO -517
[    1.503995] Modules linked in:
[    1.507407] CPU: 0 PID: 9 Comm: kworker/0:1 Not tainted 3.10.65 #46
[    1.514445] Workqueue: events start_work
[    1.518890] Backtrace:
[    1.521682] [<c0013328>] (dump_backtrace+0x0/0x104) from [<c0013534>] (show_stack+0x18/0x1c)
[    1.531100]  r7:0000007e r6:c042213d r5:00000009 r4:c185bda8
[    1.537504] [<c001351c>] (show_stack+0x0/0x1c) from [<c0367810>] (dump_stack+0x20/0x28)
[    1.546501] [<c03677f0>] (dump_stack+0x0/0x28) from [<c001b9dc>] (warn_slowpath_common+0x54/0x70)
[    1.556457] [<c001b988>] (warn_slowpath_common+0x0/0x70) from [<c001ba30>] (warn_slowpath_fmt+0x38/0x40)
[    1.567015]  r9:c0587480 r8:c0422f52 r7:00000001 r6:00000000 r5:c18cb3c0
r4:fffffdfb
[    1.575858] [<c001b9f8>] (warn_slowpath_fmt+0x0/0x40) from [<c014bb98>] (gpio_to_desc+0x28/0x4c)
[    1.585652]  r3:fffffdfb r2:c042212c
[    1.589733] [<c014bb70>] (gpio_to_desc+0x0/0x4c) from [<c014bc3c>] (gpio_get_value_cansleep+0x10/0x44)
[    1.600161] [<c014bc2c>] (gpio_get_value_cansleep+0x0/0x44) from [<c015a7fc>] (disp_sys_gpio_set_direction+0x20/0xb8)
[    1.612074] [<c015a7dc>] (disp_sys_gpio_set_direction+0x0/0xb8) from [<c0170d5c>] (disp_lcd_gpio_set_direction+0xa8/0xc8)
[    1.624297]  r5:c18cb3c0 r4:c1814000
[    1.628361] [<c0170cb4>] (disp_lcd_gpio_set_direction+0x0/0xc8) from [<c016c730>] (bsp_disp_lcd_gpio_set_direction+0x38/0x44)
[    1.640959]  r7:c1814000 r6:c0587208 r5:00000001 r4:00000000
[    1.647313] [<c016c6f8>] (bsp_disp_lcd_gpio_set_direction+0x0/0x44) from [<c0177274>] (sunxi_lcd_gpio_set_direction+0x20/0x30)
[    1.660017]  r5:00000000 r4:00000003
[    1.664045] [<c0177254>] (sunxi_lcd_gpio_set_direction+0x0/0x30) from [<c017a9c0>] (LCD_bl_open+0x28/0x3c)
[    1.674866] [<c017a998>] (LCD_bl_open+0x0/0x3c) from [<c0154010>] (drv_lcd_enable+0xa0/0xe0)
[    1.684302] [<c0153f70>] (drv_lcd_enable+0x0/0xe0) from [<c015415c>] (start_work+0x10c/0x1cc)
[    1.693812]  r9:c0587480 r8:c0422f6f r7:00000001 r6:c0422eff r5:c05876f4
r4:00000000
[    1.702605] [<c0154050>] (start_work+0x0/0x1cc) from [<c0031cc0>] (process_one_work+0x1e8/0x330)
[    1.712436] [<c0031ad8>] (process_one_work+0x0/0x330) from [<c0031e38>] (process_scheduled_works+0x30/0x34)
[    1.723334] [<c0031e08>] (process_scheduled_works+0x0/0x34) from [<c0032b78>] (worker_thread+0x1e0/0x358)
[    1.733982]  r5:c049cbd0 r4:c1822e40
[    1.738060] [<c0032998>] (worker_thread+0x0/0x358) from [<c0037cf8>] (kthread+0xa8/0xb4)
[    1.747076] [<c0037c50>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[    1.756019]  r7:00000000 r6:00000000 r5:c0037c50 r4:c1849e7c
[    1.762363] ---[ end trace da7037649a2b707d ]---
[    1.767487] ------------[ cut here ]------------
[    1.772703] WARNING: at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x28/0x4c()
[    1.780465] invalid GPIO -517
[    1.783751] Modules linked in:
[    1.787153] CPU: 0 PID: 9 Comm: kworker/0:1 Tainted: G        W    3.10.65 #46
[    1.795245] Workqueue: events start_work
[    1.799645] Backtrace:
[    1.802419] [<c0013328>] (dump_backtrace+0x0/0x104) from [<c0013534>] (show_stack+0x18/0x1c)
[    1.811852]  r7:0000007e r6:c042213d r5:00000009 r4:c185bda0
[    1.818249] [<c001351c>] (show_stack+0x0/0x1c) from [<c0367810>] (dump_stack+0x20/0x28)
[    1.827211] [<c03677f0>] (dump_stack+0x0/0x28) from [<c001b9dc>] (warn_slowpath_common+0x54/0x70)
[    1.837150] [<c001b988>] (warn_slowpath_common+0x0/0x70) from [<c001ba30>] (warn_slowpath_fmt+0x38/0x40)
[    1.847725]  r9:c0587480 r8:c0422f52 r7:00000001 r6:00000000 r5:c18cb3c0
r4:00000000
[    1.856531] [<c001b9f8>] (warn_slowpath_fmt+0x0/0x40) from [<c014bb98>] (gpio_to_desc+0x28/0x4c)
[    1.866328]  r3:fffffdfb r2:c042212c
[    1.870388] [<c014bb70>] (gpio_to_desc+0x0/0x4c) from [<c014c628>] (gpio_direction_output+0x14/0x20)
[    1.880644] [<c014c614>] (gpio_direction_output+0x0/0x20) from [<c015a808>] (disp_sys_gpio_set_direction+0x2c/0xb8)
[    1.892287]  r5:c18cb3c0 r4:fffffdfb
[    1.896340] [<c015a7dc>] (disp_sys_gpio_set_direction+0x0/0xb8) from [<c0170d5c>] (disp_lcd_gpio_set_direction+0xa8/0xc8)
[    1.908562]  r5:c18cb3c0 r4:c1814000
[    1.912588] [<c0170cb4>] (disp_lcd_gpio_set_direction+0x0/0xc8) from [<c016c730>] (bsp_disp_lcd_gpio_set_direction+0x38/0x44)
[    1.925186]  r7:c1814000 r6:c0587208 r5:00000001 r4:00000000
[    1.931571] [<c016c6f8>] (bsp_disp_lcd_gpio_set_direction+0x0/0x44) from [<c0177274>] (sunxi_lcd_gpio_set_direction+0x20/0x30)
[    1.944261]  r5:00000000 r4:00000003
[    1.948318] [<c0177254>] (sunxi_lcd_gpio_set_direction+0x0/0x30) from [<c017a9c0>] (LCD_bl_open+0x28/0x3c)
[    1.959134] [<c017a998>] (LCD_bl_open+0x0/0x3c) from [<c0154010>] (drv_lcd_enable+0xa0/0xe0)
[    1.968577] [<c0153f70>] (drv_lcd_enable+0x0/0xe0) from [<c015415c>] (start_work+0x10c/0x1cc)
[    1.978092]  r9:c0587480 r8:c0422f6f r7:00000001 r6:c0422eff r5:c05876f4
r4:00000000
[    1.986848] [<c0154050>] (start_work+0x0/0x1cc) from [<c0031cc0>] (process_one_work+0x1e8/0x330)
[    1.996681] [<c0031ad8>] (process_one_work+0x0/0x330) from [<c0031e38>] (process_scheduled_works+0x30/0x34)
[    2.007572] [<c0031e08>] (process_scheduled_works+0x0/0x34) from [<c0032b78>] (worker_thread+0x1e0/0x358)
[    2.018225]  r5:c049cbd0 r4:c1822e40
[    2.022246] [<c0032998>] (worker_thread+0x0/0x358) from [<c0037cf8>] (kthread+0xa8/0xb4)
[    2.031333] [<c0037c50>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[    2.040283]  r7:00000000 r6:00000000 r5:c0037c50 r4:c1849e7c
[    2.046593] ---[ end trace da7037649a2b707e ]---
[    2.051757] gpiod_direction_output: invalid GPIO
[    2.056910] [DISP] disp_sys_gpio_set_direction,line:413:    gpio_direction_output fail!
[    2.065839] ------------[ cut here ]------------
[    2.071040] WARNING: at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x28/0x4c()
[    2.078823] invalid GPIO -517
[    2.082109] Modules linked in:
[    2.085511] CPU: 0 PID: 9 Comm: kworker/0:1 Tainted: G        W    3.10.65 #46
[    2.093607] Workqueue: events start_work
[    2.098000] Backtrace:
[    2.100783] [<c0013328>] (dump_backtrace+0x0/0x104) from [<c0013534>] (show_stack+0x18/0x1c)
[    2.110215]  r7:0000007e r6:c042213d r5:00000009 r4:c185bda8
[    2.116574] [<c001351c>] (show_stack+0x0/0x1c) from [<c0367810>] (dump_stack+0x20/0x28)
[    2.125583] [<c03677f0>] (dump_stack+0x0/0x28) from [<c001b9dc>] (warn_slowpath_common+0x54/0x70)
[    2.135516] [<c001b988>] (warn_slowpath_common+0x0/0x70) from [<c001ba30>] (warn_slowpath_fmt+0x38/0x40)
[    2.146097]  r9:c0587480 r8:c0422f52 r7:00000001 r6:00000000 r5:c18cb3c0
r4:00000001
[    2.154919] [<c001b9f8>] (warn_slowpath_fmt+0x0/0x40) from [<c014bb98>] (gpio_to_desc+0x28/0x4c)
[    2.164727]  r3:fffffdfb r2:c042212c
[    2.168785] [<c014bb70>] (gpio_to_desc+0x0/0x4c) from [<c014be10>] (gpio_set_value_cansleep+0x14/0x6c)
[    2.179226] [<c014bdfc>] (gpio_set_value_cansleep+0x0/0x6c) from [<c015a8f8>] (disp_sys_gpio_set_value+0x18/0x4c)
[    2.190650]  r5:c18cb3c0 r4:c1814000
[    2.194720] [<c015a8e0>] (disp_sys_gpio_set_value+0x0/0x4c) from [<c0170c94>] (disp_lcd_gpio_set_value+0xa8/0xc8)
[    2.206191] [<c0170bec>] (disp_lcd_gpio_set_value+0x0/0xc8) from [<c016c6ec>] (bsp_disp_lcd_gpio_set_value+0x38/0x44)
[    2.218021]  r7:c1814000 r6:c0587208 r5:00000001 r4:00000000
[    2.224372] [<c016c6b4>] (bsp_disp_lcd_gpio_set_value+0x0/0x44) from [<c0177244>] (sunxi_lcd_gpio_set_value+0x20/0x30)
[    2.236297]  r5:00000000 r4:00000003
[    2.240362] [<c0177224>] (sunxi_lcd_gpio_set_value+0x0/0x30) from [<c017a9d0>] (LCD_bl_open+0x38/0x3c)
[    2.250800] [<c017a998>] (LCD_bl_open+0x0/0x3c) from [<c0154010>] (drv_lcd_enable+0xa0/0xe0)
[    2.260260] [<c0153f70>] (drv_lcd_enable+0x0/0xe0) from [<c015415c>] (start_work+0x10c/0x1cc)
[    2.269749]  r9:c0587480 r8:c0422f6f r7:00000001 r6:c0422eff r5:c05876f4
r4:00000000
[    2.278567] [<c0154050>] (start_work+0x0/0x1cc) from [<c0031cc0>] (process_one_work+0x1e8/0x330)
[    2.288382] [<c0031ad8>] (process_one_work+0x0/0x330) from [<c0031e38>] (process_scheduled_works+0x30/0x34)
[    2.299265] [<c0031e08>] (process_scheduled_works+0x0/0x34) from [<c0032b78>] (worker_thread+0x1e0/0x358)
[    2.309928]  r5:c049cbd0 r4:c1822e40
[    2.313945] [<c0032998>] (worker_thread+0x0/0x358) from [<c0037cf8>] (kthread+0xa8/0xb4)
[    2.323005] [<c0037c50>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[    2.331942]  r7:00000000 r6:00000000 r5:c0037c50 r4:c1849e7c
[    2.338285] ---[ end trace da7037649a2b707f ]---
[    2.343428] [LCD]open, step 3 finish
[    2.348160] [LCD]lcd_module_init finish
[    2.353074] sunxi-wlan wlan: wlan_busnum (0)
[    2.357969] sunxi-wlan wlan: wlan_power_num (0)
[    2.363059] sunxi-wlan wlan: Missing wlan_io_regulator.
[    2.368932] sunxi-wlan wlan: io_regulator_name ((null))
[    2.374837] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed
[    2.382752] ------------SUNXI_RF: Set regon for SUN3IW1P1_R6!----------------
[    2.390749] sunxi-wlan wlan: wlan_regon gpio=-1048149120  mul-sel=-1047954028  pull=-1047954072  drv_level=-1072832404  data=-1072834700
[    2.404420] sunxi-wlan wlan: can't request wlan_regon gpio 2041
[    2.411093] platform wlan: Driver sunxi-wlan requests probe deferral
[    2.418505] usb_serial_number:20080411
[    2.423183] file system registered
[    2.429913] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    2.437695] android_usb gadget: Number of LUNs=3
[    2.442830]  lun0: LUN: removable file: (no medium)
[    2.448338]  lun1: LUN: removable file: (no medium)
[    2.453756]  lun2: LUN: removable file: (no medium)
[    2.460116] android_usb gadget: android_usb ready
[    2.465769] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x51)
[    2.475048] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    2.481812] rtc-pcf8563 0-0051: hctosys: unable to read the hardware clock
[    2.489748] ALSA device list:
[    2.493060]   #0: audiocodec
[    2.497049] Waiting 5sec before mounting root device...
[    4.387635]
[    4.387635] insmod_device_driver
[    4.387635]
[    4.394804] device_chose finished 77!
[    7.508034] VFS: Cannot open root device "mmcblk0p7" or unknown-block(0,0): error -6
[    7.516732] Please append a correct "root=" boot option; here are the available partitions:
[    7.526104] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

sdc1相关日志:

[    0.903272] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v0.91 2018-5-29 14:19) Compiled in Mar 31 2021 at 01:27:46
[    0.915759] sunxi-mmc sdc1: regulator prop vmmc,str none
[    0.921757] sunxi-mmc sdc1: regulator prop vqmmc,str none
[    0.927829] sunxi-mmc sdc1: regulator prop vdmmc,str none
[    0.933830] sunxi-mmc sdc1: Failed getting OCR mask: 0
[    0.940999] sunxi-mmc sdc1: ***set host ocr***
[    0.946349] sunxi-mmc sdc1: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.967701] sunxi-mmc sdc1: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.997778] sunxi-mmc sdc1: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.008698] sunxi-mmc sdc1: base:0xf1c10000 irq:106

.....

[    1.154912] sunxi-mmc sdc1: sdc set ios: clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.166637] sunxi-mmc sdc1: smc 0 p1 err, cmd 1, RTO !!
[    1.172623] sunxi-mmc sdc1: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B

2021-03-31_095734.png

这是烧录日志:

[0]beign to init dram
[23]init dram ok


U-Boot 2014.07 (Aug 21 2019 - 14:53:36) Allwinner Technology

uboot commit : 78cb55af380c57c0278162e241a9999cdc16e1d6

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
[3.021]pmbus:   ready
axp: get node[/soc/pmu0] error
axp_probe error
[3.027]PMU: cpux 408 Mhz,AXI=408 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz
DRAM:  32 MiB
[3.037]fdt addr: 0x809e7820
[3.039]gd->fdt_size: 0xc320
Relocation Offset is: 01520000
axp: get node[/soc/pmu0] error
int sunxi_dma_init---
irq enable
[3.109]flash init start
workmode = 16,storage type = 3
try card 1
[3.115][mmc]: mmc driver ver 2018-12-27 9:21:00
SUNXI SD/MMC: 1
[3.133][mmc]: ************Try SD card 1************
[3.143][mmc]: host caps: 0x23
[3.146][mmc]: MID 00 PSN 00000289
[3.149][mmc]: PNM APPSD -- 0x41-50-50-53-44
[3.153][mmc]: PRV 0.0
[3.155][mmc]: MDT m-3 y-2018
[3.158][mmc]: user capacity  : 120 MB
[3.161][mmc]: cache size 0 KB
[3.164][mmc]: cache ctl 0
[3.166][mmc]: SD/MMC 1 init OK!!!
[3.170][mmc]: End mmc_init_boot
read mbr copy[0] failed
read mbr copy[1] failed
read mbr copy[2] failed
read mbr copy[3] failed
[3.182]flash init end
[3.184]try to burn key
[3.188]inter uboot shell
Hit any key to stop autoboot:  0
work mode=0x10
run usb efex
delay time 2500
int sunxi_dma_init---
irq enable
sunxi_dma_install_int ok
usb init ok
set address 0x1
SUNXI_EFEX_ERASE_TAG
erase_flag = 0x0
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
the 0 mbr table is ok
the 1 mbr table is ok
the 2 mbr table is ok
the 3 mbr table is ok
*************MBR DUMP***************
total mbr part 8

part[0] name      :bootlogo
part[0] classname :DISK
part[0] addrlo    :0x2000
part[0] lenlo     :0x400
part[0] user_type :32768
part[0] keydata   :0
part[0] ro        :0

part[1] name      :env
part[1] classname :DISK
part[1] addrlo    :0x2400
part[1] lenlo     :0x200
part[1] user_type :32768
part[1] keydata   :0
part[1] ro        :0

part[2] name      :boot
part[2] classname :DISK
part[2] addrlo    :0x2600
part[2] lenlo     :0x3000
part[2] user_type :32768
part[2] keydata   :0
part[2] ro        :0

part[3] name      :rootfs
part[3] classname :DISK
part[3] addrlo    :0x5600
part[3] lenlo     :0xc800
part[3] user_type :32768
part[3] keydata   :0
part[3] ro        :0

part[4] name      :rootfs_data
part[4] classname :DISK
part[4] addrlo    :0x11e00
part[4] lenlo     :0xc800
part[4] user_type :32768
part[4] keydata   :0
part[4] ro        :0

part[5] name      :misc
part[5] classname :DISK
part[5] addrlo    :0x1e600
part[5] lenlo     :0x200
part[5] user_type :32768
part[5] keydata   :0
part[5] ro        :0

part[6] name      :private
part[6] classname :DISK
part[6] addrlo    :0x1e800
part[6] lenlo     :0x200
part[6] user_type :32768
part[6] keydata   :0
part[6] ro        :0

part[7] name      :UDISK
part[7] classname :DISK
part[7] addrlo    :0x1ea00
part[7] lenlo     :0x0
part[7] user_type :33024
part[7] keydata   :0
part[7] ro        :0

total part: 9
mbr 0, 2000, 8000
bootlogo 1, 400, 8000
env 2, 200, 8000
boot 3, 3000, 8000
rootfs 4, c800, 8000
rootfs_data 5, c800, 8000
misc 6, 200, 8000
private 7, 200, 8000
UDISK 8, 0, 8100
not need erase flash
sunxi_sprite_erase_flash, erase_flag=0
private part exist
the 0 mbr table is ok
*************MBR DUMP***************
total mbr part 8

part[0] name      :bootlogo
part[0] classname :DISK
part[0] addrlo    :0x2000
part[0] lenlo     :0x400
part[0] user_type :32768
part[0] keydata   :0
part[0] ro        :0

part[1] name      :env
part[1] classname :DISK
part[1] addrlo    :0x2400
part[1] lenlo     :0x200
part[1] user_type :32768
part[1] keydata   :0
part[1] ro        :0

part[2] name      :boot
part[2] classname :DISK
part[2] addrlo    :0x2600
part[2] lenlo     :0x3000
part[2] user_type :32768
part[2] keydata   :0
part[2] ro        :0

part[3] name      :rootfs
part[3] classname :DISK
part[3] addrlo    :0x5600
part[3] lenlo     :0xc800
part[3] user_type :32768
part[3] keydata   :0
part[3] ro        :0

part[4] name      :rootfs_data
part[4] classname :DISK
part[4] addrlo    :0x11e00
part[4] lenlo     :0xc800
part[4] user_type :32768
part[4] keydata   :0
part[4] ro        :0

part[5] name      :misc
part[5] classname :DISK
part[5] addrlo    :0x1e600
part[5] lenlo     :0x200
part[5] user_type :32768
part[5] keydata   :0
part[5] ro        :0

part[6] name      :private
part[6] classname :DISK
part[6] addrlo    :0x1e800
part[6] lenlo     :0x200
part[6] user_type :32768
part[6] keydata   :0
part[6] ro        :0

part[7] name      :UDISK
part[7] classname :DISK
part[7] addrlo    :0x1ea00
part[7] lenlo     :0x0
part[7] user_type :33024
part[7] keydata   :0
part[7] ro        :0

begin to store data
part name bootlogo
keydata = 0x0
part name env
keydata = 0x0
part name boot
keydata = 0x0
part name rootfs
keydata = 0x0
part name rootfs_data
keydata = 0x0
part name misc
keydata = 0x0
part name private
keydata = 0x0
find keypart private
keypart read start: 0x1e800, sectors 0x200
keypart part private read end: 0x1e800, sectors 0x200
part name UDISK
keydata = 0x0
need_erase_flag = 0
begin to erase
finish erase
rewrite
keypart write start: 0x1e800, sectors 0x200
keypart write end: 0x1e800, sectors 0x200
flash exit
SUNXI_EFEX_MBR_TAG
mbr size = 0x10000
begin to write standard mbr
successed to write standard mbr
sunxi_sprite_verify_mbr_from_flash
the 0 mbr table is ok
the 1 mbr table is ok
the 2 mbr table is ok
the 3 mbr table is ok
*************MBR DUMP***************
total mbr part 8

part[0] name      :bootlogo
part[0] classname :DISK
part[0] addrlo    :0x2000
part[0] lenlo     :0x400
part[0] user_type :32768
part[0] keydata   :0
part[0] ro        :0

part[1] name      :env
part[1] classname :DISK
part[1] addrlo    :0x2400
part[1] lenlo     :0x200
part[1] user_type :32768
part[1] keydata   :0
part[1] ro        :0

part[2] name      :boot
part[2] classname :DISK
part[2] addrlo    :0x2600
part[2] lenlo     :0x3000
part[2] user_type :32768
part[2] keydata   :0
part[2] ro        :0

part[3] name      :rootfs
part[3] classname :DISK
part[3] addrlo    :0x5600
part[3] lenlo     :0xc800
part[3] user_type :32768
part[3] keydata   :0
part[3] ro        :0

part[4] name      :rootfs_data
part[4] classname :DISK
part[4] addrlo    :0x11e00
part[4] lenlo     :0xc800
part[4] user_type :32768
part[4] keydata   :0
part[4] ro        :0

part[5] name      :misc
part[5] classname :DISK
part[5] addrlo    :0x1e600
part[5] lenlo     :0x200
part[5] user_type :32768
part[5] keydata   :0
part[5] ro        :0

part[6] name      :private
part[6] classname :DISK
part[6] addrlo    :0x1e800
part[6] lenlo     :0x200
part[6] user_type :32768
part[6] keydata   :0
part[6] ro        :0

part[7] name      :UDISK
part[7] classname :DISK
part[7] addrlo    :0x1ea00
part[7] lenlo     :0x0
part[7] user_type :33024
part[7] keydata   :0
part[7] ro        :0

FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
FEX_CMD_fes_verify_value, start 0x2000, size high 0x0:low 0x4b036
FEX_CMD_fes_verify_value 0x60b4446e
FEX_CMD_fes_verify_value, start 0x2400, size high 0x0:low 0x20000
FEX_CMD_fes_verify_value 0xc6018f2f
FEX_CMD_fes_verify_value, start 0x2600, size high 0x0:low 0x293970
FEX_CMD_fes_verify_value 0x84267db2
FEX_CMD_fes_verify_value, start 0x5600, size high 0x0:low 0x500000
FEX_CMD_fes_verify_value 0xd944b7f
bootfile_mode=4
SUNXI_EFEX_BOOT1_TAG
boot1 size = 0xb8000
uboot_pkg magic 0x89119800
uboot size = 0xb8000
storage type = 6
mmc down uboot
uboot_pkg magic 0x89119800
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
bootfile_mode=4
SUNXI_EFEX_BOOT0_TAG
boot0 size = 0x8000
production_media:6!
[24.614][mmc]: write mmc info ok
dram para[0] = ea00018e
dram para[1] = 6f6f6275
dram para[2] = 74
dram para[3] = c378ee87
dram para[4] = 4000
dram para[5] = a4000
dram para[6] = a4000
dram para[7] = 2e302e33
dram para[8] = 30
dram para[9] = 2e302e31
dram para[10] = 30
dram para[11] = 80800000
dram para[12] = 80000000
dram para[13] = 0
dram para[14] = 0
dram para[15] = 0
dram para[16] = 0
dram para[17] = 0
dram para[18] = 0
dram para[19] = 0
dram para[20] = 0
dram para[21] = 0
dram para[22] = 0
dram para[23] = 0
dram para[24] = 0
dram para[25] = 0
dram para[26] = 0
dram para[27] = 0
dram para[28] = 0
dram para[29] = 0
dram para[30] = 0
dram para[31] = 0
storage type = 6
card1 download boot0
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
sunxi_efex_next_action=2
exit usb
sunxi dma exit
next work 2
SUNXI_UPDATE_NEXT_ACTION_REBOOT
set next mode 14
sunxi dma exit
[0]HELLO! BOOT0 is starting!
[2]boot0 commit : 80628dcde5dc4ecdc757a9e782c58d7cf1abf959

[60]dram size =64
[62]card no is 1
[63]sdcard 1 line count 1
[65][mmc]: mmc driver ver 2018-5-23 16:07:00
[69][mmc]: mmc_get_timing_cfg: input para error!
[74][mmc]: mmc_get_timing_cfg: input para error!
[84][mmc]: Wrong media type 0xffffff00
[87][mmc]: ***Try SD card 1***
[97][mmc]: DS26/SDR12 1 bit
[100][mmc]: 25000000 Hz
[102][mmc]: 120 MB
[103][mmc]: ***SD/MMC 1 init OK!!!***
[389]Loading boot-pkg Succeed(index=0).
[401]Ready to disable icache.
[404]Jump to secend Boot.

target/allwinner/violin-F1C200s/configs/sys_config.fex

;A31 PAD application
;---------------------------------------------------------------------------------------------------------
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
; 描述gpio的形式:Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态>
;---------------------------------------------------------------------------------------------------------

[product]
version = "100"
machine = "evb"

[platform]
eraseflag   = 1
debug_mode  = 1

;----------------------------------------------------------------------------------
;   system configuration
;   ?
;dcdc1_vol                                                      ---set dcdc1 voltage,mV,1600-3400,100mV/step
;dcdc2_vol                                                      ---set dcdc2 voltage,mV,600-1540,20mV/step
;dcdc3_vol                                                      ---set dcdc3 voltage,mV,600-1860,20mV/step
;dcdc4_vol                                                      ---set dcdc4 voltage,mV,600-1540,20mV/step
;dcdc5_vol                                                      ---set dcdc5 voltage,mV,1000-2550,50mV/step
;aldo2_vol                                                      ---set aldo2 voltage,mV,700-3300,100mV/step
;aldo3_vol                                                      ---set aldo3 voltage,mV,700-3300,100mV/step
;----------------------------------------------------------------------------------

;----------------------------------------------------------------------------------
; storage_type 0:nand 1:sd 2:emmc 3:spinor 4:emmc3 5:spinand 6:sd1
;
; as spi0 and sdc0 both use PC0-PC2
; for spinor, set [target] storage_type = 3, [spi0] spi0_used = 1 , [sdc1] sdc1_used = 0
; for spinand, set [target] storage_type = 5, [spi0] spi0_used = 1 , [sdc1] sdc1_used = 0
; for sd1, set [target] storage_type = 6, [spi0] spi0_used = 0 , [sdc1] sdc1_used = 1
;----------------------------------------------------------------------------------
[target]
boot_clock      = 408
storage_type    = 6
burn_key        = 0

[norflash]
size            = 16

[power_sply]
dcdc1_vol                  = 3000
dcdc2_vol                  = 1200
dcdc3_vol                  = 1200
dcdc4_vol                  = 1200
dcdc5_vol                  = 1500
aldo2_vol                  = 1800
aldo3_vol                  = 3000

;[power_ctrl]
;power_off_key = port:PD14<0><0><default><1>
;power_on = port:PD15<1><0><default><0>

[pwr_ctrl]
power_off_key = port:PD20<0><0><default><1>
power_on = port:PA1<1><default><default><0>
pwroff_gpio_is_irq = 0

[card_boot]
logical_start   = 40960
sprite_gpio0    =
;card_no = 1

;---------------------------------------------------------------------------------------------------------
; if 1 == standby_mode, then support super standby;
; else, support normal standby.
;---------------------------------------------------------------------------------------------------------
[pm_para]
standby_mode            = 1

[card0_boot_para]
card_ctrl       = 0
card_high_speed = 1
card_line       = 4
sdc_d1          = port:PF0<2><1><2><default>
sdc_d0          = port:PF1<2><1><2><default>
sdc_clk         = port:PF2<2><1><2><default>
sdc_cmd         = port:PF3<2><1><2><default>
sdc_d3          = port:PF4<2><1><2><default>
sdc_d2          = port:PF5<2><1><2><default>


[card2_boot_para]
card_ctrl       = 2
card_high_speed = 1
card_line       = 8
sdc_clk         = port:PC5<3><1><3><default>
sdc_cmd         = port:PC6<3><1><3><default>
sdc_d0          = port:PC8<3><1><3><default>
sdc_d1          = port:PC9<3><1><3><default>
sdc_d2          = port:PC10<3><1><3><default>
sdc_d3          = port:PC11<3><1><3><default>
sdc_d4          = port:PC12<3><1><3><default>
sdc_d5          = port:PC13<3><1><3><default>
sdc_d6          = port:PC14<3><1><3><default>
sdc_d7          = port:PC15<3><1><3><default>
sdc_emmc_rst    = port:PC16<3><1><3><default>
sdc_ds          = port:PC01<3><1><3><default>

[card1_boot_para]
card_ctrl       = 1
card_high_speed = 1
card_line       = 1
sdc_clk         = port:PC0<3><1><3><default>
sdc_cmd         = port:PC1<3><1><3><default>
sdc_d0          = port:PC2<3><1><3><default>

[twi_para]
twi_port        = 0
twi_scl         = port:PD12<3><default><default><default>
twi_sda         = port:PD00<3><default><default><default>


[uart_para]
uart_debug_port = 1
uart_debug_tx   = port:PA2<5><1><default><default>
uart_debug_rx   = port:PA3<5><1><default><default>


[jtag_para]
jtag_enable     = 0
jtag_ms         = port:PH9<3><default><default><default>
jtag_ck         = port:PH10<3><default><default><default>
jtag_do         = port:PH11<3><default><default><default>
jtag_di         = port:PH12<3><default><default><default>


;*****************************************************************************
;sdram configuration
;
;*****************************************************************************
[dram_para]

dram_clk        = 480
dram_type       = 3
dram_zq         = 0x77bb
dram_odt_en     = 1
dram_para1      = 0x004319f4
dram_para2      = 0x5
dram_mr0        = 0x620
dram_mr1        = 0x0
dram_mr2        = 0x8
dram_mr3        = 0
dram_tpr0       = 0x06141B10
dram_tpr1       = 0x40416
dram_tpr2       = 0x03030306
dram_tpr3       = 0x2006
dram_tpr4       = 0x05040405
dram_tpr5       = 0x05050302
dram_tpr6       = 0x90006644
dram_tpr7       = 0x42c21590
dram_tpr8       = 0xd05612c0
dram_tpr9       = 0x00083def
dram_tpr10      = 0x18082356
dram_tpr11      = 0x32034156
dram_tpr12      = 0
dram_tpr13      = 0


;----------------------------------------------------------------------------------
;i2c configuration
;----------------------------------------------------------------------------------
[twi0]
twi0_used        = 1
twi0_scl         = port:PD12<3><default><default><default>
twi0_sda         = port:PD00<3><default><default><default>

[twi1]
twi1_used        = 0
twi1_scl         = port:PB00<2><default><default><default>
twi1_sda         = port:PB01<2><default><default><default>

[twi2]
twi2_used        = 0
twi2_scl         = port:PD15<4><default><default><default>
twi2_sda         = port:PD16<4><default><default><default>

;----------------------------------------------------------------------------------
;TWI device configuration
;compatible        --- device name
;reg               --- device address
;----------------------------------------------------------------------------------
;[twi0/twi_board0]
;compatible        =
;reg               =

[io_expand]
compatible         = "nxp,pcf8574a"
reg                = 0x20
gpio_base          = 2040
;int-gpio           = port:PE09<6><default><1><1>

;----------------------------------------------------------------------------------
;uart configuration
;uart_type ---  2 (2 wire), 4 (4 wire), 8 (8 wire, full function)
;----------------------------------------------------------------------------------
[uart0]
uart0_used       = 0
uart0_port       = 0
uart0_type       = 2
uart0_tx         = port:PF2<3><1><default><default>
uart0_rx         = port:PF4<3><1><default><default>

[uart1]
uart1_used       = 1
uart1_port       = 1
uart1_type       = 2
uart1_tx         = port:PA2<5><1><default><default>
uart1_rx         = port:PA3<5><1><default><default>

;----------------------------------------------------------------------------------
;SPI controller configuration
;----------------------------------------------------------------------------------
[spi0]
spi0_used       = 0
spi0_cs_number  = 1
spi0_cs_bitmap  = 1
spi0_cs0        = port:PC1<2><1><default><default>
spi0_sclk       = port:PC0<2><default><default><default>
spi0_mosi       = port:PC3<2><default><default><default>
spi0_miso       = port:PC2<2><default><default><default>

[spi1]
spi1_used       = 0
spi1_cs_number  = 1
spi1_cs_bitmap  = 1
spi1_cs0        = port:PE07<4><1><default><default>
spi1_sclk       = port:PE09<4><default><default><default>
spi1_mosi       = port:PE08<4><default><default><default>
spi1_miso       = port:PE10<4><default><default><default>

;----------------------------------------------------------------------------------
;SPI device configuration
;compatible        --- device name
;spi-max-frequency --- work frequency
;reg               --- chip select
;optional properties: spi-cpha, spi-cpol, spi-cs-high
;----------------------------------------------------------------------------------
;[spi0/spi_board0]
;compatible        =
;spi-max-frequency =
;reg               =
;spi-cpha
;spi-cpol
;spi-cs-high

;----------------------------------------------------------------------------------
;resistance tp configuration
;----------------------------------------------------------------------------------
[rtp_para]
rtp_used      = 0
rtp_screen_size = 5
rtp_regidity_level = 5
rtp_press_threshold_enable = 0
rtp_press_threshold = 0x1f40
rtp_sensitive_level = 0xf
rtp_exchange_x_y_flag = 0

;----------------------------------------------------------------------------------
;capacitor tp configuration
;external int function
;wakeup output function
;notice ---    tp_int_port &  tp_io_port use the same port
;----------------------------------------------------------------------------------
[ctp]
ctp_used            = 1
ctp_twi_id          = 0
ctp_twi_addr        = 0x48
ctp_screen_max_x    = 800
ctp_screen_max_y    = 480
ctp_revert_x_flag   = 1
ctp_revert_y_flag   = 1
ctp_exchange_x_y_flag = 1

;ctp_int_port         = port:PE12<6><default><default><1>
;ctp_wakeup           = 2045

[twi0/touchscreen1]
compatible           = "ctp_icn85xx"
reg                  = 0x48

;----------------------------------------------------------------------------------
;touch key configuration
;----------------------------------------------------------------------------------
[tkey_para]
tkey_used           = 0
tkey_twi_id         =
tkey_twi_addr       =
tkey_int            =

;----------------------------------------------------------------------------------
;motor configuration
;----------------------------------------------------------------------------------
[motor_para]
motor_used          = 0
;motor_shake         = port:power3<1><default><default><1>

[nand0_para]
nand0_support_2ch    = 0

nand0_used          = 0
nand0_we            = port:PC00<2><0><1><default>
nand0_ale           = port:PC01<2><0><1><default>
nand0_cle           = port:PC02<2><0><1><default>
nand0_ce0           = port:PC03<2><1><1><default>
nand0_nre           = port:PC04<2><0><1><default>
nand0_rb0           = port:PC05<2><1><1><default>
nand0_d0            = port:PC06<2><0><1><default>
nand0_d1            = port:PC07<2><0><1><default>
nand0_d2            = port:PC08<2><0><1><default>
nand0_d3            = port:PC09<2><0><1><default>
nand0_d4            = port:PC10<2><0><1><default>
nand0_d5            = port:PC11<2><0><1><default>
nand0_d6            = port:PC12<2><0><1><default>
nand0_d7            = port:PC13<2><0><1><default>
nand0_ndqs          = port:PC14<2><0><1><default>

nand0_regulator1                = "vcc-nand"
nand0_regulator2                = "none"
nand0_cache_level = 0x55aaaa55
nand0_flush_cache_num = 0x55aaaa55
nand0_capacity_level = 0x55aaaa55
nand0_id_number_ctl = 0x55aaaa55
nand0_print_level = 0x55aaaa55
nand0_p0 = 0x55aaaa55
nand0_p1 = 0x55aaaa55
nand0_p2 = 0x55aaaa55
nand0_p3 = 0x55aaaa55

;----------------------------------------------------------------------------------
;disp init configuration
;
;disp_mode             (0:screen0<screen0,fb0>)
;screenx_output_type   (0:none; 1:lcd; 3:hdmi;)
;screenx_output_mode   (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50)
;                      (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60)
;fbx format            (4:RGB655 5:RGB565 6:RGB556 7:ARGB1555 8:RGBA5551 9:RGB888 10:ARGB8888 12:ARGB4444)
;fbx pixel sequence    (0:ARGB 1:BGRA 2:ABGR 3:RGBA)
;fb0_scaler_mode_enable(scaler mode enable, used FE)
;fbx_width,fbx_height  (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0)
;lcdx_backlight        (lcd init backlight,the range:[0,256],default:197
;lcdx_yy               (lcd init screen bright/contrast/saturation/hue, value:0~100, default:50/50/57/50)
;lcd0_contrast         (LCD contrast, 0~100)
;lcd0_saturation       (LCD saturation, 0~100)
;lcd0_hue              (LCD hue, 0~100)
;----------------------------------------------------------------------------------
[disp]
disp_init_enable         = 1
disp_mode                = 0

screen0_output_type      = 1
screen0_output_mode      = 4

screen1_output_type      = 1
screen1_output_mode      = 4

fb0_framebuffer_num      = 2
fb0_pixel_sequence       = 0
fb0_scaler_mode_enable   = 0

fb0_format               = 0
fb0_width                = 0
fb0_height               = 0

fb1_framebuffer_num      = 0
fb1_pixel_sequence       = 0
fb1_scaler_mode_enable   = 0

fb1_format               = 0
fb1_width                = 0
fb1_height               = 0

lcd0_backlight           = 50
lcd1_backlight           = 50

lcd0_bright              = 50
lcd0_contrast            = 50
lcd0_saturation          = 57
lcd0_hue                 = 50

lcd1_bright              = 50
lcd1_contrast            = 50
lcd1_saturation          = 57
lcd1_hue                 = 50

;----------------------------------------------------------------------------------
;lcd0 configuration

;lcd_if:               0:hv(sync+de); 1:8080; 2:ttl; 3:lvds; 4:dsi; 5:edp; 6:extend dsi
;lcd_x:                lcd horizontal resolution
;lcd_y:                lcd vertical resolution
;lcd_width:            width of lcd in mm
;lcd_height:           height of lcd in mm
;lcd_dclk_freq:        in MHZ unit
;lcd_pwm_freq:         in HZ unit
;lcd_pwm_pol:          lcd backlight PWM polarity
;lcd_pwm_max_limit     lcd backlight PWM max limit(<=255)
;lcd_hbp:              hsync back porch
;lcd_ht:               hsync total cycle
;lcd_vbp:              vsync back porch
;lcd_vt:               vysnc total cycle
;lcd_hspw:             hsync plus width
;lcd_vspw:             vysnc plus width
;lcd_lvds_if:          0:single link;  1:dual link
;lcd_lvds_colordepth:  0:8bit; 1:6bit
;lcd_lvds_mode:        0:NS mode; 1:JEIDA mode
;lcd_frm:              0:disable; 1:enable rgb666 dither; 2:enable rgb656 dither
;lcd_io_phase:         0:noraml; 1:intert phase(0~3bit: vsync phase; 4~7bit:hsync phase;
;                      8~11bit:dclk phase; 12~15bit:de phase)
;lcd_gamma_en          lcd gamma correction enable
;lcd_bright_curve_en   lcd bright curve correction enable
;lcd_cmap_en           lcd color map function enable
;deu_mode              0:smoll lcd screen; 1:large lcd screen(larger than 10inch)
;lcdgamma4iep:         Smart Backlight parameter, lcd gamma vale * 10;
;                      decrease it while lcd is not bright enough; increase while lcd is too bright
;smart_color           90:normal lcd screen 65:retina lcd screen(9.7inch)
;----------------------------------------------------------------------------------
[lcd0]
lcd_used            = 1

;-------------------------------------
; avdisplay lcd
;-------------------------------------
lcd_driver_name     = "ili6122_800x480"
lcd_if              = 0
lcd_x               = 800
lcd_y               = 480
lcd_width           = 109
lcd_height          = 63
lcd_dclk_freq       = 33
lcd_pwm_used        = 1
lcd_pwm_ch          = 0
lcd_pwm_freq        = 50000
lcd_pwm_pol         = 1
lcd_hbp             = 55
lcd_ht              = 1056
lcd_hspw            = 20
lcd_vbp             = 35
lcd_vt              = 525
lcd_vspw            = 10
lcd_hv_if           = 0
lcd_hv_smode        = 0
lcd_hv_s888_if      = 0
lcd_hv_syuv_if      = 0
lcd_hv_vspw         = 10
lcd_hv_hspw         = 20
lcd_hv_sync_polarity = 3
;-------------------------------------
; qiutianwei lcd
;-------------------------------------
;lcd_x               = 800
;lcd_y               = 480
;lcd_width           = 108
;lcd_height          = 64
;lcd_dclk_freq       = 33
;lcd_pwm_used        = 1
;lcd_pwm_ch          = 0
;lcd_pwm_freq        = 50000
;lcd_pwm_pol         = 1
;lcd_hbp             = 88
;lcd_ht              = 928
;lcd_hspw            = 48
;lcd_vbp             = 35
;lcd_vt              = 525
;lcd_vspw            = 3
;lcd_hv_if           = 0
;lcd_hv_smode        = 0
;lcd_hv_s888_if      = 0
;lcd_hv_syuv_if      = 0
;lcd_hv_vspw         = 10
;lcd_hv_hspw         = 123

;lcd_x               = 1024
;lcd_y               = 600
;lcd_width           = 154
;lcd_height          = 86
;lcd_dclk_freq       = 50
;lcd_pwm_used        = 1
;lcd_pwm_ch          = 0
;lcd_pwm_freq        = 50000
;lcd_pwm_pol         = 1
;lcd_hbp             = 160
;lcd_ht              = 1344
;lcd_hspw            = 48
;lcd_vbp             = 23
;lcd_vt              = 635
;lcd_vspw            = 3
;lcd_hv_if           = 0
;lcd_hv_smode        = 0
;lcd_hv_s888_if      = 0
;lcd_hv_syuv_if      = 0
;lcd_hv_vspw         = 10
;lcd_hv_hspw         = 123
lcd_lvds_if         = 0
lcd_lvds_colordepth = 1
lcd_lvds_mode       = 0
lcd_lvds_ch         = 0
lcd_lvds_bitwidth   = 0
lcd_lvds_io_cross   = 0

lcd_cpu_if          = 0

lcd_frm             = 1
lcd_rb_swap         = 1
lcd_io_phase        = 0x0000
lcd_gamma_en        = 0
lcd_bright_curve_en = 0
lcd_cmap_en         = 0
deu_mode            = 0
lcdgamma4iep        = 22
lcd_io_cfg0         = 0x00000000
smart_color         = 90

;lcd_bl_en_used      = 0
;lcd_bl_en           = port:PE12<1><0><default><1>
;lcd_power           = port:PE06<1><0><default><0>
lcd_gpio_0           = 2043

;lcdd2               = port:PD00<2><0><default><default>
lcdd3               = port:PD01<2><0><default><default>
lcdd4               = port:PD02<2><0><default><default>
lcdd5               = port:PD03<2><0><default><default>
lcdd6               = port:PD04<2><0><default><default>
lcdd7               = port:PD05<2><0><default><default>
lcdd10              = port:PD06<2><0><default><default>
lcdd11              = port:PD07<2><0><default><default>
lcdd12              = port:PD08<2><0><default><default>
lcdd13              = port:PD09<2><0><default><default>
lcdd14              = port:PD10<2><0><default><default>
lcdd15              = port:PD11<2><0><default><default>
;lcdd18              = port:PD12<2><0><default><default>
lcdd19              = port:PD13<2><0><default><default>
lcdd20              = port:PD14<2><0><default><default>
lcdd21              = port:PD15<2><0><default><default>
lcdd22              = port:PD16<2><0><default><default>
lcdd23              = port:PD17<2><0><default><default>
lcdclk              = port:PD18<2><0><3><default>
lcdde               = port:PD19<2><0><3><default>
lcdhsync            = port:PD20<2><0><3><default>
lcdvsync            = port:PD21<2><0><3><default>

;----------------------------------------------------------------------------------
;pwm config
;----------------------------------------------------------------------------------
[pwm0_para]
pwm_used            = 0
;pwm_positive        = port:PH00<2><0><default><default>
pwm_positive        = port:PE12<4><0><default><default>

[pwm1_para]
pwm_used            = 0
pwm_positive        = port:PE06<3><0><default><default>


;--------------------------------------------------------------------------------
;vip (video input port) configuration
;vip(x)_used: 0:disable 1:enable
;vip(x)_isp_used 0:not use isp 1:use isp
;vip(x)_fmt: 0:yuv 1:bayer raw rgb
;vip(x)_stby_mode: 0:not shut down power at standby 1:shut down power at standby
;vip(x)_vflip: flip in vertical direction 0:disable 1:enable
;vip(x)_hflip: flip in horizontal direction 0:disable 1:enable
;vip(x)_iovdd: camera module io power handle string, pmu power supply
;vip(x)_iovdd_vol: camera module io power voltage, pmu power supply
;vip(x)_avdd:   camera module analog power handle string, pmu power supply
;vip(x)_avdd_vol:       camera module analog power voltage, pmu power supply
;vip(x)_dvdd:   camera module core power handle string, pmu power supply
;vip(x)_dvdd_vol:       camera module core power voltage, pmu power supply
;vip(x)_afvdd:  camera module vcm power handle string, pmu power supply
;vip(x)_afvdd_vol:      camera module vcm power voltage, pmu power supply
;fill voltage in uV, e.g. iovdd = 2.8V, vip_devx_iovdd_vol = 2800000
;fill handle string as below:
;axp22_eldo3
;axp22_dldo4
;axp22_eldo2
;fill handle string "" when not using any pmu power supply
;--------------------------------------------------------------------------------

[vip0]
vip0_used                = 1
vip0_csi_pck             = port:PE02<2><default><default><default>
vip0_csi_mck             = port:PE11<2><1><3><0>
vip0_csi_hsync           = port:PE00<2><default><default><default>
vip0_csi_vsync           = port:PE01<2><default><default><default>
vip0_csi_d0              = port:PE03<2><default><default><default>
vip0_csi_d1              = port:PE04<2><default><default><default>
vip0_csi_d2              = port:PE05<2><default><default><default>
vip0_csi_d3              = port:PE06<2><default><default><default>
vip0_csi_d4              = port:PE07<2><default><default><default>
vip0_csi_d5              = port:PE08<2><default><default><default>
vip0_csi_d6              = port:PE09<2><default><default><default>
vip0_csi_d7              = port:PE10<2><default><default><default>
;vip0_csi_sck             = port:PD12<2><default><default><default>
;vip0_csi_sda             = port:PD00<2><default><default><default>

vip0_mname           = "gc0308"
vip0_twi_addr        = 0x42
vip0_twi_id                      = 0
vip0_isp_used        = 0
vip0_fmt             = 0
vip0_stby_mode       = 0
vip0_vflip           = 0
vip0_hflip           = 0
vip0_iovdd           = ""
vip0_iovdd_vol       = 2800000
vip0_avdd            = ""
vip0_avdd_vol        = 2800000
vip0_dvdd            = ""
vip0_dvdd_vol        = 1500000
vip0_afvdd           = ""
vip0_afvdd_vol       = 2800000
vip0_power_en        =
vip0_reset           = 2044
vip0_pwdn            = ""
vip0_flash_en        =
vip0_flash_mode      =
vip0_af_pwdn         =

;--------------------------------------------------------------------------------
;tv configuration
;
;--------------------------------------------------------------------------------
[tvout_para]
tvout_used          =
tvout_channel_num   =
tv_en               =

[tvin_para]
tvin_used           =
tvin_channel_num    =

; ------------------------------------------------------------------------------|
; de-interlace configuration
;--------------------------------------------------------------------------------
[di]
di_used             = 0

;--------------------------------------------------------------------------------
;   SDMMC PINS MAPPING                                                          |
; ------------------------------------------------------------------------------|
;   Config Guide                                                                |
;   sdc_used: 1-enable card, 0-disable card                                     |
;   sdc_detmode: card detect mode                                               |
;                1-detect card by gpio polling                                  |
;                2-detect card by gpio irq(must use IO with irq function)       |
;                3-no detect, always in for boot card                           |
;                4-manually insert and remove by /proc/driver/sunxi-mmc.x/insert|
;   sdc_buswidth: card bus width, 1-1bit, 4-4bit, 8-8bit                        |
;   sdc_use_wp: 1-with write protect IO, 0-no write protect IO                  |
;   sdc_isio: for sdio card                                                     |
;   sdc_regulator: power control.if card supports UHS-I/DDR and HS200 timing for|
;                  SD3.0 or eMMC4.5, regulator must be configured. the value is |
;                  the ldo name of AXP221, eg: sdc_regulator = "axp22_eldo2"    |
;   other: GPIO Mapping configuration                                           |
; ------------------------------------------------------------------------------|
;   Note:                                                                       |
;   1 if detmode=2, sdc_det's config=6                                          |
;     else if detmode=1, sdc_det's config=0                                     |
;     else sdc_det IO is not necessary                                          |
;   2 if the customer wants to support UHS-I and HS200 features, he must provide|
;     an independent power supply for the card. This is only used in platforms  |
;     that supports SD3.0 cards and eMMC4.4+ flashes                            |
;--------------------------------------------------------------------------------
[sdc0]
sdc0_used          = 0
sdc0_detmode       = 4
sdc0_buswidth      = 4
sdc0_d1            = port:PF00<2><1><3><default>
sdc0_d0            = port:PF01<2><1><3><default>
sdc0_clk           = port:PF02<2><1><3><default>
sdc0_cmd           = port:PF03<2><1><3><default>
sdc0_d3            = port:PF04<2><1><3><default>
sdc0_d2            = port:PF05<2><1><3><default>
sdc0_det           =
sdc0_use_wp        = 0
sdc0_wp            =
sdc0_isio          = 0
sdc0_regulator     = "none"
vmmc            =       "none"
vqmmc           =       "none"
vdmmc           =       "none"

[sdc1]
sdc1_used          = 1
sdc1_detmode       = 3
sdc1_buswidth      = 1
sdc1_clk           = port:PC00<3><1><2><default>
sdc1_cmd           = port:PC01<3><1><2><default>
sdc1_d0            = port:PC02<3><1><2><default>
sdc1_det           =
sdc1_use_wp        = 0
sdc1_wp            =
sdc1_isio          = 1
sdc1_regulator     = "none"
vmmc            =       "none"
vqmmc           =       "none"
vdmmc           =       "none"

; ------------------------------------------------------------------------------|
; sim card configuration
;--------------------------------------------------------------------------------
[smc]
smc_used            =
smc_rst             =
smc_vppen           =
smc_vppp            =
smc_det             =
smc_vccen           =
smc_sck             =
smc_sda             =

;--------------------------------
;[usbc0]:控制器0的配置。
;usb_used:USB使能标志。置1,表示系统中USB模块可用,置0,则表示系统USB禁用。
;usb_port_type:USB端口的使用情况。 0:device only;1:host only;2:OTG
;usb_detect_type:USB端口的检查方式。0:不做检测;1:vbus/id检查;2:id/dpdm检查
;usb_id_gpio:USB ID pin脚配置。具体请参考gpio配置说明。
;usb_det_vbus_gpio:USB DET_VBUS pin脚配置。具体请参考gpio配置说明。
;usb_drv_vbus_gpio:USB DRY_VBUS pin脚配置。具体请参考gpio配置说明。
;usb_det_vbus_gpio: "axp_ctrl",表示axp 提供
;--------------------------------
;--------------------------------
;---       USB0控制标志
;--------------------------------
;[usbc0]
;usbc0_used          = 0
;usb_port_type       = 2
;usb_detect_type     = 1
;usb_id_gpio         = port:PH09<0><1><default><default>
;usb_det_vbus_gpio   = "axp_ctrl"
;usb_drv_vbus_gpio   = port:PB07<1><0><default><0>
;usb_host_init_state = 0
;usb_regulator_io    = "nocare"
;usb_regulator_vol   = 0
;usb_wakeup_suspend  = 0
;---       USB Device
;usb_luns            = 3
;usb_serial_unique   = 0
;usb_serial_number   = "20080411"

[usbc0]
usbc0_used          = 1
usb_port_type       = 0
usb_detect_type     = 1
usb_id_gpio         =
usb_det_vbus_gpio   =
usb_board_sel       = 1
usb_drv_vbus_gpio   = 2047
usb_host_init_state = 0
usb_regulator_io    = "nocare"
usb_regulator_vol   = 0
usb_wakeup_suspend  = 0
; USB Device
usb_luns            = 3
usb_serial_unique   = 0
usb_serial_number   = "20080411"

;--------------------------------
;---       USB1控制标志
;--------------------------------
;[usbc1]
;usbc1_used          = 0
;usb_drv_vbus_gpio   = port:PB06<1><0><default><0>
;usb_host_init_state = 1
;usb_regulator_io    = "nocare"
;usb_regulator_vol   = 0
;usb_wakeup_suspend  = 0

;--------------------------------------------------------------------------------
; G sensor configuration
; gs_twi_id     ---  TWI ID for controlling Gsensor (0: TWI0, 1: TWI1, 2: TWI2)
;--------------------------------------------------------------------------------
[gsensor_para]
gsensor_used        = 0
gsensor_twi_id      = 2
gsensor_twi_addr    = 0x18
gsensor_int1        = port:PA09<6><1><default><default>
gsensor_int2        =

;--------------------------------------------------------------------------------
; gps gpio configuration
; gps_spi_id            --- the index of SPI controller. 0: SPI0, 1: SPI1, 2: SPI2, 15: no SPI used
; gps_spi_cs_num        --- the chip select number of SPI controller. 0: SPI CS0, 1: SPI CS1
; gps_lradc                     --- the lradc number for GPS used. 0 and 1 is valid, set 2 if not use lradc
;--------------------------------------------------------------------------------
[gps_para]

;--------------------------------------------------------------------------------
;wlan configuration
;clocks:      32k clk
;wlan_power_num: the number of inputs for wifi power
;wlan_power(n): wifi power(n)
;wlan_io_regulator: the power of wifi io
;wlan_busnum:    no. of bus(usb or bus)
;wlan_regon:     wifi function enable/reset io
;wlan_hostwake:    wifi device wake-up host
;status:   okay
;--------------------------------------------------------------------------------
[wlan]
wlan_used    = 1
compatible   = "allwinner,sunxi-wlan"
wlan_busnum  = 0
;wlan_power_num =
;wlan_power1   =
;wlan_io_regulator   =
wlan_board_sel = 1
;wlan_hostwake = port:PD13<6><default><default><default>
wlan_hostwake = port:PD21<6><default><default><1>
;wlan_regon   = port:PD16<1><1><3><0>
wlan_regon   = 2041

;--------------------------------------------------------------------------------
;gyroscope
;--------------------------------------------------------------------------------
[gy_para]
gy_used             = 0
gy_twi_id           = 2
gy_twi_addr         = 0x6a
gy_int1             = port:PA10<6><1><default><default>
gy_int2             =

;--------------------------------------------------------------------------------
;light sensor
;--------------------------------------------------------------------------------
[ls_para]
ls_used             = 0
ls_twi_id           = 2
ls_twi_addr         = 0x23
ls_int              = port:PA12<6><1><default><default>

;--------------------------------------------------------------------------------
;compass
;--------------------------------------------------------------------------------
[compass_para]
compass_used        = 0
compass_twi_id      = 2
compass_twi_addr    = 0x0d
compass_int         = port:PA11<6><1><default><default>

;--------------------------------------------------------------------------------
;blue tooth
;bt_used                        ---- blue tooth used (0- no used, 1- used)
;bt_uard_id                     ---- uart index
;--------------------------------------------------------------------------------
[bt_para]
bt_used             =
bt_uart_id          =
bt_wakeup           =
bt_gpio             =
bt_rst              =
;--------------------------------------------------------------------------------
;               NOTE :Make sure spdif_used = 0x1,spdifmach_used = 0x1,
;         if register the sound card spdif.
;--------------------------------------------------------------------------------
[audiospdif]
audiospdif_used          = 0
[spdif_machine]
spdif_machine_used   = 0
;----------------------------------------------------------------------------------
;               NOTE :Make sure hdmi_used = 0x1,hdmimach_used = 0x1,
;         if register the sound card hdmi.
;---------------------------------------------------------------------------------
[audiohdmi]
audiohdmi_used = 0
[hdmi_machine]
hdmi_machine_used = 0
;--------------------------------------------------------------------------------
;allwinner,pcm_lrck_period      :16/32/64/128/256
;allwinner,pcm_lrckr_period :no use
;allwinner,slot_width_select    :16bits/20bits/24bits/32bits
;allwinner,pcm_lsb_first        :0: msb first; 1: lsb first
;allwinner,tx_data_mode         :0: 16bit linear PCM; 1: 8bit linear PCM; 2: 8bit u-law; 3: 8bit a-law
;allwinner,rx_data_mode         :0: 16bit linear PCM; 1: 8bit linear PCM; 2: 8bit u-law; 3: 8bit a-law
;allwinner,daudio_master :1: SND_SOC_DAIFMT_CBM_CFM(codec clk & FRM master)        use
;                                                 2: SND_SOC_DAIFMT_CBS_CFM(codec clk slave & FRM master)  not use
;                                                 3: SND_SOC_DAIFMT_CBM_CFS(codec clk master & frame slave) not use
;                                                 4: SND_SOC_DAIFMT_CBS_CFS(codec clk & FRM slave)         use
;allwinner,audio_format: 1:SND_SOC_DAIFMT_I2S(standard i2s format).            use
;                          2:SND_SOC_DAIFMT_RIGHT_J(right justfied format).
;                          3:SND_SOC_DAIFMT_LEFT_J(left justfied format)
;                          4:SND_SOC_DAIFMT_DSP_A(pcm. MSB is available on 2nd BCLK rising edge after LRC rising edge). use
;                          5:SND_SOC_DAIFMT_DSP_B(pcm. MSB is available on 1nd BCLK rising edge after LRC rising edge)
;allwinner,signal_inversion:1:SND_SOC_DAIFMT_NB_NF(normal bit clock + frame)  use
;                                 2:SND_SOC_DAIFMT_NB_IF(normal BCLK + inv FRM)
;                                 3:SND_SOC_DAIFMT_IB_NF(invert BCLK + nor FRM)  use
;                                 4:SND_SOC_DAIFMT_IB_IF(invert BCLK + FRM)
;allwinner,frametype :0: long frame = 2 clock width;  1: short frame
;allwinner,tdm_config :0:pcm 1:i2s
;allwinner,daudio0_used :0:not use 1:use
;-------------------------------------------------------------------------------
;               NOTE :Make sure daudio0mach_used = 0x1,daudio0_used = 0x1,
;         if register the sound card DAUDIO0.
;--------------------------------------------------------------------------------
;[daudio0_machine]
;daudio0_machine_used = 0
;-----------------------------------------------------------------------------
;[daudio0]
;pcm_lrck_period =   0x20
;pcm_lrckr_period =   0x01
;slot_width_select =   0x10
;pcm_lsb_first =   0x0
;tx_data_mode =   0x0
;rx_data_mode =   0x0
;daudio_master =   0x04
;audio_format =   0x01
;signal_inversion =   0x01
;frametype =   0x0
;tdm_config =   0x01
;daudio0_used = 0

;--------------------------------------------------------------------------------------
;allwinner,headphonevol :headphone volume:0x0--0x3f 0db--(-62db) 1db/step
;allwinner,spkervol : speaker volume:0x0--0x1f 0db-(-43.5db) 1.5db/step
;allwinner,earpiecevol : earpiece volume:0x0--0x1f 0db-(-43.5db) 1.5db/step
;allwinner,maingain :   mainmic gain:0x0---0x7 0x0-0db 0x1:24db   3db/step
;allwinner,headsetmicgain : headphonemic gain:0x0---0x7 0x0-0db 0x1:24db   3db/step
;allwinner,adcagc_cfg : 1:use adcagc 0:no use
;allwinner,adcdrc_cfg : 1:use adcdrc 0:no use
;allwinner,adchpf_cfg : 1:use adchpf 0:no use
;allwinner,dacdrc_cfg : 1:use adcdrc 0:no use
;allwinner,dachpf_cfg : 1:use adchpf 0:no use
;allwinner,aif2config : 1:use aif2 0:no use
;allwinner,aif3config : 1:use aif3 0:no use
;--------------------------------------------------------------------------------
;               NOTE :Make sure audiocodec_machine_used = 0x1,sun50i2s_used = 0x1
;         sun50codec_used = 0x1,if register the sound card audiocodec.
;---------------------------------------------------------------------------------
;[audiocodec_machine]
;audiocodec_machine_used = 0

;-------------------------------------------------------------------------------------
;used                        ---0:not used,1:used
;pmu_id                      ---0:axp19x,1:axp209,2:axp22x,3:axp806,4:axp808,5:axp809,6:axp803,7:axp813
;pmu_twi_addr                ---slave address
;pmu_twi_id                  ---i2c bus number (0 TWI0, 1 TWI2, 2 TWI3)
;pmu_irq_id                   ---irq number (0 irq0,1 irq1)
;pmu_chg_ic_temp             ---intelligence charge pmu temperature. when it is 0, this function is closed.
;pmu_battery_rdc             ---battery initial resistance
;pmu_battery_cap             ---battery capability,mAh
;pmu_runtime_chgcur          ---set initial charging current limite,mA, 300/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
;pmu_suspend_chgcur          ---set suspend charging current limite,mA, 300/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
;pmu_shutdown_chgcur         ---set shutdown charging current limite,mA, 300/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
;pmu_init_chgvol             ---set initial charing target voltage,mV,4100/4220/4200/4240
;pmu_ac_vol                  ---set usb-ac limited voltage level,mV,4000/4100/4200/4300/4400/4500/4600/4700,0 - not limite
;pmu_ac_cur                  ---set usb-ac limited current level,mA,500/900, 0 - not limite
;pmu_usbpc_vol               ---set usb-pc limited voltage level,mV,4000/4100/4200/4300/4400/4500/4600/4700,0 - not limite
;pmu_usbpc_cur               ---set usb-pc limited current level,mA,500/900, 0 - not limite
;pmu_battery_warning_level1  ---low power warning high level,5%-20%,1%/step
;pmu_battery_warning_level2  ---low power warning low level,0%-15%,1%/step
;pmu_chgled_func             ---CHGKED pin control, 0:controlled by pmu,1:controlled by Charger
;pmu_chgled_type             ---CHGLED Type select when pmu_chgled_func=0,0:Type A, 1:type B
;pmu_bat_para1               ---battery indication at 3.13V
;pmu_bat_para2               ---battery indication at 3.27V
;pmu_bat_para3               ---battery indication at 3.34V
;pmu_bat_para4               ---battery indication at 3.41V
;pmu_bat_para5               ---battery indication at 3.48V
;pmu_bat_para6               ---battery indication at 3.52V
;pmu_bat_para7               ---battery indication at 3.55V
;pmu_bat_para8               ---battery indication at 3.57V
;pmu_bat_para9               ---battery indication at 3.59V
;pmu_bat_para10              ---battery indication at 3.61V
;pmu_bat_para11              ---battery indication at 3.63V
;pmu_bat_para12              ---battery indication at 3.64V
;pmu_bat_para13              ---battery indication at 3.66V
;pmu_bat_para14              ---battery indication at 3.7V
;pmu_bat_para15              ---battery indication at 3.73V
;pmu_bat_para16              ---battery indication at 3.77V
;pmu_bat_para17              ---battery indication at 3.78V
;pmu_bat_para18              ---battery indication at 3.8V
;pmu_bat_para19              ---battery indication at 3.82V
;pmu_bat_para20              ---battery indication at 3.84V
;pmu_bat_para21              ---battery indication at 3.85V
;pmu_bat_para22              ---battery indication at 3.87V
;pmu_bat_para23              ---battery indication at 3.91V
;pmu_bat_para24              ---battery indication at 3.94V
;pmu_bat_para25              ---battery indication at 3.98V
;pmu_bat_para26              ---battery indication at 4.01V
;pmu_bat_para27              ---battery indication at 4.05V
;pmu_bat_para28              ---battery indication at 4.08V
;pmu_bat_para29              ---battery indication at 4.1V
;pmu_bat_para30              ---battery indication at 4.12V
;pmu_bat_para31              ---battery indication at 4.14V
;pmu_bat_para32              ---battery indication at 4.15V
;pmu_bat_temp_enable         ---battery temp detect enable
;pmu_bat_charge_ltf          ---charge battery temp low threshold voltage
;pmu_bat_charge_htf          ---charge battery temp high threshold voltage
;pmu_bat_shutdown_ltf        ---shutdown battery temp low threshold voltage
;pmu_bat_shutdown_htf        ---shutdown battery temp high threshold voltage
;pmu_bat_temp_para1          ---battery temp -25 voltage
;pmu_bat_temp_para2          ---battery temp -15 voltage
;pmu_bat_temp_para3          ---battery temp -10 voltage
;pmu_bat_temp_para4          ---battery temp -5  voltage
;pmu_bat_temp_para5          ---battery temp  0  voltage
;pmu_bat_temp_para6          ---battery temp  5  voltage
;pmu_bat_temp_para7          ---battery temp  10 voltage
;pmu_bat_temp_para8          ---battery temp  20 voltage
;pmu_bat_temp_para9          ---battery temp  30 voltage
;pmu_bat_temp_para10         ---battery temp  40 voltage
;pmu_bat_temp_para11         ---battery temp  45 voltage
;pmu_bat_temp_para12         ---battery temp  50 voltage
;pmu_bat_temp_para13         ---battery temp  55 voltage
;pmu_bat_temp_para14         ---battery temp  60 voltage
;pmu_bat_temp_para15         ---battery temp  70 voltage
;pmu_bat_temp_para16         ---battery temp  80 voltage
;pmu_powkey_off_time         ---set pek off time,ms, 4000/6000/8000/10000
;pmu_powkey_off_func         ---set pek off func, 0:shutdown,1:restart
;pmu_powkey_off_en           ---set pek offlevel powerdown or not, 0:not powerdown,1:powerdown
;pmu_powkey_long_time        ---set pek pek long irq time,ms,1000/1500/2000/2500
;pmu_powkey_on_time          ---set pek on time,ms,128/1000/2000/3000
;--------------------------------------------------------------------------------------------------------
;--------------------------------------------------------------------------------------------------------
;pmu0 is axp81x
;--------------------------------------------------------------------------------------------------------
[pmu0]
used                       = 0
pmu_id                     = 6
pmu_twi_addr               = 0x34
pmu_twi_id                 = 1
pmu_irq_id                 = 0

pmu_chg_ic_temp            = 0
pmu_battery_rdc            = 100
pmu_battery_cap            = 0
pmu_runtime_chgcur         = 450
pmu_suspend_chgcur         = 1500
pmu_shutdown_chgcur        = 1500
pmu_init_chgvol            = 4200
pmu_ac_vol                 = 4000
pmu_ac_cur                 = 0
pmu_usbpc_vol              = 4400
pmu_usbpc_cur              = 500
pmu_battery_warning_level1 = 15
pmu_battery_warning_level2 = 0
pmu_chgled_func            = 0
pmu_chgled_type            = 0

pmu_bat_para1              = 0
pmu_bat_para2              = 0
pmu_bat_para3              = 0
pmu_bat_para4              = 0
pmu_bat_para5              = 0
pmu_bat_para6              = 0
pmu_bat_para7              = 0
pmu_bat_para8              = 0
pmu_bat_para9              = 5
pmu_bat_para10             = 8
pmu_bat_para11             = 9
pmu_bat_para12             = 10
pmu_bat_para13             = 13
pmu_bat_para14             = 16
pmu_bat_para15             = 20
pmu_bat_para16             = 33
pmu_bat_para17             = 41
pmu_bat_para18             = 46
pmu_bat_para19             = 50
pmu_bat_para20             = 53
pmu_bat_para21             = 57
pmu_bat_para22             = 61
pmu_bat_para23             = 67
pmu_bat_para24             = 73
pmu_bat_para25             = 78
pmu_bat_para26             = 84
pmu_bat_para27             = 88
pmu_bat_para28             = 92
pmu_bat_para29             = 93
pmu_bat_para30             = 94
pmu_bat_para31             = 95
pmu_bat_para32             = 100

pmu_bat_temp_enable        = 0
pmu_bat_charge_ltf         = 2261
pmu_bat_charge_htf         = 388
pmu_bat_shutdown_ltf       = 3200
pmu_bat_shutdown_htf       = 237
pmu_bat_temp_para1         = 7466
pmu_bat_temp_para2         = 4480
pmu_bat_temp_para3         = 3518
pmu_bat_temp_para4         = 2786
pmu_bat_temp_para5         = 2223
pmu_bat_temp_para6         = 1788
pmu_bat_temp_para7         = 1448
pmu_bat_temp_para8         = 969
pmu_bat_temp_para9         = 664
pmu_bat_temp_para10        = 466
pmu_bat_temp_para11        = 393
pmu_bat_temp_para12        = 333
pmu_bat_temp_para13        = 283
pmu_bat_temp_para14        = 242
pmu_bat_temp_para15        = 179
pmu_bat_temp_para16        = 134

pmu_powkey_off_time        = 6000
pmu_powkey_off_func        = 0
pmu_powkey_off_en          = 1
pmu_powkey_long_time       = 1500
pmu_powkey_on_time         = 1000

;--------------------------------------------------------------------------------------------------------
;pmu0 is axp81x
;regulator tree
;--------------------------------------------------------------------------------------------------------
[pmu0_regu]
regulator_count = 23
regulator1                   = "axp28_rtc"
regulator2                   = "axp28_aldo1"
regulator3                   = "axp28_aldo2"
regulator4                   = "axp28_aldo3"
regulator5                   = "axp28_dldo1"
regulator6                   = "axp28_dldo2"
regulator7                   = "axp28_dldo3"
regulator8                   = "axp28_dldo4"
regulator9                   = "axp28_eldo1"
regulator0                   = "axp28_eldo2"
regulator11                  = "axp28_eldo3"
regulator12                  = "axp28_fldo1"
regulator13                  = "axp28_fldo2"
regulator14                  = "axp28_dcdc1"
regulator15                  = "axp28_dcdc2"
regulator16                  = "axp28_dcdc3"
regulator17                  = "axp28_dcdc4"
regulator18                  = "axp28_dcdc5"
regulator19                  = "axp28_dcdc6"
regulator20                  = "axp28_dcdc7"
regulator21                  = "axp28_gpio0ldo"
regulator22                  = "axp28_gpio1ldo"

;----------------------------------------------------------------------------------
; dvfs voltage-frequency table configuration
;
; max_freq: cpu maximum frequency, based on Hz
; min_freq: cpu minimum frequency, based on Hz
;
; LV_count: count of LV_freq/LV_volt, must be < 16
;
; LV1: core vdd is 1.50v if cpu frequency is (1344Mhz,  1536Mhz]
; LV2: core vdd is 1.46v if cpu frequency is (1200Mhz,  1344Mhz]
; LV3: core vdd is 1.32v if cpu frequency is (1008Mhz,  1200Mhz]
; LV4: core vdd is 1.20v if cpu frequency is (816Mhz,   1008Mhz]
; LV5: core vdd is 1.10v if cpu frequency is (648Mhz,    816Mhz]
; LV6: core vdd is 1.04v if cpu frequency is (120Mhz,    648Mhz]
; LV7: core vdd is 1.04v if cpu frequency is (120Mhz,    648Mhz]
; LV8: core vdd is 1.04v if cpu frequency is (120Mhz,    648Mhz]
;
;----------------------------------------------------------------------------------
[dvfs_table]
;extremity_freq = 1344000000
max_freq = 1200000000
min_freq = 480000000

LV_count = 8

LV1_freq = 1536000000
LV1_volt = 1500

LV2_freq = 1344000000
LV2_volt = 1460

LV3_freq = 1200000000
LV3_volt = 1320

LV4_freq = 1008000000
LV4_volt = 1200

LV5_freq = 816000000
LV5_volt = 1100

LV6_freq = 648000000
LV6_volt = 1040

LV7_freq = 0
LV7_volt = 1040

LV8_freq = 0
LV8_volt = 1040

;----------------------------------------------------------------------------------
;virtual device
;virtual device for pinctrl testing
;device have pin PA1 PA2
;----------------------------------------------------------------------------------
[Vdevice]
Vdevice_used        = 0
Vdevice_0           = port:PC00<4><1><2><default>
Vdevice_1           = port:PC01<4><1><2><default>
[fel_key]
keyen_flag      = 1
fel_key_max     = 426
fel_key_min     = 256

离线

楼主 #2 2021-03-31 10:12:46

无根浮萍
会员
注册时间: 2021-01-14
已发帖子: 62
积分: 31

Re: tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

IMG_20210331_100643.jpg

芯天下 XTSD01GLGEAG

离线

楼主 #3 2021-03-31 10:35:55

无根浮萍
会员
注册时间: 2021-01-14
已发帖子: 62
积分: 31

Re: tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

错误:
[    1.166637] sunxi-mmc sdc1: smc 0 p1 err, cmd 1, RTO !!


跟踪代码: lichee/linux-3.10/drivers/mmc/host/sunxi-mmc.c

static void sunxi_mmc_dump_errinfo(struct sunxi_mmc_host *host)
{
        struct mmc_command *cmd = host->mrq->cmd;
        struct mmc_data *data = host->mrq->data;

        /* For some cmds timeout is normal with sd/mmc cards */
   /*
      if ((host->int_sum & SDXC_INTERRUPT_ERROR_BIT) == SDXC_RESP_TIMEOUT && (cmd->opcode == SD_IO_SEND_OP_COND || cmd->opcode == SD_IO_RW_DIRECT))
      return;
    */

        dev_err(mmc_dev(host->mmc),
                "smc %d p%d err, cmd %d,%s%s%s%s%s%s%s%s%s%s !!\n",
                host->mmc->index, host->phy_index, cmd->opcode,
                data ? (data->flags & MMC_DATA_WRITE ? " WR" : " RD") : "",
                host->int_sum & SDXC_RESP_ERROR ? " RE" : "",
                host->int_sum & SDXC_RESP_CRC_ERROR ? " RCE" : "",
                host->int_sum & SDXC_DATA_CRC_ERROR ? " DCE" : "",
                host->int_sum & SDXC_RESP_TIMEOUT ? " RTO" : "",
                host->int_sum & SDXC_DATA_TIMEOUT ? " DTO" : "",
                host->int_sum & SDXC_FIFO_RUN_ERROR ? " FE" : "",
                host->int_sum & SDXC_HARD_WARE_LOCKED ? " HL" : "",
                host->int_sum & SDXC_START_BIT_ERROR ? " SBE" : "",
                host->int_sum & SDXC_END_BIT_ERROR ? " EBE" : "");
        /*sunxi_mmc_dumphex32(host,"sunxi mmc",host->reg_base,0x180);*/
        /*sunxi_mmc_dump_des(host,host->sg_cpu,PAGE_SIZE);*/
}

SDXC_RESP_TIMEOUT 这个错误?
响应超时?

离线

楼主 #4 2021-03-31 10:51:16

无根浮萍
会员
注册时间: 2021-01-14
已发帖子: 62
积分: 31

Re: tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

各位大佬, 还能抢救一下这个 SD NAND 吗?

离线

楼主 #5 2021-03-31 11:29:01

无根浮萍
会员
注册时间: 2021-01-14
已发帖子: 62
积分: 31

Re: tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

修改 target/allwinner/violin-F1C200s/configs/sys_config.fex 从SDC0 (TF卡)启动:

;A31 PAD application
;---------------------------------------------------------------------------------------------------------
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
; 描述gpio的形式:Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态>
;---------------------------------------------------------------------------------------------------------

[product]
version = "100"
machine = "evb"

[platform]
eraseflag   = 1
debug_mode  = 1

;----------------------------------------------------------------------------------
;   system configuration
;   ?
;dcdc1_vol                                                      ---set dcdc1 voltage,mV,1600-3400,100mV/step
;dcdc2_vol                                                      ---set dcdc2 voltage,mV,600-1540,20mV/step
;dcdc3_vol                                                      ---set dcdc3 voltage,mV,600-1860,20mV/step
;dcdc4_vol                                                      ---set dcdc4 voltage,mV,600-1540,20mV/step
;dcdc5_vol                                                      ---set dcdc5 voltage,mV,1000-2550,50mV/step
;aldo2_vol                                                      ---set aldo2 voltage,mV,700-3300,100mV/step
;aldo3_vol                                                      ---set aldo3 voltage,mV,700-3300,100mV/step
;----------------------------------------------------------------------------------

;----------------------------------------------------------------------------------
; storage_type 0:nand 1:sd 2:emmc 3:spinor 4:emmc3 5:spinand 6:sd1
;
; as spi0 and sdc0 both use PC0-PC2
; for spinor, set [target] storage_type = 3, [spi0] spi0_used = 1 , [sdc1] sdc1_used = 0
; for spinand, set [target] storage_type = 5, [spi0] spi0_used = 1 , [sdc1] sdc1_used = 0
; for sd1, set [target] storage_type = 6, [spi0] spi0_used = 0 , [sdc1] sdc1_used = 1
;----------------------------------------------------------------------------------
[target]
boot_clock      = 408
storage_type    = 1
burn_key        = 0

[norflash]
size            = 16

[power_sply]
dcdc1_vol                  = 3000
dcdc2_vol                  = 1200
dcdc3_vol                  = 1200
dcdc4_vol                  = 1200
dcdc5_vol                  = 1500
aldo2_vol                  = 1800
aldo3_vol                  = 3000

;[power_ctrl]
;power_off_key = port:PD14<0><0><default><1>
;power_on = port:PD15<1><0><default><0>

[pwr_ctrl]
power_off_key = port:PD20<0><0><default><1>
power_on = port:PA1<1><default><default><0>
pwroff_gpio_is_irq = 0

[card_boot]
logical_start   = 40960
sprite_gpio0    =
card_no = 1

;---------------------------------------------------------------------------------------------------------
; if 1 == standby_mode, then support super standby;
; else, support normal standby.
;---------------------------------------------------------------------------------------------------------
[pm_para]
standby_mode            = 1

[card0_boot_para]
card_ctrl       = 0
card_high_speed = 1
card_line       = 4
sdc_d1          = port:PF0<2><1><2><default>
sdc_d0          = port:PF1<2><1><2><default>
sdc_clk         = port:PF2<2><1><2><default>
sdc_cmd         = port:PF3<2><1><2><default>
sdc_d3          = port:PF4<2><1><2><default>
sdc_d2          = port:PF5<2><1><2><default>


[card2_boot_para]
card_ctrl       = 2
card_high_speed = 1
card_line       = 8
sdc_clk         = port:PC5<3><1><3><default>
sdc_cmd         = port:PC6<3><1><3><default>
sdc_d0          = port:PC8<3><1><3><default>
sdc_d1          = port:PC9<3><1><3><default>
sdc_d2          = port:PC10<3><1><3><default>
sdc_d3          = port:PC11<3><1><3><default>
sdc_d4          = port:PC12<3><1><3><default>
sdc_d5          = port:PC13<3><1><3><default>
sdc_d6          = port:PC14<3><1><3><default>
sdc_d7          = port:PC15<3><1><3><default>
sdc_emmc_rst    = port:PC16<3><1><3><default>
sdc_ds          = port:PC01<3><1><3><default>

[card1_boot_para]
card_ctrl       = 1
card_high_speed = 1
card_line       = 1
sdc_clk         = port:PC0<3><1><3><default>
sdc_cmd         = port:PC1<3><1><3><default>
sdc_d0          = port:PC2<3><1><3><default>

[twi_para]
twi_port        = 0
twi_scl         = port:PD12<3><default><default><default>
twi_sda         = port:PD00<3><default><default><default>


[uart_para]
uart_debug_port = 1
uart_debug_tx   = port:PA2<5><1><default><default>
uart_debug_rx   = port:PA3<5><1><default><default>


[jtag_para]
jtag_enable     = 0
jtag_ms         = port:PH9<3><default><default><default>
jtag_ck         = port:PH10<3><default><default><default>
jtag_do         = port:PH11<3><default><default><default>
jtag_di         = port:PH12<3><default><default><default>


;*****************************************************************************
;sdram configuration
;
;*****************************************************************************
[dram_para]

dram_clk        = 480
dram_type       = 3
dram_zq         = 0x77bb
dram_odt_en     = 1
dram_para1      = 0x004319f4
dram_para2      = 0x5
dram_mr0        = 0x620
dram_mr1        = 0x0
dram_mr2        = 0x8
dram_mr3        = 0
dram_tpr0       = 0x06141B10
dram_tpr1       = 0x40416
dram_tpr2       = 0x03030306
dram_tpr3       = 0x2006
dram_tpr4       = 0x05040405
dram_tpr5       = 0x05050302
dram_tpr6       = 0x90006644
dram_tpr7       = 0x42c21590
dram_tpr8       = 0xd05612c0
dram_tpr9       = 0x00083def
dram_tpr10      = 0x18082356
dram_tpr11      = 0x32034156
dram_tpr12      = 0
dram_tpr13      = 0


;----------------------------------------------------------------------------------
;i2c configuration
;----------------------------------------------------------------------------------
[twi0]
twi0_used        = 1
twi0_scl         = port:PD12<3><default><default><default>
twi0_sda         = port:PD00<3><default><default><default>

[twi1]
twi1_used        = 0
twi1_scl         = port:PB00<2><default><default><default>
twi1_sda         = port:PB01<2><default><default><default>

[twi2]
twi2_used        = 0
twi2_scl         = port:PD15<4><default><default><default>
twi2_sda         = port:PD16<4><default><default><default>

;----------------------------------------------------------------------------------
;TWI device configuration
;compatible        --- device name
;reg               --- device address
;----------------------------------------------------------------------------------
;[twi0/twi_board0]
;compatible        =
;reg               =

[io_expand]
compatible         = "nxp,pcf8574a"
reg                = 0x20
gpio_base          = 2040
;int-gpio           = port:PE09<6><default><1><1>

;----------------------------------------------------------------------------------
;uart configuration
;uart_type ---  2 (2 wire), 4 (4 wire), 8 (8 wire, full function)
;----------------------------------------------------------------------------------
[uart0]
uart0_used       = 0
uart0_port       = 0
uart0_type       = 2
uart0_tx         = port:PF2<3><1><default><default>
uart0_rx         = port:PF4<3><1><default><default>

[uart1]
uart1_used       = 1
uart1_port       = 1
uart1_type       = 2
uart1_tx         = port:PA2<5><1><default><default>
uart1_rx         = port:PA3<5><1><default><default>

;----------------------------------------------------------------------------------
;SPI controller configuration
;----------------------------------------------------------------------------------
[spi0]
spi0_used       = 0
spi0_cs_number  = 1
spi0_cs_bitmap  = 1
spi0_cs0        = port:PC1<2><1><default><default>
spi0_sclk       = port:PC0<2><default><default><default>
spi0_mosi       = port:PC3<2><default><default><default>
spi0_miso       = port:PC2<2><default><default><default>

[spi1]
spi1_used       = 0
spi1_cs_number  = 1
spi1_cs_bitmap  = 1
spi1_cs0        = port:PE07<4><1><default><default>
spi1_sclk       = port:PE09<4><default><default><default>
spi1_mosi       = port:PE08<4><default><default><default>
spi1_miso       = port:PE10<4><default><default><default>

;----------------------------------------------------------------------------------
;SPI device configuration
;compatible        --- device name
;spi-max-frequency --- work frequency
;reg               --- chip select
;optional properties: spi-cpha, spi-cpol, spi-cs-high
;----------------------------------------------------------------------------------
;[spi0/spi_board0]
;compatible        =
;spi-max-frequency =
;reg               =
;spi-cpha
;spi-cpol
;spi-cs-high

;----------------------------------------------------------------------------------
;resistance tp configuration
;----------------------------------------------------------------------------------
[rtp_para]
rtp_used      = 0
rtp_screen_size = 5
rtp_regidity_level = 5
rtp_press_threshold_enable = 0
rtp_press_threshold = 0x1f40
rtp_sensitive_level = 0xf
rtp_exchange_x_y_flag = 0

;----------------------------------------------------------------------------------
;capacitor tp configuration
;external int function
;wakeup output function
;notice ---    tp_int_port &  tp_io_port use the same port
;----------------------------------------------------------------------------------
[ctp]
ctp_used            = 1
ctp_twi_id          = 0
ctp_twi_addr        = 0x48
ctp_screen_max_x    = 800
ctp_screen_max_y    = 480
ctp_revert_x_flag   = 1
ctp_revert_y_flag   = 1
ctp_exchange_x_y_flag = 1

;ctp_int_port         = port:PE12<6><default><default><1>
;ctp_wakeup           = 2045

[twi0/touchscreen1]
compatible           = "ctp_icn85xx"
reg                  = 0x48

;----------------------------------------------------------------------------------
;touch key configuration
;----------------------------------------------------------------------------------
[tkey_para]
tkey_used           = 0
tkey_twi_id         =
tkey_twi_addr       =
tkey_int            =

;----------------------------------------------------------------------------------
;motor configuration
;----------------------------------------------------------------------------------
[motor_para]
motor_used          = 0
;motor_shake         = port:power3<1><default><default><1>

[nand0_para]
nand0_support_2ch    = 0

nand0_used          = 0
nand0_we            = port:PC00<2><0><1><default>
nand0_ale           = port:PC01<2><0><1><default>
nand0_cle           = port:PC02<2><0><1><default>
nand0_ce0           = port:PC03<2><1><1><default>
nand0_nre           = port:PC04<2><0><1><default>
nand0_rb0           = port:PC05<2><1><1><default>
nand0_d0            = port:PC06<2><0><1><default>
nand0_d1            = port:PC07<2><0><1><default>
nand0_d2            = port:PC08<2><0><1><default>
nand0_d3            = port:PC09<2><0><1><default>
nand0_d4            = port:PC10<2><0><1><default>
nand0_d5            = port:PC11<2><0><1><default>
nand0_d6            = port:PC12<2><0><1><default>
nand0_d7            = port:PC13<2><0><1><default>
nand0_ndqs          = port:PC14<2><0><1><default>

nand0_regulator1                = "vcc-nand"
nand0_regulator2                = "none"
nand0_cache_level = 0x55aaaa55
nand0_flush_cache_num = 0x55aaaa55
nand0_capacity_level = 0x55aaaa55
nand0_id_number_ctl = 0x55aaaa55
nand0_print_level = 0x55aaaa55
nand0_p0 = 0x55aaaa55
nand0_p1 = 0x55aaaa55
nand0_p2 = 0x55aaaa55
nand0_p3 = 0x55aaaa55

;----------------------------------------------------------------------------------
;disp init configuration
;
;disp_mode             (0:screen0<screen0,fb0>)
;screenx_output_type   (0:none; 1:lcd; 3:hdmi;)
;screenx_output_mode   (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50)
;                      (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60)
;fbx format            (4:RGB655 5:RGB565 6:RGB556 7:ARGB1555 8:RGBA5551 9:RGB888 10:ARGB8888 12:ARGB4444)
;fbx pixel sequence    (0:ARGB 1:BGRA 2:ABGR 3:RGBA)
;fb0_scaler_mode_enable(scaler mode enable, used FE)
;fbx_width,fbx_height  (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0)
;lcdx_backlight        (lcd init backlight,the range:[0,256],default:197
;lcdx_yy               (lcd init screen bright/contrast/saturation/hue, value:0~100, default:50/50/57/50)
;lcd0_contrast         (LCD contrast, 0~100)
;lcd0_saturation       (LCD saturation, 0~100)
;lcd0_hue              (LCD hue, 0~100)
;----------------------------------------------------------------------------------
[disp]
disp_init_enable         = 1
disp_mode                = 0

screen0_output_type      = 1
screen0_output_mode      = 4

screen1_output_type      = 1
screen1_output_mode      = 4

fb0_framebuffer_num      = 2
fb0_pixel_sequence       = 0
fb0_scaler_mode_enable   = 0

fb0_format               = 0
fb0_width                = 0
fb0_height               = 0

fb1_framebuffer_num      = 0
fb1_pixel_sequence       = 0
fb1_scaler_mode_enable   = 0

fb1_format               = 0
fb1_width                = 0
fb1_height               = 0

lcd0_backlight           = 50
lcd1_backlight           = 50

lcd0_bright              = 50
lcd0_contrast            = 50
lcd0_saturation          = 57
lcd0_hue                 = 50

lcd1_bright              = 50
lcd1_contrast            = 50
lcd1_saturation          = 57
lcd1_hue                 = 50

;----------------------------------------------------------------------------------
;lcd0 configuration

;lcd_if:               0:hv(sync+de); 1:8080; 2:ttl; 3:lvds; 4:dsi; 5:edp; 6:extend dsi
;lcd_x:                lcd horizontal resolution
;lcd_y:                lcd vertical resolution
;lcd_width:            width of lcd in mm
;lcd_height:           height of lcd in mm
;lcd_dclk_freq:        in MHZ unit
;lcd_pwm_freq:         in HZ unit
;lcd_pwm_pol:          lcd backlight PWM polarity
;lcd_pwm_max_limit     lcd backlight PWM max limit(<=255)
;lcd_hbp:              hsync back porch
;lcd_ht:               hsync total cycle
;lcd_vbp:              vsync back porch
;lcd_vt:               vysnc total cycle
;lcd_hspw:             hsync plus width
;lcd_vspw:             vysnc plus width
;lcd_lvds_if:          0:single link;  1:dual link
;lcd_lvds_colordepth:  0:8bit; 1:6bit
;lcd_lvds_mode:        0:NS mode; 1:JEIDA mode
;lcd_frm:              0:disable; 1:enable rgb666 dither; 2:enable rgb656 dither
;lcd_io_phase:         0:noraml; 1:intert phase(0~3bit: vsync phase; 4~7bit:hsync phase;
;                      8~11bit:dclk phase; 12~15bit:de phase)
;lcd_gamma_en          lcd gamma correction enable
;lcd_bright_curve_en   lcd bright curve correction enable
;lcd_cmap_en           lcd color map function enable
;deu_mode              0:smoll lcd screen; 1:large lcd screen(larger than 10inch)
;lcdgamma4iep:         Smart Backlight parameter, lcd gamma vale * 10;
;                      decrease it while lcd is not bright enough; increase while lcd is too bright
;smart_color           90:normal lcd screen 65:retina lcd screen(9.7inch)
;----------------------------------------------------------------------------------
[lcd0]
lcd_used            = 1

;-------------------------------------
; avdisplay lcd
;-------------------------------------
lcd_driver_name     = "ili6122_800x480"
lcd_if              = 0
lcd_x               = 800
lcd_y               = 480
lcd_width           = 109
lcd_height          = 63
lcd_dclk_freq       = 33
lcd_pwm_used        = 1
lcd_pwm_ch          = 0
lcd_pwm_freq        = 50000
lcd_pwm_pol         = 1
lcd_hbp             = 55
lcd_ht              = 1056
lcd_hspw            = 20
lcd_vbp             = 35
lcd_vt              = 525
lcd_vspw            = 10
lcd_hv_if           = 0
lcd_hv_smode        = 0
lcd_hv_s888_if      = 0
lcd_hv_syuv_if      = 0
lcd_hv_vspw         = 10
lcd_hv_hspw         = 20
lcd_hv_sync_polarity = 3
;-------------------------------------
; qiutianwei lcd
;-------------------------------------
;lcd_x               = 800
;lcd_y               = 480
;lcd_width           = 108
;lcd_height          = 64
;lcd_dclk_freq       = 33
;lcd_pwm_used        = 1
;lcd_pwm_ch          = 0
;lcd_pwm_freq        = 50000
;lcd_pwm_pol         = 1
;lcd_hbp             = 88
;lcd_ht              = 928
;lcd_hspw            = 48
;lcd_vbp             = 35
;lcd_vt              = 525
;lcd_vspw            = 3
;lcd_hv_if           = 0
;lcd_hv_smode        = 0
;lcd_hv_s888_if      = 0
;lcd_hv_syuv_if      = 0
;lcd_hv_vspw         = 10
;lcd_hv_hspw         = 123

;lcd_x               = 1024
;lcd_y               = 600
;lcd_width           = 154
;lcd_height          = 86
;lcd_dclk_freq       = 50
;lcd_pwm_used        = 1
;lcd_pwm_ch          = 0
;lcd_pwm_freq        = 50000
;lcd_pwm_pol         = 1
;lcd_hbp             = 160
;lcd_ht              = 1344
;lcd_hspw            = 48
;lcd_vbp             = 23
;lcd_vt              = 635
;lcd_vspw            = 3
;lcd_hv_if           = 0
;lcd_hv_smode        = 0
;lcd_hv_s888_if      = 0
;lcd_hv_syuv_if      = 0
;lcd_hv_vspw         = 10
;lcd_hv_hspw         = 123
lcd_lvds_if         = 0
lcd_lvds_colordepth = 1
lcd_lvds_mode       = 0
lcd_lvds_ch         = 0
lcd_lvds_bitwidth   = 0
lcd_lvds_io_cross   = 0

lcd_cpu_if          = 0

lcd_frm             = 1
lcd_rb_swap         = 1
lcd_io_phase        = 0x0000
lcd_gamma_en        = 0
lcd_bright_curve_en = 0
lcd_cmap_en         = 0
deu_mode            = 0
lcdgamma4iep        = 22
lcd_io_cfg0         = 0x00000000
smart_color         = 90

;lcd_bl_en_used      = 0
;lcd_bl_en           = port:PE12<1><0><default><1>
;lcd_power           = port:PE06<1><0><default><0>
lcd_gpio_0           = 2043

;lcdd2               = port:PD00<2><0><default><default>
lcdd3               = port:PD01<2><0><default><default>
lcdd4               = port:PD02<2><0><default><default>
lcdd5               = port:PD03<2><0><default><default>
lcdd6               = port:PD04<2><0><default><default>
lcdd7               = port:PD05<2><0><default><default>
lcdd10              = port:PD06<2><0><default><default>
lcdd11              = port:PD07<2><0><default><default>
lcdd12              = port:PD08<2><0><default><default>
lcdd13              = port:PD09<2><0><default><default>
lcdd14              = port:PD10<2><0><default><default>
lcdd15              = port:PD11<2><0><default><default>
;lcdd18              = port:PD12<2><0><default><default>
lcdd19              = port:PD13<2><0><default><default>
lcdd20              = port:PD14<2><0><default><default>
lcdd21              = port:PD15<2><0><default><default>
lcdd22              = port:PD16<2><0><default><default>
lcdd23              = port:PD17<2><0><default><default>
lcdclk              = port:PD18<2><0><3><default>
lcdde               = port:PD19<2><0><3><default>
lcdhsync            = port:PD20<2><0><3><default>
lcdvsync            = port:PD21<2><0><3><default>

;----------------------------------------------------------------------------------
;pwm config
;----------------------------------------------------------------------------------
[pwm0_para]
pwm_used            = 0
;pwm_positive        = port:PH00<2><0><default><default>
pwm_positive        = port:PE12<4><0><default><default>

[pwm1_para]
pwm_used            = 0
pwm_positive        = port:PE06<3><0><default><default>


;--------------------------------------------------------------------------------
;vip (video input port) configuration
;vip(x)_used: 0:disable 1:enable
;vip(x)_isp_used 0:not use isp 1:use isp
;vip(x)_fmt: 0:yuv 1:bayer raw rgb
;vip(x)_stby_mode: 0:not shut down power at standby 1:shut down power at standby
;vip(x)_vflip: flip in vertical direction 0:disable 1:enable
;vip(x)_hflip: flip in horizontal direction 0:disable 1:enable
;vip(x)_iovdd: camera module io power handle string, pmu power supply
;vip(x)_iovdd_vol: camera module io power voltage, pmu power supply
;vip(x)_avdd:   camera module analog power handle string, pmu power supply
;vip(x)_avdd_vol:       camera module analog power voltage, pmu power supply
;vip(x)_dvdd:   camera module core power handle string, pmu power supply
;vip(x)_dvdd_vol:       camera module core power voltage, pmu power supply
;vip(x)_afvdd:  camera module vcm power handle string, pmu power supply
;vip(x)_afvdd_vol:      camera module vcm power voltage, pmu power supply
;fill voltage in uV, e.g. iovdd = 2.8V, vip_devx_iovdd_vol = 2800000
;fill handle string as below:
;axp22_eldo3
;axp22_dldo4
;axp22_eldo2
;fill handle string "" when not using any pmu power supply
;--------------------------------------------------------------------------------

[vip0]
vip0_used                = 1
vip0_csi_pck             = port:PE02<2><default><default><default>
vip0_csi_mck             = port:PE11<2><1><3><0>
vip0_csi_hsync           = port:PE00<2><default><default><default>
vip0_csi_vsync           = port:PE01<2><default><default><default>
vip0_csi_d0              = port:PE03<2><default><default><default>
vip0_csi_d1              = port:PE04<2><default><default><default>
vip0_csi_d2              = port:PE05<2><default><default><default>
vip0_csi_d3              = port:PE06<2><default><default><default>
vip0_csi_d4              = port:PE07<2><default><default><default>
vip0_csi_d5              = port:PE08<2><default><default><default>
vip0_csi_d6              = port:PE09<2><default><default><default>
vip0_csi_d7              = port:PE10<2><default><default><default>
;vip0_csi_sck             = port:PD12<2><default><default><default>
;vip0_csi_sda             = port:PD00<2><default><default><default>

vip0_mname           = "gc0308"
vip0_twi_addr        = 0x42
vip0_twi_id                      = 0
vip0_isp_used        = 0
vip0_fmt             = 0
vip0_stby_mode       = 0
vip0_vflip           = 0
vip0_hflip           = 0
vip0_iovdd           = ""
vip0_iovdd_vol       = 2800000
vip0_avdd            = ""
vip0_avdd_vol        = 2800000
vip0_dvdd            = ""
vip0_dvdd_vol        = 1500000
vip0_afvdd           = ""
vip0_afvdd_vol       = 2800000
vip0_power_en        =
vip0_reset           = 2044
vip0_pwdn            = ""
vip0_flash_en        =
vip0_flash_mode      =
vip0_af_pwdn         =

;--------------------------------------------------------------------------------
;tv configuration
;
;--------------------------------------------------------------------------------
[tvout_para]
tvout_used          =
tvout_channel_num   =
tv_en               =

[tvin_para]
tvin_used           =
tvin_channel_num    =

; ------------------------------------------------------------------------------|
; de-interlace configuration
;--------------------------------------------------------------------------------
[di]
di_used             = 0

;--------------------------------------------------------------------------------
;   SDMMC PINS MAPPING                                                          |
; ------------------------------------------------------------------------------|
;   Config Guide                                                                |
;   sdc_used: 1-enable card, 0-disable card                                     |
;   sdc_detmode: card detect mode                                               |
;                1-detect card by gpio polling                                  |
;                2-detect card by gpio irq(must use IO with irq function)       |
;                3-no detect, always in for boot card                           |
;                4-manually insert and remove by /proc/driver/sunxi-mmc.x/insert|
;   sdc_buswidth: card bus width, 1-1bit, 4-4bit, 8-8bit                        |
;   sdc_use_wp: 1-with write protect IO, 0-no write protect IO                  |
;   sdc_isio: for sdio card                                                     |
;   sdc_regulator: power control.if card supports UHS-I/DDR and HS200 timing for|
;                  SD3.0 or eMMC4.5, regulator must be configured. the value is |
;                  the ldo name of AXP221, eg: sdc_regulator = "axp22_eldo2"    |
;   other: GPIO Mapping configuration                                           |
; ------------------------------------------------------------------------------|
;   Note:                                                                       |
;   1 if detmode=2, sdc_det's config=6                                          |
;     else if detmode=1, sdc_det's config=0                                     |
;     else sdc_det IO is not necessary                                          |
;   2 if the customer wants to support UHS-I and HS200 features, he must provide|
;     an independent power supply for the card. This is only used in platforms  |
;     that supports SD3.0 cards and eMMC4.4+ flashes                            |
;--------------------------------------------------------------------------------
[sdc0]
sdc0_used          = 1
sdc0_detmode       = 4
sdc0_buswidth      = 4
sdc0_d1            = port:PF00<2><1><3><default>
sdc0_d0            = port:PF01<2><1><3><default>
sdc0_clk           = port:PF02<2><1><3><default>
sdc0_cmd           = port:PF03<2><1><3><default>
sdc0_d3            = port:PF04<2><1><3><default>
sdc0_d2            = port:PF05<2><1><3><default>
sdc0_det           =
sdc0_use_wp        = 0
sdc0_wp            =
sdc0_isio          = 0
sdc0_regulator     = "none"
vmmc            =       "none"
vqmmc           =       "none"
vdmmc           =       "none"

[sdc1]
sdc1_used          = 0
sdc1_detmode       = 3
sdc1_buswidth      = 1
sdc1_clk           = port:PC00<3><1><2><default>
sdc1_cmd           = port:PC01<3><1><2><default>
sdc1_d0            = port:PC02<3><1><2><default>
sdc1_det           =
sdc1_use_wp        = 0
sdc1_wp            =
sdc1_isio          = 1
sdc1_regulator     = "none"
vmmc            =       "none"
vqmmc           =       "none"
vdmmc           =       "none"

; ------------------------------------------------------------------------------|
; sim card configuration
;--------------------------------------------------------------------------------
[smc]
smc_used            =
smc_rst             =
smc_vppen           =
smc_vppp            =
smc_det             =
smc_vccen           =
smc_sck             =
smc_sda             =

;--------------------------------
;[usbc0]:控制器0的配置。
;usb_used:USB使能标志。置1,表示系统中USB模块可用,置0,则表示系统USB禁用。
;usb_port_type:USB端口的使用情况。 0:device only;1:host only;2:OTG
;usb_detect_type:USB端口的检查方式。0:不做检测;1:vbus/id检查;2:id/dpdm检查
;usb_id_gpio:USB ID pin脚配置。具体请参考gpio配置说明。
;usb_det_vbus_gpio:USB DET_VBUS pin脚配置。具体请参考gpio配置说明。
;usb_drv_vbus_gpio:USB DRY_VBUS pin脚配置。具体请参考gpio配置说明。
;usb_det_vbus_gpio: "axp_ctrl",表示axp 提供
;--------------------------------
;--------------------------------
;---       USB0控制标志
;--------------------------------
;[usbc0]
;usbc0_used          = 0
;usb_port_type       = 2
;usb_detect_type     = 1
;usb_id_gpio         = port:PH09<0><1><default><default>
;usb_det_vbus_gpio   = "axp_ctrl"
;usb_drv_vbus_gpio   = port:PB07<1><0><default><0>
;usb_host_init_state = 0
;usb_regulator_io    = "nocare"
;usb_regulator_vol   = 0
;usb_wakeup_suspend  = 0
;---       USB Device
;usb_luns            = 3
;usb_serial_unique   = 0
;usb_serial_number   = "20080411"

[usbc0]
usbc0_used          = 1
usb_port_type       = 0
usb_detect_type     = 1
usb_id_gpio         =
usb_det_vbus_gpio   =
usb_board_sel       = 1
usb_drv_vbus_gpio   = 2047
usb_host_init_state = 0
usb_regulator_io    = "nocare"
usb_regulator_vol   = 0
usb_wakeup_suspend  = 0
; USB Device
usb_luns            = 3
usb_serial_unique   = 0
usb_serial_number   = "20080411"

;--------------------------------
;---       USB1控制标志
;--------------------------------
;[usbc1]
;usbc1_used          = 0
;usb_drv_vbus_gpio   = port:PB06<1><0><default><0>
;usb_host_init_state = 1
;usb_regulator_io    = "nocare"
;usb_regulator_vol   = 0
;usb_wakeup_suspend  = 0

;--------------------------------------------------------------------------------
; G sensor configuration
; gs_twi_id     ---  TWI ID for controlling Gsensor (0: TWI0, 1: TWI1, 2: TWI2)
;--------------------------------------------------------------------------------
[gsensor_para]
gsensor_used        = 0
gsensor_twi_id      = 2
gsensor_twi_addr    = 0x18
gsensor_int1        = port:PA09<6><1><default><default>
gsensor_int2        =

;--------------------------------------------------------------------------------
; gps gpio configuration
; gps_spi_id            --- the index of SPI controller. 0: SPI0, 1: SPI1, 2: SPI2, 15: no SPI used
; gps_spi_cs_num        --- the chip select number of SPI controller. 0: SPI CS0, 1: SPI CS1
; gps_lradc                     --- the lradc number for GPS used. 0 and 1 is valid, set 2 if not use lradc
;--------------------------------------------------------------------------------
[gps_para]

;--------------------------------------------------------------------------------
;wlan configuration
;clocks:      32k clk
;wlan_power_num: the number of inputs for wifi power
;wlan_power(n): wifi power(n)
;wlan_io_regulator: the power of wifi io
;wlan_busnum:    no. of bus(usb or bus)
;wlan_regon:     wifi function enable/reset io
;wlan_hostwake:    wifi device wake-up host
;status:   okay
;--------------------------------------------------------------------------------
[wlan]
wlan_used    = 1
compatible   = "allwinner,sunxi-wlan"
wlan_busnum  = 0
;wlan_power_num =
;wlan_power1   =
;wlan_io_regulator   =
wlan_board_sel = 1
;wlan_hostwake = port:PD13<6><default><default><default>
wlan_hostwake = port:PD21<6><default><default><1>
;wlan_regon   = port:PD16<1><1><3><0>
wlan_regon   = 2041

;--------------------------------------------------------------------------------
;gyroscope
;--------------------------------------------------------------------------------
[gy_para]
gy_used             = 0
gy_twi_id           = 2
gy_twi_addr         = 0x6a
gy_int1             = port:PA10<6><1><default><default>
gy_int2             =

;--------------------------------------------------------------------------------
;light sensor
;--------------------------------------------------------------------------------
[ls_para]
ls_used             = 0
ls_twi_id           = 2
ls_twi_addr         = 0x23
ls_int              = port:PA12<6><1><default><default>

;--------------------------------------------------------------------------------
;compass
;--------------------------------------------------------------------------------
[compass_para]
compass_used        = 0
compass_twi_id      = 2
compass_twi_addr    = 0x0d
compass_int         = port:PA11<6><1><default><default>

;--------------------------------------------------------------------------------
;blue tooth
;bt_used                        ---- blue tooth used (0- no used, 1- used)
;bt_uard_id                     ---- uart index
;--------------------------------------------------------------------------------
[bt_para]
bt_used             =
bt_uart_id          =
bt_wakeup           =
bt_gpio             =
bt_rst              =
;--------------------------------------------------------------------------------
;               NOTE :Make sure spdif_used = 0x1,spdifmach_used = 0x1,
;         if register the sound card spdif.
;--------------------------------------------------------------------------------
[audiospdif]
audiospdif_used          = 0
[spdif_machine]
spdif_machine_used   = 0
;----------------------------------------------------------------------------------
;               NOTE :Make sure hdmi_used = 0x1,hdmimach_used = 0x1,
;         if register the sound card hdmi.
;---------------------------------------------------------------------------------
[audiohdmi]
audiohdmi_used = 0
[hdmi_machine]
hdmi_machine_used = 0
;--------------------------------------------------------------------------------
;allwinner,pcm_lrck_period      :16/32/64/128/256
;allwinner,pcm_lrckr_period :no use
;allwinner,slot_width_select    :16bits/20bits/24bits/32bits
;allwinner,pcm_lsb_first        :0: msb first; 1: lsb first
;allwinner,tx_data_mode         :0: 16bit linear PCM; 1: 8bit linear PCM; 2: 8bit u-law; 3: 8bit a-law
;allwinner,rx_data_mode         :0: 16bit linear PCM; 1: 8bit linear PCM; 2: 8bit u-law; 3: 8bit a-law
;allwinner,daudio_master :1: SND_SOC_DAIFMT_CBM_CFM(codec clk & FRM master)        use
;                                                 2: SND_SOC_DAIFMT_CBS_CFM(codec clk slave & FRM master)  not use
;                                                 3: SND_SOC_DAIFMT_CBM_CFS(codec clk master & frame slave) not use
;                                                 4: SND_SOC_DAIFMT_CBS_CFS(codec clk & FRM slave)         use
;allwinner,audio_format: 1:SND_SOC_DAIFMT_I2S(standard i2s format).            use
;                          2:SND_SOC_DAIFMT_RIGHT_J(right justfied format).
;                          3:SND_SOC_DAIFMT_LEFT_J(left justfied format)
;                          4:SND_SOC_DAIFMT_DSP_A(pcm. MSB is available on 2nd BCLK rising edge after LRC rising edge). use
;                          5:SND_SOC_DAIFMT_DSP_B(pcm. MSB is available on 1nd BCLK rising edge after LRC rising edge)
;allwinner,signal_inversion:1:SND_SOC_DAIFMT_NB_NF(normal bit clock + frame)  use
;                                 2:SND_SOC_DAIFMT_NB_IF(normal BCLK + inv FRM)
;                                 3:SND_SOC_DAIFMT_IB_NF(invert BCLK + nor FRM)  use
;                                 4:SND_SOC_DAIFMT_IB_IF(invert BCLK + FRM)
;allwinner,frametype :0: long frame = 2 clock width;  1: short frame
;allwinner,tdm_config :0:pcm 1:i2s
;allwinner,daudio0_used :0:not use 1:use
;-------------------------------------------------------------------------------
;               NOTE :Make sure daudio0mach_used = 0x1,daudio0_used = 0x1,
;         if register the sound card DAUDIO0.
;--------------------------------------------------------------------------------
;[daudio0_machine]
;daudio0_machine_used = 0
;-----------------------------------------------------------------------------
;[daudio0]
;pcm_lrck_period =   0x20
;pcm_lrckr_period =   0x01
;slot_width_select =   0x10
;pcm_lsb_first =   0x0
;tx_data_mode =   0x0
;rx_data_mode =   0x0
;daudio_master =   0x04
;audio_format =   0x01
;signal_inversion =   0x01
;frametype =   0x0
;tdm_config =   0x01
;daudio0_used = 0

;--------------------------------------------------------------------------------------
;allwinner,headphonevol :headphone volume:0x0--0x3f 0db--(-62db) 1db/step
;allwinner,spkervol : speaker volume:0x0--0x1f 0db-(-43.5db) 1.5db/step
;allwinner,earpiecevol : earpiece volume:0x0--0x1f 0db-(-43.5db) 1.5db/step
;allwinner,maingain :   mainmic gain:0x0---0x7 0x0-0db 0x1:24db   3db/step
;allwinner,headsetmicgain : headphonemic gain:0x0---0x7 0x0-0db 0x1:24db   3db/step
;allwinner,adcagc_cfg : 1:use adcagc 0:no use
;allwinner,adcdrc_cfg : 1:use adcdrc 0:no use
;allwinner,adchpf_cfg : 1:use adchpf 0:no use
;allwinner,dacdrc_cfg : 1:use adcdrc 0:no use
;allwinner,dachpf_cfg : 1:use adchpf 0:no use
;allwinner,aif2config : 1:use aif2 0:no use
;allwinner,aif3config : 1:use aif3 0:no use
;--------------------------------------------------------------------------------
;               NOTE :Make sure audiocodec_machine_used = 0x1,sun50i2s_used = 0x1
;         sun50codec_used = 0x1,if register the sound card audiocodec.
;---------------------------------------------------------------------------------
;[audiocodec_machine]
;audiocodec_machine_used = 0

;-------------------------------------------------------------------------------------
;used                        ---0:not used,1:used
;pmu_id                      ---0:axp19x,1:axp209,2:axp22x,3:axp806,4:axp808,5:axp809,6:axp803,7:axp813
;pmu_twi_addr                ---slave address
;pmu_twi_id                  ---i2c bus number (0 TWI0, 1 TWI2, 2 TWI3)
;pmu_irq_id                   ---irq number (0 irq0,1 irq1)
;pmu_chg_ic_temp             ---intelligence charge pmu temperature. when it is 0, this function is closed.
;pmu_battery_rdc             ---battery initial resistance
;pmu_battery_cap             ---battery capability,mAh
;pmu_runtime_chgcur          ---set initial charging current limite,mA, 300/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
;pmu_suspend_chgcur          ---set suspend charging current limite,mA, 300/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
;pmu_shutdown_chgcur         ---set shutdown charging current limite,mA, 300/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
;pmu_init_chgvol             ---set initial charing target voltage,mV,4100/4220/4200/4240
;pmu_ac_vol                  ---set usb-ac limited voltage level,mV,4000/4100/4200/4300/4400/4500/4600/4700,0 - not limite
;pmu_ac_cur                  ---set usb-ac limited current level,mA,500/900, 0 - not limite
;pmu_usbpc_vol               ---set usb-pc limited voltage level,mV,4000/4100/4200/4300/4400/4500/4600/4700,0 - not limite
;pmu_usbpc_cur               ---set usb-pc limited current level,mA,500/900, 0 - not limite
;pmu_battery_warning_level1  ---low power warning high level,5%-20%,1%/step
;pmu_battery_warning_level2  ---low power warning low level,0%-15%,1%/step
;pmu_chgled_func             ---CHGKED pin control, 0:controlled by pmu,1:controlled by Charger
;pmu_chgled_type             ---CHGLED Type select when pmu_chgled_func=0,0:Type A, 1:type B
;pmu_bat_para1               ---battery indication at 3.13V
;pmu_bat_para2               ---battery indication at 3.27V
;pmu_bat_para3               ---battery indication at 3.34V
;pmu_bat_para4               ---battery indication at 3.41V
;pmu_bat_para5               ---battery indication at 3.48V
;pmu_bat_para6               ---battery indication at 3.52V
;pmu_bat_para7               ---battery indication at 3.55V
;pmu_bat_para8               ---battery indication at 3.57V
;pmu_bat_para9               ---battery indication at 3.59V
;pmu_bat_para10              ---battery indication at 3.61V
;pmu_bat_para11              ---battery indication at 3.63V
;pmu_bat_para12              ---battery indication at 3.64V
;pmu_bat_para13              ---battery indication at 3.66V
;pmu_bat_para14              ---battery indication at 3.7V
;pmu_bat_para15              ---battery indication at 3.73V
;pmu_bat_para16              ---battery indication at 3.77V
;pmu_bat_para17              ---battery indication at 3.78V
;pmu_bat_para18              ---battery indication at 3.8V
;pmu_bat_para19              ---battery indication at 3.82V
;pmu_bat_para20              ---battery indication at 3.84V
;pmu_bat_para21              ---battery indication at 3.85V
;pmu_bat_para22              ---battery indication at 3.87V
;pmu_bat_para23              ---battery indication at 3.91V
;pmu_bat_para24              ---battery indication at 3.94V
;pmu_bat_para25              ---battery indication at 3.98V
;pmu_bat_para26              ---battery indication at 4.01V
;pmu_bat_para27              ---battery indication at 4.05V
;pmu_bat_para28              ---battery indication at 4.08V
;pmu_bat_para29              ---battery indication at 4.1V
;pmu_bat_para30              ---battery indication at 4.12V
;pmu_bat_para31              ---battery indication at 4.14V
;pmu_bat_para32              ---battery indication at 4.15V
;pmu_bat_temp_enable         ---battery temp detect enable
;pmu_bat_charge_ltf          ---charge battery temp low threshold voltage
;pmu_bat_charge_htf          ---charge battery temp high threshold voltage
;pmu_bat_shutdown_ltf        ---shutdown battery temp low threshold voltage
;pmu_bat_shutdown_htf        ---shutdown battery temp high threshold voltage
;pmu_bat_temp_para1          ---battery temp -25 voltage
;pmu_bat_temp_para2          ---battery temp -15 voltage
;pmu_bat_temp_para3          ---battery temp -10 voltage
;pmu_bat_temp_para4          ---battery temp -5  voltage
;pmu_bat_temp_para5          ---battery temp  0  voltage
;pmu_bat_temp_para6          ---battery temp  5  voltage
;pmu_bat_temp_para7          ---battery temp  10 voltage
;pmu_bat_temp_para8          ---battery temp  20 voltage
;pmu_bat_temp_para9          ---battery temp  30 voltage
;pmu_bat_temp_para10         ---battery temp  40 voltage
;pmu_bat_temp_para11         ---battery temp  45 voltage
;pmu_bat_temp_para12         ---battery temp  50 voltage
;pmu_bat_temp_para13         ---battery temp  55 voltage
;pmu_bat_temp_para14         ---battery temp  60 voltage
;pmu_bat_temp_para15         ---battery temp  70 voltage
;pmu_bat_temp_para16         ---battery temp  80 voltage
;pmu_powkey_off_time         ---set pek off time,ms, 4000/6000/8000/10000
;pmu_powkey_off_func         ---set pek off func, 0:shutdown,1:restart
;pmu_powkey_off_en           ---set pek offlevel powerdown or not, 0:not powerdown,1:powerdown
;pmu_powkey_long_time        ---set pek pek long irq time,ms,1000/1500/2000/2500
;pmu_powkey_on_time          ---set pek on time,ms,128/1000/2000/3000
;--------------------------------------------------------------------------------------------------------
;--------------------------------------------------------------------------------------------------------
;pmu0 is axp81x
;--------------------------------------------------------------------------------------------------------
[pmu0]
used                       = 0
pmu_id                     = 6
pmu_twi_addr               = 0x34
pmu_twi_id                 = 1
pmu_irq_id                 = 0

pmu_chg_ic_temp            = 0
pmu_battery_rdc            = 100
pmu_battery_cap            = 0
pmu_runtime_chgcur         = 450
pmu_suspend_chgcur         = 1500
pmu_shutdown_chgcur        = 1500
pmu_init_chgvol            = 4200
pmu_ac_vol                 = 4000
pmu_ac_cur                 = 0
pmu_usbpc_vol              = 4400
pmu_usbpc_cur              = 500
pmu_battery_warning_level1 = 15
pmu_battery_warning_level2 = 0
pmu_chgled_func            = 0
pmu_chgled_type            = 0

pmu_bat_para1              = 0
pmu_bat_para2              = 0
pmu_bat_para3              = 0
pmu_bat_para4              = 0
pmu_bat_para5              = 0
pmu_bat_para6              = 0
pmu_bat_para7              = 0
pmu_bat_para8              = 0
pmu_bat_para9              = 5
pmu_bat_para10             = 8
pmu_bat_para11             = 9
pmu_bat_para12             = 10
pmu_bat_para13             = 13
pmu_bat_para14             = 16
pmu_bat_para15             = 20
pmu_bat_para16             = 33
pmu_bat_para17             = 41
pmu_bat_para18             = 46
pmu_bat_para19             = 50
pmu_bat_para20             = 53
pmu_bat_para21             = 57
pmu_bat_para22             = 61
pmu_bat_para23             = 67
pmu_bat_para24             = 73
pmu_bat_para25             = 78
pmu_bat_para26             = 84
pmu_bat_para27             = 88
pmu_bat_para28             = 92
pmu_bat_para29             = 93
pmu_bat_para30             = 94
pmu_bat_para31             = 95
pmu_bat_para32             = 100

pmu_bat_temp_enable        = 0
pmu_bat_charge_ltf         = 2261
pmu_bat_charge_htf         = 388
pmu_bat_shutdown_ltf       = 3200
pmu_bat_shutdown_htf       = 237
pmu_bat_temp_para1         = 7466
pmu_bat_temp_para2         = 4480
pmu_bat_temp_para3         = 3518
pmu_bat_temp_para4         = 2786
pmu_bat_temp_para5         = 2223
pmu_bat_temp_para6         = 1788
pmu_bat_temp_para7         = 1448
pmu_bat_temp_para8         = 969
pmu_bat_temp_para9         = 664
pmu_bat_temp_para10        = 466
pmu_bat_temp_para11        = 393
pmu_bat_temp_para12        = 333
pmu_bat_temp_para13        = 283
pmu_bat_temp_para14        = 242
pmu_bat_temp_para15        = 179
pmu_bat_temp_para16        = 134

pmu_powkey_off_time        = 6000
pmu_powkey_off_func        = 0
pmu_powkey_off_en          = 1
pmu_powkey_long_time       = 1500
pmu_powkey_on_time         = 1000

;--------------------------------------------------------------------------------------------------------
;pmu0 is axp81x
;regulator tree
;--------------------------------------------------------------------------------------------------------
[pmu0_regu]
regulator_count = 23
regulator1                   = "axp28_rtc"
regulator2                   = "axp28_aldo1"
regulator3                   = "axp28_aldo2"
regulator4                   = "axp28_aldo3"
regulator5                   = "axp28_dldo1"
regulator6                   = "axp28_dldo2"
regulator7                   = "axp28_dldo3"
regulator8                   = "axp28_dldo4"
regulator9                   = "axp28_eldo1"
regulator0                   = "axp28_eldo2"
regulator11                  = "axp28_eldo3"
regulator12                  = "axp28_fldo1"
regulator13                  = "axp28_fldo2"
regulator14                  = "axp28_dcdc1"
regulator15                  = "axp28_dcdc2"
regulator16                  = "axp28_dcdc3"
regulator17                  = "axp28_dcdc4"
regulator18                  = "axp28_dcdc5"
regulator19                  = "axp28_dcdc6"
regulator20                  = "axp28_dcdc7"
regulator21                  = "axp28_gpio0ldo"
regulator22                  = "axp28_gpio1ldo"

;----------------------------------------------------------------------------------
; dvfs voltage-frequency table configuration
;
; max_freq: cpu maximum frequency, based on Hz
; min_freq: cpu minimum frequency, based on Hz
;
; LV_count: count of LV_freq/LV_volt, must be < 16
;
; LV1: core vdd is 1.50v if cpu frequency is (1344Mhz,  1536Mhz]
; LV2: core vdd is 1.46v if cpu frequency is (1200Mhz,  1344Mhz]
; LV3: core vdd is 1.32v if cpu frequency is (1008Mhz,  1200Mhz]
; LV4: core vdd is 1.20v if cpu frequency is (816Mhz,   1008Mhz]
; LV5: core vdd is 1.10v if cpu frequency is (648Mhz,    816Mhz]
; LV6: core vdd is 1.04v if cpu frequency is (120Mhz,    648Mhz]
; LV7: core vdd is 1.04v if cpu frequency is (120Mhz,    648Mhz]
; LV8: core vdd is 1.04v if cpu frequency is (120Mhz,    648Mhz]
;
;----------------------------------------------------------------------------------
[dvfs_table]
;extremity_freq = 1344000000
max_freq = 1200000000
min_freq = 480000000

LV_count = 8

LV1_freq = 1536000000
LV1_volt = 1500

LV2_freq = 1344000000
LV2_volt = 1460

LV3_freq = 1200000000
LV3_volt = 1320

LV4_freq = 1008000000
LV4_volt = 1200

LV5_freq = 816000000
LV5_volt = 1100

LV6_freq = 648000000
LV6_volt = 1040

LV7_freq = 0
LV7_volt = 1040

LV8_freq = 0
LV8_volt = 1040

;----------------------------------------------------------------------------------
;virtual device
;virtual device for pinctrl testing
;device have pin PA1 PA2
;----------------------------------------------------------------------------------
[Vdevice]
Vdevice_used        = 0
Vdevice_0           = port:PC00<4><1><2><default>
Vdevice_1           = port:PC01<4><1><2><default>
[fel_key]
keyen_flag      = 1
fel_key_max     = 426
fel_key_min     = 256

正常烧录到TF卡:

[0]beign to init dram
[23]init dram ok


U-Boot 2014.07 (Aug 21 2019 - 14:53:36) Allwinner Technology

uboot commit : 78cb55af380c57c0278162e241a9999cdc16e1d6

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
[2.997]pmbus:   ready
axp: get node[/soc/pmu0] error
axp_probe error
[3.003]PMU: cpux 408 Mhz,AXI=408 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz
DRAM:  32 MiB
[3.013]fdt addr: 0x809e7820
[3.015]gd->fdt_size: 0xc320
Relocation Offset is: 01520000
axp: get node[/soc/pmu0] error
int sunxi_dma_init---
irq enable
[3.085]flash init start
workmode = 16,storage type = 3
try card 1
[3.091][mmc]: mmc driver ver 2018-12-27 9:21:00
SUNXI SD/MMC: 1
[3.109][mmc]: ************Try SD card 1************
[3.119][mmc]: host caps: 0x23
[3.122][mmc]: MID 00 PSN 00000289
[3.125][mmc]: PNM APPSD -- 0x41-50-50-53-44
[3.129][mmc]: PRV 0.0
[3.131][mmc]: MDT m-3 y-2018
[3.134][mmc]: user capacity  : 120 MB
[3.137][mmc]: cache size 0 KB
[3.140][mmc]: cache ctl 0
[3.142][mmc]: SD/MMC 1 init OK!!!
[3.146][mmc]: End mmc_init_boot
read mbr copy[0] failed
read mbr copy[1] failed
read mbr copy[2] failed
read mbr copy[3] failed
[3.158]flash init end
[3.160]try to burn key
[3.164]inter uboot shell
Hit any key to stop autoboot:  0
work mode=0x10
run usb efex
delay time 2500
int sunxi_dma_init---
irq enable
sunxi_dma_install_int ok
usb init ok
set address 0x1
SUNXI_EFEX_ERASE_TAG
erase_flag = 0x0
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
the 0 mbr table is ok
the 1 mbr table is ok
the 2 mbr table is ok
the 3 mbr table is ok
*************MBR DUMP***************
total mbr part 8

part[0] name      :bootlogo
part[0] classname :DISK
part[0] addrlo    :0x2000
part[0] lenlo     :0x400
part[0] user_type :32768
part[0] keydata   :0
part[0] ro        :0

part[1] name      :env
part[1] classname :DISK
part[1] addrlo    :0x2400
part[1] lenlo     :0x200
part[1] user_type :32768
part[1] keydata   :0
part[1] ro        :0

part[2] name      :boot
part[2] classname :DISK
part[2] addrlo    :0x2600
part[2] lenlo     :0x3000
part[2] user_type :32768
part[2] keydata   :0
part[2] ro        :0

part[3] name      :rootfs
part[3] classname :DISK
part[3] addrlo    :0x5600
part[3] lenlo     :0xc800
part[3] user_type :32768
part[3] keydata   :0
part[3] ro        :0

part[4] name      :rootfs_data
part[4] classname :DISK
part[4] addrlo    :0x11e00
part[4] lenlo     :0xc800
part[4] user_type :32768
part[4] keydata   :0
part[4] ro        :0

part[5] name      :misc
part[5] classname :DISK
part[5] addrlo    :0x1e600
part[5] lenlo     :0x200
part[5] user_type :32768
part[5] keydata   :0
part[5] ro        :0

part[6] name      :private
part[6] classname :DISK
part[6] addrlo    :0x1e800
part[6] lenlo     :0x200
part[6] user_type :32768
part[6] keydata   :0
part[6] ro        :0

part[7] name      :UDISK
part[7] classname :DISK
part[7] addrlo    :0x1ea00
part[7] lenlo     :0x0
part[7] user_type :33024
part[7] keydata   :0
part[7] ro        :0

total part: 9
mbr 0, 2000, 8000
bootlogo 1, 400, 8000
env 2, 200, 8000
boot 3, 3000, 8000
rootfs 4, c800, 8000
rootfs_data 5, c800, 8000
misc 6, 200, 8000
private 7, 200, 8000
UDISK 8, 0, 8100
not need erase flash
sunxi_sprite_erase_flash, erase_flag=0
private part exist
the 0 mbr table is ok
*************MBR DUMP***************
total mbr part 8

part[0] name      :bootlogo
part[0] classname :DISK
part[0] addrlo    :0x2000
part[0] lenlo     :0x400
part[0] user_type :32768
part[0] keydata   :0
part[0] ro        :0

part[1] name      :env
part[1] classname :DISK
part[1] addrlo    :0x2400
part[1] lenlo     :0x200
part[1] user_type :32768
part[1] keydata   :0
part[1] ro        :0

part[2] name      :boot
part[2] classname :DISK
part[2] addrlo    :0x2600
part[2] lenlo     :0x3000
part[2] user_type :32768
part[2] keydata   :0
part[2] ro        :0

part[3] name      :rootfs
part[3] classname :DISK
part[3] addrlo    :0x5600
part[3] lenlo     :0xc800
part[3] user_type :32768
part[3] keydata   :0
part[3] ro        :0

part[4] name      :rootfs_data
part[4] classname :DISK
part[4] addrlo    :0x11e00
part[4] lenlo     :0xc800
part[4] user_type :32768
part[4] keydata   :0
part[4] ro        :0

part[5] name      :misc
part[5] classname :DISK
part[5] addrlo    :0x1e600
part[5] lenlo     :0x200
part[5] user_type :32768
part[5] keydata   :0
part[5] ro        :0

part[6] name      :private
part[6] classname :DISK
part[6] addrlo    :0x1e800
part[6] lenlo     :0x200
part[6] user_type :32768
part[6] keydata   :0
part[6] ro        :0

part[7] name      :UDISK
part[7] classname :DISK
part[7] addrlo    :0x1ea00
part[7] lenlo     :0x0
part[7] user_type :33024
part[7] keydata   :0
part[7] ro        :0

begin to store data
part name bootlogo
keydata = 0x0
part name env
keydata = 0x0
part name boot
keydata = 0x0
part name rootfs
keydata = 0x0
part name rootfs_data
keydata = 0x0
part name misc
keydata = 0x0
part name private
keydata = 0x0
find keypart private
keypart read start: 0x1e800, sectors 0x200
keypart part private read end: 0x1e800, sectors 0x200
part name UDISK
keydata = 0x0
need_erase_flag = 0
begin to erase
finish erase
rewrite
keypart write start: 0x1e800, sectors 0x200
keypart write end: 0x1e800, sectors 0x200
flash exit
SUNXI_EFEX_MBR_TAG
mbr size = 0x10000
begin to write standard mbr
successed to write standard mbr
sunxi_sprite_verify_mbr_from_flash
the 0 mbr table is ok
the 1 mbr table is ok
the 2 mbr table is ok
the 3 mbr table is ok
*************MBR DUMP***************
total mbr part 8

part[0] name      :bootlogo
part[0] classname :DISK
part[0] addrlo    :0x2000
part[0] lenlo     :0x400
part[0] user_type :32768
part[0] keydata   :0
part[0] ro        :0

part[1] name      :env
part[1] classname :DISK
part[1] addrlo    :0x2400
part[1] lenlo     :0x200
part[1] user_type :32768
part[1] keydata   :0
part[1] ro        :0

part[2] name      :boot
part[2] classname :DISK
part[2] addrlo    :0x2600
part[2] lenlo     :0x3000
part[2] user_type :32768
part[2] keydata   :0
part[2] ro        :0

part[3] name      :rootfs
part[3] classname :DISK
part[3] addrlo    :0x5600
part[3] lenlo     :0xc800
part[3] user_type :32768
part[3] keydata   :0
part[3] ro        :0

part[4] name      :rootfs_data
part[4] classname :DISK
part[4] addrlo    :0x11e00
part[4] lenlo     :0xc800
part[4] user_type :32768
part[4] keydata   :0
part[4] ro        :0

part[5] name      :misc
part[5] classname :DISK
part[5] addrlo    :0x1e600
part[5] lenlo     :0x200
part[5] user_type :32768
part[5] keydata   :0
part[5] ro        :0

part[6] name      :private
part[6] classname :DISK
part[6] addrlo    :0x1e800
part[6] lenlo     :0x200
part[6] user_type :32768
part[6] keydata   :0
part[6] ro        :0

part[7] name      :UDISK
part[7] classname :DISK
part[7] addrlo    :0x1ea00
part[7] lenlo     :0x0
part[7] user_type :33024
part[7] keydata   :0
part[7] ro        :0

FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
FEX_CMD_fes_verify_value, start 0x2000, size high 0x0:low 0x4b036
FEX_CMD_fes_verify_value 0x60b4446e
FEX_CMD_fes_verify_value, start 0x2400, size high 0x0:low 0x20000
FEX_CMD_fes_verify_value 0xc6018f2f
FEX_CMD_fes_verify_value, start 0x2600, size high 0x0:low 0x293970
FEX_CMD_fes_verify_value 0x4ad56ee9
FEX_CMD_fes_verify_value, start 0x5600, size high 0x0:low 0x500000
FEX_CMD_fes_verify_value 0x4224501f
bootfile_mode=4
SUNXI_EFEX_BOOT1_TAG
boot1 size = 0xb8000
uboot_pkg magic 0x89119800
uboot size = 0xb8000
storage type = 6
mmc down uboot
uboot_pkg magic 0x89119800
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
bootfile_mode=4
SUNXI_EFEX_BOOT0_TAG
boot0 size = 0x8000
production_media:6!
[24.660][mmc]: write mmc info ok
dram para[0] = ea00018e
dram para[1] = 6f6f6275
dram para[2] = 74
dram para[3] = c378ee87
dram para[4] = 4000
dram para[5] = a4000
dram para[6] = a4000
dram para[7] = 2e302e33
dram para[8] = 30
dram para[9] = 2e302e31
dram para[10] = 30
dram para[11] = 80800000
dram para[12] = 80000000
dram para[13] = 0
dram para[14] = 0
dram para[15] = 0
dram para[16] = 0
dram para[17] = 0
dram para[18] = 0
dram para[19] = 0
dram para[20] = 0
dram para[21] = 0
dram para[22] = 0
dram para[23] = 0
dram para[24] = 0
dram para[25] = 0
dram para[26] = 0
dram para[27] = 0
dram para[28] = 0
dram para[29] = 0
dram para[30] = 0
dram para[31] = 0
storage type = 6
card1 download boot0
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
sunxi_efex_next_action=2
exit usb
sunxi dma exit
next work 2
SUNXI_UPDATE_NEXT_ACTION_REBOOT
set next mode 14
sunxi dma exit
[0]HELLO! BOOT0 is starting!
[2]boot0 commit : 80628dcde5dc4ecdc757a9e782c58d7cf1abf959

[60]dram size =64
[62]card no is 1
[63]sdcard 1 line count 1
[65][mmc]: mmc driver ver 2018-5-23 16:07:00
[69][mmc]: mmc_get_timing_cfg: input para error!
[74][mmc]: mmc_get_timing_cfg: input para error!
[84][mmc]: Wrong media type 0xffffff00
[87][mmc]: ***Try SD card 1***
[97][mmc]: DS26/SDR12 1 bit
[100][mmc]: 25000000 Hz
[102][mmc]: 120 MB
[103][mmc]: ***SD/MMC 1 init OK!!!***
[388]Loading boot-pkg Succeed(index=0).
[401]Ready to disable icache.
[403]Jump to secend Boot.

这是日志:

U-Boot 2014.07 (Aug 21 2019 - 14:53:36) Allwinner Technology

uboot commit : 78cb55af380c57c0278162e241a9999cdc16e1d6

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.452]pmbus:   ready
axp: get node[/soc/pmu0] error
axp_probe error
[0.459]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: 03520000
axp: get node[/soc/pmu0] error
int sunxi_dma_init---
irq enable
workmode = 0,storage type = 6
[0.542]MMC:      1
SUNXI SD/MMC: 1
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        600000
rootfs      : ac0000        1900000
rootfs_data : 23c0000       1900000
misc        : 3cc0000       40000
private     : 3d00000       40000
UDISK       : 3d40000       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:    2701616 Bytes = 2.6 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 8100f31f

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 (cube@global) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #49 Wed Mar 31 03:13:49 UTC 2021
[    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 c0574d14, node_mem_map c05a2000
[    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/mmcblk0p7 init=/pseudo_init rdinit=/rdinit partitions=bootlogo@mmcblk0p2:env@mmcblk0p5:boot@mmcblk0p6:rootfs@mmcblk0p7:rootfs_data@mmcblk0p8:misc@mmcblk0p9:private@mmcblk0p10:UDISK@mmcblk0p1 cma=32M rootdelay=5 fb_base=0x83f00000 androidboot.serialno=0000000000000000000 boot_type=6
[    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: 26220k/26220k available, 39316k 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 - 0xc046ff84   (4512 kB)
[    0.000000]       .init : 0xc0470000 - 0xc048e038   ( 121 kB)
[    0.000000]       .data : 0xc0490000 - 0xc0575688   ( 918 kB)
[    0.000000]        .bss : 0xc0575688 - 0xc05a1eb0   ( 179 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.005329] Calibrating delay loop... 275.25 BogoMIPS (lpj=1376256)
[    0.075252] pid_max: default: 32768 minimum: 301
[    0.080434] Mount-cache hash table entries: 512
[    0.086432] CPU: Testing write buffer coherency: ok
[    0.092226] Setting up static identity map for 0xc036a8b0 - 0xc036a908
[    0.101524] devtmpfs: initialized
[    0.107140] pinctrl core: initialized pinctrl subsystem
[    0.119530] NET: Registered protocol family 16
[    0.127535] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.135202] dump_class_init,844, success
[    0.144039] sun3iw1p1-pinctrl pio: initialized sunXi PIO driver
[    0.167696] bio: create slab <bio-0> at 0
[    0.173223] pwm module init!
[    0.178008] SCSI subsystem initialized
[    0.182187] usbcore: registered new interface driver usbfs
[    0.188070] usbcore: registered new interface driver hub
[    0.193954] usbcore: registered new device driver usb
[    0.201483] gpio=0,mul_sel=0,pull=0,drv_level=0,data=0
[    0.207196] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.215739] pcf857x 0-0020: retry commucation.7
[    0.220704] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.229230] pcf857x 0-0020: retry commucation.6
[    0.234205] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.242722] pcf857x 0-0020: retry commucation.5
[    0.247678] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.256197] pcf857x 0-0020: retry commucation.4
[    0.261148] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.269665] pcf857x 0-0020: retry commucation.3
[    0.274643] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.283157] pcf857x 0-0020: retry commucation.2
[    0.288109] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.296625] pcf857x 0-0020: retry commucation.1
[    0.301577] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.310124] pcf857x: probe of 0-0020 failed with error -70
[    0.319638] Linux video capture interface: v2.00
[    0.325064] Advanced Linux Sound Architecture Driver Initialized.
[    0.333034] cfg80211: Calling CRDA to update world regulatory domain
[    0.341798] Switching to clocksource sun3i high-res couter
[    0.366826] get det_vbus is fail, 84
[    0.372247] NET: Registered protocol family 2
[    0.378927] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.386042] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.392703] TCP: Hash tables configured (established 512 bind 512)
[    0.399260] TCP: reno registered
[    0.402654] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.408766] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.415866] NET: Registered protocol family 1
[    0.433911] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.440563] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
[    0.446990] msgmni has been set to 115
[    0.454234] io scheduler noop registered
[    0.458527] io scheduler cfq registered (default)
[    0.463400] [pm]aw_pm_init!
[    0.466662] [pm]valid
[    0.469156] [pm]valid
[    0.471883] [DISP]disp_module_init
[    0.527687] pll_freq=297000000HZ, lcd_dclk_freq=33000000HZ, clk_div=9
[    0.535065] num_screens=1
[    0.537956] screen_id=0
[    0.540536] para->mclk[MOD_CLK_LCD1CH0]=0xc180c340
[    0.545486] para->mclk[MOD_CLK_LCD1CH1]=0xc180c440
[    0.550486] disp tv init
[    0.553154] tcon_clk=0xc180c340, tcon_clk_parent=0x0
[    0.558324] tcon_clk=0xc180c340, tcon_clk_parent=0xc1804400
[    0.564071] tve_clk=0xc180c440, tve_clk_parent=0xc1804400
[    0.569668] disp al tv init
[    0.575330] fetch script datadisp.screen2_output_type fail
[    0.581422] fetch script datadisp.screen2_output_mode fail
[    0.589802] fetch script datadisp.fb2_format fail
[    0.594977] fetch script datadisp.fb2_scaler_mode_enable fail
[    0.601283] fetch script datadisp.fb2_width fail
[    0.606372] fetch script datadisp.fb2_height fail
[    0.634538] [DISP]disp_module_init finish
[    0.652774] uart1: ttyS1 at MMIO 0x1c25400 (irq = 104) is a SUNXI
[    0.659218] sw_console_setup()1324 - console setup baud 115200 parity n bits 8, flow n
[    0.667380] console [ttyS1] enabled, bootconsole disabled
[    0.667380] console [ttyS1] enabled, bootconsole disabled
[    0.679949] misc dump reg init
[    0.684602] sunxi-wlan wlan: wlan_busnum (0)
[    0.689487] sunxi-wlan wlan: wlan_power_num (0)
[    0.694530] sunxi-wlan wlan: Missing wlan_io_regulator.
[    0.700384] sunxi-wlan wlan: io_regulator_name ((null))
[    0.706217] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed
[    0.714077] ------------SUNXI_RF: Set regon for SUN3IW1P1_R6!----------------
[    0.722050] sunxi-wlan wlan: wlan_regon gpio=-1048149120  mul-sel=-1048355436  pull=-1048355480  drv_level=-1072832404  data=-1072834700
[    0.735692] sunxi-wlan wlan: can't request wlan_regon gpio 2041
[    0.742330] platform wlan: Driver sunxi-wlan requests probe deferral
[    0.749769] lradc_battery_probe:lradc_battery_probe ++++++
[    0.755867] lradc_battery_dts_parse:lradc_battery_dts_parse ++++++
[    0.762831] key base: f1c23400
[    0.766360] irq num: 114 !
[    0.769433] battery_data_hw_init:battery_data_hw_init ++++++
[    0.775769] lradc_battery_probe:lradc_battery_probe ------
[    0.783441] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.792039] gpio_request failed
[    0.795548] get regulator_io is no nocare
[    0.800275] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[    0.808308] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[    0.820143] hub 1-0:1.0: USB hub found
[    0.824361] hub 1-0:1.0: 1 port detected
[    0.829317] wrn: hcd is not enable, need not stop hcd
[    0.835676] sunxi_keyboard_startup: keyboard has no clk.
[    0.842293] input: sunxi-keyboard as /devices/virtual/input/input0
[    0.850338] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[    0.857438] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x51)
[    0.866707] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    0.873945] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[    0.881597] sunxi cedar version 0.1
[    0.885716] VE: install start!!!
[    0.885716]
[    0.891211] cedar_ve: cedar-ve the get irq is 103
[    0.897041] VE: install end!!!
[    0.897041]
[    0.903793] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v0.91 2018-5-29 14:19) Compiled in Mar 31 2021 at 03:13:29
[    0.916288] sunxi-mmc sdc0: regulator prop vmmc,str none
[    0.922289] sunxi-mmc sdc0: regulator prop vqmmc,str none
[    0.928370] sunxi-mmc sdc0: regulator prop vdmmc,str none
[    0.934373] sunxi-mmc sdc0: Failed getting OCR mask: 0
[    0.941525] sunxi-mmc sdc0: ***set host ocr***
[    0.946844] sunxi-mmc sdc0: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.967712] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.997861] sunxi-mmc sdc0: base:0xf1c0f000 irq:106
[    1.003317] sunxi-mmc sdc0: smc 0 p0 err, cmd 52, RTO !!
[    1.010174] sunxi-mmc sdc0: smc 0 p0 err, cmd 52, RTO !!
[    1.016170] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.030402] failed to get gpio-spk and gpio_num
[    1.038916] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    1.046912] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    1.054916] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    1.062699] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    1.070465] sunxi-codec-machine sound.2: ASoC: DAPM unknown pin External Speaker
[    1.079811] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.098652] sunxi-codec-machine sound.2:  sun3iw1codec <-> 1c23c00.cpudai0-controller mapping ok
[    1.108567] sunxi-codec-machine sound.2: ASoC: no sink widget found for MainMic Bias
[    1.117172] sunxi-codec-machine sound.2: ASoC: Failed to add route External MainMic -> direct -> MainMic Bias
[    1.128241] sunxi-codec-machine sound.2: ASoC: no source widget found for MainMic Bias
[    1.137035] sunxi-codec-machine sound.2: ASoC: Failed to add route MainMic Bias -> direct -> MIC1P
[    1.147017] sunxi-codec-machine sound.2: ASoC: no source widget found for MainMic Bias
[    1.155843] sunxi-codec-machine sound.2: ASoC: Failed to add route MainMic Bias -> direct -> MIC1N
[    1.168168] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    1.174900] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    1.181713] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    1.188013] ipip: IPv4 over IPv4 tunneling driver
[    1.193289] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    1.199951] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[    1.211425] gre: GRE over IPv4 demultiplexor driver
[    1.216856] ip_gre: GRE over IPv4 tunneling driver
[    1.222429] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[    1.235486] TCP: cubic registered
[    1.239299] Initializing XFRM netlink socket
[    1.245259] NET: Registered protocol family 17
[    1.251369] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[    1.262278] NET: Registered protocol family 15
[    1.267832] VFP support v0.3: not present
[    1.274792] [LCD]lcd_module_init
[    1.282517] enhance_en=1
[    1.285393] matrixresult:(0x0, 0x3c4, 0x0, 0x0)
[    1.290671] pll_freq=297000000HZ, lcd_dclk_freq=33000000HZ, clk_div=9
[    1.297940] clk_div=9
[    1.300480] [DISP] disp_sys_gpio_request,line:303:    disp_sys_gpio_request failed, gpio_name=lcd_gpio_0, gpio=2043, ret=-517
[    1.314739] [LCD]open, step 0 finish
[    1.326092] mmc0: host does not support reading read-only switch. assuming write-enable.
[    1.337023] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing SD-HS(SDR25) dt B
[    1.347848] sunxi-mmc sdc0: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 1 timing SD-HS(SDR25) dt B
[    1.358788] [LCD]open, step 1 finish
[    1.362975] sunxi-mmc sdc0: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 4 timing SD-HS(SDR25) dt B
[    1.373949] mmc0: new high speed SD card at address 0002
[    1.380792] mmcblk0: mmc0:0002 N/A   1.85 GiB
[    1.387718]  mmcblk0:
[    1.417735] [LCD]open, step 2 finish
[    1.537691] ------------[ cut here ]------------
[    1.542890] WARNING: at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x28/0x4c()
[    1.550688] invalid GPIO -517
[    1.554007] Modules linked in:
[    1.557415] CPU: 0 PID: 9 Comm: kworker/0:1 Not tainted 3.10.65 #49
[    1.564454] Workqueue: events start_work
[    1.568853] Backtrace:
[    1.571669] [<c0013328>] (dump_backtrace+0x0/0x104) from [<c0013534>] (show_stack+0x18/0x1c)
[    1.581082]  r7:0000007e r6:c042213d r5:00000009 r4:c185bda8
[    1.587489] [<c001351c>] (show_stack+0x0/0x1c) from [<c0367810>] (dump_stack+0x20/0x28)
[    1.596495] [<c03677f0>] (dump_stack+0x0/0x28) from [<c001b9dc>] (warn_slowpath_common+0x54/0x70)
[    1.606454] [<c001b988>] (warn_slowpath_common+0x0/0x70) from [<c001ba30>] (warn_slowpath_fmt+0x38/0x40)
[    1.617014]  r9:c0587480 r8:c0422f52 r7:00000001 r6:00000000 r5:c18cb3c0
r4:fffffdfb
[    1.625857] [<c001b9f8>] (warn_slowpath_fmt+0x0/0x40) from [<c014bb98>] (gpio_to_desc+0x28/0x4c)
[    1.635654]  r3:fffffdfb r2:c042212c
[    1.639732] [<c014bb70>] (gpio_to_desc+0x0/0x4c) from [<c014bc3c>] (gpio_get_value_cansleep+0x10/0x44)
[    1.650160] [<c014bc2c>] (gpio_get_value_cansleep+0x0/0x44) from [<c015a7fc>] (disp_sys_gpio_set_direction+0x20/0xb8)
[    1.662068] [<c015a7dc>] (disp_sys_gpio_set_direction+0x0/0xb8) from [<c0170d5c>] (disp_lcd_gpio_set_direction+0xa8/0xc8)
[    1.674288]  r5:c18cb3c0 r4:c1814000
[    1.678355] [<c0170cb4>] (disp_lcd_gpio_set_direction+0x0/0xc8) from [<c016c730>] (bsp_disp_lcd_gpio_set_direction+0x38/0x44)
[    1.690949]  r7:c1814000 r6:c0587208 r5:00000001 r4:00000000
[    1.697308] [<c016c6f8>] (bsp_disp_lcd_gpio_set_direction+0x0/0x44) from [<c0177274>] (sunxi_lcd_gpio_set_direction+0x20/0x30)
[    1.710005]  r5:00000000 r4:00000003
[    1.714031] [<c0177254>] (sunxi_lcd_gpio_set_direction+0x0/0x30) from [<c017a9c0>] (LCD_bl_open+0x28/0x3c)
[    1.724852] [<c017a998>] (LCD_bl_open+0x0/0x3c) from [<c0154010>] (drv_lcd_enable+0xa0/0xe0)
[    1.734289] [<c0153f70>] (drv_lcd_enable+0x0/0xe0) from [<c015415c>] (start_work+0x10c/0x1cc)
[    1.743806]  r9:c0587480 r8:c0422f6f r7:00000001 r6:c0422eff r5:c05876f4
r4:00000000
[    1.752602] [<c0154050>] (start_work+0x0/0x1cc) from [<c0031cc0>] (process_one_work+0x1e8/0x330)
[    1.762436] [<c0031ad8>] (process_one_work+0x0/0x330) from [<c0031e38>] (process_scheduled_works+0x30/0x34)
[    1.773323] [<c0031e08>] (process_scheduled_works+0x0/0x34) from [<c0032b78>] (worker_thread+0x1e0/0x358)
[    1.783966]  r5:c049cbd0 r4:c1822e40
[    1.788047] [<c0032998>] (worker_thread+0x0/0x358) from [<c0037cf8>] (kthread+0xa8/0xb4)
[    1.797065] [<c0037c50>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[    1.806007]  r7:00000000 r6:00000000 r5:c0037c50 r4:c1849e7c
[    1.812349] ---[ end trace 70e512b2faf07e20 ]---
[    1.817470] ------------[ cut here ]------------
[    1.822685] WARNING: at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x28/0x4c()
[    1.830452] invalid GPIO -517
[    1.833739] Modules linked in:
[    1.837142] CPU: 0 PID: 9 Comm: kworker/0:1 Tainted: G        W    3.10.65 #49
[    1.845237] Workqueue: events start_work
[    1.849635] Backtrace:
[    1.852417] [<c0013328>] (dump_backtrace+0x0/0x104) from [<c0013534>] (show_stack+0x18/0x1c)
[    1.861850]  r7:0000007e r6:c042213d r5:00000009 r4:c185bda0
[    1.868252] [<c001351c>] (show_stack+0x0/0x1c) from [<c0367810>] (dump_stack+0x20/0x28)
[    1.877212] [<c03677f0>] (dump_stack+0x0/0x28) from [<c001b9dc>] (warn_slowpath_common+0x54/0x70)
[    1.887149] [<c001b988>] (warn_slowpath_common+0x0/0x70) from [<c001ba30>] (warn_slowpath_fmt+0x38/0x40)
[    1.897737]  r9:c0587480 r8:c0422f52 r7:00000001 r6:00000000 r5:c18cb3c0
r4:00000000
[    1.906547] [<c001b9f8>] (warn_slowpath_fmt+0x0/0x40) from [<c014bb98>] (gpio_to_desc+0x28/0x4c)
[    1.916350]  r3:fffffdfb r2:c042212c
[    1.920415] [<c014bb70>] (gpio_to_desc+0x0/0x4c) from [<c014c628>] (gpio_direction_output+0x14/0x20)
[    1.930673] [<c014c614>] (gpio_direction_output+0x0/0x20) from [<c015a808>] (disp_sys_gpio_set_direction+0x2c/0xb8)
[    1.942311]  r5:c18cb3c0 r4:fffffdfb
[    1.946368] [<c015a7dc>] (disp_sys_gpio_set_direction+0x0/0xb8) from [<c0170d5c>] (disp_lcd_gpio_set_direction+0xa8/0xc8)
[    1.958591]  r5:c18cb3c0 r4:c1814000
[    1.962618] [<c0170cb4>] (disp_lcd_gpio_set_direction+0x0/0xc8) from [<c016c730>] (bsp_disp_lcd_gpio_set_direction+0x38/0x44)
[    1.975216]  r7:c1814000 r6:c0587208 r5:00000001 r4:00000000
[    1.981609] [<c016c6f8>] (bsp_disp_lcd_gpio_set_direction+0x0/0x44) from [<c0177274>] (sunxi_lcd_gpio_set_direction+0x20/0x30)
[    1.994306]  r5:00000000 r4:00000003
[    1.998378] [<c0177254>] (sunxi_lcd_gpio_set_direction+0x0/0x30) from [<c017a9c0>] (LCD_bl_open+0x28/0x3c)
[    2.009199] [<c017a998>] (LCD_bl_open+0x0/0x3c) from [<c0154010>] (drv_lcd_enable+0xa0/0xe0)
[    2.018638] [<c0153f70>] (drv_lcd_enable+0x0/0xe0) from [<c015415c>] (start_work+0x10c/0x1cc)
[    2.028152]  r9:c0587480 r8:c0422f6f r7:00000001 r6:c0422eff r5:c05876f4
r4:00000000
[    2.036907] [<c0154050>] (start_work+0x0/0x1cc) from [<c0031cc0>] (process_one_work+0x1e8/0x330)
[    2.046740] [<c0031ad8>] (process_one_work+0x0/0x330) from [<c0031e38>] (process_scheduled_works+0x30/0x34)
[    2.057636] [<c0031e08>] (process_scheduled_works+0x0/0x34) from [<c0032b78>] (worker_thread+0x1e0/0x358)
[    2.068279]  r5:c049cbd0 r4:c1822e40
[    2.072290] [<c0032998>] (worker_thread+0x0/0x358) from [<c0037cf8>] (kthread+0xa8/0xb4)
[    2.081376] [<c0037c50>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[    2.090326]  r7:00000000 r6:00000000 r5:c0037c50 r4:c1849e7c
[    2.096630] ---[ end trace 70e512b2faf07e21 ]---
[    2.101788] gpiod_direction_output: invalid GPIO
[    2.106940] [DISP] disp_sys_gpio_set_direction,line:413:    gpio_direction_output fail!
[    2.115867] ------------[ cut here ]------------
[    2.121068] WARNING: at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x28/0x4c()
[    2.128850] invalid GPIO -517
[    2.132136] Modules linked in:
[    2.135537] CPU: 0 PID: 9 Comm: kworker/0:1 Tainted: G        W    3.10.65 #49
[    2.143633] Workqueue: events start_work
[    2.148030] Backtrace:
[    2.150816] [<c0013328>] (dump_backtrace+0x0/0x104) from [<c0013534>] (show_stack+0x18/0x1c)
[    2.160249]  r7:0000007e r6:c042213d r5:00000009 r4:c185bda8
[    2.166611] [<c001351c>] (show_stack+0x0/0x1c) from [<c0367810>] (dump_stack+0x20/0x28)
[    2.175631] [<c03677f0>] (dump_stack+0x0/0x28) from [<c001b9dc>] (warn_slowpath_common+0x54/0x70)
[    2.185557] [<c001b988>] (warn_slowpath_common+0x0/0x70) from [<c001ba30>] (warn_slowpath_fmt+0x38/0x40)
[    2.196130]  r9:c0587480 r8:c0422f52 r7:00000001 r6:00000000 r5:c18cb3c0
r4:00000001
[    2.204942] [<c001b9f8>] (warn_slowpath_fmt+0x0/0x40) from [<c014bb98>] (gpio_to_desc+0x28/0x4c)
[    2.214752]  r3:fffffdfb r2:c042212c
[    2.218811] [<c014bb70>] (gpio_to_desc+0x0/0x4c) from [<c014be10>] (gpio_set_value_cansleep+0x14/0x6c)
[    2.229254] [<c014bdfc>] (gpio_set_value_cansleep+0x0/0x6c) from [<c015a8f8>] (disp_sys_gpio_set_value+0x18/0x4c)
[    2.240676]  r5:c18cb3c0 r4:c1814000
[    2.244751] [<c015a8e0>] (disp_sys_gpio_set_value+0x0/0x4c) from [<c0170c94>] (disp_lcd_gpio_set_value+0xa8/0xc8)
[    2.256235] [<c0170bec>] (disp_lcd_gpio_set_value+0x0/0xc8) from [<c016c6ec>] (bsp_disp_lcd_gpio_set_value+0x38/0x44)
[    2.268065]  r7:c1814000 r6:c0587208 r5:00000001 r4:00000000
[    2.274413] [<c016c6b4>] (bsp_disp_lcd_gpio_set_value+0x0/0x44) from [<c0177244>] (sunxi_lcd_gpio_set_value+0x20/0x30)
[    2.286339]  r5:00000000 r4:00000003
[    2.290405] [<c0177224>] (sunxi_lcd_gpio_set_value+0x0/0x30) from [<c017a9d0>] (LCD_bl_open+0x38/0x3c)
[    2.300833] [<c017a998>] (LCD_bl_open+0x0/0x3c) from [<c0154010>] (drv_lcd_enable+0xa0/0xe0)
[    2.310298] [<c0153f70>] (drv_lcd_enable+0x0/0xe0) from [<c015415c>] (start_work+0x10c/0x1cc)
[    2.319799]  r9:c0587480 r8:c0422f6f r7:00000001 r6:c0422eff r5:c05876f4
r4:00000000
[    2.328622] [<c0154050>] (start_work+0x0/0x1cc) from [<c0031cc0>] (process_one_work+0x1e8/0x330)
[    2.338430] [<c0031ad8>] (process_one_work+0x0/0x330) from [<c0031e38>] (process_scheduled_works+0x30/0x34)
[    2.349323] [<c0031e08>] (process_scheduled_works+0x0/0x34) from [<c0032b78>] (worker_thread+0x1e0/0x358)
[    2.359984]  r5:c049cbd0 r4:c1822e40
[    2.363999] [<c0032998>] (worker_thread+0x0/0x358) from [<c0037cf8>] (kthread+0xa8/0xb4)
[    2.373062] [<c0037c50>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[    2.382004]  r7:00000000 r6:00000000 r5:c0037c50 r4:c1849e7c
[    2.388345] ---[ end trace 70e512b2faf07e22 ]---
[    2.393488] [LCD]open, step 3 finish
[    2.398172] [LCD]lcd_module_init finish
[    2.403096] sunxi-wlan wlan: wlan_busnum (0)
[    2.407996] sunxi-wlan wlan: wlan_power_num (0)
[    2.413084] sunxi-wlan wlan: Missing wlan_io_regulator.
[    2.418954] sunxi-wlan wlan: io_regulator_name ((null))
[    2.424856] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed
[    2.432767] ------------SUNXI_RF: Set regon for SUN3IW1P1_R6!----------------
[    2.440761] sunxi-wlan wlan: wlan_regon gpio=-1048149120  mul-sel=-1047954028  pull=-1047954072  drv_level=-1072832404  data=-1072834700
[    2.454439] sunxi-wlan wlan: can't request wlan_regon gpio 2041
[    2.461118] platform wlan: Driver sunxi-wlan requests probe deferral
[    2.468529] usb_serial_number:20080411
[    2.473268] file system registered
[    2.480051] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    2.487827] android_usb gadget: Number of LUNs=3
[    2.493057]  lun0: LUN: removable file: (no medium)
[    2.498545]  lun1: LUN: removable file: (no medium)
[    2.503959]  lun2: LUN: removable file: (no medium)
[    2.510318] android_usb gadget: android_usb ready
[    2.515978] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x51)
[    2.525253] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    2.532018] rtc-pcf8563 0-0051: hctosys: unable to read the hardware clock
[    2.539921] ALSA device list:
[    2.543227]   #0: audiocodec
[    2.547201] Waiting 5sec before mounting root device...
[    4.387660]
[    4.387660] insmod_device_driver
[    4.387660]
[    4.394817] device_chose finished 77!
[    7.558115] VFS: Cannot open root device "mmcblk0p7" or unknown-block(179,7): error -6
[    7.567005] Please append a correct "root=" boot option; here are the available partitions:
[    7.576388] b300         1949696 mmcblk0  driver: mmcblk
[    7.582360] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,7)

检测到了卡, 但是生成分区失败:

[    1.362975] sunxi-mmc sdc0: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 4 timing SD-HS(SDR25) dt B
[    1.373949] mmc0: new high speed SD card at address 0002
[    1.380792] mmcblk0: mmc0:0002 N/A   1.85 GiB
[    1.387718]  mmcblk0:

离线

楼主 #6 2021-03-31 11:34:43

无根浮萍
会员
注册时间: 2021-01-14
已发帖子: 62
积分: 31

Re: tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

貌似这种TF卡驱动应该没问题, 为什么没有生成分区呢?是打包有问题?烧录有问题?挂UBUNTU看看情况去

离线

楼主 #7 2021-03-31 11:38:23

无根浮萍
会员
注册时间: 2021-01-14
已发帖子: 62
积分: 31

Re: tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

2021-03-31_113740.png

果然只有一个分区,这是为什么呢?

离线

#8 2021-04-01 09:13:53

TeveT
会员
注册时间: 2019-07-01
已发帖子: 148
积分: 91

Re: tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

uboot烧录部分改对了没

无根浮萍 说:

https://whycan.com/files/members/5755/2021-03-31_113740.png

果然只有一个分区,这是为什么呢?

离线

楼主 #9 2021-04-01 09:31:39

无根浮萍
会员
注册时间: 2021-01-14
已发帖子: 62
积分: 31

Re: tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

TeveT 说:

uboot烧录部分改对了没

无根浮萍 说:

https://whycan.com/files/members/5755/2021-03-31_113740.png

果然只有一个分区,这是为什么呢?

请问应该怎么修改呢?我几乎翻越了所有tina文档,都木找到有。

离线

#10 2021-04-01 11:50:38

TeveT
会员
注册时间: 2019-07-01
已发帖子: 148
积分: 91

Re: tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

意思是你这个自己没有修改过TINA的boot, 直接就烧录了对吗?
我用的是V3S 的tina3.5, 是自己魔改,要看看代码。

无根浮萍 说:
TeveT 说:

uboot烧录部分改对了没

无根浮萍 说:

https://whycan.com/files/members/5755/2021-03-31_113740.png

果然只有一个分区,这是为什么呢?

请问应该怎么修改呢?我几乎翻越了所有tina文档,都木找到有。

离线

楼主 #11 2021-04-01 11:56:17

无根浮萍
会员
注册时间: 2021-01-14
已发帖子: 62
积分: 31

Re: tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

感谢,对的,我以为理所当然的可以,555555

TeveT 说:

意思是你这个自己没有修改过TINA的boot, 直接就烧录了对吗?
我用的是V3S 的tina3.5, 是自己魔改,要看看代码。

无根浮萍 说:
TeveT 说:

uboot烧录部分改对了没

请问应该怎么修改呢?我几乎翻越了所有tina文档,都木找到有。

离线

楼主 #12 2021-04-20 22:59:34

无根浮萍
会员
注册时间: 2021-01-14
已发帖子: 62
积分: 31

Re: tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

换雷龙的 CSNP4GCR01-AMW  也是一样的效果, sdc1 是 1bit 的 sd nand芯片

sdc0 是 4bit tf卡,

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

[60]dram size =64
[62]card no is 0
[63]sdcard 0 line count 4
[65][mmc]: mmc driver ver 2018-5-23 16:07:00
[69][mmc]: sdc0 spd mode error, 2
[78][mmc]: Wrong media type 0x00000000
[82][mmc]: ***Try SD card 0***
[94][mmc]: HSSDR52/SDR25 4 bit
[97][mmc]: 50000000 Hz
[99][mmc]: 1876 MB
[101][mmc]: ***SD/MMC 0 init OK!!!***
[176]Loading boot-pkg Succeed(index=0).
[188]Ready to disable icache.
[190]Jump to secend Boot.


U-Boot 2014.07 (Jul 31 2018 - 14:59:19) Allwinner Technology

uboot commit : 6604446f7bddb8fe53f2b993100929f92a5f4d6e

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.239]pmbus:   ready
axp: get node[/soc/pmu0] error
axp_probe error
[0.245]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: 03524000
axp: get node[/soc/pmu0] error
int sunxi_dma_init---
irq enable
workmode = 0,storage type = 1
[0.328]MMC:      0
SUNXI SD/MMC: 0
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        600000
rootfs      : ac0000        1900000
rootfs_data : 23c0000       1900000
misc        : 3cc0000       40000
private     : 3d00000       40000
UDISK       : 3d40000       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:    3034264 Bytes = 2.9 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 8100f09f

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 (cube@ubuntu) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #40 Tue Apr 20 05:55:52 UTC 2021
[    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 c0608c14, node_mem_map c0638000
[    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/mmcblk0p7 init=/pseudo_init rdinit=/rdinit partitions=bootlogo@mmcblk0p2:env@mmcblk0p5:boot@mmcblk0p6:rootfs@mmcblk0p7:rootfs_data@mmcblk0p8:misc@mmcblk0p9:private@mmcblk0p10:UDISK@mmcblk0p1 cma=32M rootdelay=5 fb_base=0x83f00000 androidboot.serialno=0000000000000000000 boot_type=1
[    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: 25624k/25624k available, 39912k 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 - 0xc04fdf84   (5080 kB)
[    0.000000]       .init : 0xc04fe000 - 0xc051d5e4   ( 126 kB)
[    0.000000]       .data : 0xc051e000 - 0xc0609588   ( 942 kB)
[    0.000000]        .bss : 0xc0609588 - 0xc0637b30   ( 186 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.005320] Calibrating delay loop... 275.25 BogoMIPS (lpj=1376256)
[    0.075248] pid_max: default: 32768 minimum: 301
[    0.080430] Mount-cache hash table entries: 512
[    0.086404] CPU: Testing write buffer coherency: ok
[    0.092181] Setting up static identity map for 0xc03da8f0 - 0xc03da948
[    0.101462] devtmpfs: initialized
[    0.107298] pinctrl core: initialized pinctrl subsystem
[    0.119723] NET: Registered protocol family 16
[    0.127816] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.135540] dump_class_init,844, success
[    0.144672] sun3iw1p1-pinctrl pio: initialized sunXi PIO driver
[    0.170258] bio: create slab <bio-0> at 0
[    0.175759] pwm module init!
[    0.180446] SCSI subsystem initialized
[    0.184924] usbcore: registered new interface driver usbfs
[    0.190706] usbcore: registered new interface driver hub
[    0.196623] usbcore: registered new device driver usb
[    0.204264] gpio=0,mul_sel=0,pull=0,drv_level=0,data=0
[    0.209907] sunxi_i2c_do_xfer()923 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.218474] pcf857x 0-0020: retry commucation.7
[    0.223472] sunxi_i2c_do_xfer()923 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.231962] pcf857x 0-0020: retry commucation.6
[    0.236954] sunxi_i2c_do_xfer()923 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.245479] pcf857x 0-0020: retry commucation.5
[    0.250431] sunxi_i2c_do_xfer()923 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.258951] pcf857x 0-0020: retry commucation.4
[    0.263928] sunxi_i2c_do_xfer()923 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.272447] pcf857x 0-0020: retry commucation.3
[    0.277402] sunxi_i2c_do_xfer()923 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.285923] pcf857x 0-0020: retry commucation.2
[    0.290876] sunxi_i2c_do_xfer()923 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.299397] pcf857x 0-0020: retry commucation.1
[    0.304372] sunxi_i2c_do_xfer()923 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.312919] pcf857x: probe of 0-0020 failed with error -70
[    0.322602] Linux video capture interface: v2.00
[    0.327990] Advanced Linux Sound Architecture Driver Initialized.
[    0.335951] cfg80211: Calling CRDA to update world regulatory domain
[    0.344845] Switching to clocksource sun3i high-res couter
[    0.370442] get det_vbus is fail, 84
[    0.375946] NET: Registered protocol family 2
[    0.382641] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.389751] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.396417] TCP: Hash tables configured (established 512 bind 512)
[    0.402975] TCP: reno registered
[    0.406371] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.412475] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.419577] NET: Registered protocol family 1
[    0.440846] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.447417] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
[    0.454032] msgmni has been set to 114
[    0.461317] io scheduler noop registered
[    0.465494] io scheduler cfq registered (default)
[    0.470361] [pm]aw_pm_init!
[    0.473731] [pm]valid
[    0.476143] [pm]valid
[    0.478874] [DISP]disp_module_init
[    0.540654] pll_freq=297000000HZ, lcd_dclk_freq=33000000HZ, clk_div=9
[    0.548064] num_screens=1
[    0.550922] screen_id=0
[    0.553501] para->mclk[MOD_CLK_LCD1CH0]=0xc180c340
[    0.558450] para->mclk[MOD_CLK_LCD1CH1]=0xc180c440
[    0.563447] disp tv init
[    0.566117] tcon_clk=0xc180c340, tcon_clk_parent=0x0
[    0.571284] tcon_clk=0xc180c340, tcon_clk_parent=0xc1804400
[    0.577041] tve_clk=0xc180c440, tve_clk_parent=0xc1804400
[    0.582636] disp al tv init
[    0.588270] fetch script datadisp.screen2_output_type fail
[    0.594362] fetch script datadisp.screen2_output_mode fail
[    0.602700] fetch script datadisp.fb2_format fail
[    0.607868] fetch script datadisp.fb2_scaler_mode_enable fail
[    0.614168] fetch script datadisp.fb2_width fail
[    0.619255] fetch script datadisp.fb2_height fail
[    0.659240] [DISP]disp_module_init finish
[    0.677954] uart1: ttyS1 at MMIO 0x1c25400 (irq = 104) is a SUNXI
[    0.684392] sw_console_setup()1324 - console setup baud 115200 parity n bits 8, flow n
[    0.692613] console [ttyS1] enabled, bootconsole disabled
[    0.692613] console [ttyS1] enabled, bootconsole disabled
[    0.705258] misc dump reg init
[    0.710062] sunxi-wlan wlan: wlan_busnum (0)
[    0.714947] sunxi-wlan wlan: wlan_power_num (0)
[    0.719991] sunxi-wlan wlan: Missing wlan_io_regulator.
[    0.725852] sunxi-wlan wlan: io_regulator_name ((null))
[    0.731731] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed
[    0.739547] ------------SUNXI_RF: Set regon for SUN3IW1P1_R6!----------------
[    0.747537] sunxi-wlan wlan: wlan_regon gpio=-1048151744  mul-sel=-1048355436  pull=-1048355480  drv_level=-1072827436  data=-1072829732
[    0.761193] sunxi-wlan wlan: can't request wlan_regon gpio 2041
[    0.767799] platform wlan: Driver sunxi-wlan requests probe deferral
[    0.775244] lradc_battery_probe:lradc_battery_probe ++++++
[    0.781422] lradc_battery_dts_parse:lradc_battery_dts_parse ++++++
[    0.788318] key base: f1c23400
[    0.791895] irq num: 115 !
[    0.794904] battery_data_hw_init:battery_data_hw_init ++++++
[    0.801291] lradc_battery_probe:lradc_battery_probe ------
[    0.808996] usbcore: registered new interface driver rndis_wlan
[    0.815836] usbcore: registered new interface driver asix
[    0.822043] usbcore: registered new interface driver qf9700
[    0.828326] usbcore: registered new interface driver ax88179_178a
[    0.835259] usbcore: registered new interface driver cdc_ether
[    0.841894] usbcore: registered new interface driver net1080
[    0.848263] usbcore: registered new interface driver rndis_host
[    0.854995] usbcore: registered new interface driver cdc_subset
[    0.861724] usbcore: registered new interface driver zaurus
[    0.868149] usbcore: registered new interface driver cdc_ncm
[    0.874508] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.882347] usbcore: registered new interface driver usb-storage
[    0.889097] usbcore: registered new interface driver ums-alauda
[    0.895843] usbcore: registered new interface driver ums-cypress
[    0.902668] usbcore: registered new interface driver ums-datafab
[    0.909415] usbcore: registered new interface driver ums_eneub6250
[    0.916421] usbcore: registered new interface driver ums-freecom
[    0.923235] usbcore: registered new interface driver ums-isd200
[    0.929887] usbcore: registered new interface driver ums-jumpshot
[    0.936824] usbcore: registered new interface driver ums-karma
[    0.943459] usbcore: registered new interface driver ums-onetouch
[    0.950344] usbcore: registered new interface driver ums-realtek
[    0.957195] usbcore: registered new interface driver ums-sddr09
[    0.963932] usbcore: registered new interface driver ums-sddr55
[    0.970654] usbcore: registered new interface driver ums-usbat
[    0.977419] usbcore: registered new interface driver usbserial
[    0.984078] usbcore: registered new interface driver usbserial_generic
[    0.991472] usbserial: USB Serial support registered for generic
[    0.999034] gpio_request failed
[    1.002651] get regulator_io is no nocare
[    1.007256] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[    1.015281] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[    1.027060] hub 1-0:1.0: USB hub found
[    1.031399] hub 1-0:1.0: 1 port detected
[    1.036243] wrn: hcd is not enable, need not stop hcd
[    1.042703] sunxi_keyboard_startup: keyboard has no clk.
[    1.049185] input: sunxi-keyboard as /devices/virtual/input/input0
[    1.057438] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[    1.064629] sunxi_i2c_do_xfer()923 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x51)
[    1.073889] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    1.081135] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[    1.088684] i2c /dev entries driver
[    1.093128] Welcome to tv decoder driver
[    1.097734] __tvd_probe_init:
[    1.101240] pdev->id = 0
[    1.104053] __jude_config: sel = 0.
[    1.108226] __tvd_probe_init: v4l2 subdev register.
[    1.114200] V4L2 tvd device registered as video4
[    1.119572] tvd_init end
[    1.122484] sunxi cedar version 0.1
[    1.126605] VE: install start!!!
[    1.126605]
[    1.132220] cedar_ve: cedar-ve the get irq is 103
[    1.138099] VE: install end!!!
[    1.138099]
[    1.144820] mmc init ........................
[    1.149692] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v0.91 2018-5-29 14:19) Compiled in Apr 20 2021 at 05:55:14
[    1.161942] sunxi_mmc_probe 2071 ____________________
[    1.167590] sunxi_mmc_probe 2078 ____________________
[    1.173248] sunxi_mmc_probe 2083 ____________________
[    1.179023] sunxi-mmc sdc0: Can't get vmmc regulator string
[    1.185290] sunxi-mmc sdc0: Can't get vqmmc regulator string
[    1.191621] sunxi-mmc sdc0: Can't get vdmmc regulator string
[    1.197906] sunxi-mmc sdc0: Failed getting OCR mask: 0
[    1.204085] sunxi_mmc_probe 2088 ____________________
[    1.210681] sunxi_mmc_probe 2094 ____________________
[    1.216296] sunxi_mmc_probe 2101 ____________________
[    1.221949] sunxi_mmc_probe 2120 ____________________
[    1.227567] sunxi-mmc sdc0: ***set host ocr***
[    1.232563] sunxi_mmc_probe 2128 ____________________
[    1.238163] sunxi_mmc_probe 2132 ____________________
[    1.243887] sunxi_mmc_probe 2134 ____________________
[    1.249489] sunxi_mmc_probe 2142 ____________________
[    1.255128] sunxi_mmc_probe 2144 ____________________
[    1.260757] sunxi_mmc_probe 2159 ____________________
[    1.266711] sunxi_mmc_set_ios 955 ++++++++++++_
[    1.271875] sunxi-mmc sdc0: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.282155] sunxi_mmc_set_ios 965 ++++++++++++_
[    1.287178] sunxi_mmc_set_ios 973 ++++++++++++_
[    1.292237] sunxi_mmc_set_ios 978 ++++++++++++_
[    1.297260] sunxi_mmc_set_ios 980 ++++++++++++_
[    1.302315] sunxi_mmc_set_ios 1011 ++++++++++++_
[    1.307446] sunxi_mmc_set_ios 1018 ++++++++++++_
[    1.312627] sunxi-mmc sdc0: REG_FTRGL 20070010
[    1.317570] sunxi-mmc sdc0: power on!
[    1.321689] sunxi-mmc sdc0: REG_WIDTH: 0x00000000
[    1.340633] sunxi_mmc_set_ios 955 ++++++++++++_
[    1.345685] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.356442] sunxi_mmc_set_ios 965 ++++++++++++_
[    1.361512] sunxi-mmc sdc0: REG_WIDTH: 0x00000000
[    1.380667] sunxi_mmc_probe 2164 ____________________
[    1.386368] sunxi-mmc sdc0: cmd 52(80000174) arg c00 ie 0x0000bbc6 len 0
[    1.393969] sunxi_mmc_probe 2171 ____________________
[    1.399608] sunxi-mmc sdc0: irq: rq c1897dec mi 00000104 idi 00000000
[    1.406772] sunxi-mmc sdc0: smc 0 p0 err, cmd 52, RTO !!
[    1.412747] sunxi-mmc sdc0: base:0xf1c0f000 irq:106
[    1.418205] sunxi-mmc sdc0: cmd 52(80000174) arg 80000c08 ie 0x0000bbc6 len 0
[    1.426695] mmc init ........................
[    1.431660] sunxi-mmc sdc0: irq: rq c1897dec mi 00000104 idi 00000000
[    1.438826] sunxi-mmc sdc0: smc 0 p0 err, cmd 52, RTO !!
[    1.444818] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v0.91 2018-5-29 14:19) Compiled in Apr 20 2021 at 05:55:14
[    1.457011] sunxi_mmc_probe 2071 ____________________
[    1.462681] sunxi_mmc_set_ios 955 ++++++++++++_
[    1.467732] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.478489] sunxi_mmc_set_ios 965 ++++++++++++_
[    1.483562] sunxi-mmc sdc0: REG_WIDTH: 0x00000000
[    1.488884] sunxi_mmc_probe 2078 ____________________
[    1.494554] sunxi_mmc_probe 2083 ____________________
[    1.500338] sunxi-mmc sdc1: Can't get vmmc regulator string
[    1.506607] sunxi-mmc sdc1: Can't get vqmmc regulator string
[    1.512942] sunxi-mmc sdc1: Can't get vdmmc regulator string
[    1.519229] sunxi-mmc sdc1: Failed getting OCR mask: 0
[    1.525450] sunxi_mmc_probe 2088 ____________________
[    1.531952] sunxi_mmc_probe 2094 ____________________
[    1.537569] sunxi_mmc_probe 2101 ____________________
[    1.543276] sunxi_mmc_probe 2120 ____________________
[    1.548897] sunxi-mmc sdc1: ***set host ocr***
[    1.553880] sunxi_mmc_probe 2128 ____________________
[    1.559481] sunxi_mmc_probe 2132 ____________________
[    1.565203] sunxi_mmc_probe 2134 ____________________
[    1.570846] sunxi_mmc_probe 2142 ____________________
[    1.576445] sunxi_mmc_probe 2144 ____________________
[    1.582074] sunxi_mmc_probe 2159 ____________________
[    1.588832] sunxi-mmc sdc0: cmd 0(80008000) arg 0 ie 0x0000bbc6 len 0
[    1.596337] sunxi_mmc_set_ios 955 ++++++++++++_
[    1.601487] sunxi-mmc sdc0: irq: rq c1897e1c mi 00000004 idi 00000000
[    1.608695] sunxi-mmc sdc1: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.618975] sunxi_mmc_set_ios 965 ++++++++++++_
[    1.624035] sunxi_mmc_set_ios 973 ++++++++++++_
[    1.629055] sunxi_mmc_set_ios 978 ++++++++++++_
[    1.634104] sunxi_mmc_set_ios 980 ++++++++++++_
[    1.639126] sunxi_mmc_set_ios 1011 ++++++++++++_
[    1.644287] sunxi_mmc_set_ios 1018 ++++++++++++_
[    1.649431] sunxi-mmc sdc1: REG_FTRGL 20070010
[    1.654413] sunxi-mmc sdc1: power on!
[    1.658484] sunxi-mmc sdc1: REG_WIDTH: 0x00000000
[    1.664771] sunxi_mmc_set_ios 955 ++++++++++++_
[    1.669816] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.680586] sunxi_mmc_set_ios 965 ++++++++++++_
[    1.685622] sunxi-mmc sdc0: REG_WIDTH: 0x00000000
[    1.690922] sunxi_mmc_set_ios 955 ++++++++++++_
[    1.695971] sunxi-mmc sdc1: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.706724] sunxi_mmc_set_ios 965 ++++++++++++_
[    1.711800] sunxi-mmc sdc1: REG_WIDTH: 0x00000000
[    1.718151] sunxi-mmc sdc0: cmd 8(80000148) arg 1aa ie 0x0000bbc6 len 0
[    1.725897] sunxi-mmc sdc0: irq: rq c1897e24 mi 00000004 idi 00000000
[    1.733161] sunxi-mmc sdc0: cmd 5(80000045) arg 0 ie 0x0000bbc6 len 0
[    1.740642] sunxi_mmc_probe 2164 ____________________
[    1.746282] sunxi-mmc sdc0: irq: rq c1897dd4 mi 00000104 idi 00000000
[    1.753447] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    1.759403] sunxi-mmc sdc0: cmd 5(80000045) arg 0 ie 0x0000bbc6 len 0
[    1.766707] sunxi_mmc_probe 2171 ____________________
[    1.772388] sunxi-mmc sdc0: irq: rq c1897dd4 mi 00000104 idi 00000000
[    1.779550] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    1.785430] sunxi-mmc sdc1: base:0xf1c10000 irq:107
[    1.790928] sunxi-mmc sdc0: cmd 5(80000045) arg 0 ie 0x0000bbc6 len 0
[    1.798906] sunxi-mmc sdc0: irq: rq c1897dd4 mi 00000104 idi 00000000
[    1.806071] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    1.812020] sunxi-mmc sdc0: cmd 5(80000045) arg 0 ie 0x0000bbc6 len 0
[    1.820004] sunxi-mmc sdc0: irq: rq c1897dd4 mi 00000100 idi 00000000
[    1.827283] sunxi-mmc sdc0: irq: rq c1897dd4 mi 00000004 idi 00000000
[    1.834448] sunxi-mmc sdc0: smc 0 p0 err, cmd 5, RTO !!
[    1.840402] sunxi-mmc sdc0: cmd 55(80000177) arg 0 ie 0x0000bbc6 len 0
[    1.848054] sunxi-mmc sdc0: irq: rq c1897d54 mi 00000004 idi 00000000
[    1.859978] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    1.868047] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    1.876033] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    1.883806] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    1.891573] sunxi-codec-machine sound.2: ASoC: DAPM unknown pin External Speaker
[    1.899884] sunxi-mmc sdc0: cmd 41(80000069) arg 0 ie 0x0000bbc6 len 0
[    1.907534] sunxi-mmc sdc0: irq: rq c1897dec mi 00000004 idi 00000000
[    1.914819] sunxi_mmc_set_ios 955 ++++++++++++_
[    1.919871] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[    1.930635] sunxi_mmc_set_ios 965 ++++++++++++_
[    1.935671] sunxi-mmc sdc0: REG_WIDTH: 0x00000000
[    1.948692] sunxi-codec-machine sound.2:  sun8iw10codec <-> 1c23c00.cpudai0-controller mapping ok
[    1.958753] sunxi-codec-machine sound.2: ASoC: no sink widget found for MainMic Bias
[    1.967433] sunxi-codec-machine sound.2: ASoC: Failed to add route External MainMic -> direct -> MainMic Bias
[    1.978486] sunxi-codec-machine sound.2: ASoC: no source widget found for MainMic Bias
[    1.987319] sunxi-codec-machine sound.2: ASoC: Failed to add route MainMic Bias -> direct -> MIC1P
[    1.997301] sunxi-codec-machine sound.2: ASoC: no source widget found for MainMic Bias
[    2.006132] sunxi-codec-machine sound.2: ASoC: Failed to add route MainMic Bias -> direct -> MIC1N
[    2.016237] sunxi_mmc_set_ios 955 ++++++++++++_
[    2.021360] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[    2.032114] sunxi_mmc_set_ios 965 ++++++++++++_
[    2.037151] sunxi-mmc sdc0: REG_WIDTH: 0x00000000
[    2.043531] sunxi-mmc sdc0: cmd 0(80008000) arg 0 ie 0x0000bbc6 len 0
[    2.051140] sunxi-mmc sdc0: irq: rq c1897d8c mi 00000004 idi 00000000
[    2.059353] sunxi_mmc_set_ios 955 ++++++++++++_
[    2.064485] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[    2.075238] sunxi_mmc_set_ios 965 ++++++++++++_
[    2.080272] sunxi-mmc sdc0: REG_WIDTH: 0x00000000
[    2.087899] ipip: IPv4 over IPv4 tunneling driver
[    2.094443] gre: GRE over IPv4 demultiplexor driver
[    2.099872] ip_gre: GRE over IPv4 tunneling driver
[    2.107689] TCP: cubic registered
[    2.111502] Initializing XFRM netlink socket
[    2.117412] sunxi-mmc sdc0: cmd 8(80000148) arg 1aa ie 0x0000bbc6 len 0
[    2.124909] NET: Registered protocol family 17
[    2.129879] sunxi-mmc sdc0: irq: rq c1897d94 mi 00000004 idi 00000000
[    2.137148] sunxi-mmc sdc0: cmd 55(80000177) arg 0 ie 0x0000bbc6 len 0
[    2.144565] NET: Registered protocol family 15
[    2.149527] sunxi-mmc sdc0: irq: rq c1897ce4 mi 00000004 idi 00000000
[    2.157389] VFP support v0.3: not present
[    2.162027] sunxi-mmc sdc0: cmd 41(80000069) arg 40030000 ie 0x0000bbc6 len 0
[    2.170289] sunxi-mmc sdc0: irq: rq c1897d7c mi 00000004 idi 00000000
[    2.178464] [LCD]lcd_module_init
[    2.186089] enhance_en=1
[    2.188966] matrixresult:(0x0, 0x3c4, 0x0, 0x0)
[    2.194244] pll_freq=297000000HZ, lcd_dclk_freq=33000000HZ, clk_div=9
[    2.201507] clk_div=9
[    2.204047] [DISP] disp_sys_gpio_request,line:303:    disp_sys_gpio_request failed, gpio_name=lcd_gpio_0, gpio=2043, ret=-517
[    2.217084] sunxi-mmc sdc0: cmd 55(80000177) arg 0 ie 0x0000bbc6 len 0
[    2.224747] sunxi-mmc sdc0: irq: rq c1897ce4 mi 00000004 idi 00000000
[    2.232876] [LCD]open, step 0 finish
[    2.236925] sunxi-mmc sdc0: cmd 41(80000069) arg 40030000 ie 0x0000bbc6 len 0
[    2.245261] sunxi-mmc sdc0: irq: rq c1897d7c mi 00000004 idi 00000000
[    2.252506] sunxi-mmc sdc0: cmd 2(800001c2) arg 0 ie 0x0000bbc6 len 0
[    2.260196] sunxi-mmc sdc0: irq: rq c1897d94 mi 00000004 idi 00000000
[    2.267428] sunxi-mmc sdc0: cmd 3(80000143) arg 0 ie 0x0000bbc6 len 0
[    2.274664] [LCD]open, step 1 finish
[    2.278661] sunxi-mmc sdc0: irq: rq c1897dbc mi 00000004 idi 00000000
[    2.285913] sunxi-mmc sdc0: cmd 9(800001c9) arg 10000 ie 0x0000bbc6 len 0
[    2.294114] sunxi-mmc sdc0: irq: rq c1897d6c mi 00000004 idi 00000000
[    2.301352] sunxi-mmc sdc0: cmd 7(80000147) arg 10000 ie 0x0000bbc6 len 0
[    2.309279] sunxi-mmc sdc0: irq: rq c1897dac mi 00000004 idi 00000000
[    2.316502] sunxi-mmc sdc0: cmd 55(80000177) arg 10000 ie 0x0000bbc6 len 0
[    2.324580] sunxi-mmc sdc0: irq: rq c1897c6c mi 00000004 idi 00000000
[    2.331818] sunxi-mmc sdc0: cmd 51(80002373) arg 0 ie 0x0000bbca len 8
[    2.339972] sunxi-mmc sdc0: irq: rq c1897d10 mi 00000008 idi 00000002
[    2.347227] [LCD]open, step 2 finish
[    2.351325] sunxi-mmc sdc0: cmd 55(80000177) arg 10000 ie 0x0000bbc6 len 0
[    2.359354] sunxi-mmc sdc0: irq: rq c1897c6c mi 00000004 idi 00000000
[    2.366655] sunxi-mmc sdc0: cmd 13(8000234d) arg 0 ie 0x0000bbca len 64
[    2.376066] sunxi-mmc sdc0: irq: rq c1897d10 mi 00000000 idi 00000002
[    2.383260] sunxi-mmc sdc0: irq: rq c1897d10 mi 00000008 idi 00000000
[    2.390723] sunxi-mmc sdc0: cmd 6(80002346) arg fffff0 ie 0x0000bbca len 64
[    2.400524] sunxi-mmc sdc0: irq: rq c1897d10 mi 00000000 idi 00000002
[    2.407712] sunxi-mmc sdc0: irq: rq c1897d10 mi 00000008 idi 00000000
[    2.414976] mmc0: host does not support reading read-only switch. assuming write-enable.
[    2.424078] sunxi-mmc sdc0: cmd 6(80002346) arg 80fffff1 ie 0x0000bbca len 64
[    2.434106] sunxi-mmc sdc0: irq: rq c1897d78 mi 00000000 idi 00000002
[    2.441300] sunxi-mmc sdc0: irq: rq c1897d78 mi 00000008 idi 00000000
[    2.448558] sunxi_mmc_set_ios 955 ++++++++++++_
[    2.453681] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing SD-HS(SDR25) dt B
[    2.464349] sunxi_mmc_set_ios 965 ++++++++++++_
[    2.469418] sunxi-mmc sdc0: REG_WIDTH: 0x00000000
[    2.474952] sun3iw1p1-pinctrl pio: missing allwinner,pins property in node pwm1
[    2.483204] platform pwm1.1: pinctrl_get failed!
[    2.488483] sunxi_mmc_set_ios 955 ++++++++++++_
[    2.493644] sunxi-mmc sdc0: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 1 timing SD-HS(SDR25) dt B
[    2.504539] sunxi_mmc_set_ios 965 ++++++++++++_
[    2.509582] sunxi-mmc sdc0: REG_WIDTH: 0x00000000
[    2.514913] ------------[ cut here ]------------
[    2.520111] WARNING: at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x28/0x4c()
[    2.527897] invalid GPIO -517
[    2.531223] Modules linked in:
[    2.534656] CPU: 0 PID: 9 Comm: kworker/0:1 Not tainted 3.10.65 #40
[    2.541682] Workqueue: events start_work
[    2.546037] Backtrace:
[    2.548811] [<c0013328>] (dump_backtrace+0x0/0x104) from [<c0013534>] (show_stack+0x18/0x1c)
[    2.558253]  r7:0000007e r6:c04a7758 r5:00000009 r4:c185bda8
[    2.564673] [<c001351c>] (show_stack+0x0/0x1c) from [<c03d6f70>] (dump_stack+0x20/0x28)
[    2.573686] [<c03d6f50>] (dump_stack+0x0/0x28) from [<c001b9dc>] (warn_slowpath_common+0x54/0x70)
[    2.583633] [<c001b988>] (warn_slowpath_common+0x0/0x70) from [<c001ba30>] (warn_slowpath_fmt+0x38/0x40)
[    2.594195]  r9:c061b718 r8:c04a864c r7:00000001 r6:00000000 r5:c18c8780
r4:fffffdfb
[    2.603022] [<c001b9f8>] (warn_slowpath_fmt+0x0/0x40) from [<c018bc20>] (gpio_to_desc+0x28/0x4c)
[    2.612807]  r3:fffffdfb r2:c04a7747
[    2.616856] [<c018bbf8>] (gpio_to_desc+0x0/0x4c) from [<c018bc90>] (gpio_get_value_cansleep+0x10/0x18)
[    2.627276] [<c018bc80>] (gpio_get_value_cansleep+0x0/0x18) from [<c019c78c>] (disp_sys_gpio_set_direction+0x20/0xb8)
[    2.639169] [<c019c76c>] (disp_sys_gpio_set_direction+0x0/0xb8) from [<c01b2cc0>] (disp_lcd_gpio_set_direction+0xa8/0xc8)
[    2.651396]  r5:c18c8780 r4:c1814000
[    2.655416] [<c01b2c18>] (disp_lcd_gpio_set_direction+0x0/0xc8) from [<c01ae6bc>] (bsp_disp_lcd_gpio_set_direction+0x38/0x44)
[    2.668011]  r7:c1814000 r6:c061b4a0 r5:00000001 r4:00000000
[    2.674399] [<c01ae684>] (bsp_disp_lcd_gpio_set_direction+0x0/0x44) from [<c01b91d8>] (sunxi_lcd_gpio_set_direction+0x20/0x30)
[    2.687095]  r5:00000000 r4:00000003
[    2.691164] [<c01b91b8>] (sunxi_lcd_gpio_set_direction+0x0/0x30) from [<c01bc924>] (LCD_bl_open+0x28/0x3c)
[    2.701986] [<c01bc8fc>] (LCD_bl_open+0x0/0x3c) from [<c0196340>] (drv_lcd_enable+0xa0/0xe0)
[    2.711418] [<c01962a0>] (drv_lcd_enable+0x0/0xe0) from [<c019648c>] (start_work+0x10c/0x1cc)
[    2.720933]  r9:c061b718 r8:c04a8669 r7:00000001 r6:c04a85f9 r5:c061b98c
r4:00000000
[    2.729683] [<c0196380>] (start_work+0x0/0x1cc) from [<c0031cc0>] (process_one_work+0x1e8/0x330)
[    2.739513] [<c0031ad8>] (process_one_work+0x0/0x330) from [<c0031e38>] (process_scheduled_works+0x30/0x34)
[    2.750379] [<c0031e08>] (process_scheduled_works+0x0/0x34) from [<c0032b78>] (worker_thread+0x1e0/0x358)
[    2.761045]  r5:c052abd0 r4:c1822e40
[    2.765061] [<c0032998>] (worker_thread+0x0/0x358) from [<c0037cf8>] (kthread+0xa8/0xb4)
[    2.774148] [<c0037c50>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[    2.783071]  r7:00000000 r6:00000000 r5:c0037c50 r4:c1849e7c
[    2.789392] ---[ end trace 8ca1c064165ef5f6 ]---
[    2.794556] ------------[ cut here ]------------
[    2.799702] WARNING: at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x28/0x4c()
[    2.807483] invalid GPIO -517
[    2.810809] Modules linked in:
[    2.814212] CPU: 0 PID: 9 Comm: kworker/0:1 Tainted: G        W    3.10.65 #40
[    2.822306] Workqueue: events start_work
[    2.826659] Backtrace:
[    2.829426] [<c0013328>] (dump_backtrace+0x0/0x104) from [<c0013534>] (show_stack+0x18/0x1c)
[    2.838864]  r7:0000007e r6:c04a7758 r5:00000009 r4:c185bda0
[    2.845268] [<c001351c>] (show_stack+0x0/0x1c) from [<c03d6f70>] (dump_stack+0x20/0x28)
[    2.854273] [<c03d6f50>] (dump_stack+0x0/0x28) from [<c001b9dc>] (warn_slowpath_common+0x54/0x70)
[    2.864206] [<c001b988>] (warn_slowpath_common+0x0/0x70) from [<c001ba30>] (warn_slowpath_fmt+0x38/0x40)
[    2.874781]  r9:c061b718 r8:c04a864c r7:00000001 r6:00000000 r5:c18c8780
r4:00000000
[    2.883583] [<c001b9f8>] (warn_slowpath_fmt+0x0/0x40) from [<c018bc20>] (gpio_to_desc+0x28/0x4c)
[    2.893388]  r3:fffffdfb r2:c04a7747
[    2.897394] [<c018bbf8>] (gpio_to_desc+0x0/0x4c) from [<c018c860>] (gpio_direction_output+0x14/0x20)
[    2.907627] [<c018c84c>] (gpio_direction_output+0x0/0x20) from [<c019c798>] (disp_sys_gpio_set_direction+0x2c/0xb8)
[    2.919256]  r5:c18c8780 r4:fffffdfb
[    2.923333] [<c019c76c>] (disp_sys_gpio_set_direction+0x0/0xb8) from [<c01b2cc0>] (disp_lcd_gpio_set_direction+0xa8/0xc8)
[    2.935563]  r5:c18c8780 r4:c1814000
[    2.939580] [<c01b2c18>] (disp_lcd_gpio_set_direction+0x0/0xc8) from [<c01ae6bc>] (bsp_disp_lcd_gpio_set_direction+0x38/0x44)
[    2.952189]  r7:c1814000 r6:c061b4a0 r5:00000001 r4:00000000
[    2.958530] [<c01ae684>] (bsp_disp_lcd_gpio_set_direction+0x0/0x44) from [<c01b91d8>] (sunxi_lcd_gpio_set_direction+0x20/0x30)
[    2.971234]  r5:00000000 r4:00000003
[    2.975253] [<c01b91b8>] (sunxi_lcd_gpio_set_direction+0x0/0x30) from [<c01bc924>] (LCD_bl_open+0x28/0x3c)
[    2.986071] [<c01bc8fc>] (LCD_bl_open+0x0/0x3c) from [<c0196340>] (drv_lcd_enable+0xa0/0xe0)
[    2.995508] [<c01962a0>] (drv_lcd_enable+0x0/0xe0) from [<c019648c>] (start_work+0x10c/0x1cc)
[    3.005021]  r9:c061b718 r8:c04a8669 r7:00000001 r6:c04a85f9 r5:c061b98c
r4:00000000
[    3.013818] [<c0196380>] (start_work+0x0/0x1cc) from [<c0031cc0>] (process_one_work+0x1e8/0x330)
[    3.023654] [<c0031ad8>] (process_one_work+0x0/0x330) from [<c0031e38>] (process_scheduled_works+0x30/0x34)
[    3.034522] [<c0031e08>] (process_scheduled_works+0x0/0x34) from [<c0032b78>] (worker_thread+0x1e0/0x358)
[    3.045194]  r5:c052abd0 r4:c1822e40
[    3.049207] [<c0032998>] (worker_thread+0x0/0x358) from [<c0037cf8>] (kthread+0xa8/0xb4)
[    3.058300] [<c0037c50>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[    3.067226]  r7:00000000 r6:00000000 r5:c0037c50 r4:c1849e7c
[    3.073605] ---[ end trace 8ca1c064165ef5f7 ]---
[    3.078726] gpiod_direction_output: invalid GPIO
[    3.083886] [DISP] disp_sys_gpio_set_direction,line:413:    gpio_direction_output fail!
[    3.092834] ------------[ cut here ]------------
[    3.097985] WARNING: at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x28/0x4c()
[    3.105769] invalid GPIO -517
[    3.109056] Modules linked in:
[    3.112499] CPU: 0 PID: 9 Comm: kworker/0:1 Tainted: G        W    3.10.65 #40
[    3.120604] Workqueue: events start_work
[    3.124957] Backtrace:
[    3.127723] [<c0013328>] (dump_backtrace+0x0/0x104) from [<c0013534>] (show_stack+0x18/0x1c)
[    3.137164]  r7:0000007e r6:c04a7758 r5:00000009 r4:c185bda8
[    3.143565] [<c001351c>] (show_stack+0x0/0x1c) from [<c03d6f70>] (dump_stack+0x20/0x28)
[    3.152547] [<c03d6f50>] (dump_stack+0x0/0x28) from [<c001b9dc>] (warn_slowpath_common+0x54/0x70)
[    3.162495] [<c001b988>] (warn_slowpath_common+0x0/0x70) from [<c001ba30>] (warn_slowpath_fmt+0x38/0x40)
[    3.173074]  r9:c061b718 r8:c04a864c r7:00000001 r6:00000000 r5:c18c8780
r4:00000001
[    3.181876] [<c001b9f8>] (warn_slowpath_fmt+0x0/0x40) from [<c018bc20>] (gpio_to_desc+0x28/0x4c)
[    3.191679]  r3:fffffdfb r2:c04a7747
[    3.195690] [<c018bbf8>] (gpio_to_desc+0x0/0x4c) from [<c018c44c>] (gpio_set_value_cansleep+0x14/0x20)
[    3.206116] [<c018c438>] (gpio_set_value_cansleep+0x0/0x20) from [<c019c888>] (disp_sys_gpio_set_value+0x18/0x4c)
[    3.217542]  r5:c18c8780 r4:c1814000
[    3.221642] [<c019c870>] (disp_sys_gpio_set_value+0x0/0x4c) from [<c01b2bf8>] (disp_lcd_gpio_set_value+0xa8/0xc8)
[    3.233110] [<c01b2b50>] (disp_lcd_gpio_set_value+0x0/0xc8) from [<c01ae678>] (bsp_disp_lcd_gpio_set_value+0x38/0x44)
[    3.244937]  r7:c1814000 r6:c061b4a0 r5:00000001 r4:00000000
[    3.251325] [<c01ae640>] (bsp_disp_lcd_gpio_set_value+0x0/0x44) from [<c01b91a8>] (sunxi_lcd_gpio_set_value+0x20/0x30)
[    3.263251]  r5:00000000 r4:00000003
[    3.267269] [<c01b9188>] (sunxi_lcd_gpio_set_value+0x0/0x30) from [<c01bc934>] (LCD_bl_open+0x38/0x3c)
[    3.277697] [<c01bc8fc>] (LCD_bl_open+0x0/0x3c) from [<c0196340>] (drv_lcd_enable+0xa0/0xe0)
[    3.287134] [<c01962a0>] (drv_lcd_enable+0x0/0xe0) from [<c019648c>] (start_work+0x10c/0x1cc)
[    3.296644]  r9:c061b718 r8:c04a8669 r7:00000001 r6:c04a85f9 r5:c061b98c
r4:00000000
[    3.305464] [<c0196380>] (start_work+0x0/0x1cc) from [<c0031cc0>] (process_one_work+0x1e8/0x330)
[    3.315281] [<c0031ad8>] (process_one_work+0x0/0x330) from [<c0031e38>] (process_scheduled_works+0x30/0x34)
[    3.326163] [<c0031e08>] (process_scheduled_works+0x0/0x34) from [<c0032b78>] (worker_thread+0x1e0/0x358)
[    3.336810]  r5:c052abd0 r4:c1822e40
[    3.340894] [<c0032998>] (worker_thread+0x0/0x358) from [<c0037cf8>] (kthread+0xa8/0xb4)
[    3.349903] [<c0037c50>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[    3.358846]  r7:00000000 r6:00000000 r5:c0037c50 r4:c1849e7c
[    3.365187] ---[ end trace 8ca1c064165ef5f8 ]---
[    3.370309] [LCD]open, step 3 finish
[    3.374513] sunxi-mmc sdc0: cmd 55(80000177) arg 10000 ie 0x0000bbc6 len 0
[    3.382286] sunxi-mmc sdc0: irq: rq c1897d14 mi 00000004 idi 00000000
[    3.389554] sunxi-mmc sdc0: cmd 6(80000146) arg 2 ie 0x0000bbc6 len 0
[    3.396797] sunxi-mmc sdc0: irq: rq c1897dac mi 00000004 idi 00000000
[    3.404018] sunxi_mmc_set_ios 955 ++++++++++++_
[    3.409096] sunxi-mmc sdc0: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 4 timing SD-HS(SDR25) dt B
[    3.419948] sunxi_mmc_set_ios 965 ++++++++++++_
[    3.425046] sunxi-mmc sdc0: REG_WIDTH: 0x00000001
[    3.430397] mmc0: new high speed SD card at address 0001
[    3.437500] mmcblk0: mmc0:0001 00000 1.83 GiB
[    3.444091] sunxi-mmc sdc0: cmd 18(80003352) arg 0 ie 0x0000fbc2 len 4096
[    3.452342] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[    3.459834]  mmcblk0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 >
[    3.468188] [LCD]lcd_module_init finish
[    3.472589] tv module init
[    3.477015] tv probe
[    3.479463] tv init
[    3.481928] gdisp.init_para.start_process
[    3.488100] sunxi_mmc_set_ios 955 ++++++++++++_
[    3.493366] sunxi-mmc sdc1: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.504147] sunxi_mmc_set_ios 965 ++++++++++++_
[    3.509224] sunxi-mmc sdc1: REG_WIDTH: 0x00000000
[    3.515403] sunxi-wlan wlan: wlan_busnum (0)
[    3.520175] sunxi-wlan wlan: wlan_power_num (0)
[    3.525377] sunxi-wlan wlan: Missing wlan_io_regulator.
[    3.531260] sunxi-wlan wlan: io_regulator_name ((null))
[    3.538259] sunxi-mmc sdc1: cmd 0(80008000) arg 0 ie 0x0000bbc6 len 0
[    3.545637] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed
[    3.553563] sunxi-mmc sdc1: irq: rq c1897e1c mi 00000004 idi 00000000
[    3.560815] ------------SUNXI_RF: Set regon for SUN3IW1P1_R6!----------------
[    3.568769] sunxi-wlan wlan: wlan_regon gpio=-1048151744  mul-sel=-1048257132  pull=-1048257176  drv_level=-1072827436  data=-1072829732
[    3.582467] sunxi-wlan wlan: can't request wlan_regon gpio 2041
[    3.590091] sunxi_mmc_set_ios 955 ++++++++++++_
[    3.595247] sunxi-mmc sdc1: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.606010] sunxi_mmc_set_ios 965 ++++++++++++_
[    3.611107] sunxi-mmc sdc1: REG_WIDTH: 0x00000000
[    3.616420] platform wlan: Driver sunxi-wlan requests probe deferral
[    3.623883] usb_serial_number:20080411
[    3.628683] file system registered
[    3.635355] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    3.643181] android_usb gadget: Number of LUNs=3
[    3.648321]  lun0: LUN: removable file: (no medium)
[    3.653797]  lun1: LUN: removable file: (no medium)
[    3.659243]  lun2: LUN: removable file: (no medium)
[    3.665912] sunxi_mmc_set_ios 955 ++++++++++++_
[    3.671072] sunxi-mmc sdc1: sdc set ios: clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.681873] sunxi_mmc_set_ios 965 ++++++++++++_
[    3.686910] sunxi-mmc sdc1: REG_WIDTH: 0x00000000
[    3.693050] android_usb gadget: android_usb ready
[    3.698745] sunxi-mmc sdc1: cmd 1(80000041) arg 0 ie 0x0000bbc6 len 0
[    3.706052] sunxi_i2c_do_xfer()923 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x51)
[    3.715315] sunxi-mmc sdc1: irq: rq c1897dfc mi 00000104 idi 00000000
[    3.722479] sunxi-mmc sdc1: smc 1 p1 err, cmd 1, RTO !!
[    3.728403] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    3.735136] rtc-pcf8563 0-0051: hctosys: unable to read the hardware clock
[    3.742878] sunxi_mmc_set_ios 955 ++++++++++++_
[    3.747930] sunxi-mmc sdc1: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    3.758223] sunxi_mmc_set_ios 965 ++++++++++++_
[    3.763316] sunxi_mmc_set_ios 1046 ++++++++++++_
[    3.768480] sunxi-mmc sdc1:  set sleep pins
[    3.773220] sunxi_mmc_set_ios 1066 ++++++++++++_
[    3.778379] sunxi_mmc_set_ios 1073 ++++++++++++_
[    3.783546] sunxi_mmc_set_ios 1083 ++++++++++++_
[    3.788662] sunxi_mmc_set_ios 1091 ++++++++++++_
[    3.793846] sunxi-mmc sdc1: power off!
[    3.798005] sunxi_mmc_set_ios 1093 ++++++++++++_
[    3.803171] sunxi-mmc sdc1: REG_WIDTH: 0x00000000
[    3.808662] ALSA device list:
[    3.812102]   #0: audiocodec
[    3.816065] Waiting 5sec before mounting root device...
[    8.831408] sunxi-mmc sdc0: cmd 18(80003352) arg 1ec0400 ie 0x0000fbc2 len 1024
[    8.840608] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[    8.849130] sunxi-mmc sdc0: cmd 18(80003352) arg 1ec0400 ie 0x0000fbc2 len 1024
[    8.858345] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[    8.866477] sunxi-mmc sdc0: cmd 18(80003352) arg 1ec0400 ie 0x0000fbc2 len 1024
[    8.875687] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[    8.883836] sunxi-mmc sdc0: cmd 18(80003352) arg 1ec0000 ie 0x0000fbc2 len 4096
[    8.893168] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[    8.901293] sunxi-mmc sdc0: cmd 18(80003352) arg 242f000 ie 0x0000fbc2 len 4096
[    8.910551] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[    8.918609] sunxi-mmc sdc0: cmd 18(80003352) arg 242e000 ie 0x0000fbc2 len 4096
[    8.927778] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[    8.935602] sunxi-mmc sdc0: cmd 18(80003352) arg 242d000 ie 0x0000fbc2 len 4096
[    8.944576] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[    8.952220] VFS: Mounted root (squashfs filesystem) readonly on device 179:7.
[    8.961581] sunxi-mmc sdc0: cmd 18(80003352) arg 242b000 ie 0x0000fbc2 len 4096
[    8.970883] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[    8.979262] devtmpfs: mounted
[    8.983745] Freeing unused kernel memory: 124K (c04fe000 - c051d000)
[    8.992228] sunxi-mmc sdc0: cmd 18(80003352) arg 20e0000 ie 0x0000fbc2 len 106496
[    9.006739] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[    9.042615] sunxi-mmc sdc0: cmd 18(80003352) arg 1ec1000 ie 0x0000fbc2 len 143360
[    9.058659] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[    9.101639] sunxi-mmc sdc0: cmd 18(80003352) arg 1f13000 ie 0x0000fbc2 len 139264
[    9.117788] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[    9.159801] sunxi-mmc sdc0: cmd 18(80003352) arg 1ee4000 ie 0x0000fbc2 len 118784
[    9.174588] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[    9.211964] sunxi-mmc sdc0: cmd 18(80003352) arg 1f35000 ie 0x0000fbc2 len 102400
[    9.226052] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[    9.263542] sunxi-mmc sdc0: cmd 18(80003352) arg 1fc3000 ie 0x0000fbc2 len 86016
[    9.277306] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[    9.358632] sunxi-mmc sdc0: cmd 18(80003352) arg 242c000 ie 0x0000fbc2 len 4096
[    9.367474] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
mount: mounting pstore on /sys/fs/pstore failed: No such file or directory
[    9.542070] sunxi-mmc sdc0: cmd 18(80003352) arg 37c0400 ie 0x0000fbc2 len 1024
[    9.550957] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
mount: mounting /dev/by-name/rootfs_data on /etc failed: Invalid argument
umount: can't unmount /etc: Invalid argument
Mount Failed: formating /dev/by-name/rootfs_data to ext4 ...
/pseudo_init: line 270: mkfs.ext4: not found
[    9.596545] sunxi-mmc sdc0: cmd 18(80003352) arg 1f4e000 ie 0x0000fbc2 len 184320
[    9.614687] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[    9.686185] sunxi-mmc sdc0: cmd 18(80003352) arg 1f01000 ie 0x0000fbc2 len 73728
[    9.699024] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
-- run rc.preboot --
-- set volume --
[    9.750165] sunxi-mmc sdc0: cmd 18(80003352) arg 20fa000 ie 0x0000fbc2 len 102400
[    9.764815] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
-- play music --
-- end --
[    9.813778] sunxi-mmc sdc0: cmd 18(80003352) arg 2113000 ie 0x0000fbc2 len 57344
[    9.826336] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
playing '/etc/kaiji.wav': 2 ch, 48000 hz, 16 bit
[   10.000319] sunxi-mmc sdc0: cmd 18(80003352) arg 5140400 ie 0x0000fbc2 len 1024
[   10.009131] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
/etc/init.d/rcS: line 119: mkfs.ext4: not found
[   10.039484] sunxi-mmc sdc0: cmd 18(80003352) arg 5140400 ie 0x0000fbc2 len 1024
[   10.048274] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[   10.449263] sunxi-mmc sdc0: cmd 17(80002351) arg 5140000 ie 0x0000bbca len 512
[   10.457926] sunxi-mmc sdc0: irq: rq c196d42c mi 00000008 idi 00000002
[   10.467244] sunxi-mmc sdc0: cmd 17(80002351) arg 5140200 ie 0x0000bbca len 512
[   10.475834] sunxi-mmc sdc0: irq: rq c196d42c mi 00000008 idi 00000002
[   10.484066] FAT-fs (mmcblk0p1): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
[   10.495695] sunxi-mmc sdc0: cmd 17(80002351) arg 5144000 ie 0x0000bbca len 512
[   10.504285] sunxi-mmc sdc0: irq: rq c196d42c mi 00000008 idi 00000002
[   10.512712] sunxi-mmc sdc0: cmd 18(80003352) arg 54c4000 ie 0x0000fbc2 len 4096
[   10.521624] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[   10.530373] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   10.636246] sunxi-mmc sdc0: cmd 18(80003352) arg 1fd8000 ie 0x0000fbc2 len 110592
[   10.650642] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[   10.691844] sunxi-mmc sdc0: cmd 18(80003352) arg 206c000 ie 0x0000fbc2 len 65536
[   10.704046] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[   10.736510] sunxi-mmc sdc0: cmd 18(80003352) arg 203b000 ie 0x0000fbc2 len 110592
[   10.751875] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[   10.795283] sunxi-mmc sdc0: cmd 18(80003352) arg 207c000 ie 0x0000fbc2 len 110592
[   10.809975] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[   10.972346] sunxi-mmc sdc0: cmd 18(80003352) arg 1ff3000 ie 0x0000fbc2 len 110592
[   10.987889] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[   11.036984] sunxi-mmc sdc0: cmd 18(80003352) arg 200e000 ie 0x0000fbc2 len 98304
[   11.051247] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[   11.098169] sunxi-mmc sdc0: cmd 18(80003352) arg 2026000 ie 0x0000fbc2 len 86016
[   11.111964] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[   11.165687] sunxi-mmc sdc0: cmd 18(80003352) arg 2056000 ie 0x0000fbc2 len 90112
[   11.179699] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[   11.308939] RTL871X: module init start
[   11.313311] RTL871X: rtl8723bs v4.4.0_17166.20160322_BTCOEX20151223-654a
[   11.320853] RTL871X: build time: Apr 12 2021 09:53:43
[   11.326456] RTL871X: rtl8723bs BT-Coex version = BTCOEX20151223-654a
[   11.333539] platform_wifi_power_on!
[   11.347945] Unable to handle kernel NULL pointer dereference at virtual address 00000054
[   11.357128] pgd = c1b2c000
[   11.360143] [00000054] *pgd=81b1a831, *pte=00000000, *ppte=00000000
[   11.367194] Internal error: Oops: 17 [#1] ARM
[   11.372023] Modules linked in: 8723bs(+) snd_pcm_oss snd_mixer_oss snd_seq_device
[   11.380364] CPU: 0 PID: 101 Comm: kmodloader Tainted: G        W    3.10.65 #40
[   11.388473] task: c1af22c0 ti: c1b18000 task.ti: c1b18000
[   11.394496] PC is at dev_driver_string+0xc/0x44
[   11.399529] LR is at __dev_printk+0x3c/0x6c
[   11.404175] pc : [<c01e20a8>]    lr : [<c01e2238>]    psr: 20000013
[   11.404175] sp : c1b19da8  ip : c1b19db8  fp : c1b19db4
[   11.416901] r10: 00000016  r9 : 00000000  r8 : 00000000
[   11.422697] r7 : bf153138  r6 : c06095a0  r5 : c1b19de0  r4 : 00000036
[   11.429934] r3 : c1b19ddc  r2 : c1b19de0  r1 : 00000010  r0 : 00000010
[   11.437172] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   11.445085] Control: 0005317f  Table: 81b2c000  DAC: 00000015
[   11.451451]
[   11.451451] PC: 0xc01e2028:
[   11.456186] 2028  e24b409c e1a05000 e1a06002 e1a00001 e3a02080 e1a01004 e1a07003 ebffffaf
[   11.465300] 2048  e3500000 e1a03000 e88d00c0 11a02004 03a02000 e1a01005 e3a00000 ebf8ed1d
[   11.474411] 2068  e24bd01c e89da8f0 e1a0c00d e92d000c e92dd800 e24cb00c e24dd008 e28b3008
[   11.483521] 2088  e59b2004 e50b3010 ebffffe0 e24bd00c e89da800 e1a0c00d e92dd800 e24cb004
[   11.492634] 20a8  e5903044 e3530000 0a000001 e5930000 e89da800 e5903040 e3530000 1afffffa
[   11.501743] 20c8  e59030cc e3530000 1afffff7 e59f0000 e89da800 c04971d0 e1a0c00d e92dd830
[   11.510854] 20e8  e24cb004 e5913008 e1a05001 e3530000 e2400008 03e04004 0a000006 e12fff33
[   11.519967] 2108  e3500a01 e1a04000 ba000002 e5951008 e59f0008 ebf9d0a8 e1a00004 e89da830
[   11.529083]
[   11.529083] LR: 0xc01e21b8:
[   11.533817] 21b8  089da830 e5903000 e3530000 089da830 e593303c e5942010 e2833084 e1520003
[   11.542926] 21d8  189da830 e59f0014 eb07db63 e1a00004 ebfe1a00 e59f0004 eb07db78 e89da830
[   11.552038] 21f8  c05f4258 e1a0c00d e92dd830 e24cb004 e24dd008 e3510000 e1a05002 1a000004
[   11.561152] 2218  e1a01000 e59f003c eb07cb85 e24bd014 e89da830 e5d04001 e1a00001 ebffff98
[   11.570264] 2238  e591202c e2444030 e3520000 05912008 e1a03000 e88d0024 e1a00004 e59f2008
[   11.579375] 2258  ebffff84 eafffff0 c04adb3c c04d1900 e1a0c00d e92d000c e92dd800 e24cb00c
[   11.588485] 2278  e24dd010 e28b3008 e50b3018 e59b3004 e24b2014 e50b3014 e24b3018 e50b3010
[   11.597598] 2298  ebffffd7 e24bd00c e89da800 e1a0c00d e92d000e e92dd800 e24cb010 e24dd014
[   11.606713]
[   11.606713] SP: 0xc1b19d28:
[   11.611445] 9d28  c1b19d4c c1b19d38 c000a314 c0010778 c001d870 60000013 c01e20a8 20000013
[   11.620556] 9d48  ffffffff c1b19d94 c1b19db4 c1b19d60 c000f4b8 c000a1a0 00000010 00000010
[   11.629665] 9d68  c1b19de0 c1b19ddc 00000036 c1b19de0 c06095a0 bf153138 00000000 00000000
[   11.638775] 9d88  00000016 c1b19db4 c1b19db8 c1b19da8 c01e2238 c01e20a8 20000013 ffffffff
[   11.647885] 9da8  c1b19dd4 c1b19db8 c01e2238 c01e20ac 00000000 00000000 c061f2ec bf187000
[   11.656995] 9dc8  c1b19df8 c1b19dd8 c01e24ec c01e220c 00000000 c1b19e00 c04aee28 c1b19ddc
[   11.666106] 9de8  c03d5078 c1b19e1c c1b19e08 c01f5b84 c01e24c4 c04aee28 c1970384 c1995e90
[   11.675217] 9e08  c1b18000 bf187000 c1b19e3c c1b19e20 bf0fb7b8 c01f5b64 c1b18000 bf187000
[   11.684330]
[   11.684330] IP: 0xc1b19d38:
[   11.689064] 9d38  c001d870 60000013 c01e20a8 20000013 ffffffff c1b19d94 c1b19db4 c1b19d60
[   11.698174] 9d58  c000f4b8 c000a1a0 00000010 00000010 c1b19de0 c1b19ddc 00000036 c1b19de0
[   11.707282] 9d78  c06095a0 bf153138 00000000 00000000 00000016 c1b19db4 c1b19db8 c1b19da8
[   11.716392] 9d98  c01e2238 c01e20a8 20000013 ffffffff c1b19dd4 c1b19db8 c01e2238 c01e20ac
[   11.725504] 9db8  00000000 00000000 c061f2ec bf187000 c1b19df8 c1b19dd8 c01e24ec c01e220c
[   11.734610] 9dd8  00000000 c1b19e00 c04aee28 c1b19ddc c03d5078 c1b19e1c c1b19e08 c01f5b84
[   11.743720] 9df8  c01e24c4 c04aee28 c1970384 c1995e90 c1b18000 bf187000 c1b19e3c c1b19e20
[   11.752832] 9e18  bf0fb7b8 c01f5b64 c1b18000 bf187000 c06095a0 bf153138 c1b19e54 c1b19e40
[   11.761945]
[   11.761945] FP: 0xc1b19d34:
[   11.766679] 9d34  c0010778 c001d870 60000013 c01e20a8 20000013 ffffffff c1b19d94 c1b19db4
[   11.775789] 9d54  c1b19d60 c000f4b8 c000a1a0 00000010 00000010 c1b19de0 c1b19ddc 00000036
[   11.784896] 9d74  c1b19de0 c06095a0 bf153138 00000000 00000000 00000016 c1b19db4 c1b19db8
[   11.794007] 9d94  c1b19da8 c01e2238 c01e20a8 20000013 ffffffff c1b19dd4 c1b19db8 c01e2238
[   11.803115] 9db4  c01e20ac 00000000 00000000 c061f2ec bf187000 c1b19df8 c1b19dd8 c01e24ec
[   11.812225] 9dd4  c01e220c 00000000 c1b19e00 c04aee28 c1b19ddc c03d5078 c1b19e1c c1b19e08
[   11.821336] 9df4  c01f5b84 c01e24c4 c04aee28 c1970384 c1995e90 c1b18000 bf187000 c1b19e3c
[   11.830448] 9e14  c1b19e20 bf0fb7b8 c01f5b64 c1b18000 bf187000 c06095a0 bf153138 c1b19e54
[   11.839561]
[   11.839561] R2: 0xc1b19d60:
[   11.844295] 9d60  00000010 00000010 c1b19de0 c1b19ddc 00000036 c1b19de0 c06095a0 bf153138
[   11.853402] 9d80  00000000 00000000 00000016 c1b19db4 c1b19db8 c1b19da8 c01e2238 c01e20a8
[   11.862515] 9da0  20000013 ffffffff c1b19dd4 c1b19db8 c01e2238 c01e20ac 00000000 00000000
[   11.871628] 9dc0  c061f2ec bf187000 c1b19df8 c1b19dd8 c01e24ec c01e220c 00000000 c1b19e00
[   11.880738] 9de0  c04aee28 c1b19ddc c03d5078 c1b19e1c c1b19e08 c01f5b84 c01e24c4 c04aee28
[   11.889852] 9e00  c1970384 c1995e90 c1b18000 bf187000 c1b19e3c c1b19e20 bf0fb7b8 c01f5b64
[   11.898961] 9e20  c1b18000 bf187000 c06095a0 bf153138 c1b19e54 c1b19e40 bf18704c bf0fb7b0
[   11.908071] 9e40  c1b18000 bf187000 c1b19e94 c1b19e58 c000a4d4 bf187010 c1b19e84 bf1530f0
[   11.917186]
[   11.917186] R3: 0xc1b19d5c:
[   11.921918] 9d5c  c000a1a0 00000010 00000010 c1b19de0 c1b19ddc 00000036 c1b19de0 c06095a0
[   11.931027] 9d7c  bf153138 00000000 00000000 00000016 c1b19db4 c1b19db8 c1b19da8 c01e2238
[   11.940139] 9d9c  c01e20a8 20000013 ffffffff c1b19dd4 c1b19db8 c01e2238 c01e20ac 00000000
[   11.949249] 9dbc  00000000 c061f2ec bf187000 c1b19df8 c1b19dd8 c01e24ec c01e220c 00000000
[   11.958359] 9ddc  c1b19e00 c04aee28 c1b19ddc c03d5078 c1b19e1c c1b19e08 c01f5b84 c01e24c4
[   11.967471] 9dfc  c04aee28 c1970384 c1995e90 c1b18000 bf187000 c1b19e3c c1b19e20 bf0fb7b8
[   11.976583] 9e1c  c01f5b64 c1b18000 bf187000 c06095a0 bf153138 c1b19e54 c1b19e40 bf18704c
[   11.985695] 9e3c  bf0fb7b0 c1b18000 bf187000 c1b19e94 c1b19e58 c000a4d4 bf187010 c1b19e84
[   11.994805]
[   11.994805] R5: 0xc1b19d60:
[   11.999537] 9d60  00000010 00000010 c1b19de0 c1b19ddc 00000036 c1b19de0 c06095a0 bf153138
[   12.008646] 9d80  00000000 00000000 00000016 c1b19db4 c1b19db8 c1b19da8 c01e2238 c01e20a8
[   12.017752] 9da0  20000013 ffffffff c1b19dd4 c1b19db8 c01e2238 c01e20ac 00000000 00000000
[   12.026865] 9dc0  c061f2ec bf187000 c1b19df8 c1b19dd8 c01e24ec c01e220c 00000000 c1b19e00
[   12.035973] 9de0  c04aee28 c1b19ddc c03d5078 c1b19e1c c1b19e08 c01f5b84 c01e24c4 c04aee28
[   12.045082] 9e00  c1970384 c1995e90 c1b18000 bf187000 c1b19e3c c1b19e20 bf0fb7b8 c01f5b64
[   12.054193] 9e20  c1b18000 bf187000 c06095a0 bf153138 c1b19e54 c1b19e40 bf18704c bf0fb7b0
[   12.063303] 9e40  c1b18000 bf187000 c1b19e94 c1b19e58 c000a4d4 bf187010 c1b19e84 bf1530f0
[   12.072414]
[   12.072414] R6: 0xc0609520:
[   12.077146] 9520  c034ee44 c05273d8 c03473dc c0347380 c0634b00 c02ff3d4 c02ff4d8 c0634b00
[   12.086258] 9540  c0344124 c034414c c0634b00 c0333c7c c0333c90 c0634b00 c0308ce8 c0308cf8
[   12.095367] 9560  c0634b00 c02ff51c c02ff5c0 c0634b00 c02fbc3c c02fbcd8 c0634b00 c02faf00
[   12.104477] 9580  c02faf18 c0634b00 00000000 00000000 00000000 00000000 00000000 00000000
[   12.113586] 95a0  00000000 c06c7db8 00000000 00000000 00000000 c06c7ba0 c06c7d40 00000000
[   12.122694] 95c0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.131802] 95e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.140906] 9600  00000000 00000000 0b300007 00000000 00000001 00000000 c0609618 00000000
[   12.150026] Process kmodloader (pid: 101, stack limit = 0xc1b181b8)
[   12.156977] Stack: (0xc1b19da8 to 0xc1b1a000)
[   12.215832] 9da0:                   c1b19dd4 c1b19db8 c01e2238 c01e20ac 00000000 00000000
[   12.225955] 9dc0: c061f2ec bf187000 c1b19df8 c1b19dd8 c01e24ec c01e220c 00000000 c1b19e00
[   12.236001] 9de0: c04aee28 c1b19ddc c03d5078 c1b19e1c c1b19e08 c01f5b84 c01e24c4 c04aee28
[   12.246084] 9e00: c1970384 c1995e90 c1b18000 bf187000 c1b19e3c c1b19e20 bf0fb7b8 c01f5b64
[   12.256145] 9e20: c1b18000 bf187000 c06095a0 bf153138 c1b19e54 c1b19e40 bf18704c bf0fb7b0
[   12.266237] 9e40: c1b18000 bf187000 c1b19e94 c1b19e58 c000a4d4 bf187010 c1b19e84 bf1530f0
[   12.276367] 9e60: c1b19f48 c1b00000 bf153138 bf1530f0 c1b19f48 c1b00000 bf153138 c1b0019c
[   12.286403] 9e80: 00000000 00000016 c1b19f44 c1b19e98 c0054e5c c000a3c8 bf1530fc 00007fff
[   12.296490] 9ea0: c0051fc8 c1b19ed8 ffffffff 000123b7 bf153230 c49e22d8 c00529c0 00000028
[   12.306541] 9ec0: c1b18000 bf1530fc c1b19fa4 c1b19ed8 c000f520 c000a2e8 c49d1220 00000000
[   12.316636] 9ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.326765] 9f00: 00000000 00000000 00000000 00000000 00000000 00000000 20000013 b6d65010
[   12.336802] 9f20: 000123b7 001b3328 00000080 c000fa28 c1b18000 00000000 c1b19fa4 c1b19f48
[   12.346882] 9f40: c0055518 c0053a1c c482f000 001b3328 c49e1fb8 c49e1f08 c498765c 00144c1c
[   12.356939] 9f60: 0015cdcc 00000000 00000000 00000000 00000014 00000015 0000000f 00000000
[   12.367032] 9f80: 0000000a 00000000 00000001 00000000 00000000 00000004 00000000 c1b19fa8
[   12.377149] 9fa0: c000f8a0 c0055458 00000000 00000000 b6d65010 001b3328 000123b7 0000b307
[   12.387191] 9fc0: 00000000 00000000 00000004 00000080 001b3328 00000000 b6f4de50 00000000
[   12.397284] 9fe0: beab4c2c beab4c10 00011ae8 b6f874cc 60000010 b6d65010 00000000 00000000
[   12.406535] Backtrace:
[   12.409333] [<c01e209c>] (dev_driver_string+0x0/0x44) from [<c01e2238>] (__dev_printk+0x3c/0x6c)
[   12.419223] [<c01e21fc>] (__dev_printk+0x0/0x6c) from [<c01e24ec>] (_dev_info+0x3c/0x48)
[   12.428274]  r5:bf187000 r4:c061f2ec
[   12.432344] [<c01e24b0>] (_dev_info+0x0/0x48) from [<c01f5b84>] (sunxi_wlan_get_bus_index+0x30/0x4c)
[   12.442518]  r3:c1995e90 r2:c1970384 r1:c04aee28
[   12.449372] [<c01f5b54>] (sunxi_wlan_get_bus_index+0x0/0x4c) from [<bf0fb7b8>] (platform_wifi_power_on+0x18/0xa0 [8723bs])
[   12.461725]  r5:bf187000 r4:c1b18000
[   12.469091] [<bf0fb7a0>] (platform_wifi_power_on+0x0/0xa0 [8723bs]) from [<bf18704c>] (init_module+0x4c/0x110 [8723bs])
[   12.481164]  r7:bf153138 r6:c06095a0 r5:bf187000 r4:c1b18000
[   12.489181] [<bf187000>] (init_module+0x0/0x110 [8723bs]) from [<c000a4d4>] (do_one_initcall+0x11c/0x148)
[   12.499897]  r5:bf187000 r4:c1b18000
[   12.503958] [<c000a3b8>] (do_one_initcall+0x0/0x148) from [<c0054e5c>] (load_module+0x1450/0x1a3c)
[   12.513984] [<c0053a0c>] (load_module+0x0/0x1a3c) from [<c0055518>] (SyS_init_module+0xd0/0xd4)
[   12.523713] [<c0055448>] (SyS_init_module+0x0/0xd4) from [<c000f8a0>] (ret_fast_syscall+0x0/0x2c)
[   12.533614]  r6:00000004 r5:00000000 r4:00000000
[   12.539644] Code: e89da800 e1a0c00d e92dd800 e24cb004 (e5903044)
[   12.546620] ---[ end trace 8ca1c064165ef5f9 ]---
Segmentation fault
-- run rc.final --
insmod F1C200s-board
-- wifi connect --
insmod wifi kernel module --------------------
insmod: can't insert '/lib/modules/3.10.65/xradio_wlan.ko': No such file or directory
start wpa_supplicant ------------------------
[   12.672994] sunxi-mmc sdc0: cmd 18(80003352) arg 22c4000 ie 0x0000fbc2 len 139264
[   12.689079] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[   12.732999] android_usb: already disabled
[   12.776341] sunxi-mmc sdc0: cmd 18(80003352) arg 2308000 ie 0x0000fbc2 len 40960
[   12.787439] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[   12.801115] adb_open
[   12.803584] adb_bind_config
[   12.823864] sunxi-mmc sdc0: cmd 18(80003352) arg 236b000 ie 0x0000fbc2 len 118784
[   12.839556] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
[   12.880054] sunxi-mmc sdc0: cmd 18(80003352) arg 22e6000 ie 0x0000fbc2 len 139264
[   12.896566] sunxi-mmc sdc0: irq: rq c196d42c mi 00004000 idi 00000002
Successfully initialized wpa_supplicant
Line 6: Invalid passphrase length 6 (expected: 8..63) '******"'.
Line 6: failed to parse psk '"******"'.
Line 7: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant.conf'.
start udhcpc ----------------
-- end --


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

udhcpc: SIOCGIFINDEX: No such device
 _____  _              __     _
|_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
  | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
  | |  | || | || _ |  |_____||_||_|_||___||_,_|
  |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!
 ----------------------------------------------
 Tina Linux (Neptune, 5C1C9C53)
 ----------------------------------------------
root@TinaLinux:/#

QQ图片20210420223504.jpg

离线

楼主 #13 2021-04-20 23:06:43

无根浮萍
会员
注册时间: 2021-01-14
已发帖子: 62
积分: 31

Re: tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

TINY200开发板使用1bit SD NAND 【分享】
http://whycan.com/t_6301.html


用这个帖子的方法, 把固件烧到雷龙 1bit的 sd nand 也一样能正常启动,

看来主线Linux的mmc驱动比全志的shit tina 驱动更好用?

离线

#14 2021-04-22 00:52:24

grantho
会员
注册时间: 2020-03-21
已发帖子: 67
积分: 13.5

Re: tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

sd0我试过是可以烧录可以正常使用的,sd1没试过

离线

#15 2022-01-31 13:24:38

tigger
Moderator
注册时间: 2021-06-18
已发帖子: 172
积分: 111

Re: tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

修改 sys_config.fex 的 sdc1 io口驱动能力,或许能解决这个问题?

离线

#16 2022-03-11 16:04:32

wakerze
会员
注册时间: 2022-02-28
已发帖子: 9
积分: 4

Re: tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

一直很怀疑sys_config.fex到底管用吗

离线

#17 2022-06-30 23:06:55

黄粱梦
会员
注册时间: 2020-03-17
已发帖子: 45
积分: 39

Re: tiny200开发板跑tina3.5, 使用 芯天下/雷龙 sdnand芯片从SDC1启动(1BIT模式), 启动失败,但是烧录正常

_20220630230447.png

_20220630230609.png

我的mmc1 1bit sd nand也挂了, 不知道为啥.

离线

页脚

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

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