您尚未登录。

楼主 #1 2019-01-21 23:09:48

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

离线

楼主 #2 2019-01-21 23:09:53

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 我也跟着大神玩 T30 摄像头模组

...





离线

楼主 #3 2019-01-21 23:10:36

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 我也跟着大神玩 T30 摄像头模组

QQ20190121230645.jpg


QQ20190121230656.png





离线

楼主 #4 2019-01-21 23:11:34

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 我也跟着大神玩 T30 摄像头模组

https://whycan.cn/t_1859.html#p12152

root 的 登录密码是: IPCam@sw

跑了半小时, 在这广东10多度的冬天, T30 芯片目测 45 度左右.




MTD 分区信息:

[root@IPC:~]# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00008000 "boot"
mtd1: 00480000 00008000 "appfs"
mtd2: 001b0000 00008000 "kernel"
mtd3: 00100000 00008000 "root"
mtd4: 00010000 00008000 "hwconfig"
mtd5: 00080000 00008000 "config"

启动log:

[root@IPC:~]# dmesg
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.14__isvp_monkey_1.0__ (devin@swdev) (gcc version 4.7.2 (Ingenic r2.3.3 2016.12) ) #1 PREEMPT Fri Mar 30 18:44:32 CST 2018
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 RESET ERROR PC:80060B70
[    0.000000] [<80060b70>] hrtimer_init+0x48/0x110
[    0.000000] CPU0 revision is: 00d00100 (Ingenic Xburst)
[    0.000000] FPU revision is: 00b70000
[    0.000000] cgu_get_rate, parent = 1200000000, rate = 0, m = 0, n = 0, reg val = 0x881000ff
[    0.000000] CCLK:750MHz L2CLK:375Mhz H0CLK:250MHz H2CLK:250Mhz PCLK:125Mhz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 004c0000 @ 00010000 (usable)
[    0.000000]  memory: 00040000 @ 004d0000 (usable after init)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 02c00000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x02bfffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x02bfffff]
[    0.000000] On node 0 totalpages: 11264
[    0.000000] free_area_init_node: node 0, pgdat 804cd4d0, node_mem_map 81000000
[    0.000000]   Normal zone: 88 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 11264 pages, LIFO batch:1
[    0.000000] Primary instruction cache 32kB, 8-way, VIPT, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 8-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] pls check processor_id[0x00d00100],sc_jz not support!
[    0.000000] MIPS secondary cache 128kB, 8-way, linesize 32 bytes.
[    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 off.  Total pages: 11176
[    0.000000] Kernel command line: console=ttyS1,115200n8 mem=44M@0x0 rmem=20M@0x2c00000 init=/linuxrc rootfstype=squashfs root=/dev/mtdblock3 rw mtdparts=jz_sfc:256k(boot),4608k(appfs),1728k(kernel),1024k(root),64k(hwconfig),512k(config)
[    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: 38868k/45056k available (3709k kernel code, 6188k reserved, 1154k data, 256k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:418
[    0.000000] clockevents_config_and_register success.
[    0.000028] Calibrating delay loop... 743.83 BogoMIPS (lpj=3719168)
[    0.037701] pid_max: default: 32768 minimum: 301
[    0.042733] Mount-cache hash table entries: 512
[    0.047928] Initializing cgroup subsys debug
[    0.052192] Initializing cgroup subsys freezer
[    0.059504] regulator-dummy: no parameters
[    0.063774] NET: Registered protocol family 16
[    0.086554] bio: create slab <bio-0> at 0
[    0.093219] jz-dma jz-dma: JZ SoC DMA initialized
[    0.098408] usbcore: registered new interface driver usbfs
[    0.103948] usbcore: registered new interface driver hub
[    0.109477] usbcore: registered new device driver usb
[    0.114722] i2c-gpio i2c-gpio.1: using pins 57 (SDA) and 58 (SCL)
[    0.120992]  (null): set:311  hold:312 dev=125000000 h=625 l=625
[    0.127152] media: Linux media interface: v0.10
[    0.131712] Linux video capture interface: v2.00
[    0.138746] Switching to clocksource jz_clocksource
[    0.144393] jz-dwc2 jz-dwc2: cgu clk gate get error
[    0.149396] cfg80211: Calling CRDA to update world regulatory domain
[    0.155856] jz-dwc2 jz-dwc2: regulator vbus get error
[    0.160913] DWC IN OTG MODE
[    0.313259] sft id =========================off
[    0.317892] dwc2 dwc2: Keep PHY ON
[    0.321264] dwc2 dwc2: Using Buffer DMA mode
[    0.524220] dwc2 dwc2: Core Release: 3.00a
[    0.539756] dwc2 dwc2: dwc2_core_reset() HANG! Soft Reset GRSTCTL=0x80000001
[    0.558318] dwc2 dwc2: dwc2_core_reset() HANG! Soft Reset GRSTCTL=0x80000001
[    0.565428] dwc2 dwc2: DesignWare USB2.0 High-Speed Host Controller
[    0.571776] dwc2 dwc2: new USB bus registered, assigned bus number 1
[    0.579274] hub 1-0:1.0: USB hub found
[    0.583019] hub 1-0:1.0: 1 port detected
[    0.587232] dwc2 dwc2: DWC2 Host Initialized
[    0.591749] NET: Registered protocol family 2
[    0.596839] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.603820] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.610204] TCP: Hash tables configured (established 512 bind 512)
[    0.616543] TCP: reno registered
[    0.619742] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.625703] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.632341] NET: Registered protocol family 1
[    0.637121] RPC: Registered named UNIX socket transport module.
[    0.643057] RPC: Registered udp transport module.
[    0.647900] RPC: Registered tcp transport module.
[    0.652593] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.659757] freq_udelay_jiffys[0].max_num = 10
[    0.664246] cpufreq  udelay  loops_per_jiffy
[    0.668603] 12000     59506   59506
[    0.671869] 24000     119013  119013
[    0.675366] 60000     297533  297533
[    0.678756] 120000    595066  595066
[    0.682288] 200000    991778  991778
[    0.685928] 300000    1487667         1487667
[    0.689561] 600000    2975334         2975334
[    0.693269] 792000    3927441         3927441
[    0.697012] 1008000   4998561         4998561
[    0.700774] 1200000   5950668         5950668
[    0.710946] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.718011] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
[    0.724073] msgmni has been set to 75
[    0.729345] io scheduler noop registered
[    0.733289] io scheduler cfq registered (default)
[    0.740213] jz-uart.1: ttyS1 at MMIO 0x10031000 (irq = 58) is a uart1
[    0.748767] console [ttyS1] enabled, bootconsole disabled
[    0.764794] brd: module loaded
[    0.770309] loop: module loaded
[    0.774461] zram: Created 2 device(s) ...
[    0.778714] logger: created 256K log 'log_main'
[    0.784266] jz SADC driver registeres over!
[    0.789750] jz TCU driver register completed
[    0.794755] the id code = 1c7017, the flash name is EN25QH64
[    0.800629] JZ SFC Controller for SFC channel 0 driver register
[    0.806856] 6 cmdlinepart partitions found on MTD device jz_sfc
[    0.812995] Creating 6 MTD partitions on "jz_sfc":
[    0.817987] 0x000000000000-0x000000040000 : "boot"
[    0.823595] 0x000000040000-0x0000004c0000 : "appfs"
[    0.829319] 0x0000004c0000-0x000000670000 : "kernel"
[    0.835135] 0x000000670000-0x000000770000 : "root"
[    0.840723] 0x000000770000-0x000000780000 : "hwconfig"
[    0.846741] 0x000000780000-0x000000800000 : "config"
[    0.852498] SPI NOR MTD LOAD OK
[    0.855893] tun: Universal TUN/TAP device driver, 1.6
[    0.861133] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.867686] Bus Mode Reg after reset: 0x00020101, cnt=0
[    0.876477] libphy: jz_mii_bus: probed
[    0.880465] =======>gmacdev = 0x821f7800<================
[    0.886146] =========>gmacdev->MacBase = 0xb34b0000 DmaBase = 0xb34b1000
[    0.893096] Bus Mode Reg after reset: 0x00020101, cnt=0
[    0.900201] jz_mac jz_mac.0: JZ on-chip Ethernet MAC driver, Version 1.0
[    0.907415] usbcore: registered new interface driver zd1201
[    0.913566] jzmmc_v1.2 jzmmc_v1.2.0: vmmc regulator missing
[    0.954713] jzmmc_v1.2 jzmmc_v1.2.0: register success!
[    0.960439] TCP: cubic registered
[    0.963934] NET: Registered protocol family 17
[    0.969651] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    0.976935] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    0.989253] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    0.997243] Freeing unused kernel memory: 256K (804d0000 - 80510000)
[    2.029344] jffs2: jffs2_scan_inode_node(): CRC failed on node at 0x00039fec: Read 0xffffffff, calculated 0x80bd33d6
[    2.301843] @@@@ tx-isp-probe ok @@@@@
[    2.356571] at24 1-0050: 2048 byte 24c16 EEPROM, writable, 16 bytes/write
[    2.376497] request spk en gpio 63 ok!
[    2.376515] jz_codec_register: probe() successful!
[    2.636856] cgu_set_rate, parent = 1200000000, rate = 2048000, n = 9375, reg val = 0x8100249f
[    2.636877] cgu_enable,cgu_i2s reg val = 0xa100249f
[    3.004159] dma dma0chan24: Channel 24 have been requested.(phy id 7,type 0x06 desc a1881000)
[    3.013502] dma dma0chan25: Channel 25 have been requested.(phy id 6,type 0x06 desc a1a63000)
[    3.038752] Bus Mode Reg after reset: 0x00020101, cnt=0
[    4.943360] name : i2c-gpio1 nr : 1
[    4.949304] name : i2c0 nr : 0
[    5.034063]  sensor_read: addr=0x2 value = 0x27
[    5.039329]  sensor_read: addr=0x3 value = 0x35
[    5.044471]  sensor_read: addr=0x4 value = 0x7
[    5.049475]  sensor_read: addr=0x4 value = 0x7
[    5.054135] info: success sensor find : ov2735b
[    5.058892] misc sinfo_release
[    5.110501] set sensor gpio as PA-low-10bit
[    5.117164] probe ok ------->ov2735b
[    5.194075] -----ov2735b_detect: 584 ret = 0, v = 0x27
[    5.194493] -----ov2735b_detect: 592 ret = 0, v = 0x35
[    5.194907] -----ov2735b_detect: 600 ret = 0, v = 0x07
[    5.194919] ov2735 chip found @ 0x3c (i2c0)
[    5.262509] ov2735b stream on
[    6.475223] codec_codec_ctl: set sample rate...
[    6.476265] codec_codec_ctl: set device...
[    6.913660] codec_set_device: set device: MIC...
[root@IPC:~]#




离线

页脚

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

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