板子启动异常LOG(GK8602)

本文详细记录了U-Boot 2012.10版本在GK8602开发板上的启动过程,包括硬件配置、闪存读取、内存分配、设备初始化、Linux内核版本3.4.43的加载及启动,以及启动过程中遇到的错误与异常处理。
摘要由CSDN通过智能技术生成
U-Boot 2012.10 (Mar 02 2016 - 14:09:16) for GK8602 devkit (GOKE)


Board:  GK8602
HAL:  0x7101
DRAM:  128 MiB
Flash: support 4X mode read:0xe520f1ff
16 MiB
16 MiB
NAND:  SPINAND MID = 0xff, DID = 0xffff, Data = 0x1ffffff !spinand_board_init[1581]: No support this SPI nand!
SF: Detected MX25L12845 with page size 256 B, sector size 64 KiB, total size 16 MiB
In:    serial
Out:   serial
Err:   serial
Net:   arm_freq(600MHz)..............0x112032
use int MII..............
gk8602


 main loop
......value =0
   uboot version v1.2.5
[PROCESS_SEPARATORS] sf probe;sf read 0xc2000000 0xf70000 0x10000
SF: Detected MX25L12845 with page size 256 B, sector size 64 KiB, total size 16 MiB
kernel check value=-892391773 1048576
tftp_update -1
status 0
RUN_NORM
Hit any key to stop autoboot:  0
the last hit any key
[PROCESS_SEPARATORS] sf probe;sf read 0xC1000000 0x100000 0x230000; bootm
SF: Detected MX25L12845 with page size 256 B, sector size 64 KiB, total size 16 MiB
[PROCESS_SEPARATORS] sf probe;sf read 0xc2000000 0x60000 0x10000
SF: Detected MX25L12845 with page size 256 B, sector size 64 KiB, total size 16 MiB
app_func a0000 2d936
do not run apps


the kernel image is zImage or Image
entry = 0xc1000000
## Transferring control to Linux (at address c1000000)...


Starting kernel ...


machid = 3988 r2 = 0xc0000100
Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.4.43-gk (jim@jim-ubuntu) (gcc version 4.6.1 (crosstool-NG 1.18.0) ) #3 PREEMPT Tue May 17 00:22:27 CST 2016
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: VIPT aliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Goke GK7101 evaluation board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AHB: 0x90000000  0xf2000000  -- 0x1000000
[    0.000000] APB: 0xa0000000  0xf3000000  -- 0x1000000
[    0.000000] PPM: 0xc0000000  0xc0000000  -- 0x300000
[    0.000000] BSB: 0xc3f00000  0xf5000000  -- 0x400000
[    0.000000] DSP: 0xc4300000  0xf6000000  -- 0x3d00000
[    0.000000] 5aa50001  5aa50002  5aa50003  5aa50004  a55a0001  a55a0002  a55a0003  a55a0004  74caee4e  f616c7dd  be9ccfe9  477e1f5d
[    0.000000] hal version = 0x20151223
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15240
[    0.000000] Kernel command line: console=ttySGK0 noinitrd root=/dev/mtdblock3 rootfstype=squashfs mem=60m sensor=OV2710 wifi=MT7601 product=WIFI_DVR_1080P version=v1.2.0.7 rootfstype=squashfs switch_printk=1 user_debug=0xff video=gk_fb0:720x480,720x480,8,0
[    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: 60MB = 60MB total
[    0.000000] Memory: 56068k/56068k available, 5372k 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]     DMA     : 0xff600000 - 0xffe00000   (   8 MB)
[    0.000000]     vmalloc : 0x84000000 - 0xff000000   (1968 MB)
[    0.000000]     lowmem  : 0x80000000 - 0x83c00000   (  60 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x80421000   (4196 kB)
[    0.000000]       .init : 0x80421000 - 0x80441000   ( 128 kB)
[    0.000000]       .data : 0x80442000 - 0x8046de40   ( 176 kB)
[    0.000000]        .bss : 0x8046de64 - 0x804a730c   ( 230 kB)
[    0.000000] NR_IRQS:128
[    0.000000] >> gk7101 init irq vic1...
[    0.000000] >> gk7101 init irq vic2...
[    0.000000] gk7101 init vic...
[    0.000000] mach gk7101 init timer...
[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [ttySGK0] enabled
[    0.020000] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[    0.020000] pid_max: default: 32768 minimum: 301
[    0.030000] Mount-cache hash table entries: 512
[    0.030000] CPU: Testing write buffer coherency: ok
[    0.040000] Setting up static identity map for 0xc06480a8 - 0xc06480e0
[    0.060000] NET: Registered protocol family 16
[    0.060000] gk7101 init timer...
[    0.070000] Init HW timer for DSP communication
[    0.070000] gk7101 init gpio...
[    0.080000] gpiochip_add: registered GPIOs 0 to 63 on device: gk7101-gpio0
[    0.080000] gpio map init...
[    0.090000] create proc dir
[    0.090000] init fb...
[    0.090000] gk7101 register devices 10
[    0.100000] gk7101 register I2C
[    0.240000] bio: create slab <bio-0> at 0
[    0.250000] usbcore: registered new interface driver usbfs
[    0.250000] usbcore: registered new interface driver hub
[    0.260000] usbcore: registered new device driver usb
[    0.270000] i2c regbase: 0xf3003000
[    0.270000] i2c i2c.0: GK7101 I2C[0] adapter[i2c-0] probed!
[    0.280000] i2c regbase: 0xf3004000
[    0.280000] i2c-hdmi i2c-hdmi.1: GK7101 I2C[1] adapter[i2c-1] probed!
[    0.290000] FS-Cache: Loaded
[    0.300000] cfg80211: Calling CRDA to update world regulatory domain
[    0.310000] CacheFiles: Loaded
[    0.320000] gk7101-sd gk7101-sd.0: Slot0 req_size=0x00010000, segs=16, seg_size=0x00010000
[    0.350000] gk7101-sd gk7101-sd.0: GK7101 SD/MMC[0] has 1 slots @ 48000000Hz, [0x09e130b0:0x00000000]
[    0.360000] NET: Registered protocol family 2
[    0.360000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.370000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.380000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.390000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.400000] TCP: reno registered
[    0.400000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.410000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.410000] NET: Registered protocol family 1
[    0.420000] RPC: Registered named UNIX socket transport module.
[    0.430000] RPC: Registered udp transport module.
[    0.430000] RPC: Registered tcp transport module.
[    0.440000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.450000] gdma init...
[    0.450000] gdma request irq: 54
[    0.460000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.460000] NFS: Registering the id_resolver key type
[    0.470000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.480000] msgmni has been set to 109
[    0.490000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.500000] io scheduler noop registered
[    0.500000] io scheduler deadline registered
[    0.510000] io scheduler cfq registered (default)
[    0.530000] uart.0: ttySGK0 at MMIO 0xa0005000 (irq = 31) is a gk7101uart
[    0.550000] brd: module loaded
[    0.560000] loop: module loaded
[    0.560000] slram: not enough parameters.
[    0.560000] speed_mod is 0
[    0.570000] USE 1X mode read and 1X mode write
[    0.570000] support 4X mode read:0xe520f1ff
[    0.580000] gk7101_flash gk7101_flash.0: MX25L12845 (16384 Kbytes)
[    0.580000] Creating 6 MTD partitions on "gk7101_flash":
[    0.590000] 0x000000000000-0x000000050000 : "uboot"
[    0.600000] 0x000000050000-0x000000060000 : "ubootenv"
[    0.610000] 0x000000100000-0x000000400000 : "kernel"
[    0.610000] 0x000000400000-0x000000f70000 : "rootfs"
[    0.620000] 0x000000f70000-0x000000f80000 : "update"
[    0.630000] 0x000000f80000-0x000001000000 : "sysinfo"
[    0.630000] GKETH_init
[    0.640000] [GKETH_drv_probe] eth_base = 0xf200e000
[    0.640000] mii id = 0
[    0.650000] ###### PHY Reset.1.0.2
[    0.760000] mdiobus_register: PHY[0] whose id 0x00000000
[    0.770000] goke MII Bus: probed
[    0.770000] gk7101-eth gk7101-eth.0: MAC Address[02:11:22:a3:a0:00].
[    0.780000] Broadcom 43xx driver loaded [ Features:  ]
[    0.790000] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.790000]
[    0.790000]
[    0.790000] gk7101_probe....
[    0.790000]
[    0.800000] musb phy Begin initial sequence ...
[    1.050000] gk7101 musb init end...
[    1.050000]
[    1.050000]
[    1.050000] dma controller create ok
[    1.060000] musb-hdrc musb-hdrc: MUSB HDRC host driver
[    1.070000] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1
[    1.070000] vm : ffde0000, phy : c39a0000
[    1.080000] dma_buf alloc ok!
[    1.080000] hub 1-0:1.0: USB hub found
[    1.090000] hub 1-0:1.0: 1 port detected
[    1.090000] musb-hdrc musb-hdrc: USB Host mode controller at f0006000 using DMA, IRQ 26
[    1.100000] platform add gk7101 musb...
[    1.110000] gk7101 rtc init...
[    1.110000] rtc base: 0xf2080000
[    1.110000] os read tm: t=0
[    1.120000] gk7101-rtc gk7101-rtc: rtc core: registered gk7101-rtc as rtc0
[    1.120000] i2c /dev entries driver
[    1.130000] gre: GRE over IPv4 demultiplexor driver
[    1.140000] TCP: cubic registered
[    1.140000] Initializing XFRM netlink socket
[    1.140000] NET: Registered protocol family 17
[    1.150000] NET: Registered protocol family 15
[    1.150000] lib80211: common routines for IEEE802.11 drivers
[    1.160000] Registering the dns_resolver key type
[    1.170000] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    1.180000] os read tm: t=0
[    1.180000] gk7101-rtc gk7101-rtc: setting system clock to 1970-01-01 00:00:00 UTC (0)
[    1.200000] tang test /dev/root ,squashfs,0x8000,(null)
[    1.200000] tangVFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.210000] Freeing init memory: 128K
[    1.540000] usb 1-1: new high-speed USB device number 2 using musb-hdrc
Starting logging: OK
Starting mdev...
Initializing random number generator... read-only file system detected...done
Starting network...
rootfs_init done............
[    2.560000] chip id  : 249
[    2.590000] cmd =21 ,data = e
[    2.590000] cmd =20 ,data = 5
[    2.620000] cmd =1e ,data = 0
[    2.630000] cmd =1b ,data = 4
[    2.630000] cmd =1a ,data = 0
[    2.640000] cmd =19 ,data = 4
[    2.640000] cmd =18 ,data = 0
[    2.660000] cmd =17 ,data = 0
[    2.710000] cmd =16 ,data = 7
[    2.710000] cmd =f ,data = 8
[    2.730000] vo: module license 'Proprietary' taints kernel.
[    2.730000] Disabling lock debugging due to kernel taint
[    2.840000] kernel v119
[    2.840000] here begin chrdev
[    2.900000] adc initialized (10:11)
[    2.910000] here begin creat chrdev
[    2.910000] here chrdev created successs
[    2.940000]  request_irq...24 ok-- video_sync
[    2.980000]  request_irq...59 ok-- video_frame_last_pixel
[    2.980000]  request_irq...61 ok-- video_frame
[    3.010000]  gk7101_is_valid_gpio_irq...
[    3.160000] pwm initialized (10:10)
mount sysinfo success
[    3.210000] gk7101_wdt: GK7101 Watchdog Timer, (c) 2014 Goke Microelectronics
[    3.250000] ov2710 reset...
[    3.250000] sensor board reset...
[    3.260000] [gk7101_wdt_init]: init
[    3.260000] [gk7101_wdt_probe]: probe
[    3.280000] crypto initialized (10:11)
[    3.300000] [gk7101_wdt_probe]: probe mapped wdt_base=f3006000
[    3.300000] watchdog inactive, reset disabled, irq disabled
Will run main!
run telnet


Welcome to Goke Linux
goke login: [    4.120000] init gk7101 framebuffer
[    4.120000] gk7101 framebuffer probe...
[    4.120000] gk7101 framebuffer use_prealloc ... 0
[    4.240000] gk7101 framebuffer setup...720x480,720x480,8,0
[    4.240000] gk7101 framebuffer alloc...
[    4.380000] gk7101-fb gk7101-fb.0: probe p[720x480] v[720x480] c[8] b[0] l[1440] @ [0xc3200000:0x000a9000]!
[    4.460000] gk7101 framebuffer probe...
[    4.460000] gk7101 framebuffer use_prealloc ... 0
[    4.570000] gk7101 framebuffer setup...(null)
[01/Jan/1970:00:00:03 +0000] boa: server version Boa/0.94.13
[01/Jan/1970:00:00:03 +0000] boa: server built May 31 2016 at 16:02:12.
[01/Jan/1970:00:00:03 +0000] boa: starting server pid=141, port 80
[    5.290000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
segment init
RecordPadkMkv init
segment init
RecordPadkMkv init
segment init
segment init
preview is 10    review is 0  stream channel:2
g_stream_param.ch_num = 2
------------------->init ch_no = 0
ch 0 stream space 10485760 index num 10240  max frame size 819200
------------[    5.660000] os read tm: t=0
------->init ch_no = 1
ch 1 stream space 1048576 index num 1024  max frame size 102400


INIT RTC_TYPE[0]....
rtc_type[0] g_rtc_type[0]
app_[    5.680000] os set time: day=16436 h=0 m=0 s=0
wdt.c(35)[app_wd[    5.680000] rtc start...
t_enableWatchdog]: app_wdt_enableWatchdog init  ok !
time 0
time 0
time 0
time 1
time 0
ti[    5.700000] os read tm: t=1420070400
me 70


app_rtc.c(16)[gk_set_RTC8563]: Open rtc[0]
app_rtc.c(19)[gk_set_RTC8563]: Open internal rtc0
app_rtc.c(286)[init_time]: init time 2015-1-1
paramLib.c(156)[GK_param_init]: ======================= init param ok!
main_wifi.c(177)[main]: startEnc start
libavencode.so version: avencode_v2_007 Compile Time: 16:33:55 -- May 31 2016
load_config_file
set_audioparams
gadi_sys_init
[    6.290000] i2c i2c.0: I2C state 0x10, please check address 0x6c!
[    6.290000] ov2710_i2c_read(error) -121 [0x3008]
[    6.310000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
gadi_sys_load_firmware
sys_init
gadi_vi_init
gadi_vout_init
gadi_venc_init
video_init
gadi_isp_init
isp_init
gadi_audio_init
audio_init
gadi_osd_init
FT_Init_FreeType
osd_init
[INFO] VIN: size[1920 x 1080] sensorType[cmos]
gadi_vi_open
gadi_vout_open
gadi_venc_open
gadi_venc_map_bsb
gadi_venc_map_dsp
gadi_isp_open
[INFO] gadi_vi_enable: 0
gadi_vi_enable enable = 0
gadi_vout_set_params
[    7.110000] sensor board reset...
[    7.310000] i2c i2c.0: I2C state 0x10, please check address 0x6d!
[    7.310000] ov2710_i2c_read(error) -121 [0x3008]
[    7.330000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[    8.330000] i2c i2c.0: I2C state 0x10, please check address 0x6c!
[    8.330000] ov2710_i2c_write(error) -121 [0x3008:0x83]
[    8.340000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[    9.340000] i2c i2c.0: I2C state 0x10, please check address 0x6c!
[    9.340000] ov2710_i2c_read(error) -121 [0x3008]
[    9.350000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[   10.350000] i2c i2c.0: I2C state 0x10, please check address 0x6c!
[   10.350000] ov2710_i2c_read(error) -121 [0x300a]
[   10.360000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[   11.360000] i2c i2c.0: I2C state 0x10, please check address 0x6d!
[   11.360000] ov2710_i2c_read(error) -121 [0x3008]
[   11.370000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[   12.370000] i2c i2c.0: I2C state 0x10, please check address 0x6d!
[   12.370000] ov2710_i2c_read(error) -121 [0x300a]
[   12.380000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[   13.380000] i2c i2c.0: I2C state 0x10, please check address 0x6c!
[   13.380000] ov2710_i2c_write(error) -121 [0x3008:0x83]
[   13.390000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[   14.390000] i2c i2c.0: I2C state 0x10, please check address 0x6c!
[   14.390000] ov2710_i2c_read(error) -121 [0x300b]
[   14.400000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[   15.400000] i2c i2c.0: I2C state 0x10, please check address 0x6c!
[   15.400000] ov2710_i2c_write(error) -121 [0x3103:0x93]
[   15.410000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[   16.410000] i2c i2c.0: I2C state 0x10, please check address 0x6d!
[   16.410000] ov2710_i2c_read(error) -121 [0x300b]
[   16.420000] gk_vi0: probe of 0-0002 failed with error -5
[   16.420000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[   17.420000] i2c i2c.0: I2C state 0x10, please check address 0x6c!
[   17.420000] ov2710_i2c_write(error) -121 [0x3008:0x82]
[   17.430000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[   18.430000] i2c i2c.0: I2C state 0x10, please check address 0x6c!
[   18.430000] ov2710_i2c_write(error) -121 [0x3008:0x42]
[   18.440000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[   19.440000] i2c i2c.0: I2C state 0x10, please check address 0x6c!
[   19.440000] ov2710_i2c_write(error) -121 [0x300e:0x18]
[   19.450000] Unable to handle kernel NULL pointer dereference at virtual address 0000000a
[   19.460000] pgd = 8386c000
[   19.460000] [0000000a] *pgd=c3bd1831, *pte=00000000, *ppte=00000000
[   19.470000] Internal error: Oops: 17 [#1] PREEMPT ARM
[   19.470000] Modules linked in: gk7101_fb sysimgblt syscopyarea media(PO) sysfillrect fb_sys_fops hw_crypto(O) ov2710(O) gk7101_wdt gk7101_pwm isp(PO) vi(O) gk7101_adc tv(PO) gkio vo(PO) encipher(O) dsp(O) gk7101_gsensor
[   19.470000] CPU: 0    Tainted: P           O  (3.4.43-gk #3)
[   19.470000] PC is at nu160zZvqhsdZqdf.isra.3+0x18/0x88 [ov2710]
[   19.470000] LR is at ov2710_set_video_mode+0x14c/0x414 [ov2710]
[   19.470000] pc : [<7f047724>]    lr : [<7f048278>]    psr: 80000013
[   19.470000] sp : 83831d38  ip : 83831d60  fp : 83831d5c
[   19.470000] r10: 00000004  r9 : 00000014  r8 : 00000064
[   19.470000] r7 : 7f049684  r6 : 00000005  r5 : 8380bc00  r4 : 8380bce8
[   19.470000] r3 : 00000030  r2 : 00000000  r1 : 00003016  r0 : 00000000
[   19.470000] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   19.470000] Control: 00c5387d  Table: c3b6c008  DAC: 00000015
[   19.470000] Process main (pid: 113, stack limit = 0x83830268)
[   19.470000] Stack: (0x83831d38 to 0x83832000)
[   19.470000] 1d20:                                                       00000036 7f020003
[   19.470000] 1d40: 83831d45 180e3000 8380bce8 8380bc00 83831de4 83831d60 7f048278 7f047718
[   19.470000] 1d60: 83831d8c 83831d70 80010f30 00000000 00000000 8380bc00 00000001 83830000
[   19.470000] 1d80: 83831db4 83831d90 8000fdf0 80010f18 83831de4 83831dd0 800447c0 8018be14
[   19.470000] 1da0: 00000000 800447c0 83831dcc 83831db8 00000000 8000fdc0 8378a984 8380bce8
[   19.470000] 1dc0: 83831ea8 8380bd28 83831ea8 8000dcc8 83830000 00000000 83831e04 83831de8
[   19.470000] 1de0: 7f02f57c 7f048138 7f02fa34 80346604 00002206 8380bce8 83831e34 83831e08
[   19.470000] 1e00: 7f02fac4 7f02f2a8 83831e34 00000000 80095140 00000000 837fb820 837daab0
[   19.470000] 1e20: 00000007 8000dcc8 83831ecc 83831e38 7f05be00 7f02fa50 8000fdf0 0000fffc
[   19.470000] 1e40: 76ef84fc 00000000 0005c210 76d64000 7e8b3bfc 76f86a70 00000000 00000100
[   19.470000] 1e60: 7e8b33dc 83830000 7f02fb80 8382fc34 7f06f280 0000130e 8382fc00 8000dcc8
[   19.470000] 1e80: 83831eac 83831e90 7f02f294 80346604 7e8b38a8 837fb820 837daab0 00000007
[   19.470000] 1ea0: 83831ecc 83831eb0 00000000 7f02f244 83831ecc 00000000 837daab0 837daab0
[   19.470000] 1ec0: 83831f04 83831ed0 7f05c3f8 7f05b73c 800cd2f0 80041d38 83831f3c 40047303
[   19.470000] 1ee0: 836bd420 76f9c000 00000000 00000000 00000000 837dc858 83831f7c 83831f08
[   19.470000] 1f00: 800a853c 7f05c358 00000000 00000000 801a74c0 00000015 8366c828 00000002
[   19.470000] 1f20: 83100770 00000000 00000000 00000000 83831f6c 83831f40 800987d8 800cd120
[   19.470000] 1f40: 00000000 8366c820 00000001 837daab0 83831f7c 83831f60 837daab0 00000000
[   19.470000] 1f60: 40047303 00000007 8000dcc8 83830000 83831fa4 83831f80 800a8600 800a7fd8
[   19.470000] 1f80: 76cfa1e8 00000001 014e7558 76f53160 7e8b38a4 00000036 00000000 83831fa8
[   19.470000] 1fa0: 8000db20 800a85cc 014e7558 76f53160 00000007 40047303 00000000 00000000
[   19.470000] 1fc0: 014e7558 76f53160 7e8b38a4 00000036 00000100 00000000 76f9f000 7e8b3bfc
[   19.470000] 1fe0: 76dc03fc 7e8b33d4 76d8a0b0 76b0536c 60000010 00000007 00000000 00000000
[   19.470000] Backtrace:
[   19.470000] [<7f04770c>] (nu160zZvqhsdZqdf.isra.3+0x0/0x88 [ov2710]) from [<7f048278>] (ov2710_set_video_mode+0x14c/0x414 [ov2710])
[   19.470000]  r5:8380bc00 r4:8380bce8
[   19.470000] [<7f04812c>] (ov2710_set_video_mode+0x0/0x414 [ov2710]) from [<7f02f57c>] (sensor_docmd+0x2e0/0x4ec [vi])
[   19.470000] [<7f02f29c>] (sensor_docmd+0x0/0x4ec [vi]) from [<7f02fac4>] (fjZuhZrntqbdZblc+0x80/0x9c [vi])
[   19.470000]  r5:8380bce8 r4:00002206
[   19.470000] [<7f02fa44>] (fjZuhZrntqbdZblc+0x0/0x9c [vi]) from [<7f05be00>] (h_uZuhmZrqbZblc+0x6d0/0x960 [media])
[   19.470000]  r8:8000dcc8 r7:00000007 r6:837daab0 r5:837fb820 r4:00000000
[   19.470000] [<7f05b730>] (h_uZuhmZrqbZblc+0x0/0x960 [media]) from [<7f05c3f8>] (h_uZhnbsk+0xac/0xc28 [media])
[   19.470000]  r6:837daab0 r5:837daab0 r4:00000000
[   19.470000] [<7f05c34c>] (h_uZhnbsk+0x0/0xc28 [media]) from [<800a853c>] (do_vfs_ioctl+0x570/0x5f4)
[   19.470000]  r5:837dc858 r4:00000000
[   19.470000] [<800a7fcc>] (do_vfs_ioctl+0x0/0x5f4) from [<800a8600>] (sys_ioctl+0x40/0x64)
[   19.470000]  r9:83830000 r8:8000dcc8 r7:00000007 r6:40047303 r5:00000000
[   19.470000] r4:837daab0
[   19.470000] [<800a85c0>] (sys_ioctl+0x0/0x64) from [<8000db20>] (ret_fast_syscall+0x0/0x30)
[   19.470000]  r7:00000036 r6:7e8b38a4 r5:76f53160 r4:014e7558
[   19.470000] Code: e24cb004 e24dd010 e1a03421 e54b3017 (e1d030ba)
[   19.490000] ---[ end trace e697e046b7fa285f ]---

 

全志R16平台 parrotv1.1(Android4.4.2) /* * Store information about the video data format. */ static struct sensor_format_struct { __u8 *desc; //__u32 pixelformat; enum v4l2_mbus_pixelcode mbus_code;//linux-3.0 struct regval_list *regs; int regs_size; int bpp; /* Bytes per pixel */ } sensor_formats[] = { //{ // .desc = "YUYV 4:2:2", // .mbus_code = V4L2_MBUS_FMT_YUYV8_2X8,//linux-3.0 // .regs = sensor_fmt_yuv422_yuyv, // .regs_size = ARRAY_SIZE(sensor_fmt_yuv422_yuyv), // .bpp = 2, //}, //{ // .desc = "YVYU 4:2:2", // .mbus_code = V4L2_MBUS_FMT_YVYU8_2X8,//linux-3.0 // .regs = sensor_fmt_yuv422_yvyu, // .regs_size = ARRAY_SIZE(sensor_fmt_yuv422_yvyu), // .bpp = 2, //}, { .desc = "UYVY 4:2:2", .mbus_code = V4L2_MBUS_FMT_UYVY8_2X8,//linux-3.0 .regs = sensor_fmt_yuv422_uyvy, .regs_size = ARRAY_SIZE(sensor_fmt_yuv422_uyvy), .bpp = 2, }, //{ // .desc = "VYUY 4:2:2", // .mbus_code = V4L2_MBUS_FMT_VYUY8_2X8,//linux-3.0 // .regs = sensor_fmt_yuv422_vyuy, // .regs_size = ARRAY_SIZE(sensor_fmt_yuv422_vyuy), // .bpp = 2, //}, //{ // .desc = "Raw RGB Bayer", // .mbus_code = V4L2_MBUS_FMT_SBGGR8_1X8,//linux-3.0 // .regs = sensor_fmt_raw, // .regs_size = ARRAY_SIZE(sensor_fmt_raw), // .bpp = 1 //}, }; #define N_FMTS ARRAY_SIZE(sensor_formats) /* * Then there is the issue of window sizes. Try to capture the info here. */ static struct sensor_win_size sensor_win_sizes[] = { // /* UXGA */ // { // .width = UXGA_WIDTH, // .height = UXGA_HEIGHT, // .hoffset = 0, // .voffset = 0, // .regs = sensor_uxga_regs, // .regs_size = ARRAY_SIZE(sensor_uxga_regs), // .set_size = NULL, // }, //// /* 720p */ //// { //// .width = HD720_WIDTH, //// .height = HD720_HEIGHT, //// .hoffset = 0, //// .voffset = 0, //// .regs = Gc2015_sensor_hd720_regs, //// .regs_size = ARRAY_SIZE(Gc2015_sensor_hd720_regs), //// .set_size = NULL, //// }, // /* SVGA */ // { // .width = SVGA_WIDTH, // .height = SVGA_HEIGHT, // .hoffset = 0, // .voffset = 0, // .regs = sensor_svga_regs, // .regs_size = ARRAY_SIZE(sensor_svga_regs), // .set_size = NULL, // }, // /* VGA */ // { // .width = VGA_WIDTH, // .height = VGA_HEIGHT, // .hoffset = 0, // .voffset = 0, // .regs = sensor_vga_regs, // .regs_size = ARRAY_SIZE(sensor_vga_regs), // .set_size = NULL, // }, /* VGA */ { .width = VGA_WIDTH, .height = VGA_HEIGHT, .hoffset = 0, .voffset = 0, .regs = sensor_default_regs, .regs_size = ARRAY_SIZE(sensor_default_regs), .set_size = NULL, }, };
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值