Kernel Panic when TVP5150 is registered as V4L2 sub device

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

vinodtadiparthi
Posts: 6
Joined: Sun Feb 24, 2019 5:45 pm

Kernel Panic when TVP5150 is registered as V4L2 sub device

Sun Feb 24, 2019 5:50 pm

1. I'm trying to make a camera based embedded system.

2. Development and target platform are both linux operating systems.

3. we are using Microchip SAMA5D27SOM based evaluation kit for this development.

4. We would like to interface PAL camera to processor, For this we are using TVP5150AM1 video decoder for digitizing the analog PAL video and applying to processor.

5. We have interfaced TVP5150AM1 to evaluation kit via I2C interface for configuration/communication and Image sensor controller interface for the 8-bit Parallel video.

6. Driver for TVP5150AM1 available in the mainline linux is used.

7. When device is booted with this setup, Kernel is able to detect the TVP5150AM1 IC. But when it tries to register as V4L2 sub device kernel panic is happening and system is crashing.

8. Options we have tried.

a) Driver as a loadable kernel module

b) Driver as a builtin kernel module

c) Device tree remote end point with out any sync signals(BT.656 Embedded sync)

d) Device tree remote end point with sync signals

All options are resulting kernel panic.

9. I have tried to debug the cause of this by commenting out line by line in the driver code of TVP5150 and found that v4l2_async_register (Which registers the device) is resulting this issue.

10. In the same environment we have connected ov7670 camera module (same I2C for control & 8-bit bus for parallel video with sync signals) and found working perfectly fine. Driver for ov7670 is taken from the same mainline kernel.

11 But we could not figure out what could be issue for this.

12. Kernel log file & device tree is attached for you reference.

Can any one help me in resolving this issue
blue_z
Location: USA
Posts: 1952
Joined: Thu Apr 19, 2007 10:15 pm

Re: Kernel Panic when TVP5150 is registered as V4L2 sub device

Tue Feb 26, 2019 1:48 am

vinodtadiparthi wrote: 6. Driver for TVP5150AM1 available in the mainline linux is used.
You neglect to mention any kernel version numbers.

vinodtadiparthi wrote: 12. Kernel log file & device tree is attached for you reference.
There are no attachments or links in your post.


Regards
vinodtadiparthi
Posts: 6
Joined: Sun Feb 24, 2019 5:45 pm

Re: Kernel Panic when TVP5150 is registered as V4L2 sub device

Tue Feb 26, 2019 6:03 pm

Thanks for the reply.

Kernel Version: Linux version 4.14.73-linux4sam_6.0

Kernel log:


AT91Bootstrap 3.8.11 (Tue Jan 8 11:10:53 EST 2019)

SD/MMC: Image: Read file u-boot.bin to 0x23f00000
MMC: ADMA supported
SD: Card Capacity: High or Extended
SD: Specification Version 3.0X
SD/MMC: Done to load image
<debug_uart>

U-Boot 2018.07-linux4sam_6.0 (Jan 08 2019 - 11:10:59 -0500)

CPU: SAMA5D27 1G bits DDR2 SDRAM
Crystal frequency: 24 MHz
CPU clock : 492 MHz
Master clock : 164 MHz
DRAM: 128 MiB
MMC: sdio-host@a0000000: 0, sdio-host@b0000000: 1
Loading Environment from FAT... OK
In: serial@f8020000
Out: serial@f8020000
Err: serial@f8020000
Net: eth0: ethernet@f8008000
Hit any key to stop autoboot: 0
=> setenv bootcmd 'fatload mmc 0:1 0x24000000 sama5d27_som1_ek.itb; bootm 0x24000000#kernel_dtb#pda4'
=> saveenv
Saving Environment to FAT... writing uboot.env
OK
=> RomBOOT


AT91Bootstrap 3.8.11 (Tue Jan 8 11:10:53 EST 2019)

SD/MMC: Image: Read file u-boot.bin to 0x23f00000
MMC: ADMA supported
SD: Card Capacity: High or Extended
SD: Specification Version 3.0X
SD/MMC: Done to load image
<debug_uart>

U-Boot 2018.07-linux4sam_6.0 (Jan 08 2019 - 11:10:59 -0500)

CPU: SAMA5D27 1G bits DDR2 SDRAM
Crystal frequency: 24 MHz
CPU clock : 492 MHz
Master clock : 164 MHz
DRAM: 128 MiB
MMC: sdio-host@a0000000: 0, sdio-host@b0000000: 1
Loading Environment from FAT... OK
In: serial@f8020000
Out: serial@f8020000
Err: serial@f8020000
Net: eth0: ethernet@f8008000
Hit any key to stop autoboot: 0
3963588 bytes read in 248 ms (15.2 MiB/s)
## Loading kernel from FIT Image at 24000000 ...
Using 'kernel_dtb' configuration
Trying 'kernel@1' kernel subimage
Description: Linux4SAM Linux kernel
Type: Kernel Image
Compression: uncompressed
Data Start: 0x240000e0
Data Size: 3896232 Bytes = 3.7 MiB
Architecture: ARM
OS: Linux
Load Address: 0x22000000
Entry Point: 0x22000000
Hash algo: crc32
Hash value: 229b7199
Hash algo: sha1
Hash value: 331580aca2dc25223afc3b0896587967df33a632
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 24000000 ...
Using 'kernel_dtb' configuration
Trying 'base_fdt' fdt subimage
Description: Flattened Device Tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x243b75b4
Data Size: 44915 Bytes = 43.9 KiB
Architecture: ARM
Load Address: 0x23000000
Hash algo: crc32
Hash value: 44aa981a
Hash algo: sha1
Hash value: 96610a3de96b76f7669da56de84f1aac5689c2f4
Verifying Hash Integrity ... crc32+ sha1+ OK
Loading fdt from 0x243b75b4 to 0x23000000
## Loading fdt from FIT Image at 24000000 ...
Using 'pda4' configuration
Trying 'fdt_pda4' fdt subimage
Description: Device Tree blob pda4300 overlay
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x243c2638
Data Size: 6319 Bytes = 6.2 KiB
Architecture: ARM
Load Address: 0x23130000
Hash algo: crc32
Hash value: a49eb693
Hash algo: sha1
Hash value: b99123fc0ca8d513e3025e0d8b2cac1bb76d66d5
Verifying Hash Integrity ... crc32+ sha1+ OK
Loading fdt from 0x243c2638 to 0x23130000
Booting using the fdt blob at 0x23000000
Loading Kernel Image ... OK
Loading Device Tree to 27b46000, end 27b54e48 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.14.73-linux4sam_6.0 (argc@argc-HP-Pavilion-Notebook) (gcc version 6.4.0 (Buildroot 2018.02)) #1 Sun Feb 24 04:37:27 EST 2019
CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: Atmel SAMA5D27 SOM1 EK TM43xx
Memory policy: Data cache writeback
cma: Reserved 16 MiB at 0x26800000
CPU: All CPU(s) started in SVC mode.
Built 1 zonelists, mobility grouping on. Total pages: 32480
Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait rootfstype=ext4 atmel.pm_modes=standby,ulp1
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 103488K/131072K available (6144K kernel code, 260K rwdata, 1048K rodata, 1024K init, 175K bss, 11200K reserved, 16384K cma-reserved)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc8800000 - 0xff800000 ( 880 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc0700000 (7136 kB)
.init : 0xc0900000 - 0xc0a00000 (1024 kB)
.data : 0xc0a00000 - 0xc0a41350 ( 261 kB)
.bss : 0xc0a41350 - 0xc0a6d204 ( 176 kB)
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
L2C-310 ID prefetch enabled, offset 2 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 128 kB
L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x36020000
clocksource: pit: mask: 0x7ffffff max_cycles: 0x7ffffff, max_idle_ns: 11654027029 ns
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns
Console: colour dummy device 80x30
Calibrating delay loop... 326.86 BogoMIPS (lpj=1634304)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x20100000 - 0x20100060
devtmpfs: initialized
random: get_random_u32 called from 0xc032e1b8 with crng_init=0
VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor menu
AT91: PM: standby: standby, suspend: ulp1
clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 186464433812 ns
at_xdmac f0010000.dma-controller: 16 channels, mapped at 0xc8847000
at_xdmac f0004000.dma-controller: 16 channels, mapped at 0xc8849000
AT91: Detected SoC family: sama5d2
AT91: Detected SoC: sama5d27c 128MiB SiP, revision 2
VDDANA: supplied by VDDIN_3V3
advref: supplied by VDDANA
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
at91_i2c f8028000.i2c: could not find pctldev for node /ahb/apb/pinctrl@fc038000/i2c0_default, deferring probe
at91_i2c fc028000.i2c: could not find pctldev for node /ahb/apb/pinctrl@fc038000/i2c1_default, deferring probe
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource tcb_clksrc
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
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.
workingset: timestamp_bits=14 max_order=15 bucket_order=1
io scheduler noop registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
pinctrl-at91-pio4 fc038000.pinctrl: atmel pinctrl initialized
brd: module loaded
loop: module loaded
atmel_usart_serial.0.auto: ttyS0 at MMIO 0xf8020000 (irq = 38, base_baud = 5125000) is a ATMEL_SERIAL
console [ttyS0] enabled
atmel_usart_serial.1.auto: ttyS2 at MMIO 0xf8024000 (irq = 39, base_baud = 5125000) is a ATMEL_SERIAL
atmel_usart_serial.2.auto: ttyS1 at MMIO 0xfc00c000 (irq = 42, base_baud = 5125000) is a ATMEL_SERIAL
at91_i2c f8038600.i2c: can't get DMA channel, continue without DMA support
at91_i2c f8038600.i2c: Using FIFO (16 data)
at91_i2c f8038600.i2c: AT91 i2c bus driver (hw version: 0x704).
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] No driver support for vblank timestamp query.
atmel-hlcdc-display-controller atmel-hlcdc-dc: failed to create HLCDC outputs: -517
atmel-hlcdc-display-controller atmel-hlcdc-dc: failed to initialize mode setting
atmel_qspi f0024000.spi: sst26vf064b (8192 Kbytes)
5 ofpart partitions found on MTD device f0024000.spi
Creating 5 MTD partitions on "f0024000.spi":
0x000000000000-0x000000010000 : "at91bootstrap"
0x000000010000-0x0000000b0000 : "bootloader"
0x0000000b0000-0x0000000c0000 : "bootloader env"
0x0000000c0000-0x0000000e0000 : "device tree"
0x0000000e0000-0x0000004e0000 : "kernel"
atmel_spi f8000000.spi: DMA TX channel not available, SPI unable to use DMA
atmel_spi f8000000.spi: Atmel SPI Controller using PIO only
atmel_spi f8000000.spi: Using FIFO (16 data)
atmel_spi f8000000.spi: Atmel SPI Controller version 0x311 at 0xf8000000 (irq 31)
atmel_spi fc018400.spi: DMA TX channel not available, SPI unable to use DMA
atmel_spi fc018400.spi: Atmel SPI Controller using PIO only
atmel_spi fc018400.spi: Using FIFO (16 data)
atmel_spi fc018400.spi: Atmel SPI Controller version 0x311 at 0xfc018400 (irq 181)
libphy: Fixed MDIO Bus: probed
CAN device driver interface
m_can fc050000.can: m_can device registered (irq=50, version=31)
libphy: MACB_mii_bus: probed
Micrel KSZ8081 or KSZ8091 f8008000.ethernet-ffffffff:07: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=f8008000.ethernet-ffffffff:)
macb f8008000.ethernet eth0: Cadence GEM rev 0x00020203 at 0xf8008000 irq 32 (54:10:ec:33:fb:8e)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-atmel: EHCI Atmel driver
atmel-ehci 500000.ehci: EHCI Host Controller
atmel-ehci 500000.ehci: new USB bus registered, assigned bus number 1
atmel-ehci 500000.ehci: irq 19, io mem 0x00500000
atmel-ehci 500000.ehci: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 4.14.73-linux4sam_6.0 ehci_hcd
usb usb1: SerialNumber: 500000.ehci
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-atmel: OHCI Atmel driver
at91_ohci 400000.ohci: failed to request gpio "overcurrent" IRQ
at91_ohci 400000.ohci: failed to request gpio "overcurrent" IRQ
at91_ohci 400000.ohci: failed to request gpio "overcurrent" IRQ
at91_ohci 400000.ohci: USB Host Controller
at91_ohci 400000.ohci: new USB bus registered, assigned bus number 2
at91_ohci 400000.ohci: irq 19, io mem 0x00400000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: USB Host Controller
usb usb2: Manufacturer: Linux 4.14.73-linux4sam_6.0 ohci_hcd
usb usb2: SerialNumber: at91
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
usbcore: registered new interface driver usb-storage
rtc rtc0: invalid alarm value: 1900-1-1 0:0:0
at91_rtc f80480b0.rtc: registered as rtc0
at91_rtc f80480b0.rtc: AT91 Real Time Clock driver.
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
AT91: Starting after user reset
sama5d4_wdt f8048040.watchdog: initialized (timeout = 16 sec, nowayout = 0)
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-at91 a0000000.sdio-host: update clk mul to 39 as gck rate is 480000000 Hz
mmc0: SDHCI controller on a0000000.sdio-host [a0000000.sdio-host] using ADMA
sdhci-at91 b0000000.sdio-host: update clk mul to 39 as gck rate is 480000000 Hz
mmc0: new high speed SDXC card at address aaaa
mmcblk0: mmc0:aaaa SC64G 59.5 GiB
mmc1: SDHCI controller on b0000000.sdio-host [b0000000.sdio-host] using ADMA
ledtrig-cpu: registered to indicate activity on CPUs
atmel_aes f002c000.aes: version: 0x500
mmcblk0: p1 p2
atmel_aes f002c000.aes: Atmel AES - Using dma0chan0, dma0chan1 for DMA transfers
atmel_sha f0028000.sha: version: 0x510
atmel_sha f0028000.sha: using dma0chan2 for DMA transfers
atmel_sha f0028000.sha: Atmel SHA1/SHA256/SHA224/SHA384/SHA512
atmel_tdes fc044000.tdes: version: 0x703
atmel_tdes fc044000.tdes: using dma0chan3, dma0chan4 for DMA transfers
atmel_tdes fc044000.tdes: Atmel DES/TDES
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 10
Segment Routing with IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20170425 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20170425)
can: broadcast manager protocol (rev 20170425 t)
can: netlink gateway (rev 20170425) max_hops=1
at91_i2c f8028000.i2c: can't get DMA channel, continue without DMA support
at91_i2c f8028000.i2c: Using FIFO (16 data)
at24 3-0050: 256 byte 24c02 EEPROM, writable, 8 bytes/write
at91_i2c f8028000.i2c: AT91 i2c bus driver (hw version: 0x704).
at91_i2c fc028000.i2c: can't get DMA channel, continue without DMA support
at91_i2c fc028000.i2c: Using FIFO (16 data)
random: fast init done
atmel_mxt_ts 1-004a: Family: 164 Variant: 21 Firmware V2.1.AA Objects: 41
atmel_mxt_ts 1-004a: Enabling RETRIGEN workaround
atmel_mxt_ts 1-004a: Touchscreen size X1023Y1023
input: Atmel maXTouch Touchscreen as /devices/platform/ahb/ahb:apb/fc028000.i2c/i2c-1/1-004a/input/input0
qt1070 1-001b: can not read register, returned -121
qt1070 1-001b: ID -121 not supported
tvp5150 1-005d: tvp5150 (4.0) chip found @ 0xba (AT91)
tvp5150 1-005d: tvp5150am1 detected.
random: crng init done
Unable to handle kernel NULL pointer dereference at virtual address 00000004
pgd = c0004000
[00000004] *pgd=00000000
Internal error: Oops: 5 [#1] ARM
Modules linked in:
CPU: 0 PID: 10 Comm: kworker/0:1 Not tainted 4.14.73-linux4sam_6.0 #1
Hardware name: Atmel SAMA5
Workqueue: events 0xc03dc544
task: c6443180 task.stack: c64d4000
pc : [<c04c6090>] lr : [<c04c5ecc>] psr: 20000013
sp : c64d5990 ip : 00000008 fp : 00030d3f
r10: c5cd5284 r9 : c67afe54 r8 : 00000000
r7 : 00000000 r6 : c67af010 r5 : c64d5a5c r4 : c0a33eb0
r3 : 00000280 r2 : 00000000 r1 : 000001e0 r0 : c64d59e0
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Control: 10c53c7d Table: 20004059 DAC: 00000051
Process kworker/0:1 (pid: 10, stack limit = 0xc64d4208)
Stack: (0xc64d5990 to 0xc64d6000)
5980: 30363930 c06c0e50 c0795818 ffffff04
59a0: ffff0a00 ffff0a00 00000783 c5c1b128 c07cbdf3 c64d5a30 c5c1b890 c07cbdf3
59c0: 00000004 c64d59e0 c0763da4 c06c0fc4 ffffff08 ffff0a00 0000076f c5c1b121
59e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5a00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5a20: 00000000 00000000 00000000 00000000 00000000 00000000 c64d5a44 c67af010
5a40: c67af060 c5cd5010 00000001 c67af010 c67afe54 c04c6210 00000000 00000001
5a60: 00000280 000001e0 32315559 00000001 00000000 00000000 00000000 00000000
5a80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5aa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5ac0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5ae0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5b00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5b20: 00000000 00000000 c0a33f30 c0a33f30 c67af060 c04c78e8 00000028 00000002
5b40: c64d5b4e c049bc40 00000027 00020002 c64d5b5e c5cd5010 c67af0b8 c67af3c8
5b60: 00000000 00000001 00002006 00000001 00000000 00000000 00000000 00000000
5b80: 00000000 00000000 00000000 00000000 c5cd5010 c5c16798 c5cd5010 c0a29668
5ba0: c0a29654 c5cd50bc 00000000 c5cd5284 00030d3f c04b6c20 c5cd5010 c074c478
5bc0: 00000000 00000000 00000001 c04a13c4 00000000 00000000 00000000 c074c790
5be0: 00000001 00000000 019bfcc0 00000000 c5cd73c8 c021c234 c5cd73c8 00000000
5c00: 00000000 00045051 00000000 c7ec8510 00000001 00000001 00000000 00000000
5c20: 00000000 00000000 00000000 00000000 c7ec82f0 c5ccd020 c04a0e2c c0a28bf4
5c40: c5ccd000 00000000 00000000 00000004 00030d3f c0499618 c5ccd020 c0a64080
5c60: c0a64084 00000000 c0a28bf4 c03dce94 00000000 c64d5ca8 c03dcfdc 00000001
5c80: c0a6405c 00000000 c0a288b8 c03db47c c64c305c c5c16bb4 c5ccd020 c5ccd054
5ca0: c0a288f4 c03dcb60 c5ccd020 00000001 c5ccd020 c5ccd028 c5ccd020 c0a288f4
5cc0: c5ccd020 c03dc134 c5ccd028 00000000 c5c74478 c03da5b8 c5ccd020 c03e8ecc
5ce0: c5ccd020 c0a6405c c5ccd000 c64d5d40 c5ccd020 c5ccd004 c5c74478 00000000
5d00: c07aab58 c049a7a0 00000007 c06bcd88 c7b4cad8 0000005d 00000014 0000005d
5d20: c7ec82f0 c7ec7b4c c5c74440 c07665e8 c07aaae4 c049c26c 00000000 00000004
5d40: 35707674 00303531 00000000 00000000 00000000 005d0000 00000000 c64d5d38
5d60: c7ec82f0 00000000 00000000 00000000 00000000 00000000 00000000 c5c74440
5d80: c0a65600 c5c74478 00000000 00000000 c0a28ad8 0000cb00 00030d3f c049aca8
5da0: 00000001 00000021 fffffff9 00000001 c5c74440 00000000 00000100 00000000
5dc0: c0a28ad8 c049af78 00000002 014000c0 00000000 00000000 c5c74440 00000001
5de0: 00000000 c5c74440 c5c74440 c049b0cc 00000000 c04f9ba8 c5c74410 c5c74410
5e00: 00000000 00000100 00000000 c5c74410 c5c74440 c049e6ac 00000000 c64faa40
5e20: c5c74410 00000000 000186a0 00000000 fc028030 fc028034 00000001 00000001
5e40: 00000001 00000001 00000000 00000000 00000000 00000000 c078e8b0 c64f6010
5e60: ffffffed c0a28a90 fffffdfb c0a28a90 00000000 00000003 c0a64080 c03de718
5e80: c64f6010 c0a64080 c0a64084 00000000 c0a28a90 c03dce94 00000000 c64d5ed0
5ea0: c03dcfdc 00000001 c0a0a1b0 00000000 c0a413a0 c03db47c c640265c c6546634
5ec0: c64f6010 c64f6044 c0a1efb8 c03dcb60 c64f6010 00000001 c6443a30 c64f6010
5ee0: c64f6010 c0a1efb8 c0a1edf4 c03dc134 c64f6010 c0a1ede0 c0a1ede0 c03dc594
5f00: c6443180 ffffe000 c0a0b008 c0a1edfc c64c1800 00000000 c7ea7200 c0a0a1b0
5f20: 00000000 c64d4000 c0a0a1b0 c012a03c 00000008 c0a10180 c64c1800 c0a0a1b0
5f40: c64c1818 00000008 c0a10180 c0a0a1c4 c64d4000 c012a480 00000000 c64cab80
5f60: ffffe000 c64cab40 00000000 c64cab80 c64d4000 c64c1800 c012a24c c64cab58
5f80: c6435ed4 c012f61c c64d4000 c64cab80 c012f500 00000000 00000000 00000000
5fa0: 00000000 00000000 00000000 c01075e8 00000000 00000000 00000000 00000000
5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
Function entered at [<c04c6090>] from [<c04c6210>]
Function entered at [<c04c6210>] from [<c04c78e8>]
Function entered at [<c04c78e8>] from [<c04b6c20>]
Function entered at [<c04b6c20>] from [<c04a13c4>]
Function entered at [<c04a13c4>] from [<c0499618>]
Function entered at [<c0499618>] from [<c03dce94>]
Function entered at [<c03dce94>] from [<c03db47c>]
Function entered at [<c03db47c>] from [<c03dcb60>]
Function entered at [<c03dcb60>] from [<c03dc134>]
Function entered at [<c03dc134>] from [<c03da5b8>]
Function entered at [<c03da5b8>] from [<c049a7a0>]
Function entered at [<c049a7a0>] from [<c049c26c>]
Function entered at [<c049c26c>] from [<c049aca8>]
Function entered at [<c049aca8>] from [<c049af78>]
Function entered at [<c049af78>] from [<c049b0cc>]
Function entered at [<c049b0cc>] from [<c049e6ac>]
Function entered at [<c049e6ac>] from [<c03de718>]
Function entered at [<c03de718>] from [<c03dce94>]
Function entered at [<c03dce94>] from [<c03db47c>]
Function entered at [<c03db47c>] from [<c03dcb60>]
Function entered at [<c03dcb60>] from [<c03dc134>]
Function entered at [<c03dc134>] from [<c03dc594>]
Function entered at [<c03dc594>] from [<c012a03c>]
Function entered at [<c012a03c>] from [<c012a480>]
Function entered at [<c012a480>] from [<c012f61c>]
Function entered at [<c012f61c>] from [<c01075e8>]
Code: e5d4200e e3520000 0affffc2 e59625d0 (e5929004)
---[ end trace 2f905938045a6bd0 ]---








Device tree

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* sama5d27_som1_ek_pda4.dtso - Device Tree file for SAMA5D27 SOM1 EK board
* overlay blob for PDA4300 LCD.
*
* Copyright (C) 2018 Microchip Technology, Inc.
* Author: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
*
*/
/dts-v1/;
/plugin/;

#include "sama5d2-pinfunc.h"
#include <dt-bindings/gpio/gpio.h>
#include "dt-bindings/pinctrl/at91.h"

&i2c1 {
#address-cells = <1>;
#size-cells = <0>;

ov7670: camera@21 {
compatible = "ovti,ov7670";
reg = <0x21>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sensor_power &pinctrl_sensor_reset>;
clocks = <&isc>;
clock-names = "xclk";
assigned-clocks = <&isc>;
assigned-clock-rates = <32000000>;
reset-gpios = <&pioA 102 GPIO_ACTIVE_LOW>;
powerdown-gpios = <&pioA 103 GPIO_ACTIVE_HIGH>;

port {
ov7670_0: endpoint {
remote-endpoint = <&isc_0>;
};
};
};

tvp5150: tvp5150@5d {
compatible = "ti,tvp5150";
reg = <0x5d>;

port {
tvp5150_1: endpoint {
remote-endpoint = <&isc_0>;
};
};
};

qt1070: keyboard@1b {
compatible = "qt1070";
reg = <0x1b>;
interrupt-parent = <&pioA>;
interrupts = <PIN_PC25 0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_qt1070_irq>;
wakeup-source;
};

atmel_mxt_ts@4a {
compatible = "atmel,atmel_mxt_ts";
reg = <0x4a>;
interrupt-parent = <&pioA>;
interrupts = <PIN_PD1 0x0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mxt_irq>;
};
};

&isc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_isc_base &pinctrl_isc_data_8bit>;
status = "okay";

port {
isc_0: endpoint@0 {
remote-endpoint = <&tvp5150_1>;
//remote-endpoint = <&ov7670_0>;
hsync-active = <1>;
vsync-active = <1>;
field-even-active = <0>;
pclk-sample = <1>;
};
};

};

&hlcdc {
status = "okay";

hlcdc-display-controller {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb>;
port@0 {
#address-cells = <1>;
#size-cells = <0>;

hlcdc_panel_output: endpoint@0 {
reg = <0>;
remote-endpoint = <&panel_input>;
};
};
};

hlcdc_pwm: hlcdc-pwm {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcd_pwm>;
};
};


&pioA {
pinctrl_qt1070_irq: pinctrl_qt1070_irq {
pinmux = <PIN_PC25__GPIO>;
bias-pull-up;
input-debounce = <1>;
};

pinctrl_mxt_irq: pinctrl_mxt_irq {
pinmux = <PIN_PD1__GPIO>;
bias-pull-up;
input-debounce = <1>;
};

pinctrl_lcd_base: pinctrl_lcd_base {
pinmux = <PIN_PC5__LCDVSYNC>,
<PIN_PC6__LCDHSYNC>,
<PIN_PC8__LCDDEN>,
<PIN_PC7__LCDPCK>;
bias-disable;
atmel,drive-strength = <ATMEL_PIO_DRVSTR_ME>;
};

pinctrl_lcd_rgb: pinctrl_lcd_rgb {
pinmux = <PIN_PB11__LCDDAT0>,
<PIN_PB12__LCDDAT1>,
<PIN_PB13__LCDDAT2>,
<PIN_PB14__LCDDAT3>,
<PIN_PB15__LCDDAT4>,
<PIN_PB16__LCDDAT5>,
<PIN_PB17__LCDDAT6>,
<PIN_PB18__LCDDAT7>,
<PIN_PB19__LCDDAT8>,
<PIN_PB20__LCDDAT9>,
<PIN_PB21__LCDDAT10>,
<PIN_PB22__LCDDAT11>,
<PIN_PB23__LCDDAT12>,
<PIN_PB24__LCDDAT13>,
<PIN_PB25__LCDDAT14>,
<PIN_PB26__LCDDAT15>,
<PIN_PB27__LCDDAT16>,
<PIN_PB28__LCDDAT17>,
<PIN_PB29__LCDDAT18>,
<PIN_PB30__LCDDAT19>,
<PIN_PB31__LCDDAT20>,
<PIN_PC0__LCDDAT21>,
<PIN_PC1__LCDDAT22>,
<PIN_PC2__LCDDAT23>;
bias-disable;
};

pinctrl_lcd_pwm: pinctrl_lcd_pwm {
pinmux = <PIN_PC3__LCDPWM>;
bias-disable;
};

pinctrl_sensor_power: sensor_power {
pinmux = <PIN_PD7__GPIO>;
bias-disable;
};

pinctrl_sensor_reset: sensor_reset {
pinmux = <PIN_PD6__GPIO>;
bias-disable;
};

};

&{/} {
model = "Atmel SAMA5D27 SOM1 EK TM43xx";
backlight: backlight {
compatible = "pwm-backlight";
pwms = <&hlcdc_pwm 0 50000 0>;
brightness-levels = <0 4 8 16 32 64 128 255>;
default-brightness-level = <7>;
power-supply = <&bl_reg>;
status = "okay";
};

bl_reg: backlight_regulator {
compatible = "regulator-fixed";
regulator-name = "backlight-power-supply";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
status = "okay";
};

panel: panel {
compatible = "innolux,at043tn24", "simple-panel";
backlight = <&backlight>;
power-supply = <&panel_reg>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";

port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;

panel_input: endpoint@0 {
reg = <0>;
remote-endpoint = <&hlcdc_panel_output>;
};
};
};

panel_reg: panel_regulator {
compatible = "regulator-fixed";
regulator-name = "panel-power-supply";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
status = "okay";
};
};
blue_z
Location: USA
Posts: 1952
Joined: Thu Apr 19, 2007 10:15 pm

Re: Kernel Panic when TVP5150 is registered as V4L2 sub device

Wed Feb 27, 2019 2:45 am

vinodtadiparthi wrote: Kernel Version: Linux version 4.14.73-linux4sam_6.0
But you also wrote that you're using a driver(s) from the mainline kernel(s).
Doesn't that mainline kernel have a version number?

vinodtadiparthi wrote: Description: Linux4SAM Linux kernel
Type: Kernel Image
Compression: uncompressed
Data Start: 0x240000e0
Data Size: 3896232 Bytes = 3.7 MiB
Architecture: ARM
OS: Linux
Load Address: 0x22000000
Entry Point: 0x22000000
Those are oddball address for an ARM Linux kernel.
Maybe the decompressor will relocate the image, assuming you've built the kernel correctly.
FWIW typically the load address and entry point are 0x20008000.

vinodtadiparthi wrote: Stack: (0xc64d5990 to 0xc64d6000)
5980: 30363930 c06c0e50 c0795818 ffffff04
59a0: ffff0a00 ffff0a00 00000783 c5c1b128 c07cbdf3 c64d5a30 c5c1b890 c07cbdf3
...
5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
Function entered at [<c04c6090>] from [<c04c6210>]
Function entered at [<c04c6210>] from [<c04c78e8>]
Function entered at [<c04c78e8>] from [<c04b6c20>]
...
Function entered at [<c012f61c>] from [<c01075e8>]
Code: e5d4200e e3520000 0affffc2 e59625d0 (e5929004)
---[ end trace 2f905938045a6bd0 ]---
To make the stack trace useful, you either need to convert those addresses to entrypoint plus offset (using your kernel System.map, or configure/build the kernel with debugging symbols (see this post).


Regards
vinodtadiparthi
Posts: 6
Joined: Sun Feb 24, 2019 5:45 pm

Re: Kernel Panic when TVP5150 is registered as V4L2 sub device

Wed Feb 27, 2019 8:32 am

1. Sorry for confusing you. I'm using latest buildroot from at91-linux4sam website to build bootloader, kernel, drivers and rootfs.(Linux4SAM 6.0)
2. I'm using SAMA5D27SOM based evaluation kit for testing this setup.
3. I have connected TVP5150AM1 to ISC interface connector of evaluation kit.
4. For this log i have compiled TVP5150AM1 driver as LKM.
5. For the kernel loadaddr i didnot change any thing from default settings.
6. I'm booting total BSP from SDHC connector of EVK.

Updated kernel log file with debug symbols for your reference.

AT91Bootstrap 3.8.11 (Tue Jan 8 11:10:53 EST 2019)

SD/MMC: Image: Read file u-boot.bin to 0x23f00000
MMC: ADMA supported
SD: Card Capacity: High or Extended
SD: Specification Version 3.0X
SD/MMC: Done to load image
<debug_uart>

U-Boot 2018.07-linux4sam_6.0 (Jan 08 2019 - 11:10:59 -0500)

CPU: SAMA5D27 1G bits DDR2 SDRAM
Crystal frequency: 24 MHz
CPU clock : 492 MHz
Master clock : 164 MHz
DRAM: 128 MiB
MMC: sdio-host@a0000000: 0, sdio-host@b0000000: 1
Loading Environment from FAT... OK
In: serial@f8020000
Out: serial@f8020000
Err: serial@f8020000
Net: eth0: ethernet@f8008000
Hit any key to stop autoboot: 0
4406644 bytes read in 274 ms (15.3 MiB/s)
## Loading kernel from FIT Image at 24000000 ...
Using 'kernel_dtb' configuration
Trying 'kernel@1' kernel subimage
Description: Linux4SAM Linux kernel
Type: Kernel Image
Compression: uncompressed
Data Start: 0x240000e0
Data Size: 4339408 Bytes = 4.1 MiB
Architecture: ARM
OS: Linux
Load Address: 0x22000000
Entry Point: 0x22000000
Hash algo: crc32
Hash value: 00d9d366
Hash algo: sha1
Hash value: ed78ccd86e6932959e83ba8fa0738a3a97983421
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 24000000 ...
Using 'kernel_dtb' configuration
Trying 'base_fdt' fdt subimage
Description: Flattened Device Tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x244238dc
Data Size: 44915 Bytes = 43.9 KiB
Architecture: ARM
Load Address: 0x23000000
Hash algo: crc32
Hash value: 44aa981a
Hash algo: sha1
Hash value: 96610a3de96b76f7669da56de84f1aac5689c2f4
Verifying Hash Integrity ... crc32+ sha1+ OK
Loading fdt from 0x244238dc to 0x23000000
## Loading fdt from FIT Image at 24000000 ...
Using 'pda4' configuration
Trying 'fdt_pda4' fdt subimage
Description: Device Tree blob pda4300 overlay
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x2442e960
Data Size: 6199 Bytes = 6.1 KiB
Architecture: ARM
Load Address: 0x23130000
Hash algo: crc32
Hash value: 7408a126
Hash algo: sha1
Hash value: c85b8ad6a734f841e3844383e748b8ba36ed6eeb
Verifying Hash Integrity ... crc32+ sha1+ OK
Loading fdt from 0x2442e960 to 0x23130000
Booting using the fdt blob at 0x23000000
Loading Kernel Image ... OK
Loading Device Tree to 27b46000, end 27b54dd0 ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.73-linux4sam_6.0 (argc@argc-HP-Pavilion-Notebook) (gcc version 6.4.0 (Buildroot 2018.02)) #5 Wed Feb 27 00:50:30 EST9
[ 0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Atmel SAMA5D27 SOM1 EK TM43xx
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] cma: Reserved 16 MiB at 0x26800000
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait rootfstype=ext4 atmel.pm_modes=standby,ulp1
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 102444K/131072K available (6144K kernel code, 260K rwdata, 1916K rodata, 1024K init, 175K bss, 12244K reserved, 16384K cma-rese)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc8800000 - 0xff800000 ( 880 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB)
[ 0.000000] .init : 0xc0a00000 - 0xc0b00000 (1024 kB)
[ 0.000000] .data : 0xc0b00000 - 0xc0b41310 ( 261 kB)
[ 0.000000] .bss : 0xc0b46a88 - 0xc0b72904 ( 176 kB)
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] L2C-310 ID prefetch enabled, offset 2 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 8 ways, 128 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x36020000
[ 0.000000] clocksource: pit: mask: 0x7ffffff max_cycles: 0x7ffffff, max_idle_ns: 11654027029 ns
[ 0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns
[ 0.000000] Console: colour dummy device 80x30
[ 0.050000] Calibrating delay loop... 326.86 BogoMIPS (lpj=1634304)
[ 0.060000] pid_max: default: 32768 minimum: 301
[ 0.060000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.060000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.060000] CPU: Testing write buffer coherency: ok
[ 0.060000] Setting up static identity map for 0x20100000 - 0x20100060
[ 0.060000] devtmpfs: initialized
[ 0.080000] random: get_random_u32 called from bucket_table_alloc+0x84/0x1bc with crng_init=0
[ 0.080000] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
[ 0.080000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.080000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.080000] pinctrl core: initialized pinctrl subsystem
[ 0.080000] NET: Registered protocol family 16
[ 0.080000] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.090000] cpuidle: using governor menu
[ 0.110000] AT91: PM: standby: standby, suspend: ulp1
[ 0.120000] clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 186464433812 ns
[ 0.130000] at_xdmac f0010000.dma-controller: 16 channels, mapped at 0xc8847000
[ 0.130000] at_xdmac f0004000.dma-controller: 16 channels, mapped at 0xc8849000
[ 0.140000] AT91: Detected SoC family: sama5d2
[ 0.140000] AT91: Detected SoC: sama5d27c 128MiB SiP, revision 2
[ 0.140000] VDDANA: supplied by VDDIN_3V3
[ 0.140000] advref: supplied by VDDANA
[ 0.140000] SCSI subsystem initialized
[ 0.140000] usbcore: registered new interface driver usbfs
[ 0.140000] usbcore: registered new interface driver hub
[ 0.140000] usbcore: registered new device driver usb
[ 0.140000] at91_i2c f8028000.i2c: could not find pctldev for node /ahb/apb/pinctrl@fc038000/i2c0_default, deferring probe
[ 0.140000] at91_i2c fc028000.i2c: could not find pctldev for node /ahb/apb/pinctrl@fc038000/i2c1_default, deferring probe
[ 0.140000] media: Linux media interface: v0.10
[ 0.140000] Linux video capture interface: v2.00
[ 0.140000] pps_core: LinuxPPS API ver. 1 registered
[ 0.140000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.140000] PTP clock support registered
[ 0.140000] Advanced Linux Sound Architecture Driver Initialized.
[ 0.150000] clocksource: Switched to clocksource tcb_clksrc
[ 0.160000] NET: Registered protocol family 2
[ 0.170000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.170000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.170000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.170000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.170000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.170000] NET: Registered protocol family 1
[ 0.170000] RPC: Registered named UNIX socket transport module.
[ 0.170000] RPC: Registered udp transport module.
[ 0.170000] RPC: Registered tcp transport module.
[ 0.170000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.170000] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.180000] io scheduler noop registered (default)
[ 0.180000] io scheduler mq-deadline registered
[ 0.180000] io scheduler kyber registered
[ 0.190000] pinctrl-at91-pio4 fc038000.pinctrl: atmel pinctrl initialized
[ 0.210000] brd: module loaded
[ 0.230000] loop: module loaded
[ 0.230000] atmel_usart_serial.0.auto: ttyS0 at MMIO 0xf8020000 (irq = 38, base_baud = 5125000) is a ATMEL_SERIAL
[ 0.760000] console [ttyS0] enabled
[ 0.760000] atmel_usart_serial.1.auto: ttyS2 at MMIO 0xf8024000 (irq = 39, base_baud = 5125000) is a ATMEL_SERIAL
[ 0.770000] atmel_usart_serial.2.auto: ttyS1 at MMIO 0xfc00c000 (irq = 42, base_baud = 5125000) is a ATMEL_SERIAL
[ 0.790000] at91_i2c f8038600.i2c: can't get DMA channel, continue without DMA support
[ 0.800000] at91_i2c f8038600.i2c: Using FIFO (16 data)
[ 0.800000] at91_i2c f8038600.i2c: AT91 i2c bus driver (hw version: 0x704).
[ 0.810000] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 0.820000] [drm] No driver support for vblank timestamp query.
[ 0.830000] atmel-hlcdc-display-controller atmel-hlcdc-dc: failed to create HLCDC outputs: -517
[ 0.830000] atmel-hlcdc-display-controller atmel-hlcdc-dc: failed to initialize mode setting
[ 0.850000] atmel_qspi f0024000.spi: sst26vf064b (8192 Kbytes)
[ 0.850000] 5 ofpart partitions found on MTD device f0024000.spi
[ 0.860000] Creating 5 MTD partitions on "f0024000.spi":
[ 0.860000] 0x000000000000-0x000000010000 : "at91bootstrap"
[ 0.870000] 0x000000010000-0x0000000b0000 : "bootloader"
[ 0.880000] 0x0000000b0000-0x0000000c0000 : "bootloader env"
[ 0.890000] 0x0000000c0000-0x0000000e0000 : "device tree"
[ 0.890000] 0x0000000e0000-0x0000004e0000 : "kernel"
[ 0.900000] atmel_spi f8000000.spi: DMA TX channel not available, SPI unable to use DMA
[ 0.910000] atmel_spi f8000000.spi: Atmel SPI Controller using PIO only
[ 0.920000] atmel_spi f8000000.spi: Using FIFO (16 data)
[ 0.920000] atmel_spi f8000000.spi: Atmel SPI Controller version 0x311 at 0xf8000000 (irq 31)
[ 0.930000] atmel_spi fc018400.spi: DMA TX channel not available, SPI unable to use DMA
[ 0.940000] atmel_spi fc018400.spi: Atmel SPI Controller using PIO only
[ 0.950000] atmel_spi fc018400.spi: Using FIFO (16 data)
[ 0.950000] atmel_spi fc018400.spi: Atmel SPI Controller version 0x311 at 0xfc018400 (irq 181)
[ 0.960000] libphy: Fixed MDIO Bus: probed
[ 0.970000] CAN device driver interface
[ 0.970000] m_can fc050000.can: m_can device registered (irq=50, version=31)
[ 0.980000] libphy: MACB_mii_bus: probed
[ 1.090000] Micrel KSZ8081 or KSZ8091 f8008000.ethernet-ffffffff:07: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=f8008000.eth)
[ 1.100000] macb f8008000.ethernet eth0: Cadence GEM rev 0x00020203 at 0xf8008000 irq 32 (54:10:ec:33:fb:8e)
[ 1.110000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.120000] ehci-atmel: EHCI Atmel driver
[ 1.130000] atmel-ehci 500000.ehci: EHCI Host Controller
[ 1.130000] atmel-ehci 500000.ehci: new USB bus registered, assigned bus number 1
[ 1.140000] atmel-ehci 500000.ehci: irq 19, io mem 0x00500000
[ 1.180000] atmel-ehci 500000.ehci: USB 2.0 started, EHCI 1.00
[ 1.180000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.190000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.200000] usb usb1: Product: EHCI Host Controller
[ 1.200000] usb usb1: Manufacturer: Linux 4.14.73-linux4sam_6.0 ehci_hcd
[ 1.210000] usb usb1: SerialNumber: 500000.ehci
[ 1.210000] hub 1-0:1.0: USB hub found
[ 1.220000] hub 1-0:1.0: 3 ports detected
[ 1.220000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.230000] ohci-atmel: OHCI Atmel driver
[ 1.230000] at91_ohci 400000.ohci: failed to request gpio "overcurrent" IRQ
[ 1.240000] at91_ohci 400000.ohci: failed to request gpio "overcurrent" IRQ
[ 1.250000] at91_ohci 400000.ohci: failed to request gpio "overcurrent" IRQ
[ 1.250000] at91_ohci 400000.ohci: USB Host Controller
[ 1.260000] at91_ohci 400000.ohci: new USB bus registered, assigned bus number 2
[ 1.270000] at91_ohci 400000.ohci: irq 19, io mem 0x00400000
[ 1.340000] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.350000] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.350000] usb usb2: Product: USB Host Controller
[ 1.360000] usb usb2: Manufacturer: Linux 4.14.73-linux4sam_6.0 ohci_hcd
[ 1.360000] usb usb2: SerialNumber: at91
[ 1.370000] hub 2-0:1.0: USB hub found
[ 1.370000] hub 2-0:1.0: 3 ports detected
[ 1.380000] usbcore: registered new interface driver usb-storage
[ 1.390000] rtc rtc0: invalid alarm value: 1900-1-1 0:0:0
[ 1.390000] at91_rtc f80480b0.rtc: registered as rtc0
[ 1.400000] at91_rtc f80480b0.rtc: AT91 Real Time Clock driver.
[ 1.400000] i2c /dev entries driver
[ 1.410000] IR NEC protocol handler initialized
[ 1.410000] IR RC5(x/sz) protocol handler initialized
[ 1.420000] IR RC6 protocol handler initialized
[ 1.420000] IR JVC protocol handler initialized
[ 1.430000] IR Sony protocol handler initialized
[ 1.430000] IR SANYO protocol handler initialized
[ 1.430000] IR Sharp protocol handler initialized
[ 1.440000] IR MCE Keyboard/mouse protocol handler initialized
[ 1.450000] IR XMP protocol handler initialized
[ 1.450000] AT91: Starting after watchdog reset
[ 1.460000] sama5d4_wdt f8048040.watchdog: initialized (timeout = 16 sec, nowayout = 0)
[ 1.470000] sdhci: Secure Digital Host Controller Interface driver
[ 1.480000] sdhci: Copyright(c) Pierre Ossman
[ 1.480000] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.490000] sdhci-at91 a0000000.sdio-host: update clk mul to 39 as gck rate is 480000000 Hz
[ 1.560000] mmc0: SDHCI controller on a0000000.sdio-host [a0000000.sdio-host] using ADMA
[ 1.560000] sdhci-at91 b0000000.sdio-host: update clk mul to 39 as gck rate is 480000000 Hz
[ 1.640000] mmc1: SDHCI controller on b0000000.sdio-host [b0000000.sdio-host] using ADMA
[ 1.650000] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.650000] atmel_aes f002c000.aes: version: 0x500
[ 1.670000] atmel_aes f002c000.aes: Atmel AES - Using dma0chan0, dma0chan1 for DMA transfers
[ 1.670000] atmel_sha f0028000.sha: version: 0x510
[ 1.680000] atmel_sha f0028000.sha: using dma0chan2 for DMA transfers
[ 1.690000] atmel_sha f0028000.sha: Atmel SHA1/SHA256/SHA224/SHA384/SHA512
[ 1.700000] atmel_tdes fc044000.tdes: version: 0x703
[ 1.700000] atmel_tdes fc044000.tdes: using dma0chan3, dma0chan4 for DMA transfers
[ 1.710000] atmel_tdes fc044000.tdes: Atmel DES/TDES
[ 1.730000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.730000] NET: Registered protocol family 10
[ 1.740000] Segment Routing with IPv6
[ 1.740000] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.750000] NET: Registered protocol family 17
[ 1.750000] can: controller area network core (rev 20170425 abi 9)
[ 1.760000] NET: Registered protocol family 29
[ 1.770000] can: raw protocol (rev 20170425)
[ 1.770000] can: broadcast manager protocol (rev 20170425 t)
[ 1.780000] can: netlink gateway (rev 20170425) max_hops=1
[ 1.780000] mmc0: new ultra high speed DDR50 SDXC card at address aaaa
[ 1.790000] mmcblk0: mmc0:aaaa SC64G 59.5 GiB
[ 1.800000] mmcblk0: p1 p2
[ 1.810000] at91_i2c f8028000.i2c: can't get DMA channel, continue without DMA support
[ 1.820000] at91_i2c f8028000.i2c: Using FIFO (16 data)
[ 1.830000] at24 3-0050: 256 byte 24c02 EEPROM, writable, 8 bytes/write
[ 1.830000] at91_i2c f8028000.i2c: AT91 i2c bus driver (hw version: 0x704).
[ 1.840000] at91_i2c fc028000.i2c: can't get DMA channel, continue without DMA support
[ 1.850000] at91_i2c fc028000.i2c: Using FIFO (16 data)
[ 1.900000] atmel_mxt_ts 1-004a: __mxt_read_reg: i2c transfer failed (-121)
[ 1.900000] atmel_mxt_ts 1-004a: mxt_bootloader_read: i2c recv failed (-121)
[ 1.910000] atmel_mxt_ts 1-004a: Trying alternate bootloader address
[ 1.920000] atmel_mxt_ts 1-004a: mxt_bootloader_read: i2c recv failed (-121)
[ 2.140000] atmel_mxt_ts 1-004a: Try a second time to init maxtouch
[ 2.190000] atmel_mxt_ts 1-004a: __mxt_read_reg: i2c transfer failed (-121)
[ 2.190000] atmel_mxt_ts 1-004a: mxt_bootloader_read: i2c recv failed (-121)
[ 2.200000] atmel_mxt_ts 1-004a: Trying alternate bootloader address
[ 2.210000] atmel_mxt_ts 1-004a: mxt_bootloader_read: i2c recv failed (-121)
[ 2.210000] atmel_mxt_ts: probe of 1-004a failed with error -121
[ 2.220000] qt1070 1-001b: can not read register, returned -121
[ 2.230000] qt1070 1-001b: ID -121 not supported
[ 2.230000] at91_i2c fc028000.i2c: AT91 i2c bus driver (hw version: 0x704).
[ 2.240000] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.250000] [drm] No driver support for vblank timestamp query.
[ 2.260000] atmel-hlcdc-display-controller atmel-hlcdc-dc: fb0: frame buffer device
[ 2.270000] [drm] Initialized atmel-hlcdc 1.0.0 20141504 for atmel-hlcdc-dc on minor 0
[ 2.270000] atmel-hlcdc-display-controller atmel-hlcdc-dc: DRM device successfully registered
[ 2.280000] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[ 2.290000] at91_rtc f80480b0.rtc: setting system clock to 2012-01-01 01:16:01 UTC (1325380561)
[ 2.300000] panel-power-supply: disabling
[ 2.300000] backlight-power-supply: disabling
[ 2.310000] ALSA device list:
[ 2.310000] #0: Dummy 1
[ 2.320000] atmel_usart_serial atmel_usart_serial.0.auto: using dma0chan5 for rx DMA transfers
[ 2.320000] atmel_usart_serial atmel_usart_serial.0.auto: using dma0chan6 for tx DMA transfers
[ 2.400000] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.410000] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.420000] devtmpfs: mounted
[ 2.430000] random: fast init done
[ 2.430000] Freeing unused kernel memory: 1024K
[ 2.520000] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
Populating /dev using udev: [ 2.750000] udevd[111]: starting version 3.2.5
[ 2.780000] random: udevd: uninitialized urandom read (16 bytes read)
[ 2.790000] random: udevd: uninitialized urandom read (16 bytes read)
[ 2.790000] random: udevd: uninitialized urandom read (16 bytes read)
[ 2.860000] udevd[112]: starting eudev-3.2.5
[ 3.510000] atmel_usba_udc 300000.gadget: MMIO registers at [mem 0xfc02c000-0xfc02c3ff] mapped at c88ee000
[ 3.520000] atmel_usba_udc 300000.gadget: FIFO at [mem 0x00300000-0x003fffff] mapped at c8d00000
[ 4.140000] ov7670 1-0021: Unsupported media bus type
[ 4.150000] tvp5150: loading out-of-tree module taints kernel.
[ 4.190000] ov7670: probe of 1-0021 failed with error -121
[ 4.190000] tvp5150 1-005d: tvp5150 (4.0) chip found @ 0xba (AT91)
[ 4.200000] tvp5150 1-005d: tvp5150am1 detected.
[ 4.440000] random: crng init done
[ 4.470000] Unable to handle kernel NULL pointer dereference at virtual address 00000004
[ 4.480000] pgd = c5e20000
[ 4.480000] [00000004] *pgd=25e08831, *pte=00000000, *ppte=00000000
[ 4.490000] Internal error: Oops: 17 [#1] ARM
[ 4.490000] Modules linked in: tvp5150(O+) ov7670 atmel_usba_udc udc_core
[ 4.490000] CPU: 0 PID: 123 Comm: udevd Tainted: G O 4.14.73-linux4sam_6.0 #5
[ 4.490000] Hardware name: Atmel SAMA5
[ 4.490000] task: c5d6ce80 task.stack: c5e1e000
[ 4.490000] PC is at isc_try_fmt+0x1ec/0x20c
[ 4.490000] LR is at isc_try_fmt+0x28/0x20c
[ 4.490000] pc : [<c04c5eb0>] lr : [<c04c5cec>] psr: 200d0113
[ 4.490000] sp : c5e1fa98 ip : 00000008 fp : 00000024
[ 4.490000] r10: c5dc4e84 r9 : c67afe54 r8 : 00000000
[ 4.490000] r7 : 00000000 r6 : c67af010 r5 : c5e1fb64 r4 : c0b33e78
[ 4.490000] r3 : 00000280 r2 : 00000000 r1 : 000001e0 r0 : c5e1fae8
[ 4.490000] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 4.490000] Control: 10c53c7d Table: 25e20059 DAC: 00000051
[ 4.490000] Process udevd (pid: 123, stack limit = 0xc5e1e208)
[ 4.490000] Stack: (0xc5e1fa98 to 0xc5e20000)
[ 4.490000] fa80: 00000000 c013e084
[ 4.490000] faa0: 00000000 c5e1faac 000000e4 00000000 00000000 00000000 c5e1fab8 c5e1fab8
[ 4.490000] fac0: 000000c3 00000000 c64cc400 00000000 c0b6c6f0 00000000 00000000 c013e0b0
[ 4.490000] fae0: 00000000 c5d0e400 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.490000] fb00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.490000] fb20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.490000] fb40: c5dc30f8 c67af010 c67af060 c5dc4c10 00000001 c67af010 c67afe54 c04c6030
[ 4.490000] fb60: 00000000 00000001 00000280 000001e0 32315559 00000001 00000000 00000000
[ 4.490000] fb80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.490000] fba0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.490000] fbc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.490000] fbe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.490000] fc00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.490000] fc20: 00000000 00000000 00000000 00000000 c0b33ef8 c0b33ef8 c67af060 c04c7708
[ 4.490000] fc40: 00000028 00000002 c5e1fc56 c049dc88 00000027 00040002 c5e1fc66 c5dc4c10
[ 4.490000] fc60: c67af0b8 c67af3c8 00000000 00000001 00002006 00000001 00000000 00000000
[ 4.490000] fc80: 00000000 00000000 00000000 00000000 00000000 00000000 c5dc4c10 c5c16798
[ 4.490000] fca0: c5dc4c10 c0b29630 c0b2961c c5dc4cbc 00000000 c5dc4e84 00000024 c04b6a30
[ 4.490000] fcc0: c5dc4c10 bf025108 00000000 00000000 00000001 bf023e90 00000000 00000000
[ 4.490000] fce0: 00000000 bf025420 00000001 00000000 019bfcc0 00000000 c585cf78 c021dee0
[ 4.490000] fd00: c585cf78 00000000 00000000 00045051 00000000 c7ec8510 00000001 00000001
[ 4.490000] fd20: 00000000 00000000 00000000 00000000 00000000 00000000 c7ec82f0 c5c7f420
[ 4.490000] fd40: bf023900 bf027020 c5c7f400 00000000 00000000 0000000a 00000024 c049b660
[ 4.490000] fd60: c5c7f420 c0b69780 c0b69784 00000000 bf027020 c03deeb8 c5c7f420 bf027020
[ 4.490000] fd80: c5c7f454 00000000 00000001 bf027080 00000000 c03deffc 00000000 bf027020
[ 4.490000] fda0: c03def44 c03dd3f8 c64c304c c5c6a030 bf027020 c5df0080 c0b28934 c03de358
[ 4.490000] fdc0: bf0262cc ffff8c71 bf027020 bf027020 bf02b000 00000000 c5824cc0 c03df8b4
[ 4.490000] fde0: bf027000 bf02b000 00000000 c049be20 ffffe000 bf02b000 00000000 c01018d4
[ 4.490000] fe00: c01b411c 800d0113 ffffffff c5e1fe4c 00000001 c010b5cc c6400240 c5c54600
[ 4.490000] fe20: 0000000d 0000000a a00d0113 c5824cc0 c586ed80 c586eda4 00000001 bf027080
[ 4.490000] fe40: 00000000 00000024 bf027080 00000001 c586ed80 00000001 bf027080 c0167900
[ 4.490000] fe60: c586ed80 c586eda4 00000001 c5e1ff50 00000001 c586ed80 c586eda4 c0166be0
[ 4.490000] fe80: bf02708c 00007fff bf027080 c0164178 bf0270c8 00000028 c5e1ff50 bf0271d8
[ 4.490000] fea0: c08a5794 c07018c0 bf02708c c0845e84 c0845ee8 c0845e90 ffffe000 bf000000
[ 4.490000] fec0: 00032624 00000000 c5e1ff48 00000000 00000000 00000000 00000000 00000000
[ 4.490000] fee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.490000] ff00: 00000000 00000000 7fffffff 00000000 00000007 b6f1b945 0000017b c0107764
[ 4.490000] ff20: c5e1e000 00000000 00057780 c0167330 7fffffff 00000000 00000003 00000000
[ 4.490000] ff40: 00000000 c8a44000 00032624 00000000 c8a4696a c8a44000 00032624 c8a75ea4
[ 4.490000] ff60: c8a75cd4 c8a6997c 00006000 00006a20 00000000 00000000 00000000 000028e8
[ 4.490000] ff80: 0000002d 0000002e 00000019 00000000 00000013 00000000 00020000 00000000
[ 4.490000] ffa0: 00000000 c0107580 00020000 00000000 00000007 b6f1b945 00000000 00057780
[ 4.490000] ffc0: 00020000 00000000 00000000 0000017b 00068158 00000000 0002c9fb 00057780
[ 4.490000] ffe0: bee84960 bee84950 b6f175ef b6e811a2 800b0030 00000007 00000000 00000000
[ 4.490000] [<c04c5eb0>] (isc_try_fmt) from [<c04c6030>] (isc_set_default_fmt+0x5c/0x90)
[ 4.490000] [<c04c6030>] (isc_set_default_fmt) from [<c04c7708>] (isc_async_complete+0x298/0x50c)
[ 4.490000] [<c04c7708>] (isc_async_complete) from [<c04b6a30>] (v4l2_async_register_subdev+0x7c/0xdc)
[ 4.490000] [<c04b6a30>] (v4l2_async_register_subdev) from [<bf023e90>] (tvp5150_probe+0x590/0x694 [tvp5150])
[ 4.490000] [<bf023e90>] (tvp5150_probe [tvp5150]) from [<c049b660>] (i2c_device_probe+0x1e4/0x264)
[ 4.490000] [<c049b660>] (i2c_device_probe) from [<c03deeb8>] (driver_probe_device+0x254/0x2e0)
[ 4.490000] [<c03deeb8>] (driver_probe_device) from [<c03deffc>] (__driver_attach+0xb8/0xbc)
[ 4.490000] [<c03deffc>] (__driver_attach) from [<c03dd3f8>] (bus_for_each_dev+0x68/0x9c)
[ 4.490000] [<c03dd3f8>] (bus_for_each_dev) from [<c03de358>] (bus_add_driver+0x100/0x20c)
[ 4.490000] [<c03de358>] (bus_add_driver) from [<c03df8b4>] (driver_register+0x78/0xf4)
[ 4.490000] [<c03df8b4>] (driver_register) from [<c049be20>] (i2c_register_driver+0x3c/0x7c)
[ 4.490000] [<c049be20>] (i2c_register_driver) from [<c01018d4>] (do_one_initcall+0x44/0x168)
[ 4.490000] [<c01018d4>] (do_one_initcall) from [<c0167900>] (do_init_module+0x60/0x1d8)
[ 4.490000] [<c0167900>] (do_init_module) from [<c0166be0>] (load_module+0x1ce0/0x221c)
[ 4.490000] [<c0166be0>] (load_module) from [<c0167330>] (SyS_finit_module+0xa8/0xb8)
[ 4.490000] [<c0167330>] (SyS_finit_module) from [<c0107580>] (ret_fast_syscall+0x0/0x54)
[ 4.490000] Code: e5d4200e e3520000 0affffc2 e59625d0 (e5929004)
[ 5.070000] ---[ end trace c853b0680e6145f2 ]---
[ 5.420000] udevd[112]: worker [123] terminated by signal 11 (Segmentation fault)
[ 5.420000] udevd[112]: worker [123] failed while handling '/devices/platform/ahb/ahb:apb/fc028000.i2c/i2c-1/1-005d'
done
Initializing random number generator... done.
Starting system message bus: done
Starting network: [ 5.930000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 5.930000] macb f8008000.ethernet eth0: link up (100/Full)
[ 5.950000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
udhcpc: started, v1.27.2
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing
FAIL
Starting dropbear sshd: OK
Starting ser2net: no configuration file
Starting sshd: OK
Starting Application Launcher: OK

Welcome to the Microchip Demo
sama5 login:
nferre
Site Admin
Posts: 205
Joined: Wed Feb 14, 2007 11:17 am

Re: Kernel Panic when TVP5150 is registered as V4L2 sub device

Thu Feb 28, 2019 11:45 am

Hi,

Can you try with head of linux-4.14-at91 kernel tree? Some fixes were queued there which must solve your kernel Oops issue.

Best regards,
vinodtadiparthi
Posts: 6
Joined: Sun Feb 24, 2019 5:45 pm

Re: Kernel Panic when TVP5150 is registered as V4L2 sub device

Fri Mar 01, 2019 8:29 am

nferre wrote: Hi,

Can you try with head of linux-4.14-at91 kernel tree? Some fixes were queued there which must solve your kernel Oops issue.

Best regards,
As i'm using build root for kernel build what do you mean by using "head of linux-4.14-at91".
Do you mean to change kernel headers and kernel version in buildroot config file. if so, to which version i should change.
nferre
Site Admin
Posts: 205
Joined: Wed Feb 14, 2007 11:17 am

Re: Kernel Panic when TVP5150 is registered as V4L2 sub device

Fri Mar 01, 2019 10:48 am

Hi,

For development purposes, I advice you to build kernel out of buildroot, as explained in Linux4SAM.
If you want to integrate a new kernel in your buildroot image build, you can change the following parameters to your defconfig file:

BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux4sam/linux-at91.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="<commit ID of the kernel tree>"

Where <commit ID of the kernel tree> is a8b5d98452f4a2c886bcb3ad31041a3bf76a800b as of today for HEAD of linux-4.14-at91.

Best regards
vinodtadiparthi
Posts: 6
Joined: Sun Feb 24, 2019 5:45 pm

Re: Kernel Panic when TVP5150 is registered as V4L2 sub device

Sat Mar 02, 2019 6:22 am

nferre wrote: Hi,

For development purposes, I advice you to build kernel out of buildroot, as explained in Linux4SAM.
If you want to integrate a new kernel in your buildroot image build, you can change the following parameters to your defconfig file:

BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux4sam/linux-at91.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="<commit ID of the kernel tree>"

Where <commit ID of the kernel tree> is a8b5d98452f4a2c886bcb3ad31041a3bf76a800b as of today for HEAD of linux-4.14-at91.

Best regards
Hi,
I have tried with the above kernel tree but still problem persists.

However i have tried with 4.14 tree from linux4sam and it has picked up 4.14.88 . With this kernel kernel oops has gone, but tvp5150 probe has failed saying atmel-isc not able to find default format. Below are the two log files attached for your reference.


Log file with your suggested configs

AT91Bootstrap 3.8.11 (Fri Mar 1 04:47:39 EST 2019)

SD/MMC: Image: Read file u-boot.bin to 0x23f00000
MMC: ADMA supported
SD: Card Capacity: High or Extended
SD: Specification Version 3.0X
SD/MMC: Done to load image
<debug_uart>

U-Boot 2018.07-linux4sam_6.0 (Mar 01 2019 - 04:47:44 -0500)

CPU: SAMA5D27 1G bits DDR2 SDRAM
Crystal frequency: 24 MHz
CPU clock : 492 MHz
Master clock : 164 MHz
DRAM: 128 MiB
MMC: sdio-host@a0000000: 0, sdio-host@b0000000: 1
Loading Environment from FAT... OK
In: serial@f8020000
Out: serial@f8020000
Err: serial@f8020000
Net: eth0: ethernet@f8008000
Hit any key to stop autoboot: 0
3934316 bytes read in 246 ms (15.3 MiB/s)
## Loading kernel from FIT Image at 24000000 ...
Using 'kernel_dtb' configuration
Trying 'kernel@1' kernel subimage
Description: Linux4SAM Linux kernel
Type: Kernel Image
Compression: uncompressed
Data Start: 0x240000e0
Data Size: 3867080 Bytes = 3.7 MiB
Architecture: ARM
OS: Linux
Load Address: 0x22000000
Entry Point: 0x22000000
Hash algo: crc32
Hash value: 5fdd2842
Hash algo: sha1
Hash value: 3dcccb676416652f45c109aa02ac64129ac4b6a2
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 24000000 ...
Using 'kernel_dtb' configuration
Trying 'base_fdt' fdt subimage
Description: Flattened Device Tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x243b03d4
Data Size: 44915 Bytes = 43.9 KiB
Architecture: ARM
Load Address: 0x23000000
Hash algo: crc32
Hash value: 44aa981a
Hash algo: sha1
Hash value: 96610a3de96b76f7669da56de84f1aac5689c2f4
Verifying Hash Integrity ... crc32+ sha1+ OK
Loading fdt from 0x243b03d4 to 0x23000000
## Loading fdt from FIT Image at 24000000 ...
Using 'pda4' configuration
Trying 'fdt_pda4' fdt subimage
Description: Device Tree blob pda4300 overlay
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x243bb458
Data Size: 6199 Bytes = 6.1 KiB
Architecture: ARM
Load Address: 0x23130000
Hash algo: crc32
Hash value: 7408a126
Hash algo: sha1
Hash value: c85b8ad6a734f841e3844383e748b8ba36ed6eeb
Verifying Hash Integrity ... crc32+ sha1+ OK
Loading fdt from 0x243bb458 to 0x23130000
Booting using the fdt blob at 0x23000000
Loading Kernel Image ... OK
Loading Device Tree to 27b46000, end 27b54dd0 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.14.78 (argc@argc-HP-Pavilion-Notebook) (gcc version 6.4.0 (Buildroot 2018.02)) #2 Fri Mar 1 23:01:04 EST 2019
CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: Atmel SAMA5D27 SOM1 EK TM43xx
Memory policy: Data cache writeback
cma: Reserved 16 MiB at 0x26800000
CPU: All CPU(s) started in SVC mode.
Built 1 zonelists, mobility grouping on. Total pages: 32480
Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait rootfstype=ext4 atmel.pm_modes=standby,ulp1
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 103492K/131072K available (6144K kernel code, 259K rwdata, 1032K rodata, 1024K init, 175K bss, 11196K reserved, 16384K cma-reserved)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc8800000 - 0xff800000 ( 880 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc0700000 (7136 kB)
.init : 0xc0900000 - 0xc0a00000 (1024 kB)
.data : 0xc0a00000 - 0xc0a40f10 ( 260 kB)
.bss : 0xc0a40f10 - 0xc0a6cdb4 ( 176 kB)
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
L2C-310 ID prefetch enabled, offset 2 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 128 kB
L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x36020000
clocksource: pit: mask: 0x7ffffff max_cycles: 0x7ffffff, max_idle_ns: 11654027029 ns
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns
Console: colour dummy device 80x30
Calibrating delay loop... 326.86 BogoMIPS (lpj=1634304)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x20100000 - 0x20100060
devtmpfs: initialized
random: get_random_u32 called from 0xc032e2ec with crng_init=0
VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor menu
AT91: PM: standby: standby, suspend: ulp1
clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 186464433812 ns
at_xdmac f0010000.dma-controller: 16 channels, mapped at 0xc8847000
at_xdmac f0004000.dma-controller: 16 channels, mapped at 0xc8849000
AT91: Detected SoC family: sama5d2
AT91: Detected SoC: sama5d27c 128MiB SiP, revision 2
VDDANA: supplied by VDDIN_3V3
advref: supplied by VDDANA
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
at91_i2c f8028000.i2c: could not find pctldev for node /ahb/apb/pinctrl@fc038000/i2c0_default, deferring probe
at91_i2c fc028000.i2c: could not find pctldev for node /ahb/apb/pinctrl@fc038000/i2c1_default, deferring probe
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource tcb_clksrc
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
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.
workingset: timestamp_bits=14 max_order=15 bucket_order=1
io scheduler noop registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
pinctrl-at91-pio4 fc038000.pinctrl: atmel pinctrl initialized
brd: module loaded
loop: module loaded
atmel_usart_serial.0.auto: ttyS0 at MMIO 0xf8020000 (irq = 38, base_baud = 5125000) is a ATMEL_SERIAL
console [ttyS0] enabled
atmel_usart_serial.1.auto: ttyS2 at MMIO 0xf8024000 (irq = 39, base_baud = 5125000) is a ATMEL_SERIAL
atmel_usart_serial.2.auto: ttyS1 at MMIO 0xfc00c000 (irq = 42, base_baud = 5125000) is a ATMEL_SERIAL
at91_i2c f8038600.i2c: can't get DMA channel, continue without DMA support
at91_i2c f8038600.i2c: Using FIFO (16 data)
at91_i2c f8038600.i2c: AT91 i2c bus driver (hw version: 0x704).
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] No driver support for vblank timestamp query.
atmel-hlcdc-display-controller atmel-hlcdc-dc: failed to create HLCDC outputs: -517
atmel-hlcdc-display-controller atmel-hlcdc-dc: failed to initialize mode setting
atmel_qspi f0024000.spi: sst26vf064b (8192 Kbytes)
5 ofpart partitions found on MTD device f0024000.spi
Creating 5 MTD partitions on "f0024000.spi":
0x000000000000-0x000000010000 : "at91bootstrap"
0x000000010000-0x0000000b0000 : "bootloader"
0x0000000b0000-0x0000000c0000 : "bootloader env"
0x0000000c0000-0x0000000e0000 : "device tree"
0x0000000e0000-0x0000004e0000 : "kernel"
atmel_spi f8000000.spi: DMA TX channel not available, SPI unable to use DMA
atmel_spi f8000000.spi: Atmel SPI Controller using PIO only
atmel_spi f8000000.spi: Using FIFO (16 data)
atmel_spi f8000000.spi: Atmel SPI Controller version 0x311 at 0xf8000000 (irq 31)
atmel_spi fc018400.spi: DMA TX channel not available, SPI unable to use DMA
atmel_spi fc018400.spi: Atmel SPI Controller using PIO only
atmel_spi fc018400.spi: Using FIFO (16 data)
atmel_spi fc018400.spi: Atmel SPI Controller version 0x311 at 0xfc018400 (irq 181)
libphy: Fixed MDIO Bus: probed
CAN device driver interface
m_can fc050000.can: m_can device registered (irq=50, version=31)
libphy: MACB_mii_bus: probed
Micrel KSZ8081 or KSZ8091 f8008000.ethernet-ffffffff:07: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=f8008000.ethernet-ffffffff:)
macb f8008000.ethernet eth0: Cadence GEM rev 0x00020203 at 0xf8008000 irq 32 (54:10:ec:33:fb:8e)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-atmel: EHCI Atmel driver
atmel-ehci 500000.ehci: EHCI Host Controller
atmel-ehci 500000.ehci: new USB bus registered, assigned bus number 1
atmel-ehci 500000.ehci: irq 19, io mem 0x00500000
atmel-ehci 500000.ehci: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 4.14.78 ehci_hcd
usb usb1: SerialNumber: 500000.ehci
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-atmel: OHCI Atmel driver
at91_ohci 400000.ohci: failed to request gpio "overcurrent" IRQ
at91_ohci 400000.ohci: failed to request gpio "overcurrent" IRQ
at91_ohci 400000.ohci: failed to request gpio "overcurrent" IRQ
at91_ohci 400000.ohci: USB Host Controller
at91_ohci 400000.ohci: new USB bus registered, assigned bus number 2
at91_ohci 400000.ohci: irq 19, io mem 0x00400000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: USB Host Controller
usb usb2: Manufacturer: Linux 4.14.78 ohci_hcd
usb usb2: SerialNumber: at91
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
usbcore: registered new interface driver usb-storage
rtc rtc0: invalid alarm value: 1900-1-1 0:0:0
at91_rtc f80480b0.rtc: registered as rtc0
at91_rtc f80480b0.rtc: AT91 Real Time Clock driver.
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
AT91: Starting after user reset
sama5d4_wdt f8048040.watchdog: initialized (timeout = 16 sec, nowayout = 0)
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-at91 a0000000.sdio-host: update clk mul to 39 as gck rate is 480000000 Hz
mmc0: SDHCI controller on a0000000.sdio-host [a0000000.sdio-host] using ADMA
sdhci-at91 b0000000.sdio-host: update clk mul to 39 as gck rate is 480000000 Hz
mmc1: SDHCI controller on b0000000.sdio-host [b0000000.sdio-host] using ADMA
ledtrig-cpu: registered to indicate activity on CPUs
atmel_aes f002c000.aes: version: 0x500
atmel_aes f002c000.aes: Atmel AES - Using dma0chan0, dma0chan1 for DMA transfers
atmel_sha f0028000.sha: version: 0x510
atmel_sha f0028000.sha: using dma0chan2 for DMA transfers
atmel_sha f0028000.sha: Atmel SHA1/SHA256/SHA224/SHA384/SHA512
atmel_tdes fc044000.tdes: version: 0x703
atmel_tdes fc044000.tdes: using dma0chan3, dma0chan4 for DMA transfers
atmel_tdes fc044000.tdes: Atmel DES/TDES
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 10
Segment Routing with IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20170425 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20170425)
can: broadcast manager protocol (rev 20170425 t)
can: netlink gateway (rev 20170425) max_hops=1
at91_i2c f8028000.i2c: can't get DMA channel, continue without DMA support
at91_i2c f8028000.i2c: Using FIFO (16 data)
mmc0: new ultra high speed DDR50 SDXC card at address aaaa
mmcblk0: mmc0:aaaa SC64G 59.5 GiB
at24 3-0050: 256 byte 24c02 EEPROM, writable, 8 bytes/write
at91_i2c f8028000.i2c: AT91 i2c bus driver (hw version: 0x704).
at91_i2c fc028000.i2c: can't get DMA channel, continue without DMA support
at91_i2c fc028000.i2c: Using FIFO (16 data)
mmcblk0: p1 p2
atmel_mxt_ts 1-004a: __mxt_read_reg: i2c transfer failed (-121)
atmel_mxt_ts 1-004a: mxt_bootloader_read: i2c recv failed (-121)
atmel_mxt_ts 1-004a: Trying alternate bootloader address
atmel_mxt_ts 1-004a: mxt_bootloader_read: i2c recv failed (-121)
atmel_mxt_ts 1-004a: Try a second time to init maxtouch
atmel_mxt_ts 1-004a: __mxt_read_reg: i2c transfer failed (-121)
atmel_mxt_ts 1-004a: mxt_bootloader_read: i2c recv failed (-121)
atmel_mxt_ts 1-004a: Trying alternate bootloader address
atmel_mxt_ts 1-004a: mxt_bootloader_read: i2c recv failed (-121)
atmel_mxt_ts: probe of 1-004a failed with error -121
qt1070 1-001b: can not read register, returned -121
qt1070 1-001b: ID -121 not supported
at91_i2c fc028000.i2c: AT91 i2c bus driver (hw version: 0x704).
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] No driver support for vblank timestamp query.
atmel-hlcdc-display-controller atmel-hlcdc-dc: fb0: frame buffer device
[drm] Initialized atmel-hlcdc 1.0.0 20141504 for atmel-hlcdc-dc on minor 0
atmel-hlcdc-display-controller atmel-hlcdc-dc: DRM device successfully registered
input: gpio_keys as /devices/platform/gpio_keys/input/input0
at91_rtc f80480b0.rtc: setting system clock to 2012-01-01 00:09:24 UTC (1325376564)
panel-power-supply: disabling
backlight-power-supply: disabling
ALSA device list:
#0: Dummy 1
atmel_usart_serial atmel_usart_serial.0.auto: using dma0chan5 for rx DMA transfers
atmel_usart_serial atmel_usart_serial.0.auto: using dma0chan6 for tx DMA transfers
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 1024K
random: fast init done
EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
Populating /dev using udev: udevd[113]: starting version 3.2.5
random: udevd: uninitialized urandom read (16 bytes read)
random: udevd: uninitialized urandom read (16 bytes read)
random: udevd: uninitialized urandom read (16 bytes read)
udevd[114]: starting eudev-3.2.5
atmel_usba_udc 300000.gadget: MMIO registers at [mem 0xfc02c000-0xfc02c3ff] mapped at c88fe000
atmel_usba_udc 300000.gadget: FIFO at [mem 0x00300000-0x003fffff] mapped at c8d00000
tvp5150 1-005d: tvp5150 (4.0) chip found @ 0xba (AT91)
tvp5150 1-005d: tvp5150am1 detected.
random: crng init done
Unable to handle kernel NULL pointer dereference at virtual address 00000004
pgd = c5ddc000
[00000004] *pgd=25dce831, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] ARM
Modules linked in: ov7670(+) tvp5150(+) atmel_isc videobuf2_dma_contig v4l2_fwnode videobuf2_memops videobuf2_v4l2 videobuf2_core atmel_usba_udc udc_ce
CPU: 0 PID: 123 Comm: udevd Not tainted 4.14.78 #2
Hardware name: Atmel SAMA5
task: c5d8e600 task.stack: c5dd8000
pc : [<bf02953c>] lr : [<bf029378>] psr: 20010013
sp : c5dd9a98 ip : 00000008 fp : c5d7668c
r10: c5df0e84 r9 : c5d16e54 r8 : 00000000
r7 : 00000000 r6 : c5d16010 r5 : c5dd9b64 r4 : bf02d2f4
r3 : 00000280 r2 : 00000000 r1 : 000001e0 r0 : c5dd9ae8
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Control: 10c53c7d Table: 25ddc059 DAC: 00000051
Process udevd (pid: 123, stack limit = 0xc5dd8208)
Stack: (0xc5dd9a98 to 0xc5dda000)
9a80: 00000000 c013deb8
9aa0: 00000000 c5dd9aac 000000e4 00000000 00000000 00000000 c5dd9ab8 c5dd9ab8
9ac0: 000000c3 00000000 c64cc400 00000000 c0a66ba0 00000000 00000000 c013dee4
9ae0: 00000000 c5d1a400 00000000 00000000 00000000 00000000 00000000 00000000
9b00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9b20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9b40: c5df04f8 c5d16010 c5d16060 c5df0c10 00000001 c5d16010 c5d16e54 bf0296bc
9b60: 00000000 00000001 00000280 000001e0 32315559 00000001 00000000 00000000
9b80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9ba0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9bc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9be0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9c00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9c20: 00000000 00000000 00000000 00000000 bf02d374 bf02d374 c5d16060 bf02ad94
9c40: 00000028 00000002 c5dd9c56 c049bd68 00000027 00020002 c5dd9c66 c5df0c10
9c60: c5d160b8 c5d163c8 00000000 00000001 00002006 00000001 00000000 00000000
9c80: 00000000 00000000 00000000 00000000 00000000 00000000 c5df0c10 c5d60798
9ca0: c5df0c10 c0a295f0 c0a295dc c5df0cbc 00000000 c5df0e84 c5d7668c c04b44ac
9cc0: c5df0c10 bf034108 00000000 00000000 00000001 bf032e98 00000000 00000000
9ce0: 00000000 bf034420 00000001 00000000 019bfcc0 00000000 c5862d10 c021c2ac
9d00: c5862d10 00000000 00000000 00045051 00000000 c7ec8510 00000001 00000001
9d20: 00000000 00000000 00000000 00000000 00000000 00000000 c7ec82f0 c5cd2820
9d40: bf032900 bf036020 c5cd2800 00000000 00000000 0000000b c5d7668c c0499740
9d60: c5cd2820 c0a63c40 c0a63c44 00000000 bf036020 c03dce98 c5cd2820 bf036020
9d80: c5cd2854 00000000 00000007 bf036080 bf036154 c03dcfdc 00000000 bf036020
9da0: c03dcf24 c03db3d8 c64c304c c5cbb3b0 bf036020 c5fa4d00 c0a288f4 c03dc338
9dc0: bf0352cc 00000000 bf036020 bf036020 00000000 bf0361b8 c5f64cc0 c03dd894
9de0: bf036000 00000000 bf0361b8 c0499f00 bf038000 00000000 bf0361b8 c0101900
9e00: c5d1a464 00000001 a0010013 00000004 c0a3f868 00000000 c64cc400 014000c0
9e20: c5d01000 c01b25a0 c5d01018 c8a60fff ffe00000 fffff000 bf0360c8 c5f64c80
9e40: c5f64cc0 bf0361b8 bf036080 00000000 bf0361b8 c5f64cc0 00000007 c0166860
9e60: bf0361b8 bf03608c 00000007 c5dd9f54 00000000 bf0361b8 bf03608c c016622c
9e80: bf03608c 00007fff bf036080 c0163b90 bf0360c8 c5dd9f54 bf036168 bf0361c0
9ea0: c07c8980 c07018a0 bf03608c c076c438 c076c49c c076c444 ffffe000 bf000000
9ec0: 00006730 00000000 c5dd9f48 00000000 00000000 00000000 00000000 00000000
9ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9f00: 00000000 00000000 7fffffff 00000000 00000007 b6f03945 0000017b c0107604
9f20: c5dd8000 0000017b 000574e0 c01666e8 7fffffff 00000000 00000003 00000000
9f40: 00000000 c8a59000 00006730 00000000 00000874 c8a5b986 c8a59000 00006730
9f60: c8a5f1e0 c8a5f08c c8a5d704 00000000 00000000 00000000 00000000 00000000
9f80: 0000001f 00000020 00000019 00000000 00000013 00000000 00020000 00000000
9fa0: 00000000 c0107400 00020000 00000000 00000007 b6f03945 00000000 000574e0
9fc0: 00020000 00000000 00000000 0000017b 0005b058 00000000 0002c9fb 000574e0
9fe0: bee0c960 bee0c950 b6eff5ef b6e691a2 800b0030 00000007 00000000 00000000
Function entered at [<bf02953c>] from [<bf0296bc>]
Function entered at [<bf0296bc>] from [<bf02ad94>]
Function entered at [<bf02ad94>] from [<c04b44ac>]
Function entered at [<c04b44ac>] from [<bf032e98>]
Function entered at [<bf032e98>] from [<c0499740>]
Function entered at [<c0499740>] from [<c03dce98>]
Function entered at [<c03dce98>] from [<c03dcfdc>]
Function entered at [<c03dcfdc>] from [<c03db3d8>]
Function entered at [<c03db3d8>] from [<c03dc338>]
Function entered at [<c03dc338>] from [<c03dd894>]
Function entered at [<c03dd894>] from [<c0499f00>]
Function entered at [<c0499f00>] from [<c0101900>]
Function entered at [<c0101900>] from [<c0166860>]
Function entered at [<c0166860>] from [<c016622c>]
Function entered at [<c016622c>] from [<c01666e8>]
Function entered at [<c01666e8>] from [<c0107400>]
Code: e5d4200e e3520000 0affffc2 e59625d0 (e5929004)
---[ end trace 8ca7b8b2a6f51728 ]---
udevd[114]: worker [123] terminated by signal 11 (Segmentation fault)
udevd[114]: worker [123] failed while handling '/devices/platform/ahb/ahb:apb/fc028000.i2c/i2c-1/1-005d'
udevadm settle failed
done
Initializing random number generator... done.
Starting system message bus: done
Starting network: IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc: started, v1.27.2
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing
FAIL
Starting dropbear sshd: OK
ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519
Starting sshd: OK

Welcome to the Microchip Demo
sama5 login: udevd[114]: worker [122] /devices/platform/ahb/ahb:apb/fc028000.i2c/i2c-1/1-0021 is taking a long time


Log file with 4.14.88 version of kernel tree

AT91Bootstrap 3.8.11 (Fri Mar 1 04:47:39 EST 2019)

SD/MMC: Image: Read file u-boot.bin to 0x23f00000
MMC: ADMA supported
SD: Card Capacity: High or Extended
SD: Specification Version 3.0X
SD/MMC: Done to load image
<debug_uart>

U-Boot 2018.07-linux4sam_6.0 (Mar 01 2019 - 04:47:44 -0500)

CPU: SAMA5D27 1G bits DDR2 SDRAM
Crystal frequency: 24 MHz
CPU clock : 492 MHz
Master clock : 164 MHz
DRAM: 128 MiB
MMC: sdio-host@a0000000: 0, sdio-host@b0000000: 1
Loading Environment from FAT... OK
In: serial@f8020000
Out: serial@f8020000
Err: serial@f8020000
Net: eth0: ethernet@f8008000
Hit any key to stop autoboot: 0
3937980 bytes read in 247 ms (15.2 MiB/s)
## Loading kernel from FIT Image at 24000000 ...
Using 'kernel_dtb' configuration
Trying 'kernel@1' kernel subimage
Description: Linux4SAM Linux kernel
Type: Kernel Image
Compression: uncompressed
Data Start: 0x240000e0
Data Size: 3870744 Bytes = 3.7 MiB
Architecture: ARM
OS: Linux
Load Address: 0x22000000
Entry Point: 0x22000000
Hash algo: crc32
Hash value: 2535bda2
Hash algo: sha1
Hash value: bd4b44c794c4e0a050835b0f361f4d6da65b588d
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 24000000 ...
Using 'kernel_dtb' configuration
Trying 'base_fdt' fdt subimage
Description: Flattened Device Tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x243b1224
Data Size: 44915 Bytes = 43.9 KiB
Architecture: ARM
Load Address: 0x23000000
Hash algo: crc32
Hash value: 0a969030
Hash algo: sha1
Hash value: 7e40fe5be3864b3c3e68e396255a1c76b48dc0c3
Verifying Hash Integrity ... crc32+ sha1+ OK
Loading fdt from 0x243b1224 to 0x23000000
## Loading fdt from FIT Image at 24000000 ...
Using 'pda4' configuration
Trying 'fdt_pda4' fdt subimage
Description: Device Tree blob pda4300 overlay
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x243bc2a8
Data Size: 6199 Bytes = 6.1 KiB
Architecture: ARM
Load Address: 0x23130000
Hash algo: crc32
Hash value: 7408a126
Hash algo: sha1
Hash value: c85b8ad6a734f841e3844383e748b8ba36ed6eeb
Verifying Hash Integrity ... crc32+ sha1+ OK
Loading fdt from 0x243bc2a8 to 0x23130000
Booting using the fdt blob at 0x23000000
Loading Kernel Image ... OK
Loading Device Tree to 27b46000, end 27b54dd0 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.14.88 (argc@argc-HP-Pavilion-Notebook) (gcc version 6.4.0 (Buildroot 2018.02)) #1 Fri Mar 1 04:52:09 EST 2019
CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: Atmel SAMA5D27 SOM1 EK TM43xx
Memory policy: Data cache writeback
cma: Reserved 16 MiB at 0x26800000
CPU: All CPU(s) started in SVC mode.
Built 1 zonelists, mobility grouping on. Total pages: 32480
Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait rootfstype=ext4 atmel.pm_modes=standby,ulp1
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 103492K/131072K available (6144K kernel code, 259K rwdata, 1032K rodata, 1024K init, 175K bss, 11196K reserved, 16384K cma-reserved)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc8800000 - 0xff800000 ( 880 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc0700000 (7136 kB)
.init : 0xc0900000 - 0xc0a00000 (1024 kB)
.data : 0xc0a00000 - 0xc0a40f90 ( 260 kB)
.bss : 0xc0a40f90 - 0xc0a6ce74 ( 176 kB)
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
L2C-310 ID prefetch enabled, offset 2 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 128 kB
L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x36020000
clocksource: pit: mask: 0x7ffffff max_cycles: 0x7ffffff, max_idle_ns: 11654027029 ns
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns
Console: colour dummy device 80x30
Calibrating delay loop... 326.86 BogoMIPS (lpj=1634304)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x20100000 - 0x20100060
devtmpfs: initialized
random: get_random_u32 called from 0xc032e748 with crng_init=0
VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor menu
AT91: PM: standby: standby, suspend: ulp1
clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 186464433812 ns
at_xdmac f0010000.dma-controller: 16 channels, mapped at 0xc8847000
at_xdmac f0004000.dma-controller: 16 channels, mapped at 0xc8849000
AT91: Detected SoC family: sama5d2
AT91: Detected SoC: sama5d27c 128MiB SiP, revision 2
VDDANA: supplied by VDDIN_3V3
advref: supplied by VDDANA
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
at91_i2c f8028000.i2c: could not find pctldev for node /ahb/apb/pinctrl@fc038000/i2c0_default, deferring probe
at91_i2c fc028000.i2c: could not find pctldev for node /ahb/apb/pinctrl@fc038000/i2c1_default, deferring probe
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource tcb_clksrc
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
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.
workingset: timestamp_bits=14 max_order=15 bucket_order=1
io scheduler noop registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
pinctrl-at91-pio4 fc038000.pinctrl: atmel pinctrl initialized
brd: module loaded
loop: module loaded
atmel_usart_serial.0.auto: ttyS0 at MMIO 0xf8020000 (irq = 38, base_baud = 5125000) is a ATMEL_SERIAL
console [ttyS0] enabled
atmel_usart_serial.1.auto: ttyS2 at MMIO 0xf8024000 (irq = 39, base_baud = 5125000) is a ATMEL_SERIAL
atmel_usart_serial.2.auto: ttyS1 at MMIO 0xfc00c000 (irq = 42, base_baud = 5125000) is a ATMEL_SERIAL
at91_i2c f8038600.i2c: can't get DMA channel, continue without DMA support
at91_i2c f8038600.i2c: Using FIFO (16 data)
at91_i2c f8038600.i2c: AT91 i2c bus driver (hw version: 0x704).
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] No driver support for vblank timestamp query.
atmel-hlcdc-display-controller atmel-hlcdc-dc: failed to create HLCDC outputs: -517
atmel-hlcdc-display-controller atmel-hlcdc-dc: failed to initialize mode setting
atmel_qspi f0024000.spi: sst26vf064b (8192 Kbytes)
5 ofpart partitions found on MTD device f0024000.spi
Creating 5 MTD partitions on "f0024000.spi":
0x000000000000-0x000000010000 : "at91bootstrap"
0x000000010000-0x0000000b0000 : "bootloader"
0x0000000b0000-0x0000000c0000 : "bootloader env"
0x0000000c0000-0x0000000e0000 : "device tree"
0x0000000e0000-0x0000004e0000 : "kernel"
atmel_spi f8000000.spi: DMA TX channel not available, SPI unable to use DMA
atmel_spi f8000000.spi: Atmel SPI Controller using PIO only
atmel_spi f8000000.spi: Using FIFO (16 data)
atmel_spi f8000000.spi: Atmel SPI Controller version 0x311 at 0xf8000000 (irq 31)
atmel_spi fc018400.spi: DMA TX channel not available, SPI unable to use DMA
atmel_spi fc018400.spi: Atmel SPI Controller using PIO only
atmel_spi fc018400.spi: Using FIFO (16 data)
atmel_spi fc018400.spi: Atmel SPI Controller version 0x311 at 0xfc018400 (irq 181)
libphy: Fixed MDIO Bus: probed
CAN device driver interface
m_can fc050000.can: m_can device registered (irq=50, version=31)
libphy: MACB_mii_bus: probed
Micrel KSZ8081 or KSZ8091 f8008000.ethernet-ffffffff:07: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=f8008000.ethernet-ffffffff:)
macb f8008000.ethernet eth0: Cadence GEM rev 0x00020203 at 0xf8008000 irq 32 (54:10:ec:33:fb:8e)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-atmel: EHCI Atmel driver
atmel-ehci 500000.ehci: EHCI Host Controller
atmel-ehci 500000.ehci: new USB bus registered, assigned bus number 1
atmel-ehci 500000.ehci: irq 19, io mem 0x00500000
atmel-ehci 500000.ehci: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 4.14.88 ehci_hcd
usb usb1: SerialNumber: 500000.ehci
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-atmel: OHCI Atmel driver
at91_ohci 400000.ohci: USB Host Controller
at91_ohci 400000.ohci: new USB bus registered, assigned bus number 2
at91_ohci 400000.ohci: irq 19, io mem 0x00400000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: USB Host Controller
usb usb2: Manufacturer: Linux 4.14.88 ohci_hcd
usb usb2: SerialNumber: at91
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
usbcore: registered new interface driver usb-storage
rtc rtc0: invalid alarm value: 1900-1-1 0:0:0
at91_rtc f80480b0.rtc: registered as rtc0
at91_rtc f80480b0.rtc: AT91 Real Time Clock driver.
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
AT91: Starting after user reset
sama5d4_wdt f8048040.watchdog: initialized (timeout = 16 sec, nowayout = 0)
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-at91 a0000000.sdio-host: update clk mul to 39 as gck rate is 480000000 Hz
mmc0: SDHCI controller on a0000000.sdio-host [a0000000.sdio-host] using ADMA
sdhci-at91 b0000000.sdio-host: update clk mul to 39 as gck rate is 480000000 Hz
mmc0: new high speed SDXC card at address aaaa
mmc1: SDHCI controller on b0000000.sdio-host [b0000000.sdio-host] using ADMA
ledtrig-cpu: registered to indicate activity on CPUs
atmel_aes f002c000.aes: version: 0x500
mmcblk0: mmc0:aaaa SC64G 59.5 GiB
atmel_aes f002c000.aes: Atmel AES - Using dma0chan0, dma0chan1 for DMA transfers
atmel_sha f0028000.sha: version: 0x510
atmel_sha f0028000.sha: using dma0chan2 for DMA transfers
mmcblk0: p1 p2
atmel_sha f0028000.sha: Atmel SHA1/SHA256/SHA224/SHA384/SHA512
atmel_tdes fc044000.tdes: version: 0x703
atmel_tdes fc044000.tdes: using dma0chan3, dma0chan4 for DMA transfers
atmel_tdes fc044000.tdes: Atmel DES/TDES
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 10
Segment Routing with IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20170425 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20170425)
can: broadcast manager protocol (rev 20170425 t)
can: netlink gateway (rev 20170425) max_hops=1
at91_i2c f8028000.i2c: can't get DMA channel, continue without DMA support
at91_i2c f8028000.i2c: Using FIFO (16 data)
at24 3-0050: 256 byte 24c02 EEPROM, writable, 8 bytes/write
at91_i2c f8028000.i2c: AT91 i2c bus driver (hw version: 0x704).
at91_i2c fc028000.i2c: can't get DMA channel, continue without DMA support
at91_i2c fc028000.i2c: Using FIFO (16 data)
atmel_mxt_ts 1-004a: __mxt_read_reg: i2c transfer failed (-121)
atmel_mxt_ts 1-004a: mxt_bootloader_read: i2c recv failed (-121)
atmel_mxt_ts 1-004a: Trying alternate bootloader address
atmel_mxt_ts 1-004a: mxt_bootloader_read: i2c recv failed (-121)
atmel_mxt_ts 1-004a: Try a second time to init maxtouch
atmel_mxt_ts 1-004a: __mxt_read_reg: i2c transfer failed (-121)
atmel_mxt_ts 1-004a: mxt_bootloader_read: i2c recv failed (-121)
atmel_mxt_ts 1-004a: Trying alternate bootloader address
atmel_mxt_ts 1-004a: mxt_bootloader_read: i2c recv failed (-121)
atmel_mxt_ts: probe of 1-004a failed with error -121
qt1070 1-001b: can not read register, returned -121
qt1070 1-001b: ID -121 not supported
at91_i2c fc028000.i2c: AT91 i2c bus driver (hw version: 0x704).
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] No driver support for vblank timestamp query.
atmel-hlcdc-display-controller atmel-hlcdc-dc: fb0: frame buffer device
[drm] Initialized atmel-hlcdc 1.0.0 20141504 for atmel-hlcdc-dc on minor 0
atmel-hlcdc-display-controller atmel-hlcdc-dc: DRM device successfully registered
input: gpio_keys as /devices/platform/gpio_keys/input/input0
at91_rtc f80480b0.rtc: setting system clock to 2012-01-01 00:01:46 UTC (1325376106)
panel-power-supply: disabling
backlight-power-supply: disabling
ALSA device list:
#0: Dummy 1
atmel_usart_serial atmel_usart_serial.0.auto: using dma0chan5 for rx DMA transfers
atmel_usart_serial atmel_usart_serial.0.auto: using dma0chan6 for tx DMA transfers
random: fast init done
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 1024K
EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
Populating /dev using udev: udevd[111]: starting version 3.2.5
random: udevd: uninitialized urandom read (16 bytes read)
random: udevd: uninitialized urandom read (16 bytes read)
random: udevd: uninitialized urandom read (16 bytes read)
udevd[112]: starting eudev-3.2.5
atmel_usba_udc 300000.gadget: MMIO registers at [mem 0xfc02c000-0xfc02c3ff] mapped at c88e8000
atmel_usba_udc 300000.gadget: FIFO at [mem 0x00300000-0x003fffff] mapped at c8d00000
ov7670 1-0021: Unsupported media bus type
ov7670: probe of 1-0021 failed with error -121
tvp5150 1-005d: tvp5150 (4.0) chip found @ 0xba (AT91)
tvp5150 1-005d: tvp5150am1 detected.
random: crng init done
atmel_isc f0008000.isc: Could not set default format
tvp5150: probe of 1-005d failed with error -22
done
Initializing random number generator... done.
Starting system message bus: done
Starting network: IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc: started, v1.27.2
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing
FAIL
Starting dropbear sshd: OK
ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519
Starting sshd: OK

Welcome to the Microchip Demo
sama5 login: root
vinodtadiparthi
Posts: 6
Joined: Sun Feb 24, 2019 5:45 pm

Re: Kernel Panic when TVP5150 is registered as V4L2 sub device

Mon Mar 04, 2019 7:20 am

Can anyone help me in resolving this issue.

Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 3 guests