Hast du auf jeden Fall.
U-Boot 2010.06 (Aug 13 2015 - 16:32:20)
Serial Number: hi3518c
Check spi flash controller v350... Found
Spi(cs1) ID: 0xC8 0x40 0x18 0xC8 0x40 0x18
Spi(cs1): Block:64KB Chip:16MB Name:"GD25Q128"
MMC: MID:0x3 RBlock:512 WBlock:512 Chip:1886MB Name:"SU02G"
SD: Ver:2.0 Low Capacity Speed:25000000Hz Bus Width:4bit
*** using default environment for 16MB flash
In: serial
Out: serial
Err: serial
do_auto_sd_update: detect flash size: 0x1000000, gsdexist=1
Interface: MMC
Device 0: Vendor: Man 035344 Snr 07ec147e Rev: 8.0 Prod: SU02G
Type: Removable Hard Disk
Capacity: 1886.0 MB = 1.8 GB (3862528 x 512)
Partition 1: Filesystem: FAT32 "NO NAME "
system volume information/
test/
8023276 home
1 file(s), 2 dir(s)
1: home!
find index 5: home
u-boot not found!
env not found!
conf not found!
kernel not found!
rootfs not found!
reading home
magic 0x27051956 0x27051956
arch 0x2 0x2
size 0x7a6cac 0x40
type 0x7 0x2
crc 0x85f464bf
name 7518-hi3518-home
idx5: buf : 55e3cd71, int : 55e3cd71, time : 55e3cd71
Image home is same time
do_auto_flash_update: detect flash size: 0x1000000, gsdexist=1
do_auto_update: detect flash size: 0x1000000
USB: scanning bus for devices... 2 USB Device(s) found
0 Storage Device(s) found
gpio7_7 =80
gpio2_5 =20
Press Ctrl+C to stop autoboot
16384 KiB hi_sfc at 0:0 is now current device
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-3.0.8-7518-hi3518-kernel
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2894932 Bytes = 2.8 MiB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 3.0.8 (rock07@Server) (gcc version 4.4.1 (Hisilicon_v100(gcc4.4-24
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: hi3518
Memory policy: ECC disabled, Data cache writeback
AXI bus clock 200000000.
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 10160
Kernel command line: mem=40M console=ttyAMA0,115200 root=/dev/mtdblock4 rootfst)
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 40MB = 40MB total
Memory: 35080k/35080k available, 5880k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc3000000 - 0xfe000000 ( 944 MB)
lowmem : 0xc0000000 - 0xc2800000 ( 40 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0029000 ( 132 kB)
.text : 0xc0029000 - 0xc0515000 (5040 kB)
.data : 0xc0516000 - 0xc053a0e0 ( 145 kB)
.bss : 0xc053a104 - 0xc0557380 ( 117 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:32 nr_irqs:32 32
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
Console: colour dummy device 80x30
Calibrating delay loop... 218.72 BogoMIPS (lpj=1093632)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Serial: AMBA PL011 UART driver
uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 5) is a PL011 rev2
console [ttyAMA0] enabled
uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 5) is a PL011 rev2
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource timer1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.16)
msgmni has been set to 68
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
brd: module loaded
loop: module loaded
Spi id table Version 1.22
Spi(cs1) ID: 0xC8 0x40 0x18 0xC8 0x40 0x18
SPI FLASH start_up_mode is 3 Bytes
Spi(cs1):
Block:64KB
Chip:16MB
Name:"GD25Q128"
spi size: 16MB
chip num: 1
7 cmdlinepart partitions found on MTD device hi_sfc
Creating 7 MTD partitions on "hi_sfc":
0x000000000000-0x000000040000 : "boot"
0x000000040000-0x000000060000 : "env"
0x000000060000-0x000000080000 : "conf"
0x000000080000-0x000000380000 : "os"
0x000000380000-0x000000700000 : "rootfs"
0x000000700000-0x000000fe0000 : "home"
0x000000fe0000-0x000001000000 : "vd"
Fixed MDIO Bus: probed
himii: probed
usbcore: registered new interface driver rt2500usb
usbcore: registered new interface driver rt73usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
hiusb-ehci hiusb-ehci.0: HIUSB EHCI
hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1
hiusb-ehci hiusb-ehci.0: irq 15, io mem 0x100b0000
hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
hiusb-ohci hiusb-ohci.0: HIUSB OHCI
hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 2
hiusb-ohci hiusb-ohci.0: irq 16, io mem 0x100a0000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver cdc_wdm
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-alauda
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-isd200
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver mdc800
mdc800: v0.7.5 (30/10/2000):USB Driver for Mustek MDC800 Digital Camera
mousedev: PS/2 mouse device common for all mice
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
NET: Registered protocol family 17
NET: Registered protocol family 15
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
registered taskstats version 1
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
ømmc0: new SD card at address aaaa
usb 1-1: new high speed USB device number 2 using hiusb-ehci
mmcblk0: mmc0:aaaa SU02G 1.84 GiB
mmcblk0: p1
VFS: Mounted root (jffs2 filesystem) on device 31:4.
Freeing init memory: 132K
_ _ _ _ _ _ _ _ _ _ _ _
\ _ _ _ _ _ ___
/ /__/ \ |_/
/ __ / - _ ___
/ / / / / /
_ _ _ _/ / / \_/ \_ ______
___________\___\__________________
[RCS]: /etc/init.d/S00devs
[RCS]: /etc/init.d/S01udev
udevd (636): /proc/636/oom_adj is deprecated, please use /proc/636/oom_score_ad.
[RCS]: /etc/init.d/S80network
/etc/init.d/rcS: line 21: /etc/init.d/S80network: not found
[RCS]: /etc/init.d/S88telnet
[RCS]: /etc/init.d/S89ftp
tcpsvd: listening on 0.0.0.0:21, starting
Auto login as root ...
Jan 1 00:00:03 login[648]: root login on 'ttyS000'
Welcome to HiLinux.
None of nfsroot found in cmdline.
Alles anzeigen
Das war das Ausgangsfehlerbild.
/etc/init.d/rcS: line 21: /etc/init.d/S80network: not found
also habe ich den Inhalt der S80network Datei per echo > von der funktionierenden CAM kopiert und eingefügt.
nach einem reboot ging die Linse schonmal auf und so und die CAM blinkte schnell Orange. ein Connect war noch nicht möglich.
Ich installierte https://github.com/fritz-smh/yi-hack auf meine SD, habe die WLAN Daten eingegeben, und siehe da, die CAM bootet von der SD Karte.
jetzt funktioniert sie auf jeden Fall schonmal wieder mit Wlan und telnetzugriff.
sobald ich mehr Zeit habe, suche ich den Fehler in den Configs, damit die Cam auch ohne SD Karte bootet.
Danke für den Tip mit UART.