您尚未登录。

#1 Re: 全志 SOC » 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼) » 2019-04-15 11:06:43

问一下你们的usb插上hub后,鼠标跟u盘一起正常工作么?只有鼠标正常,再插u盘枚举过了到驱动设备就如下:

[   37.705141] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0002
[   37.708624] hub 1-1:1.0: port 1, status 0101, change 0001, 12 Mb/s
[   38.083216] hub 1-1:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
[   38.163629] usb 1-1.1: new high-speed USB device number 4 using sunxi_hcd_host0
[   38.264069] usb 1-1.1: default language 0x0409
[   38.266160] usb 1-1.1: udev 4, busnum 1, minor = 3
[   38.270524] usb 1-1.1: New USB device found, idVendor=0781, idProduct=5567
[   38.277451] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   38.284729] usb 1-1.1: Product: Cruzer Blade
[   38.288833] usb 1-1.1: Manufacturer: SanDisk
[   38.293097] usb 1-1.1: SerialNumber: 4C530099960420113525
[   38.303103] usb 1-1.1: usb_probe_device
[   38.304409] usb 1-1.1: configuration #1 chosen from 1 choice
[   38.319994] usb 1-1.1: adding 1-1.1:1.0 (config #1, interface 0)
[   38.325714] usb-storage 1-1.1:1.0: usb_probe_interface
[   38.328430] usb-storage 1-1.1:1.0: usb_probe_interface - got id
[   38.334512] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[   38.340833] scsi0 : usb-storage 1-1.1:1.0
[   38.352666] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0002
[   60.153312] usb 1-1.1: reset high-speed USB device number 4 using sunxi_hcd_host0
[   60.233184] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0002

然后reset就一直走不动了

#2 全志 SOC » f1c100s有人调过内存频率没 » 2018-12-08 16:57:51

wind
回复: 6

如题,官方设备树配置的是312,应该是有分频,sysconfig直接配的480,应该是没有生效的!想降低点频率,但发现调了设备树能生效但却很容易启动不起来,卡在内核配置频率的时候失败了,有谁遇到过的没呢

#3 Re: 全志 SOC » 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼) » 2018-09-30 11:53:33

@晕哥 晕哥你最后这个bsp版本的usb主从切换实现了没,我参照你的步骤主口是通了,也能用u盘了,切换usb_device就gg,单独的测试device还在验证中

#4 Re: 全志 SOC » F1C100s 能支持7寸触摸屏吗? » 2018-09-29 14:54:50

那道理上讲,内核配置了再把外源库移植到板子,再自己写个例程就能实现linux下播放高清咯?

晕哥 说:
wind 说:

linux下我调通了f1c100s芯片自带的4线电阻触摸,不过话说linux下流畅播放高清视频是个问题啊,cedar什么的能实现?

应用操作cedar实现解码,全志封装成库了。

#5 Re: 全志 SOC » F1C100s 能支持7寸触摸屏吗? » 2018-09-29 14:40:57

linux下我调通了f1c100s芯片自带的4线电阻触摸,不过话说linux下流畅播放高清视频是个问题啊,cedar什么的能实现?

#6 Re: 全志 SOC » 有没有朋友用V3s 主线 linux 驱动华邦 spi nand ---- w25n01gvzeig » 2018-08-24 13:47:41

就在代码模块里面有

abc3240660 说:
wind 说:

话说荔枝群里有位仁兄上传过spi nand flash从sunxitools到kernel的全套驱动支持,我没v3s的板子,你们有移植调试过木有呢

awfans 说:

上传到哪了啊?我也想参考参考

#7 Re: 全志 SOC » 有没有朋友用V3s 主线 linux 驱动华邦 spi nand ---- w25n01gvzeig » 2018-07-31 12:35:35

话说荔枝群里有位仁兄上传过spi nand flash从sunxitools到kernel的全套驱动支持,我没v3s的板子,你们有移植调试过木有呢

awfans 说:

#8 Re: 全志 SOC » 荔枝派nano有大虾把usb模块调通,能用u盘鼠标的没 » 2018-07-31 12:30:51

nano这边目前估计是通不了的,原厂bsp可以试试,不过貌似也不是官方的吧!

ippen 说:

我也试了n种方法,就是不行,一度怀疑是usb接口问题,但用用三块nano验证之后,终于死心了,现在在测试厂家的bsp内核,看能不能搞好

#9 Re: 全志 SOC » 荔枝派nano有大虾把usb模块调通,能用u盘鼠标的没 » 2018-07-19 15:22:59

这些都没问题,可以正常跑系统,我单独给板子供电然后把usb空出来的,主从都不行,但内核看着又初始化到差不多了

#10 全志 SOC » 荔枝派nano有大虾把usb模块调通,能用u盘鼠标的没 » 2018-07-19 14:05:21

wind
回复: 19

按照常规的内核配置,usb的初始化musb,phy都能初始化完也没有明显错误,但是还是没有啥反应,把id脚配置上拉下拉都无效

配上启动信息:问题可能会出在哪里呢,求助大侠们
Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.15.0-rc8-licheepi-nano (mengh@ubuntu) (gcc version 5.4.1 20170404 (Linaro GCC 5.4-2017.05)) #4 Wed Jul 18 23:08
[    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: fast init done
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 rw
[    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: 55176K/65536K available (6144K kernel code, 235K rwdata, 1380K rodata, 1024K init, 244K bss, 10360K reserved, 0K cma-r)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4800000 - 0xff800000   ( 944 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 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)   ( 236 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 245 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.000041] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000094] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000499] Console: colour dummy device 80x30
[    0.001044] console [tty0] enabled
[    0.001131] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.050259] pid_max: default: 32768 minimum: 301
[    0.050535] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050612] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.051828] CPU: Testing write buffer coherency: ok
[    0.053455] Setting up static identity map for 0x80100000 - 0x80100058
[    0.055455] devtmpfs: initialized
[    0.059926] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.060062] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.060446] pinctrl core: initialized pinctrl subsystem
[    0.062182] NET: Registered protocol family 16
[    0.063420] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.064887] cpuidle: using governor menu
[    0.083309] SCSI subsystem initialized
[    0.083695] usbcore: registered new interface driver usbfs
[    0.083880] usbcore: registered new interface driver hub
[    0.084112] usbcore: registered new device driver usb
[    0.084479] pps_core: LinuxPPS API ver. 1 registered
[    0.084550] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.084658] PTP clock support registered
[    0.085091] Advanced Linux Sound Architecture Driver Initialized.
[    0.086354] clocksource: Switched to clocksource timer
[    0.109709] NET: Registered protocol family 2
[    0.110868] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110996] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.111067] TCP: Hash tables configured (established 1024 bind 1024)
[    0.111368] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.111456] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.111908] NET: Registered protocol family 1
[    0.113083] RPC: Registered named UNIX socket transport module.
[    0.113181] RPC: Registered udp transport module.
[    0.113224] RPC: Registered tcp transport module.
[    0.113256] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.115025] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.116811] Initialise system trusted keyrings
[    0.117389] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.130096] NFS: Registering the id_resolver key type
[    0.130256] Key type id_resolver registered
[    0.130304] Key type id_legacy registered
[    0.141150] Key type asymmetric registered
[    0.141250] Asymmetric key parser 'x509' registered
[    0.141472] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.141552] io scheduler noop registered
[    0.141591] io scheduler deadline registered
[    0.142235] io scheduler cfq registered (default)
[    0.142325] io scheduler mq-deadline registered
[    0.142368] io scheduler kyber registered
[    0.143995] ******************usb phy probe finish!
[    0.151086] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.301238] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.307021] console [ttyS0] disabled
[    0.327320] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A
[    0.796682] console [ttyS0] enabled
[    0.805125] panel-simple panel: panel supply power not found, using dummy regulator
[    0.814320] SCSI Media Changer driver v0.25
[    0.820156] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.826858] ehci-platform: EHCI generic platform driver
[    0.832349] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.838689] ohci-platform: OHCI generic platform driver
[    0.844279] usbcore: registered new interface driver usb-storage
[    0.850788] ***************sunxi musb probe!
[    0.855561] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    0.867345] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    0.873195] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    0.883102] hub 1-0:1.0: USB hub found
[    0.887165] hub 1-0:1.0: 1 port detected
[    0.892262] ********************musb probe finish!
[    0.897641] i2c /dev entries driver
[    0.956479] sunxi-mmc 1c0f000.mmc: base:0xb4f298a9 irq:19
[    0.963618] usbcore: registered new interface driver usbhid
[    0.969375] usbhid: USB HID core driver
[    0.987967] NET: Registered protocol family 17
[    0.992702] Key type dns_resolver registered
[    1.001033] Loading compiled-in X.509 certificates
[    1.014742] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc0739718)
[    1.023542] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc07389fc)
[    1.031387] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.038078] [drm] No driver support for vblank timestamp query.
[    1.138981] Console: switching to colour frame buffer device 100x30
[    1.139402] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.170700] mmc0: new high speed SDHC card at address 0001
[    1.188817] mmcblk0: mmc0:0001 SD8GB 7.32 GiB
[    1.204934]  mmcblk0: p1 p2
[    1.231128] sun4i-drm display-engine: fb0:  frame buffer device
[    1.246733] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.263695] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.287542] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.303215] ALSA device list:
[    1.314502]   #0: Loopback 1
[    1.326184] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.343460] cfg80211: failed to load regulatory.db
[    1.358964] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.414432] EXT4-fs (mmcblk0p2): recovery complete
[    1.431441] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.448809] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.466961] devtmpfs: mounted
[    1.485548] Freeing unused kernel memory: 1024K
[    1.683714] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK

#11 Re: 全志 SOC » 有没有朋友用V3s 主线 linux 驱动华邦 spi nand ---- w25n01gvzeig » 2018-07-09 10:16:28

晕哥加油,要是2片不够的话我再给你支援几片 ~ ~

#12 Re: 全志 SOC » 有没有朋友用V3s 主线 linux 驱动华邦 spi nand ---- w25n01gvzeig » 2018-07-05 09:34:35

全志的sunxi-tools不支持spi nand的烧写吧,你们是怎么把程序烧到flash里面的呢,不用烧片机

页脚

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

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