Camera sensor support for V4L2_PIX_FMT_SGBRG10

Documentation states that pixel_phase value in the dtsi supports the format ‘gbrg’. However when I set the value in the dsti file kernel reports the following error:

Unsupported pixel format

Reviewing the code in sensor_common.c there is no support for V4L2_PIX_FMT_SGBRG10 the code just has support for are:

V4L2_PIX_FMT_SBGGR10
V4L2_PIX_FMT_SRGGB10
V4L2_PIX_FMT_SGRBG10

Is this a bug?

Hi jas-mx,

This format is not supported, but you can extend the support like this:

Include format in “camera_common_color_fmts” from camera_common.c:

{
		MEDIA_BUS_FMT_SGRBG10_1X10,
		V4L2_COLORSPACE_SRGB,
		V4L2_PIX_FMT_SGRBG10,
	},

Include support to “extract_pixel_format” in sensor_common.c:

else if (strncmp(pixel_t, "bayer_grbg", size) == 0)
		*format = V4L2_PIX_FMT_SGRBG10;

Regards,
-Enrique

Hi, this goes against what is documented as per my original post.

That doesn’t work as the output I’m seeing is still being produced as BGGR not GRBG, I suspect its a bug or docs are wrong.

Yes, it seems that the information documented is wrong, because there’s no support for GRBG in the original files.

I made a mistake here, it should be:

else if (strncmp(pixel_t, "bayer_grbg10", size) == 0)
		*format = V4L2_PIX_FMT_SGRBG10;

I tested this on Jetson TX2, with the following device-tree definition:

dynamic_pixel_bit_depth = "10";
csi_pixel_bit_depth = "10";
mode_type = "bayer";
pixel_phase = "grbg";

I confirmed that it works on Jetson TX2 (JetPack-3.3).

You should try this on your Jetson Nano (JetPack-4.2). If this doesn’t works probably there is a bug in the new JetPack.

Regards,
-Enrique

Hi, already tried that change and it still outputs BGGR so I thinks its a bug.

Can someone from Nivida confirm this is a bug or not?

hello jas-mx,

could you please list the sensor formats for checking.
thanks

$ v4l2-ctl -d /dev/video0 --list-formats-ext

Jetson Nano and TX2 both support GBRG.

Does vl42-ctl --list-formats-ext show the correct format?

As mentioned in the original post “sensor_common.c” has no code to support GBRG10 format so the kernel reports “Unsupported pixel format”. Is there a reason why its not included? So the problem isn’t with the sensor outputting GBRG10 .

I made a code change (in sensor_common.c) to add support for GBRG10 however it seems to be treating it as BGGR when processed through the ISP even though the sensor is outputting GBRG10.

could you please share the sensor formats.

Sensor formats:

v4l2-ctl -d /dev/video0 --list-formats-extioctl: VIDIOC_ENUM_FMT
	Index       : 0
	Type        : Video Capture
	Pixel Format: 'GB10'
	Name        : 10-bit Bayer GBGB/RGRG
		Size: Discrete 1920x1080
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 2592x1944
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 1296x976
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 1296x730
			Interval: Discrete 0.033s (30.000 fps)

And here declaration in the dtsi file

dynamic_pixel_bit_depth = "10";
  csi_pixel_bit_depth = "10";
  mode_type = "bayer";
  pixel_phase = "gbrg";

hello jas-mx,

you may check from low level kernel driver to check it report correct fourcc as below.
please also share the code snippet,
thanks

<i>$l4t-r32.1/kernel_src/kernel/kernel-4.9/include/uapi/linux/videodev2.h</i>

#define V4L2_PIX_FMT_SGBRG10 v4l2_fourcc('G', 'B', '1', '0') /* 10  GBGB.. RGRG.. */

I tried the same change with L4T R32.2 and the kernel crashes see below for log. I can’t see why Nvidia can’t test it works before asking to me debug the issue. As I’ve already mentioned your current kernel code is not expecting GBRG10 even though the documentation state differently. So either its a bug or doc issue.

U-Boot 2016.07-gd917e08cec (Jul 16 2019 - 16:52:59 -0700)

TEGRA210
Model: NVIDIA P3450-Porg
Board: NVIDIA P3450-PORG
DRAM:  4 GiB
MMC:   Tegra SD/MMC: 0, Tegra SD/MMC: 1
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
761 bytes read in 71 ms (9.8 KiB/s)
L4T boot options
1:      primary kernel
Enter choice: 1:        primary kernel
Retrieving file: /boot/initrd
5562393 bytes read in 350 ms (15.2 MiB/s)
Retrieving file: /boot/Image
34443272 bytes read in 1551 ms (21.2 MiB/s)
append: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvf
s=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,2 earlyprintk=uart8250-32bit,0x700
06000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000  root=/dev/mmcblk0p1 rw rootw
ait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0    root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4
 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 
## Flattened Device Tree blob at 83100000
   Booting using the fdt blob at 0x83100000
   reserving fdt memory region: addr=80000000 size=20000
   Using Device Tree in place at 0000000083100000, end 0000000083173958

Starting kernel ...

<hit enter to activate fiq debugger>
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.140+ (jetson@jetson-desktop) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1) ) #4 SMP PRE
EMPT Tue Jul 23 21:17:24 BST 2019
[    0.000000] Boot CPU: AArch64 Processor [411fd071]
[    0.000000] OF: fdt:memory scan node memory@80000000, reg size 48,
[    0.000000] OF: fdt: - 80000000 ,  7ee00000
[    0.000000] OF: fdt: - 100000000 ,  7f200000
[    0.000000] OF: fdt:Reserved memory: failed to reserve memory for node 'fb0_carveout': base 0x0000000000000000, size 0 MiB
[    0.000000] OF: fdt:Reserved memory: failed to reserve memory for node 'fb0_carveout': base 0x0000000000000000, size 0 MiB
[    0.000000] OF: fdt:Reserved memory: failed to reserve memory for node 'fb1_carveout': base 0x0000000000000000, size 0 MiB
[    0.000000] OF: fdt:Reserved memory: failed to reserve memory for node 'fb1_carveout': base 0x0000000000000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vpr-carveout, compatible id nvidia,vpr-carveout
[    0.000000] OF: reserved mem: initialized node iram-carveout, compatible id nvidia,iram-carveout
[    0.000000] OF: reserved mem: initialized node ramoops_carveout, compatible id nvidia,ramoops
[    0.000000] cma: Reserved 64 MiB at 0x00000000fac00000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 25 pages/cpu @ffffffc0fefcc000 s61592 r8192 d32616 u102400
[    0.000000] CPU features: enabling workaround for ARM erratum 832075
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1023544
[    0.000000] Kernel command line: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 l
ane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,2 earl
yprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000  
root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0    root=/dev/mmcblk0p1
 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 
[    0.000000] log_buf_len individual max cpu contribution: 32768 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 98304 bytes
[    0.000000] log_buf_len min size: 32768 bytes
[    0.000000] log_buf_len: 131072 bytes
[    0.000000] early log buf free: 29580(90%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Memory: 3570216K/4159488K available (15230K kernel code, 2916K rwdata, 6860K rodata, 8576K init, 611K bss, 114136K re
served, 475136K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008f60000   ( 15232 KB)
[    0.000000]     .rodata : 0xffffff8008f60000 - 0xffffff8009620000   (  6912 KB)
[    0.000000]       .init : 0xffffff8009620000 - 0xffffff8009e80000   (  8576 KB)
[    0.000000]       .data : 0xffffff8009e80000 - 0xffffff800a159008   (  2917 KB)
[    0.000000]        .bss : 0xffffff800a159008 - 0xffffff800a1f1dbc   (   612 KB)
[    0.000000]     fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf03fc8000   (    63 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc0ff200000   (  4082 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] /interrupt-controller@60004000: 192 interrupts forwarded to /interrupt-controller
[    0.000000] t210 clock and reset probe
[    0.000000] tegra-pmc: get_secure_pmc_setting: done secure_pmc=1
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000006] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.001437] Console: colour dummy device 80x25
[    0.002271] console [tty0] enabled
[    0.002298] kmemleak: Kernel memory leak detector disabled
[    0.002327] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[    0.002356] pid_max: default: 32768 minimum: 301
[    0.002815] Security Framework initialized
[    0.003044] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.003065] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.004185] ftrace: allocating 46951 entries in 184 pages
[    0.174447] ASID allocator initialised with 65536 entries
[    0.211175] tegra-id: chipid=22117.
[    0.211218] tegra-id: opt_subrevision=0.
[    0.211246] Tegra Speedo/IDDQ fuse revision 4
[    0.211261] Tegra: CPU Speedo ID 9, SoC Speedo ID 0, GPU Speedo ID 2
[    0.211277] Tegra: CPU Process ID 0, SoC Process ID 1, GPU Process ID 0
[    0.211294] Tegra: CPU Speedo Value 2094, SoC Speedo Value 1985, GPU Speedo Value 2097
[    0.211315] Tegra: CPU IDDQ Value 2412, SoC IDDQ Value 2688, GPU IDDQ Value 3370
[    0.211351] Tegra Revision: A02 SKU: 0x8f CPU Process: 0 SoC Process: 1
[    0.211376] DTS File Name: ../arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-p3448-
0000-p3449-0000-a02.dts
[    0.211403] DTB Build time: Jul 24 2019 18:54:58
[    0.261048] CPU1: Booted secondary processor [411fd071]
[    0.292972] CPU2: Booted secondary processor [411fd071]
[    0.324926] CPU3: Booted secondary processor [411fd071]
[    0.325016] Brought up 4 CPUs
[    0.325082] SMP: Total of 4 processors activated.
[    0.325102] CPU features: detected feature: 32-bit EL0 Support
[    0.325374] CPU: All CPU(s) started at EL2
[    0.325404] alternatives: patching kernel code
[    0.333427] devtmpfs: initialized
[    0.367424] Initilizing CustomIPI irq domain
[    0.367837] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.367886] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.378424] pinctrl core: initialized pinctrl subsystem
[    0.379125] OS set in device tree is not L4T.
[    0.379555] regulator-dummy: no parameters
[    0.379838] Initializing plugin-manager
[    0.379966] Plugin module not found
[    0.380202] node /plugin-manager/fragement@0 match with board >=3448-0000-100
[    0.380756] node /plugin-manager/fragment@1 match with board >=3448-0000-101
[    0.381671] node /plugin-manager/fragment@5 match with board 3449-0000-200
[    0.382100] node /plugin-manager/fragement@6 match with odm-data enable-tegra-wdt
[    0.382538] node /plugin-manager/fragement@8 match with odm-data enable-tegra-wdt
[    0.382871] node /plugin-manager/fragement@9 match with board <3448-0000-300
[    0.386223] NET: Registered protocol family 16
[    0.387515] pstore: using zlib compression
[    0.388171] console [pstore-1] enabled
[    0.388189] pstore: Registered ramoops as persistent store backend
[    0.388208] ramoops: attached 0x200000@0xb0000000, ecc: 0/0
[    0.397069] cpuidle: using governor menu
[    0.400715] tegra_smmu 70019000.iommu: Loaded Tegra IOMMU driver
[    0.402200] vdso: 2 pages (1 code @ ffffff8008f67000, 1 data @ ffffff8009e84000)
[    0.402245] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.405461] atomic_pool_init():622: DMA: preallocated 1024 KiB pool for atomic allocations
[    0.407789] tegra_powergate_init: DONE
[    0.407825] DTS File Name: ../arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-p3448-
0000-p3449-0000-a02.dts
[    0.407856] DTB Build time: Jul 24 2019 18:54:58
[    0.409391] Tegra reboot handler registered.
[    0.413701] iommu: Adding device tegra-carveouts to group 0
[    0.413869] platform tegra-carveouts: domain=ffffffc0f9be2318 allocates as[0]=ffffffc0f9bfc0a8
[    0.414252] iommu: Adding device smmu_test to group 1
[    0.414316] platform smmu_test: domain=ffffffc0f9be2558 allocates as[0]=ffffffc0f9bfc110
[    0.415132] mc: mapped MMIO address: 0xffffff800802e000 -> 0x70019000
[    0.415210] mc: mapped MMIO address: 0xffffff8008065000 -> 0x7001c000
[    0.415278] mc: mapped MMIO address: 0xffffff8008079000 -> 0x7001d000
[    0.415301] nv-tegra-mc 70019000.mc: No mssnvlink node
[    0.415336] mc-err: mcerr ops are set to t21x
[    0.424660] iommu: Adding device 70090000.xusb to group 2
[    0.425007] iommu: Adding device 70006000.serial to group 3
[    0.425113] platform 70006000.serial: domain=ffffffc0f945e618 allocates as[0]=ffffffc0f9bfc178
[    0.425569] iommu: Adding device 70006040.serial to group 4
[    0.425854] iommu: Adding device 70006200.serial to group 5
[    0.426082] iommu: Adding device sound to group 6
[    0.426150] platform sound: domain=ffffffc0f945eb58 allocates as[0]=ffffffc0f9bfc1e0
[    0.426713] iommu: Adding device 7000d400.spi to group 7
[    0.426985] iommu: Adding device 7000d600.spi to group 8
[    0.427279] iommu: Adding device 70410000.spi to group 9
[    0.427602] iommu: Adding device 50000000.host1x to group 10
[    0.427891] iommu: Adding device 54080000.vi to group 11
[    0.428297] iommu: Adding device 54600000.isp to group 12
[    0.428573] iommu: Adding device 54680000.isp to group 13
[    0.428896] iommu: Adding device tegradc.0 to group 14
[    0.429004] platform tegradc.0: domain=ffffffc0f947fa98 allocates as[0]=ffffffc0f9bfc248
[    0.429539] platform tegradc.0: IOVA linear map 0x00000000d7000000(19000000)
[    0.429885] iommu: Adding device tegradc.1 to group 15
[    0.429945] platform tegradc.1: domain=ffffffc0f947fcd8 allocates as[0]=ffffffc0f9bfc2b0
[    0.430472] platform tegradc.1: IOVA linear map 0x00000000d7000000(19000000)
[    0.430739] iommu: Adding device 54340000.vic to group 16
[    0.430975] iommu: Adding device 544c0000.nvenc to group 17
[    0.431188] iommu: Adding device 54500000.tsec to group 18
[    0.431406] iommu: Adding device 54100000.tsecb to group 19
[    0.431621] iommu: Adding device 54480000.nvdec to group 20
[    0.431850] iommu: Adding device 54380000.nvjpg to group 21
[    0.432929] iommu: Adding device 546c0000.i2c to group 22
[    0.433330] iommu: Adding device 57000000.gpu to group 23
[    0.433399] platform 57000000.gpu: domain=ffffffc0f948bcd8 allocates as[0]=ffffffc0f9bfc318
[    0.433457] platform 57000000.gpu: domain=ffffffc0f948bcd8 allocates as[1]=ffffffc0f9bfc380
[    0.433518] platform 57000000.gpu: domain=ffffffc0f948bcd8 allocates as[2]=ffffffc0f9bfc3e8
[    0.433575] platform 57000000.gpu: domain=ffffffc0f948bcd8 allocates as[3]=ffffffc0f9bfc450
[    0.434465] tegra-pmc 7000e400.pmc: i2c-thermtrip node not found, emergency thermal reset disabled.
[    0.434509] tegra-pmc 7000e400.pmc: scratch reg offset dts data not present
[    0.434535] tegra-pmc: ### PMC reset source: TEGRA_SOFTWARE_RESET
[    0.434557] tegra-pmc: ### PMC reset level: TEGRA_RESET_LEVEL_WARM
[    0.434573] tegra-pmc: ### PMC reset status reg: 0x3
[    0.485149] padctrl padctrl.0: Pad control driver tegra-pmc-padctrl registered
[    0.485187] tegra-pmc: Clear bootloader IO dpd settings
[    0.485221] tegra-pmc 7000e400.pmc: IO padctrl driver initialized
[    0.485304] tegra-pmc 7000e400.pmc: PMC: Successfully configure bootrom reset commands
[    0.485624] iommu: Adding device 70012000.se to group 24
[    0.486430] iommu: Adding device 7000c000.i2c to group 25
[    0.486701] iommu: Adding device 7000c400.i2c to group 26
[    0.486979] iommu: Adding device 7000c500.i2c to group 27
[    0.487247] iommu: Adding device 7000c700.i2c to group 28
[    0.487551] iommu: Adding device 7000d000.i2c to group 29
[    0.487814] iommu: Adding device 7000d100.i2c to group 30
[    0.488123] iommu: Adding device sdhci-tegra.0 to group 31
[    0.488191] platform sdhci-tegra.0: domain=ffffffc0f952ae58 allocates as[0]=ffffffc0f9bfc4b8
[    0.489078] iommu: Adding device 700d0000.xudc to group 32
[    0.492398] vdd-ac-bat: 5000 mV 
[    0.492774] vdd-5v0-sys: 5000 mV 
[    0.493750] vdd-5v0-hdmi: supplied by vdd-5v0-sys
[    0.493838] vdd-5v0-hdmi: 5000 mV 
[    0.494259] vdd-1v8-sys: 1800 mV 
[    0.494667] vdd-fan: supplied by vdd-5v0-sys
[    0.494718] vdd-fan: 5000 mV 
[    0.495125] vdd-usb-vbus: supplied by vdd-5v0-sys
[    0.495199] vdd-usb-vbus: 5000 mV 
[    0.495744] vdd-usb-vbus2: 5000 mV 
[    0.526755] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.530510] gpio gpiochip0: gpio-line-names specifies 240 line names but there are 256 lines on the chip
[    0.531681] GPIO line 151 (camera-control-output-low) hogged as output/low
[    0.532073] gpiochip_setup_dev: registered GPIOs 0 to 255 on device: gpiochip0 (tegra-gpio)
[    0.539848] eventlib_kernel: keventlib is initialized, test id: 0
[    0.540286] SCSI subsystem initialized
[    0.540795] usbcore: registered new interface driver usbfs
[    0.540866] usbcore: registered new interface driver hub
[    0.540953] usbcore: registered new device driver usb
[    0.544516] max77620 4-003c: PMIC Version OTP:0x35 and ES:0x8
[    0.549152] vdd-core: 600 <--> 1162 mV at 1075 mV 
[    0.550080] vdd-ddr-1v1: Bringing 1125000uV into 1150000-1150000uV
[    0.550170] random: fast init done
[    0.553063] vdd-ddr-1v1: 1150 mV 
[    0.557099] vdd-pre-reg-1v35: 1350 mV 
[    0.561064] vdd-1v8: 1800 mV 
[    0.565065] avdd-sys-1v2: 1200 mV 
[    0.569061] vdd-pex-1v0: 1050 mV 
[    0.569630] vddio-sdmmc-ap: 1800 <--> 3300 mV at 3300 mV 
[    0.570130] max77620-ldo3: at 3100 mV 
[    0.573064] vdd-rtc: 850 <--> 1100 mV at 1000 mV 
[    0.573605] max77620-ldo5: at 3100 mV 
[    0.574118] max77620-ldo6: at 2800 mV 
[    0.577060] avdd-1v05-pll: 1050 mV 
[    0.581061] avdd-io-hdmi-dp: 1050 mV 
[    0.582217] GPIO line 505 (spmic-default-output-high) hogged as output/high
[    0.582530] gpiochip_setup_dev: registered GPIOs 504 to 511 on device: gpiochip1 (max77620-gpio)
[    0.583891] max77620 4-003c: max77620 probe successful
[    0.586606] media: Linux media interface: v0.10
[    0.586682] Linux video capture interface: v2.00
[    0.587554] pps_core: LinuxPPS API ver. 1 registered
[    0.587581] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.587622] PTP clock support registered
[    0.591001] tegra_fiq_debugger_init: found FIQ source (IRQ 98)
[    0.597117] tegra210-emc 7001b000.external-memory-controller: validated EMC DFS table
[    0.598023] Advanced Linux Sound Architecture Driver Initialized.
[    0.598660] Bluetooth: Core ver 2.22
[    0.598720] NET: Registered protocol family 31
[    0.598738] Bluetooth: HCI device and connection manager initialized
[    0.598765] Bluetooth: HCI socket layer initialized
[    0.598786] Bluetooth: L2CAP socket layer initialized
[    0.598828] Bluetooth: SCO socket layer initialized
[    0.600533] tegra210_dvfs: no clock found for sdmmc2_ddr
[    0.600574] tegra210_dvfs: no clock found for sdmmc4_ddr
[    0.600643] tegra210_dvfs: no clock found for sdmmc1_ddr
[    0.600670] tegra210_dvfs: no clock found for sdmmc3_ddr
[    0.603340] tegra_dvfs: Unable to get vdd-cpu rail for step info, defering probe
[    0.604373] vdd-3v3-sys: supplied by vdd-5v0-sys
[    0.604461] vdd-3v3-sys: 3300 mV 
[    0.604737] vdd-1v8-sys: supplied by vdd-3v3-sys
[    0.609120] vdd-usb-vbus2: supplied by vdd-3v3-sys
[    0.609637] vdd-3v3-sd: supplied by vdd-3v3-sys
[    0.609688] vdd-3v3-sd: 3300 mV 
[    0.610616] avdd-io-edp-1v05: supplied by avdd-1v05-pll
[    0.610671] avdd-io-edp-1v05: 1050 mV 
[    0.611119] vdd-usb-hub-en: supplied by vdd-1v8-sys
[    0.611200] vdd-usb-hub-en: 5000 mV 
[    0.612600] camchar: rtcpu character device driver loaded
[    0.613410] extcon-gpio-states extcon:extcon@1: Cable state:1, cable id:1
[    0.614793] clocksource: Switched to clocksource arch_sys_counter
[    0.655241] VFS: Disk quotas dquot_6.6.0
[    0.655409] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.655906] nvmap_heap_init: nvmap_heap_init: created heap block cache
[    0.656328] dma_declare_coherent_resizable_cma_memory:324: resizable heap=vpr, base=0x00000000d7000000, size=0x19000000
[    0.656378]  dma-vpr: heap size is not multiple of cma_chunk_size heap_info->num_chunks (13) rem_chunk_size(0x1000000)
[    0.656605] cma: enabled page replacement for spfn=d7000, epfn=f0000
[    0.656627] dma_declare_coherent_resizable_cma_memory:373: resizable cma heap=vpr create successful
[    0.656654] tegra-carveouts tegra-carveouts: assigned reserved memory node vpr-carveout
[    0.656704] tegra-carveouts tegra-carveouts: iram :dma coherent mem declare 0x0000000040001000,258048
[    0.656731] tegra-carveouts tegra-carveouts: assigned reserved memory node iram-carveout
[    0.656763] nvmap: nvmap_select_cache_ops() nvmap cache ops set to set/ways
[    0.656786] nvmap_page_pool_init: Total RAM pages: 1011338
[    0.656804] nvmap_page_pool_init: nvmap page pool size: 126417 pages (493 MB)
[    0.657001] nvmap_background_zero_thread: PP zeroing thread starting.
[    0.657367] misc nvmap: created heap iram base 0x0000000040001000 size (252KiB)
[    0.658275] misc nvmap: created heap vpr base 0x00000000d7000000 size (409600KiB)
[    0.666406] thermal thermal_zone0: Registering thermal zone thermal_zone0 for type AO-therm
[    0.666849] thermal thermal_zone1: Registering thermal zone thermal_zone1 for type CPU-therm
[    0.667117] thermal thermal_zone2: Registering thermal zone thermal_zone2 for type GPU-therm
[    0.667372] thermal thermal_zone3: Registering thermal zone thermal_zone3 for type PLL-therm
[    0.667566] thermal thermal_zone4: Registering thermal zone thermal_zone4 for type PMIC-Die
[    0.667877] pre_t19x_iso_plat_init(): iso emc max clk=1600000KHz
[    0.667898] pre_t19x_iso_plat_init(): max_iso_bw=33280000KB
[    0.668343] NET: Registered protocol family 2
[    0.669407] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.669643] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.670153] TCP: Hash tables configured (established 32768 bind 32768)
[    0.670319] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.670415] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.670899] NET: Registered protocol family 1
[    0.671642] RPC: Registered named UNIX socket transport module.
[    0.671671] RPC: Registered udp transport module.
[    0.671689] RPC: Registered tcp transport module.
[    0.671707] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.671987] Trying to unpack rootfs image as initramfs...
[    0.916453] Freeing initrd memory: 5432K
[    0.925886] host1x 50000000.host1x: initialized
[    0.927763] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.931020] audit: initializing netlink subsys (disabled)
[    0.931138] audit: type=2000 audit(0.783:1): initialized
[    0.931905] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.941828] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.943386] ntfs: driver 2.1.32 [Flags: R/W].
[    0.944219] 9p: Installing v9fs 9p2000 file system support
[    0.947433] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 240)
[    0.947597] io scheduler noop registered
[    0.947908] io scheduler cfq registered (default)
[    0.950514] gic 702f9000.agic: GIC IRQ controller registered
[    0.953555] iommu: Adding device 702ef000.adsp to group 33
[    0.960320] iommu: Adding device aconnect@702c0000:adsp_audio to group 34
[    0.960508] tegra-aconnect aconnect@702c0000: Tegra ACONNECT bus registered
[    0.961071] tegra-xusb-padctl 7009f000.xusb_padctl: TEGRA_FUSE_SKU_CALIB_0 = 0x8208410
[    0.961107] tegra-xusb-padctl 7009f000.xusb_padctl: TEGRA_FUSE_USB_CALIB_EXT_0 = 0x4
[    0.962714] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.0, lane = usb2-0, function = xusb
[    0.962883] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.1, lane = usb2-1, function = xusb
[    0.963004] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.2, lane = usb2-2, function = xusb
[    0.963221] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.3, lane = pcie-0, function = pcie-x1
[    0.963338] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.4, lane = pcie-1, function = pcie-x4
[    0.963469] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.5, lane = pcie-2, function = pcie-x4
[    0.963588] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.6, lane = pcie-3, function = pcie-x4
[    0.963697] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.7, lane = pcie-4, function = pcie-x4
[    0.963800] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.8, lane = pcie-5, function = xusb
[    0.963908] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.9, lane = pcie-6, function = xusb
[    0.969936] tegra-pwm 7000a000.pwm: PWM clk cannot sleep in ops
[    0.971662] tegra-dfll-pwm 70110000.pwm: DFLL pwm-rate: 12800000
[    0.973492] tegra-pcie 1003000.pcie: 4x1, 1x1 configuration
[    0.974827] tegra-pcie 1003000.pcie: PCIE: Enable power rails
[    0.975187] tegra-pcie 1003000.pcie: probing port 0, using 4 lanes
[    0.976357] tegra_camera_platform tegra-camera-platform: tegra_camera_probe:camera_platform_driver probe
[    0.976607] misc tegra_camera_ctrl: tegra_camera_isomgr_register isp_iso_bw=1500000, vi_iso_bw=750000, max_bw=1500000
[    0.976865] Adding domain tsec-pd to PM domain host1x-pd
[    0.978837] tegra-pcie 1003000.pcie: probing port 1, using 1 lanes
[    0.979728] tsec 54500000.tsec: initialized
[    0.981282] tsec 54100000.tsecb: initialized
[    0.981955] Adding domain nvdec-pd to PM domain host1x-pd
[    0.985010] nvdec 54480000.nvdec: initialized
[    0.986052] Adding domain vic03-pd to PM domain host1x-pd
[    0.986257] Adding domain msenc-pd to PM domain host1x-pd
[    0.986435] Adding domain nvjpg-pd to PM domain host1x-pd
[    0.990061] falcon 54340000.vic: initialized
[    0.991419] falcon 544c0000.nvenc: initialized
[    0.992786] falcon 54380000.nvjpg: initialized
[    0.997257] tegradc tegradc.0: disp0 connected to head0->/host1x/sor1
[    0.997418] display board info: id 0x0, fab 0x0
[    0.997493] generic_infoframe_type: 0x87
[    0.997639] tegradc tegradc.0: DT parsed successfully
[    0.997695] tegradc tegradc.0: Display dc.ffffff800ab80000 registered with id=0
[    1.001294] tegradc tegradc.0: probed
[    1.004921] tegra-apbdma 60020000.dma: Tegra20 APB DMA driver register 32 channels
[    1.009422] tegra-adma 702e2000.adma: Tegra210 ADMA driver registered 10 channels
[    1.010610] tegra-fuse-burn 7000f800.efuse:efuse-burn: Fuse burn driver initialized
[    1.011095] kfuse 7000fc00.kfuse: initialized
[    1.012603] tegra-pmc-iopower pmc-iopower: Regulator supply iopower-dbg-supply not available
[    1.013583] tegra-pmc-iopower pmc-iopower: NO_IOPOWER setting 0x0
[    1.015013] tegra-dfll-pwm 70110000.pwm: DFLL_PWM regulator is available now
[    1.015052] vdd-cpu: 708 <--> 1322 mV at 708 mV 
[    1.015558] pwm-regulator pwm_regulators:pwm-regulator@0: PWM regulator registration passed
[    1.016853] vdd-gpu: applied init 1000000uV constraint
[    1.016882] vdd-gpu: 708 <--> 1323 mV at 997 mV 
[    1.017276] pwm-regulator pwm_regulators:pwm-regulator@1: PWM regulator registration passed
[    1.021960] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.022090] No Device Node present for smmu client: serial8250 !!
[    1.022116] platform serial8250: No iommus property found in DT node, got swgids from fixup(101004000)
[    1.022180] iommu: Adding device serial8250 to group 35
[    1.024491] console [ttyS0] disabled
[    1.024586] 70006000.serial: ttyS0 at MMIO 0x70006000 (irq = 63, base_baud = 25500000) is a Tegra
[    1.487299] tegra-pcie 1003000.pcie: link 0 down, retrying
[    1.891687] tegra-pcie 1003000.pcie: link 0 down, retrying
[    2.296061] tegra-pcie 1003000.pcie: link 0 down, retrying
[    2.298079] tegra-pcie 1003000.pcie: link 0 down, ignoring
[    2.404248] tegra-pcie 1003000.pcie: PCI host bridge to bus 0000:00
[    2.404258] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    2.404262] pci_bus 0000:00: root bus resource [mem 0x13000000-0x1fffffff]
[    2.404267] pci_bus 0000:00: root bus resource [mem 0x20000000-0x3fffffff pref]
[    2.404273] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.404658] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.414947] pci 0000:00:02.0: BAR 14: assigned [mem 0x13000000-0x130fffff]
[    2.414952] pci 0000:00:02.0: BAR 13: assigned [io  0x1000-0x1fff]
[    2.414962] pci 0000:01:00.0: BAR 4: assigned [mem 0x13000000-0x13003fff 64bit]
[    2.414983] pci 0000:01:00.0: BAR 2: assigned [mem 0x13004000-0x13004fff 64bit]
[    2.415001] pci 0000:01:00.0: BAR 0: assigned [io  0x1000-0x10ff]
[    2.415012] pci 0000:00:02.0: PCI bridge to [bus 01]
[    2.415019] pci 0000:00:02.0:   bridge window [io  0x1000-0x1fff]
[    2.415025] pci 0000:00:02.0:   bridge window [mem 0x13000000-0x130fffff]
[    2.415419] pcieport 0000:00:02.0: Signaling PME through PCIe PME interrupt
[    2.415423] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[    3.368692] console [ttyS0] enabled
[    3.369050] Console: switching to colour frame buffer device 80x30
[    3.372001] 70006040.serial: ttyTHS1 at MMIO 0x70006040 (irq = 64, base_baud = 0) is a TEGRA_UART
[    3.372305] serial-tegra 70006200.serial: RX in PIO mode
[    3.372391] 70006200.serial: ttyTHS2 at MMIO 0x70006200 (irq = 65, base_baud = 0) is a TEGRA_UART
[    3.373325] [drm] Initialized
[    3.401569] brd: module loaded
[    3.409284] tegradc tegradc.0: fb registered
[    3.411761] loop: module loaded
[    3.411860] tegra_profiler: version: 1.134, samples/io: 47/26
[    3.411967] tegra_profiler: auth: init
[    3.413275] THERMAL EST: found 2 subdevs
[    3.413282] THERMAL EST num_resources: 0
[    3.413287] [THERMAL EST subdev 0]
[    3.413293] [THERMAL EST subdev 1]
[    3.413730] thermal thermal_zone5: Registering thermal zone thermal_zone5 for type thermal-fan-est
[    3.413732] THERMAL EST: thz register success.
[    3.413899] THERMAL EST: end of probe, return err: 0
[    3.415053] hisi_sas: driver version v1.6
[    3.419550] tegra-qspi 70410000.spi: Prod settings list not found
[    3.423344] qspi_mtd spi32766.0: MX25U3235F (4096 Kbytes)
[    3.423352] qspi_mtd spi32766.0: mtd .name = spi32766.0, .size = 0x400000 (4MiB) .erasesize = 0x00001000 (4KiB) .numeraseregions 
= 0
[    3.432077] libphy: Fixed MDIO Bus: probed
[    3.432645] tun: Universal TUN/TAP device driver, 1.6
[    3.432648] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    3.433686] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    3.433689] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    3.433750] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    3.433752] igb: Copyright (c) 2007-2014 Intel Corporation.
[    3.433799] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    3.433800] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    3.433851] Intel(R) 10GbE PCI Express Linux Network Driver - version 4.6.4
[    3.433854] Copyright(c) 1999 - 2017 Intel Corporation.
[    3.434718] r8168 0000:01:00.0: enabling device (0000 -> 0003)
[    3.434748] r8168 Gigabit Ethernet driver 8.045.08-NAPI loaded
[    3.448968] r8168 0000:01:00.0 (unnamed net_device) (uninitialized): Invalid ethernet address 00:00:00:00:00:00, trying device tr
ee node
[    3.449148] r8168 0000:01:00.0 (unnamed net_device) (uninitialized): Found valid ethernet address 00:04:4b:e3:fa:1a from device t
ree
[    3.449751] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[    3.449815] r8168  Copyright (C) 2017  Realtek NIC software team <nicfae@realtek.com> 
[    3.449815]  This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>. 
[    3.449815]  This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/lice
nses/>. 
[    3.450396] PPP generic driver version 2.4.2
[    3.450614] PPP BSD Compression module registered
[    3.450619] PPP Deflate Compression module registered
[    3.450659] PPP MPPE Compression module registered
[    3.450665] NET: Registered protocol family 24
[    3.450738] usbcore: registered new interface driver r8152
[    3.450816] usbcore: registered new interface driver asix
[    3.450887] usbcore: registered new interface driver ax88179_178a
[    3.450931] usbcore: registered new interface driver cdc_ether
[    3.450993] usbcore: registered new interface driver net1080
[    3.451036] usbcore: registered new interface driver cdc_subset
[    3.451076] usbcore: registered new interface driver zaurus
[    3.451129] usbcore: registered new interface driver cdc_ncm
[    3.451330] VFIO - User Level meta-driver version: 0.3
[    3.452649] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.452674] ehci-pci: EHCI PCI platform driver
[    3.452723] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.452734] ohci-pci: OHCI PCI platform driver
[    3.452775] ohci-platform: OHCI generic platform driver
[    3.455365] tegra-xusb 70090000.xusb: USB2 port 0 has OTG_CAP
[    3.455953] tegra-xusb-padctl 7009f000.xusb_padctl: enabled OTG on UTMI pad 0
[    3.457116] tegra-xusb 70090000.xusb: extcon 0: ffffffc0f962b800 id
[    3.459846] usbcore: registered new interface driver uas
[    3.459912] usbcore: registered new interface driver usb-storage
[    3.459955] tegra-xusb 70090000.xusb: Firmware timestamp: 2019-05-08 09:42:10 UTC, Version: 50.22 release
[    3.460024] tegra-xusb 70090000.xusb: xHCI Host Controller
[    3.460051] tegra-xusb 70090000.xusb: new USB bus registered, assigned bus number 1
[    3.460969] tegra-xusb 70090000.xusb: hcc params 0x0184f525 hci version 0x100 quirks 0x00050010
[    3.461032] tegra-xusb 70090000.xusb: irq 61, io mem 0x70090000
[    3.461226] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.461231] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.461235] usb usb1: Product: xHCI Host Controller
[    3.461239] usb usb1: Manufacturer: Linux 4.9.140+ xhci-hcd
[    3.461243] usb usb1: SerialNumber: 70090000.xusb
[    3.461844] hub 1-0:1.0: USB hub found
[    3.461883] hub 1-0:1.0: 5 ports detected
[    3.462449] tegra-xusb 70090000.xusb: xHCI Host Controller
[    3.462461] tegra-xusb 70090000.xusb: new USB bus registered, assigned bus number 2
[    3.462546] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.462642] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    3.462647] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.462651] usb usb2: Product: xHCI Host Controller
[    3.462655] usb usb2: Manufacturer: Linux 4.9.140+ xhci-hcd
[    3.462659] usb usb2: SerialNumber: 70090000.xusb
[    3.462838] usbcore: registered new interface driver usbserial
[    3.463209] hub 2-0:1.0: USB hub found
[    3.463238] hub 2-0:1.0: 4 ports detected
[    3.466296] tegra-xudc-new 700d0000.xudc: device count: 1
[    3.467787] tegra-xudc-new 700d0000.xudc: USB charger detection disabled
[    3.467801] tegra-xudc-new 700d0000.xudc: vbus state: 1
[    3.467815] tegra-xudc-new 700d0000.xudc: device mode on: 0
[    3.467842] tegra-xusb-padctl 7009f000.xusb_padctl: power on UTMI pads 0
[    3.467864] tegra-xudc-new 700d0000.xudc: active: 0 => 1
[    3.468499] mousedev: PS/2 mouse device common for all mice
[    3.468616] usbcore: registered new interface driver xpad
[    3.566887] tegra-xusb-padctl 7009f000.xusb_padctl: power on UTMI pads 1
[    3.716944] max77686-rtc max77620-rtc: rtc core: registered max77620-rtc as rtc0
[    3.729574] rtc rtc1: alarm rtc device
[    3.729592] tegra_rtc 7000e000.rtc: rtc core: registered 7000e000.rtc as rtc1
[    3.729622] tegra_rtc 7000e000.rtc: Tegra internal Real Time Clock
[    3.730169] i2c /dev entries driver
[    3.732028] ov5647 6-0036: tegracam sensor driver:ov5647_v2.0.6
[    3.790815] usb 1-2: new high-speed USB device number 2 using tegra-xusb
[    3.794649] ov5647 6-0036: Found ov5647 with model id:5647 process:11 version:1
[    3.819603] max77620-power max77620-power: Event recorder REG_NVERC : 0x0
[    3.860066] tegra_soctherm 700e2000.soctherm: pllx_offset tz:0 max:14, min:2
[    3.860071] tegra_soctherm 700e2000.soctherm: pllx_offset tz:2 max:8, min:4
[    3.860529] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    3.860544] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when cpu reaches 102500 mC
[    3.860552] tegra_soctherm 700e2000.soctherm: throttrip: will throttle when cpu reaches 100500 mC
[    3.860682] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    3.860691] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when gpu reaches 103000 mC
[    3.860697] tegra_soctherm 700e2000.soctherm: throttrip: will throttle when gpu reaches 101000 mC
[    3.860839] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    3.860848] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when pll reaches 127000 mC
[    3.860853] tegra_soctherm 700e2000.soctherm: throttrip: pll: missing hot temperature
[    3.861053] tegra_soctherm 700e2000.soctherm: failed to register sensor: -19
[    3.861884] tegra_aotag tegra-aotag: Registering sensor 0
[    3.861939] tegra_aotag tegra-aotag: Invalid temp readout
[    3.861964] tegra_aotag tegra-aotag: Invalid temp readout
[    3.861981] tegra_aotag tegra-aotag: Bound to TZ : ID 0
[    3.861990] tegra_aotag tegra-aotag: Probe done [SUCCESS]:0
[    3.862850] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    3.862870] tegra_dfll_action dfll-cdev-cap: Tegra DFLL 'cap cooling device' registered
[    3.863068] tegra_aotag tegra-aotag: Invalid temp readout
[    3.863097] tegra_dfll_action dfll-cdev-floor: Tegra DFLL 'floor cooling device' registered
[    3.863469] parse_throttle_dt_data: Num cap clks = 6
[    3.863474] parse_throttle_dt_data: clk=cclk_g type=2
[    3.863487] parse_throttle_dt_data: clk=gpu type=4
[    3.863512] parse_throttle_dt_data: clk=cap.throttle.c2bus type=0
[    3.863530] parse_throttle_dt_data: clk=cap.throttle.c3bus type=0
[    3.863549] parse_throttle_dt_data: clk=cap.throttle.sclk type=0
[    3.863552] parse_throttle_dt_data: clk=emc type=3
[    3.866137] usb 1-2: New USB device found, idVendor=0bda, idProduct=5411
[    3.866144] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.866152] usb 1-2: Product: 4-Port USB 2.1 Hub
[    3.866155] usb 1-2: Manufacturer: Generic
[    3.866295] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    3.866415] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    3.866545] tegra_throttle_probe: probe successful. #cdevs=4
[    3.867424] FAN dev name: pwm-fan
[    3.867481] FAN:gpio request success.
[    3.867558] pwm_fan_driver pwm-fan: cap state:7, cap pwm:255
[    3.867864] pwm_fan_driver pwm-fan: got pwm for fan. polarity is normal
[    3.868230] pwm_fan_driver pwm-fan: fan tach request irq success
[    3.868240] pwm_fan_driver pwm-fan: tach period: 1000
[    3.868340] pwm_fan_driver pwm-fan: index 0: pwm=0, rpm=0, rru=40, rrd=40, state:2
[    3.868345] pwm_fan_driver pwm-fan: index 1: pwm=80, rpm=1000, rru=2, rrd=2, state:2
[    3.868350] pwm_fan_driver pwm-fan: index 2: pwm=120, rpm=2000, rru=1, rrd=1, state:2
[    3.868354] pwm_fan_driver pwm-fan: index 3: pwm=160, rpm=3000, rru=1, rrd=1, state:2
[    3.868359] pwm_fan_driver pwm-fan: index 4: pwm=255, rpm=4000, rru=1, rrd=1, state:3
[    3.868363] pwm_fan_driver pwm-fan: index 5: pwm=255, rpm=5000, rru=1, rrd=1, state:3
[    3.868367] pwm_fan_driver pwm-fan: index 6: pwm=255, rpm=6000, rru=1, rrd=1, state:3
[    3.868372] pwm_fan_driver pwm-fan: index 7: pwm=255, rpm=7000, rru=1, rrd=1, state:4
[    3.868376] pwm_fan_driver pwm-fan: index 8: pwm=255, rpm=10000, rru=1, rrd=1, state:4
[    3.868381] pwm_fan_driver pwm-fan: index 9: pwm=255, rpm=11000, rru=1, rrd=1, state:4
[    3.869061] tegra-wdt 60005100.watchdog: Tegra WDT enabled on probe. Timeout = 120 seconds.
[    3.869378] tegra-wdt 60005100.watchdog: initialized (timeout = 120 sec, nowayout = 1)
[    3.870234] device-mapper: uevent: version 1.0.3
[    3.870838] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[    3.876109] tegra210-cpufreq cpufreq: probe()...completed
[    3.876943] sdhci: Secure Digital Host Controller Interface driver
[    3.876944] sdhci: Copyright(c) Pierre Ossman
[    3.876946] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.877427] sdhci-tegra sdhci-tegra.0: Got CD GPIO
[    3.877788] sdhci-tegra sdhci-tegra.0: Client registration for eMC Successful
[    3.877911] sdhci-tegra sdhci-tegra.0: wakeup init done, cdirq 300
[    3.878488] hub 1-2:1.0: USB hub found
[    3.882605] tegra-se 70012000.se: tegra_se_probe: complete
[    3.883145] hidraw: raw HID events driver (C) Jiri Kosina
[    3.884359] usbcore: registered new interface driver usbhid
[    3.884361] usbhid: USB HID core driver
[    3.884475] hub 1-2:1.0: 4 ports detected
[    3.903612] tegra21x_actmon 6000c800.actmon: in actmon_register()...
[    3.903832] tegra21x_actmon 6000c800.actmon: initialization Completed for the device mc_all
[    3.905528] nvpmodel: initialized successfully
[    3.906746] usbcore: registered new interface driver snd-usb-audio
[    3.906824] No Device Node present for smmu client: snd-soc-dummy !!
[    3.906829] platform snd-soc-dummy: No iommus property found in DT node, got swgids from fixup(101004000)
[    3.906847] iommu: Adding device snd-soc-dummy to group 36
[    3.934886] mmc0: SDHCI controller on sdhci-tegra.0 [sdhci-tegra.0] using ADMA 64-bit with 64 bit addr
[    3.935254] OPE platform probe
[    3.935346] OPE platform probe successful
[    3.935727] OPE platform probe
[    3.935808] OPE platform probe successful
[    3.960311] tegra-asoc: sound: ADMAIF1 <-> ADMAIF1 mapping ok
[    3.960441] tegra-asoc: sound: ADMAIF2 <-> ADMAIF2 mapping ok
[    3.960566] tegra-asoc: sound: ADMAIF3 <-> ADMAIF3 mapping ok
[    3.960688] tegra-asoc: sound: ADMAIF4 <-> ADMAIF4 mapping ok
[    3.960811] tegra-asoc: sound: ADMAIF5 <-> ADMAIF5 mapping ok
[    3.960935] tegra-asoc: sound: ADMAIF6 <-> ADMAIF6 mapping ok
[    3.961054] tegra-asoc: sound: ADMAIF7 <-> ADMAIF7 mapping ok
[    3.961188] tegra-asoc: sound: ADMAIF8 <-> ADMAIF8 mapping ok
[    3.961307] tegra-asoc: sound: ADMAIF9 <-> ADMAIF9 mapping ok
[    3.961429] tegra-asoc: sound: ADMAIF10 <-> ADMAIF10 mapping ok
[    3.973082] u32 classifier
[    3.973084]     Actions configured
[    3.973160] Initializing XFRM netlink socket
[    3.973894] NET: Registered protocol family 10
[    3.974593] NET: Registered protocol family 17
[    3.974604] NET: Registered protocol family 15
[    3.974679] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if
 you need this.
[    3.974722] Bluetooth: RFCOMM socket layer initialized
[    3.974732] Bluetooth: RFCOMM ver 1.11
[    3.974736] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.974740] Bluetooth: HIDP socket layer initialized
[    3.974759] 9pnet: Installing 9P2000 support
[    3.974821] Key type dns_resolver registered
[    3.979878] Registered cp15_barrier emulation handler
[    3.979889] Registered setend emulation handler
[    3.980920] registered taskstats version 1
[    3.981481] Adding domain ve2-pd to PM domain host1x-pd
[    3.981724] Adding domain ve-pd to PM domain host1x-pd
[    4.080194] input: tegra-hda HDMI/DP,pcm=3 as /devices/70030000.hda/sound/card0/input0
[    4.310842] usb 1-2.1: new low-speed USB device number 3 using tegra-xusb
[    4.380226] usb 1-2.1: New USB device found, idVendor=413c, idProduct=3016
[    4.380230] usb 1-2.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[    4.380233] usb 1-2.1: Product: Dell Premium USB Optical Mouse
[    4.405469] input: Dell Premium USB Optical Mouse as /devices/70090000.xusb/usb1/1-2/1-2.1/1-2.1:1.0/0003:413C:3016.0001/input/in
put1
[    4.405765] hid-generic 0003:413C:3016.0001: input,hidraw0: USB HID v1.11 Mouse [Dell Premium USB Optical Mouse] on usb-70090000.
xusb-2.1/input0
[    4.518885] usb 1-2.2: new low-speed USB device number 4 using tegra-xusb
[    4.577761] usb 1-2.2: New USB device found, idVendor=413c, idProduct=2107
[    4.577764] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.577767] usb 1-2.2: Product: Dell USB Entry Keyboard
[    4.577769] usb 1-2.2: Manufacturer: Dell
[    4.596123] input: Dell Dell USB Entry Keyboard as /devices/70090000.xusb/usb1/1-2/1-2.2/1-2.2:1.0/0003:413C:2107.0002/input/inpu
t2
[    4.655189] hid-generic 0003:413C:2107.0002: input,hidraw1: USB HID v1.10 Keyboard [Dell Dell USB Entry Keyboard] on usb-70090000
.xusb-2.2/input0
[    4.794016] tegradc tegradc.1: disp1 connected to head1->/host1x/sor
[    4.800431] tegradc tegradc.1: No lt-data, using default setting
[    4.806466] tegradc tegradc.1: No hpd-gpio in DT
[    4.811110] tegradc tegradc.1: DT parsed successfully
[    4.816191] tegradc tegradc.1: Display dc.ffffff800d500000 registered with id=1
[    4.824196] tegradc tegradc.1: dpd enable lookup fail:-19
[    5.335189] Host read timeout at address 545c00c4
[    5.340967] tegradc tegradc.1: probed
[    5.352824] tegradc tegradc.1: fb registered
[    5.371243] tegradc tegradc.1: nominal-pclk:119000000 parent:118998632 div:1.0 pclk:118998632 117810000~129710000
[    5.385429] tegradc tegradc.1: tegra_dp_get_bpp: vmode=0x10200000 did not specify bpp
[    5.397067] tegradc tegradc.1: DP: no prod_c_hbr prod settings node in device tree
[    5.410491] dp lt: state 0 (Reset), pending_lt_evt 1
[    5.415471] dp lt: switching from state 0 (Reset) to state 0 (Reset)
[    5.421833] dp lt: state 0 (Reset), pending_lt_evt 0
[    5.428618] tegradc tegradc.1: DP: no prod_c_hbr prod settings node in device tree
[    5.429166] mmc0: hw tuning done ...
[    5.429199] mmc0: new ultra high speed SDR104 SDXC card at address 59b4
[    5.433703] mmcblk0: mmc0:59b4 USDU1 58.9 GiB 
[    5.451030] dp lt: switching from state 0 (Reset) to state 2 (clock recovery)
[    5.458198] dp lt: state 2 (clock recovery), pending_lt_evt 0
[    5.464454] dp lt: config: lane 0: vs level: 0, pe level: 0, pc2 level: 0
[    5.471283] dp lt: config: lane 1: vs level: 0, pe level: 0, pc2 level: 0
[    5.478113] dp lt: tx_pu: 0x20
[    5.482152]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12
[    5.482519] dp lt: CR done
[    5.482521] dp lt: switching from state 2 (clock recovery) to state 3 (channel equalization)
[    5.482525] dp lt: state 3 (channel equalization), pending_lt_evt 0
[    5.485475] dp lt: CE done
[    5.485478] dp lt: switching from state 3 (channel equalization) to state 5 (link training pass)
[    5.485621] hpd: state 7 (Takeover from bootloader), hpd 1, pending_hpd_evt 1
[    5.485623] hpd: switching from state 7 (Takeover from bootloader) to state 1 (Check Plug)
[    5.486730] isp 54600000.isp: initialized
[    5.487653] isp 54680000.isp: initialized
[    5.497877] last reset is due to software reset
[    5.497880] KERNEL: PMC reset status reg: 0x3
[    5.497955] BL: PMC reset status reg: 0x3
[    5.497957] BL: PMIC poweroff Event Recorder: 0x0
[    5.499536] clk_cbus_recalc_rate: no gbus parent
[    5.499540] clk_cbus_round_rate: no gbus parent
[    5.499542] clk_cbus_round_rate: no gbus parent
[    5.499548] clk_cbus_recalc_rate: no gbus parent
[    5.499647] clk_cbus_recalc_rate: no gbus parent
[    5.499650] clk_cbus_round_rate: no gbus parent
[    5.499651] clk_cbus_round_rate: no gbus parent
[    5.499654] clk_cbus_recalc_rate: no gbus parent
[    5.499668] tegra_dvfs: GPU-cap: registered
[    5.499730] tegra dvfs: vdd-cpu: nominal 1168mV, offset 708000uV, step 19200uV, scaling enabled
[    5.499733] tegra dvfs: vdd-core: nominal 1075mV, offset 600000uV, step 12500uV, scaling enabled
[    5.499735] tegra dvfs: vdd-gpu: nominal 1048mV, offset 708000uV, step 10000uV, scaling enabled
[    5.501145] tegra_dvfs: vdd-gpu-vts: registered
[    5.501835] tegra_core_action core_dvfs_cdev_floor: Tegra CORE DVFS 'floor cooling device' registered
[    5.502440] tegra_core_action core_dvfs_cdev_cap: Tegra CORE DVFS 'cap cooling device' registered
[    5.509099] input: gpio-keys as /devices/gpio-keys/input/input3
[    5.540126] tegra_rtc 7000e000.rtc: setting system clock to 2019-07-24 17:59:40 UTC (1563991180)
[    5.541020] vi 54080000.vi: vi_probe: ++
[    5.543474] vi 54080000.vi: initialized
[    5.545452] vi 54080000.vi: subdev nvcsi--1 bound
[    5.545465] vi 54080000.vi: subdev ov5647 6-0036 bound
[    5.545686] Unable to handle kernel read from unreadable memory at virtual address 00000000
[    5.545687] Mem abort info:
[    5.545688]   ESR = 0x96000005
[    5.545690]   Exception class = DABT (current EL), IL = 32 bits
[    5.545692]   SET = 0, FnV = 0
[    5.545693]   EA = 0, S1PTW = 0
[    5.545695] Data abort info:
[    5.545696]   ISV = 0, ISS = 0x00000005
[    5.545697]   CM = 0, WnR = 0
[    5.545699] [0000000000000000] user address but active_mm is swapper
[    5.545702] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[    5.545706] Modules linked in:
[    5.545711] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.9.140+ #4
[    5.545712] Hardware name: NVIDIA Jetson Nano Developer Kit (DT)
[    5.545714] task: ffffffc0fa6f0000 task.stack: ffffffc0fa66c000
[    5.545723] PC is at camera_common_g_fmt+0x44/0xc8
[    5.545726] LR is at camera_common_g_fmt+0x30/0xc8
[    5.545728] pc : [<ffffff8008b3b154>] lr : [<ffffff8008b3b140>] pstate: 40400045
[    5.545729] sp : ffffffc0fa66f740
[    5.545733] x29: ffffffc0fa66f740 x28: ffffff8009844548 
[    5.545737] x27: 0000000000000002 x26: ffffffc0f4ccd518 
[    5.545740] x25: 0000000000000038 x24: 0000000000000001 
[    5.545743] x23: ffffffc0f5006050 x22: ffffffc0f5006050 
[    5.545746] x21: ffffffc0f5006018 x20: 0000000000000000 
[    5.545749] x19: ffffffc0fa66f810 x18: 0000000000000001 
[    5.545752] x17: 0000000000000002 x16: 0000000000000000 
[    5.545755] x15: ffffffffffffffff x14: ffffffc0fa66f740 
[    5.545758] x13: ffffffc0fa66f645 x12: ffffffc0f5006190 
[    5.545761] x11: ffffffc0fa66f600 x10: ffffffc0fa66f600 
[    5.545763] x9 : 0000000000000002 x8 : 0000000000000002 
[    5.545766] x7 : ffffff8008fb6d48 x6 : 0000000000000090 
[    5.545769] x5 : 000000000000008d x4 : 0000000000000001 
[    5.545772] x3 : 0000000000000000 x2 : 0000000000000000 
[    5.545774] x1 : ffffffc0fa6f0000 x0 : 0000000000000004 
[    5.545775] 
[    5.545778] Process swapper/0 (pid: 1, stack limit = 0xffffffc0fa66c000)
[    5.545779] Call trace:
[    5.545784] [<ffffff8008b3b154>] camera_common_g_fmt+0x44/0xc8
[    5.545788] [<ffffff8008b3f860>] v4l2sd_get_fmt+0x28/0x38
[    5.545793] [<ffffff8008b297b4>] tegra_channel_fmts_bitmap_init+0x13c/0x268
[    5.545796] [<ffffff8008b2b9fc>] tegra_channel_init_subdevices+0x17c/0x7a8
[    5.545799] [<ffffff8008b2cb90>] tegra_vi_graph_notify_complete+0x328/0x6d8
[    5.545802] [<ffffff8008b105c4>] v4l2_async_test_notify+0x104/0x120
[    5.545804] [<ffffff8008b10708>] v4l2_async_notifier_register+0x128/0x198
[    5.545807] [<ffffff8008b2da28>] tegra_vi_graph_init+0x228/0x278
[    5.545810] [<ffffff8008b27940>] tegra_vi_media_controller_init+0x1d0/0x208
[    5.545814] [<ffffff8008b465a0>] vi_probe+0x378/0x520
[    5.545819] [<ffffff800876f3c0>] platform_drv_probe+0x60/0xc0
[    5.545823] [<ffffff800876ca40>] driver_probe_device+0xd8/0x408
[    5.545826] [<ffffff800876ce4c>] __driver_attach+0xdc/0x128
[    5.545828] [<ffffff800876a4bc>] bus_for_each_dev+0x5c/0xa8
[    5.545831] [<ffffff800876c240>] driver_attach+0x30/0x40
[    5.545834] [<ffffff800876bc74>] bus_add_driver+0x20c/0x2a8
[    5.545837] [<ffffff800876dd84>] driver_register+0x6c/0x110
[    5.545840] [<ffffff800876f2fc>] __platform_driver_register+0x5c/0x68
[    5.545845] [<ffffff8009668b0c>] vi_init+0x2c/0x38
[    5.545849] [<ffffff8008083afc>] do_one_initcall+0x44/0x130
[    5.545853] [<ffffff8009620d18>] kernel_init_freeable+0x1a0/0x244
[    5.545857] [<ffffff8008f461f0>] kernel_init+0x18/0x108
[    5.545859] [<ffffff8008083850>] ret_from_fork+0x10/0x40
[    5.545865] ---[ end trace 27265f3a83e702ae ]---
[    5.551705] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    5.551705] 
[    5.551708] SMP: stopping secondary CPUs
[    5.553018] Kernel Offset: disabled
[    5.553019] Memory Limit: none
[    6.023677] Rebooting in 5 seconds..
[0000.161] [TegraBoot] (version 00.00.2018.01-l4t-89b97a49)
[0000.166] Processing in cold boot mode Bootloader 2
[0000.170] A02 Bootrom Patch rev = 1023
[0000.174] Power-up reason: software reset
[0000.178] No Battery Present
[0000.180] pmic max77620 reset reason

hello jas-mx,

it seems you got panic during kernel init, this shouldn’t related to configure as different pixel format types.
could you please share your device tree for checking,
thanks

[    5.545465] vi 54080000.vi: subdev ov5647 6-0036 bound
[    5.545686] Unable to handle kernel read from unreadable memory at virtual address 00000000
[    5.545687] Mem abort info:
[    5.545688]   ESR = 0x96000005
[    5.545690]   Exception class = DABT (current EL), IL = 32 bits
[    5.545692]   SET = 0, FnV = 0
[    5.545693]   EA = 0, S1PTW = 0
[    5.545695] Data abort info:
[    5.545696]   ISV = 0, ISS = 0x00000005
[    5.545697]   CM = 0, WnR = 0
[    5.545699] [0000000000000000] user address but active_mm is swapper
[    5.545702] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[    5.545706] Modules linked in:
[    5.545711] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.9.140+ #4
[    5.545712] Hardware name: NVIDIA Jetson Nano Developer Kit (DT)

Hi jas-mx,

Have you managed to resolve the problem?
If not, could you share your device tree for checking?

Thanks

Hi yes I got this working again. My original questions still stands though, which was is why the docs still mention support for GBRG10 when clearly the kernel doesn’t have support for it by default? Either fix the kernel code or update the docs.

hello jas-mx,

we’re finish the code-review progress to update kernel driver for adding V4L2_PIX_FMT_SGBRG10 format supports.
please expect next public release (i.e. l4t-r32.3) will include this kernel change.
thanks

Hi jas-mx,

Can you share how you solve the problem for kernel panic? I got similar problem.

thanks