about kernel

A

hi all
After compiling the kernel, download DTB , zImage and Image again,rebooting all the time

[code]
[0000.175] [TegraBoot] (version 00.00.2014.50-mobile-74f4eeb7)
[0000.181] Processing in cold boot mode Bootloader 2
[0000.185] A02 Bootrom Patch rev = 63
[0000.189] Power-up reason: software reset
[0000.193] No Battery Present
[0000.195] RamCode = 0
[0000.198] Platform has Ddr4 type ram
[0000.201] max77620 disabling SD1 Remote Sense
[0000.205] Setting Ddr voltage to 1125mv
[0000.209] Serial Number of Pmic Max77663: 0xf00b3
[0000.217] Entering ramdump check
[0000.220] Get RamDumpCarveOut = 0xff280000
[0000.224] RamDumpCarveOut=0xff280000, RamDumperFlag=0x0
[0000.229] Last reboot was clean, booting normally!
[0000.233] Sdram initialization is successful
[0000.237] SecureOs Carveout Base=0x00000000ff800000 Size=0x00800000
[0000.244] Lp0 Carveout Base=0x00000000ff780000 Size=0x00001000
[0000.249] BpmpFw Carveout Base=0x00000000ff700000 Size=0x00080000
[0000.255] GSC1 Carveout Base=0x00000000ff600000 Size=0x00100000
[0000.261] GSC2 Carveout Base=0x00000000ff500000 Size=0x00100000
[0000.267] GSC4 Carveout Base=0x00000000ff400000 Size=0x00100000
[0000.273] GSC5 Carveout Base=0x00000000ff300000 Size=0x00100000
[0000.279] GSC3 Carveout Base=0x000000017f300000 Size=0x00d00000
[0000.295] RamDump Carveout Base=0x00000000ff280000 Size=0x00080000
[0000.301] Platform-DebugCarveout: 0
[0000.304] Nck Carveout Base=0x00000000ff080000 Size=0x00200000
[0000.310] Non secure mode, and RB not enabled.
[0000.350] Using GPT Primary to query partitions
[0000.355] Loading Tboot-CPU binary
[0000.404] Verifying TBC in OdmNonSecureSBK mode
[0000.413] Bootloader load address is 0xa0000000, entry address is 0xa0000258
[0000.420] Bootloader downloaded successfully.
[0000.425] Downloaded Tboot-CPU binary to 0xa0000258
[0000.430] MAX77620_GPIO1 Configured.
[0000.433] MAX77620_GPIO5 Configured.
[0000.437] CPU power rail is up
[0000.439] CPU clock enabled
[0000.443] Performing RAM repair
[0000.446] Updating A64 Warmreset Address to 0xa00002e9
[0000.451] Loading NvTbootBootloaderDTB
[0000.546] Verifying NvTbootBootloaderDTB in OdmNonSecureSBK mode
[0000.664] Bootloader DTB Load Address: 0x83000000
[0000.669] Loading NvTbootKernelDTB
[0000.763] Verifying NvTbootKernelDTB in OdmNonSecureSBK mode
[0000.882] Kernel DTB Load Address: 0x83100000
[0000.887] Loading cboot binary
[0000.981] Verifying EBT in OdmNonSecureSBK mode
[0001.017] Bootloader load address is 0x92c00000, entry address is 0x92c00258
[0001.024] Bootloader downloaded successfully.
[0001.028] GPT: Partition NOT found !
[0001.032] Find Partition via GPT Failed
[0001.035] Find Partition via PT Failed
[0001.039] Error in NvTbootLoadBinary: 0x1 !
[0001.043] Next binary entry address: 0x92c00258
[0001.047] BoardId: 2180
[0001.053] WB0 init successful
[0001.068] Verifying SC7EntryFw in OdmNonSecureSBK mode
[0001.153] /bpmp deleted
[0001.155] SC7EntryFw header found loaded at 0xff700000
[0001.358] OVR2 PMIC
[0001.360] Bpmp FW successfully loaded
[0001.364] Set NvDecSticky Bits
[0001.367] GSC2 address ff53fffc value c0edbbcc
[0001.373] GSC MC Settings done
[0001.377] TOS plaintext Image length 41264
[0001.381] Monitor size 41264
[0001.384] OS size 0
[0001.387] *** Secure OS image signature not verified ***
[0001.392] Loading and Validation of Secure OS Successful
[0001.397] SC7 Entry Firmware - 0xff700000, 0x4000
[0001.402] NvTbootPackSdramParams: start.
[0001.407] NvTbootPackSdramParams: done.
[0001.411] Tegraboot started after 155151 us
[0001.415] Basic modules init took 922826 us
[0001.419] Sec Bootdevice Read Time = 344 ms, Read Size = 15256 KB
[0001.425] Sec Bootdevice Write Time = 0 ms, Write Size = 0 KB
[0001.430] Next stage binary read took 788 us
[0001.434] Carveout took -3708 us
[0001.437] CPU initialization took 370131 us
[0001.441] Total time taken by TegraBoot 1290037 us

[0001.446] Starting CPU & Halting co-processor

64NOTICE: BL31: v1.2(release):27881aa
NOTICE: BL31: Built : 10:22:41, Mar 25 2019
NOTICE: Trusty image missing.
ERROR: Error initializing runtime service trusty_fast
[0001.587] RamCode = 0
[0001.608] LPDDR4 Training: Read DT: Number of tables = 10
[0001.613] EMC Training (SRC-freq: 204000; DST-freq: 408000)
[0001.619] EMC Training Successful
[0001.622] EMC Training (SRC-freq: 204000; DST-freq: 665600)
[0001.628] EMC Training Successful
[0001.631] EMC Training (SRC-freq: 204000; DST-freq: 800000)
[0001.643] EMC Training Successful
[0001.646] EMC Training (SRC-freq: 204000; DST-freq: 1065600)
[0001.669] EMC Training Successful
[0001.672] EMC Training (SRC-freq: 204000; DST-freq: 1331200)
[0001.693] EMC Training Successful
[0001.696] EMC Training (SRC-freq: 204000; DST-freq: 1600000)
[0001.716] EMC Training Successful
[0001.719] Switching to 800000 KHz Success
[0001.728] RamCode = 0
[0001.732] DT Write: emc-table@40800 succeeded
[0001.738] DT Write: emc-table@68000 succeeded
[0001.744] DT Write: emc-table@102000 succeeded
[0001.750] DT Write: emc-table@204000 succeeded
[0001.756] DT Write: emc-table@408000 succeeded
[0001.762] DT Write: emc-table@665600 succeeded
[0001.768] DT Write: emc-table@800000 succeeded
[0001.774] DT Write: emc-table@1065600 succeeded
[0001.781] DT Write: emc-table@1331200 succeeded
[0001.787] DT Write: emc-table@1600000 succeeded
[0001.791] LPDDR4 Training: Write DT: Number of tables = 10
[0001.841]
[0001.842] Debug Init done
[0001.845] Marked DTB cacheable
[0001.848] Bootloader DTB loaded at 0x83000000
[0001.853] Marked DTB cacheable
[0001.855] Kernel DTB loaded at 0x83100000
[0001.859] DeviceTree Init done
[0001.878] Pinmux applied successfully
[0001.884] gicd_base: 0x50041000
[0001.888] gicc_base: 0x50042000
[0001.891] Interrupts Init done
[0001.897] Using base:0x60005008 & irq:33 for tick-timer
[0001.902] Using base:0x60005000 for delay-timer
[0001.906] platform_init_timer: DONE
[0001.910] Timer(tick) Init done
[0001.915] osc freq = 38400 khz
[0001.920]
[0001.921] welcome to cboot
[0001.924]
[0001.925] Cboot Version: 00.00.2014.50-t210-b380f72f
[0001.930] calling constructors
[0001.933] initializing heap
[0001.936] initializing threads
[0001.938] initializing timers
[0001.941] creating bootstrap completion thread
[0001.946] top of bootstrap2()
[0001.949] CPU: ARM Cortex A57
[0001.951] CPU: MIDR: 0x411FD071, MPIDR: 0x80000000
[0001.956] initializing platform
[0001.962] cboot:secure-pmc present
[0001.999] config for ddr50 mode completed
[0002.003] sdmmc bdev is already initialized
[0002.007] Enable APE clock
[0002.009] Un-powergate APE partition
[0002.013] of_register: registering tegra_udc to of_hal
[0002.018] of_register: registering inv20628-driver to of_hal
[0002.024] of_register: registering ads1015-driver to of_hal
[0002.029] of_register: registering lp8557-bl-driver to of_hal
[0002.035] of_register: registering bq2419x_charger to of_hal
[0002.041] of_register: registering cpc to of_hal
[0002.045] of_register: registering bq27441_fuel_gauge to of_hal
[0002.062] gpio framework initialized
[0002.066] of_register: registering tca9539_gpio to of_hal
[0002.071] of_register: registering tca9539_gpio to of_hal
[0002.076] of_register: registering i2c_bus_driver to of_hal
[0002.082] of_register: registering i2c_bus_driver to of_hal
[0002.087] of_register: registering i2c_bus_driver to of_hal
[0002.093] pmic framework initialized
[0002.096] of_register: registering max77620_pmic to of_hal
[0002.102] regulator framework initialized
[0002.106] of_register: registering tegra_xhci to of_hal
[0002.111] initializing target
[0002.120] gpio_driver_register: register ‘tegra_gpio_driver’ driver
[0002.131] fixed regulator driver initialized
[0002.196] initializing OF layer
[0002.199] NCK carveout not present
[0002.203] Skipping dts_overrides
[0002.207] of_children_init: Ops found for compatible string nvidia,tegra210-xhci
[0002.215] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.241] I2C Bus Init done
[0002.243] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.257] I2C Bus Init done
[0002.260] of_children_init: Ops found for compatible string ti,tca9539
[0002.272] tca9539_init: i2c bus: 2, slave addr: 0xe8
[0002.277] I2C slave not started
[0002.280] I2C write failed
[0002.283] i2c write failed
[0002.285] Slave: 0xe8, Register 0x4 Instance 2, Buffer Size: 0
[0002.291] tca9539_device_init: failed to write polar reg
[0002.297] tca9539_init: failed to init device!
[0002.301] of_children_init: Ops found for compatible string ti,tca9539
[0002.314] tca9539_init: i2c bus: 2, slave addr: 0xee
[0002.319] I2C slave not started
[0002.322] I2C write failed
[0002.324] i2c write failed
[0002.327] Slave: 0xee, Register 0x4 Instance 2, Buffer Size: 0
[0002.333] tca9539_device_init: failed to write polar reg
[0002.338] tca9539_init: failed to init device!
[0002.342] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.356] I2C Bus Init done
[0002.359] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.372] I2C Bus Init done
[0002.375] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.389] I2C Bus Init done
[0002.391] of_children_init: Ops found for compatible string maxim,max77620
[0002.405] max77620_init using irq 118
[0002.410] register ‘maxim,max77620’ pmic
[0002.415] gpio_driver_register: register ‘max77620-gpio’ driver
[0002.421] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.435] I2C Bus Init done
[0002.439] NCK carveout not present
[0002.443] shim_invoke: No NCT, Calling dts updates
[0002.461] Find /i2c@7000c000’s alias i2c0
[0002.465] get eeprom at 1-a2, size 256, type 0
[0002.469] get eeprom at 1-ae, size 256, type 0
[0002.482] Find /i2c@7000c400’s alias i2c1
[0002.486] get eeprom at 2-a0, size 256, type 0
[0002.499] Find /i2c@7000c500’s alias i2c2
[0002.503] get eeprom at 3-a0, size 256, type 0
[0002.507] get eeprom at 3-ae, size 256, type 0
[0002.519] Find /host1x/i2c@546c0000’s alias i2c6
[0002.523] get eeprom at 7-a8, size 256, type 0
[0002.528] pm_ids_update: Updating 1,a2, size 256, type 0
[0002.533] I2C slave not started
[0002.536] I2C write failed
[0002.539] Writing offset failed
[0002.542] eeprom_init: EEPROM read failed
[0002.546] pm_ids_update: eeprom init failed
[0002.550] pm_ids_update: Updating 1,ae, size 256, type 0
[0002.555] I2C slave not started
[0002.558] I2C write failed
[0002.561] Writing offset failed
[0002.564] eeprom_init: EEPROM read failed
[0002.568] pm_ids_update: eeprom init failed
[0002.572] pm_ids_update: Updating 2,a0, size 256, type 0
[0002.577] I2C slave not started
[0002.580] I2C write failed
[0002.583] Writing offset failed
[0002.586] eeprom_init: EEPROM read failed
[0002.590] pm_ids_update: eeprom init failed
[0002.594] pm_ids_update: Updating 3,a0, size 256, type 0
[0002.624] pm_ids_update: The pm board id is 2180-1000-410
[0002.633] Adding plugin-manager/ids/2180-1000-410=/i2c@7000c500:module@0x50
[0002.643] pm_ids_update: pm id update successful
[0002.648] pm_ids_update: Updating 3,ae, size 256, type 0
[0002.653] I2C slave not started
[0002.656] I2C write failed
[0002.659] Writing offset failed
[0002.662] eeprom_init: EEPROM read failed
[0002.665] pm_ids_update: eeprom init failed
[0002.670] pm_ids_update: Updating 7,a8, size 256, type 0
[0002.676] GPIO driver for phandle 0xd2 could not be found
[0002.682] I2C slave not started
[0002.685] I2C write failed
[0002.687] Writing offset failed
[0002.690] eeprom_init: EEPROM read failed
[0002.694] pm_ids_update: eeprom init failed
[0002.700] GPIO driver for phandle 0xd2 could not be found
[0002.733] updating /chosen/nvidia,wifi-mac node 00:04:4b:66:de:ec
[0002.742] updating /chosen/nvidia,bluetooth-mac node 00:04:4b:66:de:ed
[0002.751] updating /chosen/nvidia,ethernet-mac node 00:04:4b:66:de:ee
[0002.757] Plugin Manager: Parse ODM data 0x00084000
[0002.790] Find /i2c@7000c000’s alias i2c0
[0002.794] get eeprom at 1-a2, size 256, type 0
[0002.798] get eeprom at 1-ae, size 256, type 0
[0002.811] Find /i2c@7000c400’s alias i2c1
[0002.815] get eeprom at 2-a0, size 256, type 0
[0002.829] Find /i2c@7000c500’s alias i2c2
[0002.833] get eeprom at 3-a0, size 256, type 0
[0002.837] get eeprom at 3-ae, size 256, type 0
[0002.848] Find /host1x/i2c@546c0000’s alias i2c6
[0002.853] get eeprom at 7-a8, size 256, type 0
[0002.857] pm_ids_update: Updating 1,a2, size 256, type 0
[0002.863] I2C slave not started
[0002.866] I2C write failed
[0002.868] Writing offset failed
[0002.871] eeprom_init: EEPROM read failed
[0002.875] pm_ids_update: eeprom init failed
[0002.879] pm_ids_update: Updating 1,ae, size 256, type 0
[0002.885] I2C slave not started
[0002.888] I2C write failed
[0002.890] Writing offset failed
[0002.893] eeprom_init: EEPROM read failed
[0002.897] pm_ids_update: eeprom init failed
[0002.901] pm_ids_update: Updating 2,a0, size 256, type 0
[0002.907] I2C slave not started
[0002.910] I2C write failed
[0002.912] Writing offset failed
[0002.915] eeprom_init: EEPROM read failed
[0002.919] pm_ids_update: eeprom init failed
[0002.923] pm_ids_update: Updating 3,a0, size 256, type 0
[0002.953] pm_ids_update: The pm board id is 2180-1000-410
[0002.961] Adding plugin-manager/ids/2180-1000-410=/i2c@7000c500:module@0x50
[0002.968] pm_ids_update: pm id update successful
[0002.972] pm_ids_update: Updating 3,ae, size 256, type 0
[0002.978] I2C slave not started
[0002.981] I2C write failed
[0002.983] Writing offset failed
[0002.986] eeprom_init: EEPROM read failed
[0002.990] pm_ids_update: eeprom init failed
[0002.994] pm_ids_update: Updating 7,a8, size 256, type 0
[0003.001] GPIO driver for phandle 0xd2 could not be found
[0003.007] I2C slave not started
[0003.010] I2C write failed
[0003.012] Writing offset failed
[0003.015] eeprom_init: EEPROM read failed
[0003.019] pm_ids_update: eeprom init failed
[0003.025] GPIO driver for phandle 0xd2 could not be found
[0003.057] Chip UID is 00000001640d06c8240000000d050540
[0003.065] shim_cmdline_install: /chosen/bootargs: root=/dev/mmcblk0p1 rw rootwait console=ttyS0,115200n8 console=tty0 OS=l4t fbcon=map:0 net.ifnames=0 androidboot.modem=none androidboot.serialno=03239161417060400505 androidboot.security=non-secure
[0003.088] Add serial number:03239161417060400505 as DT property
[0003.096] calling apps_init()
[0003.101] Found 19 GPT partitions in “sdmmc3_user”
[0003.105] Proceeding to Cold Boot
[0003.108] starting app android_boot_app
[0003.112] Device state: unlocked
[0003.115] display console init
[0003.123] status of dsi node is not okay
[0003.133] enabling ‘vdd-hdmi’ regulator
[0003.136] GPIO driver for phandle 0xd3 could not be found
[0003.142] hdmi cable connected
[0003.157] edid read success
[0003.168] DT entry for leds-pwm not found
[0003.179] edid read success
[0003.182] width = 640, height = 480, frequency = 25174825
[0003.187] width = 640, height = 480, frequency = 25174825
[0003.192] width = 640, height = 480, frequency = 25174825
[0003.198] width = 1920, height = 1080, frequency = 148500000
[0003.203] width = 1280, height = 768, frequency = 79500000
[0003.209] width = 1366, height = 768, frequency = 85500000
[0003.214] width = 1920, height = 1080, frequency = 148500000
[0003.220] width = 640, height = 480, frequency = 25174825
[0003.225] width = 720, height = 480, frequency = 26973026
[0003.231] width = 720, height = 480, frequency = 26973026
[0003.236] width = 1280, height = 720, frequency = 74175824
[0003.242] width = 1920, height = 1080, frequency = 148351648
[0003.247] width = 720, height = 576, frequency = 26973026
[0003.253] width = 1280, height = 720, frequency = 74175824
[0003.258] width = 1920, height = 1080, frequency = 148351648
[0003.264] Best mode Width = 1920, Height = 1080, freq = 148351648
[0003.273] tmds-config node not found
[0003.277] pmc_set_io_pad_voltage: Error -2 retrieving platform-io-pad-voltagepropsetting ‘vdd-hdmi-dp’ regulator to 1050000 micro volts
[0003.292] setting ‘vdd-1v8’ regulator to 1800000 micro volts
[0003.299] enabling ‘vdd-hdmi’ regulator
[0003.303] GPIO driver for phandle 0xd3 could not be found
[0003.333] using default cmu settings for HDMI
[0003.337] dc_hdmi_enable, starting HDMI initialisation
[0003.343] dc_hdmi_enable, HDMI initialisation complete
[0003.348] list and configure display window
[0003.364] display console init completed
[0003.384] Gpio keyboard init success
[0003.388] bct_init bctinit
[0003.390] bct_init bctinit
[0003.395] bct_init bctinit
[0003.398] bct_init bctinit
[0003.602] decompressor handler not found
[0003.606] load_bmp_blob: panelresolution=1080 type=3
[0003.611] bl_battery_charging: connected to external power supply
[0003.622] bct_init bctinit
[0003.624] device_query_partition_size: failed to open partition sdmmc3_user:MSC !
[0003.632] MSC Partition not found
[0003.635] bct_init bctinit
[0003.638] bct_init bctinit
[0003.641] blob_init: USP partition does not have valid Blob
[0003.647] kfs_getpartname: name = LNX
[0003.650] Loading kernel from LNX
[0003.660] Verifying boot image in OdmNonSecureSBK mode
[0003.682] kernel load address: 0x80080000, size: 507365 bytes
[0003.688] ramdisk load address: 0x84100000, size: 0 bytes
[0003.693] load kernel from storage
[0003.698] decompressor handler not found
[0003.708] Successfully loaded kernel and ramdisk images
[0003.715] load_bmp_blob: panelresolution=1080 type=3
[0004.029] display bmp image done
[0004.032] NCK carveout not present
[0004.035] Skipping dts_overrides
[0004.038] NCK carveout not present
[0004.041] shim_invoke: No NCT, Calling dts updates
[0004.060] Find /i2c@7000c000’s alias i2c0
[0004.063] get eeprom at 1-a2, size 256, type 0
[0004.068] get eeprom at 1-ae, size 256, type 0
[0004.081] Find /i2c@7000c400’s alias i2c1
[0004.085] get eeprom at 2-a0, size 256, type 0
[0004.098] Find /i2c@7000c500’s alias i2c2
[0004.102] get eeprom at 3-a0, size 256, type 0
[0004.107] get eeprom at 3-ae, size 256, type 0
[0004.118] Find /host1x/i2c@546c0000’s alias i2c6
[0004.123] get eeprom at 7-a8, size 256, type 0
[0004.127] pm_ids_update: Updating 1,a2, size 256, type 0
[0004.132] I2C slave not started
[0004.135] I2C write failed
[0004.138] Writing offset failed
[0004.141] eeprom_init: EEPROM read failed
[0004.145] pm_ids_update: eeprom init failed
[0004.149] pm_ids_update: Updating 1,ae, size 256, type 0
[0004.154] I2C slave not started
[0004.157] I2C write failed
[0004.160] Writing offset failed
[0004.163] eeprom_init: EEPROM read failed
[0004.167] pm_ids_update: eeprom init failed
[0004.171] pm_ids_update: Updating 2,a0, size 256, type 0
[0004.176] I2C slave not started
[0004.179] I2C write failed
[0004.182] Writing offset failed
[0004.185] eeprom_init: EEPROM read failed
[0004.189] pm_ids_update: eeprom init failed
[0004.193] pm_ids_update: Updating 3,a0, size 256, type 0
[0004.223] pm_ids_update: The pm board id is 2180-1000-410
[0004.232] Adding plugin-manager/ids/2180-1000-410=/i2c@7000c500:module@0x50
[0004.242] pm_ids_update: pm id update successful
[0004.247] pm_ids_update: Updating 3,ae, size 256, type 0
[0004.252] I2C slave not started
[0004.255] I2C write failed
[0004.258] Writing offset failed
[0004.261] eeprom_init: EEPROM read failed
[0004.265] pm_ids_update: eeprom init failed
[0004.269] pm_ids_update: Updating 7,a8, size 256, type 0
[0004.276] GPIO driver for phandle 0xd2 could not be found
[0004.281] I2C slave not started
[0004.284] I2C write failed
[0004.287] Writing offset failed
[0004.290] eeprom_init: EEPROM read failed
[0004.293] pm_ids_update: eeprom init failed
[0004.299] GPIO driver for phandle 0xd2 could not be found
[0004.332] updating /chosen/nvidia,wifi-mac node 00:04:4b:66:de:ec
[0004.341] updating /chosen/nvidia,bluetooth-mac node 00:04:4b:66:de:ed
[0004.350] updating /chosen/nvidia,ethernet-mac node 00:04:4b:66:de:ee
[0004.356] Plugin Manager: Parse ODM data 0x00084000
[0004.378] shim_cmdline_install: /chosen/bootargs: root=/dev/mmcblk0p1 rw rootwait console=ttyS0,115200n8 console=tty0 OS=l4t fbcon=map:0 net.ifnames=0 androidboot.modem=none androidboot.serialno=03239161417060400505 androidboot.security=non-secure
[0004.402] Add serial number:03239161417060400505 as DT property
[0004.412] “bpmp” doesn’t exist, creating
[0004.420] Updated bpmp info to DTB
[0004.427] Updated initrd info to DTB
[0004.430] “proc-board” doesn’t exist, creating
[0004.438] Updated board info to DTB
[0004.441] “pmu-board” doesn’t exist, creating
[0004.448] Updated board info to DTB
[0004.452] “display-board” doesn’t exist, creating
[0004.458] Updated board info to DTB
[0004.462] “reset” doesn’t exist, creating
[0004.467] Updated reset info to DTB
[0004.470] Cmdline: root=/dev/mmcblk0p1 rw rootwait console=ttyS0,115200n8 console=tty0 OS=l4t fbcon=map:0 net.ifnames=0 androidboot.modem=none androidboot.serialno=03239161417060400505 androidboot.security=non-secure tegraid=21.1.2.0.0 ddr_die=2048M@2048M ddr_die=2048M@4096M section=256M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 debug_uartport=lsport,0 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 nvdumper_reserved=0xff280000 core_edp_mv=1075 core_edp_ma=4000 tegra_fbmem2=0x800000@0x92c9d000 is_hdmi_initialised=1 gpt
[0004.530] Updated bootarg info to DTB
[0004.538] WARNING: Failed to pass NS DRAM ranges to TOS, err: -7
[0004.544] Updated memory info to DTB
[0004.552] set vdd_core voltage to 1075 mv
[0004.556] setting ‘vdd-core’ regulator to 1075000 micro volts
[0004.562] nvdumper Carveout: Base = 0xff280000 and Size = 0x80000
[0004.569] bct_init bctinit
[0004.573] Found secure-pmc; disable BPMP

U-Boot 2016.07-geb5c15b (Mar 25 2019 - 10:22:44 -0700)

TEGRA210
Model: NVIDIA P2371-2180
Board: NVIDIA P2371-2180
DRAM: 4 GiB
MC: Tegra SD/MMC: 0, Tegra SD/MMC: 1
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 2 1 0
MMC: no card present
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1…
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
223 bytes read in 87 ms (2 KiB/s)
p2371-2180 eMMC boot options
1: primary kernel
Enter choice: 1: primary kernel
Retrieving file: /boot/initrd
0 bytes read in 46 ms (0 Bytes/s)
Retrieving file: /boot/Image
21811752 bytes read in 547 ms (38 MiB/s)
append: root=/dev/mmcblk0p1 rw rootwait console=ttyS0,115200n8 console=tty0 OS=l4t fbcon=map:0 net.ifnames=0 androidboot.modem=none androidboot.serialno=03239161417060400505 androidboot.security=non-secure tegraid=21.1.2.0.0 ddr_die=2048M@2048M ddr_die=2048M@4096M section=256M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 debug_uartport=lsport,0 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 nvdumper_reserved=0xff280000 core_edp_mv=1075 core_edp_ma=4000 tegra_fbmem2=0x800000@0x92c9d000 is_hdmi_initialised=1 gpt root=/dev/mmcblk0p1 rw rootwait

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 00000000831a67cd

Starting kernel …

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.159 (root@wf-pc) (gcc version 4.8.5 (GCC) ) #1 SMP PREEMPT Sat Jul 13 17:42:37 CST 2019
[ 0.000000] Boot CPU: AArch64 Processor [411fd071]
[ 0.000000] Found tegra_fbmem2: 00800000@92c9d000
[ 0.000000] Reserved memory: initialized node iram-carveout, compatible id nvidia,iram-carveout
[ 0.000000] Reserved memory: initialized node ramoops_carveout, compatible id nvidia,ramoops
[ 0.000000] cma: Reserved 16 MiB at 0x00000000fdc00000
[ 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] PERCPU: Embedded 17 pages/cpu @ffffffc0ff05b000 s31616 r8192 d29824 u69632
[ 0.000000] CPU features: enabling workaround for ARM erratum 832075
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1023544
[ 0.000000] Kernel command line: root=/dev/mmcblk0p1 rw rootwait console=ttyS0,115200n8 console=tty0 OS=l4t fbcon=map:0 net.ifnames=0 androidboot.modem=none androidboot.serialno=03239161417060400505 androidboot.security=non-secure tegraid=21.1.2.0.0 ddr_die=2048M@2048M ddr_die=2048M@4096M section=256M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 debug_uartport=lsport,0 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 nvdumper_reserved=0xff280000 core_edp_mv=1075 core_edp_ma=4000 tegra_fbmem2=0x800000@0x92c9d000 is_hdmi_initialised=1 gpt root=/dev/mmcblk0p1 rw rootwait
[ 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: 4038968K/4159488K available (11343K kernel code, 2120K rwdata, 6508K rodata, 1212K init, 677K bss, 104136K reserved, 16384K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vmalloc : 0xffffff8000000000 - 0xffffffbdbfff0000 ( 246 GB)
[ 0.000000] vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000 ( 8 GB maximum)
[ 0.000000] 0xffffffbdc2000000 - 0xffffffbdc5fc8000 ( 63 MB actual)
[ 0.000000] fixed : 0xffffffbffa7fd000 - 0xffffffbffac00000 ( 4108 KB)
[ 0.000000] PCI I/O : 0xffffffbffae00000 - 0xffffffbffbe00000 ( 16 MB)
[ 0.000000] modules : 0xffffffbffc000000 - 0xffffffc000000000 ( 64 MB)
[ 0.000000] memory : 0xffffffc000000000 - 0xffffffc0ff200000 ( 4082 MB)
[ 0.000000] .init : 0xffffffc0011f0000 - 0xffffffc00131f000 ( 1212 KB)
[ 0.000000] .text : 0xffffffc000080000 - 0xffffffc0011ef5f4 ( 17854 KB)
[ 0.000000] .data : 0xffffffc00133b000 - 0xffffffc00154d228 ( 2121 KB)
[ 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] enable_t210_agic_clks:106 ape clocked & reset cleared
[ 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] kmemleak: Kernel memory leak detector disabled
[ 0.000000] 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.000005] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.001228] Console: colour dummy device 80x25
[ 0.002283] console [tty0] enabled
[ 0.002315] Calibrating delay loop (skipped), value calculated using timer frequency… 38.40 BogoMIPS (lpj=76800)
[ 0.002352] pid_max: default: 32768 minimum: 301
[ 0.002439] Security Framework initialized
[ 0.002465] SELinux: Initializing.
[ 0.002577] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.002603] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.003296] Initializing cgroup subsys io
[ 0.003332] Initializing cgroup subsys memory
[ 0.003376] Initializing cgroup subsys devices
[ 0.003404] Initializing cgroup subsys freezer
[ 0.003430] Initializing cgroup subsys net_cls
[ 0.003456] Initializing cgroup subsys perf_event
[ 0.003483] Initializing cgroup subsys net_prio
[ 0.003513] Initializing cgroup subsys pids
[ 0.003538] Initializing cgroup subsys debug
[ 0.003837] CPU0 ipc=1024
[ 0.003874] CPU1 ipc=1024
[ 0.003906] CPU2 ipc=1024
[ 0.003938] CPU3 ipc=1024
[ 0.004010] ASID allocator initialised with 65536 entries
[ 0.025929] tegra-id: chipid=22117.
[ 0.025960] tegra-id: opt_subrevision=0.
[ 0.025993] Tegra Speedo/IDDQ fuse revision 4
[ 0.026015] Tegra: CPU Speedo ID 7, SoC Speedo ID 0, GPU Speedo ID 2
[ 0.026039] Tegra: CPU Process ID 1, SoC Process ID 1, GPU Process ID 0
[ 0.026063] Tegra: CPU Speedo Value 2129, SoC Speedo Value 2000, GPU Speedo Value 2115
[ 0.026094] Tegra: CPU IDDQ Value 2888, SoC IDDQ Value 2820, GPU IDDQ Value 3605
[ 0.026138] Tegra Revision: A02 SKU: 0x17 CPU Process: 1 SoC Process: 1
[ 0.027294] DTS File Name: /home/wf/SQ01DEMO/SOURCE/kernel_src/kernel/kernel-4.4/arch/arm64/boot/dts/…/…/…/…/…/…/hardware/nvidia/platform/t210/jetson/kernel-dts/tegra210-jetson-tx1-p2597-2180-a01-devkit.dts
[ 0.027350] DTB Build time: Jul 13 2019 17:00:30
[ 0.040775] CPU1: Booted secondary processor [411fd071]
[ 0.052739] CPU2: Booted secondary processor [411fd071]
[ 0.064743] CPU3: Booted secondary processor [411fd071]
[ 0.064824] Brought up 4 CPUs
[ 0.064903] SMP: Total of 4 processors activated.
[ 0.064927] CPU: All CPU(s) started at EL2
[ 0.064970] alternatives: patching kernel code
[ 0.067594] devtmpfs: initialized
[ 0.125541] Initilizing CustomIPI irq domain
[ 0.125878] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.125934] futex hash table entries: 1024 (order: 5, 131072 bytes)
[ 0.126607] pinctrl core: initialized pinctrl subsystem
[ 0.126805] OS set in device tree is not L4T.
[ 0.127187] regulator-dummy: no parameters
[ 0.127414] Initializing plugin-manager
[ 0.127487] Plugin module not found
[ 0.127853] node /plugin-manager/fragement@0 match with board >=2180-1000-300
[ 0.129250] Adding domain ape-pd to PM domain mc-clk-pd
[ 0.129297] Adding domain adsp-pd to PM domain ape-pd
[ 0.133358] NET: Registered protocol family 16
[ 0.163989] console [pstore-1] enabled
[ 0.164014] pstore: Registered ramoops as persistent store backend
[ 0.164041] ramoops: attached 0x200000@0xb0000000, ecc: 0/0
[ 0.176216] cpuidle: using governor ladder
[ 0.188207] cpuidle: using governor menu
[ 0.190399] vdso: 2 pages (1 code @ ffffffc001341000, 1 data @ ffffffc001340000)
[ 0.190464] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.191910] atomic_pool_init():526: DMA: preallocated 1024 KiB pool for atomic allocations
[ 0.192973] tegra_powergate_init: DONE
[ 0.193022] DTS File Name: /home/wf/SQ01DEMO/SOURCE/kernel_src/kernel/kernel-4.4/arch/arm64/boot/dts/…/…/…/…/…/…/hardware/nvidia/platform/t210/jetson/kernel-dts/tegra210-jetson-tx1-p2597-2180-a01-devkit.dts
[ 0.193077] DTB Build time: Jul 13 2019 17:00:30
[ 0.194995] tegra_bpmp_of_clk_init: EMC proxy not found.
[ 0.195031] Error: Driver ‘tegra-mc’ is already registered, aborting…
[ 0.196476] platform tegra-carveouts: SMMU isn’t ready yet
[ 0.197193] platform tegra-carveouts: domain=ffffffc0f94c8418 allocates as[0]=ffffffc0f95340a8
[ 0.197267] tegra_smmu 70019000.iommu: Loaded Tegra IOMMU driver
[ 0.197506] platform smmu_test: domain=ffffffc0f94c8718 allocates as[0]=ffffffc0f9534110
[ 0.198208] mc: mapped MMIO address: 0xffffff8000036000 -> 0x70019000
[ 0.198315] mc: mapped MMIO address: 0xffffff800005c000 -> 0x7001c000
[ 0.198421] mc: mapped MMIO address: 0xffffff8000094000 -> 0x7001d000
[ 0.210687] platform 70006000.serial: domain=ffffffc0f9525918 allocates as[0]=ffffffc0f9534178
[ 0.211788] platform sound: domain=ffffffc0f9583218 allocates as[0]=ffffffc0f95341e0
[ 0.214154] platform tegradc.1: domain=ffffffc0f9589418 allocates as[0]=ffffffc0f9534248
[ 0.217664] platform tegradc.1: IOVA linear map 0x0000000092c9d000(800000)
[ 0.220227] platform 57000000.gpu: domain=ffffffc0f9591718 allocates as[0]=ffffffc0f95342b0
[ 0.220307] platform 57000000.gpu: domain=ffffffc0f9591718 allocates as[1]=ffffffc0f9534318
[ 0.220395] platform 57000000.gpu: domain=ffffffc0f9591718 allocates as[2]=ffffffc0f9534380
[ 0.220471] platform 57000000.gpu: domain=ffffffc0f9591718 allocates as[3]=ffffffc0f95343e8
[ 0.221166] tegra-pmc 7000e400.pmc: i2c-thermtrip node not found, emergency thermal reset disabled.
[ 0.221216] tegra-pmc 7000e400.pmc: scratch reg offset dts data not present
[ 0.221251] tegra-pmc: ### PMC reset source: TEGRA_SOFTWARE_RESET
[ 0.221279] tegra-pmc: ### PMC reset level: TEGRA_RESET_LEVEL_WARM
[ 0.221303] tegra-pmc: ### PMC reset status reg: 0x3
[ 0.264348] padctrl padctrl.0: Pad control driver tegra-pmc-padctrl registered
[ 0.264388] tegra-pmc: Clear bootloader IO dpd settings
[ 0.264425] tegra-pmc 7000e400.pmc: IO padctrl driver initialized
[ 0.264507] tegra-pmc 7000e400.pmc: PMC: Successfully configure bootrom reset commands
[ 0.267680] platform 1003000.pcie-controller: domain=ffffffc0f95b6818 allocates as[0]=ffffffc0f9534450
[ 0.269939] platform sdhci-tegra.3: domain=ffffffc0f95bd918 allocates as[0]=ffffffc0f95344b8
[ 0.270526] platform sdhci-tegra.0: domain=ffffffc0f95bdd18 allocates as[0]=ffffffc0f9534520
[ 0.277348] vdd-ac-bat: 5000 mV
[ 0.278513] vdd-cpu-fixed: 1000 mV
[ 0.305649] GPIO line 58 (wlan-default-input-h2) hogged as input
[ 0.305706] GPIO line 65 (wlan-default-input-i1) hogged as input
[ 0.305757] GPIO line 56 (wlan-default-output-high-h0) hogged as output/high
[ 0.305803] GPIO line 64 (wlan-default-output-high-i0) hogged as output/high
[ 0.305848] GPIO line 66 (wlan-default-output-high) hogged as output/high
[ 0.305969] gpiochip_add_data: registered GPIOs 0 to 255 on device: tegra-gpio
[ 0.307795] ACPI: Interpreter disabled.
[ 0.308603] SCSI subsystem initialized
[ 0.308893] usbcore: registered new interface driver usbfs
[ 0.308966] usbcore: registered new interface driver hub
[ 0.309071] usbcore: registered new device driver usb
[ 0.310231] i2c i2c-0: of_i2c: modalias failure on /i2c@7000c000/i2c@0
[ 0.311720] tegra-i2c 7000c400.i2c: no acknowledge from address 0x74
[ 0.311802] pca953x 1-0074: failed reading register
[ 0.311887] pca953x: probe of 1-0074 failed with error -121
[ 0.312386] tegra-i2c 7000c400.i2c: no acknowledge from address 0x77
[ 0.312463] pca953x 1-0077: failed reading register
[ 0.312534] pca953x: probe of 1-0077 failed with error -121
[ 0.315193] max77620 4-003c: PMIC Version OTP:0x3C and ES:0x8
[ 0.317118] GPIO line 506 (spmic-default-output-high) hogged as output/high
[ 0.317240] gpiochip_add_data: registered GPIOs 504 to 511 on device: max77620-gpio
[ 0.320395] vdd-core: 600 <–> 1400 mV at 1075 mV
[ 0.324346] vddio-ddr: at 1125 mV
[ 0.325097] vdd-pre-reg: 1350 mV
[ 0.328202] vdd-1v8: 1800 mV
[ 0.332202] avdd-sys: 1200 mV
[ 0.336201] vdd-pex: 1050 mV
[ 0.336814] vddio-sdmmc1: 1800 <–> 3300 mV at 3300 mV
[ 0.337463] vdd-cam-hv: 2800 mV
[ 0.340202] vdd-rtc: 850 mV
[ 0.340833] avdd-ts-hv: 3300 mV
[ 0.341459] vdd-ts: 1800 mV
[ 0.344202] vdd-gen-pll-edp: 1050 mV
[ 0.348201] vdd-hdmi-dp: 1050 mV
[ 0.348831] max77620 4-003c: max77620 probe successful
[ 0.350606] i2c i2c-6: of_i2c: modalias failure on /host1x/i2c@546c0000/i2c@6
[ 0.350849] media: Linux media interface: v0.10
[ 0.350918] Linux video capture interface: v2.00
[ 0.358526] tegra210-emc 7001b000.memory-controller: validated EMC DFS table
[ 0.358859] Advanced Linux Sound Architecture Driver Initialized.
[ 0.359501] Bluetooth: Core ver 2.21
[ 0.359562] NET: Registered protocol family 31
[ 0.359587] Bluetooth: HCI device and connection manager initialized
[ 0.359618] Bluetooth: HCI socket layer initialized
[ 0.359645] Bluetooth: L2CAP socket layer initialized
[ 0.359691] Bluetooth: SCO socket layer initialized
[ 0.362077] tegra210_dvfs: no clock found for sdmmc2_ddr
[ 0.362131] tegra210_dvfs: no clock found for sdmmc4_ddr
[ 0.362233] tegra210_dvfs: no clock found for sdmmc1_ddr
[ 0.362281] tegra210_dvfs: no clock found for sdmmc3_ddr
[ 0.364768] tegra_dvfs: Unable to get vdd-cpu rail for step info, defering probe
[ 0.368208] vdd-3v3: 3300 mV
[ 0.372201] max77620-gpio7: 1050 mV
[ 0.372518] lcd-bl-en: 1800 mV
[ 0.372848] en-vdd-sd: 3300 mV
[ 0.376203] vdd-sys-boost: 5000 mV
[ 0.376571] aux-3v3: 3300 mV
[ 0.376813] snsr_pm: 3300 mV
[ 0.380203] vdd-disp-3v0: 3000 mV
[ 0.380619] usb-vbus1: 5000 mV
[ 0.381581] rtl-5v0: 5000 mV
[ 0.381865] en-usb-vbus2: 5000 mV
[ 0.382257] en-vdd-vcm-2v8: 2800 mV
[ 0.385173] extcon-gpio-states extcon:extcon@1: Cable state 1
[ 0.386240] clocksource: Switched to clocksource arch_sys_counter
[ 0.431259] nvmap_heap_init: nvmap_heap_init: created heap block cache
[ 0.431646] nvmap_page_pool_init: Total RAM pages: 1013838
[ 0.431678] nvmap_page_pool_init: nvmap page pool size: 126729 pages (495 MB)
[ 0.431800] nvmap_background_zero_thread: PP zeroing thread starting.
[ 0.431978] misc nvmap: iram :dma coherent mem declare 0x0000000040001000,258048
[ 0.432114] misc nvmap: created heap iram base 0x0000000040001000 size (252KiB)
[ 0.432843] pnp: PnP ACPI: disabled
[ 0.444612] thermal thermal_zone0: Registering thermal zone thermal_zone0 for type AO-therm
[ 0.446353] thermal thermal_zone1: Registering thermal zone thermal_zone1 for type CPU-therm
[ 0.446745] thermal thermal_zone2: Registering thermal zone thermal_zone2 for type GPU-therm
[ 0.446946] thermal thermal_zone3: Registering thermal zone thermal_zone3 for type PLL-therm
[ 0.448401] thermal thermal_zone4: Registering thermal zone thermal_zone4 for type Tdiode_tegra
[ 0.448643] thermal thermal_zone5: Registering thermal zone thermal_zone5 for type PMIC-Die
[ 0.448876] thermal thermal_zone6: Registering thermal zone thermal_zone6 for type Tboard_tegra
[ 0.450149] isomgr_init(): iso emc max clk=1600000KHz
[ 0.450176] isomgr_init(): max_iso_bw=11520000KB
[ 0.450383] NET: Registered protocol family 2
[ 0.450943] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.451277] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[ 0.451920] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.452024] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[ 0.452170] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[ 0.452504] NET: Registered protocol family 1
[ 0.452851] RPC: Registered named UNIX socket transport module.
[ 0.452881] RPC: Registered udp transport module.
[ 0.452905] RPC: Registered tcp transport module.
[ 0.452927] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.453182] Trying to unpack rootfs image as initramfs…
[ 0.463994] host1x 50000000.host1x: initialized
[ 0.465447] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 0.468948] audit: initializing netlink subsys (disabled)
[ 0.469014] audit: type=2000 audit(0.463:1): initialized
[ 0.481186] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.481683] fuse init (API version 7.23)
[ 0.486843] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.486994] io scheduler noop registered
[ 0.487026] io scheduler deadline registered
[ 0.487224] io scheduler cfq registered (default)
[ 0.492605] tegra21x-padctl-uphy 7009f000.pinctrl: padctl mmio start 0x000000007009f000 end 0x000000007009ffff
[ 0.492658] tegra21x-padctl-uphy 7009f000.pinctrl: TEGRA_FUSE_SKU_CALIB_0 0x71c740e
[ 0.492695] tegra21x-padctl-uphy 7009f000.pinctrl: TEGRA_FUSE_USB_CALIB_EXT_0 0x4
[ 0.494037] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-0 is used by XUSB
[ 0.494075] tegra21x-padctl-uphy 7009f000.pinctrl: using UTMI port 0 for otg
[ 0.494107] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-2 is used by XUSB
[ 0.494145] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 5, set usb3_lanes = 0x20
[ 0.494192] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 1 maps to USB2 port 2
[ 0.494260] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-1 is used by XUSB
[ 0.494298] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 6, set usb3_lanes = 0x60
[ 0.494342] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 0 maps to USB2 port 1
[ 0.494389] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 1, set pcie_lanes = 0x2
[ 0.494437] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 2, set pcie_lanes = 0x6
[ 0.494485] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 3, set pcie_lanes = 0xe
[ 0.494531] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 4, set pcie_lanes = 0x1e
[ 0.494577] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 0, set pcie_lanes = 0x1f
[ 0.494625] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 7, set sata_lanes = 0x80
[ 0.495056] tegra21x-padctl-uphy 7009f000.pinctrl: mailbox is not ready yet
[ 0.496105] tegra-pwm 7000a000.pwm: PWM clk cannot sleep in ops
[ 0.497207] tegra-dfll-pwm 70110000.pwm: DFLL pwm-rate: 12800000
[ 0.497969] Adding domain pcie-pd to PM domain mc-clk-pd
[ 0.502046] tegra-pcie 1003000.pcie-controller: 4x1, 1x1 configuration
[ 0.502119] tegra-pcie 1003000.pcie-controller: failed to get PHY: -517
[ 0.502148] tegra-pcie 1003000.pcie-controller: failed to get PHYs: -517
[ 0.505226] tsec 54500000.tsec: initialized
[ 0.506407] tsec 54100000.tsecb: initialized
[ 0.508810] nvdec 54480000.nvdec: initialized
[ 0.513727] falcon 54340000.vic: initialized
[ 0.515170] falcon 544c0000.nvenc: initialized
[ 0.516184] falcon 54380000.nvjpg: initialized
[ 0.518039] DC OR NODE connected to /host1x/sor1
[ 0.518143] display board info: id 0xffff, fab 0x0
[ 0.518197] panel_select fail by _node_status
[ 0.518281] display board info: id 0xffff, fab 0x0
[ 0.518328] panel_select fail by _node_status
[ 0.518357] generic_infoframe_type: 0x87
[ 0.518526] tegradc tegradc.1: DT parsed successfully
[ 0.518587] tegradc tegradc.1: Display dc.ffffff8000980000 registered with id=0
[ 0.518924] hdmi: couldn’t get regulator vdd_hdmi_5v0: -517
[ 0.519011] tegradc tegradc.1: Bootloader disp_param detected. Detected mode: 1920x1080 (on 0x0mm) pclk=148350781
[ 0.519599] display board info: id 0xffff, fab 0x0
[ 0.519650] panel_select fail by _node_status
[ 0.521311] tegradc tegradc.1: probed
[ 0.522738] tegra_camera_platform tegra-camera-platform: tegra_camera_probe:camera_platform_driver probe
[ 0.522958] misc tegra_camera_ctrl: tegra_camera_isomgr_register isp_iso_bw=1000000, vi_iso_bw=2250000, max_bw=2250000
[ 0.527270] tegra-apbdma 60020000.dma: Tegra20 APB DMA driver register 32 channels
[ 0.529314] tegra-adma 702e2000.adma: Tegra ADMA driver register 10 channels
[ 0.530918] tegra-fuse-burn 7000f800.efuse:efuse-burn: Fuse burn driver initialized
[ 0.531235] kfuse 7000fc00.kfuse: initialized
[ 0.533156] tegra-pmc-iopower pmc-iopower: NO_IOPOWER setting 0x0
[ 0.534066] clk_cbus_round_rate: no gbus parent
[ 0.534099] tegra_gpu_edp gpu_edp: unable to get max GPU freq
[ 0.534709] tegra-dfll-pwm 70110000.pwm: DFLL_PWM regulator is available now
[ 0.534748] vdd-cpu: 708 <–> 1322 mV at 708 mV
[ 0.534813] pwm-regulator pwm_regulators:pwm-regulator@0: PWM regulator registration passed
[ 0.536002] vdd-gpu: applied init 1000000uV constraint
[ 0.536038] vdd-gpu: 710 <–> 1320 mV at 1000 mV
[ 0.536104] pwm-regulator pwm_regulators:pwm-regulator@1: PWM regulator registration passed
[ 0.536546] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.536688] No Device Node present for smmu client: serial8250 !!
[ 0.536720] platform serial8250: No iommus property found in DT node, got swgids from fixup(101004000)
[ 0.536760] No Device Node present for smmu client: serial8250 !!
[ 0.536788] platform serial8250: No iommus property found in DT node, got swgids from fixup(101004000)
[ 0.537893] No Device Node present for smmu client: serial8250 !!
[ 0.537928] serial8250 serial8250: No iommus property found in DT node, got swgids from fixup(101004000)
[ 0.537978] No Device Node present for smmu client: serial8250 !!
[ 0.538007] serial8250 serial8250: No iommus property found in DT node, got swgids from fixup(101004000)
[ 0.538740] console [ttyS0] disabled
[ 0.538816] 70006000.serial: ttyS0 at MMIO 0x70006000 (irq = 64, base_baud = 25500000) is a Tegra
[ 2.479793] console [ttyS0] enabled
[ 2.481248] 70006040.serial: ttyTHS1 at MMIO 0x70006040 (irq = 65, base_baud = 0) is a TEGRA_UART
[ 2.481731] 70006200.serial: ttyTHS2 at MMIO 0x70006200 (irq = 66, base_baud = 0) is a TEGRA_UART
[ 2.482063] serial-tegra 70006300.serial: RX in PIO mode
[ 2.482165] 70006300.serial: ttyTHS3 at MMIO 0x70006300 (irq = 67, base_baud = 0) is a TEGRA_UART
[ 2.484615] gk20a 57000000.gpu: platform probe failed
[ 2.494456] brd: module loaded
[ 2.500149] loop: module loaded
[ 2.500822] zram: Added device: zram0
[ 2.500835] Silicon Labs C2 port support v. 0.51.0 - © 2007 Rodolfo Giometti
[ 2.501079] nct1008_nct72 0-004c: find device tree node, parsing dt
[ 2.501084] nct1008_nct72 0-004c: starting parse dt
[ 2.501161] nct1008_nct72 0-004c: success parsing dt
[ 2.501406] nct1008_nct72 0-004c: success in enabling tmp451 VDD rail
[ 2.504826] Console: switching to colour frame buffer device 240x67
[ 2.585199] tmp451: Enabled overheat logging at 102.00C
[ 2.591593] nct1008_nct72 0-004c: nct1008_probe: initialized
[ 2.625658] tegradc tegradc.1: fb registered
[ 2.631073] THERMAL EST: found 2 subdevs
[ 2.634102] tegradc tegradc.1: DC initialized, skipping tegra_dc_program_mode.
[ 2.634141] tegradc tegradc.1: hdmi: pclk:148351K, set prod-setting:prod_c_hdmi_75m_150m
[ 2.644080] edid invalid
[ 2.653282] THERMAL EST num_resources: 0
[ 2.657291] [THERMAL EST subdev 0]
[ 2.660771] [THERMAL EST subdev 1]
[ 2.664596] thermal thermal_zone7: Registering thermal zone thermal_zone7 for type thermal-fan-est
[ 2.670259] tegradc tegradc.1: nominal-pclk:148351648 parent:148350781 div:1.0 pclk:148350781 146868084~161703244
[ 2.684169] THERMAL EST: thz register success.
[ 2.688883] THERMAL EST: end of probe, return err: 0
[ 2.694057] tegra_profiler: Branch: Dev
[ 2.697980] tegra_profiler: Version: 1.121
[ 2.702165] tegra_profiler: Samples version: 42
[ 2.706786] tegra_profiler: IO version: 24
[ 2.710975] armv8_pmu: [0] arch: AA64 PmuV3 ARM CORTEX-A57, pmuver: 0x1
[ 2.717718] armv8_pmu: [1] arch: AA64 PmuV3 ARM CORTEX-A57, pmuver: 0x1
[ 2.724466] armv8_pmu: [2] arch: AA64 PmuV3 ARM CORTEX-A57, pmuver: 0x1
[ 2.731208] armv8_pmu: [3] arch: AA64 PmuV3 ARM CORTEX-A57, pmuver: 0x1
[ 2.738179] tegra_profiler: auth: init
[ 2.747842] tegra-ahci 70027000.sata: Missing devslp-active state
[ 2.760164] tegradc tegradc.1: blank - normal
[ 2.760502] Rounding down aligned max_sectors from 4294967295 to 4294967288
[ 2.760891] tegradc tegradc.1: blank - powerdown
[ 2.761075] spi-tegra114 7000d400.spi: Static pin configuration used
[ 2.761975] spi-tegra114 7000da00.spi: Static pin configuration used
[ 2.763550] tun: Universal TUN/TAP device driver, 1.6
[ 2.763553] tun: © 1999-2004 Max Krasnyansky maxk@qualcomm.com
[ 2.764029] PPP generic driver version 2.4.2
[ 2.764192] PPP BSD Compression module registered
[ 2.764200] PPP Deflate Compression module registered
[ 2.764227] PPP MPPE Compression module registered
[ 2.764239] NET: Registered protocol family 24
[ 2.764320] usbcore: registered new interface driver r8152
[ 2.764381] usbcore: registered new interface driver asix
[ 2.764457] usbcore: registered new interface driver ax88179_178a
[ 2.764501] usbcore: registered new interface driver cdc_ether
[ 2.764562] usbcore: registered new interface driver smsc95xx
[ 2.764604] usbcore: registered new interface driver net1080
[ 2.764648] usbcore: registered new interface driver cdc_subset
[ 2.764690] usbcore: registered new interface driver zaurus
[ 2.764764] usbcore: registered new interface driver cdc_ncm
[ 2.764893] usbcore: registered new interface driver cdc_acm
[ 2.764896] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 2.764954] usbcore: registered new interface driver usb-storage
[ 2.765051] usbcore: registered new interface driver usbserial
[ 2.765096] usbcore: registered new interface driver ch341
[ 2.765127] usbserial: USB Serial support registered for ch341-uart
[ 2.765166] usbcore: registered new interface driver cp210x
[ 2.765194] usbserial: USB Serial support registered for cp210x
[ 2.765232] usbcore: registered new interface driver ftdi_sio
[ 2.765261] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 2.765298] usbcore: registered new interface driver option
[ 2.765327] usbserial: USB Serial support registered for GSM modem (1-port)
[ 2.765368] usbcore: registered new interface driver pl2303
[ 2.765396] usbserial: USB Serial support registered for pl2303
[ 2.766550] tegra-xudc-new 700d0000.xudc: usb2 phy is not available yet
[ 2.902594] max77686-rtc max77620-rtc: rtc core: registered max77620-rtc as rtc1
[ 2.921318] tegra_rtc 7000e000.rtc: rtc core: registered 7000e000.rtc as rtc0
[ 2.921935] tegra_rtc 7000e000.rtc: Tegra internal Real Time Clock
[ 2.931740] i2c /dev entries driver
[ 2.941934] tc358748_module_init:module init
[ 2.943490] tc358748_probe entry
[ 2.944593] tc358748_parse_dt:parse dt
[ 2.944680] tc358748_parse_dt done
[ 2.945220] tc358748_probe: gpio-CSI[E]=1
[ 2.945222] tc358748_probe: name tc358748_e
[ 2.945638] tc358748_ctrls_init: entry
[ 2.945659] tc358748_ctrls_init: numctrls 2
[ 2.945733] tc358748_ctrls_init: ctrl_config_list[i].id 10100747
[ 2.946247] tc358748_ctrls_init:init Gain ctrl
[ 2.946317] tc358748_ctrls_init: ctrl_config_list[i].id 10100740
[ 2.946338] tc358748_ctrls_init:init HDR enable ctrl
[ 2.946365] tc358748_probe:tc358748_ctrls_init: done
[ 2.946373] tc358748_probe:media_entity_init done
[ 2.946389] tc358748_probe:v4l2_async_register_subdev done
[ 2.946395] HD mode[1]
[ 2.946401] *******************************************************
[ 2.946403] *******************************************************
[ 2.946427] *******************************************************
[ 2.956612] tc358748_mipi 0-000e:
[ 2.956612] tc358748_probe:Detected tc358748 sensor
[ 2.956619] tc358748_probe:Complete!!!
[ 2.958428] tc358748_probe entry
[ 2.959527] tc358748_parse_dt:parse dt
[ 2.959534] tc358748_parse_dt done
[ 2.961440] tc358748_probe: gpio-CSI[A]=1
[ 2.961449] tc358748_probe: name tc358748_a
[ 2.961608] tc358748_ctrls_init: entry
[ 2.961667] tc358748_ctrls_init: numctrls 2
[ 2.961672] tc358748_ctrls_init: ctrl_config_list[i].id 10100747
[ 2.961706] tc358748_ctrls_init:init Gain ctrl
[ 2.961713] tc358748_ctrls_init: ctrl_config_list[i].id 10100740
[ 2.961740] tc358748_ctrls_init:init HDR enable ctrl
[ 2.961751] tc358748_probe:tc358748_ctrls_init: done
[ 2.961754] tc358748_probe:media_entity_init done
[ 2.961759] tc358748_probe:v4l2_async_register_subdev done
[ 2.961765] HD mode[0]
[ 2.961766] *******************************************************
[ 2.961769] *******************************************************
[ 2.961770] *******************************************************
[ 2.965794] tegradc tegradc.1: unblank
[ 2.976254] tc358748_mipi 6-000e:
[ 2.976254] tc358748_probe:Detected tc358748 sensor
[ 2.976259] tc358748_probe:Complete!!!
[ 2.976472] tc358748_module_init:module init done err[0]
[ 2.977766] IR NEC protocol handler initialized
[ 2.977778] IR Sharp protocol handler initialized
[ 2.977793] IR XMP protocol handler initialized
[ 2.978028] usbcore: registered new interface driver uvcvideo
[ 2.978032] USB Video Class driver (1.1.1)
[ 2.979192] max77620-power max77620-power: Event recorder REG_NVERC : 0x0
[ 2.983275] tegra_soctherm 700e2000.soctherm: pllx_offset tz:0 max:14, min:2
[ 2.983284] tegra_soctherm 700e2000.soctherm: pllx_offset tz:1 max:8, min:4
[ 2.984875] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when cpu reaches 102500 mC
[ 2.984905] tegra_soctherm 700e2000.soctherm: throttrip: will throttle when cpu reaches 100500 mC
[ 2.985152] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[ 2.985171] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when gpu reaches 103000 mC
[ 2.985182] tegra_soctherm 700e2000.soctherm: throttrip: will throttle when gpu reaches 101000 mC
[ 2.985424] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[ 2.985430] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature 2147483647 forced to 127000
[ 2.985441] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when pll reaches 127000 mC
[ 2.985447] tegra_soctherm 700e2000.soctherm: throttrip: pll: missing hot temperature
[ 2.985853] tegra_soctherm 700e2000.soctherm: failed to register sensor: -19
[ 2.989930] tegra_aotag tegra-aotag: Registering sensor 0
[ 2.990039] tegra_aotag tegra-aotag: Invalid temp readout
[ 2.990064] tegra_aotag tegra-aotag: Bound to TZ : ID 0
[ 2.990082] tegra_aotag tegra-aotag: Probe done [SUCCESS]:0
[ 2.991620] FAN: coudln’t get the regulator
[ 2.993485] tegra-wdt 60005100.watchdog: Tegra WDT enabled on probe. Timeout = 120 seconds.
[ 2.994557] tegra-wdt 60005100.watchdog: initialized (timeout = 120 sec, nowayout = 1)
[ 2.995792] device-mapper: uevent: version 1.0.3
[ 2.996726] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[ 3.000904] sdhci: Secure Digital Host Controller Interface driver
[ 3.000911] sdhci: Copyright© Pierre Ossman
[ 3.000923] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.002193] sdhci-tegra sdhci-tegra.3: Parent select= pll_p rate=408000000
[ 3.002831] sdhci-tegra sdhci-tegra.3: Parent select= pll_c4_out2 rate=199680000
[ 3.002904] sdhci-tegra sdhci-tegra.3: Client registration for eMC Successful
[ 3.020882] tegradc tegradc.1: nominal-pclk:148500000 parent:148500000 div:1.0 pclk:148500000 147015000~161865000
[ 3.020953] tegradc tegradc.1: hdmi: pclk:148500K, set prod-setting:prod_c_hdmi_75m_150m
[ 3.038277] mmc0: SDHCI controller on sdhci-tegra.3 [sdhci-tegra.3] using ADMA 64-bit with 64 bit addr
[ 3.038585] sdhci-tegra sdhci-tegra.1: Parent select= pll_p rate=408000000
[ 3.038604] sdhci-tegra sdhci-tegra.1: Client registration for eMC Successful
[ 3.074272] mmc1: SDHCI controller on sdhci-tegra.1 [sdhci-tegra.1] using ADMA 64-bit with 64 bit addr
[ 3.074981] sdhci-tegra sdhci-tegra.0: Got CD GPIO
[ 3.075030] sdhci-tegra sdhci-tegra.0: Got WP GPIO
[ 3.075107] sdhci-tegra sdhci-tegra.0: Parent select= pll_p rate=408000000
[ 3.075155] sdhci-tegra sdhci-tegra.0: wakeup init done, cd_irq: 331
[ 3.075175] sdhci-tegra sdhci-tegra.0: Client registration for eMC Successful
[ 3.077830] en-vdd-sd: supplied by vdd-3v3
[ 3.122598] mmc2: SDHCI controller on sdhci-tegra.0 [sdhci-tegra.0] using ADMA 64-bit with 64 bit addr
[ 3.127276] tegra-se 70012000.se: tegra_se_probe: complete
[ 3.127906] hidraw: raw HID events driver © Jiri Kosina
[ 3.130845] usbcore: registered new interface driver usbhid
[ 3.130848] usbhid: USB HID core driver
[ 3.173591] mmc0: MAN_BKOPS_EN bit is not set
[ 3.227899] tegra-i2c 7000c400.i2c: no acknowledge from address 0x42
[ 3.227954] ina3221x 1-0042: ina3221 reset failure status: 0xffffff87
[ 3.228322] ina3221x: probe of 1-0042 failed with error -121
[ 3.239852] tegra-i2c 7000c400.i2c: no acknowledge from address 0x43
[ 3.239904] ina3221x 1-0043: ina3221 reset failure status: 0xffffff87
[ 3.240250] ina3221x: probe of 1-0043 failed with error -121
[ 3.240886] parse_throttle_dt_data: Num cap clks = 6
[ 3.240892] parse_throttle_dt_data: clk=cclk_g type=2
[ 3.240901] parse_throttle_dt_data: clk=gpu type=4
[ 3.240938] parse_throttle_dt_data: clk=cap.throttle.c2bus type=0
[ 3.240969] parse_throttle_dt_data: clk=cap.throttle.c3bus type=0
[ 3.241005] parse_throttle_dt_data: clk=cap.throttle.sclk type=0
[ 3.241009] parse_throttle_dt_data: clk=emc type=3
[ 3.251005] tegra_throttle_probe: probe successful. #cdevs=4
[ 3.251274] tegra21x_actmon 6000c800.actmon: in actmon_register()…
[ 3.252424] tegra21x_actmon 6000c800.actmon: initialization Completed for the device mc_all
[ 3.254130] tegra124-dfll 70110000.clock: config PMU interface as PWM
[ 3.256224] coresight-tmc 72030000.etf: TMC initialized
[ 3.257606] coresight-tmc 72050000.etr: TMC initialized
[ 3.257879] coresight-tpiu 72060000.tpiu: TPIU initialized
[ 3.258381] coresight-funnel 73010000.funnel_bccplex: FUNNEL initialized
[ 3.258753] coresight-funnel 72010000.funnel_major: FUNNEL initialized
[ 3.259399] coresight-replicator 72040000.replicator: REPLICATOR initialized
[ 3.261938] coresight-etm4x 73440000.ptm: ETM 4.0 initialized
[ 3.262660] coresight-etm4x 73540000.ptm: ETM 4.0 initialized
[ 3.263374] coresight-etm4x 73640000.ptm: ETM 4.0 initialized
[ 3.264044] coresight-etm4x 73740000.ptm: ETM 4.0 initialized
[ 3.265466] usbcore: registered new interface driver snd-usb-audio
[ 3.265562] No Device Node present for smmu client: snd-soc-dummy !!
[ 3.265569] platform snd-soc-dummy: No iommus property found in DT node, got swgids from fixup(101004000)
[ 3.265577] No Device Node present for smmu client: snd-soc-dummy !!
[ 3.265582] platform snd-soc-dummy: No iommus property found in DT node, got swgids from fixup(101004000)
[ 3.265822] No Device Node present for smmu client: snd-soc-dummy !!
[ 3.265828] snd-soc-dummy snd-soc-dummy: No iommus property found in DT node, got swgids from fixup(101004000)
[ 3.265855] No Device Node present for smmu client: snd-soc-dummy !!
[ 3.265861] snd-soc-dummy snd-soc-dummy: No iommus property found in DT node, got swgids from fixup(101004000)
[ 3.284014] mmc0: Skipping tuning since strobe enabled
[ 3.289800] tegra210-i2s tegra210-i2s.0: Missing prop fsync-width for I2S0
[ 3.291619] tegra210-i2s tegra210-i2s.2: Missing prop fsync-width for I2S2
[ 3.292277] tegra210-i2s tegra210-i2s.3: Missing prop fsync-width for I2S3
[ 3.293047] tegra210-i2s tegra210-i2s.4: Missing prop fsync-width for I2S4
[ 3.306715] OPE platform probe
[ 3.306918] OPE platform probe successful
[ 3.307350] OPE platform probe
[ 3.307546] OPE platform probe successful
[ 3.342510] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF1 <-> ADMAIF1 mapping ok
[ 3.342745] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF2 <-> ADMAIF2 mapping ok
[ 3.342975] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF3 <-> ADMAIF3 mapping ok
[ 3.343203] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF4 <-> ADMAIF4 mapping ok
[ 3.343432] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF5 <-> ADMAIF5 mapping ok
[ 3.343660] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF6 <-> ADMAIF6 mapping ok
[ 3.343892] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF7 <-> ADMAIF7 mapping ok
[ 3.344120] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF8 <-> ADMAIF8 mapping ok
[ 3.344358] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF9 <-> ADMAIF9 mapping ok
[ 3.344582] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF10 <-> ADMAIF10 mapping ok
[ 3.365305] mmc0: new HS400 MMC card at address 0001
[ 3.365651] mmcblk mmc0:0001: Card claimed for testing.
[ 3.368695] input: tegra-snd-t210ref-mobile-rt565x Headphone Jack as /devices/sound/sound/card1/input1
[ 3.370103] tegra-snd-t210ref-mobile-rt565x sound: codec-dai “dit-hifi” registered
[ 3.370109] tegra-snd-t210ref-mobile-rt565x sound: This is a dummy codec
[ 3.371017] GACT probability NOT on
[ 3.371032] Mirror/redirect action on
[ 3.371056] u32 classifier
[ 3.371058] Actions configured
[ 3.371081] Netfilter messages via NETLINK v0.30.
[ 3.371140] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 3.371556] ctnetlink v0.93: registering with nfnetlink.
[ 3.372283] xt_time: kernel timezone is -0000
[ 3.372304] IPVS: Registered protocols ()
[ 3.372334] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[ 3.372435] IPVS: Creating netns size=1424 id=0
[ 3.372467] IPVS: ipvs loaded.
[ 3.372480] IPVS: [rr] scheduler registered.
[ 3.372615] ipip: IPv4 over IPv4 tunneling driver
[ 3.373226] ip_tables: © 2000-2006 Netfilter Core Team
[ 3.373438] arp_tables: © 2002 David S. Miller
[ 3.373541] Initializing XFRM netlink socket
[ 3.374279] NET: Registered protocol family 10
[ 3.379316] mip6: Mobile IPv6
[ 3.379342] ip6_tables: © 2000-2006 Netfilter Core Team
[ 3.379577] sit: IPv6 over IPv4 tunneling driver
[ 3.380620] NET: Registered protocol family 17
[ 3.380645] NET: Registered protocol family 15
[ 3.380682] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 3.380831] Bluetooth: RFCOMM socket layer initialized
[ 3.380849] Bluetooth: RFCOMM ver 1.11
[ 3.380866] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 3.380874] Bluetooth: HIDP socket layer initialized
[ 3.380900] Key type dns_resolver registered
[ 3.387105] Registered cp15_barrier emulation handler
[ 3.387159] mmcblk0: mmc0:0001 016G32 14.7 GiB
[ 3.389257] registered taskstats version 1
[ 3.394168] isp 54600000.isp: initialized
[ 3.395499] isp 54680000.isp: initialized
[ 3.399183] clk_cbus_recalc_rate: no gbus parent
[ 3.399190] clk_cbus_round_rate: no gbus parent
[ 3.399193] clk_cbus_round_rate: no gbus parent
[ 3.399201] clk_cbus_recalc_rate: no gbus parent
[ 3.409855] mmcblk0rpmb: mmc0:0001 016G32 partition 3 4.00 MiB
[ 3.409900] clk_cbus_recalc_rate: no gbus parent
[ 3.409905] clk_cbus_round_rate: no gbus parent
[ 3.409908] clk_cbus_round_rate: no gbus parent
[ 3.409915] clk_cbus_recalc_rate: no gbus parent
[ 3.409940] tegra_dvfs: GPU-cap: registered
[ 3.410026] tegra dvfs: vdd-cpu: nominal 1226mV, offset 708000uV, step 19200uV, scaling enabled
[ 3.410031] tegra dvfs: vdd-core: nominal 1075mV, offset 600000uV, step 12500uV, scaling enabled
[ 3.410034] tegra dvfs: vdd-gpu: nominal 1090mV, offset 710000uV, step 10000uV, scaling enabled
[ 3.466555] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19
[ 3.507308] tegra_dvfs: vdd-gpu-vts: registered
[ 3.512018] xhci-tegra 70090000.xusb: can’t get usb3-0 phy (-517)
[ 3.512778] tegra21x-padctl-uphy 7009f000.pinctrl: padctl mmio start 0x000000007009f000 end 0x000000007009ffff
[ 3.512790] tegra21x-padctl-uphy 7009f000.pinctrl: TEGRA_FUSE_SKU_CALIB_0 0x71c740e
[ 3.512797] tegra21x-padctl-uphy 7009f000.pinctrl: TEGRA_FUSE_USB_CALIB_EXT_0 0x4
[ 3.514024] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-0 is used by XUSB
[ 3.514034] tegra21x-padctl-uphy 7009f000.pinctrl: using UTMI port 0 for otg
[ 3.514042] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-2 is used by XUSB
[ 3.514055] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 5, set usb3_lanes = 0x20
[ 3.514070] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 1 maps to USB2 port 2
[ 3.514077] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-1 is used by XUSB
[ 3.514089] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 6, set usb3_lanes = 0x60
[ 3.514101] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 0 maps to USB2 port 1
[ 3.514117] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 1, set pcie_lanes = 0x2
[ 3.514134] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 2, set pcie_lanes = 0x6
[ 3.514150] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 3, set pcie_lanes = 0xe
[ 3.514166] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 4, set pcie_lanes = 0x1e
[ 3.514182] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 0, set pcie_lanes = 0x1f
[ 3.514199] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 7, set sata_lanes = 0x80
[ 3.514897] usb-vbus1: supp

There seems to be something wrong with the website .Continue above
[ 3.514897] usb-vbus1: supplied by vdd-3v3
[ 3.517331] tegra21x-padctl-uphy 7009f000.pinctrl: Done tegra21x_padctl_uphy_probe
[ 3.519930] tegra-pcie 1003000.pcie-controller: 4x1, 1x1 configuration
[ 3.520172] tegra-pcie 1003000.pcie-controller: PCIE: Enable power rails
[ 3.520917] clk_cbus_round_rate: no gbus parent
[ 3.520924] tegra_gpu_edp gpu_edp: unable to get max GPU freq
[ 3.521315] tegra-pcie 1003000.pcie-controller: probing port 0, using 4 lanes
[ 3.521505] tegra-ahci 70027000.sata: Missing devslp-active state
[ 3.522499] tegra-ahci 70027000.sata: AHCI 0001.0301 32 slots 2 ports 3 Gbps 0x1 impl platform mode
[ 3.522510] tegra-ahci 70027000.sata: flags: 64bit ncq sntf pm led pmp pio slum part deso sadm apst
[ 3.523422] tegra-pcie 1003000.pcie-controller: probing port 1, using 1 lanes
[ 3.523933] scsi host0: tegra_ahci
[ 3.524440] scsi host1: tegra_ahci
[ 3.524666] ata1: SATA max UDMA/133 mmio [mem 0x70027000-0x70028fff] port 0x100 irq 114
[ 3.524669] ata2: DUMMY
[ 3.527501] gk20a 57000000.gpu: GPCPLL initial settings: NA mode, M=1, N=34, P=3
[ 3.528420] tegra-xudc-new 700d0000.xudc: USB charger detection disabled
[ 3.528548] tegra-xudc-new 700d0000.xudc: device mode on
[ 3.528688] gk20a 57000000.gpu: failed to allocate secure buffer -12
[ 3.550269] tegra_core_action core_dvfs_cdev_floor: Tegra CORE DVFS ‘floor cooling device’ registered
[ 3.559422] input: tegra-hda HDMI/DP,pcm=3 as /devices/70030000.hda/sound/card0/input0
[ 3.568072] tegra_core_action core_dvfs_cdev_cap: Tegra CORE DVFS ‘cap cooling device’ registered
[ 3.568517] tegra_dfll_action dfll-cdev-cap: Tegra DFLL ‘cap cooling device’ registered
[ 3.586877] tegra_dfll_action dfll-cdev-floor: Tegra DFLL ‘floor cooling device’ registered
[ 3.587985] tegra124-dfll 70110000.clock: entered closed loop mode
[ 3.592041] xhci-tegra 70090000.xusb: UTMI port 0 has OTG_CAP
[ 3.592043] xhci-tegra 70090000.xusb: No USB3 port has OTG_CAP
[ 3.594262] xhci-tegra 70090000.xusb: Direct firmware load for tegra21x_xusb_firmware failed with error -2
[ 3.594264] xhci-tegra 70090000.xusb: Falling back to user helper
[ 3.629646] input: gpio-keys as /devices/gpio-keys/input/input2
[ 3.668570] tegra_rtc 7000e000.rtc: setting system clock to 2019-07-13 09:57:43 UTC (1563011863)
[ 3.669228] vi 54080000.vi: vi_probe: ++
[ 3.842306] ata1: SATA link down (SStatus 0 SControl 300)
[ 3.957168] tegra-pcie 1003000.pcie-controller: link 0 down, retrying
[ 3.962472] vi 54080000.vi: initialized
[ 4.069640] mmc1: queuing unknown CIS tuple 0x80 (5 bytes)
[ 4.089081] vi 54080000.vi: subdev nvcsi-0 bound
[ 4.089084] vi 54080000.vi: subdev tc358748_mipi 6-000e bound
[ 4.089149] Unable to handle kernel NULL pointer dereference at virtual address 00000178
[ 4.089150] pgd = ffffffc0015fa000
[ 4.089155] [00000178] *pgd=000000017a5d8003, *pud=000000017a5d8003, *pmd=000000017a5d9003, *pte=00e8000050041707
[ 4.089158] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[ 4.089160] Modules linked in:
[ 4.089164] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.4.159 #1
[ 4.089165] Hardware name: jetson_tx1 (DT)
[ 4.089167] task: ffffffc0fa6f0000 ti: ffffffc0fa6a4000 task.ti: ffffffc0fa6a4000
[ 4.089174] PC is at find_matching_color_fmt+0x10/0xa4
[ 4.089177] LR is at camera_common_enum_mbus_code+0x44/0xb4
[ 4.089179] pc : [] lr : [] pstate: 20000045
[ 4.089180] sp : ffffffc0fa6a7830
[ 4.089182] x29: ffffffc0fa6a7840 x28: 0000000000000018
[ 4.089185] x27: ffffffc0010f1fa0 x26: ffffffc0010f1fa8
[ 4.089187] x25: ffffffc0f8bb2050 x24: ffffffc0f8bb2050
[ 4.089189] x23: ffffffc07d35dbe8 x22: ffffffc07d35d018
[ 4.089191] x21: ffffffc0fa6a7908 x20: ffffffc0f9094c20
[ 4.089193] x19: ffffffc07d35d018 x18: 0000000000000000
[ 4.089195] x17: 0000000000000000 x16: 0000000000000000
[ 4.089197] x15: 0000000000000000 x14: 0ffffffffffffffe
[ 4.089200] x13: 0000000000000020 x12: 0101010101010101
[ 4.089202] x11: ffffffc000c5f000 x10: fefefefefeff1f3a
[ 4.089204] x9 : 00000000ffffffff x8 : 000000000000fffe
[ 4.089206] x7 : 000000000000008d x6 : 0000000000000002
[ 4.089208] x5 : ffffffc000bdca68 x4 : 000000000000006d
[ 4.089210] x3 : 0000000000000000 x2 : 0000000000000000
[ 4.089212] x1 : 0000000000000000 x0 : 0000000000000170
[ 4.089212]
[ 4.089214] Process swapper/0 (pid: 1, stack limit = 0xffffffc0fa6a4020)
[ 4.089215] Call trace:
[ 4.089219] [] find_matching_color_fmt+0x10/0xa4
[ 4.089223] [] tegra_channel_fmts_bitmap_init+0xa8/0x1f4
[ 4.089225] [] tegra_channel_init_subdevices+0x144/0x648
[ 4.089228] [] tegra_vi_graph_notify_complete+0x588/0x60c
[ 4.089230] [] v4l2_async_test_notify+0xe8/0x100
[ 4.089232] [] v4l2_async_notifier_register+0x12c/0x17c
[ 4.089234] [] tegra_vi_graph_init+0x1dc/0x278
[ 4.089236] [] tegra_vi_media_controller_init+0x150/0x1dc
[ 4.089239] [] vi_probe+0x448/0x4e8
[ 4.089243] [] platform_drv_probe+0x50/0xb0
[ 4.089246] [] driver_probe_device+0x178/0x3b4
[ 4.089249] [] __driver_attach+0x64/0x90
[ 4.089251] [] bus_for_each_dev+0x50/0x9c
[ 4.089254] [] driver_attach+0x20/0x28
[ 4.089257] [] bus_add_driver+0x130/0x25c
[ 4.089259] [] driver_register+0x98/0xe0
[ 4.089261] [] __platform_driver_register+0x54/0x5c
[ 4.089265] [] vi_init+0x2c/0x38
[ 4.089268] [] do_one_initcall+0x110/0x1c4
[ 4.089273] [] kernel_init_freeable+0x1e4/0x290
[ 4.089277] [] kernel_init+0x10/0xdc
[ 4.089280] [] ret_from_fork+0x10/0x30
[ 4.089379] —[ end trace 43bef07b66228d5f ]—
[ 4.090517] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 4.090517]
[ 4.090531] CPU2: stopping
[ 4.090534] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D 4.4.159 #1
[ 4.090534] Hardware name: jetson_tx1 (DT)
[ 4.090535] Call trace:
[ 4.090540] [] dump_backtrace+0x0/0xf4
[ 4.090543] [] show_stack+0x14/0x1c
[ 4.090547] [] dump_stack+0xac/0xe4
[ 4.090550] [] handle_IPI+0x16c/0x328
[ 4.090552] [] gic_handle_irq+0x94/0xbc
[ 4.090554] [] el1_irq+0x84/0x100
[ 4.090557] [] irq_exit+0x74/0xe0
[ 4.090562] [] scheduler_ipi+0xf4/0x124
[ 4.090564] [] handle_IPI+0x118/0x328
[ 4.090565] [] gic_handle_irq+0x94/0xbc
[ 4.090567] [] el1_irq+0x84/0x100
[ 4.090571] [] cpuidle_enter+0x18/0x20
[ 4.090574] [] call_cpuidle+0x48/0x54
[ 4.090576] [] cpu_startup_entry+0x2c8/0x394
[ 4.090578] [] secondary_start_kernel+0x15c/0x168
[ 4.090580] [<000000008008127c>] 0x8008127c
[ 4.090582] CPU3: stopping
[ 4.090584] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D 4.4.159 #1
[ 4.090585] Hardware name: jetson_tx1 (DT)
[ 4.090586] Call trace:
[ 4.090590] [] dump_backtrace+0x0/0xf4
[ 4.090593] [] show_stack+0x14/0x1c
[ 4.090595] [] dump_stack+0xac/0xe4
[ 4.090597] [] handle_IPI+0x16c/0x328
[ 4.090599] [] gic_handle_irq+0x94/0xbc
[ 4.090601] [] el1_irq+0x84/0x100
[ 4.090604] [] cpuidle_enter+0x18/0x20
[ 4.090606] [] call_cpuidle+0x48/0x54
[ 4.090607] [] cpu_startup_entry+0x2c8/0x394
[ 4.090610] [] secondary_start_kernel+0x15c/0x168
[ 4.090611] [<000000008008127c>] 0x8008127c
[ 4.099624] CPU0: stopping
[ 4.099627] CPU: 0 PID: 37 Comm: kworker/0:1 Tainted: G D 4.4.159 #1
[ 4.099628] Hardware name: jetson_tx1 (DT)
[ 4.099633] Workqueue: events tegra_hdmi_hpd_worker
[ 4.099634] Call trace:
[ 4.099637] [] dump_backtrace+0x0/0xf4
[ 4.099641] [] show_stack+0x14/0x1c
[ 4.099643] [] dump_stack+0xac/0xe4
[ 4.099645] [] handle_IPI+0x16c/0x328
[ 4.099647] [] gic_handle_irq+0x94/0xbc
[ 4.099649] [] el1_irq+0x84/0x100
[ 4.099654] [] tegra_fbcon_set_fb_mode+0xa4/0xb4
[ 4.099656] [] tegra_fb_update_monspecs+0x258/0x278
[ 4.099660] [] tegra_hdmi_hotplug_notify+0x58/0xa0
[ 4.099663] [] tegra_hdmi_edid_eld_setup+0x16c/0x23c
[ 4.099665] [] tegra_hdmi_hpd_worker+0x13c/0x21c
[ 4.099667] [] process_one_work+0x234/0x45c
[ 4.099669] [] worker_thread+0x274/0x488
[ 4.099672] [] kthread+0x110/0x118
[ 4.099674] [] ret_from_fork+0x10/0x30
[ 6.366293] Rebooting in 30 seconds…

What was your starting config for the kernel compile? What were the edits? Did you set CONFIG_LOCALVERSION to “-tegra”, or to something else? Which release of L4T is this for (“head -n 1 /etc/nv_tegra_release”…if you still have your flash content on the host in the “Linux_for_Tegra/rootfs/” area, then you can use “head -n 1” on “Linux_for_Tegra/rootfs/etc/nv_tegra_release” even if you can’t boot the Jetson)?

hi,I run “head -n 1” in the directory and the results are as follows.

Linux_for_Tegra/rootfs/etc$ head -n -1 nv_tegra_release 
# R28 (release), REVISION: 3.0, GCID: 14690851, BOARD: t210ref, EABI: aarch64, DATE: Mon Mar 25 17:34:27 UTC 2019
6a1fe882650fc98ac85291eb7eb3f7863cf73a94 */usr/lib/aarch64-linux-gnu/tegra/libnvosd.so
835d7b45c359689599af7dd1c5bef0751c071021 */usr/lib/aarch64-linux-gnu/tegra/libnvmmlite_image.so
de4e800beaa126c21dc08017d8b373b11c2a00fa */usr/lib/aarch64-linux-gnu/tegra/libnvomx.so
499131051b19bf50a18973626593f6b07d267cc9 */usr/lib/aarch64-linux-gnu/tegra/libnvmedia.so
da237bcedfefdf509b90c4e9910134b95628c8cd */usr/lib/aarch64-linux-gnu/tegra/libnvmmlite_utils.so

I did not find CONFIG_LOCALVERSION,
I compile with the code “make O=$TEGRA_KERNEL_OUT tegra21_defconfig”
Is this a file "tegra21_defconfig"modification?

CONFIG_ARCH_TEGRA_210_SOC=y
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y

THANKS

I always suggest that you take the default install and save a copy of “/proc/config.gz” to use as the initial starting config. “tegra21_defconfig” in theory will work, but is not necessarily the same as the current running system.

The CONFIG_LOCALVERSION is probably the reason for the failure unless you also built and installed modules. What do you see from “uname -r”? Do you see modules located at:

/lib/modules/$(uname -r)/

Modules are always searched for at the above location. “uname -r” is a combination of the base kernel version and the CONFIG_LOCALVERSION. So if your kernel version is “4.4.38”, and if you have:

CONFIG_LOCALVERSION="-tegra"

…then “uname -r” would be “4.4.38-tegra”. Not matching that would imply a kernel unable to find its modules.

Can you verify your “uname -r” and whether modules exist there? If that is in place, then you can debug, but if not, then you can’t be sure of any bugs being from actual code. If you still have errors, then it would also be good to know what change might have been made from the default config.

hi,Thank you very much for your patience.I just compiled the source code.
Running instructions on board

/lib/modules/$(uname -r)/

kernel version is “4.4.159”.The display is normal.
Later I Added in"tegra21_defconfig" file

CONFIG_LOCALVERSION="-tegra"

kernel version is “4.4.159-Tegra”.The display is normal.
Then I add the modified file and write it in “tegra21_defconfig” file.

CONFIG_VIDEO_TC358748=y

Recompile and download
The following print message will appear. Keep rebooting

[    3.354257] isp 54600000.isp: initialized
[    3.355626] isp 54680000.isp: initialized
[    3.358883] mmcblk0: mmc0:0001 016G32 14.7 GiB 
[    3.359267] clk_cbus_recalc_rate: no gbus parent
[    3.359273] clk_cbus_round_rate: no gbus parent
[    3.359277] clk_cbus_round_rate: no gbus parent
[    3.359285] clk_cbus_recalc_rate: no gbus parent
[    3.369410] clk_cbus_recalc_rate: no gbus parent
[    3.369415] clk_cbus_round_rate: no gbus parent
[    3.369418] clk_cbus_round_rate: no gbus parent
[    3.369424] clk_cbus_recalc_rate: no gbus parent
[    3.369449] tegra_dvfs: GPU-cap: registered
[    3.369536] tegra dvfs: vdd-cpu: nominal 1226mV, offset 708000uV, step 19200uV, scaling enabled
[    3.369540] tegra dvfs: vdd-core: nominal 1075mV, offset 600000uV, step 12500uV, scaling enabled
[    3.369544] tegra dvfs: vdd-gpu: nominal 1090mV, offset 710000uV, step 10000uV, scaling enabled
[    3.380966] mmcblk0rpmb: mmc0:0001 016G32 partition 3 4.00 MiB
[    3.434773]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19
[    3.466147] tegra_dvfs: vdd-gpu-vts: registered
[    3.470811] xhci-tegra 70090000.xusb: can't get usb3-0 phy (-517)
[    3.471567] tegra21x-padctl-uphy 7009f000.pinctrl: padctl mmio start 0x000000007009f000 end 0x000000007009ffff
[    3.471578] tegra21x-padctl-uphy 7009f000.pinctrl: TEGRA_FUSE_SKU_CALIB_0 0x71c740e
[    3.471586] tegra21x-padctl-uphy 7009f000.pinctrl: TEGRA_FUSE_USB_CALIB_EXT_0 0x4
[    3.472816] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-0 is used by XUSB
[    3.472825] tegra21x-padctl-uphy 7009f000.pinctrl: using UTMI port 0 for otg
[    3.472833] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-2 is used by XUSB
[    3.472847] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 5, set usb3_lanes = 0x20
[    3.472861] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 1 maps to USB2 port 2
[    3.472868] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-1 is used by XUSB
[    3.472880] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 6, set usb3_lanes = 0x60
[    3.472892] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 0 maps to USB2 port 1
[    3.472907] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 1, set pcie_lanes = 0x2
[    3.472924] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 2, set pcie_lanes = 0x6
[    3.472940] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 3, set pcie_lanes = 0xe
[    3.472956] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 4, set pcie_lanes = 0x1e
[    3.472972] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 0, set pcie_lanes = 0x1f
[    3.472990] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 7, set sata_lanes = 0x80
[    3.473656] usb-vbus1: supplied by vdd-3v3
[    3.476036] tegra21x-padctl-uphy 7009f000.pinctrl: Done tegra21x_padctl_uphy_probe
[    3.478625] tegra-pcie 1003000.pcie-controller: 4x1, 1x1 configuration
[    3.478866] tegra-pcie 1003000.pcie-controller: PCIE: Enable power rails
[    3.479600] clk_cbus_round_rate: no gbus parent
[    3.479607] tegra_gpu_edp gpu_edp: unable to get max GPU freq
[    3.480004] tegra-pcie 1003000.pcie-controller: probing port 0, using 4 lanes
[    3.481898] gk20a 57000000.gpu: GPCPLL initial settings: NA mode, M=1, N=34, P=3
[    3.482216] tegra-pcie 1003000.pcie-controller: probing port 1, using 1 lanes
[    3.483056] gk20a 57000000.gpu: failed to allocate secure buffer -12
[    3.483575] tegra-ahci 70027000.sata: Missing devslp-active state
[    3.492072] tegra-ahci 70027000.sata: AHCI 0001.0301 32 slots 2 ports 3 Gbps 0x1 impl platform mode
[    3.492083] tegra-ahci 70027000.sata: flags: 64bit ncq sntf pm led pmp pio slum part deso sadm apst 
[    3.493274] scsi host0: tegra_ahci
[    3.493681] scsi host1: tegra_ahci
[    3.493907] ata1: SATA max UDMA/133 mmio [mem 0x70027000-0x70028fff] port 0x100 irq 114
[    3.493911] ata2: DUMMY
[    3.497130] tegra-xudc-new 700d0000.xudc: USB charger detection disabled
[    3.497242] tegra-xudc-new 700d0000.xudc: device mode on
[    3.525714] tegra_core_action core_dvfs_cdev_floor: Tegra CORE DVFS 'floor cooling device' registered
[    3.535125] input: tegra-hda HDMI/DP,pcm=3 as /devices/70030000.hda/sound/card0/input0
[    3.545388] tegra_core_action core_dvfs_cdev_cap: Tegra CORE DVFS 'cap cooling device' registered
[    3.545831] tegra_dfll_action dfll-cdev-cap: Tegra DFLL 'cap cooling device' registered
[    3.564000] tegra_dfll_action dfll-cdev-floor: Tegra DFLL 'floor cooling device' registered
[    3.565030] tegra124-dfll 70110000.clock: entered closed loop mode
[    3.569081] xhci-tegra 70090000.xusb: UTMI port 0 has OTG_CAP
[    3.569083] xhci-tegra 70090000.xusb: No USB3 port has OTG_CAP
[    3.572361] xhci-tegra 70090000.xusb: Direct firmware load for tegra21x_xusb_firmware failed with error -2
[    3.572363] xhci-tegra 70090000.xusb: Falling back to user helper
[    3.606863] input: gpio-keys as /devices/gpio-keys/input/input2
[    3.655825] tegra_rtc 7000e000.rtc: setting system clock to 2019-07-15 06:15:05 UTC (1563171305)
[    3.656506] vi 54080000.vi: vi_probe: ++
[    3.814257] ata1: SATA link down (SStatus 0 SControl 300)
[    3.892420] vi 54080000.vi: initialized
[    3.910261] tegra-pcie 1003000.pcie-controller: link 0 down, retrying
[    4.025581] vi 54080000.vi: subdev nvcsi-0 bound
[    4.025584] vi 54080000.vi: subdev tc358748_mipi 6-000e bound
[    4.025651] Unable to handle kernel NULL pointer dereference at virtual address 00000178
[    4.025652] pgd = ffffffc0015fa000
[    4.025657] [00000178] *pgd=000000017a5d8003, *pud=000000017a5d8003, *pmd=000000017a5d9003, *pte=00e8000050041707
[    4.025660] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[    4.025663] Modules linked in:
[    4.025666] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.4.159-tegra #1
[    4.025667] Hardware name: jetson_tx1 (DT)
[    4.025669] task: ffffffc0fa6f0000 ti: ffffffc0fa6a4000 task.ti: ffffffc0fa6a4000
[    4.025676] PC is at find_matching_color_fmt+0x10/0xa4
[    4.025678] LR is at camera_common_enum_mbus_code+0x44/0xb4
[    4.025680] pc : [<ffffffc0007b6d70>] lr : [<ffffffc0007b6e48>] pstate: 20000045
[    4.025681] sp : ffffffc0fa6a7830
[    4.025684] x29: ffffffc0fa6a7840 x28: 0000000000000018 
[    4.025686] x27: ffffffc0010f1fd0 x26: ffffffc0010f1fd8 
[    4.025689] x25: ffffffc0f8bde050 x24: ffffffc0f8bde050 
[    4.025691] x23: ffffffc07d373be8 x22: ffffffc07d373018 
[    4.025693] x21: ffffffc0fa6a7908 x20: ffffffc0f906cc20 
[    4.025695] x19: ffffffc07d373018 x18: 0000000000000000 
[    4.025697] x17: 0000000000000000 x16: 0000000000000000 
[    4.025699] x15: 0000000000000000 x14: 0fffffffffffffff 
[    4.025701] x13: 0000000000000020 x12: 0101010101010101 
[    4.025703] x11: ffffffc000c5f000 x10: fefefeff64636e6c 
[    4.025705] x9 : 00000000ffffffff x8 : 000000000000fffe 
[    4.025707] x7 : 000000000000008d x6 : 0000000000000002 
[    4.025709] x5 : ffffffc000bdca68 x4 : 000000000000006d 
[    4.025711] x3 : 0000000000000000 x2 : 0000000000000000 
[    4.025713] x1 : 0000000000000000 x0 : 0000000000000170 
[    4.025714] 
[    4.025715] Process swapper/0 (pid: 1, stack limit = 0xffffffc0fa6a4020)
[    4.025716] Call trace:
[    4.025720] [<ffffffc0007b6d70>] find_matching_color_fmt+0x10/0xa4
[    4.025723] [<ffffffc0007ad76c>] tegra_channel_fmts_bitmap_init+0xa8/0x1f4
[    4.025726] [<ffffffc0007aebd8>] tegra_channel_init_subdevices+0x144/0x648
[    4.025729] [<ffffffc0007afed8>] tegra_vi_graph_notify_complete+0x588/0x60c
[    4.025731] [<ffffffc00079a644>] v4l2_async_test_notify+0xe8/0x100
[    4.025733] [<ffffffc00079a788>] v4l2_async_notifier_register+0x12c/0x17c
[    4.025735] [<ffffffc0007b0790>] tegra_vi_graph_init+0x1dc/0x278
[    4.025737] [<ffffffc0007ac914>] tegra_vi_media_controller_init+0x150/0x1dc
[    4.025740] [<ffffffc0007ba2fc>] vi_probe+0x448/0x4e8
[    4.025744] [<ffffffc0005f7494>] platform_drv_probe+0x50/0xb0
[    4.025748] [<ffffffc0005f5190>] driver_probe_device+0x178/0x3b4
[    4.025750] [<ffffffc0005f5430>] __driver_attach+0x64/0x90
[    4.025753] [<ffffffc0005f3158>] bus_for_each_dev+0x50/0x9c
[    4.025756] [<ffffffc0005f4bd4>] driver_attach+0x20/0x28
[    4.025758] [<ffffffc0005f4594>] bus_add_driver+0x130/0x25c
[    4.025761] [<ffffffc0005f6278>] driver_register+0x98/0xe0
[    4.025763] [<ffffffc0005f73f0>] __platform_driver_register+0x54/0x5c
[    4.025767] [<ffffffc001230278>] vi_init+0x2c/0x38
[    4.025770] [<ffffffc000081448>] do_one_initcall+0x110/0x1c4
[    4.025775] [<ffffffc0011f0b98>] kernel_init_freeable+0x1e4/0x290
[    4.025779] [<ffffffc000b819b4>] kernel_init+0x10/0xdc
[    4.025782] [<ffffffc0000847a0>] ret_from_fork+0x10/0x30
[    4.025879] ---[ end trace b42cf103ac74b2fa ]---
[    4.026997] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    4.026997] 
[    4.027036] CPU1: stopping
[    4.027040] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D         4.4.159-tegra #1
[    4.027041] Hardware name: jetson_tx1 (DT)
[    4.027041] Call trace:
[    4.027046] [<ffffffc000089090>] dump_backtrace+0x0/0xf4
[    4.027049] [<ffffffc000089198>] show_stack+0x14/0x1c
[    4.027053] [<ffffffc000380ab8>] dump_stack+0xac/0xe4
[    4.027055] [<ffffffc00008e964>] handle_IPI+0x16c/0x328
[    4.027057] [<ffffffc000080f44>] gic_handle_irq+0x94/0xbc
[    4.027059] [<ffffffc000083f44>] el1_irq+0x84/0x100
[    4.027063] [<ffffffc00080d9d4>] cpuidle_enter+0x18/0x20
[    4.027066] [<ffffffc0000e2fe8>] call_cpuidle+0x48/0x54
[    4.027068] [<ffffffc0000e32bc>] cpu_startup_entry+0x2c8/0x394
[    4.027070] [<ffffffc00008e514>] secondary_start_kernel+0x15c/0x168
[    4.027072] [<000000008008127c>] 0x8008127c
[    4.027074] CPU3: stopping
[    4.027077] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D         4.4.159-tegra #1
[    4.027078] Hardware name: jetson_tx1 (DT)
[    4.027079] Call trace:
[    4.027083] [<ffffffc000089090>] dump_backtrace+0x0/0xf4
[    4.027086] [<ffffffc000089198>] show_stack+0x14/0x1c
[    4.027088] [<ffffffc000380ab8>] dump_stack+0xac/0xe4
[    4.027090] [<ffffffc00008e964>] handle_IPI+0x16c/0x328
[    4.027092] [<ffffffc000080f44>] gic_handle_irq+0x94/0xbc
[    4.027094] [<ffffffc000083f44>] el1_irq+0x84/0x100
[    4.027097] [<ffffffc00080d9d4>] cpuidle_enter+0x18/0x20
[    4.027099] [<ffffffc0000e2fe8>] call_cpuidle+0x48/0x54
[    4.027101] [<ffffffc0000e32bc>] cpu_startup_entry+0x2c8/0x394
[    4.027103] [<ffffffc00008e514>] secondary_start_kernel+0x15c/0x168
[    4.027104] [<000000008008127c>] 0x8008127c
[    4.031394] CPU0: stopping
[    4.031397] CPU: 0 PID: 37 Comm: kworker/0:1 Tainted: G      D         4.4.159-tegra #1
[    4.031399] Hardware name: jetson_tx1 (DT)
[    4.031404] Workqueue: events tegra_hdmi_hpd_worker
[    4.031405] Call trace:
[    4.031408] [<ffffffc000089090>] dump_backtrace+0x0/0xf4
[    4.031411] [<ffffffc000089198>] show_stack+0x14/0x1c
[    4.031414] [<ffffffc000380ab8>] dump_stack+0xac/0xe4
[    4.031416] [<ffffffc00008e964>] handle_IPI+0x16c/0x328
[    4.031418] [<ffffffc000080f44>] gic_handle_irq+0x94/0xbc
[    4.031421] [<ffffffc000083f44>] el1_irq+0x84/0x100
[    4.031425] [<ffffffc0004cbcf0>] tegra_fbcon_set_fb_mode+0xa4/0xb4
[    4.031427] [<ffffffc0004cbf58>] tegra_fb_update_monspecs+0x258/0x278
[    4.031431] [<ffffffc0004bb72c>] tegra_hdmi_hotplug_notify+0x58/0xa0
[    4.031433] [<ffffffc0004bb8e0>] tegra_hdmi_edid_eld_setup+0x16c/0x23c
[    4.031435] [<ffffffc0004bde58>] tegra_hdmi_hpd_worker+0x13c/0x21c
[    4.031438] [<ffffffc0000baf10>] process_one_work+0x234/0x45c
[    4.031440] [<ffffffc0000bb3ac>] worker_thread+0x274/0x488
[    4.031443] [<ffffffc0000c10d0>] kthread+0x110/0x118
[    4.031445] [<ffffffc0000847a0>] ret_from_fork+0x10/0x30
[    6.296928] Rebooting in 30 seconds..

I’ll make some comments on kernel builds just to make sure the config modification you made is not resulting a problem of the build procedure (versus actual code bug…before tracing the problem it has to be narrowed down to being a code issue and not a config/install issue).

Whenever you build a feature as a module (and not all features can be built as a module) the module prerequisites must be found either in the base kernel or in another module. Typically, if you are just adding a module, then all you have to do is copy the module into the module directory. Stated another way, all of the other modules can be reused. If you compile such that “uname -r” is the same between two builds, then it is best that all original features existing in module format still exist in module format, and that none of the non-module features change. The module directory can always be reused without modification for this case (aside from the additional module).

Whenever you change a base feature ("=y" instead of “=m”) which is integrated with the kernel (not a module format), then it is possible you can reuse all of the modules which are there, but this is no longer guaranteed. Some integrated features are very invasive, e.g., adding swap support for virtual memory affects a very large amount of code base. In that case you would be advised to rebuild not just the kernel, but also all of the modules, and to then change the CONFIG_LOCALVERSION to allow new modules in a new location without erasing the original.

It is easy to edit CONFIG_LOCALVERSION directly in the “.config” file…this is known to not have any dependencies. If you do add (or remove) a feature other than CONFIG_LOCALVERSION, then it is best to do so with a config editor, e.g., “make menuconfig” or “make nconfig”. This will account for other features which might be added in a new chain of requirements. Had you made such an edit without the editor, then you might have missed a new requirement.

Can I confirm you used a config editor to make any change other than the CONFIG_LOCALVERSION (you can modify CONFIG_LOCALVERSION in the editor, it just isn’t a requirement)? I want to be sure no special dependency was missed.

As for the more subtle point, since you changed a base feature (you used “=y”…perhaps there is no ability to use “=m” if the feature cannot be a module), you will probably be better off changing “uname -r” to something like “4.4.159-new” (CONFIG_LOCALVERSION="-new") and adding a brand new complete module directory “/lib/modules/4.4.159-new/” with all modules rebuilt. Then boot and verify “uname -r”. The integrated feature change could mean the existing modules are no longer valid when loaded into that base kernel config.

If all of that is in place, then it would be time to have someone reproduce the problem and debug it as a code issue rather than as a kernel/module configuration/install issue.

hi,Can you help me see the device tree?
I mounted two I2C devices TC358748
One is csi0 4lane and I2C address is 0x546c0000
The other is csi4 2lane and I2C address is 0x7000c000
tegra210-camera-e3326-a00.dtsi

/*
 * Copyright (c) 2015-2016, NVIDIA CORPORATION.  All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#include <dt-bindings/media/camera.h>
#include <dt-bindings/platform/t210/t210.h>

/ {
	host1x {
		vi {
			num-channels = <2>;
			ports {
				#address-cells = <1>;
				#size-cells = <0>;
				port@0 {
					reg = <0>;
					e3326_vi_in0: endpoint {
						csi-port = <0>;
						bus-width = <4>;
						remote-endpoint = <&e3326_csi_out0>;
					};
				};
				port@1 {
					reg = <1>;
					e3326_vi_in1: endpoint {
						csi-port = <4>;
						bus-width = <2>;
						remote-endpoint = <&e3326_csi_out1>;
					};
				};
			};
		};
		nvcsi {
			num-channels = <2>;
			#address-cells = <1>;
			#size-cells = <0>;
			channel@0 {
				reg = <0>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						e3326_csi_in0: endpoint@0 {
							csi-port = <0>;
							bus-width = <4>;
							remote-endpoint = <&e3326_tc358748_out0>;
						};
					};
					port@1 {
						reg = <1>;
						e3326_csi_out0: endpoint@1 {
							remote-endpoint = <&e3326_vi_in0>;
						};
					};
				};
			};
			channel@1 {
				reg = <1>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						e3326_csi_in1: endpoint@2 {
							csi-port = <4>;
							bus-width = <2>;
							remote-endpoint = <&e3326_tc358748_out1>;
						};
					};
					port@1 {
						reg = <1>;
						e3326_csi_out1: endpoint@3 {
							remote-endpoint = <&e3326_vi_in1>;
						};
					};
				};
			};
		};
		i2c@546c0000 {
			tc358748_a@0e {
			compatible = "toshiba,tc358748_mipi";
			/* I2C device address */
			reg = <0x0e>;

			/* V4L2 device node location */
			devnode = "video0";

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

				port@0 {
					reg = <0>;
					e3326_tc358748_out0: endpoint {
						csi-port = <0>;
						bus-width = <4>;
						remote-endpoint = <&e3326_csi_in0>;
					};
				};
			};
		};
	};
	};

i2c@7000c000{
		tc358748_e@0e {
			compatible = "toshiba,tc358748_mipi";
			/* I2C device address */
			reg = <0x0e>;
			devnode = "video1";
			
			/* V4L2 device node location */
			
			ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;
					e3326_tc358748_out1: endpoint {
						csi-port = <4>;
						bus-width = <2>;
						remote-endpoint = <&e3326_csi_in1>;
					};
				};
			};
		};
	};

	tegra-camera-platform {
		compatible = "nvidia, tegra-camera-platform";

		/**
		* The general guideline for naming badge_info contains 3 parts, and is as follows,
		* The first part is the camera_board_id for the module; if the module is in a FFD
		* platform, then use the platform name for this part.
		* The second part contains the position of the module, ex. \u201crear\u201d or \u201cfront\u201d.
		* The third part contains the last 6 characters of a part number which is found
		* in the module's specsheet from the vender.
		*/

		num_csi_lanes = <6>;
		max_lane_speed = <1500000>;
		min_bits_per_pixel = <10>;
		vi_peak_byte_per_pixel = <2>;
		vi_bw_margin_pct = <25>;
		isp_peak_byte_per_pixel = <2>;
		isp_bw_margin_pct = <25>;
		
		modules {
			module0 {
				badge = "tc358748_topleft_P5V27C";
				position = "topleft";
				orientation = "0";
				drivernode0 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver's v4l2 device name */
					devname = "tc358748 6-000e";
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/tc358748_a@0e";
				};
				drivernode1 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_lens";
				};
			};
			module1 {
				badge = "tc358748_topright_P5V27C";
				position = "topright";
				orientation = "0";
				drivernode0 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver's v4l2 device name */
					devname = "tc358748 0-000e";
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/i2c@7000c0000/tc358748_e@0e";
				};
				drivernode1 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_lens";
				};
			};
		};
	};
};

tegra210-jetson-cv-camera-e3326-a00.dtsi

/*
 * Copyright (c) 2015, NVIDIA CORPORATION.  All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#include "tegra210-camera-e3326-a00.dtsi"

#define CAM0_RST_L0	TEGRA_GPIO(Z, 2)


#define GPIO_CTRL	TEGRA_GPIO(v, 6)

/* camera control gpio definitions */

/ {
	host1x {
		i2c@546c0000 {                              
			tc358748_a@0e {                         
				compatible = "toshiba,tc358748_mipi"; 
				//gpio = <&gpio TEGRA_GPIO(v, 6) GPIO_ACTIVE_HIGH>;
				reg = <0x0e>;                  
				csi_id = <0>;                  
				reset-gpios = <&gpio CAM0_RST_L0 GPIO_ACTIVE_HIGH>;
			};
		};
	};
	i2c@7000c000 {
		tc358748_e@0e {
			compatible = "toshiba,tc358748_mipi";
			//gpio = <&gpio TEGRA_GPIO(v, 6) GPIO_ACTIVE_HIGH>;
			reg = <0x0e>;
			csi_id = <4>;
			
		};
	};
};

tegra210-jetson-cv-camera-modules.dtsi

/*
 * Copyright (c) 2016-2017, NVIDIA CORPORATION.  All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 2 of the License.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 */

//#include "tegra210-jetson-cv-camera-imx274-a00.dtsi"
//#include "tegra210-jetson-cv-camera-imx185-a00.dtsi"
//#include "tegra210-jetson-cv-camera-e3333-a00.dtsi"
#include "tegra210-jetson-cv-camera-e3326-a00.dtsi"
//#include "tegra210-jetson-cv-camera-e3323-a00.dtsi"

#define CAM0_RST_L	TEGRA_GPIO(S, 4)
#define CAM0_PWDN	TEGRA_GPIO(S, 7)
#define CAM1_RST_L	TEGRA_GPIO(S, 5)
#define CAM1_PWDN	TEGRA_GPIO(T, 0)

/ {
	/* set camera gpio direction to output */
	// gpio: gpio@6000d000 {
		// camera-control-output-low {
			// gpio-hog;
			// output-low;
			// gpios = <CAM0_RST_L 0 CAM0_PWDN 0
				// CAM1_RST_L 0 CAM1_PWDN 0>;
			// label = "cam0-rst", "cam0-pwdn",
				// "cam1-rst", "cam1-pwdn";
        // };
	// };

	/* all cameras are disabled by default */
	host1x {
		vi_base: vi {
			ports {
				vi_port0: port@0 {
					status = "okay";
					vi_in0: endpoint {
						status = "okay";
					};
				};
				vi_port1: port@1 {
					status = "okay";
					vi_in1: endpoint {
						status = "okay";
					};
				};
				
				
			};
		};
		csi_base: nvcsi {
			csi_chan0: channel@0 {
				status = "okay";
				ports {
					csi_chan0_port0: port@0 {
						status = "okay";
						csi_in0: endpoint@0 {
							status = "okay";
						};
					};
					csi_chan0_port1: port@1 {
						status = "okay";
						csi_out0: endpoint@1 {
							status = "okay";
						};
					};
				};
			};
			csi_chan1: channel@1 {
				status = "okay";
				ports {
					csi_chan1_port0: port@0 {
						status = "okay";
						csi_in1: endpoint@2 {
							status = "okay";
						};
					};
					csi_chan1_port1: port@1 {
						status = "okay";
						csi_out1: endpoint@3 {
							status = "okay";
						};
					};
				};
			};
			
		};
		i2c@546c0000 {
		e3326_cam0: tc358748_a@0e {
			status = "okay";
		};
			
			i2c@6{
				e3336_cam0: tc358748_a@0e {
					status = "okay";
				};
				
			};
			
		};
		
		
	};
		i2c@7000c000 {
		e3326_cam1: tc358748_e@0e {
			status = "okay";
		};
			
			i2c@0 {
				e3336_cam1: tc358748_e@0e {
					status = "okay";
				};
				
			};
			
		};
		

	
	tcp: tegra-camera-platform {
		compatible = "nvidia, tegra-camera-platform";
		
		num_csi_lanes = <6>;	
		//num_csi_lanes = <2>;
		max_lane_speed = <1500000>;
		min_bits_per_pixel = <10>;
		vi_peak_byte_per_pixel = <2>;
		vi_bw_margin_pct = <25>;
		max_pixel_rate = <408000>;
		isp_peak_byte_per_pixel = <2>;
		isp_bw_margin_pct = <25>;
		
	
		modules {
			cam_module0: module0 {
				status = "okay";
				cam_module0_drivernode0: drivernode0 {
					status = "okay";
				};
				cam_module0_drivernode1: drivernode1 {
					status = "okay";
					pcl_id = "v4l2_lens";
				};
			};
			cam_module1: module1 {
				status = "okay";
				cam_module1_drivernode0: drivernode0 {
					status = "okay";
				};
				cam_module1_drivernode1: drivernode1 {
					status = "okay";
					pcl_id = "v4l2_lens";
				};
			};
		};
	};
};

tegra210-jetson-cv-camera-plugin-manager.dtsi

/*
 * Copyright (c) 2016-2017, NVIDIA CORPORATION.  All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 2 of the License.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 */

/ {
	/* camera plugin-manager */
	plugin-manager {
		/* E3326 camera board */
		
			fragment-e3326@0 {
			ids = "3326-*";
			/*1*/
			override@0 {
				target = <&e3326_cam0>;
				_overlay_ {
					status = "okay";
				};
			};
			override@1 {
				target = <&cam_module0>;
				_overlay_ {
					status = "okay";
					badge = "tc358748_topleft_P5V27C";
					position = "topleft";
					orientation = "0";
				};
			};
			override@2 {
				target = <&cam_module0_drivernode0>;
				_overlay_ {
					status = "okay";
					pcl_id = "v4l2_sensor";
					devname = "tc358748 6-000e";
					proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/tc358748_a@0e";
				};
			};
			override@3 {
				target = <&cam_module0_drivernode1>;
				_overlay_ {
					status = "okay";
					pcl_id = "v4l2_lens";
				};
			};
			/*2*/
			override@4 {
				target = <&e3326_cam1>;
				_overlay_ {
					status = "okay";
				};
			};
			override@5 {
				target = <&cam_module1>;
				_overlay_ {
					status = "okay";
					badge = "tc358748_topright_P5V27C";
					position = "topright";
					orientation = "0";
				};
			};
			override@6 {
				target = <&cam_module1_drivernode0>;
				_overlay_ {
					status = "okay";
					pcl_id = "v4l2_sensor";
					devname = "tc358748 0-000e";
					proc-device-tree = "/proc/device-tree/i2c@7000c000/tc358748_e@0e";
				};
			};
			override@7 {
				target = <&cam_module1_drivernode1>;
				_overlay_ {
					status = "okay";
					pcl_id = "v4l2_lens";
				};
			};
			/* Enable VI ports */
			override@8 {
				target = <&vi_base>;
				_overlay_ {
					num-channels=<2>;
				};
			};
			override@9 {
				target = <&vi_port0>;
				_overlay_ {
					status = "okay";
				};
			};
			override@10 {
				target = <&e3326_vi_in0>;
				_overlay_ {
					status = "okay";
					csi-port = <0>;
					bus-width = <4>;
					remote-endpoint = <&e3326_csi_out0>;
				};
			};
			override@11 {
				target = <&vi_port1>;
				_overlay_ {
					status = "okay";
				};
			};
			override@12 {
				target = <&e3326_vi_in1>;
				_overlay_ {
					status = "okay";
					csi-port = <4>;
					bus-width = <2>;
					remote-endpoint = <&e3326_csi_out1>;
				};
			};
			/* Enable CSI ports */
			override@13 {
				target = <&csi_base>;
				_overlay_ {
					num-channels=<2>;
				};
			};
			override@14 {
				target = <&csi_chan0>;
				_overlay_ {
					status = "okay";
				};
			};
			override@15 {
				target = <&csi_chan0_port0>;
				_overlay_ {
					status = "okay";
				};
			};
			override@16 {
				target = <&e3326_csi_in0>;
				_overlay_ {
					status = "okay";
					csi-port = <0>;
					bus-width = <4>;
					remote-endpoint = <&e3326_tc358748_out0>;
				};
			};
			override@17 {
				target = <&csi_chan0_port1>;
				_overlay_ {
					status = "okay";
				};
			};
			override@18 {
				target = <&e3326_csi_out0>;
				_overlay_ {
					status = "okay";
					remote-endpoint = <&e3326_vi_in0>;
				};
			};

			override@19 {
				target = <&csi_chan1>;
				_overlay_ {
					status = "okay";
				};
			};
			override@20 {
				target = <&csi_chan1_port0>;
				_overlay_ {
					status = "okay";
				};
			};
			override@21 {
				target = <&e3326_csi_in1>;
				_overlay_ {
					status = "okay";
					csi-port = <4>;
					bus-width = <2>;
					remote-endpoint = <&e3326_tc358748_out1>;
				};
			};
			override@22 {
				target = <&csi_chan1_port1>;
				_overlay_ {
					status = "okay";
				};
			};
			override@23 {
				target = <&e3326_csi_out1>;
				_overlay_ {
					status = "okay";
					remote-endpoint = <&e3326_vi_in1>;
				};
			};
			/* tegra-camera-platform settings */
			override@24 {
				target = <&tcp>;
				_overlay_ {
					num_csi_lanes = <6>;
					max_lane_speed = <1500000>;
					min_bits_per_pixel = <10>;
					vi_peak_byte_per_pixel = <2>;
					vi_bw_margin_pct = <25>;
					isp_peak_byte_per_pixel = <5>;
					isp_bw_margin_pct = <25>;
				};
			};			
		};
	};
};

thank you very much

Some releases require more work to actually install various edits. For example, in R28.3 you would want to use flash software so that your tree is signed. Let me start by asking what method you used to install kernel and tree? I’m interested in finding out first if the edits were actually accepted/installed.

One way to verify (other than using flash logs) is to reverse compile the system’s tree and see if your edits made it in:

dtc -I fs -O dts -o extracted.dts /proc/device-tree

I know very little about cameras, but earlier releases did not require the signing process, and so my first question will be whether you know the edits actually made it in (due to the install process perhaps interfering). If you find the edits made it in place, then someone else will be able to answer the questions which are specific to cameras.

hi,I decompiled the device tree. The location of the modification was found and it was correct.
I flash the device tree with instructions

sudo ./flash.sh -r -k kernel-dtb jetson-tx1 mmcblk0p1

download the kernel .
Copy “Image” and “zImage” to " /boot" in the board
Is there anything wrong with me?

Only Image is required, but it doesn’t hurt to have zImage. The 32-bit systems used zImage. Not sure if/when 64-bit will use this again.

Assuming the dtb you intended to change is the one flashed by kernel-dtb, then flash method should be ok since it went through flash.sh (which signs first). There is more than one dtb though.

Also, can we verify the following (I’m hoping to consolidate this information in one place):

  • The specific changes made to the config of the kernel you added, and if it was done through a config tool such as "make menuconfig" or "make nconfig", versus just an editor (I dont' care about how the CONFIG_LOCALVERSION was edited, this is independent of anything else, but kernel features have dependencies I want to make sure were not broken).
  • Which specific dtb file name was used, and the exact location of the file within "Linux_for_Tegra/"?
    • Part of the reason for asking is that a pristine copy is copied to a working location and only then signed...if it wasn't the original location prior to copy, then the copy operation might have overwritten your version.
    • Another part of the reason is that there will be different device trees placed in different locations, and not all are for the booted kernel (some are used in boot-related partitions).
  • Is there any hardware attached to the TX1 during boot other than network, keyboard, mouse, monitor? If there is other hardware, then does the boot still fail when only network/keyboard/mouse/monitor is attached?
  • Specifically if there is an HDMI monitor, and if there is anything unusual about it, or if any adapters are being used on the cable?
  • I am assuming this is a standard developer kit and not a custom carrier board (let me know if it is a custom carrier).
  • One other test before going on to try to differentiate between whether it is a kernel issue or a device tree issue: Can you flash the original dtb back in place and see if it boots ok? I wouldn’t expect any hardware requiring the tree edit to work, but I would expect that if the tree is involved in the boot failure that it will boot again without that edited tree. If this still does not boot, then try the reverse: Put the original kernel back in place, but flash the tree, and see if it then boots.

    hi,I described my previous posts on the modified device tree.

  • I modified the following files in the kernel。 I added TC358748 module. I copy three files (TC358748.h, TC358748.c ,tc358748_mode_tbls.h)to"kernel_src/kernel/kernel-4.4/drivers/media/i2c".

    Add the following line in file “Makefile” (kernel_src/kernel/kernel-4.4/drivers/media/i2c)

    obj-$(CONFIG_VIDEO_TC358748)+= tc358748.o
    

    Add the following line in file “kconfig”(kernel_src/kernel/kernel-4.4/drivers/media/i2c)

    config VIDEO_TC358748
            tristate "TC358748 camera sensor support"
            depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
            ---help---
              This is a Video4Linux2 sensor-level driver for the Intesel
              TC358748 camera chip.
    
              To compile this driver as a module, choose M here: the module
              will be called TC358748.
    

    Add the following line in file “tegra21_defconfig”(kernel_src/kernel/kernel-4.4/arch/arm64/configs)

    CONFIG_VIDEO_TC358748=y
    
  • There were four DTB files in "Linux_for_Tegra/kernel/dtb". recompiling the kernel and device tree, I took the four files with the same name in "SOURCE/kernel_src/kernel_out/arch/arm64/boot" to "Linux_for_Tegra/kernel/dtb".
  • when only network/keyboard/mouse/monitor is attached boot still fail
  • HDMI displays a black screen. The following print message will appear. Keep rebooting
    [    3.354257] isp 54600000.isp: initialized
    [    3.355626] isp 54680000.isp: initialized
    [    3.358883] mmcblk0: mmc0:0001 016G32 14.7 GiB 
    [    3.359267] clk_cbus_recalc_rate: no gbus parent
    [    3.359273] clk_cbus_round_rate: no gbus parent
    [    3.359277] clk_cbus_round_rate: no gbus parent
    [    3.359285] clk_cbus_recalc_rate: no gbus parent
    [    3.369410] clk_cbus_recalc_rate: no gbus parent
    [    3.369415] clk_cbus_round_rate: no gbus parent
    [    3.369418] clk_cbus_round_rate: no gbus parent
    [    3.369424] clk_cbus_recalc_rate: no gbus parent
    [    3.369449] tegra_dvfs: GPU-cap: registered
    [    3.369536] tegra dvfs: vdd-cpu: nominal 1226mV, offset 708000uV, step 19200uV, scaling enabled
    [    3.369540] tegra dvfs: vdd-core: nominal 1075mV, offset 600000uV, step 12500uV, scaling enabled
    [    3.369544] tegra dvfs: vdd-gpu: nominal 1090mV, offset 710000uV, step 10000uV, scaling enabled
    [    3.380966] mmcblk0rpmb: mmc0:0001 016G32 partition 3 4.00 MiB
    [    3.434773]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19
    [    3.466147] tegra_dvfs: vdd-gpu-vts: registered
    [    3.470811] xhci-tegra 70090000.xusb: can't get usb3-0 phy (-517)
    [    3.471567] tegra21x-padctl-uphy 7009f000.pinctrl: padctl mmio start 0x000000007009f000 end 0x000000007009ffff
    [    3.471578] tegra21x-padctl-uphy 7009f000.pinctrl: TEGRA_FUSE_SKU_CALIB_0 0x71c740e
    [    3.471586] tegra21x-padctl-uphy 7009f000.pinctrl: TEGRA_FUSE_USB_CALIB_EXT_0 0x4
    [    3.472816] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-0 is used by XUSB
    [    3.472825] tegra21x-padctl-uphy 7009f000.pinctrl: using UTMI port 0 for otg
    [    3.472833] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-2 is used by XUSB
    [    3.472847] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 5, set usb3_lanes = 0x20
    [    3.472861] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 1 maps to USB2 port 2
    [    3.472868] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-1 is used by XUSB
    [    3.472880] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 6, set usb3_lanes = 0x60
    [    3.472892] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 0 maps to USB2 port 1
    [    3.472907] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 1, set pcie_lanes = 0x2
    [    3.472924] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 2, set pcie_lanes = 0x6
    [    3.472940] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 3, set pcie_lanes = 0xe
    [    3.472956] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 4, set pcie_lanes = 0x1e
    [    3.472972] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 0, set pcie_lanes = 0x1f
    [    3.472990] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 7, set sata_lanes = 0x80
    [    3.473656] usb-vbus1: supplied by vdd-3v3
    [    3.476036] tegra21x-padctl-uphy 7009f000.pinctrl: Done tegra21x_padctl_uphy_probe
    [    3.478625] tegra-pcie 1003000.pcie-controller: 4x1, 1x1 configuration
    [    3.478866] tegra-pcie 1003000.pcie-controller: PCIE: Enable power rails
    [    3.479600] clk_cbus_round_rate: no gbus parent
    [    3.479607] tegra_gpu_edp gpu_edp: unable to get max GPU freq
    [    3.480004] tegra-pcie 1003000.pcie-controller: probing port 0, using 4 lanes
    [    3.481898] gk20a 57000000.gpu: GPCPLL initial settings: NA mode, M=1, N=34, P=3
    [    3.482216] tegra-pcie 1003000.pcie-controller: probing port 1, using 1 lanes
    [    3.483056] gk20a 57000000.gpu: failed to allocate secure buffer -12
    [    3.483575] tegra-ahci 70027000.sata: Missing devslp-active state
    [    3.492072] tegra-ahci 70027000.sata: AHCI 0001.0301 32 slots 2 ports 3 Gbps 0x1 impl platform mode
    [    3.492083] tegra-ahci 70027000.sata: flags: 64bit ncq sntf pm led pmp pio slum part deso sadm apst 
    [    3.493274] scsi host0: tegra_ahci
    [    3.493681] scsi host1: tegra_ahci
    [    3.493907] ata1: SATA max UDMA/133 mmio [mem 0x70027000-0x70028fff] port 0x100 irq 114
    [    3.493911] ata2: DUMMY
    [    3.497130] tegra-xudc-new 700d0000.xudc: USB charger detection disabled
    [    3.497242] tegra-xudc-new 700d0000.xudc: device mode on
    [    3.525714] tegra_core_action core_dvfs_cdev_floor: Tegra CORE DVFS 'floor cooling device' registered
    [    3.535125] input: tegra-hda HDMI/DP,pcm=3 as /devices/70030000.hda/sound/card0/input0
    [    3.545388] tegra_core_action core_dvfs_cdev_cap: Tegra CORE DVFS 'cap cooling device' registered
    [    3.545831] tegra_dfll_action dfll-cdev-cap: Tegra DFLL 'cap cooling device' registered
    [    3.564000] tegra_dfll_action dfll-cdev-floor: Tegra DFLL 'floor cooling device' registered
    [    3.565030] tegra124-dfll 70110000.clock: entered closed loop mode
    [    3.569081] xhci-tegra 70090000.xusb: UTMI port 0 has OTG_CAP
    [    3.569083] xhci-tegra 70090000.xusb: No USB3 port has OTG_CAP
    [    3.572361] xhci-tegra 70090000.xusb: Direct firmware load for tegra21x_xusb_firmware failed with error -2
    [    3.572363] xhci-tegra 70090000.xusb: Falling back to user helper
    [    3.606863] input: gpio-keys as /devices/gpio-keys/input/input2
    [    3.655825] tegra_rtc 7000e000.rtc: setting system clock to 2019-07-15 06:15:05 UTC (1563171305)
    [    3.656506] vi 54080000.vi: vi_probe: ++
    [    3.814257] ata1: SATA link down (SStatus 0 SControl 300)
    [    3.892420] vi 54080000.vi: initialized
    [    3.910261] tegra-pcie 1003000.pcie-controller: link 0 down, retrying
    [    4.025581] vi 54080000.vi: subdev nvcsi-0 bound
    [    4.025584] vi 54080000.vi: subdev tc358748_mipi 6-000e bound
    [    4.025651] Unable to handle kernel NULL pointer dereference at virtual address 00000178
    [    4.025652] pgd = ffffffc0015fa000
    [    4.025657] [00000178] *pgd=000000017a5d8003, *pud=000000017a5d8003, *pmd=000000017a5d9003, *pte=00e8000050041707
    [    4.025660] Internal error: Oops: 96000005 [#1] PREEMPT SMP
    [    4.025663] Modules linked in:
    [    4.025666] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.4.159-tegra #1
    [    4.025667] Hardware name: jetson_tx1 (DT)
    [    4.025669] task: ffffffc0fa6f0000 ti: ffffffc0fa6a4000 task.ti: ffffffc0fa6a4000
    [    4.025676] PC is at find_matching_color_fmt+0x10/0xa4
    [    4.025678] LR is at camera_common_enum_mbus_code+0x44/0xb4
    [    4.025680] pc : [<ffffffc0007b6d70>] lr : [<ffffffc0007b6e48>] pstate: 20000045
    [    4.025681] sp : ffffffc0fa6a7830
    [    4.025684] x29: ffffffc0fa6a7840 x28: 0000000000000018 
    [    4.025686] x27: ffffffc0010f1fd0 x26: ffffffc0010f1fd8 
    [    4.025689] x25: ffffffc0f8bde050 x24: ffffffc0f8bde050 
    [    4.025691] x23: ffffffc07d373be8 x22: ffffffc07d373018 
    [    4.025693] x21: ffffffc0fa6a7908 x20: ffffffc0f906cc20 
    [    4.025695] x19: ffffffc07d373018 x18: 0000000000000000 
    [    4.025697] x17: 0000000000000000 x16: 0000000000000000 
    [    4.025699] x15: 0000000000000000 x14: 0fffffffffffffff 
    [    4.025701] x13: 0000000000000020 x12: 0101010101010101 
    [    4.025703] x11: ffffffc000c5f000 x10: fefefeff64636e6c 
    [    4.025705] x9 : 00000000ffffffff x8 : 000000000000fffe 
    [    4.025707] x7 : 000000000000008d x6 : 0000000000000002 
    [    4.025709] x5 : ffffffc000bdca68 x4 : 000000000000006d 
    [    4.025711] x3 : 0000000000000000 x2 : 0000000000000000 
    [    4.025713] x1 : 0000000000000000 x0 : 0000000000000170 
    [    4.025714] 
    [    4.025715] Process swapper/0 (pid: 1, stack limit = 0xffffffc0fa6a4020)
    [    4.025716] Call trace:
    [    4.025720] [<ffffffc0007b6d70>] find_matching_color_fmt+0x10/0xa4
    [    4.025723] [<ffffffc0007ad76c>] tegra_channel_fmts_bitmap_init+0xa8/0x1f4
    [    4.025726] [<ffffffc0007aebd8>] tegra_channel_init_subdevices+0x144/0x648
    [    4.025729] [<ffffffc0007afed8>] tegra_vi_graph_notify_complete+0x588/0x60c
    [    4.025731] [<ffffffc00079a644>] v4l2_async_test_notify+0xe8/0x100
    [    4.025733] [<ffffffc00079a788>] v4l2_async_notifier_register+0x12c/0x17c
    [    4.025735] [<ffffffc0007b0790>] tegra_vi_graph_init+0x1dc/0x278
    [    4.025737] [<ffffffc0007ac914>] tegra_vi_media_controller_init+0x150/0x1dc
    [    4.025740] [<ffffffc0007ba2fc>] vi_probe+0x448/0x4e8
    [    4.025744] [<ffffffc0005f7494>] platform_drv_probe+0x50/0xb0
    [    4.025748] [<ffffffc0005f5190>] driver_probe_device+0x178/0x3b4
    [    4.025750] [<ffffffc0005f5430>] __driver_attach+0x64/0x90
    [    4.025753] [<ffffffc0005f3158>] bus_for_each_dev+0x50/0x9c
    [    4.025756] [<ffffffc0005f4bd4>] driver_attach+0x20/0x28
    [    4.025758] [<ffffffc0005f4594>] bus_add_driver+0x130/0x25c
    [    4.025761] [<ffffffc0005f6278>] driver_register+0x98/0xe0
    [    4.025763] [<ffffffc0005f73f0>] __platform_driver_register+0x54/0x5c
    [    4.025767] [<ffffffc001230278>] vi_init+0x2c/0x38
    [    4.025770] [<ffffffc000081448>] do_one_initcall+0x110/0x1c4
    [    4.025775] [<ffffffc0011f0b98>] kernel_init_freeable+0x1e4/0x290
    [    4.025779] [<ffffffc000b819b4>] kernel_init+0x10/0xdc
    [    4.025782] [<ffffffc0000847a0>] ret_from_fork+0x10/0x30
    [    4.025879] ---[ end trace b42cf103ac74b2fa ]---
    [    4.026997] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
    [    4.026997] 
    [    4.027036] CPU1: stopping
    [    4.027040] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D         4.4.159-tegra #1
    [    4.027041] Hardware name: jetson_tx1 (DT)
    [    4.027041] Call trace:
    [    4.027046] [<ffffffc000089090>] dump_backtrace+0x0/0xf4
    [    4.027049] [<ffffffc000089198>] show_stack+0x14/0x1c
    [    4.027053] [<ffffffc000380ab8>] dump_stack+0xac/0xe4
    [    4.027055] [<ffffffc00008e964>] handle_IPI+0x16c/0x328
    [    4.027057] [<ffffffc000080f44>] gic_handle_irq+0x94/0xbc
    [    4.027059] [<ffffffc000083f44>] el1_irq+0x84/0x100
    [    4.027063] [<ffffffc00080d9d4>] cpuidle_enter+0x18/0x20
    [    4.027066] [<ffffffc0000e2fe8>] call_cpuidle+0x48/0x54
    [    4.027068] [<ffffffc0000e32bc>] cpu_startup_entry+0x2c8/0x394
    [    4.027070] [<ffffffc00008e514>] secondary_start_kernel+0x15c/0x168
    [    4.027072] [<000000008008127c>] 0x8008127c
    [    4.027074] CPU3: stopping
    [    4.027077] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D         4.4.159-tegra #1
    [    4.027078] Hardware name: jetson_tx1 (DT)
    [    4.027079] Call trace:
    [    4.027083] [<ffffffc000089090>] dump_backtrace+0x0/0xf4
    [    4.027086] [<ffffffc000089198>] show_stack+0x14/0x1c
    [    4.027088] [<ffffffc000380ab8>] dump_stack+0xac/0xe4
    [    4.027090] [<ffffffc00008e964>] handle_IPI+0x16c/0x328
    [    4.027092] [<ffffffc000080f44>] gic_handle_irq+0x94/0xbc
    [    4.027094] [<ffffffc000083f44>] el1_irq+0x84/0x100
    [    4.027097] [<ffffffc00080d9d4>] cpuidle_enter+0x18/0x20
    [    4.027099] [<ffffffc0000e2fe8>] call_cpuidle+0x48/0x54
    [    4.027101] [<ffffffc0000e32bc>] cpu_startup_entry+0x2c8/0x394
    [    4.027103] [<ffffffc00008e514>] secondary_start_kernel+0x15c/0x168
    [    4.027104] [<000000008008127c>] 0x8008127c
    [    4.031394] CPU0: stopping
    [    4.031397] CPU: 0 PID: 37 Comm: kworker/0:1 Tainted: G      D         4.4.159-tegra #1
    [    4.031399] Hardware name: jetson_tx1 (DT)
    [    4.031404] Workqueue: events tegra_hdmi_hpd_worker
    [    4.031405] Call trace:
    [    4.031408] [<ffffffc000089090>] dump_backtrace+0x0/0xf4
    [    4.031411] [<ffffffc000089198>] show_stack+0x14/0x1c
    [    4.031414] [<ffffffc000380ab8>] dump_stack+0xac/0xe4
    [    4.031416] [<ffffffc00008e964>] handle_IPI+0x16c/0x328
    [    4.031418] [<ffffffc000080f44>] gic_handle_irq+0x94/0xbc
    [    4.031421] [<ffffffc000083f44>] el1_irq+0x84/0x100
    [    4.031425] [<ffffffc0004cbcf0>] tegra_fbcon_set_fb_mode+0xa4/0xb4
    [    4.031427] [<ffffffc0004cbf58>] tegra_fb_update_monspecs+0x258/0x278
    [    4.031431] [<ffffffc0004bb72c>] tegra_hdmi_hotplug_notify+0x58/0xa0
    [    4.031433] [<ffffffc0004bb8e0>] tegra_hdmi_edid_eld_setup+0x16c/0x23c
    [    4.031435] [<ffffffc0004bde58>] tegra_hdmi_hpd_worker+0x13c/0x21c
    [    4.031438] [<ffffffc0000baf10>] process_one_work+0x234/0x45c
    [    4.031440] [<ffffffc0000bb3ac>] worker_thread+0x274/0x488
    [    4.031443] [<ffffffc0000c10d0>] kthread+0x110/0x118
    [    4.031445] [<ffffffc0000847a0>] ret_from_fork+0x10/0x30
    [    6.296928] Rebooting in 30 seconds..
    
  • this is a standard developer kit
  • It works well when only the device tree is updated. Reboot occurs when the kernel is updated
  • Keep in mind as we go that I am not a sensor driver programmer, but this is the start of the kernel failure:

    [ 4.089149] Unable to handle kernel NULL pointer dereference at virtual address 00000178
    

    You configured with “=y”, so it is an integrated feature. Not all drivers can work as a module, but if they can, I’d try with “=m” to see debug messages during an insmod (the system would boot and the failure would only be upon insmod). If that isn’t possible you’ll have to go from where you have already started.

    There are actually a couple of components to what you are adding. One is i2c for communications, the other is the actual driver. In the case of i2c there will be mandatory device tree edits; otherwise the driver will not be able to correctly talk to the hardware. This is one possibility of a NULL dereference. Note that HDMI also uses i2c to query the monitor.

    You did say it only works well when the device tree is updated. Is it possible for you to build this particular driver as a module instead of as integrated? Someone else who has worked on this driver can probably spot what is going on based on what you have already posted, but if not, then you’ll want to see what happens if you insmod the module after boot is complete and while monitoring “dmesg --follow” from a serial console (assumes this can be built as a module).

    hi
    My problem has not been solved, I found a problem, burning the same file system and kernel, the old TX1 module can not be started, the newly bought TX1 can be started 。why?

    By “same file system and kernel”, are you saying the default which comes with a given JetPack or L4T release? Or are you saying a default install followed by a kernel change?

    When you say the system cannot be started, are you going by serial console or the GUI? If going by serial console, then this is a good basis to say it didn’t boot. If going by GUI, then this won’t tell you if the system booted or not when display fails during the GUI stage.

    If this was just a kernel update, then the kernel has to have the right configuration. Also, if the kernel build changed the output of “uname -r”, then you must reinstall every single module to the new location of “/lib/modules/$(uname -r)/” (none of the older modules could be reached if “uname -r” changes).

    Additionally, any kernel update would require starting with a working configuration, and only then have any changes made. If the kernel version itself changed what drivers or ABIs are available, then it is possible there is no way to match the original configuration. Even two kernels made from the same kernel source could be completely incompatible if their configurations and CONFIG_LOCALVERSION (which takes part in “uname -r”) do not match.

    hi
    Thank you very much for your patience.
    I think there is a problem with my method, so I decided to relearn to modify the kernel.
    I am cross-compiling the kernel on a non-tegra system.
    I am reading Kernel customization
    https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fkernel_custom.html%23wwpID0ESHA

    I downloaded and compiled the source kernel.
    When compiling externally, I found that I would not edit it. Such as hello.c
    I modified a device tree, I don’t know how to compile it.
    I have a file driver, how can I compile it?
    How to compile the file into the kernel?
    Thank you

    Some definitions or descriptions of how the kernel is arranged will probably help, so bear with me while I write [far] too much :P The confusion is common, so I’ll just write it down for other people as well.

    The kernel itself can be either one monolithic set of code without any modules, or some parts of the kernel can be loaded or unloaded while the kernel runs…those are modules. Not all parts of the kernel can be unloaded/reloaded as a module, but many parts can. If I say integrated, then it implies “a feature enabled when configuring the kernel such that the feature is not a separate module”.

    There are many kernel features. Some provide services or features which are not drivers, but which are used by some part of the kernel. As an example, if virtual memory is enabled to allow a swap file, then virtual memory is not a driver, but it does use the driver to the hard disk to read/write the swap file. If I say driver, then the driver might or might not be a module, but you can consider that a driver interacts with hardware and is not just some sort of support algorithm. Some modules are drivers, some are not. Some kernel features interact with hardware, some do not.

    The bootloader has the job of setting up an environment for the Linux kernel, and then ending its own life by overwriting itself with the kernel. At the time of load the kernel may look at the inherited environment for clues on how to set itself up. Arguments will be passed to the kernel on the command line just like any other program (see “cat /proc/cmdline” and you’ll know what was passed as an argument).

    Kernel arguments can either be from a set of standard arguments all kernels work with, or they might be something else only some custom part of the kernel understands. When the kernel loads every driver can see every command line argument, but arguments the component doesn’t know about are thrown away and ignored. If an argument is custom, but the driver sees the argument and is programmed to use that argument, then suddenly the argument has meaning. Some of the environment passed on is similar in that different parts of the kernel might find meaning in the environment, or might throw away environment.

    Drivers can have arguments passed to them at the time they load (part of the “insmod” command). Integrated features only deal with arguments at the time the kernel loads and don’t really accept arguments the same way as loading(“insmod”)/unloading(“rmmod”)/reloading(“rmmod”+“insmod”) of a module does.

    Command line arguments tend to be for features of a driver which are more or less an abstract concept, and although that concept may not exist outside of the driver, the argument is something generic that the driver will understand even if the hardware implementation is different. For example, a given chipset will use the same driver, but on different motherboards may be located at a different base address. It wouldn’t matter what the base address is, such arguments are valid regardless of this.

    Then comes the part most people outside of the embedded world never hear about: The device tree. A long time ago drivers would require a different driver even with the same chipset if their base address or some other non-chipset-dependent never changed. E.g., one driver for the chipset on one motherboard brand, and a different driver for the same chipset on another motherboard brand. You might even make an adapter so a generic kernel driver for the chipset could load after the adapter adjusted for the different base address (or any such similar detail). Linux Torvalds became a bit upset about how fast the kernel was growing just for these simple details. So we got the device tree.

    The device tree is yet another way of passing arguments to drivers. However, the device tree is special in that it has a unified mechanism to read the tree and a unified layout. Like command line arguments, if a driver does not know about the argument, then that part of the tree will simply be ignored. However, drivers of non-Plug-n-Play devices became responsible for dealing with custom base addresses and other details which differ even when the actual chipset remains constant. In addition, recall that I mentioned that the bootloader also sets up an environment prior to loading the kernel…the bootloader itself can use device tree content for setting up hardware and drivers prior to the kernel ever loading. This then gets passed on to the kernel as it loads, and drivers see whatever content applies to them, e.g., the driver will now know there is a serial port at an address via a “serial@12345678” type entry (the “12345678” is a contrived base address).

    Device trees can be built entirely independently from the kernel source. Many people work on device trees without ever touching the kernel source. However, since given drivers which may or may not be configured to exist in a kernel also determines whether or not some piece of a device tree will matter you will find that can compile a device tree along with the kernel. Depending on which drivers you select, you will find different “.dtsi” device tree files are combined in order to create a single device tree. You could compile for various drivers you don’t need, and this would simply be ignored, but why bother?

    In older releases the bootloader simply read a device tree file from the ext4 filesystem. In that case only U-Boot and Linux needed this. However, in more recent releases (which are gearing up for Secure Boot and redundancy), you will find the device tree migrated to a separate binary partition instead of the ext4 filesystem. This is because those stages of boot prior to U-Boot do not have an ext4 driver. Instead those earlier stages read directly from a partition, and even U-Boot inherits the tree which those earlier stages pass on to it…and then the kernel inherits from the bootloader.

    As such, where you used to simply be able to copy a file into “/boot” for device tree changes, you must now use flash software to put the tree into a partition (and this includes cryptographic signing…if signing is not correct, then the content will be rejected).


    For actual procedures, you must expect that anything you do with a kernel requires the kernel to be first configured. Often there is a “make” target of some sort of default config, the “something_defconfig”. Many Tegra platforms inherit hardware from earlier releases, and sometimes you will see just “tegra” for a series of different Jetsons, or even drivers named for a Tegra release which is different from what you have. When you see references in the docs to “make tegra_defconfig”, what you are doing is creating a “.config” file at the base of your kernel output location, and that config is valid as a base starting point for that platform.

    On a running system you will also find a pseudo file (part of a driver and not actually on the hard drive) of “/proc/config.gz”. I tend to start with this, because other than one detail, this is an absolute guarantee that the kernel I am building (the features selected) are an exact match to what I already have in place.

    After you make tegra_defconfig, or after you’ve placed a gunzip decompressed copy of the “/proc/config.gz” in the build output location as name “.config”, then you can make modifications. Or just build things. However, that “one detail” which does not exist as an exact match to the running system still needs to be addressed.

    When a kernel loads a module it needs to know where to find the module. The command “uname -r” is a combination of the base kernel version, e.g., “4.4.38”, combined with a suffix. The suffix is usually from the “.config” file’s “CONFIG_LOCALVERSION”. You’ll see this as “-tegra” by default. So if you were to manually edit the “.config”, then this is what you’d want for that one line:

    CONFIG_LOCALVERSION="-tegra"
    

    A module loads at “/lib/modules/$(uname -r)/”, and thus if you didn’t preserve the old “uname -r”, and install a new kernel, then 100% of the modules need to be rebuilt and put back into place with the new “uname -r”. Sometimes you actually want this, e.g., if you changed a feature in the kernel Image which invalidates the existing modules. Before and after you install a kernel Image make sure to check “uname -r” to find that suffix to append to “CONFIG_LOCALVERSION”, and to see if what you installed is what you expected.

    Regardless of what you build I suggest that after you configure the kernel that you always build the “Image” target once to see if it works. This also sets up some dependencies which are needed before building modules or device tree (there are other ways to set up those dependencies, but if you can’t build Image, then none of your other build targets will be valid). If for example you build modules prior to building Image (or alternatively, “make modules_depend”) build will fail due to invalid configuration.

    The “make dtbs” target builds a device tree binary. Device tree source files are “.dts” files, device tree binary files are “.dtb” files, and a “.dtsi” file is a device tree include file only used by the kernel. You’ll need to consult the documentation of the particular L4T/JetPack release for how to install a device tree. The particular device tree binary you put in the flash software area will have a name which is based on both the module and the carrier board (and perhaps the carrier board revision). If you ever flash a Jetson, then always save a log so you can see which specific device tree files are used for your particular board.

    FYI, the device tree does not compile “into” the kernel. This is a separate and independent file and ends up in a partition, but the kernel does see its content. Modules will end up somewhere in “/lib/modules/$(uname -r)/”. The “Image” file (the uncompressed integrated kernel) will be in “/boot/”.

    You can always ask more questions, but due to how details change with release, I suggest going through the official documents and asking about specific instructions after naming your exact JetPack/L4T/SDK Manager version. You already mentioned for a TX1 devel board, but you’d want to mention that again at the start of any new thread.

    thank you very much
    I dowload
    https://developer.nvidia.com/embedded/linux-tegra L4T 32.2.1
    flash
    sudo ./flash.sh jetson-tx1 mmcblk0p1
    flash finish

    *** The target t210ref has been flashed successfully. ***
    Reset the board to boot from internal eMMC.
    

    reboot following print message will appear.

    [0002.656] iframe 0x92ca2ce0:
    [0002.659] x0  0x               0 x1  0x               0 x2  0x        92ca12f8 x3  0x              30
    [0002.668] x4  0x               a x5  0x        92ca12f8 x6  0x              20 x7  0x               5
    [0002.678] x8  0x        83000000 x9  0x           21cdb x10 0x           21ccc x11 0x        92ca2fbc
    [0002.687] x12 0x        83000000 x13 0x        92ca303c x14 0x        83000000 x15 0x        92ca9158
    [0002.696] x16 0x           ffff0 x17 0x           10000 x18 0x               0 x19 0x               9
    [0002.705] x20 0x        83000000 x21 0x               1 x22 0x        92ca0468 x23 0x               5
    [0002.715] x24 0x        92c5d000 x25 0x        92ca0000 x26 0x        92ca04ec x27 0x        92c9f1f8
    [0002.724] x28 0x        92c5df72 x29 0x        92ca3000 lr  0x        92c0f054 sp  0x        92ca2dd0
    [0002.733] elr 0x        92c0f058
    [0002.737] spsr 0x        60000309
    [0002.740] -----------------------------------------------
    [0002.745] panic (caller 0x92c01238): die
    [0002.749] HALT: spinning forever...
    

    why?
    how to solve this problem?

    Prior to the flash.sh command, did add a sample rootfs into the “Linux_for_Tegra/rootfs/” directory? Did you then run (from “Linux_for_Tegra/”) the command “sudo ./apply_binaries.sh”? The basic flash command is correct, but if you didn’t load the NVIDIA-specific files onto the sample rootfs, then boot would fail.