WhyCan Forum

人过留名,雁过留声,感谢各位朋友不离不弃地支持。 QQ: 516333132, 微信: whycan_cn (哇酷网/挖坑网/填坑网) admin@whycan.cn

您尚未登录。

#1 2019-05-16 15:22:06

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

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

上面是使用参考视频.


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


本站下载: v3s_s3_fel_autorun_linux_uart0_pb8_pb9_20190501.7z




参考链接1: https://whycan.cn/t_2448.html (如果是只有16M的flash 和1G的SDnand 需要从flash去启动QT 工程)

参考链接2: https://whycan.cn/t_2388.html (荔枝派zero/小智极客S3/V3s使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡)
















2019-05-17 更新:
----------------------------------
f1c100s 的也搞定了: f1c100s_fel_autorun_linux_uart0_pe0_pe1_20190517_TF_sdnand.7z (登录账号: root, 密码: whycan.cn)















2019-05-18 更新:
----------------------------------

32M w25q256 和 TF 卡挂载均 OK

w25q256运行:      Run_F1C100s_LicheePi_Nano_SPI_NOR_W25Q256_OK.bat

tf/sd nand 运行:  Run_F1C100s_LicheePi_Nano_TFCard.bat

配合 Win32DiskImager或dd, 可以用来烧录软件.


下载: f1c100s_fel_autorun_linux_uart0_pe0_pe1_20190518_TF_sdnand_w25q256.7z













2019-05-19 更新:
------------------------------------
w25n01 spi nand 芯片挂载 u盘均成功: https://whycan.cn/t_2461.html#p19212


本站下载: v3s_s3_fel_autorun_linux_uart0_pb8_pb9_201905018_spinand_OK.7z

离线

#2 2019-05-16 16:57:31

微凉VeiLiang
会员
注册时间: 2018-10-28
累计积分: 181

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

666,前排支持,感谢分享

离线

#3 2019-05-17 13:17:07

Jmhh247
会员
注册时间: 2018-12-21
累计积分: 172

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

“把这张卡放到旁边”。。。然后你就直接放板子上了

哈哈,晕哥,你是逗我吗,这么大的桌子不够你放么,心想要这任性么。。。果然后面它就掉下来了 lol

离线

#4 2019-05-17 22:54:43

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

好消息!

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 开发板验证通过!

离线

#5 2019-05-18 13:43:27

Jmhh247
会员
注册时间: 2018-12-21
累计积分: 172

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥 说:

好消息!

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 开发板验证通过!


厉害!

晕哥,你这个帖子里,https://whycan.cn/t_1623.html ( 荔枝派nano f1c100s 开发板入坑记录),

没找到如何制作TF卡启动固件方法,准备什么时候更新啊!!!

离线

#6 2019-05-18 13:44:56

Jmhh247
会员
注册时间: 2018-12-21
累计积分: 172

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥 说:

好消息!

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 开发板验证通过!


继续请教晕哥,Win32DiskImager烧写用的镜像,有制作教程没。。。

离线

#7 2019-05-18 13:50:42

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

据说用脚本可以, 但是我只会用笨办法: https://whycan.cn/t_2448.html#p19036

流程就是, 先做一张能启动的 TF卡 : https://whycan.cn/t_561.html

然后把卡插入读卡器, 用Ubuntu Linux dd 出文件备份:

dd if=/dev/sdX of=x.bin


烧录就是执行反向操作了:

dd if=x.bin of=/dev/sdX

离线

#8 2019-05-18 14:58:32

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

2019-05-18_142247.png

32M w25q256 和 TF 卡挂载均 OK

w25q256运行:      Run_F1C100s_LicheePi_Nano_SPI_NOR_W25Q256_OK.bat

tf/sd nand 运行:  Run_F1C100s_LicheePi_Nano_TFCard.bat

配合 Win32DiskImager或dd, 可以用来烧录软件.


下载: f1c100s_fel_autorun_linux_uart0_pe0_pe1_20190518_TF_sdnand_w25q256.7z

离线

#9 2019-05-18 15:08:33

小智科技
会员
注册时间: 2019-03-10
累计积分: 28

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥厉害,感谢晕哥拿我做的板子拍教程 big_smile

离线

#10 2019-05-18 16:57:03

Jmhh247
会员
注册时间: 2018-12-21
累计积分: 172

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥 说:

据说用脚本可以, 但是我只会用笨办法: https://whycan.cn/t_2448.html#p19036

流程就是, 先做一张能启动的 TF卡 : https://whycan.cn/t_561.html

然后把卡插入读卡器, 用Ubuntu Linux dd 出文件备份:

dd if=/dev/sdX of=x.bin


烧录就是执行反向操作了:

dd if=x.bin of=/dev/sdX


多谢晕哥!

原来nano制作TF卡的流程和荔枝派zero一样,回家测试。

离线

#11 2019-05-18 17:13:23

还能这么玩
会员
注册时间: 2019-04-14
累计积分: 119

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

真是不错, 研究如此之深, 点赞点赞!

离线

#12 2019-05-23 21:36:45

迪卡
会员
注册时间: 2018-11-02
累计积分: 275

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥超级牛逼,牛逼,牛逼

离线

#13 2019-05-23 22:09:29

阿黄
会员
注册时间: 2018-10-03
累计积分: 110

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥 说:

好消息!

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 开发板验证通过!

请教下,我焊了一个W25Q80在nano上,然后使用0518版本的W25Q256_OK.bat 但是貌似启动有些问题,可能是这个SPI FLASH太小了?USB显示unkunow device,看不到PID VID
另外问下,SPI flash里面有数据,里面数据应该不会被清除吧

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:    1840694 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 816ff636 ... 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: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/ram0 rdinit=/linuxrc earlyprintk
[    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: 56508K/65536K available (4095K kernel code, 198K rwdata, 920K rodata, 1024K init, 214K bss, 9028K 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 : 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)   (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.000049] 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.000598] Console: colour dummy device 80x30
[    0.000719] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070253] pid_max: default: 32768 minimum: 301
[    0.070759] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070800] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072039] CPU: Testing write buffer coherency: ok
[    0.073854] Setting up static identity map for 0x80100000 - 0x8010003c
[    0.076460] devtmpfs: initialized
[    0.083050] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.083123] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.083344] pinctrl core: initialized pinctrl subsystem
[    0.084698] NET: Registered protocol family 16
[    0.085988] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.087910] cpuidle: using governor menu
[    0.107164] SCSI subsystem initialized
[    0.107494] usbcore: registered new interface driver usbfs
[    0.107698] usbcore: registered new interface driver hub
[    0.107891] usbcore: registered new device driver usb
[    0.109853] clocksource: Switched to clocksource timer
[    0.134378] NET: Registered protocol family 2
[    0.136239] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.136349] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.136410] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.136463] TCP: Hash tables configured (established 1024 bind 1024)
[    0.136740] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.136810] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.137296] NET: Registered protocol family 1
[    0.138127] Unpacking initramfs...
[    0.662292] Freeing initrd memory: 1800K
[    0.664226] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.689610] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.690478] ntfs: driver 2.1.32 [Flags: R/O].
[    0.733031] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.733078] io scheduler noop registered
[    0.733099] io scheduler deadline registered
[    0.733832] io scheduler cfq registered (default)
[    0.733872] io scheduler mq-deadline registered
[    0.733894] io scheduler kyber registered
[    0.736634] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
[    0.748510] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.903702] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.909540] console [ttyS0] disabled
[    0.929942] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A
[    1.354817] console [ttyS0] enabled
[    1.380695] 1c25400.serial: ttyS1 at MMIO 0x1c25400 (irq = 24, base_baud = 6250000) is a 16550A
[    1.405636] loop: module loaded
[    1.412732] m25p80 spi0.0: unrecognized JEDEC id bytes: e0, 40, 14
[    1.419576] usbcore: registered new interface driver usb-storage
[    1.425890] i2c /dev entries driver
[    1.431666] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.1
[    1.464944] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.472881] usbcore: registered new interface driver usbhid
[    1.478458] usbhid: USB HID core driver
[    1.483653] NET: Registered protocol family 17
[    1.498541] Freeing unused kernel memory: 1024K
[    1.503409] 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.039934] random: fast init done
[    5.183340] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    5.194236] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0
[    5.203215] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    5.209013] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    5.221245] hub 1-0:1.0: USB hub found
[    5.225163] hub 1-0:1.0: 1 port detected
Initializing random number generator... [    5.312011] random: dd: uninitialized urandom read (512 bytes read)
done.
Starting network: OK
[    5.519479] Mass Storage Function, version: 2009/09/11
[    5.524784] LUN: removable file: (no medium)
[    5.529339] lun0: unable to open backing file: /dev/mtdblock0
[    5.535377] g_mass_storage musb-hdrc.1.auto: failed to start g_mass_storage: -2
[    5.547649] Mass Storage Function, version: 2009/09/11
[    5.552960] LUN: removable file: (no medium)
[    5.557525] lun0: unable to open backing file: /dev/mtdblock0
[    5.563569] 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: 

最近编辑记录 阿黄 (2019-05-23 22:13:19)

离线

#14 2019-05-24 08:44:05

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

奇怪了,驱动没识别到 flash:

[    1.412732] m25p80 spi0.0: unrecognized JEDEC id bytes: e0, 40, 14

导致没有生成 /dev/mtdblock0










查了一下

https://cdn-shop.adafruit.com/datasheets/W25Q80BV.pdf

应该是 ef, 40, 14

最近编辑记录 晕哥 (2019-05-24 08:48:44)

离线

#15 2019-05-30 11:15:10

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

2019-05-19 更新:
------------------------------------
w25n01 spi nand 芯片挂载 u盘均成功: https://whycan.cn/t_2461.html#p19212


本站下载: v3s_s3_fel_autorun_linux_uart0_pb8_pb9_201905018_spinand_OK.7z

离线

#16 2019-05-30 15:29:53

zhenfanhei
会员
注册时间: 2018-01-18
累计积分: 251
个人网站

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥超级牛逼,牛逼,牛逼, 这方法真实用

离线

#17 2019-05-30 16:08:23

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

本来想到华嵌的S3板子上面也玩一下, 但是不知道如何软件切换 OTG 状态, 所以没有弄了。

离线

#18 2019-05-30 18:52:48

zhenfanhei
会员
注册时间: 2018-01-18
累计积分: 251
个人网站

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

otg硬件切换还是要弄检测脚,以前做板一般都是固定的,看来全志的片子上还是加上去比较好

离线

#19 2019-06-10 11:23:44

vkaoke
会员
注册时间: 2019-02-01
累计积分: 14

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

板子进入FEL时,PhoenixSuit可以正常烧录,但是sunxi-fel.exe报这个错误 ERROR: Allwinner USB FEL device not found!
ERROR: Allwinner USB FEL device not found!

离线

#20 2019-06-11 22:44:52

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

vkaoke 说:

板子进入FEL时,PhoenixSuit可以正常烧录,但是sunxi-fel.exe报这个错误 ERROR: Allwinner USB FEL device not found!
ERROR: Allwinner USB FEL device not found!

不好意思, 才看到帖子.


这个问题是因为要换驱动: https://whycan.cn/t_444.html

离线

#21 2019-06-11 22:52:14

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

焊上 GD5F1GQ4UAYIG 到荔枝派zero板子, 一切正常:

QQ20190611225100.jpg

QQ20190611224257.png

离线

#22 2019-06-12 14:15:56

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

QQ20190612141435.jpg

QQ20190612141129.png

W25M02GVZEIG 256MB OK

离线

#23 2019-07-02 18:03:04

Aysi
会员
注册时间: 2019-04-03
累计积分: 8

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

请问,F1C100S挂载FLASH格式化能不能偏移地址?LINUX有源码?

离线

#24 2019-07-02 18:11:39

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

应该是可以偏移的, 不过我还没有测试。

离线

#25 2019-07-04 07:56:44

john78
会员
注册时间: 2018-07-19
累计积分: 151

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

烧录键?

进入这个模式,各个引脚有什么要求? PE6接地就可以?

离线

#26 2019-07-04 08:41:44

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

john78 说:

烧录键?

进入这个模式,各个引脚有什么要求? PE6接地就可以?

就是让 BROM 检测不到 spi flash,tf卡有合法的引导程序即可。

离线

#27 2019-07-04 13:45:25

倪家塘
会员
注册时间: 2019-05-13
累计积分: 14

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥大神,问个问题。
v3s芯片怎么复位
我这边直接“reset”管脚对地短接,直接死机;要重启电源才能正常启动

离线

#28 2019-07-04 14:14:51

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

RESET 接地没有理由不复位, 我估计是复位了, 但是却没有启动成功吧。

离线

#29 2019-07-04 14:40:27

倪家塘
会员
注册时间: 2019-05-13
累计积分: 14

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

有可能是什么原因造成的

离线

#30 2019-07-04 14:51:49

倪家塘
会员
注册时间: 2019-05-13
累计积分: 14

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

用的FLASH 型号:MX25L256

离线

#31 2019-07-04 15:09:24

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

flash 里面有一个寄存器是指示后面16M的,你直接 reset,  brom 可能因为兼容性问题,并不知道你在后面的 16M,直接狗带了。

想验证是不是,插入 usb线就可以了,如果reset 进fel就是这个这个原因了。

离线

#32 2019-07-04 20:36:59

baiymhmy
会员
注册时间: 2018-08-15
累计积分: 13

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

请教晕哥,我参考你发的工具,已经从FEL启动了Linux,加载了RAMFS文件系统,识别了SPI NAND(mkdosfs格式化),然后加载了g_mass_storage驱动,在PC上也没有识别出U盘。请问可能是什么原因。

# lsmod
Module                  Size  Used by    Not tainted
g_mass_storage         16384  0
usb_f_mass_storage     32768  2 g_mass_storage
libcomposite           40960  2 g_mass_storage,usb_f_mass_storage
dummy_hcd              24576  0
usbcore               163840  1 dummy_hcd
sunxi                  20480  0
musb_hdrc              57344  1 sunxi
udc_core               20480  4 usb_f_mass_storage,libcomposite,dummy_hcd,musb_hdrc
phy_generic            16384  2 sunxi

[  364.945111] Mass Storage Function, version: 2009/09/11
[  364.950330] LUN: removable file: (no medium)
[  364.954837] LUN: removable file: /dev/mtdblock0
[  364.959394] Number of LUNs=1
[  364.973791] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[  364.980908] g_mass_storage gadget: g_mass_storage ready

最近编辑记录 baiymhmy (2019-07-04 20:50:41)

离线

#33 2019-07-09 18:47:34

Tony
会员
注册时间: 2019-05-31
累计积分: 33

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥,我按照你的步骤,能USB 启动了,也插入了TF卡,可是我的电脑上没出现U盘符号。
请问“V3s/S3通过USB启动 Linux,并且把SD NAND/TF卡挂载为电脑U盘”,这一步怎么操作,才能出现在电脑上出现U盘符。
Starting network: OK
[    3.395807] Mass Storage Function, version: 2009/09/11
[    3.400966] LUN: removable file: (no medium)
[    3.430553] lun0: unable to open backing file: /dev/mmcblk0
[    3.436431] g_mass_storage musb-hdrc.1.auto: failed to start g_mass_storage: -2
[    3.456874] Mass Storage Function, version: 2009/09/11
[    3.462035] LUN: removable file: (no medium)
[    3.478001] lun0: unable to open backing file: /dev/mmcblk0
[    3.483730] 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
# [   42.442925] mmc0: host does not support reading read-only switch, assuming write-enable
[   42.454326] mmc0: new high speed SDHC card at address aaaa
[   42.467401] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
[   42.495629]  mmcblk0: p1

离线

#34 2019-07-09 18:52:20

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

lun0: unable to open backing file: /dev/mmcblk0

貌似这个地方没有检测到tf卡,用命令行操作看是什么情况

离线

#35 2019-07-09 18:54:44

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

@baiymhmy 不好意思,前面没有看到你的帖子,现在解决了吗?

没有生成 mtd 分区吗?

离线

#36 2019-07-10 10:34:40

Tony
会员
注册时间: 2019-05-31
累计积分: 33

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥 说:

lun0: unable to open backing file: /dev/mmcblk0

貌似这个地方没有检测到tf卡,用命令行操作看是什么情况

Initializing random number generator... done.
Starting network: OK
[    3.395807] Mass Storage Function, version: 2009/09/11
[    3.400966] LUN: removable file: (no medium)
[    3.430553] lun0: unable to open backing file: /dev/mmcblk0
[    3.436431] g_mass_storage musb-hdrc.1.auto: failed to start g_mass_storage: -2
[    3.456874] Mass Storage Function, version: 2009/09/11
[    3.462035] LUN: removable file: (no medium)
[    3.478001] lun0: unable to open backing file: /dev/mmcblk0
[    3.483730] 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
# [   42.442925] mmc0: host does not support reading read-only switch, assuming write-enable
[   42.454326] mmc0: new high speed SDHC card at address aaaa
[   42.467401] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
[   42.495629]  mmcblk0: p1

#
# mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=666)
sysfs on /sys type sysfs (rw,relatime)
# [  217.185149] random: crng init done
fdisk -l
Disk /dev/mmcblk0: 7580 MB, 7948206080 bytes, 15523840 sectors
19165 cylinders, 81 heads, 10 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Device       Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
/dev/mmcblk0p1    0,130,3     966,80,10         8192   15523839   15515648 7576M  b Win95 FAT32
/dev/mmcblk0p3    0,0,0       370,0,50         24897      24897          0     0  0 Empty



晕哥,mmcblk0: mmc0:aaaa SS08G 7.40 GiB  这是我的TF卡,应该识别到了。

离线

#37 2019-07-10 11:04:47

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

这个文件 kernel/drivers/usb/gadget/legacy/g_mass_storage.ko 不存在 ?

或者是 modprobe 的时候 /dev/mmcblk0 还没准备好?

如果是没准备好, 再手动运行一次脚本。

离线

#38 2019-07-10 19:19:00

Tony
会员
注册时间: 2019-05-31
累计积分: 33

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

Starting logging: OK
Starting mdev...
Initializing random number generator... done.
Starting network: OK
[    3.415824] Mass Storage Function, version: 2009/09/11
[    3.420986] LUN: removable file: (no medium)
[    3.425637] LUN: removable file: /dev/mmcblk0
[    3.429998] Number of LUNs=1
[    3.458479] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[    3.465593] g_mass_storage gadget: userspace failed to provide iSerialNumber
[    3.472636] g_mass_storage gadget: g_mass_storage ready
# fdisk
BusyBox v1.29.2 (2019-04-16 10:32:14 EDT) multi-call binary.

Usage: fdisk [-ul] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK

Change partition table

    -u        Start and End are in sectors (instead of cylinders)
    -l        Show partition table for each DISK, then exit
    -b 2048        (for certain MO disks) use 2048-byte sectors
    -C CYLINDERS    Set number of cylinders/heads/sectors
    -H HEADS    Typically 255
    -S SECTORS    Typically 63
#
#
# fdisk -l
Disk /dev/mmcblk0: 122 MB, 127926272 bytes, 249856 sectors
15 cylinders, 255 heads, 63 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Device       Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
/dev/mmcblk0p1 *  0,1,1       1023,254,63        234     248575     248342  121M  6 FAT16
Partition 1 has different physical/logical start (non-Linux?):
     phys=(0,1,1) logical=(0,3,46)
Partition 1 has different physical/logical end:
     phys=(1023,254,63) logical=(15,120,41)
# mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=666)
sysfs on /sys type sysfs (rw,relatime)
# find -name "g_mass_storage.ko"
./lib/modules/4.13.16-licheepi-zero+/kernel/drivers/usb/gadget/legacy/g_mass_storage.ko
# cd lib/modules/4.13.16-licheepi-zero\+/kernel/drivers/usb/gadget/legacy/
# ls
g_acm_ms.ko        g_ether.ko         g_midi.ko          g_serial.ko
g_audio.ko         g_ffs.ko           g_multi.ko         g_webcam.ko
g_cdc.ko           g_hid.ko           g_ncm.ko           g_zero.ko
g_dbgp.ko          g_mass_storage.ko  g_printer.ko       gadgetfs.ko
# insmod g_mass_storage.ko
insmod: can't insert 'g_mass_storage.ko': File exists

这个g_mass_storage.ko 存在,也挂载了。

离线

#39 2019-07-10 19:42:57

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

内核版本和ko版本不匹配

离线

#40 2019-07-11 12:30:34

Tony
会员
注册时间: 2019-05-31
累计积分: 33

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥,抱歉,我下载的就是你挂载一楼的固件“本站下载: v3s_s3_fel_autorun_linux_uart0_pb8_pb9_20190501.7z”。 运行的是Run_V3s_LicheePi0.bat文件烧写的固件。

离线

#41 2019-07-11 12:37:21

Tony
会员
注册时间: 2019-05-31
累计积分: 33

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

F:\ubuntu\v3s_s3_fel_autorun_linux_uart0_pb8_pb9_20190501>Run_V3s_LicheePi0.bat

F:\ubuntu\v3s_s3_fel_autorun_linux_uart0_pb8_pb9_20190501>"bin\sunxi-fel.exe" -p
uboot u-boot-sunxi-with-spl.bin.V3s write 0x41000000 zImage write 0x41800000 su
n8i-v3s-licheepi-zero-dock.dtb.PF6 write 0x41900000 boot_fel_initrd.scr write 0x
41A00000 rootfs.cpio.gz.uImage
100% [================================================]  3938 kB,  803.6 kB/s
100% [================================================]    12 kB,  697.4 kB/s
100% [================================================]     0 kB,   46.4 kB/s
100% [================================================] 10272 kB,  804.6 kB/s
"download complete! now run linux ..."
'sleep' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

F:\ubuntu\v3s_s3_fel_autorun_linux_uart0_pb8_pb9_20190501>

晕哥,这是我烧写的过程

离线

#42 2019-07-11 13:39:05

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

这就有点尴尬了, 晚点有空我用荔枝派zero 板子试一试。

离线

#43 2019-07-15 23:03:33

Tony
会员
注册时间: 2019-05-31
累计积分: 33

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥 说:

这就有点尴尬了, 晚点有空我用荔枝派zero 板子试一试。

晕哥,还请多指教,一直不行

离线

#44 2019-07-16 08:35:55

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

用荔枝派 zero 板子再次测试, TF 挂载成U盘, 一切 OK。

离线

#45 2019-07-16 09:24:49

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

只能这么附会一下, 可能你的卡初始化时间太长,
以至于运行modprobe 脚本的时候, 还没有初始化好,
你手动运行命令:

rmmod g_mass_storage
modprobe g_mass_storage file=/dev/mmcblk0 removable=1

离线

#46 2019-07-16 10:25:30

晕哥小弟
会员
注册时间: 2019-04-04
累计积分: 206

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

为什么我运行 Run_V3s_LicheePi0.bat 直接闪退呢?

离线

#47 2019-07-16 10:29:41

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥小弟 说:

为什么我运行 Run_V3s_LicheePi0.bat 直接闪退呢?

昨天有朋友问过了, 肯定是你的 fel 设备没有, 检查硬件/驱动是否有问题。

离线

#48 2019-07-16 10:32:15

晕哥小弟
会员
注册时间: 2019-04-04
累计积分: 206

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

这个是不是需要支持SPI 的uboot ?

离线

#49 2019-07-16 10:42:36

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥小弟 说:

这个是不是需要支持SPI 的uboot ?

不需要。

u-boot 是通过 usb 下载进去的。

离线

#50 2019-07-16 15:27:19

Tony
会员
注册时间: 2019-05-31
累计积分: 33

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥 说:

只能这么附会一下, 可能你的卡初始化时间太长,
以至于运行modprobe 脚本的时候, 还没有初始化好,
你手动运行命令:

rmmod g_mass_storage
modprobe g_mass_storage file=/dev/mmcblk0 removable=1

晕哥,我的还不行, 提示:g_mass_storage gadget: userspace failed to provide iSerialNumber。 help
Starting logging: OK
Starting mdev...
Initializing random number generator... done.
Starting network: OK
[    3.387123] Mass Storage Function, version: 2009/09/11
[    3.392284] LUN: removable file: (no medium)
[    3.428620] lun0: unable to open backing file: /dev/mmcblk0
[    3.434513] g_mass_storage musb-hdrc.1.auto: failed to start g_mass_storage: -2
[    3.454492] Mass Storage Function, version: 2009/09/11
[    3.459656] LUN: removable file: (no medium)
[    3.464916] lun0: unable to open backing file: /dev/mmcblk0
[    3.470637] 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
# [   45.956871] mmc0: host does not support reading read-only switch, assuming write-enable
[   45.966778] mmc0: new high speed SD card at address 21cd
[   45.975130] mmcblk0: mmc0:21cd XTSDA 122 MiB
[   45.994221]  mmcblk0: p1
ls
bin      init     linuxrc  opt      run      tmp
dev      lib      media    proc     sbin     usr
etc      lib32    mnt      root     sys      var
# rmmod g_mass_storage
rmmod: can't unload module 'g_mass_storage': No such file or directory
# rmmod g_mass_storage.ko
rmmod: can't unload module 'g_mass_storage': No such file or directory
# find -name "g_mass_storage.ko"
./lib/modules/4.13.16-licheepi-zero+/kernel/drivers/usb/gadget/legacy/g_mass_storage.ko
# cd /lib/modules/4.13.16-licheepi-zero+/kernel/drivers/usb/gadget/legacy/
# ls
g_acm_ms.ko        g_ether.ko         g_midi.ko          g_serial.ko
g_audio.ko         g_ffs.ko           g_multi.ko         g_webcam.ko
g_cdc.ko           g_hid.ko           g_ncm.ko           g_zero.ko
g_dbgp.ko          g_mass_storage.ko  g_printer.ko       gadgetfs.ko
# rmmod g_mass_storage.ko
rmmod: can't unload module 'g_mass_storage': No such file or directory
# modprobe g_mass_storage file=/dev/mmcblk0 removable=1
[  146.049723] Mass Storage Function, version: 2009/09/11
[  146.055001] LUN: removable file: (no medium)
[  146.059508] LUN: removable file: /dev/mmcblk0
[  146.063869] Number of LUNs=1
[  146.078297] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[  146.085433] g_mass_storage gadget: userspace failed to provide iSerialNumber
[  146.092477] g_mass_storage gadget: g_mass_storage ready
# fdisk -l
Disk /dev/mmcblk0: 122 MB, 127926272 bytes, 249856 sectors
585 cylinders, 7 heads, 61 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Device       Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
/dev/mmcblk0p1    0,1,1       29,6,61             61     249855     249795  121M  6 FAT16
Partition 1 has different physical/logical end:
     phys=(29,6,61) logical=(585,0,61)
# rmmod g_mass_storage.ko
# modprobe g_mass_storage file=/dev/mmcblk0p1 removable=1
[  173.253473] Mass Storage Function, version: 2009/09/11
[  173.258753] LUN: removable file: (no medium)
[  173.263240] LUN: removable file: /dev/mmcblk0p1
[  173.267838] Number of LUNs=1
[  173.281915] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[  173.289032] g_mass_storage gadget: userspace failed to provide iSerialNumber
[  173.296110] g_mass_storage gadget: g_mass_storage ready
# [  215.524395] random: crng init done
# rmmod g_mass_storage.ko
# modprobe g_mass_storage file=/dev/mmcblk0p1 removable=1
[  235.868330] Mass Storage Function, version: 2009/09/11
[  235.873491] LUN: removable file: (no medium)
[  235.878095] LUN: removable file: /dev/mmcblk0p1
[  235.882628] Number of LUNs=1
[  235.897146] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[  235.904122] g_mass_storage gadget: userspace failed to provide iSerialNumber
[  235.911301] g_mass_storage gadget: g_mass_storage ready

离线

#51 2019-07-16 15:32:42

晕哥小弟
会员
注册时间: 2019-04-04
累计积分: 206

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

1楼视频中的软件有linux版本么?

离线

#52 2019-07-16 15:57:44

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥小弟 说:

1楼视频中的软件有linux版本么?

Linux 版本,自己去编译一个就好了.




@Tony 命令行:

modprobe g_mass_storage file=/dev/mmcblk0p1 removable=1

==>

modprobe g_mass_storage file=/dev/mmcblk0 removable=1

离线

#53 2019-07-17 14:33:24

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

https://forums.xilinx.com/t5/Welcome-Join/using-g-mass-storage-ko-to-let-my-Zyang-7000-platform-as-a-usb/td-p/590044

I need to modify the kernel config through menuconfig.

The tip is,

Do not using (a) and  change to using (b);

Do not using (c) and  change to using (d);

 

(a)
CONFIG_USB_CONFIGFS=m
# CONFIG_USB_CONFIGFS_SERIAL is not set
# CONFIG_USB_CONFIGFS_ACM is not set
# CONFIG_USB_CONFIGFS_OBEX is not set
# CONFIG_USB_CONFIGFS_NCM is not set
# CONFIG_USB_CONFIGFS_ECM is not set
# CONFIG_USB_CONFIGFS_ECM_SUBSET is not set
# CONFIG_USB_CONFIGFS_RNDIS is not set
# CONFIG_USB_CONFIGFS_EEM is not set
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
# CONFIG_USB_CONFIGFS_F_LB_SS is not set
# CONFIG_USB_CONFIGFS_F_FS is not set

(b)
# CONFIG_USB_CONFIGFS is not set

 

(c)
# CONFIG_USB_GADGETFS is not set

(d)
CONFIG_USB_GADGETFS=m





https://forum.armbian.com/topic/4400-how-to-enable-mass-storage-usb-gadget-for-orangepi-lite/

echo "2" >/sys/bus/platform/devices/sunxi_usb_udc/otg_role

离线

#54 2019-07-20 11:55:10

Tony
会员
注册时间: 2019-05-31
累计积分: 33

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥 说:
晕哥小弟 说:

1楼视频中的软件有linux版本么?

Linux 版本,自己去编译一个就好了.




@Tony 命令行:

modprobe g_mass_storage file=/dev/mmcblk0p1 removable=1

==>

modprobe g_mass_storage file=/dev/mmcblk0 removable=1


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

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

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

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

离线

#55 2019-07-20 13:57:29

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

老板客气了, 很荣幸, 很碰巧解决了问题 ^_^

感谢老板赠送的小巧 eMMC 卡.

离线

#56 2019-07-23 10:18:02

雷龙发展q2852826868
会员
所在地: 深圳
注册时间: 2018-12-10
累计积分: 157
个人网站

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥牛批!!!!!必须支持

离线

#57 2019-07-27 11:13:58

zdl229892205
会员
注册时间: 2019-05-31
累计积分: 17

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥,荔枝烧录键是哪一个啊,板子上面没有一个按钮

离线

#58 2019-07-27 11:18:27

zdl229892205
会员
注册时间: 2019-05-31
累计积分: 17

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥 说:

好消息!

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 开发板验证通过!

晕哥,Nano板没有下载键啊,要怎么操作啊

离线

#59 2019-07-27 11:20:35

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

没有烧录按键,

全志全系列芯片都是 由BROM (芯片内部) 轮询各种 tf卡/flash, 检查是否有合法的启动介质,

如果有就载入 SRAM并启动,

如果都没有找到就进入FEL (USB烧录模式)

所以, 如果你的 TF卡/spi flash 里面有引导程序(boot0), 那么拔出 TF卡或短路 spi clk 到 gnd都可以。

离线

#60 2019-07-27 11:37:08

zdl229892205
会员
注册时间: 2019-05-31
累计积分: 17

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

vkaoke 说:

板子进入FEL时,PhoenixSuit可以正常烧录,但是sunxi-fel.exe报这个错误 ERROR: Allwinner USB FEL device not found!
ERROR: Allwinner USB FEL device not found!

老哥,你换过驱动后 Phoenixsuit还可以用吗?

离线

#61 2019-07-27 11:38:27

zdl229892205
会员
注册时间: 2019-05-31
累计积分: 17

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥 说:

没有烧录按键,

全志全系列芯片都是 由BROM (芯片内部) 轮询各种 tf卡/flash, 检查是否有合法的启动介质,

如果有就载入 SRAM并启动,

如果都没有找到就进入FEL (USB烧录模式)

所以, 如果你的 TF卡/spi flash 里面有引导程序(boot0), 那么拔出 TF卡或短路 spi clk 到 gnd都可以。

好的,谢谢晕哥,顺便问一下,跟换驱动后Phoenixsuit还可以用吗?

离线

#62 2019-07-27 11:42:57

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

硬件可以用, 再把驱动换回去就行了。

离线

#63 2019-07-31 12:33:53

hechao
会员
注册时间: 2019-07-31
累计积分: 1

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

回复激活专用

离线

#64 2019-07-31 15:39:51

cdft
会员
注册时间: 2019-07-31
累计积分: 19

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

学习了

离线

#65 2019-08-03 11:41:02

hupo
会员
注册时间: 2019-08-03
累计积分: 11

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

请问拉低哪个管脚可以进入USB BOOT模式?试了MISO引脚,好像不行

离线

#66 2019-08-03 12:37:09

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

hupo 说:

请问拉低哪个管脚可以进入USB BOOT模式?试了MISO引脚,好像不行

拉低 clk 试一试

离线

#67 2019-09-22 10:45:27

cjqdot
会员
注册时间: 2019-09-22
累计积分: 15

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

刚入坑,先来 学习一下

离线

#68 2019-10-10 19:50:46

hupo
会员
注册时间: 2019-08-03
累计积分: 11

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

请问,使用USB启动的时候,有一块板子烧不进去,会出现
U-Boot SPL 2019.04-00743-g7d99406 (Apr 26 2019 - 02:24:09 -0400)
DRAM: 0 MiB
### ERROR ### Please RESET the board ###
这是什么情况呢?电源都正常,难道是芯片坏了吗?

离线

#69 2019-10-10 20:05:41

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

检查 DRAM供电和波纹

离线

#70 2019-10-10 20:28:10

hupo
会员
注册时间: 2019-08-03
累计积分: 11

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥 说:

检查 DRAM供电和波纹

1.8V的供电是吗?1.8V示波器看过了,应该没有问题,纹波很小

离线

#71 2019-10-10 20:32:40

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

是V3s吗?

离线

#72 2019-10-11 09:01:41

hupo
会员
注册时间: 2019-08-03
累计积分: 11

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥 说:

是V3s吗?

是V3S的,测了4块,有一块不好使,等一下飞一根线用LDO供电看看怎么样

离线

#73 2019-10-11 09:15:48

hupo
会员
注册时间: 2019-08-03
累计积分: 11

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

hupo 说:
晕哥 说:

是V3s吗?

是V3S的,测了4块,有一块不好使,等一下飞一根线用LDO供电看看怎么样

换了LDO,还是不行

离线

#74 2019-10-11 09:32:36

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

u-boot里面把 dram 频率降低到 166MHz 试一试:

CONFIG_DRAM_CLK=166

离线

#75 2019-10-11 11:47:23

hupo
会员
注册时间: 2019-08-03
累计积分: 11

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥 说:

u-boot里面把 dram 频率降低到 166MHz 试一试:

CONFIG_DRAM_CLK=166

晕哥,还是不行,还有啥招?

离线

#76 2019-10-11 11:52:50

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

那就得排除芯片或者PCB其他问题了, 有条件先换个V3s。

离线

#77 2019-11-13 15:44:49

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

成功烧进去,pc还是没有能够检测到flash,这是启动日志

HELLO! BOOT0 is starting!
boot0 version : 4.0.0
boot0 commit : 8 
fel flag  = 0x00000000
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x00000000
rtc[3] value = 0x00000000
rtc[4] value = 0x00000000
rtc[5] value = 0x00000000
rtc[6] value = 0x00000000
rtc[7] value = 0x00000000
DRAM DRIVE INFO: V0.7
DRAM Type = 2 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM CLK = 408 MHz
DRAM zq value: 000039bb
DRAM size = 64 MB
dram size =64
Reg 0x01c20848: 0x00003333
0x01c20028 0x90041811
0x01c200a0 0x8100000f
spinand UBOOT_LAST_BLK_NUM 19
Succeed in opening spi nand flash.
block from 2 to 19
Succeed in reading Boot1 file head.
current block is 2.
current block is 3.
current block is 4.
current block is 5.
current block is 6.
current block is 7.
sum=1085a1bd
src_sum=1085a1bd
The file stored in block 2 to block 6 is perfect.
----------storage_type = 5  in boot0-------------------------
Ready to disable icache.
Jump to secend Boot.
[      0.505]

U-Boot 2011.09-rc1-00000-g2437157-dirty (Oct 25 2019 - 14:28:16) Allwinner Technology 

[      0.514]version: 1.1.0
[      0.517]uboot commit : 243715747050bc7f565cec7ce596911acd9c6805
 
[      0.527]pmbus:   ready
not set main pmu id
axp read error
probe axp20x failed
axp152 read error
probe axp15 failed
axp_probe error
[      1.141]PMU: pll1 408 Mhz,PLL6=600 Mhz
AXI=204 Mhz,AHB=204 Mhz, APB1=102 Mhz 
set power on vol to default
dcdc2_vol = 1200
axp set dcdc2_vol to 1200 failed
dcdc3_vol = 3300
axp set dcdc3_vol to 3300 failed
aldo2_vol = 2500
axp set aldo2_vol to 2500 failed
aldo3_vol = 3000
axp set aldo3_vol to 3000 failed
ldo1_vol = 3300
axp set ldo1_vol to 3300 failed
ldo2_vol = 3000
axp set ldo2_vol to 3000 failed
ldo3_vol = 3000
axp set ldo3_vol to 3000 failed
find power_sply to end
vbus exist
no battery, limit to dc
fel key new mode
run key detect
no key found
no key input
dram_para_set start
dram_para_set end
[      1.287]DRAM:  64 MiB
relocation Offset is: 0309b000
save config for small mem_size 
workmode = 0
storage type = 5
[      1.384]SPINAND: NAND_UbootInit
NAND_UbootInit start
NB1 : enter NAND_LogicInit
NandHwInit: Start Nand Hardware initializing .....
uboot:nand version: 2 54 20190712 1351 
Reg 0x01c20848: 0x3333
Reg 0x01c2085c: 0x55
Reg 0x01c20864: 0x10
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a34548
request general tx dma channel ok!
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a34564
request general rx dma channel ok!
SPI nand ID: 12c212c2 12c212c2
[SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffcfffff 
nand : get id_number_ctl fail, a
_UpdateExtAccessFreqPara: no para.
PHY_Scan_DelayMode: right delay mode 0x0
PHY_Scan_DelayMode: right delay mode 0x800
PHY_Scan_DelayMode: right delay mode,clk 100 MHz, bit[13]=0,bit[11]=1
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NAND_ReadPhyArch: get old physic arch ok, use old cfg, now:0x2 0x6d - old:0x2 0x6d!


[SCAN_DBG] ==============Nand Architecture Parameter==============
[SCAN_DBG]    Nand Chip ID:         0xffff12c2 0xffffffff
[SCAN_DBG]    Nand Chip Count:      0x1
[SCAN_DBG]    Nand Chip Connect:    0x1
[SCAN_DBG]    Sector Count Of Page: 0x4
[SCAN_DBG]    Page Count Of Block:  0x40
[SCAN_DBG]    Block Count Of Die:   0x400
[SCAN_DBG]    Plane Count Of Die:   0x2
[SCAN_DBG]    Die Count Of Chip:    0x1
[SCAN_DBG]    Bank Count Of Chip:   0x1
[SCAN_DBG]    Optional Operation:   0x6d
[SCAN_DBG]    Access Frequence:     0x64
[SCAN_DBG] =======================================================


[FORMAT_DBG] ===========Logical Architecture Parameter===========
[FORMAT_DBG]    Page Count of Logic Block:  0x40
[FORMAT_DBG]    Sector Count of Logic Page: 0x8
[FORMAT_DBG]    Block Count of Die:         0x200
[FORMAT_DBG]    Die Count:                  0x1
[FORMAT_DBG] ===================================================
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
secure storage updata ok!
nand secure storage ok: 21,22
NandHwInit: End Nand Hardware initializing ..... OK!
nand : get CapacityLevel fail, a
not burn nand partition table!
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
start block:23
[NE]mbr read 12
[NE]mbr read ok!
[NE]mbr read end!
[NE]mbr partition start!
[NE]mbr partition ok!
[NE]mbr partition end!
[NE]new nand info init!!
[NE]mbr read 12
[NE]mbr read ok!
[NE]mbr read end!
[NE]get mbr_data table
[ND]ok  get factory_bad_block table!
[NE]new_bad_block table new format!
[ND]ok get a new bad table!
[ND]build all_phy partition start!
[NE]mbr partition start!
[NE]mbr partition ok!
[NE]mbr partition end!
[NE]partition_num: 0,size :0x37e00,cross_talk 0
[NE]part mbr size: 0x800 type: 0
[NE]part bootloader size: 0x4000 type: 0
[NE]part env size: 0x400 type: 0
[NE]part boot size: 0x8000 type: 0
[NE]part rootfs size: 0x10000 type: 0
[NE]part UDISK size: 0x1b200 type: 0
[ND]build 1 phy_partition !
[ND]nand_info->type :0
[ND]nand_info->SectorNumsPerPage :8
[ND]nand_info->BytesUserData :16
[ND]nand_info->PageNumsPerBlk :64
[ND]nand_info->BlkPerChip :512
[ND]nand_info->FirstBuild :0
[ND]nand_info->FullBitmap :10
[ND]nand_info->bad_block_addr.Chip_NO :0
[ND]nand_info->bad_block_addr.Block_NO :13
[ND]nand_info->mbr_block_addr.Chip_NO :0
[ND]nand_info->mbr_block_addr.Block_NO :12
[ND]nand_info->no_used_block_addr.Chip_NO :0
[ND]nand_info->no_used_block_addr.Block_NO :16
[ND]nand_info->new_bad_block_addr.Chip_NO :0
[ND]nand_info->new_bad_block_addr.Block_NO :14
[ND]nand_info->new_bad_page_addr :65535
[ND]nand_info->partition_nums :1
[ND]sizeof partition:1192
[ND]nand_info->partition:0:
[ND]size:0x37e00
[ND]cross_talk:0x0
[ND]attribute:0x0
[ND]start: chip:0 block:16
[ND]end  : chip:0 block:511
NB1 : nftl num: 1 
 init nftl: 0 
[ND]nand_partition0
[ND]nftl start:496,49
[ND]first
[ND]before second 496 447.
[NE]smart->version:aaaaaa01;
[NE]smart->total_recv_read_sectors:23462;
[NE]smart->total_recv_write_sectors:36902;
[NE]smart->total_real_read_pages:2933;
[NE]smart->total_real_write_pages:4672;
[NE]smart->total_recv_discard_sectors:0;
[NE]smart->total_real_discard_sectors:0;
[NE]smart->total_recv_read_claim_pages:0;
[NE]smart->total_gc_times:0;
[NE]smart->total_gc_pages:0;
[NE]smart->total_wl_times:0;
[NE]smart->total_real_read_error_pages:0;
[NE]smart->total_real_write_error_pages:0;
[NE]smart->total_normal_power_cycles:2;
[NE]smart->total_unusual_power_cycles:0;
[NE]smart->max_block_erase_times:0;
[NE]smart->min_block_erase_times:0;
[NE]smart->max_block_used_counter:0;
[NE]smart->min_block_used_counter:0;
[NE]smart->read_reclaim_utc:0;
[NE]recover_phy_page_mapping no used page 32!!
[ND]recover 419 32
[ND]A64 nand2.0 version:0009 
[ND]zone->nand_chip->blk_per_chip: 496 
[ND]zone->nand_chip->bytes_per_page: 4096 
[ND]zone->nand_chip->pages_per_blk: 64 
[ND]zone->nand_chip->max_erase_times: 3000 
[ND]zone->nand_chip->support_read_reclaim: 0 
[ND]zone->test: 0 
[ND]zone->zone_no: 0 
[ND]zone->zone_attr: 0 
[ND]zone->blocks: 496 
[ND]zone->bad_block: 0 
[ND]zone->logic_cap_in_sects: 228864 
[ND]zone->backup_cap_in_sects: 25088 
[ND]zone->free_block_num: 422 
[ND]zone->gc_strategy.start_gc_free_blocks: 9 
[ND]zone->gc_strategy.stop_gc_free_blocks: 32 
[ND]zone->gc_strategy.gc_page: 0 
[ND]zone->gc_strategy.process: 1 
[ND]zone->prio_gc.prio_type : 0 
[ND]zone->zone_start_phy_block->phy_block.Block_NO: 0 
[ND]zone->zone_end_phy_block->phy_block.Block_NO: 495 
[ND]zone->zone_phy_page_map_for_gc: 4293e6c8 
[ND]zone->current_block.user_info: 4293e238 
[ND]zone->current_block.block_info: 4291f824 
[ND]zone->current_block.block_info->phy_block.Block_NO: 419 
[ND]zone->current_block.page_used: 32 
[ND]zone->current_block.block_info->block_used_count: 73 
[ND]zone->read_reclaim_complete: 0 
[ND]zone->temp_page_buf: 42920320 
[ND]zone->max_erase_num: 1 
[ND]zone->cache.cache_totals: 0 
[ND]zone->cfg->nftl_dont_use_cache: 1 
[ND]zone->cfg->nftl_use_cache_sort: 1 
[ND]zone->cfg->nftl_support_gc_read_reclaim: 1 
[ND]zone->cfg->nftl_support_wear_leveling: 1 
[ND]zone->cfg->nftl_need_erase: 0 
[ND]zone->cfg->nftl_min_free_block_num: 19 
[ND]zone->cfg->nftl_gc_threshold_free_block_num: 8 
[ND]zone->cfg->nftl_min_free_block: 4 
[ND]zone->cfg->nftl_gc_threshold_ratio_numerator: 2 
[ND]zone->cfg->nftl_gc_threshold_ratio_denominator: 3 
[ND]zone->cfg->nftl_max_cache_num: 10 
[ND]zone->cfg->nftl_max_cache_write_num: 1 
[ND]zone->cfg->nftl_cross_talk: 0 
[ND]zone->cfg->nftl_read_claim_interval: 1296000 
[NE]smart->version:aaaaaa01;
[NE]smart->total_recv_read_sectors:23462;
[NE]smart->total_recv_write_sectors:36902;
[NE]smart->total_real_read_pages:2966;
[NE]smart->total_real_write_pages:4672;
[NE]smart->total_recv_discard_sectors:0;
[NE]smart->total_real_discard_sectors:0;
[NE]smart->total_recv_read_claim_pages:0;
[NE]smart->total_gc_times:0;
[NE]smart->total_gc_pages:0;
[NE]smart->total_wl_times:0;
[NE]smart->total_real_read_error_pages:0;
[NE]smart->total_real_write_error_pages:0;
[NE]smart->total_normal_power_cycles:2;
[NE]smart->total_unusual_power_cycles:0;
[NE]smart->max_block_erase_times:0;
[NE]smart->min_block_erase_times:0;
[NE]smart->max_block_used_counter:0;
[NE]smart->min_block_used_counter:0;
[NE]smart->read_reclaim_utc:0;
[ND]nftl ok!
[ND] reserved panic block 494!
[ND] reserved panic block 493!
[ND] reserved panic block 492!
[ND]max_erase_times = 65000
[ND] not find panic data, no need to recovery!
[ND]nftl_add ok
NB1 : NAND_LogicInit ok, result = 0x0 
[      2.161]sunxi flash init ok
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
-total partitions:5-
-name-        -start-       -size-      
bootloader  : 100000        800000      
env         : 900000        80000       
boot        : 980000        1000000     
rootfs      : 1980000       2000000     
UDISK       : 3980000       0           
-----------------------------------
base bootcmd=run setargs_spinor boot_normal
bootcmd set setargs_nand
key 0
cant find rcvy value
cant find fstbt value
no misc partition is found
to be run cmd=run setargs_spinor boot_normal
WORK_MODE_BOOT
board_status_probe
adver not need show
sunxi_bmp_logo_display

** Unable to read "bootlogo.bmp" from sunxi_flash 0:1 **
sunxi bmp info error : unable to open logo file bootlogo.bmp
read bootlogo partition fail,start_block=0x0,rblock=0x0 ,ret=0
Not a JPG file ?
parse_header failed

Use decode 2x1 sampling
sunxi_read_bootlogo: jpg convert argb  
[      2.256]Hit any key to stop autoboot:  0 
read boot or recovery all
[      3.082]sunxi flash read :offset 980000, 11960124 bytes OK
no signature
[      3.104]ready to boot
------------------------------1111----------------------
board_display_setenv:  disp_para=0 init_disp=0 tv_vdid=0
para err in disp_ioctl, cmd = 0xa,screen id = 1
[      3.121][mmc]: MMC Device 2 not found
[      3.125][mmc]:  mmc  not find,so not exit
NAND_UbootExit
NB1 : NAND_LogicExit
nand release dma:43a34548
nand release dma:0
reload config to 0x43000000 
[      3.129]
Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.4.39 (root@wuyu-virtual-machine) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #27 Wed Nov 13 13:40:36 CST 2019
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: sun8i
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Initialized persistent memory from 41d20800-41d307ff
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat c058ca1c, node_mem_map c061c000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] script_init enter!
[    0.000000] script_init exit!
[    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: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/nandd init=/init loglevel=8 partitions=bootloader@mmcblk0p2:env@mmcblk0p5:boot@mmcblk0p6:rootfs@mmcblk0p7:UDISK@mmcblk0p1 mac_addr= uid=8882f574-3e53-45 kmemleak=on sunxi_mbr=bootloader@[2048:16384]env@[18432:1024]boot@[19456:32768]rootfs@[52224:65536]UDISK@[117760:0] boot_type=5 disp_para=0 init_disp=0 tv_vdid=0 fb_base=0x43e80000 config_size=49152
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    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: 64MB = 64MB total
[    0.000000] Memory: 19708k/19708k available, 45828k 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 : 0xc4800000 - 0xff000000   ( 936 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0521000   (5220 kB)
[    0.000000]       .init : 0xc0521000 - 0xc0546000   ( 148 kB)
[    0.000000]       .data : 0xc0546000 - 0xc058d140   ( 285 kB)
[    0.000000]        .bss : 0xc058d164 - 0xc061b7a0   ( 570 kB)
[    0.000000] NR_IRQS:544
[    0.000000] 524 ahb1 set parent pll_periph0d2
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000260] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[    0.000309] pid_max: default: 32768 minimum: 301
[    0.000575] Mount-cache hash table entries: 512
[    0.001452] CPU: Testing write buffer coherency: ok
[    0.001799] Setting up static identity map for 0x403e3cd0 - 0x403e3d04
[    0.002857] devtmpfs: initialized
[    0.006407] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006653] pinctrl core: initialized pinctrl subsystem
[    0.007404] NET: Registered protocol family 16
[    0.008243] DMA: preallocated 128 KiB pool for atomic coherent allocations
[    0.008327] script_sysfs_init success
[    0.008391] sunxi_dump_init success
[    0.009887] gpiochip_add: registered GPIOs 0 to 223 on device: sunxi-pinctrl
[    0.011714] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[    0.013402] persistent_ram: uncorrectable error in header
[    0.013432] persistent_ram: no valid data in buffer (sig = 0xe6ef7077)
[    0.023580] console [ram-1] enabled
[    0.024281] [sunxi-module]: [sunxi-module.0] probe success
[    0.024666] script config pll_isp to 456 Mhz
[    0.024874] Not Found clk pll_video in script 
[    0.025204] script config pll_ve to 456 Mhz
[    0.025401] Not Found clk pll_periph0 in script 
[    0.025577] Not Found clk pll_de in script 
[    0.025893] sunxi_default_clk_init
[    0.026068] try to set pll6ahb1 to 200000000
[    0.026248] Error not get clk pll6ahb1
[    0.026576] Error not get clk pll6ahb1try to set ahb1 to 200000000
[    0.026932] try to set apb1 to 100000000
[    0.027901] ===fe3o4==== sunxi_root_procfs_attach ret:0
[    0.034903] bio: create slab <bio-0> at 0
[    0.035495] pwm module init!
[    0.038808] SCSI subsystem initialized
[    0.039382] usbcore: registered new interface driver usbfs
[    0.039838] usbcore: registered new interface driver hub
[    0.040227] usbcore: registered new device driver usb
[    0.040657] twi_chan_cfg()341 - [twi0] has no twi_speed!
[    0.040987] twi_chan_cfg()352 - [twi0] has no twi_regulator.
[    0.041173] twi_chan_cfg()341 - [twi1] has no twi_speed!
[    0.041497] twi_chan_cfg()352 - [twi1] has no twi_regulator.
[    0.041677] Linux video capture interface: v2.00
[    0.042374] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.043889] cfg80211: Calling CRDA to update world regulatory domain
[    0.044993] Switching to clocksource arch_sys_counter
[    0.051442] NET: Registered protocol family 2
[    0.052210] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.053305] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.053727] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.054098] TCP: Hash tables configured (established 2048 bind 2048)
[    0.054280] TCP: reno registered
[    0.054466] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.054814] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.055530] NET: Registered protocol family 1
[    0.056178] Unpacking initramfs...
[    0.761263] Freeing initrd memory: 5000K
[    0.762026] sunxi_reg_init enter
[    0.765743] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.766024] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.766826] JFS: nTxBlock = 193, nTxLock = 1544
[    0.767701] msgmni has been set to 48
[    0.769434] io scheduler noop registered
[    0.769631] io scheduler deadline registered
[    0.769956] io scheduler cfq registered (default)
[    0.770883] [DISP]disp_module_init
[    0.771573] cmdline,disp=0
[    0.772746] rotation_sw module is config as no used
[    0.773110] [DISP] disp_get_rotation_sw,line:78:disp 0 out of range? g_rot_sw=0
[    0.773461] [DISP] disp_init_connections,line:289:NULL pointer: 0, 0
[    0.775254] [DISP] Fb_map_kernel_logo,line:956:kernel logo para error!
[    0.778325] [DISP]disp_module_init finish
[    0.778966] sw_uart_get_devinfo()1503 - uart2 has no uart_regulator.
[    0.779556] uart2: ttyS0 at MMIO 0x1c28800 (irq = 34) is a SUNXI
[    0.779894] sw_uart_pm()890 - uart2 clk is already enable
[    0.780172] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[    0.975059] console [ttyS0] enabled
[    1.510839] [NAND]panic_buff_handle 0xc494e000 ,0x40d70000
[    1.517181] [NAND]nand init start, spinand_used_flag is 1
[    1.523596] kernel:nand version: 2 54 20190712 1351 
[    1.530232] request tx DMA
[    1.533432] request rx DMA
[    1.537450] NAND_ReadPhyArch: get old physic arch ok, use old cfg, now:0x2 0x6d - old:0x2 0x6d!
[    1.562845] [NE]mbr read 12
[    1.566665] [NE]mbr read ok!
[    1.570085] [NE]mbr read end!
[    1.573587] [NE]mbr partition start!
[    1.578151] [NE]mbr partition ok!
[    1.582195] [NE]mbr partition end!
[    1.586170] [NE]new nand info init!!
[    1.590600] [NE]mbr read 12
[    1.594286] [NE]mbr read ok!
[    1.597823] [NE]mbr read end!
[    1.601344] [NE]get mbr_data table
[    1.605928] [ND]ok  get factory_bad_block table!
[    1.612050] [NE]new_bad_block table new format!
[    1.617663] [ND]ok get a new bad table!
[    1.622758] [ND]build all_phy partition start!
[    1.628068] [NE]mbr partition start!
[    1.632627] [NE]mbr partition ok!
[    1.636525] [NE]mbr partition end!
[    1.640684] [NE]partition_num: 0,size :0x37e00,cross_talk 0
[    1.647097] [NE]part mbr size: 0x800 type: 0
[    1.652208] [NE]part bootloader size: 0x4000 type: 0
[    1.657937] [NE]part env size: 0x400 type: 0
[    1.662900] [NE]part boot size: 0x8000 type: 0
[    1.668184] [NE]part rootfs size: 0x10000 type: 0
[    1.673635] [NE]part UDISK size: 0x1b200 type: 0
[    1.679219] [ND]build 1 phy_partition !
[    1.683720] [ND]nand_info->type :0
[    1.687710] [ND]nand_info->SectorNumsPerPage :8
[    1.693129] [ND]nand_info->BytesUserData :16
[    1.698096] [ND]nand_info->PageNumsPerBlk :64
[    1.703176] [ND]nand_info->BlkPerChip :512
[    1.708069] [ND]nand_info->FirstBuild :0
[    1.712641] [ND]nand_info->FullBitmap :-1068159692
[    1.718315] [ND]nand_info->bad_block_addr.Chip_NO :0
[    1.724057] [ND]nand_info->bad_block_addr.Block_NO :13
[    1.729978] [ND]nand_info->mbr_block_addr.Chip_NO :0
[    1.735860] [ND]nand_info->mbr_block_addr.Block_NO :12
[    1.741797] [ND]nand_info->no_used_block_addr.Chip_NO :0
[    1.748056] [ND]nand_info->no_used_block_addr.Block_NO :16
[    1.754380] [ND]nand_info->new_bad_block_addr.Chip_NO :0
[    1.760655] [ND]nand_info->new_bad_block_addr.Block_NO :14
[    1.766968] [ND]nand_info->new_bad_page_addr :65535
[    1.772757] [ND]nand_info->partition_nums :1
[    1.777703] [ND]sizeof partition:1192
[    1.781982] [ND]nand_info->partition:0:
[    1.786583] [ND]size:0x37e00
[    1.789968] [ND]cross_talk:0x0
[    1.793564] [ND]attribute:0x0
[    1.797051] [ND]start: chip:0 block:16
[    1.801572] [ND]end  : chip:0 block:511
[    1.806357] [ND]nand_partition0
[    1.810284] [ND]nftl start:496,49
[    1.814455] [ND]first
[    1.875718] [ND]before second 496 447.
[    1.908054] [NE]smart->version:aaaaaa01;
[    1.912800] [NE]smart->total_recv_read_sectors:23462;
[    1.918625] [NE]smart->total_recv_write_sectors:36902;
[    1.924563] [NE]smart->total_real_read_pages:2933;
[    1.930253] [NE]smart->total_real_write_pages:4672;
[    1.935882] [NE]smart->total_recv_discard_sectors:0;
[    1.941762] [NE]smart->total_real_discard_sectors:0;
[    1.947488] [NE]smart->total_recv_read_claim_pages:0;
[    1.953469] [NE]smart->total_gc_times:0;
[    1.958027] [NE]smart->total_gc_pages:0;
[    1.962600] [NE]smart->total_wl_times:0;
[    1.967300] [NE]smart->total_real_read_error_pages:0;
[    1.973140] [NE]smart->total_real_write_error_pages:0;
[    1.979205] [NE]smart->total_normal_power_cycles:2;
[    1.984848] [NE]smart->total_unusual_power_cycles:0;
[    1.990590] [NE]smart->max_block_erase_times:0;
[    1.995971] [NE]smart->min_block_erase_times:0;
[    2.001226] [NE]smart->max_block_used_counter:0;
[    2.006704] [NE]smart->min_block_used_counter:0;
[    2.012052] [NE]smart->read_reclaim_utc:0;
[    2.028982] [NE]recover_phy_page_mapping no used page 32!!
[    2.035465] [ND]recover 419 32
[    2.039053] [ND]A64 nand2.0 version:0009 
[    2.043735] [ND]zone->nand_chip->blk_per_chip: 496 
[    2.049508] [ND]zone->nand_chip->bytes_per_page: 4096 
[    2.055448] [ND]zone->nand_chip->pages_per_blk: 64 
[    2.061240] [ND]zone->nand_chip->max_erase_times: 3000 
[    2.067259] [ND]zone->nand_chip->support_read_reclaim: 1 
[    2.073630] [ND]zone->test: 0 
[    2.077213] [ND]zone->zone_no: 0 
[    2.081102] [ND]zone->zone_attr: 0 
[    2.085314] [ND]zone->blocks: 496 
[    2.089286] [ND]zone->bad_block: 0 
[    2.093371] [ND]zone->logic_cap_in_sects: 228864 
[    2.098948] [ND]zone->backup_cap_in_sects: 25088 
[    2.104398] [ND]zone->free_block_num: 422 
[    2.109150] [ND]zone->gc_strategy.start_gc_free_blocks: 9 
[    2.115618] [ND]zone->gc_strategy.stop_gc_free_blocks: 32 
[    2.121943] [ND]zone->gc_strategy.gc_page: 0 
[    2.127127] [ND]zone->gc_strategy.process: 1 
[    2.132185] [ND]zone->prio_gc.prio_type : 0 
[    2.137130] [ND]zone->zone_start_phy_block->phy_block.Block_NO: 0 
[    2.144377] [ND]zone->zone_end_phy_block->phy_block.Block_NO: 495 
[    2.151627] [ND]zone->zone_phy_page_map_for_gc: c0d7ec00 
[    2.157843] [ND]zone->current_block.user_info: c0d49400 
[    2.164117] [ND]zone->current_block.block_info: c18fbaec 
[    2.170344] [ND]zone->current_block.block_info->phy_block.Block_NO: 419 
[    2.178162] [ND]zone->current_block.page_used: 32 
[    2.183709] [ND]zone->current_block.block_info->block_used_count: 73 
[    2.191249] [ND]zone->read_reclaim_complete: 0 
[    2.196489] [ND]zone->temp_page_buf: c0d7c000 
[    2.201641] [ND]zone->max_erase_num: 1 
[    2.206242] [ND]zone->cache.cache_totals: 0 
[    2.211203] [ND]zone->cfg->nftl_dont_use_cache: 0 
[    2.216725] [ND]zone->cfg->nftl_use_cache_sort: 1 
[    2.222410] [ND]zone->cfg->nftl_support_gc_read_reclaim: 1 
[    2.228816] [ND]zone->cfg->nftl_support_wear_leveling: 1 
[    2.235180] [ND]zone->cfg->nftl_need_erase: 0 
[    2.240337] [ND]zone->cfg->nftl_min_free_block_num: 19 
[    2.246499] [ND]zone->cfg->nftl_gc_threshold_free_block_num: 8 
[    2.253309] [ND]zone->cfg->nftl_min_free_block: 4 
[    2.258982] [ND]zone->cfg->nftl_gc_threshold_ratio_numerator: 2 
[    2.265893] [ND]zone->cfg->nftl_gc_threshold_ratio_denominator: 3 
[    2.273143] [ND]zone->cfg->nftl_max_cache_num: 10 
[    2.278675] [ND]zone->cfg->nftl_max_cache_write_num: 1 
[    2.284850] [ND]zone->cfg->nftl_cross_talk: 0 
[    2.289993] [ND]zone->cfg->nftl_read_claim_interval: 1296000 
[    2.296750] [NE]smart->version:aaaaaa01;
[    2.301323] [NE]smart->total_recv_read_sectors:23462;
[    2.307144] [NE]smart->total_recv_write_sectors:36902;
[    2.313221] [NE]smart->total_real_read_pages:2966;
[    2.318752] [NE]smart->total_real_write_pages:4672;
[    2.324536] [NE]smart->total_recv_discard_sectors:0;
[    2.330275] [NE]smart->total_real_discard_sectors:0;
[    2.336143] [NE]smart->total_recv_read_claim_pages:0;
[    2.341981] [NE]smart->total_gc_times:0;
[    2.346537] [NE]smart->total_gc_pages:0;
[    2.351248] [NE]smart->total_wl_times:0;
[    2.355805] [NE]smart->total_real_read_error_pages:0;
[    2.361642] [NE]smart->total_real_write_error_pages:0;
[    2.367706] [NE]smart->total_normal_power_cycles:2;
[    2.373349] [NE]smart->total_unusual_power_cycles:0;
[    2.379216] [NE]smart->max_block_erase_times:0;
[    2.384470] [NE]smart->min_block_erase_times:0;
[    2.389851] [NE]smart->max_block_used_counter:0;
[    2.395200] [NE]smart->min_block_used_counter:0;
[    2.400551] [NE]smart->read_reclaim_utc:0;
[    2.405445] [ND]nftl ok!
[    2.408443] [ND] reserved panic block 494!
[    2.413210] [ND] reserved panic block 493!
[    2.418102] [ND] reserved panic block 492!
[    2.423094] [ND]max_erase_times = 65000
[    2.427775] [NAND]nand_dev add mbr
[    2.431948] [NAND]nand_dev add bootloader
[    2.438309]  nanda:
[    2.441404] [NAND]nand_dev add env
[    2.448386]  nandb: unknown partition table
[    2.454022] [NAND]nand_dev add boot
[    2.461264]  nandc: unknown partition table
[    2.466815] [NAND]nand_dev add rootfs
[    2.474225]  nandd: unknown partition table
[    2.479641] [NAND]nand_dev add UDISK
[    2.485721]  nande: unknown partition table
[    2.491329] [NAND]nand init end 
[    2.495326] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.
[    2.502826] sunxi_spi_register_spidev()2009 - Get spi devices modalias failed
[    2.511014] sunxi_spi_init()2073 - register spi devices board info failed 
[    2.519064] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.546993] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.556207] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[    2.565182] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[    2.590068] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[    2.598074] hub 1-0:1.0: USB hub found
[    2.602535] hub 1-0:1.0: 1 port detected
[    2.607802] sunxi-ehci sunxi-ehci.1: remove, state 1
[    2.613643] usb usb1: USB disconnect, device number 1
[    2.954001] sunxi-ehci sunxi-ehci.1: USB bus 1 deregistered
[    2.970594] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.997945] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    3.006763] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 1
[    3.015630] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
[    3.084991] hub 1-0:1.0: USB hub found
[    3.089537] hub 1-0:1.0: 1 port detected
[    3.094640] sunxi-ohci sunxi-ohci.1: remove, state 1
[    3.100576] usb usb1: USB disconnect, device number 1
[    3.107133] sunxi-ohci sunxi-ohci.1: USB bus 1 deregistered
[    3.123750] Initializing USB Mass Storage driver...
[    3.129672] usbcore: registered new interface driver usb-storage
[    3.136623] USB Mass Storage support registered.
[    3.142536] file system registered
[    3.148455] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    3.156555] android_usb gadget: Number of LUNs=1
[    3.161924]  lun0: LUN: removable file: (no medium)
[    3.168220] android_usb gadget: android_usb ready
[    3.173760] sunxikbd_script_init: key para not found, used default para. 
[    3.182320] sunxikbd_init end
[    3.186365] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[    3.194274] sunxi cedar version 0.1 
[    3.198649] [cedar]: install start!!!
[    3.203295] [cedar]: install end!!!
[    3.207429] step1 : gsensor_fetch_sysconfig_para
[    3.212958] step2 : gsensor_fetch_sysconfig_para
[    3.218302] [MIR3DA] fetch_sysconfig_para failed!
[    3.218314] 
[    3.225722] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
[    3.233165] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
[    3.244819] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
[    3.252877] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
[    3.259296] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
[    3.268874] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.114 2015-6-2 10:21) Compiled in Nov 12 2019 at 14:44:34
[    3.280714] [mmc]: get mmc0's sdc_power failed
[    3.285885] [mmc]: MMC host used card: 0x1, boot card: 0x0, io_card 0
[    3.294586] [mmc]: sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.308084] =========sunxi_leds_init============
[    3.313492] sunxi_leds_fetch_sysconfig_para leds is not used in config
[    3.321140] =========script_get_err============
[    3.326763] usbcore: registered new interface driver usbhid
[    3.333386] usbhid: USB HID core driver
[    3.338633] ashmem: initialized
[    3.342552] logger: created 256K log 'log_main'
[    3.348099] logger: created 32K log 'log_events'
[    3.353656] logger: created 32K log 'log_radio'
[    3.359046] logger: created 32K log 'log_system'
[    3.366325] [audiocodec] mic1_mic3_used type err! 
[    3.373100] asoc: sndcodec <-> sunxi-codec mapping ok
[    3.381547] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly!
[    3.392563] [I2S]snddaudio cannot find any using configuration for controllers, return directly!
[    3.402770] [DAUDIO0] driver not init,just return.
[    3.409093] IPv4 over IPv4 tunneling driver
[    3.415213] TCP: cubic registered
[    3.419109] Initializing XFRM netlink socket
[    3.424578] NET: Registered protocol family 10
[    3.431408] IPv6 over IPv4 tunneling driver
[    3.437440] NET: Registered protocol family 17
[    3.443452] ThumbEE CPU extension supported.
[    3.448434] Registering SWP/SWPB emulation handler
[    3.454946] [HDMI]ep952_module_init begin
[    3.460179] sunxi-rtc sunxi-rtc: setting system clock to 1970-01-01 00:00:06 UTC (6)
[    3.471650] [rf_pm]: Did not config module_power0 in sys_config
[    3.478484] [rf_pm]: Did not config module_power1 in sys_config
[    3.485489] [rf_pm]: Did not config module_power2 in sys_config
[    3.492312] [rf_pm]: Did not config module_power3 in sys_config
[    3.499252] [rf_pm]: mod has no chip_en gpio
[    3.504218] [rf_pm]: regulator on.
[    3.508205] [rf_pm]: Get ap 32k clk out failed!
[    3.513610] [wifi_pm]: failed to fetch wifi configuration!
[    3.519922] ALSA device list:
[    3.523569]   #0: audiocodec
[    3.528026] EXT3-fs (nandd): error: couldn't mount because of unsupported optional features (40)
[    3.538721] EXT2-fs (nandd): error: couldn't mount because of unsupported optional features (40)
[    3.549315] EXT4-fs (nandd): ext4_check_descriptors: Checksum for group 0 failed (29821!=36537)
[    3.559438] EXT4-fs (nandd): group descriptors corrupted!
[    3.568817] List of all partitions:
[    3.573015] 5d00            8192 nanda  (driver?)
[    3.578628] 5d08             512 nandb  (driver?)
[    3.584404] 5d10           16384 nandc  (driver?)
[    3.590026] 5d18           32768 nandd  (driver?)
[    3.595635] 5d20           55552 nande  (driver?)
[    3.601246] No filesystem could mount root, tried:  ext3 ext2 ext4 cramfs squashfs vfat jfs
[    3.612109] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(93,24)
[    3.621748] Backtrace: 
[    3.625001] [<c0011508>] (dump_backtrace+0x0/0x110) from [<c03de6e0>] (dump_stack+0x18/0x1c)
[    3.634646]  r6:00008000 r5:c183d028 r4:c183d028 r3:00000001
[    3.642015] [<c03de6c8>] (dump_stack+0x0/0x1c) from [<c03de8e8>] (panic+0x78/0x1cc)
[    3.650945] [<c03de870>] (panic+0x0/0x1cc) from [<c0521d18>] (mount_block_root+0x240/0x290)
[    3.660491]  r3:c1821f0c r2:00000020 r1:c1821f38 r0:c049ad9e
[    3.667818]  r7:c0541c80
[    3.671024] [<c0521ad8>] (mount_block_root+0x0/0x290) from [<c0521dc0>] (mount_root+0x58/0x68)
[    3.681029] [<c0521d68>] (mount_root+0x0/0x68) from [<c0521f00>] (prepare_namespace+0x130/0x190)
[    3.691208]  r5:c0541c91 r4:c058d1e4
[    3.695739] [<c0521dd0>] (prepare_namespace+0x0/0x190) from [<c0521944>] (kernel_init+0x16c/0x1a8)
[    3.706113]  r5:c0541c78 r4:00000007
[    3.710664] [<c05217d8>] (kernel_init+0x0/0x1a8) from [<c001f270>] (do_exit+0x0/0x660)

离线

#78 2019-11-13 15:47:05

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

不知道我的步骤对不对,短接后烧录,烧录成功后断开短接口,然后断电重新启动?

离线

#79 2019-11-13 15:49:44

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

你用 usb 启动,然后通过 win32diskimager 烧录了 固件? 是什么固件?

离线

#80 2019-11-13 15:52:43

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

我就是,短接以后,用了Run_V3s_LicheePi0.bat这个命令,命令成功以后,断开短接口断电重启

离线

#81 2019-11-13 16:02:35

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

有没有看到挂载的U盘?U盘的那个根文件系统分区有没有问题?

离线

#82 2019-11-13 16:08:47

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

没有,分区应该没有问题,但是本身就是卡在文件系统的挂载上,不知道会不会造成影响。我貌似没有用usb启动?是不是我不应该断电重启而是直接断开短接口?,试了一下这样有个串口有打印信息,但是就是非常慢的打印5v5vTT%%各种

离线

#83 2019-11-13 16:13:44

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

你不是用 spi nand 吗? 用 TF 卡?用TF卡没必要试这个。

离线

#84 2019-11-13 16:20:15

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

我是用的spinand,我梳理一下我整个过程。顺便问一下晕哥这个的原理,这个不是真正的烧录进了flash是吗,flash的系统仍然是原来的?
1、进入fel状态,Run_V3s_LicheePi0.bat,成功。
2、离开fel状态
3、断电重启:仍然是原来的固件日志/直接查看串口输出:缓慢打印乱码
结果:无挂载u盘

离线

#85 2019-11-13 16:36:43

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

这个不是烧 spi flash, 只是把 spi flash挂载成为U盘而已。

然后你再把 U盘挂载到 Ubuntu, 有点绕。

离线

#86 2019-11-14 11:39:10

troubeldog
会员
注册时间: 2019-11-14
累计积分: 3

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

请教晕哥    v3s 通过fel模式usb启动完成,然后,有没有自动烧写sd卡的方法,适合小批量生产的,对sd卡分区、dd等自动操作

离线

#87 2019-11-14 11:53:43

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

你先做好一个母版的TF卡文件,然后dump成文件,再通过 win32diskimager烧写就可以了。

离线

#88 2019-11-14 14:41:33

troubeldog
会员
注册时间: 2019-11-14
累计积分: 3

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

这个可以用在卡槽产品,如果是焊在板上的sd nand有好办法吗

离线

#89 2019-11-14 15:24:34

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

troubeldog 说:

这个可以用在卡槽产品,如果是焊在板上的sd nand有好办法吗

不不不,我上面说的就是焊在板上的烧录方案。

因为已经模拟成U盘了。

离线

#90 2019-11-15 09:07:47

troubeldog
会员
注册时间: 2019-11-14
累计积分: 3

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

win32diskimager 是在windows下运行,通过usb连接,烧写板上的 tf ? tf不是在fel模式下启动linux后才可以挂载成u盘吗?

离线

#91 2019-11-15 09:15:01

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

从USB启动之后,电脑可以看到一个U盘,这个时候你再用 win32diskimager 烧录即可。

建议你先操作一次, 思而不动手则罔,

围观地址:
https://whycan.cn/t_3123.html#p27059
https://whycan.cn/t_3123.html#p27161

离线

#92 2019-11-15 11:29:21

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

怀疑我的板子在断开短接口之后根本不会启动,成功烧写之后串口没有任何日志

离线

#93 2019-11-15 11:55:48

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

尝试在linux下,烧写成功,但是还是没有挂载为u盘,lsusb依然是Bus 002 Device 006: ID 1f3a:efe8 Onda (unverified) V972 tablet in flashing mode

离线

#94 2019-11-15 12:01:27

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

太一酱鸭 说:

尝试在linux下,烧写成功,但是还是没有挂载为u盘,lsusb依然是Bus 002 Device 006: ID 1f3a:efe8 Onda (unverified) V972 tablet in flashing mode

TF卡吗?你的USB ID脚有没有接,是不是PF6 ? USB线是不是有 ID的?

离线

#95 2019-11-18 09:03:35

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

是spiflash,看了一下我的usb只接了DP,DM,GND和VCC,是不是需要把PF6接出来接到micro usb上呢

离线

#96 2019-11-18 09:33:52

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

太一酱鸭 说:

是spiflash,看了一下我的usb只接了DP,DM,GND和VCC,是不是需要把PF6接出来接到micro usb上呢

PF6拉高或者拉低试一试,应该就是这里问题了。

离线

#97 2019-11-18 12:02:20

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

PF6接了个电阻准备拉高拉低后板子就没法启动了

离线

#98 2019-11-18 12:15:55

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

启动到linux之后再上拉或者下拉。

离线

#99 2019-11-22 16:40:59

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

问一下晕哥这个启动linux后串口信息是从uart0口出来吗,我现在拉高的话有一个未知设备,但是uart0没有任何输出

离线

#100 2019-11-22 16:47:56

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

太一酱鸭 说:

问一下晕哥这个启动linux后串口信息是从uart0口出来吗,我现在拉高的话有一个未知设备,但是uart0没有任何输出

是的, uart0

离线

#101 2019-11-22 16:52:43

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

那uart0什么输出都没有,flash的是不是和这个插卡的有区别啊,我按了烧录键之后串口输出进入fel状态,然后run_v3s_licheepi0之后串口没有输出,晕哥是插卡后才有输出的吗,感觉并没有启动

离线

#102 2019-11-22 17:00:17

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

有没有出现黑窗口,黑窗口有没有四个进度条,是不是和视频里面一样?

离线

#103 2019-11-22 17:31:27

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

和视频里一样,拉高之后依旧是未知usb设备,设备描述符请求失败,如果拉低就什么都没有

离线

#104 2019-11-22 17:33:49

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

太一酱鸭 说:

和视频里一样,拉高之后依旧是未知usb设备,设备描述符请求失败,如果拉低就什么都没有

你有没有荔枝派zero板子,试一试zero,这个我确认没问题的。

离线

#105 2019-11-22 17:35:34

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥 说:

你有没有荔枝派zero板子,试一试zero,这个我确认没问题的。

行,荔枝派应该短接哪两个口呢

离线

#106 2019-11-22 17:53:07

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

太一酱鸭 说:

行,荔枝派应该短接哪两个口呢

spi cs 与 gnd

离线

#107 2019-11-26 13:55:19

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

短接完发现荔枝派usb口坏掉了。。。 不过有新进展。
发现很坑的。。自己做的板子,串口是ttyS0,但是实际上使用的是uart2。。之前一直没有一直启用uart0,在fex文件中启用之后uart0是ttys2,又尝试烧这个程序,两个串口还是没有输出,不科学啊

离线

#108 2019-11-29 11:13:03

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

晕哥问一下怎么改你分享的这个输出串口的GPIO口啊,我终于发现我的串口没有输出是因为 我的uart0并不是pb8,pb9

离线

#109 2019-11-29 11:23:28

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

太一酱鸭 说:

晕哥问一下怎么改你分享的这个输出串口的GPIO口啊,我终于发现我的串口没有输出是因为 我的uart0并不是pb8,pb9

改dts可以,但是只更新这个文件不知道能不能启动。

编译这个的代码和环境都找不到了。

离线

#110 2019-11-29 11:58:33

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

那如果我想把输出串口改成uart2,只用改boot_fel_initrd.scr?我试了试改了uart2也没有输出

离线

#111 2019-11-29 15:08:26

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

不太可能吧,我记得都是可以用的。

离线

#112 2019-11-29 15:57:49

642242855
会员
注册时间: 2019-10-31
累计积分: 37

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

大佬威武!!

离线

#113 2019-11-29 16:21:46

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

要传参数进去,你搜一下其他帖子,现在的问题是什么?不能生成u盘设备?

离线

#114 2019-11-29 16:52:03

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

你用的是 spi nand 哪个芯片?硬件确认有没有问题?

离线

#115 2019-11-29 16:59:23

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

不好意思!!!我用错了用成sd卡启动的了!太蠢了!
然后现在识别到了分区

Starting network: OK
[    3.096949] Mass Storage Function, version: 2009/09/11
[    3.102272] LUN: removable file: (no medium)
[    3.106765] LUN: removable file: /dev/mtdblock0
[    3.111374] Number of LUNs=1
[    3.153054] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[    3.160031] g_mass_storage gadget: userspace failed to provide iSerialNumber
[    3.167213] g_mass_storage gadget: g_mass_storage ready

但是buildroot有密码进不去。。

离线

#116 2019-11-29 17:02:23

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

登录账号: root
密码: whycan.cn

密码: whycan
密码: 空

离线

#117 2019-11-29 17:39:06

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

拉高PF6可以被弹出U盘图标,但是虚拟机尝试挂载的时候 mount: /disk3/mount: wrong fs type, bad option, bad superblock on /dev/sdb, missing codepage or helper program, or other error. 文件系统类型是ext4

离线

#118 2019-12-02 09:57:25

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

问一下晕哥这个的调试方法是也要把自己的文件系统打包成rootfs.cpio.uz.uimage和zimage去替换你那个吗

离线

#119 2019-12-02 10:09:52

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

可以的。

离线

#120 2019-12-02 10:17:35

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

就是我想,用这个usb启动bsp那种也可以吗?我试了把bsp的zimage复制过去无法启动内核,uImage复制过去

U-Boot SPL 2019.04-00743-g7d99406 (Apr 26 2019 - 02:24:09 -0400)
DRAM: 64 MiB
Trying to boot from FEL


U-Boot 2019.04-00743-g7d99406 (Apr 26 2019 - 02:24:09 -0400) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   mmc@01c0f000: 0
Loading Environment from FAT... Card did not respond to voltage select!
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No working controllers found
Hit any key to stop autoboot:  0 
(FEL boot)
## Executing script at 41900000
Card did not respond to voltage select!
starting USB...
No working controllers found
USB is stopped. Please issue 'usb start' first.
starting USB...
No working controllers found
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-sunxi
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
starting USB...
No working controllers found
No ethernet found.
No ethernet found.
=> 

离线

#121 2019-12-02 10:29:30

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

bsp 的没有试过, 理论上是可以的, 要调试才知道什么问题,

可以参考这个帖子: https://whycan.cn/t_682.html

离线

#122 2019-12-03 14:22:58

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

目前bsp可以正常启动,但是就是/dev下出现不了mtdblock这个分区,我的spinand型号是MX35LF1GE4AB-128MB,用晕哥的主线启动是可以用的,不知道怎么搞了

离线

#123 2019-12-03 14:59:42

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,556

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

太一酱鸭 说:

目前bsp可以正常启动,但是就是/dev下出现不了mtdblock这个分区,我的spinand型号是MX35LF1GE4AB-128MB,用晕哥的主线启动是可以用的,不知道怎么搞了

你看下bsp当时支持哪些 spi nand,可能mx35当时没有在支持列表。

离线

#124 2019-12-03 15:56:30

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

我看了看主线支持设备里头也没有这个型号,怪哉,这个型号奇奇怪怪

离线

#125 2019-12-03 15:57:31

xgui
会员
注册时间: 2019-09-07
累计积分: 198

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

太一酱鸭 说:

我看了看主线支持设备里头也没有这个型号,怪哉,这个型号奇奇怪怪

5.x 有的: https://whycan.cn/t_3123.html#p27183

离线

#126 2019-12-03 16:14:06

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

我知道5.x可以挂载,就是我在 https://github.com/torvalds/linux/blob/master/drivers/mtd/spi-nor/spi-nor.c 这个代码里没有看见这个型号貌似

离线

#127 2019-12-03 16:22:57

xgui
会员
注册时间: 2019-09-07
累计积分: 198

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

他是 spi nand, 不是 spi nor

离线

#128 2019-12-03 16:25:37

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

xgui 说:

他是 spi nand, 不是 spi nor

是,但是原本m25p80的代码全部迁移到这个里面了,spinand和spinor都一起了应该

离线

#129 2019-12-03 16:26:33

xgui
会员
注册时间: 2019-09-07
累计积分: 198

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

这样哦, 那没注意呢。

离线

#130 2019-12-03 17:17:27

太一酱鸭
会员
注册时间: 2019-07-03
累计积分: 147

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

看到https://whycan.cn/t_3048.html这个贴里有人在bsp上用了MX35LF1GE4AB,应该是可以的,我问问他怎么配置的

离线

#131 2019-12-03 21:52:00

WhyKen395
会员
注册时间: 2019-11-28
累计积分: 10

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

可否分享一下那个串口工具,MobaXterm 破解版

离线

#132 2019-12-03 22:18:44

歌以咏志
会员
注册时间: 2019-09-21
累计积分: 47

Re: V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写

WhyKen395 说:

可否分享一下那个串口工具,MobaXterm 破解版

收费版有哪些功能?我一直用免费版, 感觉够用了.

离线

页脚