ffplay 说:https://whycan.cn/files/members/1935/QQ图片20191105195154.jpg
参数没问题的,启动log都显示出来了
我现在只在怀疑framebuffer的大小了
暂时还不知道在哪改,明天弄些图片刷刷再测试下这个界面不错噢,请问用的是什么GUI ?
这个不是gui,是开机logo
最近还研究了一下f1c100s的音频,我的系统是4.15,这个是不是代表声卡驱动已经安装了。
https://whycan.cn/files/members/1315/none.png
如果4.15有驱动那之后的版本应该带了驱动,只是没有安装alsa库。你可以这样试下有没有声音cat /dev/dsp > /dev/dsp,如果有沙沙声代表驱动已经安装。
4.15驱动识别的是loopback声卡,应该不是有效的驱动
使用make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j4编译,在arch/arm/boot底下找不到zlmage,arch/arm/boot/dts下未见.dtb文件,我直接搬这个驱动可以吗
使用的4.15内核,参考chonghttps://whycan.cn/t_1672.html大神的.config文件配置,https://whycan.cn/files/members/1833/IMG_20190905_095554.jpeg,但是测量荔枝派的HPL,HPR只有高电平,有大大知道荔枝派的音频参考吗
图放错了,日志如下:
# aplay -D plughw:0,0 mean.wav
Playing WAVE 'mean.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
使用的4.15内核,参考chonghttps://whycan.cn/t_1672.html大神的.config文件配置,,但是测量荔枝派的HPL,HPR只有高电平,有大大知道荔枝派的音频参考吗
晕哥 说:我测试过是一样可以用。
不能识别是什么情况, Linux不识别, 还是不能启动。电脑上linux可以识别,windows也可以识别,按照荔枝派的sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8指令烧uboot,启动不了,会报mmc_init: -110, time 99这种错误。
然后通过spi flash启动进内核,插拔普通tf都可以识别,插拔emmc转tf就不可以识别(想问下您这张emmc转tf在进内核后能正常识别吗),会报如下错误:
sunxi-mmc 1c0f000.mmc: exceeding card's volts
mmc0: error -110 whilst initialising MMC card
会不会是我这张emmc转tf有问题还是使用了emmc转tf需要修改相应驱动呢
这是我的小卡
我测试过是一样可以用。
不能识别是什么情况, Linux不识别, 还是不能启动。
电脑上linux可以识别,windows也可以识别,按照荔枝派的sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8指令烧uboot,启动不了,会报mmc_init: -110, time 99这种错误。
然后通过spi flash启动进内核,插拔普通tf都可以识别,插拔emmc转tf就不可以识别(想问下您这张emmc转tf在进内核后能正常识别吗),会报如下错误:
sunxi-mmc 1c0f000.mmc: exceeding card's volts
mmc0: error -110 whilst initialising MMC card
会不会是我这张emmc转tf有问题还是使用了emmc转tf需要修改相应驱动呢
再次用@chong提供的内核编译一次
启动日志## Flattened Device Tree blob at 80c00000 Booting using the fdt blob at 0x80c00000 Loading Device Tree to 80e61000, end 80e65d8e ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.19.0-rc3-licheepi-nano (root@LicheepiNano) (gcc version 6.4.1 20180425 [linaro-6.4-2018.05 revision 7b15d0869c096fe39603ad63dc19ab7cf035eb70] (Linaro GCC 6.4-2018.05)) #1 Thu Sep 27 22:10:44 CST 2018 [ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] OF: fdt: Machine model: Lichee Pi Nano [ 0.000000] Memory policy: Data cache writeback [ 0.000000] random: get_random_bytes called from start_kernel+0x84/0x400 with crng_init=0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 rw [ 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: 22676K/32768K available (6144K kernel code, 248K rwdata, 1516K rodata, 1024K init, 239K bss, 10092K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xc2800000 - 0xff800000 ( 976 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc2000000 ( 32 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (7136 kB) [ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB) [ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 249 kB) [ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 240 kB) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000045] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000111] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000545] Console: colour dummy device 80x30 [ 0.001125] console [tty0] enabled [ 0.001226] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048) [ 0.050293] pid_max: default: 32768 minimum: 301 [ 0.050665] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.050746] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.052063] CPU: Testing write buffer coherency: ok [ 0.053839] Setting up static identity map for 0x80100000 - 0x80100058 [ 0.057873] devtmpfs: initialized [ 0.062835] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.062983] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.063318] pinctrl core: initialized pinctrl subsystem [ 0.065410] NET: Registered protocol family 16 [ 0.066712] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.068365] cpuidle: using governor menu [ 0.088871] SCSI subsystem initialized [ 0.089272] usbcore: registered new interface driver usbfs [ 0.089476] usbcore: registered new interface driver hub [ 0.089728] usbcore: registered new device driver usb [ 0.090290] pps_core: LinuxPPS API ver. 1 registered [ 0.090376] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.090503] PTP clock support registered [ 0.090977] Advanced Linux Sound Architecture Driver Initialized. [ 0.092385] clocksource: Switched to clocksource timer [ 0.119370] NET: Registered protocol family 2 [ 0.120654] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes) [ 0.120802] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.120877] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.120933] TCP: Hash tables configured (established 1024 bind 1024) [ 0.121250] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.121348] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.121872] NET: Registered protocol family 1 [ 0.123408] RPC: Registered named UNIX socket transport module. [ 0.123509] RPC: Registered udp transport module. [ 0.123548] RPC: Registered tcp transport module. [ 0.123576] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.125584] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.127482] Initialise system trusted keyrings [ 0.128141] workingset: timestamp_bits=30 max_order=13 bucket_order=0 [ 0.144485] NFS: Registering the id_resolver key type [ 0.144625] Key type id_resolver registered [ 0.144670] Key type id_legacy registered [ 0.156418] Key type asymmetric registered [ 0.156521] Asymmetric key parser 'x509' registered [ 0.156716] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 0.156791] io scheduler noop registered [ 0.156825] io scheduler deadline registered [ 0.157278] io scheduler cfq registered (default) [ 0.157357] io scheduler mq-deadline registered [ 0.157395] io scheduler kyber registered [ 0.158836] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO [ 0.167381] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 0.331732] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 0.337924] console [ttyS0] disabled [ 0.358243] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A [ 0.847381] console [ttyS0] enabled [ 0.856509] panel-simple panel: panel supply power not found, using dummy regulator [ 0.864575] panel-simple panel: Linked as a consumer to regulator.0 [ 0.872316] SCSI Media Changer driver v0.25 [ 0.879463] spidev spi0.0: buggy DT: spidev listed directly in DT [ 0.885775] ------------[ cut here ]------------ [ 0.890466] WARNING: CPU: 0 PID: 1 at drivers/spi/spidev.c:730 spidev_probe+0x198/0x1e8 [ 0.898556] Modules linked in: [ 0.901665] CPU: 0 PID: 1 Comm: swapper Not tainted 4.19.0-rc3-licheepi-nano #1 [ 0.909039] Hardware name: Allwinner suniv Family [ 0.913904] [<c010e9c0>] (unwind_backtrace) from [<c010bc68>] (show_stack+0x10/0x14) [ 0.921723] [<c010bc68>] (show_stack) from [<c0117230>] (__warn+0xec/0x114) [ 0.928807] [<c0117230>] (__warn) from [<c011736c>] (warn_slowpath_null+0x3c/0x48) [ 0.936500] [<c011736c>] (warn_slowpath_null) from [<c0460ff8>] (spidev_probe+0x198/0x1e8) [ 0.944904] [<c0460ff8>] (spidev_probe) from [<c045d990>] (spi_drv_probe+0x88/0xa0) [ 0.952715] [<c045d990>] (spi_drv_probe) from [<c0417bf0>] (really_probe+0x25c/0x3fc) [ 0.960617] [<c0417bf0>] (really_probe) from [<c0417f38>] (driver_probe_device+0x6c/0x1bc) [ 0.969002] [<c0417f38>] (driver_probe_device) from [<c0415c4c>] (bus_for_each_drv+0x70/0xb8) [ 0.977644] [<c0415c4c>] (bus_for_each_drv) from [<c04178f0>] (__device_attach+0xc8/0x164) [ 0.986018] [<c04178f0>] (__device_attach) from [<c0416b70>] (bus_probe_device+0x84/0x8c) [ 0.994307] [<c0416b70>] (bus_probe_device) from [<c0413808>] (device_add+0x380/0x618) [ 1.002298] [<c0413808>] (device_add) from [<c045e264>] (spi_add_device+0x8c/0x16c) [ 1.010093] [<c045e264>] (spi_add_device) from [<c045ed10>] (spi_register_controller+0x44c/0x8f4) [ 1.019069] [<c045ed10>] (spi_register_controller) from [<c045f1e8>] (devm_spi_register_controller+0x30/0x70) [ 1.029079] [<c045f1e8>] (devm_spi_register_controller) from [<c04624e8>] (sun6i_spi_probe+0x1e8/0x2b0) [ 1.038593] [<c04624e8>] (sun6i_spi_probe) from [<c0419bc8>] (platform_drv_probe+0x48/0x9c) [ 1.047062] [<c0419bc8>] (platform_drv_probe) from [<c0417bf0>] (really_probe+0x25c/0x3fc) [ 1.055446] [<c0417bf0>] (really_probe) from [<c0417f38>] (driver_probe_device+0x6c/0x1bc) [ 1.063823] [<c0417f38>] (driver_probe_device) from [<c041818c>] (__driver_attach+0x104/0x12c) [ 1.072542] [<c041818c>] (__driver_attach) from [<c0415b78>] (bus_for_each_dev+0x64/0xb4) [ 1.080768] [<c0415b78>] (bus_for_each_dev) from [<c0416e3c>] (bus_add_driver+0x18c/0x264) [ 1.089141] [<c0416e3c>] (bus_add_driver) from [<c0418b68>] (driver_register+0x78/0x10c) [ 1.097352] [<c0418b68>] (driver_register) from [<c0102b80>] (do_one_initcall+0x48/0x1a0) [ 1.105670] [<c0102b80>] (do_one_initcall) from [<c0900e10>] (kernel_init_freeable+0x108/0x1c4) [ 1.114497] [<c0900e10>] (kernel_init_freeable) from [<c06973ec>] (kernel_init+0x8/0x110) [ 1.122793] [<c06973ec>] (kernel_init) from [<c01010e0>] (ret_from_fork+0x14/0x34) [ 1.130390] Exception stack(0xc1831fb0 to 0xc1831ff8) [ 1.135519] 1fa0: 00000000 00000000 00000000 00000000 [ 1.143774] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.151975] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 1.158656] ---[ end trace 99f3c12227daac5d ]--- [ 1.165322] i2c /dev entries driver [ 1.170606] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.1 [ 1.204142] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB [ 1.213420] usbcore: registered new interface driver usbhid [ 1.219058] usbhid: USB HID core driver [ 1.235678] NET: Registered protocol family 17 [ 1.240380] Key type dns_resolver registered [ 1.246956] Loading compiled-in X.509 certificates [ 1.261595] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator [ 1.272739] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0 [ 1.281643] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver [ 1.287641] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1 [ 1.297804] hub 1-0:1.0: USB hub found [ 1.301851] hub 1-0:1.0: 1 port detected [ 1.308172] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 1.324374] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 1.331206] ALSA device list: [ 1.334357] #0: Loopback 1 [ 1.338092] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 1.346920] cfg80211: failed to load regulatory.db [ 1.352711] Waiting for root device /dev/mmcblk0p2... [ 1.369275] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.384315] mmc0: new high speed SDHC card at address aaaa [ 1.392647] mmcblk0: mmc0:aaaa SS08G 7.40 GiB [ 1.404268] mmcblk0: p1 p2 [ 1.424319] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 1.432701] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 1.443250] devtmpfs: mounted [ 1.450164] Freeing unused kernel memory: 1024K [ 1.454954] Run /sbin/init as init process [ 1.571469] random: fast init done [ 1.606748] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) Starting logging: OK Initializing random number generator... [ 1.870551] random: dd: uninitialized urandom read (512 bytes read) done. Welcome to Lichee Pi Lichee login: root Password: # modprobe g_ether [ 15.127278] using random self ethernet address [ 15.131802] using random host ethernet address [ 15.137522] usb0: HOST MAC 86:ee:40:ce:3c:52 [ 15.141973] usb0: MAC ae:98:d6:21:a2:9e [ 15.146039] using random self ethernet address [ 15.150523] using random host ethernet address [ 15.155353] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008 [ 15.162004] g_ether gadget: g_ether ready
当中0.91秒那段日志和@chong大神的有90%的相似度
加载g_ether提示信息正常,但插入pc usb口没反应,接u盘没反应
为啥我没有
[ 1.261595] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.272739] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0
[ 1.281643] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.287641] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
这几行日志呀,内核里选了静态编译啦
晕哥,这个Temp——data 0x20,手册里没有呀,不影响吗
https://whycan.cn/t_1632.html#p8974
看下接线方法对不对
看了我的板子原理图,接线没问题,拔了屏还是一直上报事件
傅伟清 说:shaoxi2010 说:touch_tar.gz
还需要点下才能复制,难受。。。谢谢,这个能适配C200的吧:p
我没测试过,没空折腾这个
谢谢
touch_tar.gz
还需要点下才能复制,难受。。。
谢谢,这个能适配C200的吧:p