您尚未登录。

#1 Re: DOPI开源摄像头(HI3516/HI3518) » DOPI EV200 问题汇总 » 2020-10-05 11:35:44

下载的dopi的源码,编译完rootfs,烧写后,开发板卡在如下环节,不在动作,难道又是权限的问题?/sbin/init无运行权限?

yaffs: dev is 32505858 name is "mtdblock2" rw
yaffs: passed flags ""
VFS: Mounted root (yaffs2 filesystem) on device 31:2.
devtmpfs: mounted
Freeing unused kernel memory: 188K (c06b9000 - c06e8000)
This architecture does not have kernel memory protection.
Starting init: /sbin/init exists but couldn't execute it (error -13)
Starting init: /bin/sh exists but couldn't execute it (error -13)
Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.37 #1
Hardware name: Generic DT based system
Backtrace:
[<c0012870>] (dump_backtrace) from [<c0012b2c>] (show_stack+0x18/0x1c)
 r7:00000000 r6:00000000 r5:00000000 r4:c071a2e8
[<c0012b14>] (show_stack) from [<c02568ac>] (dump_stack+0x24/0x28)
[<c0256888>] (dump_stack) from [<c00736e8>] (panic+0xd0/0x238)
[<c007361c>] (panic) from [<c05640f4>] (__irq_alloc_descs+0x0/0x22c)
 r3:c06f1b98 r2:c06f1b98 r1:00000000 r0:c0621818
 r7:00000000
[<c0563ff8>] (kernel_init) from [<c000f7e8>] (ret_from_fork+0x14/0x2c)
 r5:c0563ff8 r4:00000000
---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

#2 Re: DOPI开源摄像头(HI3516/HI3518) » DOPI EV200 问题汇总 » 2020-10-01 20:06:23

you3700 说:

我在编译dopi优化的uboot时遇到如下错误,执行./build.sh nand,最后出现如下错误,请问是什么情况?

./scripts/check-config.sh u-boot.cfg \
	./scripts/config_whitelist.txt . 1>&2
/bin/sh: 1: ./scripts/check-config.sh: Permission denied
Makefile:923: recipe for target 'all' failed
make: *** [all] Error 126
make -C /home/you/uboot/arch/arm/cpu/armv7/hi3516ev200/hw_compressed/ \
	CROSS_COMPILE=arm-himix100-linux- \
	BINIMAGE=/home/you/uboot/u-boot.bin TOPDIR=/home/you/uboot
./gzip -fNqc -7 /home/you/uboot/u-boot.bin > image_data.gzip
/bin/sh: 1: ./gzip: Permission denied
Makefile:124: recipe for target 'image_data.gzip' failed
make[1]: *** [image_data.gzip] Error 126
Makefile:951: recipe for target 'u-boot-z.bin' failed
make: *** [u-boot-z.bin] Error 2
 build spi nand flash version

总算解决了,又是改权限,又是替换/uboot/arch/arm/cpu/armv7/hi3516ev200/hw_compressed下的源文件,总算编译出来了,还不知道能不能用,明天试试吧。另外问一下,能单独烧录uboot而不烧kernel和文件系统吗?

#3 Re: DOPI开源摄像头(HI3516/HI3518) » DOPI EV200 问题汇总 » 2020-10-01 17:17:38

我在编译dopi优化的uboot时遇到如下错误,执行./build.sh nand,最后出现如下错误,请问是什么情况?

./scripts/check-config.sh u-boot.cfg \
	./scripts/config_whitelist.txt . 1>&2
/bin/sh: 1: ./scripts/check-config.sh: Permission denied
Makefile:923: recipe for target 'all' failed
make: *** [all] Error 126
make -C /home/you/uboot/arch/arm/cpu/armv7/hi3516ev200/hw_compressed/ \
	CROSS_COMPILE=arm-himix100-linux- \
	BINIMAGE=/home/you/uboot/u-boot.bin TOPDIR=/home/you/uboot
./gzip -fNqc -7 /home/you/uboot/u-boot.bin > image_data.gzip
/bin/sh: 1: ./gzip: Permission denied
Makefile:124: recipe for target 'image_data.gzip' failed
make[1]: *** [image_data.gzip] Error 126
Makefile:951: recipe for target 'u-boot-z.bin' failed
make: *** [u-boot-z.bin] Error 2
 build spi nand flash version

#4 Re: DOPI开源摄像头(HI3516/HI3518) » DOPI EV200 问题汇总 » 2020-09-21 23:25:26

3516ev200刚到货正在学习,有个问题请教,为什么我的WiFi装上以后只能ping通网关,ping不通其它地址,也ping不通自己?

wlan0     Link encap:Ethernet  HWaddr 18:FE:34:09:B4:65
          inet addr:192.168.3.35  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:910 errors:0 dropped:703 overruns:0 frame:0
          TX packets:2013 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:99029 (96.7 KiB)  TX bytes:413628 (403.9 KiB)

# ping 192.168.3.1
PING 192.168.3.1 (192.168.3.1): 56 data bytes
64 bytes from 192.168.3.1: seq=0 ttl=64 time=2.226 ms
64 bytes from 192.168.3.1: seq=1 ttl=64 time=1.595 ms
64 bytes from 192.168.3.1: seq=2 ttl=64 time=1.405 ms
^C
--- 192.168.3.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.405/1.742/2.226 ms
# ping 192.168.3.35
PING 192.168.3.35 (192.168.3.35): 56 data bytes
^C
--- 192.168.3.35 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
#

页脚

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

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