您尚未登录。

#1 Re: 全志 SOC » 求助大佬,tina3.5下的codec的设备树配置 » 2021-08-18 18:17:38

@jshxcn
这样配置系统启动时候,提示了 /soc/codec@0x01c23c00: arguments longer than property,是不是有什么问题

#2 Re: 全志 SOC » 为了精华特意制作F1c200s-MP4播放器,支持硬件H264(开源板子和原理给个精华) » 2021-08-18 11:55:17

@webb_2002
大佬,请问一下,你的Tina的音频部分是怎么样配置的,求指导

#3 Re: 全志 SOC » 求助大佬,tina3.5下的codec的设备树配置 » 2021-08-17 15:03:27

哇酷小二 说:

感觉应该是有一个 gpio-spk 控制功放? 驱动申请这个gpio失败,然后就报错?

是的,系统启动时,都提示找不到引脚的配置,我感觉是设备树那里出了问题,但是又不知道怎么样设置,不知道大佬是否可以指点一、二

[    1.812277] sun3iw1p1-pinctrl pio: missing allwinner,pins property in node daudio0
[    1.821023] sun3iw1p1-pinctrl pio: missing allwinner,pins property in node daudio0
[    1.829434] [daudio]request pinctrl handle 
[    1.833953] for audio failed
[    1.837390] sunxi-daudio: probe of daudio0 failed with error -22
[    1.845580] sunxi-internal-codec codec: ASoC: DAPM unknown pin HPOUTR
[    1.852866] sunxi-internal-codec codec: ASoC: DAPM unknown pin HPOUTL
[    1.860022] sunxi-internal-codec codec: ASoC: DAPM unknown pin SPKL
[    1.867027] sunxi-internal-codec codec: ASoC: DAPM unknown pin SPKR
[    1.874025] sunxi-codec-machine sndcodec: ASoC: DAPM unknown pin External Speaker
[    1.882688] sunxi-internal-cpudai cpudai: ASoC: pcm constructor failed: -12
[    1.890430] sunxi-codec-machine sndcodec: ASoC: can't create pcm SUNXI-CODEC :-12
[    1.898823] sunxi-codec-machine sndcodec: ASoC: failed to instantiate card -12

#4 Re: 全志 SOC » 求助大佬,tina3.5下的codec的设备树配置 » 2021-08-17 15:00:18

@jshxcn
我这边尝试一下,还是不行,还是不能识别到引脚,而且在系统启动时,还是报了引脚不能识别,不知设备树那边漏了什么

1.845580] sunxi-internal-codec codec: ASoC: DAPM unknown pin HPOUTR
[    1.852866] sunxi-internal-codec codec: ASoC: DAPM unknown pin HPOUTL
[    1.860022] sunxi-internal-codec codec: ASoC: DAPM unknown pin SPKL
[    1.867027] sunxi-internal-codec codec: ASoC: DAPM unknown pin SPKR

#5 全志 SOC » 求助大佬,tina3.5下的codec的设备树配置 » 2021-07-30 17:26:01

linux小白
回复: 5

如题,有没有大佬知道tina3.5设备树(硬件荔枝派nano)下面,codec的节点是怎么样配置的,下面是我这边的配置,但是这个配置似乎有问题,所以系统启动时报了[    0.631099] failed to get gpio-spk and gpio_num这个错误

codec:codec@0x01c23c00 {
			compatible = "allwinner,sunxi-internal-codec";
			reg = <0x0 0x01c23c00 0x0 0x9c>;/*digital baseadress*/
			clocks = <&clk_pll_audio>, <&clk_codec>;
			gpio_shdn = <0>;
			headphonevol = <0x3b>;
			spkervol = <0x1b>;
			maingain = <0x4>;
			hp_dirused = <0x0>;
			pa_sleep_time = <0x15e>;
			status = "okay";
		};

#6 Re: 全志 SOC » 有没有人在F1C100S上成功使用过音频 » 2021-07-30 10:36:55

zzm24 说:

我正在用,I2S从模式配合CPLD输出PCM和DSD,自己写驱动,不用设备树.F1C的I2S从模式好用,比较稳定.

请问一下,驱动文件在哪有呢

#7 Re: 全志 SOC » 请教一下大佬们,关于F1C100S的音频驱动问题 » 2021-07-29 10:33:07

staunchheart 说:

我用TINA+F1C100S也是搞定这个声音,
V3S 的可以,手册上的配置好好像不对。

我也感觉配置文件怪怪的,大佬,你有没有tina下的f1c200设备树配置文件,能不能发我一份,谢谢了

#8 Re: 全志 SOC » 有没有人在F1C100S上成功使用过音频 » 2021-07-29 10:31:37

大佬,有没有设备树的配置信息,我这边音频引脚好像配置不成功

#9 Re: 全志 SOC » 问题求助 tina下播放音频 » 2021-07-15 16:24:56

哇酷小二 说:

这就尴尬了.gif

那大佬你知不知道硬解码,注册不了的原因有那些吗

[    0.656036] [daudio]request pinctrl handle 
[    0.660529] for audio failed
[    0.663960] sunxi-daudio: probe of daudio0 failed with error -22
[    0.672137] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    0.680083] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    0.688114] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    0.695900] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    0.703690] sunxi-codec-machine sound.2: ASoC: DAPM unknown pin External Speaker
[    0.712254] sunxi-internal-cpudai 1c23c00.cpudai0-controller: ASoC: pcm constructor failed: -12
[    0.722008] sunxi-codec-machine sound.2: ASoC: can't create pcm SUNXI-CODEC :-12
[    0.730221] sunxi-codec-machine sound.2: ASoC: failed to instantiate card -12

#10 Re: 全志 SOC » 问题求助 tina下播放音频 » 2021-07-15 15:29:25

sd卡起不来

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.240]pmbus:   ready
axp: get node[/soc/pmu0] error
axp_probe error
[0.247]PMU: cpux 408 Mhz,AXI=408 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz 
DRAM:  32 MiB
[0.256]fdt addr: 0x809e7ca0
[0.258]gd->fdt_size: 0xc0e0
Relocation Offset is: 01524000
axp: get node[/soc/pmu0] error
int sunxi_dma_init---
irq enable
[0.328]flash init start
workmode = 17,storage type = 1
try card 1
[0.334][mmc]: mmc driver ver 2018-6-1 17:39:00
SUNXI SD/MMC: 1
[0.351][mmc]: ************Try SD card 1************
[mmc]: mmc 1 cmd 8 timeout, err 100
[mmc]: smc 1 err, cmd 8,  RTO
[mmc]: mmc 1 close bus gating and reset
[mmc]: mmc 1 mmc cmd 8 err 0x00000100
[0.370][mmc]: mmc send if cond failed
[mmc]: mmc 1 cmd 55 timeout, err 100
[mmc]: smc 1 err, cmd 55,  RTO
[mmc]: mmc 1 close bus gating and reset
[mmc]: mmc 1 mmc cmd 55 err 0x00000100
[0.387][mmc]: send app cmd failed
[0.390][mmc]: ************Try MMC card 1************
[mmc]: mmc 1 cmd 1 timeout, err 100
[mmc]: smc 1 err, cmd 1,  RTO
[mmc]: mmc 1 close bus gating and reset
[mmc]: mmc 1 mmc cmd 1 err 0x00000100
[0.412][mmc]: read op condition failed
[0.415][mmc]: mmc send op cond failed
Card did not respond to voltage select!
[0.422][mmc]: ************SD/MMC 1 init error!!!************
[0.428][mmc]: mmc_init_boot: mmc int fail
[0.432][mmc]: mmc_init: mmc init fail, err -17
MMC init failed
try emmc fail
[0.439]NAND_UbootProbe start...
[0.442]NB1 : enter phy init
[0.444]nand_physic_init
[0.448]nand0: get node offset error
[0.451]init nctri NAND PIORequest error!
[0.455]nand_physic_init, init nctri error
[0.459]nand_physic_init init_parameter error
[0.463]nand_physic_init error -1
[0.466]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
[0.473]uboot: nand version: 3 6008 20180610 1300
[0.490]request spi gpio  ok!
int sunxi_dma_init---
irq enable
[0.495]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c7c
[0.503]request general tx dma channel ok!
[0.506]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c
[0.514]request general rx dma channel ok!
[0.518]SPI nand ID: 400b1840 18400b18
[0.521]_SearchNandArchi fail
[0.524][ERR]SpiNandHwInit: SCN_AnalyzeNandSystem() failed!
[0.529]SpiNandHwInit: End Nand Hardware initializing ..... FAIL!
[0.535]NB1 : nand phy init fail
[0.538]NB1 : enter phy Exit
nand release dma:81db8c7c
nand release dma:0
sunxi dma exit
[0.546]NAND_UbootProbe end: 0xffffffff
try nand fail
flash size =0x8000 sectors
sunxi spinor is initing...int sunxi_dma_init---
irq enable
sunxi_dma_install_int ok
sunxi_dma_install_int ok
OK
spinor id:0x18400b
spi_freq = 40000000
spinor id is 18400b 
try nor successed 
[0.571][mmc]: mmc driver ver 2018-6-1 17:39:00
SUNXI SD/MMC: 1, SUNXI SD/MMC: 0
[0.592][mmc]: ************Try SD card 0************
[0.612][mmc]: host caps: 0x27
[0.615][mmc]: MID 03 PSN da4dc9d3
[0.618][mmc]: PNM SC16G -- 0x53-43-31-36-47
[0.622][mmc]: PRV 8.0
[0.624][mmc]: MDT m-10 y-2020
[0.626][mmc]: user capacity  : 15193 MB
[0.630][mmc]: SD/MMC 0 init OK!!!
[0.636][mmc]: End mmc_init_boot
mmc init ok
used mbr [0], count = 8
[0.644]flash init end
[0.646]try to burn key
out of usb burn from boot: not boot mode
logo addr = 0x81f00000
sunxi_read_bootlogo: read bootlogo partition successful
[0.708]inter uboot shell
Hit any key to stop autoboot:  0 
work mode=0x11
run card sprite
try sprite_led_gpio config
[0.719]sunxi sprite begin
[0.726]firmware probe ok
[0.728]fetch download map
*************DOWNLOAD MAP DUMP************
total download part 4

download part[0] name          :bootlogo
download part[0] download file :BOOTLOGO_FEX0000
download part[0] verify file   :VBOOTLOGO_FEX000
download part[0] lenlo         :0x400
download part[0] addrlo        :0x2000
download part[0] encrypt       :0x0
download part[0] verify        :0x1

download part[1] name          :env
download part[1] download file :ENV_FEX000000000
download part[1] verify file   :VENV_FEX00000000
download part[1] lenlo         :0x200
download part[1] addrlo        :0x2400
download part[1] encrypt       :0x0
download part[1] verify        :0x1

download part[2] name          :boot
download part[2] download file :BOOT_FEX00000000
download part[2] verify file   :VBOOT_FEX0000000
download part[2] lenlo         :0x3000
download part[2] addrlo        :0x2600
download part[2] encrypt       :0x0
download part[2] verify        :0x1

download part[3] name          :rootfs
download part[3] download file :ROOTFS_FEX000000
download part[3] verify file   :VROOTFS_FEX00000
download part[3] lenlo         :0xc800
download part[3] addrlo        :0x5600
download part[3] encrypt       :0x0
download part[3] verify        :0x1

[0.842]fetch mbr
sunxi sprite error : buffer is smaller than data size
sunxi sprite error : read mbr failed
sunxi sprite error : fetch mbr error
sprite_test - do a sprite test

sunxi#

#11 Re: 全志 SOC » 问题求助 tina下播放音频 » 2021-07-15 15:19:28

哇酷小二 说:

@linux小白
烧录过程一样的,声卡内置的,一般没啥问题。

我是用全志提供烧录工具的的,然后烧录到flash的
3.png

#12 Re: 全志 SOC » 问题求助 tina下播放音频 » 2021-07-15 15:01:54

linux小白 说:
哇酷小二 说:

你的 tina版本是多少?


烧一个这个试一试:
F1C100s tina3 程序, 请教屏闪是怎么回事?
https://whycan.com/t_3156.html

tina3的,好的,谢谢大佬,我试试看

不行啊,大佬我这烧不进去,用的是荔枝派nano

#13 Re: 全志 SOC » 问题求助 tina下播放音频 » 2021-07-15 14:57:01

哇酷小二 说:

你的 tina版本是多少?


烧一个这个试一试:
F1C100s tina3 程序, 请教屏闪是怎么回事?
https://whycan.com/t_3156.html

tina3的,好的,谢谢大佬,我试试看

#14 Re: 全志 SOC » 问题求助 tina下播放音频 » 2021-07-15 14:18:10

哇酷小二 说:

你是不是改了啥?按默认配置,tina跑音频播放没有问题。

我就按照文档配置了内核还有sys_config.fex
1.png
2.png

#15 全志 SOC » 问题求助 tina下播放音频 » 2021-07-15 12:57:55

linux小白
回复: 14

求助大佬,有没有大佬知道f1c100s的音频配置,下面是我配置好之后产生的问题,我不太清楚还要什么地方没有配置,我都是按照官方的文档来配置的,进入系统后输入下面的命令,然后又报出打不开驱动的提示

root@TinaLinux:~#
root@TinaLinux:~# aplay -D plughw:0,0 FormatFactoryPart1.wav 
Playing WAVE 'FormatFactoryPart1.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
aplay: pcm_write:1940: write error: I/O error
root@TinaLinux:~#
root@TinaLinux:~# aplay FormatFactoryPart1.wav 
ALSA lib pcm_direct.c:1824:(_snd_pcm_direct_get_slave_ipc_offset) Invalid value for card
aplay: main:722: audio open error: No such device

启动日志的信息

[    0.626023] failed to get gpio-spk and gpio_num
[    0.631203] headphonevol:59,spkervol:27,maingain:4,pa_sleep_time:350
[    0.639105] sun3iw1p1-pinctrl pio: missing allwinner,pins property in node daudio0
[    0.647848] sun3iw1p1-pinctrl pio: missing allwinner,pins property in node daudio0
[    0.656341] [daudio]request pinctrl handle 
[    0.660838] for audio failed
[    0.664272] sunxi-daudio: probe of daudio0 failed with error -22
[    0.672451] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    0.680505] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    0.688433] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    0.696210] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    0.704001] sunxi-codec-machine sound.2: ASoC: DAPM unknown pin External Speaker
[    0.712572] sunxi-internal-cpudai 1c23c00.cpudai0-controller: ASoC: pcm constructor failed: -12
[    0.722325] sunxi-codec-machine sound.2: ASoC: can't create pcm SUNXI-CODEC :-12
[    0.730587] sunxi-codec-machine sound.2: ASoC: failed to instantiate card -12
[    0.738888] snd_soc_register_card failed -12
[    0.743764] sunxi-codec-machine: probe of sound.2 failed with error -12

#16 Re: 全志 SOC » 请教一下大佬们,关于F1C100S的音频驱动问题 » 2021-05-06 12:02:46

哇酷小二 说:

先测下这些固件能不能放声音

大佬,请问一下你知道在sun3iw1_daudio.c这个文件中下面这个位置失败的原因是什么吗

//代码太长我就不完全粘出来了
static int __init sunxi_daudio_platform_probe(struct platform_device *pdev){
....
	if (!sunxi_daudio->pinctrl) {
		sunxi_daudio->pinctrl = devm_pinctrl_get(&pdev->dev);
		if (IS_ERR_OR_NULL(sunxi_daudio->pinctrl)) {
			pr_warn("[daudio]request pinctrl handle ");
			pr_warn("for audio failed\n");
			return -EINVAL;
		}
	}
...
}

#17 Re: 全志 SOC » 请教一下大佬们,关于F1C100S的音频驱动问题 » 2021-05-06 11:03:25

哇酷小二 说:

先测下这些固件能不能放声音

还不是不能啊,,

#18 Re: 全志 SOC » 请教一下大佬们,关于F1C100S的音频驱动问题 » 2021-05-06 09:58:42

哇酷小二 说:

发一个 widora tiny200 tina3.5 固件@spi nor flash
http://whycan.com/t_6221.html
(出处:哇酷开发者社区)


F1C100s tina3 程序, 请教屏闪是怎么回事?
http://whycan.com/t_3156.html#p38277
(出处:哇酷开发者社区)

啊,,大佬,这个都是一些视频的,而且和我的问题好像没啥关系

#19 Re: 全志 SOC » 请教一下大佬们,关于F1C100S的音频驱动问题 » 2021-05-06 09:46:30

哇酷小二 说:

tina 编译的估计默认就已经驱动了集成声卡上面的麦克风和喇叭。

enmm,那我用Tina里面自带的播放音频程序的时候,提示了pcm找不到

root@TinaLinux:/etc# tinyplay kaiji.wav 
failed to open for pcm 0,0

#20 Re: 全志 SOC » 请教一下大佬们,关于F1C100S的音频驱动问题 » 2021-05-06 09:17:05

哇酷小二 说:

什么问题呢?

无法将芯片的音频驱动内核编入内核,我在/dev/snd目录下看到啥东西都没有的,大佬请问一下,知道这是怎么回事嘛

#21 全志 SOC » 请教一下大佬们,关于F1C100S的音频驱动问题 » 2021-04-30 15:32:17

linux小白
回复: 11

求助论坛大佬!!!
有没有大佬弄过tina下的F1C100S的音频驱动配置,
我把Device Drivers->Sound card support->Advanced Linux Sound Architecture->ALSA for audio support->Allwinner SoC Audio support都选上了,还是没法驱动声卡,系统启动时还提示了failed to open for pcm 0,0,但是我在系统内核中并没有找到找到这个驱动选项。
下面系统的启动过程

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 (cotodo@cotodo) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #17 Fri Apr 16 01:44:20 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: failed to reserve 32 MiB
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat c056ed0c, node_mem_map c059e000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    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: 8128
[    0.000000] Kernel command line: enforcing=1 earlyprintk=sunxi-uart,0x01c25000 initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/nandd init=/pseudo_init rdinit=/rdinit partitions=bootlogo@nanda:env@nandb:boot@nandc:rootfs@nandd:rootfs_data@nande:misc@nandf:private@nandg:UDISK@nandh cma=32M fb_base=0x81f00000 androidboot.serialno=0000000000000000000 boot_type=5
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 32MB = 32MB total
[    0.000000] Memory: 26580k/26580k available, 6188k 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 : 0xc2800000 - 0xff000000   ( 968 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0468f74   (4484 kB)
[    0.000000]       .init : 0xc0469000 - 0xc04864e4   ( 118 kB)
[    0.000000]       .data : 0xc0488000 - 0xc056f688   ( 926 kB)
[    0.000000]        .bss : 0xc056f688 - 0xc059db80   ( 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.005325] Calibrating delay loop... 275.25 BogoMIPS (lpj=1376256)
[    0.075248] pid_max: default: 32768 minimum: 301
[    0.080432] Mount-cache hash table entries: 512
[    0.086392] CPU: Testing write buffer coherency: ok
[    0.092174] Setting up static identity map for 0xc0368ad0 - 0xc0368b28
[    0.101481] devtmpfs: initialized
[    0.106978] pinctrl core: initialized pinctrl subsystem
[    0.112843] NET: Registered protocol family 16
[    0.117999] DMA: failed to allocate 256 KiB pool for atomic coherent allocation
[    0.126036] dump_class_init,844, success
[    0.134696] sun3iw1p1-pinctrl pio: initialized sunXi PIO driver
[    0.158243] bio: create slab <bio-0> at 0
[    0.163717] pwm module init!
[    0.168263] usbcore: registered new interface driver usbfs
[    0.174151] usbcore: registered new interface driver hub
[    0.179955] usbcore: registered new device driver usb
[    0.185551] Linux video capture interface: v2.00
[    0.190533] Advanced Linux Sound Architecture Driver Initialized.
[    0.198670] cfg80211: Calling CRDA to update world regulatory domain
[    0.206156] Switching to clocksource sun3i high-res couter
[    0.231082] get det_vbus is fail, 84
[    0.236553] NET: Registered protocol family 2
[    0.243235] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.250346] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.257013] TCP: Hash tables configured (established 512 bind 512)
[    0.263576] TCP: reno registered
[    0.266976] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.273094] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.280158] NET: Registered protocol family 1
[    0.300223] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.306965] msgmni has been set to 51
[    0.314365] io scheduler noop registered
[    0.318535] io scheduler cfq registered (default)
[    0.323515] [pm]aw_pm_init!
[    0.326796] [pm]valid
[    0.329204] [pm]valid
[    0.332026] [DISP]disp_module_init
[    0.342700] num_screens=1
[    0.345469] screen_id=0
[    0.348043] para->mclk[MOD_CLK_LCD1CH0]=0xc180c300
[    0.353089] para->mclk[MOD_CLK_LCD1CH1]=0xc180c400
[    0.358044] disp tv init
[    0.360708] tcon_clk=0xc180c300, tcon_clk_parent=0x0
[    0.365884] tcon_clk=0xc180c300, tcon_clk_parent=0xc18043c0
[    0.371632] tve_clk=0xc180c400, tve_clk_parent=0xc18043c0
[    0.377229] disp al tv init
[    0.383038] fetch script datadisp.screen2_output_type fail
[    0.389016] fetch script datadisp.screen2_output_mode fail
[    0.397380] fetch script datadisp.fb2_format fail
[    0.402640] fetch script datadisp.fb2_scaler_mode_enable fail
[    0.408875] fetch script datadisp.fb2_width fail
[    0.414035] fetch script datadisp.fb2_height fail
[    0.420075] [DISP]disp_module_init finish
[    0.438553] uart0: ttyS0 at MMIO 0x1c25000 (irq = 104) is a SUNXI
[    0.444995] sw_console_setup()1324 - console setup baud 115200 parity n bits 8, flow n
[    0.453218] console [ttyS0] enabled, bootconsole disabled
[    0.453218] console [ttyS0] enabled, bootconsole disabled
[    0.465766] misc dump reg init
[    0.471060] [NAND]SPIC0_BASE_ADDR f1c05000
[    0.476372] Failed to get dragonboard_flag
[    0.480922] [NAND]nand init start
[    0.484681] SpiNandHwInit: Start Nand Hardware initializing Nov  4 2018 05:15:38.....
[    0.493408] kernel: nand version: 3 6019 20181104 1256
[    0.499111] print_level is no used
[    0.502922] request spi gpio  ok!
[    0.506595] request tx DMA
[    0.509600] request general tx dma channel ok!
[    0.514560] request rx DMA
[    0.517563] request general rx dma channel ok!
[    0.522514] NAND_ClkRequest
[    0.525655] NAND_ClkRequest: get pll6 rate 200000000HZ
[    0.531429] SPI nand ID: 21aaef 0
[    0.535193] [SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffbfffff 
[    0.543149] id_number_ctl is no used
[    0.547112] _UpdateExtAccessFreqPara: no para.
[    0.552727] PHY_Scan_DelayMode: right delay mode 0x0
[    0.558705] PHY_Scan_DelayMode: right delay mode 0x800
[    0.564530] _get_spic_clk_v1: sclk0=0x32
[    0.568891] PHY_Scan_DelayMode: right delay mode,clk 50 MHz, bit[13]=0,bit[11]=0
[    0.577142] physic_info_read start!!
[    0.581135] physic_info_get_offset start!!
[    0.590438] physic_info_get_one_copy start!!
[    0.596247] block 13 page 40
[    0.599938] block 13 page 41
[    0.603707] block 13 page 42
[    0.607410] block 13 page 43
[    0.611102] block 13 page 44
[    0.614879] block 13 page 45
[    0.618568] block 13 page 46
[    0.622344] block 13 page 47
[    0.626039] block 13 page 48
[    0.629729] block 13 page 49
[    0.633496] block 13 page 50
[    0.637206] block 13 page 51
[    0.640895] block 13 page 52
[    0.644665] block 13 page 53
[    0.648354] block 13 page 54
[    0.652074] block 13 page 55
[    0.656429] physic info copy is ok
[    0.660223] 
[    0.660223] 
[    0.663614] [SCAN_DBG] ==============Nand Architecture Parameter==============
[    0.671629] [SCAN_DBG]    Nand Chip ID:         0xff21aaef 0xffffffff
[    0.678808] [SCAN_DBG]    Nand Chip Count:      0x1
[    0.684246] [SCAN_DBG]    Nand Chip Connect:    0x1
[    0.689653] [SCAN_DBG]    Sector Count Of Page: 0x4
[    0.695085] [SCAN_DBG]    Page Count Of Block:  0x40
[    0.700587] [SCAN_DBG]    Block Count Of Die:   0x400
[    0.706211] [SCAN_DBG]    Plane Count Of Die:   0x2
[    0.711615] [SCAN_DBG]    Die Count Of Chip:    0x1
[    0.717044] [SCAN_DBG]    Bank Count Of Chip:   0x1
[    0.722474] [SCAN_DBG]    Optional Operation:   0x6d
[    0.727975] [SCAN_DBG]    Access Frequence:     0x32
[    0.733500] [SCAN_DBG] =======================================================
[    0.733500] 
[    0.774957] secure storage updata ok!
[    0.779046] nand secure storage ok: 58,59
[    0.783587] start block:60
[    0.786598] [ND]boot start 
[    0.789695] [ND]boot :0xc1920000
[    0.793316] [ND]boot->magic :0xaa55a5a5
[    0.797567] [ND]boot->len :0x8000
[    0.801238] [ND]boot->no_use_block :0x21
[    0.805614] [ND]boot->uboot_start_block :0x8
[    0.810347] [ND]boot->uboot_next_block :0x3a
[    0.815106] [ND]boot->logic_start_block :0x21
[    0.819935] [ND]mbr len :4096
[    0.823250] [ND]_PARTITION len :2560
[    0.827212] [ND]_NAND_STORAGE_INFO len :512
[    0.831870] [ND]_FACTORY_BLOCK len :2048
[    0.836300] [NE]partition_num: 0,size :0x36e00,cross_talk 0
[    0.842526] [NE]part mbr size: 0x2000 type: 0
[    0.847358] [NE]part bootlogo size: 0x400 type: 0
[    0.852604] [NE]part env size: 0x200 type: 0
[    0.857338] [NE]part boot size: 0x3000 type: 0
[    0.862292] [NE]part rootfs size: 0xc800 type: 0
[    0.867414] [NE]part rootfs_data size: 0xc800 type: 0
[    0.873042] [NE]part misc size: 0x200 type: 0
[    0.877872] [NE]part private size: 0x200 type: 0
[    0.883017] [NE]part UDISK size: 0x18400 type: 0
[    0.888267] [ND]partition->size :224768
[    0.892551] [ND]partition->cross_talk :0
[    0.896896] [ND]partition->attribute :0
[    0.901146] [ND]partition->start.Chip_NO :0
[    0.905808] [ND]partition->start.Block_NO :33
[    0.910637] [ND]partition->end.Chip_NO :0
[    0.915107] [ND]partition->end.Block_NO :511
[    0.919840] [ND]partition->nand_disk[0].size :8192
[    0.925175] [ND]partition->nand_disk[0].type :0
[    0.930198] [ND]partition->nand_disk[1].size :1024
[    0.935531] [ND]partition->nand_disk[1].type :0
[    0.940552] [ND]partition->nand_disk[2].size :512
[    0.945789] [ND]partition->nand_disk[2].type :0
[    0.950810] [ND]partition->nand_disk[3].size :12288
[    0.956241] [ND]partition->nand_disk[3].type :0
[    0.961263] [ND]partition->nand_disk[4].size :51200
[    0.966694] [ND]partition->nand_disk[4].type :0
[    0.971716] [ND]partition->nand_disk[5].size :51200
[    0.977147] [ND]partition->nand_disk[5].type :0
[    0.982192] [ND]partition->nand_disk[6].size :512
[    0.987406] [ND]partition->nand_disk[6].type :0
[    0.992449] [ND]partition->nand_disk[7].size :512
[    0.997661] [ND]partition->nand_disk[7].type :0
[    1.002712] [ND]partition->nand_disk[8].size :99328
[    1.008118] [ND]partition->nand_disk[8].type :0
[    1.013168] [ND]partition->nand_disk[9].size :-1
[    1.018286] [ND]partition->nand_disk[9].type :-1
[    1.023427] [ND]partition->nand_disk[10].size :-1
[    1.028641] [ND]partition->nand_disk[10].type :-1
[    1.033876] [ND]partition->nand_disk[11].size :-1
[    1.039090] [ND]partition->nand_disk[11].type :-1
[    1.044329] [ND]partition->nand_disk[12].size :-1
[    1.049544] [ND]partition->nand_disk[12].type :-1
[    1.054780] [ND]partition->nand_disk[13].size :-1
[    1.059995] [ND]partition->nand_disk[13].type :-1
[    1.065233] [ND]partition->nand_disk[14].size :-1
[    1.070447] [ND]partition->nand_disk[14].type :-1
[    1.075684] [ND]partition->nand_disk[15].size :-1
[    1.080897] [ND]partition->nand_disk[15].type :-1
[    1.086135] [ND]partition->nand_disk[16].size :-1
[    1.091348] [ND]partition->nand_disk[16].type :-1
[    1.096586] [ND]partition->nand_disk[17].size :-1
[    1.101800] [ND]partition->nand_disk[17].type :-1
[    1.107039] [ND]partition->nand_disk[18].size :-1
[    1.112277] [ND]partition->nand_disk[18].type :-1
[    1.117490] [ND]partition->nand_disk[19].size :-1
[    1.122729] [ND]partition->nand_disk[19].type :-1
[    1.127943] [ND]partition->nand_disk[20].size :-1
[    1.133182] [ND]partition->nand_disk[20].type :-1
[    1.138395] [ND]partition->nand_disk[21].size :-1
[    1.143633] [ND]partition->nand_disk[21].type :-1
[    1.148847] [ND]partition->nand_disk[22].size :-1
[    1.154086] [ND]partition->nand_disk[22].type :-1
[    1.159301] [ND]partition->nand_disk[23].size :-1
[    1.164538] [ND]partition->nand_disk[23].type :-1
[    1.169752] [ND]phy_partition->PartitionNO :0
[    1.174604] [ND]phy_partition->SectorNumsPerPage :8
[    1.180008] [ND]phy_partition->PageNumsPerBlk :64
[    1.185245] [ND]phy_partition->TotalBlkNum :479
[    1.190266] [ND]phy_partition->FullBitmapPerPage :8
[    1.195694] [ND]phy_partition->FreeBlock :0
[    1.200330] [ND]phy_partition->TotalSectors :224768
[    1.205759] [ND]phy_partition->StartBlock.Chip_NO :0
[    1.211261] [ND]phy_partition->StartBlock.Block_NO :33
[    1.216979] [ND]phy_partition->EndBlock.Chip_NO :0
[    1.222312] [ND]phy_partition->EndBlock.Block_NO :511
[    1.227911] [ND]phy_partition->next_phy_partition :0
[    1.233438] [ND]phy_partition->PartitionNO 0  FACTORY BAD BLOCK:
[    1.240096] [ND]phy_partition->PartitionNO 0  NEW BAD BLOCK:
[    1.246394] [ND]build 1 phy_partition !
[    1.250646] [ND]nand_info->type :0
[    1.254441] [ND]nand_info->SectorNumsPerPage :8
[    1.259461] [ND]nand_info->BytesUserData :16
[    1.264218] [ND]nand_info->PageNumsPerBlk :64
[    1.269046] [ND]nand_info->BlkPerChip :512
[    1.273616] [ND]nand_info->FirstBuild :0
[    1.277964] [ND]nand_info->FullBitmap :0
[    1.282338] [ND]nand_info->bad_block_addr.Chip_NO :0
[    1.287838] [ND]nand_info->bad_block_addr.Block_NO :0
[    1.293459] [ND]nand_info->mbr_block_addr.Chip_NO :0
[    1.298961] [ND]nand_info->mbr_block_addr.Block_NO :0
[    1.304583] [ND]nand_info->no_used_block_addr.Chip_NO :0
[    1.310470] [ND]nand_info->no_used_block_addr.Block_NO :33
[    1.316572] [ND]nand_info->new_bad_block_addr.Chip_NO :0
[    1.322484] [ND]nand_info->new_bad_block_addr.Block_NO :0
[    1.328468] [ND]nand_info->new_bad_page_addr :65535
[    1.333896] [ND]nand_info->partition_nums :1
[    1.338627] [ND]sizeof partition:2384
[    1.342706] [ND]nand_info->partition:0:
[    1.346956] [ND]size:0x36e00
[    1.350147] [ND]cross_talk:0x0
[    1.353551] [ND]attribute:0x0
[    1.356841] [ND]start: chip:0 block:33
[    1.360994] [ND]end  : chip:0 block:511
[    1.365268] [ND]boot :0xc1920000
[    1.368846] [ND]boot->magic :0xaa55a5a5
[    1.373118] [ND]boot->len :0x8000
[    1.376791] [ND]boot->no_use_block :0x21
[    1.381137] [ND]boot->uboot_start_block :0x8
[    1.385894] [ND]boot->uboot_next_block :0x3a
[    1.390625] [ND]boot->logic_start_block :0x21
[    1.395478] [ND]mbr len :4096
[    1.398765] [ND]_PARTITION len :2560
[    1.402751] [ND]_NAND_STORAGE_INFO len :512
[    1.407385] [ND]_FACTORY_BLOCK len :2048
[    1.412133] [ND]nand_partition0
[    1.415796] [ND]nftl start:479,40
[    1.419701] [ND]first
[    1.561237] [ND]before second 479 439.
[    1.643124] [NE]recover_phy_page_mapping no used page 33!!
[    1.649228] [ND]recover 451 33
[    1.652696] [ND]free block nums is 451 !
[    1.657049] [NE]not power on gc 451!
[    1.661007] [ND]nftl ok!
[    1.663940] [ND]max_erase_times = 65000
[    1.670719]  nanda: unknown partition table
[    1.678125]  nandb: unknown partition table
[    1.685570]  nandc: unknown partition table
[    1.692879]  nandd: unknown partition table
[    1.699152]  nande: unknown partition table
[    1.705517]  nandf: unknown partition table
[    1.712869]  nandg: unknown partition table
[    1.719151]  nandh: unknown partition table
[    1.724744] [NAND]nand init end
[    1.729048] lradc_battery_probe:lradc_battery_probe ++++++
[    1.735263] lradc_battery_dts_parse:lradc_battery_dts_parse ++++++
[    1.742211] key base: f1c23400
[    1.745736] irq num: 114 !
[    1.748743] battery_data_hw_init:battery_data_hw_init ++++++
[    1.755136] lradc_battery_probe:lradc_battery_probe ------
[    1.761767] usbcore: registered new interface driver asix
[    1.767906] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.775624] ehci-platform: EHCI generic platform driver
[    1.781678] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.789248] zero gadget: Gadget Zero, version: Cinco de Mayo 2008
[    1.796122] zero gadget: zero ready
[    1.800560] /soc/usbc0@0: could not find phandle
[    1.805793] get regulator_io is no nocare
[    1.810394] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[    1.818423] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[    1.830165] hub 1-0:1.0: USB hub found
[    1.834502] hub 1-0:1.0: 1 port detected
[    1.839366] wrn: hcd is not enable, need not stop hcd
[    1.847720] failed to get gpio-spk and gpio_num
[    1.852900] headphonevol:59,spkervol:27,maingain:4,pa_sleep_time:350
[    1.860811] sun3iw1p1-pinctrl pio: missing allwinner,pins property in node daudio0
[    1.869561] sun3iw1p1-pinctrl pio: missing allwinner,pins property in node daudio0
[    1.878054] [daudio]request pinctrl handle 
[    1.882539] for audio failed
[    1.885971] sunxi-daudio: probe of 1c22000.daudio failed with error -22
[    1.894804] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    1.902861] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    1.910789] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    1.918566] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    1.926329] sunxi-codec-machine sound.2: ASoC: DAPM unknown pin External Speaker
[    1.934894] sunxi-internal-cpudai 1c23c00.cpudai0-controller: ASoC: pcm constructor failed: -12
[    1.944646] sunxi-codec-machine sound.2: ASoC: can't create pcm SUNXI-CODEC :-12
[    1.952902] sunxi-codec-machine sound.2: ASoC: failed to instantiate card -12
[    1.961203] snd_soc_register_card failed -12
[    1.966076] sunxi-codec-machine: probe of sound.2 failed with error -12
[    1.974186] ipip: IPv4 over IPv4 tunneling driver
[    1.980550] gre: GRE over IPv4 demultiplexor driver
[    1.986090] ip_gre: GRE over IPv4 tunneling driver
[    1.993764] TCP: cubic registered
[    1.997459] Initializing XFRM netlink socket
[    2.002362] NET: Registered protocol family 17
[    2.007382] NET: Registered protocol family 15
[    2.012854] VFP support v0.3: not present
[    2.018493] [LCD]lcd_module_init
[    2.026199] [LCD]lcd_module_init finish
[    2.030825] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    2.038207] ALSA device list:
[    2.041514]   No soundcards found.
[    2.052074] VFS: Mounted root (squashfs filesystem) readonly on device 93:48.
[    2.064305] devtmpfs: mounted
[    2.068323] Freeing unused kernel memory: 116K (c0469000 - c0486000)
mount: mounting none on /dev failed: Resource busy
mount: mounting pstore on /sys/fs/pstore failed: No such file or directory
mount: mounting /dev/by-name/rootfs_data on /overlay failed: Invalid argument
Mount Failed: formating /dev/by-name/rootfs_data to ext4 ...
mke2fs 1.42.12 (29-Aug-2014)
[    3.691121] EXT4-fs (nande): mounted filesystem with ordered data mode. Opts: (null)
-- run rc.preboot --
-- set volume --
Failed to open mixer
-- play music --
-- end --
failed to open for pcm 0,0
mke2fs 1.42.12 (29-Aug-2014)
[    6.692062] EXT4-fs (nandh): mounted filesystem with ordered data mode. Opts: (null)
[    7.004420] usbip_core: module is from the staging directory, the quality is unknown, you have been warned.
[    7.026495] usbip_core: USB/IP Core v1.0.0
[    7.041223] usbip_host: module is from the staging directory, the quality is unknown, you have been warned.
[    7.062946] usbcore: registered new interface driver usbip-host
[    7.069554] usbip_host: USB/IP Host Driver v1.0.0
[    7.088435] vhci_hcd: module is from the staging directory, the quality is unknown, you have been warned.
[    7.123030] vhci_hcd vhci_hcd: USB/IP Virtual Host Controller
[    7.129453] vhci_hcd vhci_hcd: new USB bus registered, assigned bus number 2
[    7.161479] hub 2-0:1.0: USB hub found
[    7.172242] hub 2-0:1.0: 8 ports detected
[    7.191470] vhci_hcd: USB/IP 'Virtual' Host Controller (VHCI) Driver v1.0.0
-- run rc.final --
insmod F1C200s-board
ax88772c start....
cat /sys/devices/soc/usbc0/usb_host
[    8.251888] 
[    8.251888] insmod_host_driver
[    8.251888] 
[    8.259089] /soc/usbc0@0: could not find phandle
[    8.264352] get regulator_io is no nocare
host_chose finished!
start udhcpc ---------------------
-- end --

页脚

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

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