GPIO trouble PY6 & PS3

Hi All,

I’m having difficulty getting the following pins working on my TX2.

Ball: A22 - GPIO3_PY.06
Ball: B23 - GPIO3_PS.03

When I export GPIO486 (PY6) and set it to input and read its value it always replies 0 despite the fact that I’m measuring 1.8V on the pin - also forcing the pin to 0V still yields a 0 response.

The AON cluster (I think) has an offset of 256 hence PS.03 should be gpio259 - but exporting this pin and reading it also yields 0 regardless of the physical pin being high or low.

Any suggestions?

DTS as follows:

gpio@2200000 {
compatible = “nvidia,tegra186-gpio”;
reg-names = “security”, “gpio”;
gpio-controller;
gpio-ranges = <0x9d 0x0 0x0 0x90 0x9d 0x90 0x98 0x8 0x9d 0x98 0xb8 0x10 0x9d 0xa8 0xd8 0x18>;
status = “okay”;
#interrupt-cells = <0x2>;
interrupts = <0x0 0x2f 0x4 0x0 0x32 0x4 0x0 0x35 0x4 0x0 0x38 0x4 0x0 0x3b 0x4 0x0 0xb4 0x4>;
phandle = <0x1b>;
reg = <0x0 0x2200000 0x0 0x10000 0x0 0x2210000 0x0 0x10000>;
#gpio-cells = <0x2>;
linux,phandle = <0x1b>;
interrupt-controller;

fan-alert-py6 {
		gpios = <0xa6 0x1>;
		gpio-hog;
		line-name = "fan-alert-py6";
		input;
	};

gpio@c2f0000 {
compatible = “nvidia,tegra186-gpio-aon”;
reg-names = “security”, “gpio”;
gpio-controller;
gpio-ranges = <0x9d 0x0 0x90 0x8 0x9d 0x8 0xa0 0x18 0x9d 0x20 0xc8 0x10 0x9d 0x30 0xf0 0x10>;
status = “okay”;
#interrupt-cells = <0x2>;
interrupts = <0x0 0x3c 0x4>;
phandle = <0x2a>;
reg = <0x0 0xc2f0000 0x0 0x1000 0x0 0xc2f1000 0x0 0x1000>;
#gpio-cells = <0x2>;
linux,phandle = <0x2a>;
interrupt-controller;

	unstable-vbat-ps3 {
		gpios = <0x3 0x1>;
		gpio-hog;
		line-name = "unstable-vbat-ps3";
		input;
	};

hello LasseRoedtnes,

please refer to GPIO Changes session for an example to check the GPIO number.
you may check kernel initial messages for the GPIO allocation ranges,
for example,

[    0.453162] gpiochip_setup_dev: registered GPIOs 320 to 511 on device: gpiochip0 (tegra-gpio)
[    0.456934] gpiochip_setup_dev: registered GPIOs 256 to 319 on device: gpiochip1 (tegra-gpio-aon)

it looks you’re having correct GPIO numbers according to the calculation formulas for these two pins,
GPIO3_PY.06 = ((20 * 8) + 320) + 6 = 486
GPIO3_PS.03 = (( 0 * 8) + 256) + 3 = 259

could you please have a try with Jetson-GPIO python library to configure GPIO pins.
thanks

Hi Jerry,

I dont see the GPIOs listed in my dmesg output (see below) - any input would be appriciated!

[ 0.627365] nvmap: nvmap_select_cache_ops() nvmap cache ops set to roc
[ 0.627374] nvmap_page_pool_init: Total RAM pages: 2008804
[ 0.627381] nvmap_page_pool_init: nvmap page pool size: 251100 pages (980 MB)
[ 0.627499] nvmap_background_zero_thread: PP zeroing thread starting.
[ 0.631551] tegra-gpcdma 2600000.dma: GPC DMA driver register 32 channels
[ 0.643314] thermal thermal_zone0: Registering thermal zone thermal_zone0 for type BCPU-therm
[ 0.643496] thermal thermal_zone1: Registering thermal zone thermal_zone1 for type MCPU-therm
[ 0.643853] thermal thermal_zone2: Registering thermal zone thermal_zone2 for type GPU-therm
[ 0.643958] thermal thermal_zone3: Registering thermal zone thermal_zone3 for type PLL-therm
[ 0.644097] thermal thermal_zone4: Registering thermal zone thermal_zone4 for type Tboard_tegra
[ 0.644229] thermal thermal_zone5: Registering thermal zone thermal_zone5 for type Tdiode_tegra
[ 0.644395] thermal thermal_zone6: Registering thermal zone thermal_zone6 for type PMIC-Die
[ 0.644676] la/ptsa driver initialized.
[ 0.644689] pre_t19x_iso_plat_init(): iso emc max clk=1866000KHz
[ 0.644694] pre_t19x_iso_plat_init(): max_iso_bw=26870400KB
[ 0.645863] NET: Registered protocol family 2
[ 0.647847] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.648724] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 0.649552] TCP: Hash tables configured (established 65536 bind 65536)
[ 0.649606] UDP hash table entries: 4096 (order: 5, 131072 bytes)
[ 0.649734] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
[ 0.650619] NET: Registered protocol family 1
[ 0.651782] RPC: Registered named UNIX socket transport module.
[ 0.651788] RPC: Registered udp transport module.
[ 0.651793] RPC: Registered tcp transport module.
[ 0.651798] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.651808] PCI: CLS 0 bytes, default 64
[ 0.652041] Trying to unpack rootfs image as initramfs…
[ 0.849158] Freeing initrd memory: 5432K
[ 0.869731] host1x 13e10000.host1x: initialized
[ 0.871535] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 0.876411] audit: initializing netlink subsys (disabled)
[ 0.876463] audit: type=2000 audit(0.764:1): initialized
[ 0.877271] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[ 0.890153] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.892931] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.894542] 9p: Installing v9fs 9p2000 file system support
[ 0.901248] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 240)
[ 0.901409] io scheduler noop registered
[ 0.902032] io scheduler cfq registered (default)
[ 0.906767] gic 2a41000.agic-controller: GIC IRQ controller registered
[ 0.936509] iommu: Adding device aconnect@2a41000:adsp_audio to group 53
[ 0.976096] iommu: Adding device 2993000.adsp to group 54
[ 0.977293] tegra-aconnect aconnect@2a41000: Tegra ACONNECT bus registered
[ 0.980840] tegra-xusb-padctl 3520000.xusb_padctl: VBUS over-current detection enabled
[ 0.984898] tegra-pwm 3280000.pwm: PWM clk can sleep in ops
[ 0.986364] tegra-pwm 3290000.pwm: PWM clk can sleep in ops
[ 0.987679] tegra-pwm 32a0000.pwm: PWM clk can sleep in ops
[ 0.988973] tegra-pwm c340000.pwm: PWM clk can sleep in ops
[ 0.991663] tegra-pcie 10003000.pcie-controller: 4x1, 1x1 configuration
[ 0.992766] tegra-pcie 10003000.pcie-controller: PCIE: Enable power rails
[ 0.993175] tegra-pcie 10003000.pcie-controller: probing port 0, using 4 lanes
[ 0.993504] tegra_camera_platform tegra-camera-platform: tegra_camera_probe:camera_platform_driver probe
[ 0.993671] misc tegra_camera_ctrl: tegra_camera_isomgr_register: some fields not in DT.
[ 0.993682] misc tegra_camera_ctrl: tegra_camera_isomgr_register isp_iso_bw=0, vi_iso_bw=4500000, max_bw=4500000
[ 0.995661] tegra-pcie 10003000.pcie-controller: probing port 2, using 1 lanes
[ 0.997224] tsec 15500000.tsec: initialized
[ 0.998837] tsec 15100000.tsecb: initialized
[ 1.002326] nvdec 15480000.nvdec: initialized
[ 1.007568] falcon 15340000.vic: initialized
[ 1.009076] falcon 154c0000.nvenc: initialized
[ 1.010756] falcon 15380000.nvjpg: initialized
[ 1.014234] iommu_context_dev 13e10000.host1x:ctx0: initialized (streamid=56)
[ 1.015992] iommu_context_dev 13e10000.host1x:ctx1: initialized (streamid=57)
[ 1.017662] iommu_context_dev 13e10000.host1x:ctx2: initialized (streamid=58)
[ 1.019404] iommu_context_dev 13e10000.host1x:ctx3: initialized (streamid=59)
[ 1.021076] iommu_context_dev 13e10000.host1x:ctx4: initialized (streamid=60)
[ 1.022733] iommu_context_dev 13e10000.host1x:ctx5: initialized (streamid=61)
[ 1.024297] iommu_context_dev 13e10000.host1x:ctx6: initialized (streamid=62)
[ 1.025923] iommu_context_dev 13e10000.host1x:ctx7: initialized (streamid=63)
[ 1.029477] tegradccommon 15200000.dc_common: host1x channel mapped
[ 1.029491] tegradccommon 15200000.dc_common: dc_common syncpt # 1 allocated
[ 1.029548] tegradccommon 15200000.dc_common: dma mapping done
[ 1.030962] tegra_cec 3960000.tegra_cec: dt=1 start=0x03960000 end=0x03960FFF irq=390
[ 1.031165] tegradc 15210000.nvdisplay: disp0 connected to head1->/host1x/sor1
[ 1.031206] generic_infoframe_type: 0x87
[ 1.031274] tegradc 15210000.nvdisplay: DT parsed successfully
[ 1.031301] tegradc 15210000.nvdisplay: Display dc.ffffff800b650000 registered with id=0
[ 1.031704] tegra_cec 3960000.tegra_cec: Unpowergate DISP: 0.
[ 1.032758] tegra_cec 3960000.tegra_cec: Enable clock result: 0.
[ 1.032786] tegra_cec 3960000.tegra_cec: tegra_cec_init started
[ 1.033535] tegra_cec 3960000.tegra_cec: cec_add_sysfs ret=0
[ 1.033542] tegra_cec 3960000.tegra_cec: probed
[ 1.036282] tegra_nvdisp_bandwidth_register_max_config: max config iso bw = 16727000 KB/s
[ 1.036286] tegra_nvdisp_bandwidth_register_max_config: max config EMC floor = 665600000 Hz
[ 1.036288] tegra_nvdisp_bandwidth_register_max_config: max config hubclk = 357620000 Hz
[ 1.036455] tegradc 15210000.nvdisplay: vblank syncpt # 8 for dc 1
[ 1.036459] tegradc 15210000.nvdisplay: vpulse3 syncpt # 9 for dc 1
[ 1.043510] tegradc 15210000.nvdisplay: hdmi: invalid prod list prod_list_hdmi_board
[ 1.043519] tegradc 15210000.nvdisplay: hdmi: tegra_hdmi_tmds_range_read(bd) failed
[ 1.047238] tegradc 15210000.nvdisplay: probed
[ 1.049924] tegra-adma 2930000.adma: Tegra210 ADMA driver registered 32 channels
[ 1.050518] Console: switching to colour frame buffer device 240x67
[ 1.050697] tegradc 15210000.nvdisplay: fb registered
[ 1.050715] tegra-fuse-burn 3820000.efuse:efuse-burn: Fuse burn driver initialized
[ 1.050906] gpio tegra-gpio wake21 for gpio=121(P:1)
[ 1.052023] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[ 1.052206] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[ 1.052258] kfuse 3830000.kfuse: initialized
[ 1.052318] tegra_nvdisp_handle_pd_enable: Unpowergated Head2 pd
[ 1.053859] tegra-pmc-iopower pmc-iopower: NO_IOPOWER setting 0x0
[ 1.059012] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.060040] Parent Clock set for DC plld2
[ 1.062370] console [ttyS0] disabled
[ 1.062441] 3100000.serial: ttyS0 at MMIO 0x3100000 (irq = 36, base_baud = 25500000) is a Tegra
[ 1.062517] console [ttyS0] enabled
[ 1.064837] 3110000.serial: ttyTHS1 at MMIO 0x3110000 (irq = 37, base_baud = 0) is a TEGRA_UART
[ 1.065166] tegradc 15210000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m
[ 1.066147] c280000.serial: ttyTHS2 at MMIO 0xc280000 (irq = 38, base_baud = 0) is a TEGRA_UART
[ 1.066453] tegradc 15210000.nvdisplay: hdmi: get RGB quant from EDID.
[ 1.066460] tegradc 15210000.nvdisplay: hdmi: get YCC quant from EDID.
[ 1.066465] serial-tegra 3130000.serial: RX in PIO mode
[ 1.067538] 3130000.serial: ttyTHS3 at MMIO 0x3130000 (irq = 39, base_baud = 0) is a TEGRA_UART
[ 1.068880] [drm] Initialized
[ 1.070399] extcon-disp-state external-connection:disp-state: cable 47 state 1
[ 1.070405] Extcon AUX1(HDMI) enable
[ 1.078750] brd: module loaded
[ 1.083631] loop: module loaded
[ 1.083985] tegra_profiler: version: 1.139, samples/io: 47/27
[ 1.084124] tegra_profiler: auth: init
[ 1.084604] nct1008_nct72 7-004c: starting parse dt
[ 1.084754] nct1008_nct72 7-004c: !!!Found deprecated property!!!
[ 1.084770] nct1008_nct72 7-004c: success parsing dt
[ 1.084877] nct1008_nct72 7-004c: success in enabling tmp451 VDD rail
[ 1.084925] THERMAL EST: found 3 subdevs
[ 1.084959] THERMAL EST num_resources: 0
[ 1.084964] [THERMAL EST subdev 0]
[ 1.085001] [THERMAL EST subdev 1]
[ 1.085006] [THERMAL EST subdev 2]
[ 1.085351] thermal thermal_zone7: Registering thermal zone thermal_zone7 for type thermal-fan-est
[ 1.085356] THERMAL EST: thz register success.
[ 1.085509] THERMAL EST: end of probe, return err: 0
[ 1.086681] hisi_sas: driver version v1.6
[ 1.090815] tegra-ahci 3507000.ahci-sata: AHCI 0001.0301 32 slots 2 ports 3 Gbps 0x1 impl platform mode
[ 1.090829] tegra-ahci 3507000.ahci-sata: flags: 64bit ncq sntf pm led pmp pio slum part deso sadm apst
[ 1.091856] scsi host0: tegra_ahci
[ 1.092903] scsi host1: tegra_ahci
[ 1.093065] ata1: SATA max UDMA/133 mmio [mem 0x03507000-0x03508fff] port 0x100 irq 24
[ 1.093071] ata2: DUMMY
[ 1.099387] libphy: Fixed MDIO Bus: probed
[ 1.099873] tun: Universal TUN/TAP device driver, 1.6
[ 1.099878] tun: (C) 1999-2004 Max Krasnyansky maxk@qualcomm.com
[ 1.100645] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 1.100651] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 1.100688] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[ 1.100692] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 1.100723] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[ 1.100728] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 1.100777] Intel(R) 10GbE PCI Express Linux Network Driver - version 4.6.4
[ 1.100781] Copyright(c) 1999 - 2017 Intel Corporation.
[ 1.108661] eqos 2490000.ether_qos: can’t get pllrefe_vcoout clk (-2)
[ 1.112334] eqos 2490000.ether_qos: Setting local MAC: 0 4 4b c7 77 64
[ 1.112460] libphy: dwc_phy: probed
[ 1.112935] bcm54xx_low_power_mode(): put phy in iddq-lp mode
[ 1.115230] PPP generic driver version 2.4.2
[ 1.115464] PPP BSD Compression module registered
[ 1.115470] PPP Deflate Compression module registered
[ 1.115517] PPP MPPE Compression module registered
[ 1.115523] NET: Registered protocol family 24
[ 1.115576] usbcore: registered new interface driver r8152
[ 1.115618] usbcore: registered new interface driver asix
[ 1.115649] usbcore: registered new interface driver ax88179_178a
[ 1.115674] usbcore: registered new interface driver cdc_ether
[ 1.115699] usbcore: registered new interface driver net1080
[ 1.115724] usbcore: registered new interface driver cdc_subset
[ 1.115749] usbcore: registered new interface driver zaurus
[ 1.115790] usbcore: registered new interface driver cdc_ncm
[ 1.116053] VFIO - User Level meta-driver version: 0.3
[ 1.116769] nct1008_nct72 7-004c: LOC shutdown limit 107
[ 1.117413] nct1008_nct72 7-004c: EXT shutdown limit 107
[ 1.117805] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.117823] ehci-pci: EHCI PCI platform driver
[ 1.117854] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 1.117863] ohci-pci: OHCI PCI platform driver
[ 1.117891] ohci-platform: OHCI generic platform driver
[ 1.122706] tegra-xusb 3530000.xhci: USB2 port 0 has OTG_CAP
[ 1.124474] tegra-xusb 3530000.xhci: extcon 0: ffffffc1eb442800 id
[ 1.125335] usbcore: registered new interface driver uas
[ 1.125416] usbcore: registered new interface driver usb-storage
[ 1.125487] usbcore: registered new interface driver usbserial
[ 1.126952] tegra-xusb 3530000.xhci: Firmware timestamp: 2019-07-08 19:32:42 UTC, Version: 55.15 release
[ 1.129374] tegra-xudc-new 3550000.xudc: device count: 1
[ 1.130523] tegra-xudc-new 3550000.xudc: vbus state: 0
[ 1.130556] tegra-xudc-new 3550000.xudc: entering ELPG
[ 1.131453] tegra-xudc-new 3550000.xudc: entering ELPG done
[ 1.131905] mousedev: PS/2 mouse device common for all mice
[ 1.132000] usbcore: registered new interface driver xpad
[ 1.132385] rotary-encoder jog_wheel: gray
[ 1.133023] gpio tegra-gpio wake63 for gpio=68(I:4)
[ 1.133215] input: jog_wheel as /devices/jog_wheel/input/input0
[ 1.150573] nct1008_nct72 7-004c: initial LOC temp: 34000
[ 1.150914] nct1008_nct72 7-004c: initial EXT temp: 34500
[ 1.151582] nct1008_nct72 7-004c: hi_b:-11, lo_b:0
[ 1.152002] gpio tegra-gpio-aon wake35 for gpio=16(V:0)
[ 1.152222] nct1008_nct72 7-004c: nct1008_probe: initialized
[ 1.152655] tegra-xusb 3530000.xhci: xHCI Host Controller
[ 1.152676] tegra-xusb 3530000.xhci: new USB bus registered, assigned bus number 1
[ 1.153580] tegra-xusb 3530000.xhci: hcc params 0x0184fd25 hci version 0x100 quirks 0x00050810
[ 1.153627] tegra-xusb 3530000.xhci: irq 70, io mem 0x03530000
[ 1.153888] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.153896] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.153902] usb usb1: Product: xHCI Host Controller
[ 1.153907] usb usb1: Manufacturer: Linux 4.9.140-magellan xhci-hcd
[ 1.153913] usb usb1: SerialNumber: 3530000.xhci
[ 1.154476] hub 1-0:1.0: USB hub found
[ 1.154520] hub 1-0:1.0: 4 ports detected
[ 1.154940] tegra-xusb 3530000.xhci: xHCI Host Controller
[ 1.154952] tegra-xusb 3530000.xhci: new USB bus registered, assigned bus number 2
[ 1.155176] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 1.155182] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.155188] usb usb2: Product: xHCI Host Controller
[ 1.155193] usb usb2: Manufacturer: Linux 4.9.140-magellan xhci-hcd
[ 1.155198] usb usb2: SerialNumber: 3530000.xhci
[ 1.155632] hub 2-0:1.0: USB hub found
[ 1.155672] hub 2-0:1.0: 3 ports detected
[ 1.172870] tegradc 15210000.nvdisplay: blank - powerdown
[ 1.216709] extcon-disp-state external-connection:disp-state: cable 47 state 0
[ 1.216713] Extcon AUX1(HDMI) disable
[ 1.244336] tegra_nvdisp_handle_pd_disable: Powergated Head2 pd
[ 1.244936] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
[ 1.250315] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
[ 1.266693] max77686-rtc max77620-rtc: rtc core: registered max77620-rtc as rtc0
[ 1.289521] Wake73 for irq=42
[ 1.294663] rtc rtc1: alarm rtc device
[ 1.295059] tegra_rtc c2a0000.rtc: rtc core: registered c2a0000.rtc as rtc1
[ 1.295458] tegra_rtc c2a0000.rtc: Tegra internal Real Time Clock
[ 1.299781] i2c /dev entries driver
[ 1.333550] max77620-power max77620-power: Event recorder REG_NVERC : 0x0
[ 1.389109] i2c i2c-4: tegra_bpmp_i2c_req ret -5
[ 1.389141] i2c i2c-4: — message dump for debugging —
[ 1.389175] i2c i2c-4: addr 0x2e flags 0x0 len 0 data:
[ 1.389189] i2c i2c-4:
[ 1.411671] ata1: SATA link down (SStatus 0 SControl 300)
[ 1.419863] tegradc 15210000.nvdisplay: unblank
[ 1.422930] tegra-pcie 10003000.pcie-controller: link 0 down, retrying
[ 1.433648] i2c i2c-4: tegra_bpmp_i2c_req ret -5
[ 1.433663] i2c i2c-4: — message dump for debugging —
[ 1.433677] i2c i2c-4: addr 0x2f flags 0x0 len 0 data:
[ 1.433687] i2c i2c-4:
[ 1.478100] i2c i2c-4: tegra_bpmp_i2c_req ret -5
[ 1.478102] i2c i2c-4: — message dump for debugging —
[ 1.478109] i2c i2c-4: addr 0x2c flags 0x0 len 0 data:
[ 1.478111] i2c i2c-4:
[ 1.484797] usb 1-3: new full-speed USB device number 2 using tegra-xusb
[ 1.514772] usb 1-3: New USB device found, idVendor=046d, idProduct=c52b
[ 1.514792] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.514805] usb 1-3: Product: USB Receiver
[ 1.514813] usb 1-3: Manufacturer: Logitech
[ 1.522794] i2c i2c-4: tegra_bpmp_i2c_req ret -5
[ 1.522802] i2c i2c-4: — message dump for debugging —
[ 1.522805] i2c i2c-4: addr 0x2d flags 0x0 len 0 data:
[ 1.522807] i2c i2c-4:
[ 1.568113] i2c i2c-4: tegra_bpmp_i2c_req ret -5
[ 1.568148] i2c i2c-4: — message dump for debugging —
[ 1.568162] i2c i2c-4: addr 0x4c flags 0x0 len 0 data:
[ 1.568171] i2c i2c-4:
[ 1.612375] i2c i2c-4: tegra_bpmp_i2c_req ret -5
[ 1.612383] i2c i2c-4: — message dump for debugging —
[ 1.612396] i2c i2c-4: addr 0x4d flags 0x0 len 0 data:
[ 1.612403] i2c i2c-4:
[ 1.614323] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[ 1.615261] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[ 1.615885] tegra_nvdisp_handle_pd_enable: Unpowergated Head2 pd
[ 1.629838] Parent Clock set for DC plld2
[ 1.633792] tegradc 15210000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m
[ 1.635350] tegradc 15210000.nvdisplay: hdmi: get RGB quant from EDID.
[ 1.635361] tegradc 15210000.nvdisplay: hdmi: get YCC quant from EDID.
[ 1.636941] parse_throttle_dt_data: Num cap clks = 4
[ 1.636947] parse_throttle_dt_data: clk=mcpu type=1
[ 1.636951] parse_throttle_dt_data: clk=bcpu type=2
[ 1.636959] parse_throttle_dt_data: clk=gpu type=4
[ 1.636963] parse_throttle_dt_data: clk=emc type=3
[ 1.637873] tegra_throttle_probe: probe successful. #cdevs=4
[ 1.638661] FAN dev name: pwm-fan
[ 1.638715] FAN:gpio request success.
[ 1.638723] FAN: can’t find tach_gpio
[ 1.638745] pwm_fan_driver pwm-fan: cap state:7, cap pwm:255
[ 1.638979] pwm_fan_driver pwm-fan: got pwm for fan. polarity is inversed
[ 1.638984] pwm_fan_driver pwm-fan: tach period: 1000
[ 1.639752] extcon-disp-state external-connection:disp-state: cable 47 state 1
[ 1.639756] Extcon AUX1(HDMI) enable
[ 1.640057] pwm_fan_driver pwm-fan: index 0: pwm=0, rpm=0, rru=40, rrd=40, state:2
[ 1.640063] pwm_fan_driver pwm-fan: index 1: pwm=80, rpm=1000, rru=2, rrd=2, state:2
[ 1.640068] pwm_fan_driver pwm-fan: index 2: pwm=120, rpm=2000, rru=1, rrd=1, state:2
[ 1.640072] pwm_fan_driver pwm-fan: index 3: pwm=160, rpm=3000, rru=1, rrd=1, state:2
[ 1.640076] pwm_fan_driver pwm-fan: index 4: pwm=255, rpm=4000, rru=1, rrd=1, state:3
[ 1.640080] pwm_fan_driver pwm-fan: index 5: pwm=255, rpm=5000, rru=1, rrd=1, state:3
[ 1.640084] pwm_fan_driver pwm-fan: index 6: pwm=255, rpm=6000, rru=1, rrd=1, state:3
[ 1.640088] pwm_fan_driver pwm-fan: index 7: pwm=255, rpm=7000, rru=1, rrd=1, state:4
[ 1.640093] pwm_fan_driver pwm-fan: index 8: pwm=255, rpm=10000, rru=1, rrd=1, state:4
[ 1.640098] pwm_fan_driver pwm-fan: index 9: pwm=255, rpm=11000, rru=1, rrd=1, state:4
[ 1.641856] device-mapper: uevent: version 1.0.3
[ 1.642694] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[ 1.643043] CPU EMC frequency mapping table: default setting
[ 1.647597] cpufreq: platform driver Initialization: pass
[ 1.648190] cpuidle: Initializing cpuidle driver init for Denver cluster
[ 1.648302] cpuidle: Initializing cpuidle driver init for A57 cluster
[ 1.649156] sdhci: Secure Digital Host Controller Interface driver
[ 1.649159] sdhci: Copyright(c) Pierre Ossman
[ 1.649161] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.650735] sdhci-tegra 3460000.sdhci: Client registration for eMC Successful
[ 1.652693] CMDQ: cmdq_platfm_init successful
[ 1.653876] CQE: CMD_TIMING bit set for R1B DCMD
[ 1.653956] sdhci-tegra 3440000.sdhci: Client registration for eMC Successful
[ 1.656822] sdhci-tegra 3400000.sdhci: Got CD GPIO
[ 1.656870] sdhci-tegra 3400000.sdhci: Got WP GPIO
[ 1.657583] sdhci-tegra 3400000.sdhci: Client registration for eMC Successful
[ 1.661945] sdhci-tegra 3400000.sdhci: wakeup init done, cdirq 257
[ 1.666503] tegra-se-elp 3ad0000.se_elp: tegra_se_elp_probe: complete
[ 1.667677] tegra-se-nvhost 15810000.se: initialized
[ 1.668813] tegra-se-nvhost 15810000.se: tegra_se_probe: complete
[ 1.669675] tegra-se-nvhost 15820000.se: initialized
[ 1.670758] tegra-se-nvhost 15820000.se: tegra_se_probe: complete
[ 1.671426] tegra-se-nvhost 15830000.se: initialized
[ 1.672241] tegra-se-nvhost 15830000.se: tegra_se_probe: complete
[ 1.672824] tegra-se-nvhost 15840000.se: initialized
[ 1.673765] tegra-se-nvhost 15840000.se: tegra_se_probe: complete
[ 1.673999] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.682326] usbcore: registered new interface driver usbhid
[ 1.682327] usbhid: USB HID core driver
[ 1.686326] tegra186-cam-rtcpu b000000.rtcpu: Trace buffer configured at IOVA=0xbff00000
[ 1.688841] tegra-ivc ivc-b000000.rtcpu: region 0: iova=0xbfef0000-0xbfefdb7f size=56192
[ 1.689257] tegra-ivc ivc-b000000.rtcpu:echo@0: echo: ver=0 grp=1 RX[16x64]=0x1000-0x1480 TX[16x64]=0x1480-0x1900
[ 1.689438] tegra-ivc ivc-b000000.rtcpu:i2c@480: i2c: ver=0 grp=1 RX[8x128]=0x1900-0x1d80 TX[8x128]=0x1d80-0x2200
[ 1.689834] tegra-ivc ivc-b000000.rtcpu:vinotify@12c0: vinotify: ver=0 grp=1 RX[64x128]=0x2200-0x4280 TX[64x128]=0x4280-0x6300
[ 1.691140] tegra-ivc ivc-b000000.rtcpu:mods@32c0: mods: ver=0 grp=1 RX[1x64]=0x6300-0x63c0 TX[1x64]=0x63c0-0x6480
[ 1.691254] tegra-ivc ivc-b000000.rtcpu:ivccontrol@52c0: ivccontrol: ver=0 grp=1 RX[16x320]=0x6480-0x7900 TX[16x320]=0x7900-0x8d80
[ 1.691343] tegra-ivc ivc-b000000.rtcpu:ivccapture@72c0: ivccapture: ver=0 grp=1 RX[16x64]=0x8d80-0x9200 TX[16x64]=0x9200-0x9680
[ 1.691466] tegra-ivc ivc-b000000.rtcpu:dbg@7c00: dbg: ver=0 grp=1 RX[1x384]=0x9680-0x9880 TX[1x384]=0x9880-0x9a80
[ 1.691642] tegra-ivc ivc-b000000.rtcpu:dbg@7e00: dbg: ver=0 grp=1 RX[1x8192]=0x9a80-0xbb00 TX[1x8192]=0xbb00-0xdb80
[ 1.692149] tegra186-cam-rtcpu b000000.rtcpu: using cam RTCPU IRQ (51)
[ 1.692152] tegra186-cam-rtcpu b000000.rtcpu: tegra_camrtc_mon_create is successful
[ 1.693164] tegra186-cam-rtcpu b000000.rtcpu: firmware version cpu=sce cmd=5 sha1=3ecb1dca25fa98771f988f238c025334776c9a96
[ 1.694799] tegra_aon c1a0000.aon: tegra aon driver probe OK
[ 1.695348] tegra186-aondbg aondbg: aondbg driver probe() OK
[ 1.695718] register_ari_mca_banks: Registered MCA ROC:IOB
[ 1.695790] register_ari_mca_banks: Registered MCA ROC:CCE
[ 1.696170] tegra18-bridge 2390000.axi2apb: axi_cbb clk rate = 115 MHZ, timeout = 97000 useconds
[ 1.696174] tegra18-bridge 2390000.axi2apb: enabled timeout = 11155000
[ 1.696177] tegra18-bridge 2390000.axi2apb: bridge probed OK
[ 1.696233] tegra18-bridge 23a0000.axi2apb: axi_cbb clk rate = 115 MHZ, timeout = 97000 useconds
[ 1.696236] tegra18-bridge 23a0000.axi2apb: enabled timeout = 11155000
[ 1.696238] tegra18-bridge 23a0000.axi2apb: bridge probed OK
[ 1.696292] tegra18-bridge 23b0000.axi2apb: axi_cbb clk rate = 115 MHZ, timeout = 97000 useconds
[ 1.696296] tegra18-bridge 23b0000.axi2apb: enabled timeout = 11155000
[ 1.696299] tegra18-bridge 23b0000.axi2apb: bridge probed OK
[ 1.696353] tegra18-bridge 23c0000.axi2apb: axi_cbb clk rate = 115 MHZ, timeout = 97000 useconds
[ 1.696357] tegra18-bridge 23c0000.axi2apb: enabled timeout = 11155000
[ 1.696359] tegra18-bridge 23c0000.axi2apb: bridge probed OK
[ 1.696410] tegra18-bridge 23d0000.axi2apb: axi_cbb clk rate = 115 MHZ, timeout = 97000 useconds
[ 1.696413] tegra18-bridge 23d0000.axi2apb: enabled timeout = 11155000
[ 1.696416] tegra18-bridge 23d0000.axi2apb: bridge probed OK
[ 1.696466] tegra18-bridge 2100000.axip2p: axi_cbb clk rate = 115 MHZ, timeout = 97000 useconds
[ 1.696473] tegra18-bridge 2100000.axip2p: enabled timeout = 11155000
[ 1.696475] tegra18-bridge 2100000.axip2p: bridge probed OK
[ 1.696561] tegra18-bridge 2110000.axip2p: axi_cbb clk rate = 115 MHZ, timeout = 97000 useconds
[ 1.696566] tegra18-bridge 2110000.axip2p: enabled timeout = 11155000
[ 1.696569] tegra18-bridge 2110000.axip2p: bridge probed OK
[ 1.696601] mmc0: SDHCI controller on 3460000.sdhci [3460000.sdhci] using ADMA 64-bit with 64 bit addr
[ 1.696632] tegra18-bridge 2120000.axip2p: axi_cbb clk rate = 115 MHZ, timeout = 97000 useconds
[ 1.696638] tegra18-bridge 2120000.axip2p: enabled timeout = 11155000
[ 1.696640] tegra18-bridge 2120000.axip2p: bridge probed OK
[ 1.696710] tegra18-bridge 2130000.axip2p: axi_cbb clk rate = 115 MHZ, timeout = 97000 useconds
[ 1.696736] tegra18-bridge 2130000.axip2p: enabled timeout = 11155000
[ 1.696738] tegra18-bridge 2130000.axip2p: bridge probed OK
[ 1.696791] tegra18-bridge 2140000.axip2p: axi_cbb clk rate = 115 MHZ, timeout = 97000 useconds
[ 1.696795] tegra18-bridge 2140000.axip2p: enabled timeout = 11155000
[ 1.696797] tegra18-bridge 2140000.axip2p: bridge probed OK
[ 1.696849] tegra18-bridge 2150000.axip2p: axi_cbb clk rate = 115 MHZ, timeout = 97000 useconds
[ 1.696855] tegra18-bridge 2150000.axip2p: enabled timeout = 11155000
[ 1.696857] tegra18-bridge 2150000.axip2p: bridge probed OK
[ 1.696909] tegra18-bridge 2160000.axip2p: axi_cbb clk rate = 115 MHZ, timeout = 97000 useconds
[ 1.696915] tegra18-bridge 2160000.axip2p: enabled timeout = 11155000
[ 1.696917] tegra18-bridge 2160000.axip2p: bridge probed OK
[ 1.696968] tegra18-bridge 2170000.axip2p: axi_cbb clk rate = 115 MHZ, timeout = 97000 useconds
[ 1.696974] tegra18-bridge 2170000.axip2p: enabled timeout = 11155000
[ 1.696976] tegra18-bridge 2170000.axip2p: bridge probed OK
[ 1.697030] tegra18-bridge 2180000.axip2p: axi_cbb clk rate = 115 MHZ, timeout = 97000 useconds
[ 1.697037] tegra18-bridge 2180000.axip2p: enabled timeout = 11155000
[ 1.697039] tegra18-bridge 2180000.axip2p: bridge probed OK
[ 1.697094] tegra18-bridge 2190000.axip2p: axi_cbb clk rate = 115 MHZ, timeout = 97000 useconds
[ 1.697099] tegra18-bridge 2190000.axip2p: enabled timeout = 11155000
[ 1.697101] tegra18-bridge 2190000.axip2p: bridge probed OK
[ 1.697171] tegra18_a57_serr_init: on CPU 2 a Denver Core
[ 1.697243] tegra18x_actmon d230000.actmon: in actmon_register()…
[ 1.697903] tegra18x_actmon d230000.actmon: initialization Completed for the device mc_all
[ 1.698334] hw perfevents: enabled with denver15_uncore_pmu PMU driver, 3 counters available
[ 1.698433] denver_knobs_init:MTS_VERSION:47926945
[ 1.700064] nvpmodel: initialized successfully
[ 1.700614] mmc1: SDHCI controller on 3440000.sdhci [3440000.sdhci] using ADMA 64-bit with 64 bit addr
[ 1.701844] trusty-virtio trusty:virtio: initializing
[ 1.701965] trusty_ipc virtio0: vring0: va¶ ffffffc1e5432000(0) qsz 32 notifyid 1
[ 1.701970] trusty_ipc virtio0: vring1: va¶ ffffffc1e5434000(0) qsz 32 notifyid 2
[ 1.702220] trusty-virtio trusty:virtio: initializing done
[ 1.702320] trusty_ipc virtio0: is online
[ 1.703586] usbcore: registered new interface driver snd-usb-audio
[ 1.709001] gpio tegra-gpio wake71 for gpio=125(P:5)
[ 1.709062] mmc2: SDHCI controller on 3400000.sdhci [3400000.sdhci] using ADMA 64-bit with 64 bit addr
[ 1.724752] input: tegra-hda HDMI/DP,pcm=3 as /devices/3510000.hda/sound/card0/input1
[ 1.724918] input: tegra-hda HDMI/DP,pcm=7 as /devices/3510000.hda/sound/card0/input2
[ 1.750756] mmc0: mmc_decode_ext_csd: CMDQ supported: depth: 31, cmdq_support: 1
[ 1.766554] mmc0: periodic cache flush enabled
[ 1.766585] mmc0: new HS400 Enhanced strobe MMC card at address 0001
[ 1.767073] mmcblk0: mmc0:0001 DG4032 29.1 GiB
[ 1.767339] mmcblk0boot0: mmc0:0001 DG4032 partition 1 4.00 MiB
[ 1.767573] mmcblk0boot1: mmc0:0001 DG4032 partition 2 4.00 MiB
[ 1.767868] mmcblk0rpmb: mmc0:0001 DG4032 partition 3 4.00 MiB
[ 1.770048] OPE platform probe
[ 1.770113] OPE platform probe successful
[ 1.771464] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 p26 p27 p28 p29 p30 p31 p32 p33
[ 1.839270] tegra-asoc: sound: ADMAIF1 <-> ADMAIF1 mapping ok
[ 1.839363] tegra-asoc: sound: ADMAIF2 <-> ADMAIF2 mapping ok
[ 1.839451] tegra-asoc: sound: ADMAIF3 <-> ADMAIF3 mapping ok
[ 1.839545] tegra-asoc: sound: ADMAIF4 <-> ADMAIF4 mapping ok
[ 1.839660] tegra-asoc: sound: ADMAIF5 <-> ADMAIF5 mapping ok
[ 1.839750] tegra-asoc: sound: ADMAIF6 <-> ADMAIF6 mapping ok
[ 1.839835] tegra-asoc: sound: ADMAIF7 <-> ADMAIF7 mapping ok
[ 1.839919] tegra-asoc: sound: ADMAIF8 <-> ADMAIF8 mapping ok
[ 1.840005] tegra-asoc: sound: ADMAIF9 <-> ADMAIF9 mapping ok
[ 1.840094] tegra-asoc: sound: ADMAIF10 <-> ADMAIF10 mapping ok
[ 1.840182] tegra-asoc: sound: ADMAIF11 <-> ADMAIF11 mapping ok
[ 1.840277] tegra-asoc: sound: ADMAIF12 <-> ADMAIF12 mapping ok
[ 1.840363] tegra-asoc: sound: ADMAIF13 <-> ADMAIF13 mapping ok
[ 1.840449] tegra-asoc: sound: ADMAIF14 <-> ADMAIF14 mapping ok
[ 1.840576] tegra-asoc: sound: ADMAIF15 <-> ADMAIF15 mapping ok
[ 1.841258] tegra-asoc: sound: ADMAIF16 <-> ADMAIF16 mapping ok
[ 1.841358] tegra-asoc: sound: ADMAIF17 <-> ADMAIF17 mapping ok
[ 1.841447] tegra-asoc: sound: ADMAIF18 <-> ADMAIF18 mapping ok
[ 1.841533] tegra-asoc: sound: ADMAIF19 <-> ADMAIF19 mapping ok
[ 1.841625] tegra-asoc: sound: ADMAIF20 <-> ADMAIF20 mapping ok
[ 1.842573] tegra-pcie 10003000.pcie-controller: link 0 down, retrying
[ 1.877993] u32 classifier
[ 1.877996] Actions configured
[ 1.878076] Initializing XFRM netlink socket
[ 1.879740] NET: Registered protocol family 10
[ 1.881065] NET: Registered protocol family 17
[ 1.881078] NET: Registered protocol family 15
[ 1.881284] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.881359] Bluetooth: RFCOMM socket layer initialized
[ 1.881388] Bluetooth: RFCOMM ver 1.11
[ 1.881394] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 1.881399] Bluetooth: HIDP socket layer initialized
[ 1.881438] 9pnet: Installing 9P2000 support
[ 1.881479] Key type dns_resolver registered
[ 1.882675] Registered cp15_barrier emulation handler
[ 1.882694] Registered setend emulation handler
[ 1.886402] registered taskstats version 1
[ 1.889845] isp 15600000.isp: initialized
[ 1.894358] nvcsi 150c0000.nvcsi: initialized
[ 1.900131] GPIO line 224 (top_out_high) hogged as output/high
[ 1.900384] GPIO line 225 (top_out_high) hogged as output/high
[ 1.900624] GPIO line 226 (top_out_high) hogged as output/high
[ 1.900751] GPIO line 227 (top_in) hogged as input
[ 1.900875] GPIO line 228 (top_in) hogged as input
[ 1.900997] GPIO line 232 (top_in) hogged as input
[ 1.901007] tegra-vi4 15700000.vi: initialized
[ 1.901128] GPIO line 236 (top_in) hogged as input
[ 1.901272] GPIO line 238 (top_in) hogged as input
[ 1.901398] GPIO line 239 (top_in) hogged as input
[ 1.901643] GPIO line 229 (top_out_low) hogged as output/low
[ 1.901881] GPIO line 230 (top_out_low) hogged as output/low
[ 1.902126] GPIO line 231 (top_out_low) hogged as output/low
[ 1.902369] GPIO line 234 (top_out_low) hogged as output/low
[ 1.902607] GPIO line 235 (top_out_low) hogged as output/low
[ 1.902869] GPIO line 237 (top_out_low) hogged as output/low
[ 1.903114] GPIO line 240 (top_out_low) hogged as output/low
[ 1.903360] GPIO line 241 (top_out_low) hogged as output/low
[ 1.903593] GPIO line 243 (top_out_low) hogged as output/low
[ 1.903825] GPIO line 244 (top_out_low) hogged as output/low
[ 1.904074] GPIO line 245 (top_out_low) hogged as output/low
[ 1.904309] GPIO line 246 (top_out_low) hogged as output/low
[ 1.904581] GPIO line 247 (top_out_low) hogged as output/low
[ 1.904776] tegra-vi4 15700000.vi: subdev 150c0000.nvcsi–3 bound
[ 1.904788] gpiochip_setup_dev: registered GPIOs 224 to 247 on device: gpiochip3 (tca6424)
[ 1.904887] tegra-vi4 15700000.vi: subdev 150c0000.nvcsi–2 bound
[ 1.904973] tegra-vi4 15700000.vi: subdev 150c0000.nvcsi–1 bound
[ 1.906130] magellan-sdi 0-004c: requested gpio 231 adv-reset
[ 1.906378] magellan-sdi 0-004c: requested gpio 233 sdi-enabled
[ 1.906616] magellan-sdi 0-004c: requested gpio 234 sdi-standby
[ 1.906860] magellan-sdi 0-004c: requested gpio 235 sdi-rate-sel
[ 1.907103] magellan-sdi 0-004c: requested gpio 237 sdi-reset
[ 1.907106] magellan-sdi 0-004c: Setting gpios
[ 1.952415] mmc1: hw tuning done …
[ 1.959591] mmc1: new ultra high speed SDR104 SDIO card at address 0001
[ 2.060596] tegra_cec 3960000.tegra_cec: physical address: 10:00.
[ 2.247101] tegra-pcie 10003000.pcie-controller: link 0 down, retrying
[ 2.249138] tegra-pcie 10003000.pcie-controller: link 0 down, ignoring
[ 2.448820] magellan-sdi 0-004c: Finishing
[ 2.449805] magellan-sdi 0-004c: Done initializing SDI
[ 2.450634] gpio tegra-gpio wake64 for gpio=70(I:6)
[ 2.450705] gpio tegra-gpio wake9 for gpio=16(C:0)
[ 2.450812] gpio tegra-gpio wake8 for gpio=13(B:5)
[ 2.451025] input: gpio-keys-direct as /devices/gpio-keys-direct/input/input3
[ 2.451720] input: gpio-keys-i2c as /devices/gpio-keys-i2c/input/input4
[ 2.485289] tegra_rtc c2a0000.rtc: setting system clock to 2020-11-03 08:23:49 UTC (1604391829)
[ 2.486214] mmcblk mmc0:0001: Card claimed for testing.
[ 2.523243] bpmp: mounted debugfs mirror
[ 2.524869] bwmgr: missing cdev-type property
[ 2.530529] spmic-ldo0: disabling
[ 2.530720] spmic-ldo1: disabling
[ 2.530882] en-vdd-sd: disabling
[ 2.530885] en-vdd-cam: disabling
[ 2.530888] vdd-usb0-5v: disabling
[ 2.530891] vdd-usb1-5v: disabling
[ 2.530917] en-vdd-disp-3v3: disabling
[ 2.530919] en-mdm-pwr-3v7: disabling
[ 2.530921] en-vdd-disp-1v8: disabling
[ 2.530924] en-vdd-cam-hv-2v8: disabling
[ 2.530926] en-vdd-cam-1v2: disabling
[ 2.530929] vdd-fan: disabling
[ 2.530932] en-vdd-vcm-2v8: disabling
[ 2.530934] vdd-usb2-5v: disabling
[ 2.530937] vdd-sys-bl: disabling
[ 2.530939] en-vdd-sys: disabling
[ 2.530942] ALSA device list:
[ 2.530945] #0: tegra-hda at 0x3518000 irq 383
[ 2.530947] #1: tegra-snd-t186ref-mobile-rt565x
[ 2.662543] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[ 3.068826] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[ 3.474787] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[ 3.476827] tegra-pcie 10003000.pcie-controller: link 2 down, ignoring
[ 3.695369] tegra-pcie 10003000.pcie-controller: PCIE: no end points detected
[ 3.707884] tegra-pcie 10003000.pcie-controller: PCIE: Disable power rails
[ 3.756795] extcon-disp-state external-connection:disp-state: cable 51 state 1
[ 3.756799] Extcon HDMI: HPD enabled
[ 3.756834] tegradc 15210000.nvdisplay: hdmi: plugged
[ 3.759552] Freeing unused kernel memory: 8576K
[ 3.790815] Root device found: mmcblk0p1
[ 3.791588] Found dev node: /dev/mmcblk0p1
[ 3.812448] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 3.813144] Rootfs mounted over mmcblk0p1
[ 3.837336] Switching from initrd to actual rootfs
[ 3.838891] tegra_edid_read_block: remainder is 250 for the last 5 attempts. Assuming bad sink EDID and ignoring. New checksum is 6
[ 3.838904] tegradc 15210000.nvdisplay: read_edid_into_buffer: extension_blocks = 0, max_ext_blocks = 3
[ 3.838909] tegradc 15210000.nvdisplay: hdmi_recheck_edid: read_edid_into_buffer() returned 128
[ 3.838915] tegradc 15210000.nvdisplay: old edid len = 256
[ 3.838924] tmp :ffffffc1e9bc7b10: ffffff00 00ffffff 00000000 00000000 …
[ 3.838930] tmp :ffffffc1e9bc7b20: 00000000 00000000 00000000 00000000 …
[ 3.838935] tmp :ffffffc1e9bc7b30: 00000000 00000000 00000000 00000000 …
[ 3.838939] tmp :ffffffc1e9bc7b40: 00000000 00000000 00000000 00000000 …
[ 3.838943] tmp :ffffffc1e9bc7b50: 00000000 00000000 00000000 00000000 …
[ 3.838947] tmp :ffffffc1e9bc7b60: 00000000 00000000 00000000 00000000 …
[ 3.838952] tmp :ffffffc1e9bc7b70: 00000000 00000000 00000000 00000000 …
[ 3.838956] tmp :ffffffc1e9bc7b80: 00000000 00000000 00000000 06000000 …
[ 3.838962] data:ffffff800b181088: ffffff00 00ffffff bdc6a409 00000000 …
[ 3.838967] data:ffffff800b181098: 03011634 78000080 a391ee0a 26994c54 4…x…TL.&
[ 3.838972] data:ffffff800b1810a8: 2054500f 01010000 01010101 01010101 .PT …
[ 3.838976] data:ffffff800b1810b8: 01010101 3a020101 38711880 2c58402d …:…q8-@X,
[ 3.838981] data:ffffff800b1810c8: 8ec40045 1e000021 18801d01 20161c71 E…!..q…
[ 3.838986] data:ffffff800b1810d8: 00252c58 00218ec4 00009e00 4200fc00 X,%…!..B
[ 3.838991] data:ffffff800b1810e8: 4820444d 0a494d44 20202020 fd000000 MD HDMI. …
[ 3.838997] data:ffffff800b1810f8: 0f3c1700 0a000f44 20202020 93012020 …<.D… …
[ 3.839002] data:ffffff800b181108: 71280302 221f9052 14052021 15061304 …(qR…"! …
[ 3.839024] data:ffffff800b181118: 03021607 23011211 8307040f 6800000f …#…h
[ 3.839029] data:ffffff800b181128: 10000c03 001e0000 72001d01 201ed051 …rQ…
[ 3.839034] data:ffffff800b181138: 0055286e 00218ec4 0a8c1e00 f05114a0 n(U…!..Q.
[ 3.839039] data:ffffff800b181148: 7c260016 8e130043 98000021 d0801d01 …&|C…!..
[ 3.839043] data:ffffff800b181158: 20161c72 80252c10 00218ec4 1d019e00 r… .,%…!..
[ 3.839048] data:ffffff800b181168: d052bc00 28b8201e 8ec44055 1e000021 …R… .(U@…!..
[ 3.839053] data:ffffff800b181178: 00000000 00000000 00000000 4a000000 …J
[ 3.839057] tegradc 15210000.nvdisplay: hdmi: EDID change after HPD bounce, resetting
[ 3.885585] extcon-disp-state external-connection:disp-state: cable 47 state 0
[ 3.885591] Extcon AUX1(HDMI) disable
[ 3.907955] tegra_nvdisp_handle_pd_disable: Powergated Head2 pd
[ 3.908047] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
[ 3.908855] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
[ 3.908997] tegradc 15210000.nvdisplay: blank - powerdown
[ 3.909172] extcon-disp-state external-connection:disp-state: cable 51 state 0
[ 3.909176] Extcon HDMI: HPD disabled
[ 3.909196] tegradc 15210000.nvdisplay: hdmi: plugged
[ 3.909335] tegradc 15210000.nvdisplay: blank - powerdown
[ 3.914155] tegradc 15210000.nvdisplay: unblank
[ 3.915101] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[ 3.915197] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[ 3.915294] tegra_nvdisp_handle_pd_enable: Unpowergated Head2 pd
[ 3.916834] Parent Clock set for DC plld2
[ 3.920288] tegradc 15210000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m
[ 3.921674] tegradc 15210000.nvdisplay: hdmi: get RGB quant from EDID.
[ 3.921696] tegradc 15210000.nvdisplay: hdmi: get YCC quant from EDID.
[ 3.925368] extcon-disp-state external-connection:disp-state: cable 47 state 1
[ 3.925371] Extcon AUX1(HDMI) enable
[ 4.172580] tegra_cec 3960000.tegra_cec: timeout in tegra_cec_native_write_l:172.
[ 4.172593] tegra_cec 3960000.tegra_cec: Sent res: -62.
[ 4.172598] tegra_cec 3960000.tegra_cec: tegra_cec_init Done.
[ 4.273014] Wake76 for irq=199
[ 4.273017] Wake77 for irq=199
[ 4.273018] Wake78 for irq=199
[ 4.273020] Wake79 for irq=199
[ 4.273021] Wake80 for irq=199
[ 4.273023] Wake81 for irq=199
[ 4.273024] Wake82 for irq=199
[ 4.273060] tegra-xusb 3530000.xhci: Upgrade port 0 to USB3.0
[ 4.273064] tegra-xusb 3530000.xhci: Upgrade port 1 to USB3.0
[ 4.376815] usb usb2: usb_suspend_both: status 0
[ 5.945063] extcon-disp-state external-connection:disp-state: cable 51 state 1
[ 5.945067] Extcon HDMI: HPD enabled
[ 5.945088] tegradc 15210000.nvdisplay: hdmi: plugged
[ 5.980006] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 6.024667] cgroup: cgroup2: unknown option “nsdelegate”
[ 6.050787] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 6.053890] systemd[1]: Detected architecture arm64.
[ 6.143422] systemd[1]: Set hostname to .
[ 6.234123] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 6.234148] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[ 6.438554] random: systemd: uninitialized urandom read (16 bytes read)
[ 6.442077] systemd[1]: Created slice User and Session Slice.
[ 6.442379] random: systemd: uninitialized urandom read (16 bytes read)
[ 6.442425] systemd[1]: Reached target User and Group Name Lookups.
[ 6.442507] random: systemd: uninitialized urandom read (16 bytes read)
[ 6.444234] systemd[1]: Created slice System Slice.
[ 6.445099] systemd[1]: Listening on Journal Socket (/dev/log).
[ 6.445542] systemd[1]: Listening on udev Control Socket.
[ 6.484496] gpio tegra-gpio-aon wake30 for gpio=60(FF:4)
[ 6.545288] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[ 6.646290] random: crng init done
[ 6.646294] random: 7 urandom warning(s) missed due to ratelimiting
[ 6.784660] systemd-journald[2339]: Received request to flush runtime journal from PID 1
[ 7.028893] can: controller area network core (rev 20120528 abi 9)
[ 7.029129] NET: Registered protocol family 29
[ 7.511724] using random self ethernet address
[ 7.516901] using random host ethernet address
[ 7.698028] imx185 2-001a: probing v4l2 sensor
[ 7.701128] imx185 2-001a: tegracam sensor driver:imx185_v2.0.6
[ 7.736612] tegra-vi4 15700000.vi: subdev imx185 2-001a bound
[ 7.745426] imx185 2-001a: Detected IMX185 sensor
[ 7.954492] logitech-djreceiver 0003:046D:C52B.0003: hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-3530000.xhci-3/input2
[ 7.965346] Mass Storage Function, version: 2009/09/11
[ 7.965352] LUN: removable file: (no medium)
[ 7.974007] using random self ethernet address
[ 7.983252] using random host ethernet address
[ 8.046490] rndis0: HOST MAC 4e:b3:8b:78:c6:c8
[ 8.046814] rndis0: MAC 4e:b3:8b:78:c6:c9
[ 8.049137] usb0: HOST MAC 4e:b3:8b:78:c6:ca
[ 8.049188] usb0: MAC 4e:b3:8b:78:c6:cb
[ 8.049214] tegra-xudc-new 3550000.xudc: exiting ELPG
[ 8.051887] tegra-xudc-new 3550000.xudc: exiting ELPG done
[ 8.051907] tegra-xudc-new 3550000.xudc: ep 0 (type: 0, dir: out) enabled
[ 8.051949] tegra-xudc-new 3550000.xudc: entering ELPG
[ 8.052754] tegra-xudc-new 3550000.xudc: entering ELPG done
[ 8.052774] tegra-xudc-new 3550000.xudc: exiting ELPG
[ 8.053769] tegra-xudc-new 3550000.xudc: exiting ELPG done
[ 8.053790] tegra-xudc-new 3550000.xudc: entering ELPG
[ 8.055587] tegra-xudc-new 3550000.xudc: entering ELPG done
[ 8.070697] l4tbr0: port 1(rndis0) entered blocking state
[ 8.070703] l4tbr0: port 1(rndis0) entered disabled state
[ 8.071005] device rndis0 entered promiscuous mode
[ 8.078252] IPv6: ADDRCONF(NETDEV_UP): rndis0: link is not ready
[ 8.085755] l4tbr0: port 2(usb0) entered blocking state
[ 8.085760] l4tbr0: port 2(usb0) entered disabled state
[ 8.085901] device usb0 entered promiscuous mode
[ 8.101835] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[ 8.202104] dhd_module_init in
[ 8.202304] found wifi platform device bcmdhd_wlan
[ 8.203476] wifi_platform_get_country_code_map: could not get country_code_map
[ 8.203479] wifi_plat_dev_drv_probe:platform country code map is not available
[ 8.203498] Power-up adapter ‘DHD generic adapter’
[ 8.203506] wifi_platform_set_power = 1
[ 8.417414] wifi_platform_bus_enumerate device present 1
[ 8.442749] wifi_platform_bus_enumerate device present 0
[ 8.443436] F1 signature read @0x18000000=0x17214354
[ 8.470169] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x1 pkg:0x2
[ 8.471039] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[ 8.471157] wifi_platform_get_mac_addr
[ 8.485053] ids dhd_log_netlink_init
[ 8.485824] wl_create_event_handler(): thread:wl_event_handler:14ff started
[ 8.485826] wl_event_handler :
[ 8.485829] tsk Enter, tsk = 0xffffffc1e0a01a90
[ 8.488882] dhd_attach(): thread:dhd_watchdog_thread:1501 started
[ 8.492795] dhd_attach(): thread:dhd_dpc:1505 started
[ 8.497696] dhd_attach(): thread:dhd_rxf:150a started
[ 8.497706] dhd_deferred_work_init: work queue initialized
[ 8.499594]
Dongle Host Driver, version 1.201.82 (r)
Compiled from
[ 8.499970] Register interface [wlan0] MAC: 00:04:4b:c7:77:62

[ 8.499975] dhd_prot_ioctl : bus is down. we have nothing to do
[ 8.500212] sdhci-tegra 3440000.sdhci: Tuning done, restoring the best tap value : 57
[ 8.501257] wifi_platform_set_power = 0
[ 8.630239] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 8.717452] gpio tegra-gpio wake18 for gpio=101(M:5)
[ 8.720061] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 8.821738] CPU1: shutdown
[ 8.824476] psci: CPU1 killed.
[ 8.917427] CPU2: shutdown
[ 8.920194] psci: CPU2 killed.
[ 9.060952] zram: Added device: zram0
[ 9.062839] zram: Added device: zram1
[ 9.063225] zram: Added device: zram2
[ 9.068684] zram: Added device: zram3
[ 9.093268] zram0: detected capacity change from 0 to 1030303744
[ 9.132154] Adding 1006152k swap on /dev/zram0. Priority:5 extents:1 across:1006152k SS
[ 9.136651] zram1: detected capacity change from 0 to 1030303744
[ 9.153860] Adding 1006152k swap on /dev/zram1. Priority:5 extents:1 across:1006152k SS
[ 9.159452] zram2: detected capacity change from 0 to 1030303744
[ 9.190566] Adding 1006152k swap on /dev/zram2. Priority:5 extents:1 across:1006152k SS
[ 9.199162] zram3: detected capacity change from 0 to 1030303744
[ 9.212942] Adding 1006152k swap on /dev/zram3. Priority:5 extents:1 across:1006152k SS
[ 9.711707] input: Logitech M215 2nd Gen as /devices/3530000.xhci/usb1/1-3/1-3:1.2/0003:046D:C52B.0003/0003:046D:401B.0004/input/input5
[ 9.711955] logitech-hidpp-device 0003:046D:401B.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech M215 2nd Gen] on usb-3530000.xhci-3:1
[ 9.715902] input: Logitech K330 as /devices/3530000.xhci/usb1/1-3/1-3:1.2/0003:046D:C52B.0003/0003:046D:4016.0005/input/input6
[ 9.716733] logitech-hidpp-device 0003:046D:4016.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech K330] on usb-3530000.xhci-3:2
[ 9.721971] input: Logitech M570 as /devices/3530000.xhci/usb1/1-3/1-3:1.2/0003:046D:C52B.0003/0003:046D:1028.0006/input/input7
[ 9.722263] logitech-hidpp-device 0003:046D:1028.0006: input,hidraw3: USB HID v1.11 Mouse [Logitech M570] on usb-3530000.xhci-3:3
[ 9.728018] input: Logitech M570 as /devices/3530000.xhci/usb1/1-3/1-3:1.2/0003:046D:C52B.0003/0003:046D:1028.0007/input/input8
[ 9.728322] logitech-hidpp-device 0003:046D:1028.0007: input,hidraw4: USB HID v1.11 Mouse [Logitech M570] on usb-3530000.xhci-3:4
[ 9.733917] input: Logitech K360 as /devices/3530000.xhci/usb1/1-3/1-3:1.2/0003:046D:C52B.0003/0003:046D:4004.0008/input/input9
[ 9.734513] logitech-hidpp-device 0003:046D:4004.0008: input,hidraw5: USB HID v1.11 Keyboard [Logitech K360] on usb-3530000.xhci-3:5
[ 9.934482] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 9.934600]

           Dongle Host Driver, version 1.201.82 (r)
           Compiled from 

[ 9.934607] wl_android_wifi_on in
[ 9.934611] wifi_platform_set_power = 1
[ 10.145643] vdd-1v8: voltage operation not allowed
[ 10.145653] sdhci-tegra 3440000.sdhci: could not set regulator OCR (-1)
[ 10.164708] vdd-1v8: voltage operation not allowed
[ 10.164716] sdhci-tegra 3440000.sdhci: could not set regulator OCR (-1)
[ 10.185540] vdd-1v8: voltage operation not allowed
[ 10.185547] sdhci-tegra 3440000.sdhci: could not set regulator OCR (-1)
[ 10.187949] vdd-1v8: voltage operation not allowed
[ 10.187956] sdhci-tegra 3440000.sdhci: could not set regulator OCR (-1)
[ 10.289830] vdd-1v8: voltage operation not allowed
[ 10.289850] sdhci-tegra 3440000.sdhci: could not set regulator OCR (-1)
[ 10.290819] vdd-1v8: voltage operation not allowed
[ 10.290833] sdhci-tegra 3440000.sdhci: could not set regulator OCR (-1)
[ 10.292447] vdd-1v8: voltage operation not allowed
[ 10.292460] sdhci-tegra 3440000.sdhci: could not set regulator OCR (-1)
[ 10.292490] sdhci-tegra 3440000.sdhci: Tuning done, restoring the best tap value : 57
[ 10.293426] F1 signature read @0x18000000=0x17214354
[ 10.299217] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x1 pkg:0x2
[ 10.299947] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[ 10.379939] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 10.442229] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 10.442568] gpio tegra-gpio-aon wake69 for gpio=59(FF:3)
[ 10.442638] gpio tegra-gpio-aon wake69 for gpio=59(FF:3)
[ 10.442640] Enabling wake69
[ 10.444069] wifi_platform_get_mac_addr
[ 10.445947] Firmware up: op_mode=0x0005, MAC=00:04:4b:c7:77:62
[ 10.450668] clm path from default:/lib/firmware/brcm/bcmdhd.clm_blob
[ 10.450712] Skipping the clm download. len:0 memblk: (null)
[ 10.453121] dhd_preinit_ioctls pspretend_threshold for HostAPD failed -23
[ 10.458508] Firmware version = wl0: May 17 2019 16:59:40 version 7.35.349.79 (r714996 CY) FWID 01-e527e2ad
[ 10.461096] dhd_interworking_enable: failed to set WNM info, ret=-23
[ 10.551905] CFGP2P-ERROR) wl_cfgp2p_add_p2p_disc_if :
[ 10.551905] P2P interface registered
[ 10.560115] WLC_E_IF: NO_IF set, event Ignored
[ 10.567590] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 12.275166] [11-03 08:23:59.289] wl_cfg80211_connect: Connectting with c4:a8:1d:87:76:f0 channel (4) ssid “MeLaLi”, len (6)

[ 12.346273] [11-03 08:23:59.360] wl_notify_connect_status: wl_bss_connect_done succeeded with c4:a8:1d:87:76:f0
[ 12.347937] [11-03 08:23:59.362] dhd_dump_eapol_4way_message: ifidx: 0 ETHER_TYPE_802_1X [RX] : M1 of 4way
[ 12.372858] wl_bss_connect_done :
[ 12.372859] Report connect result - connection succeeded
[ 12.375909] [11-03 08:23:59.390] dhd_dump_eapol_4way_message: ifidx: 0 ETHER_TYPE_802_1X [TX] : M2 of 4way
[ 12.381384] [11-03 08:23:59.396] dhd_dump_eapol_4way_message: ifidx: 0 ETHER_TYPE_802_1X [RX] : M3 of 4way
[ 12.381996] [11-03 08:23:59.396] dhd_dump_eapol_4way_message: ifidx: 0 ETHER_TYPE_802_1X [TX] : M4 of 4way
[ 12.406483] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 12.422694] [11-03 08:23:59.437] wl_notify_connect_status: wl_bss_connect_done succeeded with c4:a8:1d:87:76:f0
[ 12.460114] dhd_ndo_add_ip: ndo ip addr add failed, ret = -23
[ 12.460128] dhd_inet6_work_handler: Adding host ip for NDO failed -23
[ 12.504884] ifidx:0 DHCP - REQUEST [TX]
[ 12.559378] ifidx:0 DHCP - ACK [RX]
[ 12.903806] tegradc 15210000.nvdisplay: blank - powerdown
[ 12.955237] extcon-disp-state external-connection:disp-state: cable 47 state 0
[ 12.955239] Extcon AUX1(HDMI) disable
[ 12.978820] tegra_nvdisp_handle_pd_disable: Powergated Head2 pd
[ 12.978897] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
[ 12.979518] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
[ 12.979638] tegradc 15210000.nvdisplay: unblank
[ 12.980431] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[ 12.980512] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[ 12.980592] tegra_nvdisp_handle_pd_enable: Unpowergated Head2 pd
[ 12.981872] Parent Clock set for DC plld2
[ 12.984844] tegradc 15210000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m
[ 12.986055] tegradc 15210000.nvdisplay: hdmi: get RGB quant from EDID.
[ 12.986061] tegradc 15210000.nvdisplay: hdmi: get YCC quant from EDID.
[ 12.990345] extcon-disp-state external-connection:disp-state: cable 47 state 1
[ 12.990347] Extcon AUX1(HDMI) enable
[ 12.990402] tegradc 15210000.nvdisplay: unblank
[ 13.887129] fuse init (API version 7.26)
[ 14.177223] dhd_ndo_add_ip: ndo ip addr add failed, ret = -23
[ 14.177235] dhd_inet6_work_handler: Adding host ip for NDO failed -23
[ 14.178038] dhd_ndo_add_ip: ndo ip addr add failed, ret = -23
[ 14.178047] dhd_inet6_work_handler: Adding host ip for NDO failed -23
[ 14.261558] CAN device driver interface
[ 14.286136] Message RAM Configuration
| base addr |0x0c312000|
| sidfc_flssa |0x00000000|
| xidfc_flesa |0x00000040|
| rxf0c_f0sa |0x000000c0|
| rxf1c_f1sa |0x000009c0|
| rxbc_rbsa |0x000009c0|
| txefc_efsa |0x000009c0|
| txbc_tbsa |0x00000a40|
| tmc_tmsa |0x00000ec0|
[ 14.286308] Release 3.2.0 from 19.12.2014
[ 14.286764] net can0: mttcan device registered (regs=ffffff80123aa000, irq=387)
[ 14.289551] Message RAM Configuration
| base addr |0x0c322000|
| sidfc_flssa |0x00000000|
| xidfc_flesa |0x00000040|
| rxf0c_f0sa |0x000000c0|
| rxf1c_f1sa |0x000009c0|
| rxbc_rbsa |0x000009c0|
| txefc_efsa |0x000009c0|
| txbc_tbsa |0x00000a40|
| tmc_tmsa |0x00000ec0|
[ 14.289724] Release 3.2.0 from 19.12.2014
[ 14.294511] net can1: mttcan device registered (regs=ffffff80123b9000, irq=388)
[ 15.923345] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 15.923357] Bluetooth: BNEP socket layer initialized
[ 18.182451] gpio tegra-gpio wake54 for gpio=160(Y:0)
[ 18.182971] gpio tegra-gpio wake58 for gpio=166(Y:6)
[ 18.183082] gpio tegra-gpio-aon wake29 for gpio=56(FF:0)
[ 18.183179] gpio tegra-gpio-aon wake25 for gpio=3(S:3)
[ 18.188784] usb usb2: usb_suspend_both: status 0
[ 18.583442] mttcan c310000.mttcan can0: Bitrate set
[ 18.629473] mttcan_controller_config: ctrlmode 0
[ 18.629496] mttcan c310000.mttcan can0: Bitrate set
[ 18.676091] can: raw protocol (rev 20120528)
[ 28.563910] tegra-i2c 3180000.i2c: no acknowledge from address 0x1a
[ 28.570273] imx185 2-001a: imx185_write_reg: i2c write failed, 0x3003 = 1

hello LasseRoedtnes,

please note that there’s buffer limitation for the logging, you may reboot the system and check the very beginning parts of kernel logs.
you could also setup serail console for an alternative ways to gather logs.
thanks

Hi Jerry,

You are right sorry - here is the more complete output (with other stuff removed)

[ 0.467540] GPIO line 461 (camera-co-high) hogged as output/high
[ 0.467593] GPIO line 456 (camera-co-high) hogged as output/high
[ 0.467626] GPIO line 424 (wifi-enable) hogged as output/high
[ 0.467660] GPIO line 445 (sdmmc-wake-support-input) hogged as input
[ 0.467716] GPIO line 446 (sdmmc-wake-support-output) hogged as output/low
[ 0.467750] GPIO line 397 (run-button-led-pj5) hogged as output/high
[ 0.467781] GPIO line 394 (film-door-open-pj2) hogged as input
[ 0.467812] GPIO line 395 (top-interrupt-pj3) hogged as input
[ 0.467842] GPIO line 392 (lsi-interrupt-pj0) hogged as input
[ 0.467876] GPIO line 398 (lsi-reset-pj6) hogged as output/low
[ 0.467920] GPIO line 489 (lsi-aux1-pbb1) hogged as output/high
[ 0.467973] GPIO line 488 (shutter-open-pbb0) hogged as input
[ 0.468011] GPIO line 481 (shutter-closed-py1) hogged as input
[ 0.468061] GPIO line 480 (end-of-film-py0) hogged as input
[ 0.468091] GPIO line 428 (jam-switch-pn4) hogged as input
[ 0.468120] GPIO line 427 (internal-hall-pn3) hogged as input
[ 0.468151] GPIO line 429 (lsi-aux3-pn5) hogged as output/low
[ 0.468183] GPIO line 430 (lsi-aux2-pn6) hogged as output/low
[ 0.468221] GPIO line 486 (fan-alert-py6) hogged as input
[ 0.468281] GPIO line 482 (lsi-dc-py2) hogged as output/low
[ 0.468645] gpiochip_setup_dev: registered GPIOs 320 to 511 on device: gpiochip0 (tegra-gpio)
[ 0.474362] GPIO line 315 (wifi-wake-ap) hogged as input
[ 0.474400] GPIO line 298 (eof-override-paa2) hogged as output/low
[ 0.474440] GPIO line 259 (unstable-vbat-ps3) hogged as input
[ 0.474498] GPIO line 314 (safety-switch-ff2) hogged as output/high
[ 0.474795] gpiochip_setup_dev: registered GPIOs 256 to 319 on device: gpiochip1 (tegra-gpio-aon)

[ 0.580819] GPIO line 253 (spmic_gpio_input) hogged as input
[ 0.580994] GPIO line 254 (spmic_gpio_input) hogged as input
[ 0.581332] gpiochip_setup_dev: registered GPIOs 248 to 255 on device: gpiochip2 (max77620-gpio)

[ 1.991154] GPIO line 224 (top_out_high) hogged as output/high
[ 1.991451] GPIO line 225 (top_out_high) hogged as output/high
[ 1.991682] GPIO line 226 (top_out_high) hogged as output/high
[ 1.991806] GPIO line 227 (top_in) hogged as input
[ 1.991921] GPIO line 228 (top_in) hogged as input
[ 1.992035] GPIO line 232 (top_in) hogged as input
[ 1.992100] tegra-vi4 15700000.vi: initialized
[ 1.992155] GPIO line 236 (top_in) hogged as input
[ 1.992270] GPIO line 238 (top_in) hogged as input
[ 1.992385] GPIO line 239 (top_in) hogged as input
[ 1.992618] GPIO line 229 (top_out_low) hogged as output/low
[ 1.992867] GPIO line 230 (top_out_low) hogged as output/low
[ 1.992937] tegra-vi4 15700000.vi: subdev 150c0000.nvcsi–3 bound
[ 1.993039] tegra-vi4 15700000.vi: subdev 150c0000.nvcsi–2 bound
[ 1.993110] tegra-vi4 15700000.vi: subdev 150c0000.nvcsi–1 bound
[ 1.993120] GPIO line 231 (top_out_low) hogged as output/low
[ 1.993347] GPIO line 234 (top_out_low) hogged as output/low
[ 1.993591] GPIO line 235 (top_out_low) hogged as output/low
[ 1.993816] GPIO line 237 (top_out_low) hogged as output/low
[ 1.994051] GPIO line 240 (top_out_low) hogged as output/low
[ 1.994279] GPIO line 241 (top_out_low) hogged as output/low
[ 1.994522] GPIO line 243 (top_out_low) hogged as output/low
[ 1.994847] GPIO line 244 (top_out_low) hogged as output/low
[ 1.995078] GPIO line 245 (top_out_low) hogged as output/low
[ 1.995307] GPIO line 246 (top_out_low) hogged as output/low
[ 1.995536] GPIO line 247 (top_out_low) hogged as output/low
[ 1.995680] gpiochip_setup_dev: registered GPIOs 224 to 247 on device: gpiochip3 (tca6424)
[ 1.996751] magellan-sdi 0-004c: requested gpio 231 adv-reset
[ 1.997019] magellan-sdi 0-004c: requested gpio 233 sdi-enabled
[ 1.997251] magellan-sdi 0-004c: requested gpio 234 sdi-standby
[ 1.997484] magellan-sdi 0-004c: requested gpio 235 sdi-rate-sel
[ 1.997722] magellan-sdi 0-004c: requested gpio 237 sdi-reset
[ 1.997725] magellan-sdi 0-004c: Setting gpios

[ 2.538843] gpio tegra-gpio wake64 for gpio=70(I:6)
[ 2.538897] gpio tegra-gpio wake9 for gpio=16(C:0)
[ 2.538996] gpio tegra-gpio wake8 for gpio=13(B:5)

[ 17.871329] gpio tegra-gpio wake54 for gpio=160(Y:0)
[ 17.871425] gpio tegra-gpio wake58 for gpio=166(Y:6)
[ 17.871535] gpio tegra-gpio-aon wake29 for gpio=56(FF:0)
[ 17.871636] gpio tegra-gpio-aon wake25 for gpio=3(S:3)

As mentioned if i cat the value of the pins it always returns 0 despite me measuring a logic 1 on the physical pin.
I have tried setting the pin to physical logic 0 but that also returns a 0 from the value register.

Yt
Lasse

Hi @JerryChang

There is certainly some odd bug going on here!

If i do this straight after booting:

logmar@logmar-desktop:/usr/local/cameraapp$ cd /sys/class/gpio/
logmar@logmar-desktop:/sys/class/gpio$ echo 486 > export
logmar@logmar-desktop:/sys/class/gpio$ cd gpio486
logmar@logmar-desktop:/sys/class/gpio/gpio486$ cat value
0
logmar@logmar-desktop:/sys/class/gpio/gpio486$ cat direction
in
logmar@logmar-desktop:~$ python3
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

import gpio
gpio.setup(486, gpio.IN)
gpio.read(486)
1

If I then exit python and read with sysfs again it now returns 1
logmar@logmar-desktop:/sys/class/gpio/gpio486$ cat value
1

How on earth can this happen !!!???

Also if I tie the pin physically low then the status now correctly shows 0 via cat as well and it does go to 1 once I apply 1.8V to the pin.

Thanks
Lasse

Hi @JerryChang

I investigated it further and if I purposefully set a 0 to active_low the pin becomes operational.

If i do this from boot:
root@logmar-desktop:/home/logmar# cd /sys/class/gpio
root@logmar-desktop:/sys/class/gpio# echo 486 > export
root@logmar-desktop:/sys/class/gpio# cd gpio486
root@logmar-desktop:/sys/class/gpio/gpio486# cat value
0
root@logmar-desktop:/sys/class/gpio/gpio486# echo 0 > active_low
root@logmar-desktop:/sys/class/gpio/gpio486# cat value
1

But this should be the default state if nothing else is specified in the DTS so why is this ?

hello LasseRoedtnes,

yes, it’s device tree to include GPIO definitions.
you may disassembler the dtb file into text file for quick checking,
for example,
$ dtc -I dtb -O dts -o output.txt tegra186-quill-p3310-1000-c03-00-base.dtb

please note that,
if there’s pinmux changes, it’ll also have MB1 Configuration Changes that might overwrite the settings.
you should also check mb1-bct configuration files for examination.
i.e. $OUT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-quill-p3310-1000-a00.cfg

BTW,
please also refer to discussion thread, Topic 144550 for several ways to access/control GPIOs; such as, kernel APIs, python scripts, C++ samples.
thanks

Hi JerryChang

I updated both my DTS and MB1 configuration however the problem persists.

Please investigate this from your side as it must be a bug.

I checked A22/GPIO3_PY.06 on my board and it works properly as an input GPIO, reading both HI/1 and LO/0 when the voltage changes. Double check your PADCTL_UART_GPIO_MDM7 @ 0x0243d090 and make sure it is programmed properly for reading as a GPIO.

Here is mine:

# devmem2 0x0243d090
/dev/mem opened.
Memory mapped at address 0x7f888b2000.
Read at address  0x0243D090 (0x7f888b2090): 0x00000058

Decoded 0x58 value:

ENABLE[6]      = 1 (ENABLE)
TRISTATE[4]    = 1 (TRISTATE)
PULL_DOWN[3:2] = 2 (PULL_UP)
RSVD0[1:0]     = 0

I do not have access to B23/GPIO3_PS.03 on my board, but it appears to work properly as a GPIO input also when I control the pull-up/pull-down on the processor:

/sys/class/gpio# devmem2 0x0c301030
Read at address  0x0C301030 (0x7f8f2a8030): 0x00000059 # PULL-UP is enabled
/sys/class/gpio# echo 259 > export
/sys/class/gpio# cd gpio259/
/sys/class/gpio/gpio259# echo in > direction
/sys/class/gpio/gpio259# cat value 
1
/sys/class/gpio/gpio259# devmem2 0x0c301030 w 0x55
Read at address  0x0C301030 (0x7fa7359030): 0x00000059 # PULL-DOWN is enabled
/sys/class/gpio/gpio259# cat value 
0
/sys/class/gpio/gpio259# devmem2 0x0c301030 w 0x59
Write at address 0x0C301030 (0x7fabe20030): 0x00000059, readback 0x00000059 # PULL-UP is enabled
/sys/class/gpio/gpio259# cat value 
1

Note: the test of B23/GPIO3_PS.03 is not definitive as sometimes the SoM places a buffer on the pin before getting to the SoC and the signal does not get through from the outside to the processor.