您尚未登录。

楼主 #1 2020-07-16 18:04:48

小熊猫
会员
注册时间: 2020-05-21
已发帖子: 71
积分: 65.5

F1c100s USB启动 Linux,并且把SD NAND/TF卡挂载为电脑U盘, 然后可以通过dd或Win32DiskImager任烧写

求助 晕哥 , https://whycan.cn/t_2449.html   这个操作视频,不知为啥播放不了,
操作上需要注意啥,晕哥,


好消息!

f1c100s 的也搞定了: f1c100s_fel_autorun_linux_uart0_pe0_pe1_20190517_TF_sdnand.7z

(登录账号: root, 密码: whycan.cn)




f1c100s 通过USB启动 Linux,并且把SD NAND/TF卡挂载为电脑U盘, 然后可以通过dd或Win32DiskImager任烧写


不好用? 上挖坑网打我呀呀呀呀呀呀呀呀呀呀呀呀呀!!!!!!!!!!


荔枝派 nano 开发板验证通过!

11.png


ERROR: Allwinner USB FEL device not found! 


https://whycan.cn/t_4923.html

最近编辑记录 小熊猫 (2020-07-16 18:06:47)

离线

#2 2020-07-16 18:14:31

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,388
积分: 1902
个人网站

Re: F1c100s USB启动 Linux,并且把SD NAND/TF卡挂载为电脑U盘, 然后可以通过dd或Win32DiskImager任烧写

视频可以播放了,修复了链接。





离线

楼主 #3 2020-07-17 10:23:02

小熊猫
会员
注册时间: 2020-05-21
已发帖子: 71
积分: 65.5

Re: F1c100s USB启动 Linux,并且把SD NAND/TF卡挂载为电脑U盘, 然后可以通过dd或Win32DiskImager任烧写

参考   https://whycan.cn/p_49857.html#p49857  问题已解决

离线

#4 2020-07-17 10:31:44

歌以咏志
会员
注册时间: 2019-09-21
已发帖子: 219
积分: 210

Re: F1c100s USB启动 Linux,并且把SD NAND/TF卡挂载为电脑U盘, 然后可以通过dd或Win32DiskImager任烧写

没看明白,原来你是做错了哪一步呢?

离线

楼主 #5 2020-07-17 11:03:00

小熊猫
会员
注册时间: 2020-05-21
已发帖子: 71
积分: 65.5

Re: F1c100s USB启动 Linux,并且把SD NAND/TF卡挂载为电脑U盘, 然后可以通过dd或Win32DiskImager任烧写

歌以咏志 说:

没看明白,原来你是做错了哪一步呢?


参考 这个 https://whycan.cn/t_444.html  驱动没有安装。。


但是现在win10 上 的盘符没有出现呀。。

离线

#6 2020-07-17 11:19:08

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,388
积分: 1902
个人网站

Re: F1c100s USB启动 Linux,并且把SD NAND/TF卡挂载为电脑U盘, 然后可以通过dd或Win32DiskImager任烧写

运行批处理问题了吗,中间有没有出现进度条,硬件是不是荔枝派,和视频里面有什么不同吗?





离线

楼主 #7 2020-07-17 17:17:34

小熊猫
会员
注册时间: 2020-05-21
已发帖子: 71
积分: 65.5

Re: F1c100s USB启动 Linux,并且把SD NAND/TF卡挂载为电脑U盘, 然后可以通过dd或Win32DiskImager任烧写

哇酷小二 说:

运行批处理问题了吗,中间有没有出现进度条,硬件是不是荔枝派,和视频里面有什么不同吗?

nano  TF 要在内核运行起来之前 插上,就可以了。。不知道为什么,但是这个我还不是和能理解 哪里出问题导致的。

下面 这个 是 晕哥 帖子 https://whycan.cn/t_2449.html 里坑友 提到的解释,他跟我遇到的情况一样,不过他是v3s。

////////////////////////////////////////////////////////////////////

由于无法挂载SD nand ,我的产品没发开发下去,周五约了晕哥,晕哥百忙之中,帮我指点了一下,并现场参观了晕哥的操作,发现问题在USB的ID检测上,经过查询:

当设备检测到USB_ID信号为低时,表该设备应作为Host用。
当设备检测到USB_ID信号为高时,表示该设备作为Slave用。

那么我们只需要把PF6拉高即可。

感谢晕哥的支持,非常感谢。

////////////////////////////////////////////////////////////////////

U-Boot SPL 2018.01-05683-g5e86a9a-dirty (May 17 2019 - 03:40:11)
DRAM: 32 MiB
Trying to boot from FEL


U-Boot 2018.01-05683-g5e86a9a-dirty (May 17 2019 - 03:40:11 -0400) Allwinner Technology

CPU:   Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM:  32 MiB
MMC:   SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: 00, 00, 00
*** Warning - spi_flash_probe_bus_cs() failed, using default environment

In:    serial@1c25000
Out:   serial@1c25000
Err:   serial@1c25000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
## Loading init Ramdisk from Legacy Image at 80d00000 ...
   Image Name:   
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    1840690 Bytes = 1.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 80c00000
   Booting using the fdt blob at 0x80c00000
   Loading Ramdisk to 8153e000, end 816ff632 ... OK
   Loading Device Tree to 81539000, end 8153de2c ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.0-rc3-licheepi-nano+ (root@ubuntu) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #11 Fri May 17 23:15:40 EDT 2019
[    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+0x88/0x3ec with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/ram0 rdinit=/linuxrc earlyprintk
[    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: 24020K/32768K available (4095K kernel code, 198K rwdata, 920K rodata, 1024K init, 214K bss, 8748K 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)   (5088 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 199 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 215 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.000048] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000116] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000604] Console: colour dummy device 80x30
[    0.000725] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070254] pid_max: default: 32768 minimum: 301
[    0.070759] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070802] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072060] CPU: Testing write buffer coherency: ok
[    0.073911] Setting up static identity map for 0x80100000 - 0x8010003c
[    0.076516] devtmpfs: initialized
[    0.083154] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.083225] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.083448] pinctrl core: initialized pinctrl subsystem
[    0.084802] NET: Registered protocol family 16
[    0.086107] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.088043] cpuidle: using governor menu
[    0.107492] SCSI subsystem initialized
[    0.107823] usbcore: registered new interface driver usbfs
[    0.108032] usbcore: registered new interface driver hub
[    0.108233] usbcore: registered new device driver usb
[    0.110291] clocksource: Switched to clocksource timer
[    0.135133] NET: Registered protocol family 2
[    0.137021] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.137120] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.137186] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.137239] TCP: Hash tables configured (established 1024 bind 1024)
[    0.137520] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.137585] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.138081] NET: Registered protocol family 1
[    0.138923] Unpacking initramfs...
[    0.661881] Freeing initrd memory: 1800K
[    0.663841] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.689324] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.690014] ntfs: driver 2.1.32 [Flags: R/O].
[    0.733491] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.733538] io scheduler noop registered
[    0.733562] io scheduler deadline registered
[    0.734300] io scheduler cfq registered (default)
[    0.734337] io scheduler mq-deadline registered
[    0.734358] io scheduler kyber registered
[    0.737118] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
[    0.749048] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.906212] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.912235] console [ttyS0] disabled
[    0.932506] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A
[    1.357208] console [ttyS0] enabled
[    1.383079] 1c25400.serial: ttyS1 at MMIO 0x1c25400 (irq = 24, base_baud = 6250000) is a 16550A
[    1.408130] loop: module loaded
[    1.415232] m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00
[    1.422207] usbcore: registered new interface driver usb-storage
[    1.428371] i2c /dev entries driver
[    1.434148] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.1
[    1.467578] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.475529] usbcore: registered new interface driver usbhid
[    1.481218] usbhid: USB HID core driver
[    1.486327] NET: Registered protocol family 17
[    1.501262] Freeing unused kernel memory: 1024K
[    1.506017] 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...
/etc/init.d/S10mdev: line 9: can't create /proc/sys/kernel/hotplug: nonexistent directory
[    2.030290] random: fast init done
[    5.215398] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    5.226299] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0
[    5.235286] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    5.241223] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    5.253380] hub 1-0:1.0: USB hub found
[    5.257297] hub 1-0:1.0: 1 port detected
Initializing random number generator... [    5.346159] random: dd: uninitialized urandom read (512 bytes read)
done.
Starting network: OK
[    5.558434] Mass Storage Function, version: 2009/09/11
[    5.563741] LUN: removable file: (no medium)
[    5.568304] lun0: unable to open backing file: /dev/mmcblk0
[    5.574172] g_mass_storage musb-hdrc.1.auto: failed to start g_mass_storage: -2
[    5.586527] Mass Storage Function, version: 2009/09/11
[    5.591835] LUN: removable file: (no medium)
[    5.596406] lun0: unable to open backing file: /dev/mmcblk0
[    5.602273] g_mass_storage musb-hdrc.1.auto: failed to start g_mass_storage: -2
modprobe: can't load module g_mass_storage (kernel/drivers/usb/gadget/legacy/g_mass_storage.ko): unknown symbol in module, or unknown parameter

Welcome to Buildroot
buildroot login: [   24.118583] mmc0: error -110 whilst initialising SD card
[   28.479009] mmc0: error -110 whilst initialising SD card
[   29.632030] mmc0: host does not support reading read-only switch, assuming write-enable
[   29.641642] mmc0: new SD card at address b5f9
[   29.648703] mmcblk0: mmc0:b5f9 SU512 484 MiB 
[   29.657310]  mmcblk0: p1 p2

最近编辑记录 小熊猫 (2020-07-17 17:24:01)

离线

#8 2020-07-17 17:23:04

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,388
积分: 1902
个人网站

Re: F1c100s USB启动 Linux,并且把SD NAND/TF卡挂载为电脑U盘, 然后可以通过dd或Win32DiskImager任烧写

你的sd nand前面出了110错误,导致模拟成u盘那个命令失败,但是奇怪后面又识别到分区了。

你手动执行那行模拟命令试一试呗





离线

页脚

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

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