您尚未登录。

#1 Re: 全志 SOC » XFEL已支持spi nand flash烧写 » 2021-12-28 19:23:14

V3s  SPI-NAND   两个问题:
1. 烧入失败率极高,5次,只有一次成功
usb bulk send error=================                  ] 49.975 KB/s, ETA 03:56

2. 烧入后运行不起来。
    U-BOOT  2021版的
    设置了SPI-NAND Boot
    bootcmd 用过 mtd  sf   nand   都不行

有大佬救命么

#2 Re: 全志 SOC » 最新的 Linux 驱动已经支持市场上几乎所有的 spi nand 了, 有没有哪位试一试? » 2021-12-27 22:06:44

用的晕哥的  USB固件 
应该识别的NAND  但是无法建立U盘?芯片是新的呢,为啥看起来是坏的?进不去,求救。

[    0.916204] spi-nand spi0.0: GigaDevice SPI NAND was found.
[    0.921870] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
上面应该是识别了的?

[    0.117175] CPU: Virtualization extensions available.
[    0.123321] devtmpfs: initialized
[    0.130219] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.138259] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.148134] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.154452] pinctrl core: initialized pinctrl subsystem
[    0.160972] NET: Registered protocol family 16
[    0.165936] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.174074] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.182076] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.204379] SCSI subsystem initialized
[    0.208958] usbcore: registered new interface driver usbfs
[    0.214501] usbcore: registered new interface driver hub
[    0.220019] usbcore: registered new device driver usb
[    0.225315] media: Linux media interface: v0.10
[    0.229932] videodev: Linux video capture interface: v2.00
[    0.235498] pps_core: LinuxPPS API ver. 1 registered
[    0.240485] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.249623] PTP clock support registered
[    0.253833] Advanced Linux Sound Architecture Driver Initialized.
[    0.261317] clocksource: Switched to clocksource arch_sys_counter
[    0.278869] NET: Registered protocol family 2
[    0.283974] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.291719] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.298689] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.305076] TCP: Hash tables configured (established 1024 bind 1024)
[    0.311591] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.317460] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.323994] NET: Registered protocol family 1
[    0.329372] RPC: Registered named UNIX socket transport module.
[    0.335408] RPC: Registered udp transport module.
[    0.340105] RPC: Registered tcp transport module.
[    0.344829] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.351702] Unpacking initramfs...
[    0.531478] Freeing initrd memory: 2052K
[    0.537296] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.551826] NFS: Registering the id_resolver key type
[    0.556918] Key type id_resolver registered
[    0.561095] Key type id_legacy registered
[    0.565228] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[    0.651726] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.659127] io scheduler mq-deadline registered
[    0.663747] io scheduler kyber registered
[    0.668736] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.679033] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.756693] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.765597] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    0.776671] printk: console [ttyS0] disabled
[    0.801196] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.810237] printk: console [ttyS0] enabled
[    0.810237] printk: console [ttyS0] enabled
[    0.818613] printk: bootconsole [earlycon0] disabled
[    0.818613] printk: bootconsole [earlycon0] disabled
[    0.829188] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[    0.860521] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 37, base_baud = 1500000) is a U6_16550A
[    0.891213] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 38, base_baud = 1500000) is a U6_16550A
[    0.904677] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[    0.916204] spi-nand spi0.0: GigaDevice SPI NAND was found.
[    0.921870] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
[    0.932904] libphy: Fixed MDIO Bus: probed
[    0.937018] CAN device driver interface
[    0.941631] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.947432] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.953703] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.960934] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.968220] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.973204] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.979984] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.985650] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.998647] libphy: stmmac: probed
[    1.002765] dwmac-sun8i 1c30000.ethernet: Cannot get mdio-mux node
[    1.009355] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.015969] ehci-platform: EHCI generic platform driver
[    1.021522] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.027148] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.035140] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    1.061344] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.068588] hub 1-0:1.0: USB hub found
[    1.072541] hub 1-0:1.0: 1 port detected
[    1.077154] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.083477] ohci-platform: OHCI generic platform driver
[    1.089026] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.095770] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.103753] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.176366] hub 2-0:1.0: USB hub found
[    1.180199] hub 2-0:1.0: 1 port detected
[    1.186968] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.196244] sun6i-rtc 1c20400.rtc: registered as rtc0
[    1.201415] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.206162] i2c /dev entries driver
[    1.211862] usbcore: registered new interface driver em28xx
[    1.217446] em28xx: Registered (Em28xx v4l2 Extension) extension
[    1.223510] em28xx: Registered (Em28xx Input Extension) extension
[    1.230616] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.239306] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.275810] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.283108] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    1.319924] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.328040] usbcore: registered new interface driver usbhid
[    1.333718] usbhid: USB HID core driver
[    1.339504] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    1.347136] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.354656] NET: Registered protocol family 17
[    1.359135] can: controller area network core (rev 20170425 abi 9)
[    1.365546] NET: Registered protocol family 29
[    1.369995] can: raw protocol (rev 20170425)
[    1.374326] can: broadcast manager protocol (rev 20170425 t)
[    1.379991] can: netlink gateway (rev 20170425) max_hops=1
[    1.385827] Key type dns_resolver registered
[    1.390283] Registering SWP/SWPB emulation handler
[    1.402795] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.414267] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.420031] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.429160] hub 3-0:1.0: USB hub found
[    1.433244] hub 3-0:1.0: 1 port detected
[    1.441224] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.450058] gtp: GTP module loaded (pdp ctx size 64 bytes)
[    1.455746] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:24:22 UTC (1462)
[    1.464212] vcc5v0: disabling
[    1.467187] ALSA device list:
[    1.470150]   #0: V3s Audio Codec
[    1.475639] Freeing unused kernel memory: 1024K
[    1.501473] Run /linuxrc as init process
can't open /dev/null: No such file or directory
can't open /dev/null: No such file or directory
can't open /dev/null: No such file or directory
can't open /dev/null: No such file or directory
Starting syslogd: OK
Starting klogd: OK
Starting mdev...
Initializing random number generator... [    2.997418] random: dd: uninitialized urandom read (512 bytes read)
done.
Starting network: OK
[    3.086353] Mass Storage Function, version: 2009/09/11
[    3.091674] LUN: removable file: (no medium)
[    3.096168] LUN: removable file: /dev/mtdblock0
[    3.100701] Number of LUNs=1
[    3.142420] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[    3.149398] g_mass_storage gadget: userspace failed to provide iSerialNumber
[    3.156573] g_mass_storage gadget: g_mass_storage ready

Welcome to Buildroot
buildroot login: [    3.438751] g_mass_storage gadget: high-speed config #1: Linux File-Backed Storage
[    4.404081] random: fast init done
[    4.407902] print_req_error: I/O error, dev mtdblock0, sector 0 flags 80700
[    4.416252] print_req_error: I/O error, dev mtdblock0, sector 8 flags 80700
[    4.423913] print_req_error: I/O error, dev mtdblock0, sector 16 flags 80700
[    4.431829] print_req_error: I/O error, dev mtdblock0, sector 24 flags 80700
[    4.440014] print_req_error: I/O error, dev mtdblock0, sector 0 flags 0
[    4.446754] Buffer I/O error on dev mtdblock0, logical block 0, async page read
[    4.574042] print_req_error: I/O error, dev mtdblock0, sector 0 flags 0
[    4.580672] Buffer I/O error on dev mtdblock0, logical block 0, async page read
[    4.823091] print_req_error: I/O error, dev mtdblock0, sector 0 flags 0
[    4.829724] Buffer I/O error on dev mtdblock0, logical block 0, async page read
[    4.953173] print_req_error: I/O error, dev mtdblock0, sector 0 flags 0

#3 Re: 全志 SOC » FreeRTOS移植到F1C100S, 含GCC和keil版本 » 2021-12-27 21:17:38

V3S 或者  S3有移植版本么,想冒死试一试。

页脚

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

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