您尚未登录。

#1 Re: 全志 SOC » buildroot-tiny200 (F1C100/200s) 开发包近期更新内容 * 已支持DVP摄像头 *,支持SPI NAND » 2022-08-16 15:52:41

接上面,不插TF卡, 插入USB接到电脑,设备管理是能检测到新增的USB设备的,但是PhoenixSuit会自动弹出错误框。
大虾们,接下来该如何弄呢?脑瓜痛!

F1C100S对应的USB设备.jpg

PhoenixSuit 提示错误
PhoenixSuit-Error.jpg

#2 Re: 全志 SOC » buildroot-tiny200 (F1C100/200s) 开发包近期更新内容 * 已支持DVP摄像头 *,支持SPI NAND » 2022-08-16 15:39:52

问题又来了, 用 dd 命令把 sysimage-sdcard.img 写到TF卡中,插到之前在淘宝买的老人唱戏机,感觉没什么反应。
UART0 和 SD卡 有部分端口共用, 所以也看不了串口是否有输出。

具体 dd 命令

 sudo dd if=sysimage-sdcard.img of=/dev/sdb 

老人唱戏机
.jpg

想着把 sysimage-nor.img 写到板子的SPI FLASH中,看是否有反应,谁知 LiveSuit 直接提示文件格式无效, 选择 sysimage-sdcard.img 也是同样提示,
不知道生成的文件是否有问题?
.jpg

#3 Re: 全志 SOC » buildroot-tiny200 (F1C100/200s) 开发包近期更新内容 * 已支持DVP摄像头 *,支持SPI NAND » 2022-08-16 14:48:46

把  \buildroot-tiny200\board\allwinner\generic\scripts\genimage.sh 中生成 u-boot-sunxi-with-nand-spl.bin 的调用屏蔽掉后,
重新运行make,就能生成 sysimage-nor.img 和 sysimage-sdcard.img 文件,
虽然生成sysimage-nand.img还是提示失败,但板子没有用到nand,所以先不关心这个。

genimage.sh
.jpg

生成文件
2.jpg

#4 Re: 全志 SOC » buildroot-tiny200 (F1C100/200s) 开发包近期更新内容 * 已支持DVP摄像头 *,支持SPI NAND » 2022-08-16 10:41:38

编译到最后提示出现如下错误,不知又是什么原因? 看output目录里面已经有一些生成的文件,有zImage,但没有uImage

>>>   Executing post-image script board/allwinner/generic/scripts/genimage.sh
kernel.its:8.18-21.11: Warning (unit_address_vs_reg): /images/kernel@0: node has a unit name, but no reg property
kernel.its:18.20-20.15: Warning (unit_address_vs_reg): /images/kernel@0/hash@0: node has a unit name, but no reg property
kernel.its:23.15-33.11: Warning (unit_address_vs_reg): /images/fdt@0: node has a unit name, but no reg property
kernel.its:30.20-32.15: Warning (unit_address_vs_reg): /images/fdt@0/hash@0: node has a unit name, but no reg property
kernel.its:38.16-46.11: Warning (unit_address_vs_reg): /configurations/conf@0: node has a unit name, but no reg property
kernel.its:43.20-45.15: Warning (unit_address_vs_reg): /configurations/conf@0/hash@0: node has a unit name, but no reg property
FIT description: Generic Allwinner FIT Image
Created:         Mon Aug 15 18:52:16 2022
 Image 0 (kernel@0)
  Description:  Linux kernel
  Created:      Mon Aug 15 18:52:16 2022
  Type:         Kernel Image
  Compression:  uncompressed
  Data Size:    4309480 Bytes = 4208.48 KiB = 4.11 MiB
  Architecture: ARM
  OS:           Linux
  Load Address: 0x80000000
  Entry Point:  0x80000000
  Hash algo:    crc32
  Hash value:   2ccb5dcb
 Image 1 (fdt@0)
  Description:  Flattened Device Tree blob
  Created:      Mon Aug 15 18:52:16 2022
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    15666 Bytes = 15.30 KiB = 0.01 MiB
  Architecture: ARM
  Hash algo:    crc32
  Hash value:   61472816
 Default Configuration: 'conf@0'
 Configuration 0 (conf@0)
  Description:  Kernel, DeviceTree
  Kernel:       kernel@0
  FDT:          fdt@0
  Hash algo:    crc32
  Hash value:   unavailable
make[1]: *** [target-post-image] Error 1
make: *** [_all] Error 2

output目录下的文件
.png

#5 Re: 全志 SOC » buildroot-tiny200 (F1C100/200s) 开发包近期更新内容 * 已支持DVP摄像头 *,支持SPI NAND » 2022-08-15 18:33:10

liangbofu 说:
哇酷小二 说:

@liangbofu
你的文件里面的字符有问题,是不是从windows里面拷过来的?

是从windows 拷的, 我试一下从ubuntu直接git

在linux下git clone 到 23% 就卡着不动, 通过windows下载zip压缩包,然后在linux下解压,现在可以编译了。
谢谢 @哇酷小二

#6 Re: 全志 SOC » buildroot-tiny200 (F1C100/200s) 开发包近期更新内容 * 已支持DVP摄像头 *,支持SPI NAND » 2022-08-15 18:22:09

哇酷小二 说:

@liangbofu
你的文件里面的字符有问题,是不是从windows里面拷过来的?

是从windows 拷的, 我试一下从ubuntu直接git

#7 Re: 全志 SOC » buildroot-tiny200 (F1C100/200s) 开发包近期更新内容 * 已支持DVP摄像头 *,支持SPI NAND » 2022-08-15 15:23:45

小白准备入坑, 刚 git clone 下来的代码,执行make 就提示如下错误, 请问哪位大神知道是什么原因? 系统为 ubuntu 14.04

lbf@ubuntu:~/dev/f1c100s/buildroot-tiny200$ make widora_mangopi_r3_defconfig
/bin/bash: /home/lbf/dev/f1c100s/buildroot-tiny200/support/scripts/setlocalversion: /bin/sh^M: bad interpreter: No such file or directory
: No such file or directory
Makefile:192: /home/lbf/dev/f1c100s/buildroot-tiny200/output/.br2-external.mk: No such file or directory
'none>:0:warning: ignoring unsupported character '
'onfig.in:3:warning: ignoring unsupported character '
'onfig.in:3:warning: ignoring unsupported character '
'onfig.in:5:warning: ignoring unsupported character '
'onfig.in:6:warning: ignoring unsupported character '
'onfig.in:7:warning: ignoring unsupported character '
'onfig.in:7:warning: ignoring unsupported character '
'onfig.in:9:warning: ignoring unsupported character '
'onfig.in:10:warning: ignoring unsupported character '
'onfig.in:11:warning: ignoring unsupported character '
'onfig.in:11:warning: ignoring unsupported character '
'onfig.in:13:warning: ignoring unsupported character '
'onfig.in:14:warning: ignoring unsupported character '
'onfig.in:15:warning: ignoring unsupported character '
'onfig.in:15:warning: ignoring unsupported character '
'onfig.in:17:warning: ignoring unsupported character '
'onfig.in:18:warning: ignoring unsupported character '
'onfig.in:19:warning: ignoring unsupported character '
'onfig.in:19:warning: ignoring unsupported character '
'onfig.in:22:warning: ignoring unsupported character '
Config.in:22: can't open file "/home/lbf/dev/f1c100s/buildroot-tiny200/output/.br2-external.in.paths"
make[1]: *** [widora_mangopi_r3_defconfig] Error 1
make: *** [_all] Error 2

页脚

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

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