L4T 32.4.3 kernel panics when booting on device initially flashed using L4T 28.2.1 tegraflash

I’m trying to migrate the OS of our custom carrier-board from a L4T 28.2.1 (kernel 4.4) release to L4T 32.4.3 (kernel 4.9).
The system boots OK when doing a tegraflash using the 32.4.3 toolchain.

We do A/B redundancy in u-boot, where an env-var selects the active rootfs partition.
Updating and booting the secondary rootfs with another rootfs made with 32.4.3 works OK. Going from 28.2.1 to 28.2.1 is also OK.

However, when I update the rootfs of a device that has initially been flashed with the 28.2.1 tegraflash, the kernel panics just before or after starting systemd.
The same issue also occurs when I update only the kernel+DTB.
I have also tried updating cboot and u-boot to L4T 32.4.3, but the result is the same.

The kernel panic happens most often direcly after mounting the rootfs, but sometimes the system manages to start systemd and then just hangs for a minute before panicking.

[0000.080] C> I2C command failed
[0000.083] C> block index = (4) and rail_id = (1)
[0000.087] C> Addr: Reg = [0xe8:0x07]: 336166925
[0000.205] I> Welcome to MB2(TBoot-BPMP)(version: 01.00.160913-t186-M-00.00-mobile-c4328dc3)
[0000.213] I> Default Heap @ [0xd486400 - 0xd488400]
[0000.218] I> DMA Heap @ [0x85200000 - 0x86200000]
[0000.222] I> bit @ 0xd480000
[0000.225] I> BR-BCT relocated to 0xd7020000
[0000.229] I> Boot-device: eMMC
[0000.233] I> sdmmc bdev is already initialized
[0000.238] I> pmic: reset reason (nverc)	: 0x0
[0000.242] I> Reading GPT from 512 for device 00000003
[0000.248] I> Reading GPT from 8388096 for device 00000003
[0000.254] W> Cannot find any partition table for 00000003
[0000.259] E> tegrabl_partition_publish: exit error = 6834001
[0000.265] I> Reading GPT from 512 for device 00010003
[0000.272] I> Found 33 partitions in 00010003 device
[0000.277] W> No valid slot number is found in scratch register
[0000.283] W> Return default slot: _a
[0000.286] I> A/B: bin_type (16) slot 0
[0000.290] I> Loading partition bpmp-fw at 0xd7800000
[0000.295] I> Reading two headers - addr:0xd7800000 blocks:1
[0000.300] I> Addr: 0xd7800000, start-block: 58793985, num_blocks: 1
[0000.315] I> Binary(16) of size 529040 is loaded @ 0xd7800000
[0000.321] W> No valid slot number is found in scratch register
[0000.326] W> Return default slot: _a
[0000.330] I> A/B: bin_type (17) slot 0
[0000.333] I> Loading partition bpmp-fw-dtb at 0xd79f0000
[0000.339] I> Reading two headers - addr:0xd79f0000 blocks:1
[0000.344] I> Addr: 0xd79f0000, start-block: 58796401, num_blocks: 1
[0000.358] I> Binary(17) of size 465760 is loaded @ 0xd798e200
[0000.533] I> BPMP-FW load address = 0xd7800000
[0000.538] I> BPMP-FW DTB load address = 0x5018e200
[0000.543] I> Loading SCE-FW ...
[0000.545] W> No valid slot number is found in scratch register
[0000.551] W> Return default slot: _a
[0000.555] I> A/B: bin_type (12) slot 0
[0000.558] I> Loading partition sce-fw at 0xd7300000
[0000.563] I> Reading two headers - addr:0xd7300000 blocks:1
[0000.568] I> Addr: 0xd7300000, start-block: 58798401, num_blocks: 1
[0000.577] I> Binary(12) of size 76592 is loaded @ 0xd7300000
[0000.583] I> Init SCE
[0000.585] I> Copy BTCM section
[0000.588] W> No valid slot number is found in scratch register
[0000.594] W> Return default slot: _a
[0000.597] I> A/B: bin_type (13) slot 0
[0000.601] I> Loading partition cpu-bootloader at 0x96000000
[0000.606] I> Reading two headers - addr:0x96000000 blocks:1
[0000.612] I> Addr: 0x96000000, start-block: 58773505, num_blocks: 1
[0000.623] I> Binary(13) of size 278480 is loaded @ 0x96000000
[0000.629] W> No valid slot number is found in scratch register
[0000.634] W> Return default slot: _a
[0000.638] I> A/B: bin_type (20) slot 0
[0000.641] I> Loading partition bootloader-dtb at 0x8520f400
[0000.647] I> Reading two headers - addr:0x8520f400 blocks:1
[0000.652] I> Addr: 0x8520f400, start-block: 58775553, num_blocks: 1
[0000.663] I> Binary(20) of size 227968 is loaded @ 0x8520f400
[0000.669] I> MB2-params(VA) @ 0xd7000000
[0000.672] I> CPUBL-params(VA) @ 0xd7000000
[0000.676] I> CPUBL-params(PA) @ 0x277000000
[0000.680] I> CPU-BL loaded @ PA 0x96000000
[0000.684] I> Loading TOS ...
[0000.687] W> No valid slot number is found in scratch register
[0000.693] W> Return default slot: _a
[0000.696] I> A/B: bin_type (14) slot 0
[0000.700] I> Loading partition secure-os at 0x8530f600
[0000.705] I> Reading two headers - addr:0x8530f600 blocks:1
[0000.710] I> Addr: 0x8530f600, start-block: 58777601, num_blocks: 1
[0000.719] I> Binary(14) of size 62576 is loaded @ 0x8530f600
[0000.724] I> Copying Monitor (length: 0xf270) from 0x8530f800 to 0x40000000
[0000.732] I> Erasing Monitor @ 0x8530f800
[0000.736] I> Unhalting SCE
[0000.739] I> Primary Memory Start:80000000 Size:70000000
[0000.744] I> Extended Memory Start:f0110000 Size:185ef0000
[0000.750] I> Waypoint2-ACK: 0x52012714
[0000.754] I> MB2(TBoot-BPMP) done

NOTICE:  BL31: v1.2(release):e1e4477
NOTICE:  BL31: Built : 00:08:30, May 17 2018
NOTICE:  Trusty image missing.
ERROR:   Error initializing runtime service trusty_fast
[0001.114] I> Welcome to Cboot
[0001.117] I> Cboot Version: 00.00.2014.50-t186-26bbd1b7
[0001.122] I> CPU-BL Params @ 0x277000000
[0001.126] I>  0) Base:0x00000000 Size:0x00000000
[0001.130] I>  1) Base:0x277f00000 Size:0x00100000
[0001.135] I>  2) Base:0x277e00000 Size:0x00100000
[0001.139] I>  3) Base:0x277d00000 Size:0x00100000
[0001.144] I>  4) Base:0x277c00000 Size:0x00100000
[0001.148] I>  5) Base:0x277b00000 Size:0x00100000
[0001.153] I>  6) Base:0x277800000 Size:0x00200000
[0001.157] I>  7) Base:0x277400000 Size:0x00400000
[0001.162] I>  8) Base:0x277a00000 Size:0x00100000
[0001.166] I>  9) Base:0x277300000 Size:0x00100000
[0001.171] I> 10) Base:0x276800000 Size:0x00800000
[0001.175] I> 11) Base:0x30000000 Size:0x00040000
[0001.180] I> 12) Base:0xf0000000 Size:0x00100000
[0001.184] I> 13) Base:0x30040000 Size:0x00001000
[0001.189] I> 14) Base:0x30048000 Size:0x00001000
[0001.193] I> 15) Base:0x30049000 Size:0x00001000
[0001.198] I> 16) Base:0x3004a000 Size:0x00001000
[0001.202] I> 17) Base:0x3004b000 Size:0x00001000
[0001.206] I> 18) Base:0x3004c000 Size:0x00001000
[0001.211] I> 19) Base:0x3004d000 Size:0x00001000
[0001.215] I> 20) Base:0x3004e000 Size:0x00001000
[0001.220] I> 21) Base:0x3004f000 Size:0x00001000
[0001.224] I> 22) Base:0x00000000 Size:0x00000000
[0001.229] I> 23) Base:0xf0100000 Size:0x00010000
[0001.233] I> 24) Base:0x00000000 Size:0x00000000
[0001.237] I> 25) Base:0x00000000 Size:0x00000000
[0001.242] I> 26) Base:0x00000000 Size:0x00000000
[0001.246] I> 27) Base:0x00000000 Size:0x00000000
[0001.251] I> 28) Base:0x84400000 Size:0x00400000
[0001.255] I> 29) Base:0x30000000 Size:0x00010000
[0001.260] I> 30) Base:0x278000000 Size:0x08000000
[0001.264] I> 31) Base:0x00000000 Size:0x00000000
[0001.268] I> 32) Base:0x276000000 Size:0x00600000
[0001.273] I> 33) Base:0x80000000 Size:0x70000000
[0001.277] I> 34) Base:0xf0110000 Size:0x185ef0000
[0001.282] I> 35) Base:0x00000000 Size:0x00000000
[0001.286] I> 36) Base:0x00000000 Size:0x00000000
[0001.291] I> 37) Base:0x2772e0000 Size:0x00020000
[0001.295] I> 38) Base:0x84000000 Size:0x00400000
[0001.300] I> 39) Base:0x96000000 Size:0x02400000
[0001.304] I> 40) Base:0x85000000 Size:0x01200000
[0001.309] I> 41) Base:0x277000000 Size:0x00280000
[0001.313] I> 42) Base:0x00000000 Size:0x00000000
[0001.318] I> 43) Base:0x00000000 Size:0x00000000
[0001.322] GIC-SPI Target CPU: 4
[0001.325] Interrupts Init done
[0001.329] calling constructors
[0001.332] initializing heap
[0001.334] initializing threads
[0001.338] initializing timers
[0001.341] creating bootstrap completion thread
[0001.345] top of bootstrap2()
[0001.348] CPU: ARM Cortex A57
[0001.352] CPU: MIDR: 0x411FD073, MPIDR: 0x80000100
[0001.357] initializing platform
[0001.360] I> Boot-device: eMMC
[0001.364] I> sdmmc bdev is already initialized
[0001.368] I> Reading GPT from 512 for device 00000003
[0001.374] I> Reading GPT from 8388096 for device 00000003
[0001.380] W> Cannot find any partition table for 00000003
[0001.385] E> tegrabl_partition_publish: exit error = 6834001
[0001.390] I> Reading GPT from 512 for device 00010003
[0001.396] I> Found 33 partitions in 00010003 device
[0001.401] W> opt-in fuse is not set, skip fuse_burning
[0001.406] I> Bl_dtb @0x8520f400
[0001.409] I> gpio framework initialized
[0001.413] I> tegrabl_gpio_driver_register: register 'tegra_gpio_main_driver' driver
[0001.420] I> tegrabl_gpio_driver_register: register 'tegra_gpio_aon_driver' driver
[0001.428] I> tegrabl_tca9539_init: i2c bus: 0, slave addr: 0xee
[0001.435] E> i2c dev write failed
[0001.438] E> tca9539_device_init: failed to write polar reg
[0001.443] E> tegrabl_tca9539_init: failed to init device!
[0001.448] E> GPIO TCA9539 driver init failed
[0001.565] I> decompressor handler not found
[0001.571] I> fixed regulator driver initialized
[0001.598] I> register 'maxim' power off handle
[0001.603] I> virtual i2c enabled
[0001.606] I> registered 'maxim,max77620' pmic
[0001.610] I> tegrabl_gpio_driver_register: register 'max77620-gpio' driver
[0001.619] I> Find /i2c@c250000's alias i2c7
[0001.623] I> Reading eeprom i2c=7 address=0x50
[0001.653] I> Device at /i2c@c250000:0x50
[0001.657] I> Reading eeprom i2c=7 address=0x57
[0001.662] E> i2c dev read failed
[0001.665] E> eeprom: Failed to read I2C slave device
[0001.669] I> Eeprom read failed 0x1a89800d
[0001.674] I> Find /i2c@c240000's alias i2c1
[0001.678] I> Reading eeprom i2c=1 address=0x51
[0001.683] E> i2c dev read failed
[0001.687] E> eeprom: Retry to read I2C slave device.
[0001.692] E> i2c dev read failed
[0001.695] E> eeprom: Failed to read I2C slave device
[0001.700] I> Eeprom read failed 0x1a89800d
[0001.704] I> Find /i2c@3160000's alias i2c0
[0001.708] I> Reading eeprom i2c=0 address=0x50
[0001.713] E> i2c dev read failed
[0001.716] E> eeprom: Failed to read I2C slave device
[0001.721] I> Eeprom read failed 0x1a89800d
[0001.725] I> Find /i2c@3180000's alias i2c2
[0001.729] I> Reading eeprom i2c=2 address=0x54
[0001.733] I> Enabling gpio chip_id = 2, gpio pin = 9
[0001.738] C> GPIO driver for chip_id 0x2 could not be found
[0001.743] E> cam_eeprom_read: Can't get gpio driver
[0001.748] I> Eeprom read failed 0x2693400d
[0001.752] I> create_pm_ids: id: 3310-1000-B02-E, len: 15
[0001.757] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0001.770] I> found one nvdisp nodes at offset = 76360
[0001.775] E> dsi not supported yet
[0001.779] I> found one nvdisp nodes at offset = 77272
[0001.783] I> found one nvdisp nodes at offset = 78080
[0001.788] I> no valid display unit config found in dtb
[0001.793] W> display init failed
[0001.796] initializing target
[0001.799] calling apps_init()
[0001.803] starting app android_boot_app
[0001.807] I> Gpio keyboard init success
[0001.820] I> Kernel type = Normal
[0001.823] I> Loading kernel/boot.img from storage ...
[0001.828] W> No valid slot number is found in scratch register
[0001.834] W> Return default slot: _a
[0001.837] I> A/B: bin_type (0) slot 0
[0001.841] I> Loading partition kernel at 0xa8000000
[0002.601] I> tegrabl_auth_payload: partition kernel (bin_type 0)
[0002.608] W> No valid slot number is found in scratch register
[0002.614] W> Return default slot: _a
[0002.617] I> A/B: bin_type (1) slot 0
[0002.621] I> Loading partition kernel-dtb at 0x92000000
[0002.632] I> tegrabl_auth_payload: partition kernel-dtb (bin_type 1)
[0002.639] I> Kernel DTB @ 0x92000000
[0002.642] I> Checking boot.img header magic ... [0002.647] I> [OK]
[0002.648] I> Valid boot.img @ 0xa8000000
[0002.652] I> decompressor handler not found
[0002.656] I> Copying kernel image (475978 bytes) from 0xa8000800 to 0x80080000 ... [0002.664] I> Done
[0002.665] I> Move ramdisk (len: 0) from 0xa8075000 to 0x9d000000
[0002.672] I> Updated bpmp info to DTB
[0002.677] I> Ramdisk: Base: 0x9d000000; Size: 0x0
[0002.681] I> Updated initrd info to DTB
[0002.685] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0002.692] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0002.699] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0002.707] I> disabled_core_mask: 0xffffff0c
[0002.711] W> No valid slot number is found in scratch register
[0002.716] W> Return default slot: _a
[0002.720] I> Active slot suffix: 
[0002.723] I> add_boot_slot_suffix: slot_suffix = 
[0002.727] I> add_serialno: Serial Num = 0422918068573
[0002.732] I> Linux Cmdline: console=ttyS0,115200 memtype=0 video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x03100000 nvdumper_reserved=0x2772e0000 gpt tegraid=18.1.2.0.0 tegra_keep_boot_clocks maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.2.1 androidboot.serialno=0422918068573 bl_prof_dataptr=0x10000@0x277040000 sdhci_tegra.en_boot_part_access=1 
[0002.764] I> Updated bootarg info to DTB
[0002.768] E> "plugin-manager" doesn't exist, creating
[0002.773] E> "odm-data" doesn't exist, creating
[0002.779] I> eeprom_get_mac_addr: MAC (type: 0): 00:04:4b:c5:55:0e
[0002.785] I> eeprom_get_mac_addr: MAC (type: 1): 00:04:4b:c5:55:0f
[0002.791] I> eeprom_get_mac_addr: MAC (type: 2): 00:04:4b:c5:55:10
[0002.797] E> "ids" doesn't exist, creating
[0002.801] E> "connection" doesn't exist, creating
[0002.806] E> "configs" doesn't exist, creating
[0002.810] I> create_pm_ids: id: 3310-1000-B02-E, len: 15
[0002.815] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0002.826] I> Adding plugin-manager/ids/3310-1000-B02=/i2c@c250000:module@0x50
[0002.833] E> "i2c@c250000" doesn't exist, creating
[0002.838] E> "module@0x50" doesn't exist, creating
[0002.844] I> Adding plugin-manager/ids/3310-1000-B02-E
[0002.850] I> Adding plugin-manager/configs/3310-mem-type 00
[0002.855] I> Adding plugin-manager/configs/3310-power-config 00
[0002.861] I> Adding plugin-manager/configs/3310-misc-config 00
[0002.867] I> Adding plugin-manager/configs/3310-modem-config 00
[0002.873] I> Adding plugin-manager/configs/3310-touch-config 00
[0002.879] I> Adding plugin-manager/configs/3310-display-config 00
[0002.885] E> "chip-id" doesn't exist, creating
[0002.889] I> Adding plugin-manager/chip-id/A02P
[0002.894] I> added [base:0x80000000, size:0x70000000] to /memory
[0002.900] I> added [base:0xf0200000, size:0x185e00000] to /memory
[0002.906] I> added [base:0x276600000, size:0x200000] to /memory
[0002.912] E> WARNING: Failed to pass NS DRAM ranges to TOS
[0002.917] I> Updated memory info to DTB
[0002.922] E> "reset" doesn't exist, creating
[0002.926] E> "pmc-reset-reason" doesn't exist, creating
[0002.931] E> "pmic-reset-reason" doesn't exist, creating
[0002.937] I> disabled_core_mask: 0xffffff0c
[0002.945] I> Add serial number as DT property
[0002.950] I> tegrabl_load_kernel_and_dtb: Done
[0002.955] E> tegrabl_display_clear: display is not initialized
[0002.960] W> Boot logo display failed...


U-Boot 2016.07 (Jul 02 2020 - 09:45:44 +0000)

TEGRA186
Model: NVIDIA P2771-0000-500
DRAM:  7.8 GiB
MC:   Tegra SD/MMC: 0, Tegra SD/MMC: 1
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@2490000
Hit any key to stop autoboot:  0 
Retrieving file: /boot/extlinux/extlinux-mmcblk0p1.conf
373 bytes read in 74 ms (4.9 KiB/s)
ProtoA eMMC boot options
1:	primary kernel
1:	primary kernel
Retrieving file: /boot/Image
23560200 bytes read in 672 ms (33.4 MiB/s)
append: console=ttyS0,115200 memtype=0 video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x03100000 nvdumper_reserved=0x2772e0000 gpt tegraid=18.1.2.0.0 tegra_keep_boot_clocks maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.2.1 androidboot.serialno=0422918068573 bl_prof_dataptr=0x10000@0x277040000 sdhci_tegra.en_boot_part_access=1 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 video=tegrafb:800x1280-24 fbcon=rotate:3 console=ttyS0,115200 vt.global_cursor_default=0 fsck.mode=auto fsck.repair=preen
Retrieving file: /boot/squeaky-lemur-protoa.dtb
245082 bytes read in 70 ms (3.3 MiB/s)
## Flattened Device Tree blob at 82000000
   Booting using the fdt blob at 0x82000000
   reserving fdt memory region: addr=80000000 size=10000
   Using Device Tree in place at 0000000082000000, end 000000008203ed59

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x100
[    0.000000] Linux version 4.9.140 (oe-user@oe-host) (gcc version 9.3.0 (GCC) ) #1 SMP PREEMPT Wed Nov 25 16:45:52 UTC 2020
[    0.000000] Boot CPU: AArch64 Processor [411fd073]
[    0.000000] OF: fdt:memory scan node memory@80000000, reg size 16,
[    0.000000] OF: fdt: - 80000000 ,  70000000
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000003100000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] OF: fdt:Reserved memory: failed to reserve memory for node 'fb0_carveout': base 0x0000000000000000, size 0 MiB
[    0.000000] OF: fdt:Reserved memory: failed to reserve memory for node 'fb0_carveout': base 0x0000000000000000, size 0 MiB
[    0.000000] OF: fdt:Reserved memory: failed to reserve memory for node 'fb1_carveout': base 0x0000000000000000, size 0 MiB
[    0.000000] OF: fdt:Reserved memory: failed to reserve memory for node 'fb1_carveout': base 0x0000000000000000, size 0 MiB
[    0.000000] OF: fdt:Reserved memory: failed to reserve memory for node 'fb2_carveout': base 0x0000000000000000, size 0 MiB
[    0.000000] OF: fdt:Reserved memory: failed to reserve memory for node 'fb2_carveout': base 0x0000000000000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vpr-carveout, compatible id nvidia,vpr-carveout
[    0.000000] OF: reserved mem: initialized node ramoops_carveout, compatible id nvidia,ramoops
[    0.000000] cma: Reserved 64 MiB at 0x00000000c1c00000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 24 pages/cpu @ffffffc041a7c000 s60760 r8192 d29352 u98304
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 451072
[    0.000000] Kernel command line: console=ttyS0,115200 memtype=0 video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x03100000 nvdumper_reserved=0x2772e0000 gpt tegraid=18.1.2.0.0 tegra_keep_boot_clocks maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.2.1 androidboot.serialno=0422918068573 bl_prof_dataptr=0x10000@0x277040000 sdhci_tegra.en_boot_part_access=1 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 video=tegrafb:800x1280-24 fbcon=rotate:3 console=ttyS0,115200 vt.global_cursor_default=0 fsck.mode=auto fsck.repair=preen
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 1016452K/1832960K available (11646K kernel code, 1632K rwdata, 7020K rodata, 2688K init, 560K bss, 62844K reserved, 753664K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008be0000   ( 11648 KB)
[    0.000000]     .rodata : 0xffffff8008be0000 - 0xffffff80092c0000   (  7040 KB)
[    0.000000]       .init : 0xffffff80092c0000 - 0xffffff8009560000   (  2688 KB)
[    0.000000]       .data : 0xffffff8009560000 - 0xffffff80096f8008   (  1633 KB)
[    0.000000]        .bss : 0xffffff80096f8008 - 0xffffff80097840ac   (   561 KB)
[    0.000000]     fixed   : 0xffffffbefe7fb000 - 0xffffffbefec00000   (  4116 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf01c00000   (    28 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc070000000   (  1792 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 64.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 31.25MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xe6a171046, max_idle_ns: 881590405314 ns
[    0.000003] sched_clock: 56 bits at 31MHz, resolution 32ns, wraps every 4398046511088ns
[    0.009170] Console: colour dummy device 80x25
[    0.013830] kmemleak: Kernel memory leak detector disabled
[    0.019568] Calibrating delay loop (skipped), value calculated using timer frequency.. 62.50 BogoMIPS (lpj=125000)
[    0.030391] pid_max: default: 32768 minimum: 301
[    0.035332] Security Framework initialized
[    0.039668] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.046671] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.054546] ftrace: allocating 38961 entries in 153 pages
[    0.116176] sched-energy: Sched-energy-costs installed from DT
[    0.122293] ASID allocator initialised with 32768 entries
[    0.160658] tegra-id: chipid=21817.
[    0.164338] tegra-id: opt_subrevision=1.
[    0.168452] Tegra Revision: A02p SKU: 0xdc CPU Process: 0 SoC Process: 0
[    0.175460] DTS File Name: /home/slotmv/pb/squeaky-lemur_dunfell-tegra-32.4.3/build/workspace/sources/linux-protoa-tegra-l4t-r32.4.3/nvidia/platform/t18x/common/kernel-dts/t18x-common-platforms/squeaky-lemur-protoa-pca9574.dts
[    0.196449] DTB Build time: Dec  2 2020 13:25:32
[    0.250110] CPU1: Booted secondary processor [4e0f0030]
[    0.281603] CPU2: Booted secondary processor [4e0f0030]
[    0.313323] CPU3: Booted secondary processor [411fd073]
[    0.345340] CPU4: Booted secondary processor [411fd073]
[    0.377330] CPU5: Booted secondary processor [411fd073]
[    0.377408] Brought up 6 CPUs
[    0.407804] SMP: Total of 6 processors activated.
[    0.412721] CPU features: detected feature: 32-bit EL0 Support
[    0.418818] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.502897] CPU: All CPU(s) started at EL2
[    0.507237] alternatives: patching kernel code
[    0.512817] devtmpfs: initialized
[    0.535292] Initilizing CustomIPI irq domain
[    0.539930] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.550125] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.563842] pinctrl core: initialized pinctrl subsystem
[    0.569639] regulator-dummy: no parameters
[    0.575057] NET: Registered protocol family 16
[    0.581069] pstore: using zlib compression
[    0.586310] console [pstore-1] enabled
[    0.590298] pstore: Registered ramoops as persistent store backend
[    0.596809] ramoops: attached 0x200000@0xc5e00000, ecc: 0/0
[    0.613648] cpuidle: using governor ladder
[    0.629618] cpuidle: using governor menu
[    0.636237] bpmp: waiting for handshake
[    0.640301] bpmp: handshake completed
[    0.641320] random: fast init done
[    0.647755] bpmp: synchronizing channels
[    0.651875] bpmp: channels synchronized
[    0.655915] bpmp: mail init ok
[    0.661858] arm-smmu 12000000.iommu: probing hardware configuration...
[    0.668738] arm-smmu 12000000.iommu: SMMUv2 with:
[    0.673699] arm-smmu 12000000.iommu: 	stage 1 translation
[    0.679380] arm-smmu 12000000.iommu: 	stage 2 translation
[    0.685047] arm-smmu 12000000.iommu: 	nested translation
[    0.690640] arm-smmu 12000000.iommu: 	stream matching with 128 register groups, mask 0x7f80
[    0.699408] arm-smmu 12000000.iommu: SMMU address space size (0x800000) differs from mapped region size (0x1000000)!
[    0.710458] arm-smmu 12000000.iommu: 	64 context banks (0 stage-2 only)
[    0.717395] arm-smmu 12000000.iommu: 	Stage-1: 39-bit VA -> 48-bit IPA
[    0.724257] arm-smmu 12000000.iommu: 	Stage-2: 39-bit IPA -> 48-bit PA
[    0.735215] vdso: 2 pages (1 code @ ffffff8008be7000, 1 data @ ffffff8009564000)
[    0.743026] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.752130] atomic_pool_init():621: DMA: preallocated 1024 KiB pool for atomic allocations
[    0.762595] Registering BPMP clocks...
[    0.766642] tegra_bpmp_clk_init: clock init ok (636 clks)
[    0.774493] tegra_powergate_init: DONE
[    0.778460] DTS File Name: /home/slotmv/pb/squeaky-lemur_dunfell-tegra-32.4.3/build/workspace/sources/linux-protoa-tegra-l4t-r32.4.3/nvidia/platform/t18x/common/kernel-dts/t18x-common-platforms/squeaky-lemur-protoa-pca9574.dts
[    0.799499] DTB Build time: Dec  2 2020 13:25:32
[    0.806592] Tegra reboot handler registered.
[    0.812759] tegra-pmc c360000.pmc: scratch reg offset dts data not present
[    0.820118] tegra-pmc: get_secure_pmc_setting: done secure_pmc=0
[    0.826450] tegra-pmc: ### PMC reset source: TEGRA_SOFTWARE_RESET
[    0.832860] tegra-pmc: ### PMC reset level: TEGRA_RESET_LEVEL_L1
[    0.839155] tegra-pmc: ### PMC reset status reg: 0x2d
[    0.844986] padctrl padctrl.0: Pad control driver tegra-pmc-padctrl registered
[    0.852600] tegra-pmc c360000.pmc: IO padctrl driver initialized
[    0.859307] iommu: Adding device 3460000.sdhci to group 0
[    0.865832] iommu: Adding device 3400000.sdhci to group 1
[    0.874572] iommu: Adding device 3507000.ahci-sata to group 2
[    0.880644] arm-smmu: forcing sodev map for 3507000.ahci-sata
[    0.887218] iommu: Adding device 3160000.i2c to group 3
[    0.893279] iommu: Adding device c240000.i2c to group 4
[    0.899186] iommu: Adding device 3180000.i2c to group 5
[    0.905120] iommu: Adding device 3190000.i2c to group 6
[    0.911141] iommu: Adding device 31b0000.i2c to group 7
[    0.917059] iommu: Adding device 31c0000.i2c to group 8
[    0.922939] iommu: Adding device c250000.i2c to group 9
[    0.928813] iommu: Adding device 31e0000.i2c to group 10
[    0.936411] iommu: Adding device 3210000.spi to group 11
[    0.942514] iommu: Adding device c260000.spi to group 12
[    0.948527] iommu: Adding device 3240000.spi to group 13
[    0.954953] iommu: Adding device 3100000.serial to group 14
[    0.962266] iommu: Adding device 2490000.ether_qos to group 15
[    0.968440] arm-smmu: forcing sodev map for 2490000.ether_qos
[    0.975193] iommu: Adding device b000000.rtcpu to group 16
[    0.982899] iommu: Adding device 13e10000.host1x to group 17
[    0.989282] iommu: Adding device 13e10000.host1x:ctx0 to group 18
[    0.996091] iommu: Adding device 13e10000.host1x:ctx1 to group 19
[    1.002877] iommu: Adding device 13e10000.host1x:ctx2 to group 20
[    1.009664] iommu: Adding device 13e10000.host1x:ctx3 to group 21
[    1.016450] iommu: Adding device 13e10000.host1x:ctx4 to group 22
[    1.023193] iommu: Adding device 13e10000.host1x:ctx5 to group 23
[    1.029975] iommu: Adding device 13e10000.host1x:ctx6 to group 24
[    1.036732] iommu: Adding device 13e10000.host1x:ctx7 to group 25
[    1.043755] iommu: Adding device 150c0000.nvcsi to group 26
[    1.050305] iommu: Adding device 15700000.vi to group 27
[    1.056276] iommu: Adding device 15600000.isp to group 28
[    1.062501] iommu: Adding device 15340000.vic to group 29
[    1.068507] iommu: Adding device 154c0000.nvenc to group 30
[    1.074635] iommu: Adding device 15480000.nvdec to group 31
[    1.080877] iommu: Adding device 15380000.nvjpg to group 32
[    1.086992] iommu: Adding device 15500000.tsec to group 33
[    1.093025] iommu: Adding device 15100000.tsecb to group 34
[    1.099374] iommu: Adding device 15810000.se to group 35
[    1.105245] iommu: Adding device 15820000.se to group 36
[    1.111101] iommu: Adding device 15830000.se to group 37
[    1.116941] iommu: Adding device 15840000.se to group 38
[    1.123444] iommu: Adding device smmu_test to group 39
[    1.129556] mc: mapped MMIO address: 0xffffff8009c80000 -> 0x2c10000
[    1.136238] mc: mapped MMIO address: 0xffffff8009ca0000 -> 0x2c20000
[    1.142932] mc: mapped MMIO address: 0xffffff8009cc0000 -> 0x2c30000
[    1.149620] mc: mapped MMIO address: 0xffffff8009ce0000 -> 0x2c40000
[    1.156308] mc: mapped MMIO address: 0xffffff8009eb0000 -> 0x2c50000
[    1.163024] nv-tegra-mc 2c10000.mc: No mssnvlink node
[    1.168338] mc-err: mcerr ops are set to t18x
[    1.173142] dram-ecc: DRAM ECC disabled-MC_ECC_CONTROL:0x0000000c
[    1.180770] iommu: Adding device 3530000.xhci to group 40
[    1.186476] arm-smmu: forcing sodev map for 3530000.xhci
[    1.192594] iommu: Adding device 3550000.xudc to group 41
[    1.198280] arm-smmu: forcing sodev map for 3550000.xudc
[    1.204661] tegra186-aowake c370000.pmc: WAKE_AOWAKE_CTRL_0 = 3
[    1.210880] tegra186-aowake c370000.pmc: WAKE_AOWAKE_CNTRL_24(PMU_INT) = 320
[    1.218858] iommu: Adding device 17000000.gp10b to group 42
[    1.225798] tegra-reset 5000000.clock: registered 193 resets.
[    1.234068] iommu: Adding device d000000.bpmp to group 43
[    1.240023] bpmp: ping status is 0
[    1.243762] bpmp d000000.bpmp: firmware tag is 83385b61e34297b2f37e76e0cd1ff81e
[    1.254201] bpmp d000000.bpmp: probe ok
[    1.261250] iommu: Adding device 2600000.dma to group 44
[    1.268177] GPIO line 334 (e3325_sdio_rst) hogged as output/high
[    1.274560] GPIO line 332 (e3325_lane0_mux) hogged as output/low
[    1.280927] GPIO line 424 (wifi-enable) hogged as output/high
[    1.287024] GPIO line 445 (sdmmc-wake-support-input) hogged as input
[    1.293760] GPIO line 446 (sdmmc-wake-support-output) hogged as output/low
[    1.301063] GPIO line 388 (pca9574_rst) hogged as output/high
[    1.307521] gpiochip_setup_dev: registered GPIOs 320 to 511 on device: gpiochip0 (tegra-gpio)
[    1.321867] GPIO line 315 (wifi-wake-ap) hogged as input
[    1.327732] gpiochip_setup_dev: registered GPIOs 256 to 319 on device: gpiochip1 (tegra-gpio-aon)
[    1.339200] iommu: Adding device 10003000.pcie-controller to group 45
[    1.345975] arm-smmu: forcing sodev map for 10003000.pcie-controller
[    1.353048] iommu: Adding device sound to group 46
[    1.358457] iommu: Adding device 3510000.hda to group 47
[    1.372225] iommu: Adding device c1a0000.aon to group 48
[    1.378364] vdd-ac-bat: 5000 mV 
[    1.383692] vdd-1v8-ap: 1800 mV 
[    1.412724] eventlib_kernel: keventlib is initialized, test id: 0
[    1.419448] SCSI subsystem initialized
[    1.423500] usbcore: registered new interface driver usbfs
[    1.429301] usbcore: registered new interface driver hub
[    1.435094] usbcore: registered new device driver usb
[    1.445701] tegra-i2c 3190000.i2c: could not find pctldev for node /host1x/dpaux@15040000/pinmux@0, deferring probe
[    1.463227] max77620 4-003c: PMIC Version OTP:0x45 and ES:0x8
[    1.474304] vddio-ddr: at 1125 mV 
[    1.482131] avdd_dsi_csi: 1200 mV 
[    1.489624] vdd-1v8: 1800 mV 
[    1.497622] vdd-3v3-sys: 3300 mV 
[    1.502086] spmic-ldo0: at 1800 mV 
[    1.506577] spmic-ldo1: at 800 mV 
[    1.513622] vddio-3v3: 3300 mV 
[    1.517656] vddio-sdmmc1: 1800 <--> 3300 mV at 3300 mV 
[    1.525625] vdd-rtc: at 800 mV 
[    1.529645] avdd-ts-hv: 1800 <--> 3300 mV at 1800 mV 
[    1.537625] spmic-ldo6: at 1500 mV 
[    1.545636] vdd-pex-1v00: 1000 mV 
[    1.550014] dvdd-pex: 1000 mV 
[    1.555906] GPIO line 253 (spmic_gpio_input) hogged as input
[    1.562066] GPIO line 254 (spmic_gpio_input) hogged as input
[    1.568288] gpiochip_setup_dev: registered GPIOs 248 to 255 on device: gpiochip2 (max77620-gpio)
[    1.577777] max77620 4-003c: max77620 probe successful
[    1.583457] media: Linux media interface: v0.10
[    1.588243] Linux video capture interface: v2.00
[    1.597716] FPGA manager framework
[    1.602295] en-vdd-sd: 3300 mV 
[    1.606014] en-vdd-cam: 1800 mV 
[    1.609752] vdd-hdmi: 5000 mV 
[    1.613392] vdd-usb0-5v: 5000 mV 
[    1.617377] vdd-usb1-5v: 5000 mV 
[    1.621203] en-vdd-ts-1v8: 1800 mV 
[    1.625188] en-vdd-ts-hv-3v3: 3300 mV 
[    1.629401] en-vdd-disp-3v3: 3300 mV 
[    1.633507] en-mdm-pwr-3v7: 3700 mV 
[    1.637524] en-vdd-disp-1v8: 1800 mV 
[    1.641655] en-vdd-cam-hv-2v8: 2800 mV 
[    1.645937] en-vdd-cam-1v2: 1200 mV 
[    1.649974] vdd-fan: 5000 mV 
[    1.653339] vdd-3v3: 3300 mV 
[    1.656728] dis-vdd-1v2: 1200 mV 
[    1.660482] en-vdd-vcm-2v8: 2800 mV 
[    1.664548] vdd-usb2-5v: 5000 mV 
[    1.668308] vdd-sys-bl: 3300 mV 
[    1.671980] en-vdd-sys: 1200 mV 
[    1.677096] camchar: rtcpu character device driver loaded
[    1.683273] gpio tegra-gpio wake53 for gpio=159(X:7)
[    1.690469] extcon-gpio-states external-connection:extcon@1: Cable state:1, cable id:1
[    1.699514] clocksource: Switched to clocksource arch_sys_counter
[    1.738843] nvmap_heap_init: nvmap_heap_init: created heap block cache
[    1.746404] dma_declare_coherent_resizable_cma_memory:323: resizable heap=vpr, base=0x00000000c6000000, size=0x2a000000
[    1.749456] tegra-gpcdma 2600000.dma: GPC DMA driver register 32 channels
[    1.759216] thermal thermal_zone0: Registering thermal zone thermal_zone0 for type BCPU-therm
[    1.759356] thermal thermal_zone1: Registering thermal zone thermal_zone1 for type MCPU-therm
[    1.759650] thermal thermal_zone2: Registering thermal zone thermal_zone2 for type GPU-therm
[    1.759722] thermal thermal_zone3: Registering thermal zone thermal_zone3 for type PLL-therm
[    1.759843] thermal thermal_zone4: Registering thermal zone thermal_zone4 for type Tboard_tegra
[    1.759931] thermal thermal_zone5: Registering thermal zone thermal_zone5 for type Tdiode_tegra
[    1.760055] thermal thermal_zone6: Registering thermal zone thermal_zone6 for type PMIC-Die
[    1.760301] la/ptsa driver initialized.
[    1.760311] pre_t19x_iso_plat_init(): iso emc max clk=1866000KHz
[    1.760321] pre_t19x_iso_plat_init(): max_iso_bw=26870400KB
[    1.760636] NET: Registered protocol family 2
[    1.761590] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    1.761804] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    1.762036] TCP: Hash tables configured (established 16384 bind 16384)
[    1.762085] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    1.762119] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    1.762423] NET: Registered protocol family 1
[    1.763011] RPC: Registered named UNIX socket transport module.
[    1.763015] RPC: Registered udp transport module.
[    1.763018] RPC: Registered tcp transport module.
[    1.763020] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.779787] host1x 13e10000.host1x: initialized
[    1.782691] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    1.786396] audit: initializing netlink subsys (disabled)
[    1.786437] audit: type=2000 audit(1.596:1): initialized
[    1.787013] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    1.793470] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.798587] io scheduler noop registered
[    1.798792] io scheduler cfq registered (default)
[    1.801700] tegra-xusb-padctl 3520000.xusb_padctl: VBUS over-current detection enabled
[    1.806188] tegra-pwm 3280000.pwm: PWM clk can sleep in ops
[    1.807438] tegra-pwm 3290000.pwm: PWM clk can sleep in ops
[    1.808646] tegra-pwm 32a0000.pwm: PWM clk can sleep in ops
[    1.809829] tegra-pwm c340000.pwm: PWM clk can sleep in ops
[    1.810938] tegra-pcie 10003000.pcie-controller: 1x1, 1x1, 1x1 configuration
[    1.811908] tegra-pcie 10003000.pcie-controller: PCIE: Enable power rails
[    1.814649] tsec 15500000.tsec: initialized
[    1.815917] tsec 15100000.tsecb: initialized
[    1.818073] nvdec 15480000.nvdec: initialized
[    1.822691] falcon 15340000.vic: initialized
[    1.824207] falcon 154c0000.nvenc: initialized
[    1.825660] falcon 15380000.nvjpg: initialized
[    1.829026] iommu_context_dev 13e10000.host1x:ctx0: initialized (streamid=56)
[    1.830655] iommu_context_dev 13e10000.host1x:ctx1: initialized (streamid=57)
[    1.832600] iommu_context_dev 13e10000.host1x:ctx2: initialized (streamid=58)
[    1.834126] iommu_context_dev 13e10000.host1x:ctx3: initialized (streamid=59)
[    1.836194] iommu_context_dev 13e10000.host1x:ctx4: initialized (streamid=60)
[    1.838285] iommu_context_dev 13e10000.host1x:ctx5: initialized (streamid=61)
[    1.839810] iommu_context_dev 13e10000.host1x:ctx6: initialized (streamid=62)
[    1.842172] iommu_context_dev 13e10000.host1x:ctx7: initialized (streamid=63)
[    1.845103] tegradccommon 15200000.dc_common: host1x channel mapped
[    1.845109] tegradccommon 15200000.dc_common: dc_common syncpt # 1 allocated
[    1.845134] tegradccommon 15200000.dc_common: dma mapping done
[    1.855911] tegra-pcie 10003000.pcie-controller: PCIE: no end points detected
[    1.855965] tegra-fuse-burn 3820000.efuse:efuse-burn: shutdown limit check disabled
[    1.855997] tegra-fuse-burn 3820000.efuse:efuse-burn: Fuse burn driver initialized
[    1.856556] kfuse 3830000.kfuse: initialized
[    1.857806] tegra-pmc-iopower pmc-iopower: NO_IOPOWER setting 0x0
[    1.858196] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.861220] console [ttyS0] disabled
[    1.876216] tegra-pcie 10003000.pcie-controller: PCIE: Disable power rails
[    2.162527] 3100000.serial: ttyS0 at MMIO 0x3100000 (irq = 36, base_baud = 25500000) is a Tegra
[    2.162583] cma: enabled page replacement for spfn=c6000, epfn=f0000
[    2.162599] dma_declare_coherent_resizable_cma_memory:373: resizable cma heap=vpr create successful
[    2.162600] nvmap: nvmap_select_cache_ops() nvmap cache ops set to roc
[    2.162605] nvmap_page_pool_init: Total RAM pages: 442529
[    2.162610] nvmap_page_pool_init: nvmap page pool size: 55316 pages (216 MB)
[    2.162690] nvmap_background_zero_thread: PP zeroing thread starting.
[    2.172089] misc nvmap: created heap vpr base 0x00000000c6000000 size (688128KiB)
[    2.222495] console [ttyS0] enabled
[    2.222495] console [ttyS0] enabled
[    2.229643] bootconsole [uart8250] disabled
[    2.229643] bootconsole [uart8250] disabled
[    2.247054] brd: module loaded
[    2.254627] loop: module loaded
[    2.258568] mods: *** WARNING: DIAGNOSTIC DRIVER LOADED ***
[    2.264187] mods: driver loaded, version 3.87
[    2.268576] tegra_profiler: version: 1.141, samples/io: 48/28
[    2.274572] tegra_profiler: auth: init
[    2.278892] nct1008_nct72 7-004c: starting parse dt
[    2.279058] sd: No Scsi addr parsed to reserve index
[    2.279077] SCSI Media Changer driver v0.25 
[    2.293378] nct1008_nct72 7-004c: !!!Found deprecated property!!!
[    2.293839] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.293854] ehci-pci: EHCI PCI platform driver
[    2.293890] tegra-ehci: Tegra EHCI driver
[    2.297668]  usb2: Requested PHY is disabled
[    2.297738] tegra-xusb 3530000.xhci: USB2 port 1 has OTG_CAP
[    2.299141] tegra-xusb 3530000.xhci: extcon 0: ffffffc03d8ac800 id
[    2.299275] tegra-xusb 3530000.xhci: Direct firmware load for tegra18x_xusb_firmware failed with error -2
[    2.299279] tegra-xusb 3530000.xhci: Falling back to user helper
[    2.299644] usbcore: registered new interface driver usb-storage
[    2.301603] tegra-xudc-new 3550000.xudc: device count: 1
[    2.302784] tegra-xudc-new 3550000.xudc: vbus state: 1
[    2.362754] nct1008_nct72 7-004c: success parsing dt
[    2.367874] nct1008_nct72 7-004c: success in enabling tmp451 VDD rail
[    2.406791] nct1008_nct72 7-004c: LOC shutdown limit 107
[    2.412696] nct1008_nct72 7-004c: EXT shutdown limit 107
[    2.450877] nct1008_nct72 7-004c: initial LOC temp: 34000 
[    2.456725] nct1008_nct72 7-004c: initial EXT temp: 38750 
[    2.462902] nct1008_nct72 7-004c: hi_b:-11, lo_b:0
[    2.467806] tegra-usb-cd usb_cd: notification status (0x0, 0x1)
[    2.468124] gpio tegra-gpio-aon wake35 for gpio=16(V:0)
[    2.468343] nct1008_nct72 7-004c: nct1008_probe: initialized
[    2.484676] tegra-usb-cd usb_cd: connected to SDP
[    2.489407] tegra-xudc-new 3550000.xudc: device mode on: 0
[    2.495130] tegra-xudc-new 3550000.xudc: active: 0 => 1
[    2.620538] max77686-rtc max77620-rtc: rtc core: registered max77620-rtc as rtc0
[    2.629107] Wake73 for irq=42
[    2.633308] rtc rtc1: alarm rtc device
[    2.637095] tegra_rtc c2a0000.rtc: rtc core: registered c2a0000.rtc as rtc1
[    2.644089] tegra_rtc c2a0000.rtc: Tegra internal Real Time Clock
[    2.650320] i2c /dev entries driver
[    2.655779] max77620-power max77620-power: Event recorder REG_NVERC : 0x0
[    2.666714] parse_throttle_dt_data: Num cap clks = 4
[    2.671720] parse_throttle_dt_data: clk=mcpu type=1
[    2.676613] parse_throttle_dt_data: clk=bcpu type=2
[    2.681514] parse_throttle_dt_data: clk=gpu type=4
[    2.686321] parse_throttle_dt_data: clk=emc type=3
[    2.691984] tegra_throttle_probe: probe successful. #cdevs=4
[    2.698229] softdog-platform soft_watchdog: Software Watchdog Timer: initialized
[    2.705905] CPU EMC frequency mapping table: from device tree
[    2.718120] cpufreq: platform driver Initialization: pass
[    2.729138] cpuidle: Initializing cpuidle driver init for Denver cluster
[    2.736059] cpuidle: Initializing cpuidle driver init for A57 cluster
[    2.743525] sdhci: Secure Digital Host Controller Interface driver
[    2.749724] sdhci: Copyright(c) Pierre Ossman
[    2.754093] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.761390] sdhci-tegra 3460000.sdhci: Client registration for eMC Successful
[    2.774334] sdhci-tegra 3440000.sdhci: Client registration for eMC Successful
[    2.787625] sdhci-tegra 3400000.sdhci: Got CD GPIO
[    2.792677] sdhci-tegra 3400000.sdhci: Got WP GPIO
[    2.800746] sdhci-tegra 3400000.sdhci: Client registration for eMC Successful
[    2.810335] sdhci-tegra 3400000.sdhci: wakeup init done, cdirq 252
[    2.819526] mmc0: SDHCI controller on 3460000.sdhci [3460000.sdhci] using ADMA 64-bit with 64 bit addr
[    2.821443] tegra-se-elp 3ad0000.se_elp: tegra_se_elp_probe: complete
[    2.822449] tegra-se-nvhost 15810000.se: initialized
[    2.823603] tegra-se-nvhost 15810000.se: tegra_se_probe: complete
[    2.824437] tegra-se-nvhost 15820000.se: initialized
[    2.825375] tegra-se-nvhost 15820000.se: tegra_se_probe: complete
[    2.826174] tegra-se-nvhost 15830000.se: initialized
[    2.826853] tegra-se-nvhost 15830000.se: tegra_se_probe: complete
[    2.827707] tegra-se-nvhost 15840000.se: initialized
[    2.828606] tegra-se-nvhost 15840000.se: tegra_se_probe: complete
[    2.828800] hidraw: raw HID events driver (C) Jiri Kosina
[    2.829009] mmc1: SDHCI controller on 3440000.sdhci [3440000.sdhci] using ADMA 64-bit with 64 bit addr
[    2.829796] usbcore: registered new interface driver usbhid
[    2.829798] usbhid: USB HID core driver
[    2.832042] tegra186-cam-rtcpu b000000.rtcpu: Trace buffer configured at IOVA=0xbff00000
[    2.835035] tegra-ivc ivc-b000000.rtcpu: region 0: iova=0xbfef0000-0xbfefdb7f size=56192
[    2.835320] tegra-ivc ivc-b000000.rtcpu:echo@0: echo: ver=0 grp=1 RX[16x64]=0x1000-0x1480 TX[16x64]=0x1480-0x1900
[    2.835591] tegra-ivc ivc-b000000.rtcpu:i2c@480: i2c: ver=0 grp=1 RX[8x128]=0x1900-0x1d80 TX[8x128]=0x1d80-0x2200
[    2.835656] tegra-ivc ivc-b000000.rtcpu:vinotify@12c0: vinotify: ver=0 grp=1 RX[64x128]=0x2200-0x4280 TX[64x128]=0x4280-0x6300
[    2.840616] tegra-ivc ivc-b000000.rtcpu:mods@32c0: mods: ver=0 grp=1 RX[1x64]=0x6300-0x63c0 TX[1x64]=0x63c0-0x6480
[    2.840741] tegra-ivc ivc-b000000.rtcpu:ivccontrol@52c0: ivccontrol: ver=0 grp=1 RX[16x320]=0x6480-0x7900 TX[16x320]=0x7900-0x8d80
[    2.840820] tegra-ivc ivc-b000000.rtcpu:ivccapture@72c0: ivccapture: ver=0 grp=1 RX[16x64]=0x8d80-0x9200 TX[16x64]=0x9200-0x9680
[    2.840866] tegra-ivc ivc-b000000.rtcpu:dbg@7c00: dbg: ver=0 grp=1 RX[1x384]=0x9680-0x9880 TX[1x384]=0x9880-0x9a80
[    2.840992] tegra-ivc ivc-b000000.rtcpu:dbg@7e00: dbg: ver=0 grp=1 RX[1x8192]=0x9a80-0xbb00 TX[1x8192]=0xbb00-0xdb80
[    2.841443] tegra186-cam-rtcpu b000000.rtcpu: using cam RTCPU IRQ (48)
[    2.841446] tegra186-cam-rtcpu b000000.rtcpu: tegra_camrtc_mon_create is successful
[    2.842248] tegra-hsp-mailbox ivc-b000000.rtcpu: IOVM setup error: 128
[    2.842252] tegra186-cam-rtcpu b000000.rtcpu: ivc-bus boot sync failed: -5
[    2.842299] tegra186-cam-rtcpu b000000.rtcpu: firmware version cpu=sce cmd=4 sha1=a8b1ecdd9615cd817a56df035be363fce3b0b88f
[    2.843728] tegra_aon c1a0000.aon: tegra aon driver probe OK
[    2.847170] tegra186-aondbg aondbg: aondbg driver probe() OK
[    2.847284] tegra18x_actmon d230000.actmon: in actmon_register()...
[    2.847891] tegra18x_actmon d230000.actmon: initialization Completed for the device mc_all
[    2.848264] hw perfevents: enabled with denver15_uncore_pmu PMU driver, 3 counters available
[    2.848344] denver_knobs_init:MTS_VERSION:40418221
[    2.853093] coresight-etm4x 9840000.ptm: CPU0: Cortex-A57 ETM v4.0 initialized
[    2.853489] coresight-etm4x 9940000.ptm: CPU3: Cortex-A57 ETM v4.0 initialized
[    2.853877] coresight-etm4x 9a40000.ptm: CPU4: Cortex-A57 ETM v4.0 initialized
[    2.854268] coresight-etm4x 9b40000.ptm: CPU5: Cortex-A57 ETM v4.0 initialized
[    2.854766] nvpmodel: initialized successfully
[    2.855151] GACT probability NOT on
[    2.855159] Mirror/redirect action on
[    2.855166] u32 classifier
[    2.855168]     Actions configured
[    2.855173] Netfilter messages via NETLINK v0.30.
[    2.855561] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    2.855679] ctnetlink v0.93: registering with nfnetlink.
[    2.856102] xt_time: kernel timezone is -0000
[    2.856129] IPVS: Registered protocols ()
[    2.856173] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[    2.856258] IPVS: Creating netns size=1336 id=0
[    2.856291] IPVS: ipvs loaded.
[    2.856294] IPVS: [rr] scheduler registered.
[    2.856378] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    2.856652] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.856797] arp_tables: arp_tables: (C) 2002 David S. Miller
[    2.856816] Initializing XFRM netlink socket
[    2.857132] NET: Registered protocol family 10
[    2.857729] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    2.857921] NET: Registered protocol family 17
[    2.857934] NET: Registered protocol family 15
[    2.857955] 8021q: 802.1Q VLAN Support v1.8
[    2.862802] Registered cp15_barrier emulation handler
[    2.868983] Registered setend emulation handler
[    2.869017] gpio tegra-gpio wake71 for gpio=125(P:5)
[    2.869067] mmc2: SDHCI controller on 3400000.sdhci [3400000.sdhci] using ADMA 64-bit with 64 bit addr
[    2.871782] registered taskstats version 1
[    2.874475] isp 15600000.isp: initialized
[    2.874578] tegra_camera_device_register
[    2.874580] driver not enabled, cannot register any devices
[    2.875400] nvcsi 150c0000.nvcsi: nvcsi_probe 
[    2.875403] nvcsi 150c0000.nvcsi: nvcsi_probe 2
[    2.875408] nvcsi 150c0000.nvcsi: nvcsi_probe 3
[    2.875410] nvcsi 150c0000.nvcsi: nvcsi_probe 4
[    2.875413] nvcsi 150c0000.nvcsi: nvcsi_probe 5
[    2.875416] nvcsi 150c0000.nvcsi: nvcsi_probe 6
[    2.875521] nvcsi 150c0000.nvcsi: nvcsi_probe 7
[    2.875524] nvcsi 150c0000.nvcsi: nvcsi_probe 8 err:0
[    2.875552] nvcsi 150c0000.nvcsi: nvcsi_probe 9 err:0
[    2.875555] nvcsi 150c0000.nvcsi: nvcsi_probe 0
[    2.878531] nvcsi 150c0000.nvcsi: nvcsi_probe 0 err:0
[    2.878534] nvcsi 150c0000.nvcsi: nvcsi_probe 1
[    2.878815] nvcsi 150c0000.nvcsi: initialized
[    2.878818] nvcsi 150c0000.nvcsi: nvcsi_probe 1 err:0
[    2.878821] nvcsi 150c0000.nvcsi: nvcsi_probe 2
[    2.878824] nvcsi 150c0000.nvcsi: nvcsi_probe 3
[    2.878827] nvcsi 150c0000.nvcsi: tegra_csi_media_controller_init
[    2.878830] nvcsi 150c0000.nvcsi: csi_parse_dt
[    2.878833] nvcsi 150c0000.nvcsi: csi_parse_dt 1
[    2.878839] nvcsi 150c0000.nvcsi: csi_parse_dt 9 err:-22 node:/host1x/nvcsi@150c0000
[    2.878841] nvcsi 150c0000.nvcsi:  Failed to find num of channels, set to 0
[    2.878872] nvcsi 150c0000.nvcsi: csi_parse_dt 0 err:-22 node:/host1x/nvcsi@150c0000
[    2.878874] nvcsi 150c0000.nvcsi: csi_parse_dt 3
[    2.878876] nvcsi 150c0000.nvcsi: csi_parse_dt 4 err:-22
[    2.878880] nvcsi 150c0000.nvcsi: csi_parse_dt OK err:-22
[    2.878884] nvcsi 150c0000.nvcsi: tegra_csi_media_controller_init 3 OK ret:0
[    2.878887] nvcsi 150c0000.nvcsi: nvcsi_probe 4 err:0 
[    2.878890] nvcsi 150c0000.nvcsi: nvcsi_probe 5
[    2.878906] nvcsi 150c0000.nvcsi: nvcsi_probe 6
[    2.878908] tegra_camera_device_register
[    2.878910] driver not enabled, cannot register any devices
[    2.878912] nvcsi 150c0000.nvcsi: nvcsi_probe 7 err:0
[    2.880388] tegra-vi4 15700000.vi: using default number of vi channels,15
[    2.886432] tegra-vi4 15700000.vi: initialized
[    2.888507] tegra-vi4 15700000.vi: tegra_vi4_probe 6 tegra_camera_device_register
[    2.888509] tegra_camera_device_register
[    2.888510] driver not enabled, cannot register any devices
[    2.888512] tegra-vi4 15700000.vi: tegra_vi4_probe end err 0
[    2.889532] gpiochip_setup_dev: registered GPIOs 240 to 247 on device: gpiochip3 (pca9574)
[    2.890188] gpio tegra-gpio-aon wake29 for gpio=56(FF:0)
[    2.890271] gpio tegra-gpio wake12 for gpio=77(J:5)
[    2.890409] input: squeaky-keys as /devices/squeaky-keys/input/input0
[    2.930719] tegra_rtc c2a0000.rtc: setting system clock to 2000-01-10 02:31:27 UTC (947471487)
[    2.974288] bpmp: mounted debugfs mirror
[    2.975509] bwmgr: missing cdev-type property
[    2.979135] spmic-ldo0: disabling
[    2.979337] spmic-ldo1: disabling
[    2.979510] en-vdd-sd: disabling
[    2.979514] vdd-usb0-5v: disabling
[    2.979516] vdd-usb1-5v: disabling
[    2.979538] vdd-3v3: disabling
[    2.979541] en-vdd-vcm-2v8: disabling
[    2.979543] vdd-sys-bl: disabling
[    3.526456] Waiting for root device /dev/mmcblk0p1...
[    3.587108] mmc0: periodic cache flush enabled
[    3.591654] mmc0: new HS400 Enhanced strobe MMC card at address 0001
[    3.598830] mmcblk0: mmc0:0001 032G34 29.1 GiB 
[    3.603873] mmcblk0boot0: mmc0:0001 032G34 partition 1 4.00 MiB
[    3.610275] mmcblk0boot1: mmc0:0001 032G34 partition 2 4.00 MiB
[    3.616787] mmcblk0rpmb: mmc0:0001 032G34 partition 3 4.00 MiB
[    3.625972]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 p26 p27 p28 p29 p30 p31 p32 p33
[    3.768447] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    3.776642] VFS: Mounted root (ext4 filesystem) on device 179:1.
[    3.784218] devtmpfs: mounted
[    3.787847] Freeing unused kernel memory: 2688K
[    3.819199] mmc1: hw tuning done ...
[    3.832606] mmc1: new ultra high speed SDR104 SDIO card at address 0001
[    3.857072] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
[    3.857072] 
[    3.866218] CPU: 1 PID: 1 Comm: init Not tainted 4.9.140 #1
[    3.871788] Hardware name: quill (DT)
[    3.875451] Call trace:
[    3.877930] [<ffffff800808a440>] dump_backtrace+0x0/0x188
[    3.883348] [<ffffff800808a5ec>] show_stack+0x24/0x30
[    3.888416] [<ffffff80083cc6b0>] dump_stack+0xa4/0xcc
[    3.893472] [<ffffff80081a1f98>] panic+0x12c/0x280
[    3.898266] [<ffffff80080ae7c0>] do_exit+0x9b0/0x9b8
[    3.903231] [<ffffff80080ae854>] do_group_exit+0x3c/0xa0
[    3.908547] [<ffffff80080baa44>] get_signal+0x214/0x5c0
[    3.913774] [<ffffff800808980c>] do_signal+0x14c/0x240
[    3.918914] [<ffffff8008089a80>] do_notify_resume+0x90/0xb0
[    3.924487] [<ffffff80080833c0>] work_pending+0x8/0x10
[    3.929629] SMP: stopping secondary CPUs
[    3.933566] Kernel Offset: disabled
[    3.937054] Memory Limit: none
[    3.950251] Rebooting in 5 seconds..

There are some L4T patch releases which use the same flash software, but that is more rare than common. FYI, there is a list of L4T releases here:
https://developer.nvidia.com/embedded/linux-tegra-archive

Also a list of JetPack releases here (which tells you which L4T release was originally used with that JetPack/SDKM):
https://developer.nvidia.com/embedded/jetpack-archive

As an example, note that JetPack 3.2.1 and 3.3 flashed R28.2. Then the next JetPack 3.3.1 supports L4T R28.3.1 (I’m kind of cheating here because that was for the new TX2i, but there are older releases working this way too if you go back to 32-bit days). Inside the list of L4T releases there is a version R28.2.1. No JetPack ever directly flashed R28.2.1. This is because R28.2.1 was a simple patch release to the base root filesystem only. R28.2.1 would be compatible with the other partitions installed with either of JetPack 3.2.1 or 3.3. Using L4T R28.2.1 would generally fail if used with JetPack 3.3.1.

For the most part there is a strong dependency between content being booted, and the content of the non-rootfs partitions. I don’t know about the specific errors you posted, but I do want to find out if you were mixing one L4T release’s rootfs content with the other non-rootfs partitions? You could use a patch release with those other partitions if there is no JetPack directly supporting that patch release, but otherwise you’d want to be sure versions are not missing. If you are using the correct flash software with a given L4T release, then my question is irrelevant.

Thanks!
We’re not using JetPack directly, but instead build our OS using Yocto, hence the confusion.

Our old 28.2.1 OS is based on JetPack 3.2.1
The new 32.4.3 is based on JetPack 4.4

So yes, we’re trying to mix JetPack releases here…

We’re mainly upgrading to add support for the new d03 module versions, since these modules do not boot with JetPack 3.2.1.
Is there a patch release available which adds support for these new modules?

Sorry, that’s one I have no knowledge of.

It is probably irrelevant at this point, but wanted to note that the log seems to lock up here:

All I can suggest is to make sure your device tree is correct related to “SDR104 SDIO card at address 0001”. Normally this would suggest the document “Jetson TX2 Series OEM Product Design Guide”, found here, and look at the SDIO log line:
https://developer.nvidia.com/embedded/downloads#?search=oem%20product%20design%20guide&tx=$product,jetson_tx2

I looked a little further into this issue…
The SDIO drivers seems OK, no errors in logs and messages regarding SDIO are roughly equal between both releases.

When I start the kernel with init=/bin/sh the system boots fine, but is ofcourse not very functional.
Read/write to MMC works OK as well.

It looks like the kernel panic is caused by PID 1 (systemd) crashing. Exitcode 4 is SIGILL, Illegal Instruction.

I have added a signal-handler to systemd to print a stacktrace on SIGILL:

Error: signal 4:
/sbin/init[0x419130]
linux-vdso.so.1(__kernel_rt_sigreturn+0x0)[0x7f7e17d6a0]
linux-vdso.so.1(__kernel_clock_gettime+0x108)[0x7f7e17d488]
/lib/libc.so.6(__clock_gettime+0x24)[0x7f7dd991dc]
/lib/systemd/libsystemd-shared-244.so(now+0x3c)[0x7f7e02e2cc]
/lib/systemd/libsystemd-shared-244.so(dual_timestamp_from_monotonic+0x2c)[0x7f7e02e47c]
/sbin/init[0x416544]
/lib/libc.so.6(__libc_start_main+0xe0)[0x7f7dd21008]
/sbin/init[0x41904c]

So systemd crashes very early doing some pretty basic stuff. (But not always this early, sometimes systemd manages to do some work and crashes later on with SIGILL)

When the kernel starts it is technically PID 0. The kernel runs only a single process, and that is “init”, which is given PID 1 (and in the case of Ubuntu and many other Linux flavors this is the “systemd” package).

The illegal instruction is quite interesting. Something was being passed which is not a valid assembler instruction for the mode the CPU is in. An example is if the CPU is in its normal 64-bit mode, and it were passed a 32-bit instruction. Also, in some modes the CPU may have other restrictions, e.g., in a security mode. This error tends to say something rather incompatible is being used since the failure is at the assembler level. Perhaps that stack of libraries is valid in normal operation, but the CPU is in the wrong mode. Or perhaps one of those libraries was compiled against some architecture extension not valid for ARMv8-a 64-bit. Don’t know, and it would be quite difficult to know which assembler instruction actually failed.

Are you sure your libraries are valid for the architecture? Are you sure the CPU is not in some special mode? I see realtime (rt) extensions, so are you sure the kernel has everything it needs to work with those extensions?

The libraries are valid for the architecture. This kernel and its rootfs boots fine on a system flashed with JetPack 4.4.

How do I check what mode the CPU is in?

I do not see much difference in CPU logs between a working 4.4 kernel and the failing 4.9 kernel, apart from these lines:

[    0.408759] CPU features: detected feature: 32-bit EL0 Support
[    0.414855] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.503305] alternatives: patching kernel code
[    3.415235] coresight-etm4x 9840000.ptm: CPU0: Cortex-A57 ETM v4.0 initialized
[    3.415582] coresight-etm4x 9940000.ptm: CPU3: Cortex-A57 ETM v4.0 initialized
[    3.415935] coresight-etm4x 9a40000.ptm: CPU4: Cortex-A57 ETM v4.0 initialized
[    3.416294] coresight-etm4x 9b40000.ptm: CPU5: Cortex-A57 ETM v4.0 initialized

I have tried disabling the CPU feature detection, kernel code patching and coresight-support, but that makes no difference.

This is not a realtime kernel.
__kernel_rt_sigreturn seems related to vDSO. No idea why _rt_ is present in the function-name, but I have not found any docs linking it to realtime.

The kernel we’re using is from GitHub - OE4T/linux-tegra-4.9: Linux kernel source for NVIDIA Tegra (Jetson TX1, TX2, AGX Xavier, Xavier NX, Nano) in single-repo form, derived from the L4T BSP, where we branched off from patches-l4t-r32.4 to add support for our own hardware.

You can’t really check that. There is an interrupt vector table in the kernel which changes modes, e.g., for a VM or for 32-bit mode. I see it detected 32-bit EL0 (which implies an interrupt can put the CPU into exception level 0 and support 32-bit), but that does not mean it is actually running 32-bit mode…you wouldn’t see a log message just because the CPU is in one mode or the other.

This is probably unrelated (more trivia), but in the early days of 64-bit ARM we needed both a 64-bit compiler and a 32-bit compiler to build the kernel. Most of the kernel had been ported to 64-bit, but vdso lagged behind, and is the reason why earlier on a 32-bit compiler was also required (vdso used the 32-bit compiler while the rest of the kernel used the 64-bit compiler…it was a mode switch within the kernel which determined which instruction set was valid). In the current 4.9 kernel though this should not be an issue and only a 64-bit compiler would be used. This would be an example of 32-bit instructions and 64-bit instructions where one part of the kernel required a different exception level (IRQ setting of CPU mode via the IRQ vector table), and using the instructions of one inside the other would have resulted in an illegal instruction. In terms of today’s kernel, if vdso is compiled for 64-bit, but some outdated software were to think it uses 32-bit code, then you’d also have a way of getting an illegal instruction.

There is some “realtime” (definitely not hard realtime) attempt in the kernel even without RT Linux. Audio is a big example. The kernel tries to run audio in a consistent way, but cannot actually guarantee this. Often the IRQ for audio will be suppressed or lost due to other work load.

I don’t know what to debug further regarding that illegal instruction, but I suspect something has been mixed and matched among either libraries or kernel features which is not compatible.

Thanks for the explanation! :D

Could it be that one of these outdated pieces of software is present on the hidden boot-partitions (the partitions that are flashed using tegraflash)? So maybe the firmware/binary blobs or one of the bootloaders?
We are booting a newer (4.9) kernel on an old JetPack 3.2.1 system…

The content of all boot partitions will be correct and not using illegal instructions. Unless you mixed a very old mixed release, e.g., R23.x or earlier R24.x, then you can be guaranteed that everything flashed by the flash software is of the correct instruction set. Customization might mix something incorrect, but not the base flash software.

Tegraflash itself does not determine the content being flashed, it only copies binary data onto the Jetson’s eMMC. If the content copied is valid, or if the content is not valid, tegraflash will not treat it any differently, nor will tegraflash be aware of “correctness”.

Firmware tends to pass arguments to drivers or other bare metal code. The arguments have no ability to force a driver to become different instruction sets…it is the driver or the code itself which is the instruction set. I suppose there is some very tiny possibility that some argument passed to drivers via device tree could trigger some rare corner case where the driver is told to switch to the wrong mode, but it is extremely unlikely.

It is a known “don’t do this” to mix older and newer release content. For reference you can check here to see which L4T release is used by a given JetPack release:
https://developer.nvidia.com/embedded/jetpack-archive

JetPack3.2.1 corresponds to an R28.x release, and there was no mixing of 32-bit and 64-bit drivers in that release (R28.x was when everything was purely 64-bit mode for the base operating system). However, the device tree and other software would be highly incompatible when mixing an R28.x release with an R32.x kernel. There are strong dependencies between kernels and the release. That R28.x release used kernel 4.4. I suspect the 4.9 kernel running in R28.x is the problem.

Is there a reason you want to use R28.x with an R32.x kernel? If you really need that kernel, then you are better off backporting the 4.9 kernel features into the 4.4 kernel (which might be a lot of effort…but it is more likely to succeed than simply using a 4.9 kernel in an R28.x L4T release).

The gist is that the device tree for a 4.9 kernel will not be the same as the one used in a 4.4 kernel, but the illegal instruction is more likely an issue of putting 4.9 code into something which was intended for 4.4 code.

We want to update to a newer Jetpack-release to have a single update-image for customers, built using a single development-environment. Jetpack 3.2.1 can’t do a tegraflash of a d02-module, and even when using newer tegraflash-tooling the older 4.4-kernel, cboot and uboot all do not work on a d02.

But luckily I found the issue :D
It was caused by something in the device-tree of u-boot.
No idea what exactly causes it, but updating the DTB used by u-boot resolved the issue.
Using an old 4.4 DTB in a newer kernel ofcourse causes all sorts of driver failures, but also causes the same SIGILL in systemd.
Somehow using an old c-boot dtb is fine.