Can OpenWrt be installed on Jetson Nano?

Hello.

We would like to install and operate the OpenWRT on Jetson Nano.

However, I didn't know how to install OpenWRT on Jetson Nano.
And I don't know which OpenWRT image to use.

Does openWRT support Jetson Nano?

If you support Jetson Nano, can you tell me how to install it?
Or I want you to tell me if there is a successful installation.
(Jetson Nano must be used and no other platform can be used.)

Thanks.

Best Regards.

If it is not in the table of hardware, chances are it is not supported.

Seeing as the Jetson devices use a custom Nvidia arm cpu, paired with a maxwell gpu / compute accelerator there are no Router devices with similar hardware. Openwrt doesn't support any Cortex-A57 devices that I can see.

The SOC does appear to have mainline linux support from Nvidia, with public dts files, so if you have the skill you could add OpenWRT support yourself.

Using an (expensive) SBC with a massive AI accelerator wedged into seems like an odd choice for a networking / routing device though - that big Maxwell GPU will just be sitting there doing nothing (apart from chewing watts), what are you trying to do?

2 Likes

It is used as a router function to send and receive GPS and data from the ship.

Our client hopes to use OpenWRT.

The reason why it was designed as Jetson Nano is that it can be used as a drone in the future.

Anyway, is it possible to install OpenWRT if I use the dts file?

You will need to create your own build of openwrt that supports the nvidia SOC.

The dts is only 1 part of that process.

If you’re not well versed in kernel config and backporting or embedded systems programming this may be beyond your skill set.

I've started working on this yesterday to give it a try.

It already builds the kernel fine and all required peripherals and such.

Currently, my staging only contains t210 (tx1, tx2 & nano) but i've got a patch locally also adding t186 (xavier flavors, armv8.2)

Next step is building a proper sd card and emmc image which boots.

After that I would check for GPU support.

I've requested nvidia to coöperate and provide cuda and deepstream support and they agreed to discuss internally. (Which is already amazing!)

Fingers crossed ..

Feel free to colaborate by sending patches :slight_smile:

While OpenWRT is most known to be used on routers/network devices, it's not limited to it (hence we have gstreamer packages available and such)

Before the name changed back to OpenWRT, it was LEDE (Linux Embedded Development Environment) which also broadened the scope beyond pure routing/network.

I personally would gain a lot from using OpenWRT iso Jetpack, especially:

  • Support for modern hardware which is currently unsupported in kernel 4.9 (MHI bus for 5G and AX wifi)
  • While 4.9 is still maintained, it doesn't contain every fix available which is incorporated in a lot newer kernel (basically, stop searching for ghosts which are already fixed in newer versions)
  • wireguard
  • more easy to find bugs by using a lot modern compiler with better static analysis (GCC 7.3 vs GCC 12.x)
  • Hugely reduce firmware size which allows upgrading over slow internet links (like VSAT)
  • ...
1 Like

Early test

U-Boot 2020.04-g6b630d64fd (Feb 19 2021 - 08:37:46 -0800)

SoC: tegra210
Model: NVIDIA Jetson Nano Developer Kit
Board: NVIDIA P3450-0000
DRAM:  4 GiB
MMC:   sdhci@700b0000: 1, sdhci@700b0600: 0
Loading Environment from SPI Flash... SF: Detected mx25u3235f with page size 256 Bytes, erase size 4 KiB, total 4 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
835 bytes read in 27 ms (29.3 KiB/s)
L4T boot options
1:      primary kernel
2:      OpenWRT kernel
Enter choice: 2
2:      OpenWRT kernel
Retrieving file: /boot/initrd
7159624 bytes read in 333 ms (20.5 MiB/s)
Retrieving file: /boot/Image2
13357064 bytes read in 619 ms (20.6 MiB/s)
append: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,4 earlyprintk=uart8250-32bit,0x70006000 max0
## Flattened Device Tree blob at 83100000
   Booting using the fdt blob at 0x83100000
ERROR: reserving fdt memory region failed (addr=0 size=0)
ERROR: reserving fdt memory region failed (addr=0 size=0)
   Using Device Tree in place at 0000000083100000, end 000000008317e68d
copying carveout for /host1x@50000000/dc@54200000...
copying carveout for /host1x@50000000/dc@54240000...

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd071]
[    0.000000] Linux version 5.15.50 (koen@koen-nuc11) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 11.3.0 r0+20012-0781fb22fa) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP Thu Jul 7 15:02:25 2022
[    0.000000] Machine model: NVIDIA Jetson Nano Developer Kit
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000070006000 (options '')
[    0.000000] printk: 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] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000017f1fffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000afffffff]
[    0.000000]   node   0: [mem 0x00000000b0000000-0x00000000b01fffff]
[    0.000000]   node   0: [mem 0x00000000b0200000-0x00000000fedfffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000017f1fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000017f1fffff]
[    0.000000] On node 0, zone Normal: 4608 pages in unavailable ranges
[    0.000000] On node 0, zone Normal: 3584 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 17 pages/cpu s31000 r8192 d30440 u69632
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Spectre-v2
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1024056
[    0.000000] Kernel command line: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,4 earlyprintk=u0
[    0.000000] Unknown kernel command line parameters "vpr_resize tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 debug_uartport=lsport,4 earlyprintk=uart8250-32bit,0x70006000 lp0_vec=0x1000.
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x00000000fae00000-0x00000000fee00000] (64MB)
[    0.000000] Memory: 3581744K/4161536K available (8832K kernel code, 1012K rwdata, 2556K rodata, 512K init, 311K bss, 579792K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: GICv2 detected, but range too small and irqchip.gicv2_force_probe not set
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] /interrupt-controller@60004000: 192 interrupts forwarded to /interrupt-controller
[    0.000000] arch_timer: 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.000000] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.008311] tegra-timer: failed to map irq for cpu0
[    0.013348] Failed to initialize '/timer@60005000': -22
[    0.019859] Console: colour dummy device 80x25
[    0.024452] printk: console [tty0] enabled
[    0.028673] printk: bootconsole [uart8250] disabled
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd071]
[    0.000000] Linux version 5.15.50 (koen@koen-nuc11) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 11.3.0 r0+20012-0781fb22fa) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP Thu Jul 7 15:02:25 2022
[    0.000000] Machine model: NVIDIA Jetson Nano Developer Kit
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000070006000 (options '')
[    0.000000] printk: 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] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000017f1fffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000afffffff]
[    0.000000]   node   0: [mem 0x00000000b0000000-0x00000000b01fffff]
[    0.000000]   node   0: [mem 0x00000000b0200000-0x00000000fedfffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000017f1fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000017f1fffff]
[    0.000000] On node 0, zone Normal: 4608 pages in unavailable ranges
[    0.000000] On node 0, zone Normal: 3584 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 17 pages/cpu s31000 r8192 d30440 u69632
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Spectre-v2
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1024056
[    0.000000] Kernel command line: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,4 earlyprintk=u0
[    0.000000] Unknown kernel command line parameters "vpr_resize tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 debug_uartport=lsport,4 earlyprintk=uart8250-32bit,0x70006000 lp0_vec=0x1000.
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x00000000fae00000-0x00000000fee00000] (64MB)
[    0.000000] Memory: 3581744K/4161536K available (8832K kernel code, 1012K rwdata, 2556K rodata, 512K init, 311K bss, 579792K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: GICv2 detected, but range too small and irqchip.gicv2_force_probe not set
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] /interrupt-controller@60004000: 192 interrupts forwarded to /interrupt-controller
[    0.000000] arch_timer: 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.000000] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.008311] tegra-timer: failed to map irq for cpu0
[    0.013348] Failed to initialize '/timer@60005000': -22
[    0.019859] Console: colour dummy device 80x25
[    0.024452] printk: console [tty0] enabled
[    0.028673] printk: bootconsole [uart8250] disabled
[    0.033742] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.033763] pid_max: default: 32768 minimum: 301
[    0.033993] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.034060] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.035764] rcu: Hierarchical SRCU implementation.
[    0.035933] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.039303] Speedo Revision 4
[    0.039318] Tegra210: unknown SKU 0x8f
[    0.039338] Tegra Revision: A02 SKU: 143 CPU Process: 0 SoC Process: 0
[    0.040272] tegra-pmc: access to PMC is restricted to TZ
[    0.040623] smp: Bringing up secondary CPUs ...
[    0.041196] Detected PIPT I-cache on CPU1
[    0.041284] CPU1: Booted secondary processor 0x0000000001 [0x411fd071]
[    0.041900] Detected PIPT I-cache on CPU2
[    0.041936] CPU2: Booted secondary processor 0x0000000002 [0x411fd071]
[    0.042513] Detected PIPT I-cache on CPU3
[    0.042547] CPU3: Booted secondary processor 0x0000000003 [0x411fd071]
[    0.042606] smp: Brought up 1 node, 4 CPUs
[    0.042653] SMP: Total of 4 processors activated.
[    0.042669] CPU features: detected: 32-bit EL0 Support
[    0.042679] CPU features: detected: CRC32 instructions
[    0.042735] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.042751] CPU: All CPU(s) started at EL2
[    0.042774] alternatives: patching kernel code
[    0.063925] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.063987] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.064198] pinctrl core: initialized pinctrl subsystem
[    0.065416] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.066061] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.066167] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.066251] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.066636] thermal_sys: Registered thermal governor 'step_wise'
[    0.068574] ASID allocator initialised with 65536 entries
[    0.079793] tegra210-pinctrl 700008d4.pinmux: there is not valid maps for state drive
[    0.097348] tegra-mc 70019000.memory-controller: no memory timings for RAM code 0 registered
[    0.112958] cryptd: max_cpu_qlen set to 1000
[    0.115030] vdd-5v0-hdmi: supplied by vdd-5v0-sys
[    0.115303] vdd-fan: supplied by vdd-5v0-sys
[    0.115495] vdd-usb-vbus: supplied by vdd-5v0-sys
[    0.115848] iommu: Default domain type: Translated 
[    0.115858] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.116128] SCSI subsystem initialized
[    0.116482] usbcore: registered new interface driver usbfs
[    0.116524] usbcore: registered new interface driver hub
[    0.116556] usbcore: registered new device driver usb
[    0.116817] pps_core: LinuxPPS API ver. 1 registered
[    0.116830] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.116849] PTP clock support registered
[    0.117189] Advanced Linux Sound Architecture Driver Initialized.
[    0.118066] clocksource: Switched to clocksource arch_sys_counter
[    0.121009] NET: Registered PF_INET protocol family
[    0.121558] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.123354] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.123429] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.123449] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.123667] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.124236] TCP: Hash tables configured (established 32768 bind 32768)
[    0.124472] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.124573] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.124840] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.124890] PCI: CLS 0 bytes, default 64
[    0.125538] Unpacking initramfs...
[    0.406921] Freeing initrd memory: 6988K
[    0.409456] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.412658] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.412741] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.422457] tegra-apbdma 60020000.dma: Tegra20 APB DMA driver registered 32 channels
[    0.425921] tegra-pmc 7000e400.pmc: i2c-thermtrip node not found, emergency thermal reset disabled.
[    0.427413] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.436510] loop: module loaded
[    0.440446] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.440493] ehci-platform: EHCI generic platform driver
[    0.440729] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.440759] ohci-platform: OHCI generic platform driver
[    0.441233] usbcore: registered new interface driver usb-storage
[    0.442053] mousedev: PS/2 mouse device common for all mice
[    0.442180] i2c_dev: i2c /dev entries driver
[    0.443691] tegra-wdt 60005000.timer: initialized (heartbeat = 120 sec, nowayout = 0)
[    0.445516] sdhci: Secure Digital Host Controller Interface driver
[    0.445545] sdhci: Copyright(c) Pierre Ossman
[    0.445553] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.446586] tegra210-emc: probe of 7001b000.external-memory-controller failed with error -2
[    0.450447] NET: Registered PF_INET6 protocol family
[    0.451764] Segment Routing with IPv6
[    0.451813] In-situ OAM (IOAM) with IPv6
[    0.451873] NET: Registered PF_PACKET protocol family
[    0.451929] can: controller area network core
[    0.452036] NET: Registered PF_CAN protocol family
[    0.452050] 8021q: 802.1Q VLAN Support v1.8
[    0.469163] gpio-151 (camera-control-output-low): hogged as output/low
[    0.469224] gpio-152 (camera-control-output-low): hogged as output/low
[    0.469251] gpio-6 (system-suspend-gpio): hogged as output/high
[    0.472390] tegra-uart 70006000.serial: deferred probe timeout, ignoring dependency
[    0.472769] printk: console [ttyS0] disabled
[    0.472840] 70006000.serial: ttyS0 at MMIO 0x70006000 (irq = 67, base_baud = 25500000) is a Tegra
[    1.471766] printk: console [ttyS0] enabled
[    1.476418] tegra-qspi 70410000.spi: deferred probe timeout, ignoring dependency
[    1.485034] tegra-i2c 7000c000.i2c: deferred probe timeout, ignoring dependency
[    1.493061] tegra-i2c 7000c400.i2c: deferred probe timeout, ignoring dependency
[    1.500958] tegra-i2c 7000c500.i2c: deferred probe timeout, ignoring dependency
[    1.508814] tegra-i2c 7000c700.i2c: deferred probe timeout, ignoring dependency
[    1.516630] tegra-i2c 7000d000.i2c: deferred probe timeout, ignoring dependency
[    1.525655] tegra-i2c 7000d100.i2c: deferred probe timeout, ignoring dependency
[    1.537380] ALSA device list:
[    1.540432]   No soundcards found.
[    1.544466] Freeing unused kernel memory: 512K
[    1.618180] Run /init as init process
[   31.848093] vdd-5v0-sys: disabling
[   31.851528] vdd-5v0-hdmi: disabling
[   31.855014] vdd-fan: disabling
[   31.858081] vdd-usb-vbus: disabling

cool!

let me know if you need/want some additional testing, I've got one collecting dust on a shelf.
it's however equipped with a PCI-E -> SATA adapter, so I'd probably need some time to take
it apart - I think it only boots from the SATA drive atm.

1 Like

2nd test.
OpenWRT full boot.

U-Boot 2020.04-g6b630d64fd (Feb 19 2021 - 08:37:46 -0800)

SoC: tegra210
Model: NVIDIA Jetson Nano Developer Kit
Board: NVIDIA P3450-0000
DRAM:  4 GiB
MMC:   sdhci@700b0000: 1, sdhci@700b0600: 0
Loading Environment from SPI Flash... SF: Detected mx25u3235f with page size 256 Bytes, erase size 4 KiB, total 4 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
375 bytes read in 9 ms (40 KiB/s)
## Executing script at 90000000
13572104 bytes read in 597 ms (21.7 MiB/s)
46822 bytes read in 14 ms (3.2 MiB/s)
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Using Device Tree in place at 0000000083000000, end 000000008300e6e5
copying carveout for /host1x@50000000/dc@54200000...
copying carveout for /host1x@50000000/dc@54240000...
Can't set DT prop /bpmp/carveout-start: FDT_ERR_BADOFFSET

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd071]
[    0.000000] Linux version 5.15.53 (koen@koen-nuc11) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.1.0 r20010+61-6d423ffbd1) 12.1.0, GNU ld (GNU Binutils) 2.38) #0 SMP Tue Jul 12 09:15:54 2022
[    0.000000] Machine model: NVIDIA Jetson Nano Developer Kit
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000017f1fffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000fedfffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000017f1fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000017f1fffff]
[    0.000000] On node 0, zone Normal: 4608 pages in unavailable ranges
[    0.000000] On node 0, zone Normal: 3584 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 17 pages/cpu s31000 r8192 d30440 u69632
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Spectre-v2
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1024056
[    0.000000] Kernel command line: root=PARTUUID=1c9673b0-02 rw rootwait console=ttyS0,115200 console=tty0
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x00000000fae00000-0x00000000fee00000] (64MB)
[    0.000000] Memory: 4001072K/4161536K available (8896K kernel code, 1030K rwdata, 2728K rodata, 512K init, 309K bss, 160464K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] /interrupt-controller@60004000: 192 interrupts forwarded to /interrupt-controller@50041000
[    0.000002] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000030] clocksource: timer_us: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000184] clocksource: tegra_suspend_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.000711] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000723] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000735] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000867] Console: colour dummy device 80x25
[    0.001099] printk: console [tty0] enabled
[    0.001151] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.001172] pid_max: default: 32768 minimum: 301
[    0.001395] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001464] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.003208] rcu: Hierarchical SRCU implementation.
[    0.003389] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.004296] Speedo Revision 4
[    0.004311] Tegra210: unknown SKU 0x8f
[    0.004332] Tegra Revision: A02 SKU: 143 CPU Process: 0 SoC Process: 0
[    0.004603] tegra-pmc: access to PMC is restricted to TZ
[    0.004907] smp: Bringing up secondary CPUs ...
[    0.005474] Detected PIPT I-cache on CPU1
[    0.005566] CPU1: Booted secondary processor 0x0000000001 [0x411fd071]
[    0.006180] Detected PIPT I-cache on CPU2
[    0.006221] CPU2: Booted secondary processor 0x0000000002 [0x411fd071]
[    0.006813] Detected PIPT I-cache on CPU3
[    0.006857] CPU3: Booted secondary processor 0x0000000003 [0x411fd071]
[    0.006921] smp: Brought up 1 node, 4 CPUs
[    0.006970] SMP: Total of 4 processors activated.
[    0.006980] CPU features: detected: 32-bit EL0 Support
[    0.006990] CPU features: detected: CRC32 instructions
[    0.007052] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.007069] CPU: All CPU(s) started at EL2
[    0.007092] alternatives: patching kernel code
[    0.015435] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.015494] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.015698] pinctrl core: initialized pinctrl subsystem
[    0.016964] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.017486] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.017583] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.017661] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.018044] thermal_sys: Registered thermal governor 'step_wise'
[    0.018613] OF: /thermal-zones/mem/cooling-maps/dram-passive: could not find phandle 133
[    0.018659] thermal_sys: Add a cooling_device property with at least one device
[    0.018669] thermal_sys: failed to build thermal zone mem: -2
[    0.018908] ASID allocator initialised with 65536 entries
[    0.027420] tegra-mc 70019000.memory-controller: no memory timings for RAM code 0 registered
[    0.027952] platform 50000000.host1x: Adding to iommu group 0
[    0.028003] platform 57000000.gpu: Adding to iommu group 1
[    0.028279] OF: /external-memory-controller@7001b000: could not get #clock-cells for /i2c@7000d000/pmic@3c/pinmux
[    0.041159] cryptd: max_cpu_qlen set to 1000
[    0.042770] VDD_HDMI_5V0: supplied by VDD_5V0_SYS
[    0.043048] VDD_5V_USB: supplied by VDD_5V0_SYS
[    0.043223] iommu: Default domain type: Translated 
[    0.043235] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.043652] SCSI subsystem initialized
[    0.043952] usbcore: registered new interface driver usbfs
[    0.043990] usbcore: registered new interface driver hub
[    0.044023] usbcore: registered new device driver usb
[    0.044196] pps_core: LinuxPPS API ver. 1 registered
[    0.044207] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.044226] PTP clock support registered
[    0.044506] Advanced Linux Sound Architecture Driver Initialized.
[    0.045233] clocksource: Switched to clocksource arch_sys_counter
[    0.048042] NET: Registered PF_INET protocol family
[    0.048556] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.050387] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.050464] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.050486] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.050708] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.051229] TCP: Hash tables configured (established 32768 bind 32768)
[    0.051443] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.051544] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.051817] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.051870] PCI: CLS 0 bytes, default 64
[    0.056173] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.059302] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.059391] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.067023] tegra-apbdma 60020000.dma: Tegra20 APB DMA driver registered 32 channels
[    0.070786] tegra-pmc 7000e400.pmc: i2c-thermtrip node not found, emergency thermal reset disabled.
[    0.072215] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.073694] printk: console [ttyS0] disabled
[    0.073781] 70006000.serial: ttyS0 at MMIO 0x70006000 (irq = 74, base_baud = 25500000) is a Tegra
[    0.837760] printk: console [ttyS0] enabled
[    0.843537] Failed to set up IOMMU for device 50000000.host1x; retaining platform DMA ops
[    0.853627] platform 54200000.dc: Adding to iommu group 2
[    0.859329] platform 54240000.dc: Adding to iommu group 2
[    0.864959] platform 54340000.vic: Adding to iommu group 3
[    0.876661] loop: module loaded
[    0.882395] spi-nor spi0.0: mx25u3235f (4096 Kbytes)
[    0.890325] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.896907] ehci-platform: EHCI generic platform driver
[    0.902277] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.908474] ohci-platform: OHCI generic platform driver
[    0.914010] usbcore: registered new interface driver usb-storage
[    0.920575] mousedev: PS/2 mouse device common for all mice
[    0.926221] i2c_dev: i2c /dev entries driver
[    0.934336] max77620 1-003c: PMIC Version OTP:0x35 and ES:0x8
[    0.946960] VDD_SOC: supplied by VDD_5V0_SYS
[    0.952621] VDD_DDR_1V1_PMIC: Bringing 1125000uV into 1150000-1150000uV
[    0.959982] VDD_DDR_1V1_PMIC: supplied by VDD_5V0_SYS
[    0.966405] VDD_PRE_REG_1V35: supplied by VDD_5V0_SYS
[    0.972836] VDD_1V8: supplied by VDD_5V0_SYS
[    0.978565] AVDD_SYS_1V2: supplied by VDD_PRE_REG_1V35
[    0.984735] VDD_PEX_1V05: supplied by VDD_PRE_REG_1V35
[    0.991003] max77620-ldo3: supplied by VDD_1V8
[    0.996171] VDD_RTC: supplied by VDD_5V0_SYS
[    1.001199] max77620-ldo5: supplied by VDD_1V8
[    1.006137] max77620-ldo6: supplied by VDD_5V0_SYS
[    1.011753] AVDD_1V05_PLL: supplied by VDD_PRE_REG_1V35
[    1.017837] AVDD_SATA_HDMI_DP_1V05: supplied by VDD_PRE_REG_1V35
[    1.028784] max77620-thermal max77620-thermal: Failed to register thermal zone: -19
[    1.036724] tegra_soctherm 700e2000.thermal-sensor: missing thermtrips, will use critical trips as shut down temp
[    1.047263] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when cpu reaches 102500 mC
[    1.056751] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when cpu reaches 98500 mC
[    1.066126] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when gpu reaches 103000 mC
[    1.075605] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when gpu reaches 100000 mC
[    1.085054] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when pll reaches 103000 mC
[    1.094585] tegra_soctherm 700e2000.thermal-sensor: failed to register sensor: -517
[    1.104513] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1017600 KHz, changing to: 1020000 KHz
[    1.115757] sdhci: Secure Digital Host Controller Interface driver
[    1.121939] sdhci: Copyright(c) Pierre Ossman
[    1.126431] Synopsys Designware Multimedia Card Interface Driver
[    1.132502] VUB300 Driver rom wait states = 1C irqpoll timeout = 0400
[    1.132754] usbcore: registered new interface driver vub300
[    1.144775] usbcore: registered new interface driver ushc
[    1.150171] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.156288] OF: /external-memory-controller@7001b000: could not get #clock-cells for /i2c@7000d000/pmic@3c/pinmux
[    1.166622] tegra210-emc: probe of 7001b000.external-memory-controller failed with error -2
[    1.176541] NET: Registered PF_INET6 protocol family
[    1.182239] Segment Routing with IPv6
[    1.185949] In-situ OAM (IOAM) with IPv6
[    1.189912] NET: Registered PF_PACKET protocol family
[    1.194986] can: controller area network core
[    1.199431] NET: Registered PF_CAN protocol family
[    1.204212] 8021q: 802.1Q VLAN Support v1.8
[    1.221198] VDD_3V3_SYS: supplied by VDD_5V0_SYS
[    1.227426] VDD_CPU: supplied by VDD_5V0_SYS
[    1.231994] VDDIO_SDMMC: supplied by VDD_3V3_SYS
[    1.237403] AVDD_IO_EDP_1V05: supplied by AVDD_1V05_PLL
[    1.243509] gic 702f9000.interrupt-controller: GIC IRQ controller registered
[    1.251159] tegra-aconnect aconnect@702c0000: Tegra ACONNECT bus registered
[    1.259892]  usb2-1: supply vbus not found, using dummy regulator
[    1.266153]  usb2-2: supply vbus not found, using dummy regulator
[    1.274939] tegra-pcie 1003000.pcie: host bridge /pcie@1003000 ranges:
[    1.281519] tegra-pcie 1003000.pcie:      MEM 0x0001000000..0x0001001fff -> 0x0001000000
[    1.289607] tegra-pcie 1003000.pcie:       IO 0x0012000000..0x001200ffff -> 0x0000000000
[    1.297695] tegra-pcie 1003000.pcie:      MEM 0x0013000000..0x001fffffff -> 0x0013000000
[    1.305776] tegra-pcie 1003000.pcie:      MEM 0x0020000000..0x003fffffff -> 0x0020000000
[    1.313921] tegra-pcie 1003000.pcie: 4x1, 1x1 configuration
[    1.319772] tegra-pcie 1003000.pcie: failed to get PHY#0: -517
[    1.325606] tegra-pcie 1003000.pcie: failed to get PHYs: -517
[    1.331338] tegra-pcie 1003000.pcie: failed to request resources: -517
[    1.339131] at24 0-0050: 256 byte 24c02 EEPROM, read-only
[    1.345250] at24 0-0057: 256 byte 24c02 EEPROM, read-only
[    1.350960] tegra_soctherm 700e2000.thermal-sensor: missing thermtrips, will use critical trips as shut down temp
[    1.361675] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when cpu reaches 102500 mC
[    1.371155] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when cpu reaches 98500 mC
[    1.380509] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when gpu reaches 103000 mC
[    1.389978] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when gpu reaches 100000 mC
[    1.399397] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when pll reaches 103000 mC
[    1.408894] tegra_soctherm 700e2000.thermal-sensor: failed to register sensor: -517
[    1.417126] VDD_3V3_SD: supplied by VDD_3V3_SYS
[    1.421897] VDD_HUB_3V3: supplied by VDD_5V0_SYS
[    1.428562] tegra-adma 702e2000.dma-controller: Tegra210 ADMA driver registered 22 channels
[    1.439726] irq: IRQ133: trimming hierarchy from :pmc@7000e400
[    1.445977]  usb2-1: supply vbus not found, using dummy regulator
[    1.452180]  usb2-2: supply vbus not found, using dummy regulator
[    1.458982] tegra-pcie 1003000.pcie: host bridge /pcie@1003000 ranges:
[    1.465544] tegra-pcie 1003000.pcie:      MEM 0x0001000000..0x0001001fff -> 0x0001000000
[    1.473624] tegra-pcie 1003000.pcie:       IO 0x0012000000..0x001200ffff -> 0x0000000000
[    1.481715] tegra-pcie 1003000.pcie:      MEM 0x0013000000..0x001fffffff -> 0x0013000000
[    1.489802] tegra-pcie 1003000.pcie:      MEM 0x0020000000..0x003fffffff -> 0x0020000000
[    1.497959] tegra-pcie 1003000.pcie: 4x1, 1x1 configuration
[    1.507029] tegra-pcie 1003000.pcie: probing port 0, using 4 lanes
[    1.515251] tegra-pcie 1003000.pcie: probing port 1, using 1 lanes
[    1.529983] mmc0: SDHCI controller on 700b0400.mmc [700b0400.mmc] using ADMA 64-bit
[    2.732963] tegra-pcie 1003000.pcie: link 0 down, ignoring
[    2.748617] tegra-pcie 1003000.pcie: PCI host bridge to bus 0000:00
[    2.754872] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.760356] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01001fff]
[    2.767221] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    2.773389] pci_bus 0000:00: root bus resource [mem 0x13000000-0x1fffffff]
[    2.780251] pci_bus 0000:00: root bus resource [mem 0x20000000-0x3fffffff pref]
[    2.788195] pci 0000:00:02.0: [10de:0faf] type 01 class 0x060400
[    2.794200] pci_bus 0000:00: 2-byte config write to 0000:00:02.0 offset 0x4 may corrupt adjacent RW1C bits
[    2.803874] pci 0000:00:02.0: enabling Extended Tags
[    2.808885] pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[    2.817090] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.825228] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000
[    2.831247] pci 0000:01:00.0: reg 0x10: [io  0x0000-0x00ff]
[    2.836842] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit]
[    2.843635] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit]
[    2.850552] pci 0000:01:00.0: supports D1 D2
[    2.854812] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    2.862916] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.869552] pci 0000:00:02.0: BAR 8: assigned [mem 0x13000000-0x130fffff]
[    2.876331] pci 0000:00:02.0: BAR 7: assigned [io  0x1000-0x1fff]
[    2.882416] pci 0000:01:00.0: BAR 4: assigned [mem 0x13000000-0x13003fff 64bit]
[    2.889731] pci 0000:01:00.0: BAR 2: assigned [mem 0x13004000-0x13004fff 64bit]
[    2.897042] pci 0000:01:00.0: BAR 0: assigned [io  0x1000-0x10ff]
[    2.903127] pci 0000:00:02.0: PCI bridge to [bus 01]
[    2.908084] pci 0000:00:02.0:   bridge window [io  0x1000-0x1fff]
[    2.914166] pci 0000:00:02.0:   bridge window [mem 0x13000000-0x130fffff]
[    2.920966] pci 0000:00:02.0: nv_msi_ht_cap_quirk didn't locate host bridge
[    2.933636] tegra-xusb 70090000.usb: Firmware timestamp: 2015-08-10 09:47:54 UTC
[    2.941068] tegra-xusb 70090000.usb: xHCI Host Controller
[    2.946484] tegra-xusb 70090000.usb: new USB bus registered, assigned bus number 1
[    2.954885] tegra-xusb 70090000.usb: hcc params 0x0184f525 hci version 0x100 quirks 0x0000000000010010
[    2.964235] tegra-xusb 70090000.usb: irq 81, io mem 0x70090000
[    2.970367] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    2.978636] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.985849] usb usb1: Product: xHCI Host Controller
[    2.990716] usb usb1: Manufacturer: Linux 5.15.53 xhci-hcd
[    2.996191] usb usb1: SerialNumber: 70090000.usb
[    3.001092] hub 1-0:1.0: USB hub found
[    3.004866] hub 1-0:1.0: 5 ports detected
[    3.009216] tegra-xusb 70090000.usb: xHCI Host Controller
[    3.014615] tegra-xusb 70090000.usb: new USB bus registered, assigned bus number 2
[    3.022185] tegra-xusb 70090000.usb: Host supports USB 3.0 SuperSpeed
[    3.028679] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.036823] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    3.045074] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.052287] usb usb2: Product: xHCI Host Controller
[    3.057156] usb usb2: Manufacturer: Linux 5.15.53 xhci-hcd
[    3.062627] usb usb2: SerialNumber: 70090000.usb
[    3.067381] hub 2-0:1.0: USB hub found
[    3.071143] hub 2-0:1.0: 4 ports detected
[    3.077517] tegra_soctherm 700e2000.thermal-sensor: missing thermtrips, will use critical trips as shut down temp
[    3.088278] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when cpu reaches 102500 mC
[    3.097759] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when cpu reaches 98500 mC
[    3.107104] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when gpu reaches 103000 mC
[    3.116579] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when gpu reaches 100000 mC
[    3.125997] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when pll reaches 103000 mC
[    3.135496] tegra_soctherm 700e2000.thermal-sensor: failed to register sensor: -517
[    3.143712] tegra_soctherm 700e2000.thermal-sensor: missing thermtrips, will use critical trips as shut down temp
[    3.143986] sdhci-tegra 700b0000.mmc: Got CD GPIO
[    3.154212] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when cpu reaches 102500 mC
[    3.168162] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when cpu reaches 98500 mC
[    3.177579] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when gpu reaches 103000 mC
[    3.187052] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when gpu reaches 100000 mC
[    3.196485] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when pll reaches 103000 mC
[    3.205984] tegra_soctherm 700e2000.thermal-sensor: failed to register sensor: -517
[    3.209975] irq: IRQ134: trimming hierarchy from :pmc@7000e400
[    3.214965] ALSA device list:
[    3.219685] mmc1: SDHCI controller on 700b0000.mmc [700b0000.mmc] using ADMA 64-bit
[    3.222445]   No soundcards found.
[    3.230551] tegra_soctherm 700e2000.thermal-sensor: missing thermtrips, will use critical trips as shut down temp
[    3.244092] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when cpu reaches 102500 mC
[    3.253575] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when cpu reaches 98500 mC
[    3.262914] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when gpu reaches 103000 mC
[    3.272382] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when gpu reaches 100000 mC
[    3.281798] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when pll reaches 103000 mC
[    3.291296] tegra_soctherm 700e2000.thermal-sensor: failed to register sensor: -517
[    3.299125] Waiting for root device PARTUUID=1c9673b0-02...
[    3.305248] usb 1-2: new high-speed USB device number 2 using tegra-xusb
[    3.493452] usb 1-2: New USB device found, idVendor=0bda, idProduct=5411, bcdDevice= 1.01
[    3.501633] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.508758] usb 1-2: Product: 4-Port USB 2.1 Hub
[    3.513365] usb 1-2: Manufacturer: Generic
[    3.519236] hub 1-2:1.0: USB hub found
[    3.523963] hub 1-2:1.0: 4 ports detected
[    3.531105] tegra_soctherm 700e2000.thermal-sensor: missing thermtrips, will use critical trips as shut down temp
[    3.541674] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when cpu reaches 102500 mC
[    3.551171] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when cpu reaches 98500 mC
[    3.560518] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when gpu reaches 103000 mC
[    3.569993] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when gpu reaches 100000 mC
[    3.579417] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when pll reaches 103000 mC
[    3.588923] tegra_soctherm 700e2000.thermal-sensor: failed to register sensor: -517
[    3.607961] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[    3.615241] mmcblk1: mmc1:aaaa SC32G 29.7 GiB 
[    3.625044]  mmcblk1: p1 p2
[    3.628525] tegra_soctherm 700e2000.thermal-sensor: missing thermtrips, will use critical trips as shut down temp
[    3.639151] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when cpu reaches 102500 mC
[    3.648631] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when cpu reaches 98500 mC
[    3.657970] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when gpu reaches 103000 mC
[    3.667438] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when gpu reaches 100000 mC
[    3.676853] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when pll reaches 103000 mC
[    3.686350] tegra_soctherm 700e2000.thermal-sensor: failed to register sensor: -517
[    3.694641] usb 2-1: new SuperSpeed USB device number 2 using tegra-xusb
[    3.732606] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[    3.734121] usb 2-1: New USB device found, idVendor=0bda, idProduct=0411, bcdDevice= 1.01
[    3.740188] Freeing unused kernel memory: 512K
[    3.747913] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.759470] usb 2-1: Product: 4-Port USB 3.1 Hub
[    3.764076] usb 2-1: Manufacturer: Generic
[    3.772421] hub 2-1:1.0: USB hub found
[    3.776966] hub 2-1:1.0: 4 ports detected
[    3.783549] tegra_soctherm 700e2000.thermal-sensor: missing thermtrips, will use critical trips as shut down temp
[    3.794200] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when cpu reaches 102500 mC
[    3.803681] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when cpu reaches 98500 mC
[    3.813017] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when gpu reaches 103000 mC
[    3.822485] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when gpu reaches 100000 mC
[    3.831899] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when pll reaches 103000 mC
[    3.841397] tegra_soctherm 700e2000.thermal-sensor: failed to register sensor: -517
[    3.855325] Run /sbin/init as init process
[    3.977892] init: Console is alive
[    3.981820] init: - watchdog -
[    4.183458] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.216979] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.234727] init: - preinit -
[    4.406326] random: jshn: uninitialized urandom read (4 bytes read)
[    4.417639] random: jshn: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    6.474334] loop0: detected capacity change from 0 to 212992
[    6.489680] random: procd: uninitialized urandom read (4 bytes read)
[    6.555243] loop0: detected capacity change from 212992 to 203648
[    6.590892] EXT4-fs (loop0): recovery complete
[    6.596766] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[    6.607013] mount_root: switching to ext4 overlay
[    6.615930] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    6.675455] EXT4-fs (mmcblk1p1): mounted filesystem without journal. Opts: (null). Quota mode: disabled.
[    6.692273] urandom-seed: Seeding with /etc/urandom.seed
[    6.740286] procd: - early -
[    6.743269] procd: - watchdog -
[    7.281067] procd: - watchdog -
[    7.311774] procd: - ubus -
[    7.338291] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.368470] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.380377] procd: - init -
Please press Enter to activate this console.
[    7.495294] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.501858] random: ubus: uninitialized urandom read (4 bytes read)
[    7.536107] random: jshn: uninitialized urandom read (4 bytes read)
[    7.549766] urngd: v1.0.2 started.
[    7.558244] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.567036] random: crng init done
[    7.570452] random: 20 urandom warning(s) missed due to ratelimiting
[    7.602322] Loading modules backported from Linux version v5.15.33-0-g06f50ca83ace
[    7.609963] Backport generated by backports.git v5.15.33-1-0-g183c4ab2
[    7.622176] pci 0000:00:02.0: enabling device (0000 -> 0003)
[    7.627960] r8169 0000:01:00.0: enabling device (0000 -> 0003)
[    7.681259] tegra_soctherm 700e2000.thermal-sensor: missing thermtrips, will use critical trips as shut down temp
[    7.681259] r8169 0000:01:00.0 eth0: RTL8168h/8111h, 00:04:4b:ec:31:2c, XID 541, IRQ 135
[    7.682049] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when cpu reaches 102500 mC
[    7.691592] r8169 0000:01:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[    7.699708] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when cpu reaches 98500 mC
[    7.727508] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when gpu reaches 103000 mC
[    7.737038] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when gpu reaches 100000 mC
[    7.746814] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when pll reaches 103000 mC
[    7.756587] tegra_soctherm 700e2000.thermal-sensor: failed to register sensor: -517
[    7.765133] tegra_soctherm 700e2000.thermal-sensor: missing thermtrips, will use critical trips as shut down temp
[    7.776303] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when cpu reaches 102500 mC
[    7.785889] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when cpu reaches 98500 mC
[    7.795489] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when gpu reaches 103000 mC
[    7.804980] tegra_soctherm 700e2000.thermal-sensor: throttrip: will throttle when gpu reaches 100000 mC
[    7.814639] tegra_soctherm 700e2000.thermal-sensor: thermtrip: will shut down when pll reaches 103000 mC
[    7.824244] tegra_soctherm 700e2000.thermal-sensor: failed to register sensor: -517
[    7.838763] PPP generic driver version 2.4.2
[    7.843671] NET: Registered PF_PPPOX protocol family
[    7.855128] usbcore: registered new interface driver rt2800usb
[    7.861181] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.525538] Generic FE-GE Realtek PHY r8169-0-100:00: attached PHY driver (mii_bus:phy_addr=r8169-0-100:00, irq=MAC)
[   10.805346] r8169 0000:01:00.0 eth0: Link is Down
[   10.810076] br-lan: port 1(eth0) entered blocking state
[   10.815333] br-lan: port 1(eth0) entered disabled state
[   10.820794] device eth0 entered promiscuous mode
[   10.826656] br-lan: port 1(eth0) entered blocking state
[   10.831881] br-lan: port 1(eth0) entered forwarding state
[   11.515401] br-lan: port 1(eth0) entered disabled state
[   14.481305] r8169 0000:01:00.0 eth0: Link is Up - 1Gbps/Full - flow control off
[   14.488726] br-lan: port 1(eth0) entered blocking state
[   14.493947] br-lan: port 1(eth0) entered forwarding state
[   14.499842] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready



BusyBox v1.35.0 (2022-07-12 09:15:54 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r20010+90-6d423ffbd1
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# 
1 Like

Some info:

root@OpenWrt:/# lscpu
Architecture:            aarch64
  CPU op-mode(s):        32-bit, 64-bit
  Byte Order:            Little Endian
CPU(s):                  4
  On-line CPU(s) list:   0-3
Vendor ID:               ARM
  Model name:            Cortex-A57
    Model:               1
    Thread(s) per core:  1
    Core(s) per cluster: 4
    Socket(s):           -
    Cluster(s):          1
    Stepping:            r1p1
    CPU(s) scaling MHz:  100%
    CPU max MHz:         1912.5000
    CPU min MHz:         204.0000
    BogoMIPS:            38.40
    Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
Vulnerabilities:         
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Not affected
  Spec store bypass:     Not affected
  Spectre v1:            Mitigation; __user pointer sanitization
  Spectre v2:            Mitigation; Branch predictor hardening, BHB
  Srbds:                 Not affected
  Tsx async abort:       Not affected
root@OpenWrt:/# lspci -v
00:02.0 PCI bridge: NVIDIA Corporation Device 0faf (rev a1) (prog-if 00 [Normal decode])
        Device tree node: /sys/firmware/devicetree/base/pcie@1003000/pci@2,0
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00001000-00001fff [size=4K]
        Memory behind bridge: 13000000-130fffff [size=1M]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: [40] Subsystem: NVIDIA Corporation Device 0000
        Capabilities: [48] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/2 Maskable- 64bit+
        Capabilities: [60] HyperTransport: MSI Mapping Enable- Fixed-
        Capabilities: [80] Express Root Port (Slot+), MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] L1 PM Substates
lspci: Unable to load libkmod resources: error -12

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller
        Device tree node: /sys/firmware/devicetree/base/pcie@1003000/pci@2,0/ethernet@0,0
        Flags: bus master, fast devsel, latency 0, IRQ 18
        I/O ports at 1000 [size=256]
        Memory at 13004000 (64-bit, non-prefetchable) [size=4K]
        Memory at 13000000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
        Capabilities: [d0] Vital Product Data
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
        Capabilities: [170] Latency Tolerance Reporting
        Capabilities: [178] L1 PM Substates
        Kernel driver in use: r8169

root@OpenWrt:/# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 5000M
    |__ Port 1: Dev 2, If 0, Class=, Driver=hub/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/5p, 480M
    |__ Port 2: Dev 2, If 0, Class=, Driver=hub/4p, 480M
root@OpenWrt:/#
1 Like

Cleaned up my staging tree with the WIP so far.

If anyone would like to test it .. feel free and report back :slight_smile:

I have a Jetson Nano 2GB Development Kit. I compiled the latest t210 snapshot. The kernel loads but immediately runs into some errors. I guess there are a number of differences between the 2GB and the 4GB dev system. I am not a developer and debugging the console output is beyond my skillset. I’m happy to test any changes to accommodate the 2GB platform.

U-Boot 2020.04-g4335beb (Apr 20 2022 - 14:22:26 -0700)

SoC: tegra210
Model: NVIDIA Jetson Nano 2GB Developer Kit
Board: NVIDIA P3541-0000
DRAM:  2 GiB
MMC:   sdhci@700b0000: 1, sdhci@700b0600: 0
Loading Environment from SPI Flash... SF: Detected mx25u3235f with page size 256 Bytes, erase size 4 KiB, total 4 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
375 bytes read in 9 ms (40 KiB/s)
## Executing script at 90000000
13559816 bytes read in 597 ms (21.7 MiB/s)
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
ERROR: reserving fdt memory region failed (addr=0 size=0)
ERROR: reserving fdt memory region failed (addr=0 size=0)
   Using Device Tree in place at 0000000083000000, end 000000008307af22
copying carveout for /host1x@50000000/dc@54200000...
copying carveout for /host1x@50000000/dc@54240000...
DT property /chosen/nvidia,bluetooth-mac missing in source; can't copy
DT property /chosen/nvidia,wifi-mac missing in source; can't copy
DT property /psci/nvidia,system-lp0-disable missing in source; can't copy

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd071]
[    0.000000] Linux version 5.15.53 (patrick@patrick-desktop) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 11.3.0 unknown) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP Wed Jul 13 15:08:54 2022
[    0.000000] Machine model: NVIDIA Jetson Nano 2GB Developer Kit
[    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] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000afffffff]
[    0.000000]   node   0: [mem 0x00000000b0000000-0x00000000b01fffff]
[    0.000000]   node   0: [mem 0x00000000b0200000-0x00000000bf7fffff]
[    0.000000]   node   0: [mem 0x00000000bfa00000-0x00000000ff7fffff]
[    0.000000]   node   0: [mem 0x00000000ffa00000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 17 pages/cpu s31000 r8192 d30440 u69632
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Spectre-v2
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 515072
[    0.000000] Kernel command line: root=PARTUUID=55f56a9e-02 rw rootwait console=ttyS0,115200 console=tty0
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 2035968K/2093056K available (8896K kernel code, 1018K rwdata, 2668K rodata, 512K init, 309K bss, 57088K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: GICv2 detected, but range too small and irqchip.gicv2_force_probe not set
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] /interrupt-controller@60004000: 192 interrupts forwarded to /interrupt-controller
[    0.000000] arch_timer: 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.000000] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000076] tegra-timer: failed to map irq for cpu0
[    0.000095] Failed to initialize '/timer@60005000': -22
[    0.001030] Console: colour dummy device 80x25
[    0.001290] printk: console [tty0] enabled
[    0.001339] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.001360] pid_max: default: 32768 minimum: 301
[    0.001556] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.001598] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.003274] rcu: Hierarchical SRCU implementation.
[    0.003443] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.006030] Speedo Revision 4
[    0.006047] Tegra210: unknown SKU 0x8f
[    0.006068] Tegra Revision: A02 SKU: 143 CPU Process: 0 SoC Process: 0
[    0.007042] tegra-pmc: access to PMC is restricted to TZ
[    0.007392] smp: Bringing up secondary CPUs ...
[    0.007950] Detected PIPT I-cache on CPU1
[    0.008032] CPU1: Booted secondary processor 0x0000000001 [0x411fd071]
[    0.008641] Detected PIPT I-cache on CPU2
[    0.008681] CPU2: Booted secondary processor 0x0000000002 [0x411fd071]
[    0.009253] Detected PIPT I-cache on CPU3
[    0.009289] CPU3: Booted secondary processor 0x0000000003 [0x411fd071]
[    0.009351] smp: Brought up 1 node, 4 CPUs
[    0.009400] SMP: Total of 4 processors activated.
[    0.009410] CPU features: detected: 32-bit EL0 Support
[    0.009419] CPU features: detected: CRC32 instructions
[    0.009477] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.009492] CPU: All CPU(s) started at EL2
[    0.009516] alternatives: patching kernel code
[    0.028234] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.028299] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.028508] pinctrl core: initialized pinctrl subsystem
[    0.029766] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.030214] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.030278] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.030325] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.030699] thermal_sys: Registered thermal governor 'step_wise'
[    0.032412] ASID allocator initialised with 65536 entries
[    0.043340] tegra210-pinctrl 700008d4.pinmux: there is not valid maps for state drive
[    0.060429] tegra-mc 70019000.memory-controller: no memory timings for RAM code 1 registered
[    0.076092] cryptd: max_cpu_qlen set to 1000
[    0.078157] vdd-5v0-hdmi: supplied by vdd-5v0-sys
[    0.078427] vdd-fan: supplied by vdd-5v0-sys
[    0.078633] vdd-usb-vbus: supplied by vdd-5v0-sys
[    0.079010] iommu: Default domain type: Translated
[    0.079024] iommu: DMA domain TLB invalidation policy: strict mode
[    0.079491] SCSI subsystem initialized
[    0.079805] usbcore: registered new interface driver usbfs
[    0.079841] usbcore: registered new interface driver hub
[    0.079869] usbcore: registered new device driver usb
[    0.080147] pps_core: LinuxPPS API ver. 1 registered
[    0.080158] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.080179] PTP clock support registered
[    0.080493] Advanced Linux Sound Architecture Driver Initialized.
[    0.081228] clocksource: Switched to clocksource arch_sys_counter
[    0.084083] NET: Registered PF_INET protocol family
[    0.084415] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.085466] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.085515] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.085533] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.085650] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.085904] TCP: Hash tables configured (established 16384 bind 16384)
[    0.086092] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.086153] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.086365] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.086415] PCI: CLS 0 bytes, default 64
[    0.090680] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.093801] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.093883] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.103647] tegra-pmc 7000e400.pmc: i2c-thermtrip node not found, emergency thermal reset disabled.
[    0.105462] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.112024] loop: module loaded
[    0.115718] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.115766] ehci-platform: EHCI generic platform driver
[    0.115950] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.115973] ohci-platform: OHCI generic platform driver
[    0.116420] usbcore: registered new interface driver usb-storage
[    0.117228] mousedev: PS/2 mouse device common for all mice
[    0.117344] i2c_dev: i2c /dev entries driver
[    0.119342] tegra-wdt 60005000.timer: initialized (heartbeat = 120 sec, nowayout = 0)
[    0.120036] sdhci: Secure Digital Host Controller Interface driver
[    0.120057] sdhci: Copyright(c) Pierre Ossman
[    0.120264] Synopsys Designware Multimedia Card Interface Driver
[    0.120446] VUB300 Driver rom wait states = 1C irqpoll timeout = 0400
[    0.121638] usbcore: registered new interface driver vub300
[    0.121697] usbcore: registered new interface driver ushc
[    0.121707] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.122828] tegra210-emc: probe of 7001b000.external-memory-controller failed with error -2
[    0.126079] NET: Registered PF_INET6 protocol family
[    0.127097] Segment Routing with IPv6
[    0.127145] In-situ OAM (IOAM) with IPv6
[    0.127208] NET: Registered PF_PACKET protocol family
[    0.127255] can: controller area network core
[    0.127356] NET: Registered PF_CAN protocol family
[    0.127367] 8021q: 802.1Q VLAN Support v1.8
[    0.143645] gpio-6 (system-suspend-gpio): hogged as output/high
[    0.143708] gpio-151 (camera-control-output-low): hogged as output/low
[    0.146385] vdd-usb-vbus-en: supplied by vdd-5v0-sys
[    0.148067] tegra-uart 70006000.serial: deferred probe timeout, ignoring dependency
[    0.148451] printk: console [ttyS0] disabled
[    0.148517] 70006000.serial: ttyS0 at MMIO 0x70006000 (irq = 67, base_baud = 25500000) is a Tegra
[    1.063638] printk: console [ttyS0] enabled
[    1.068272] tegra-qspi 70410000.spi: deferred probe timeout, ignoring dependency
[    1.076173] tegra-i2c 7000c000.i2c: deferred probe timeout, ignoring dependency
[    1.084142] tegra-i2c 7000c400.i2c: deferred probe timeout, ignoring dependency
[    1.091825] i2c i2c-1: of_i2c: modalias failure on /i2c@7000c400/prod-settings
[    1.099047] i2c i2c-1: Failed to create I2C device for /i2c@7000c400/prod-settings
[    1.106796] tegra-i2c 7000c500.i2c: deferred probe timeout, ignoring dependency
[    1.114578] tegra-i2c 7000c700.i2c: deferred probe timeout, ignoring dependency
[    1.122340] tegra-i2c 7000d000.i2c: deferred probe timeout, ignoring dependency
[    1.131125] ------------[ cut here ]------------
[    1.135750] WARNING: CPU: 1 PID: 65 at drivers/irqchip/irq-gic.c:1080 gic_irq_domain_translate+0x134/0x154
[    1.145412] Modules linked in:
[    1.148468] CPU: 1 PID: 65 Comm: kworker/u8:2 Not tainted 5.15.53 #0
[    1.154814] Hardware name: NVIDIA Jetson Nano 2GB Developer Kit (DT)
[    1.161159] Workqueue: events_unbound deferred_probe_work_func
[    1.166998] pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    1.173952] pc : gic_irq_domain_translate+0x134/0x154
[    1.178994] lr : gic_irq_domain_alloc+0x34/0x8c
[    1.183517] sp : ffffffc0090e3410
[    1.186824] x29: ffffffc0090e3410 x28: 0000000000000000 x27: 0000000000000065
[    1.193956] x26: 0000000000000001 x25: 0000000000000057 x24: ffffff807faa2000
[    1.201086] x23: ffffffc008c8fd38 x22: 0000000000000065 x21: ffffff807fa98000
[    1.208216] x20: 0000000000000001 x19: 0000000000000057 x18: 0000000000000020
[    1.215346] x17: 0000000000000007 x16: 0000000000000007 x15: ffffff80014f9b84
[    1.222476] x14: ffffffffffffffff x13: 0000000000000000 x12: 0000000000000006
[    1.229605] x11: 0000000000000040 x10: ffffffc008c7ad68 x9 : ffffffc008c7ad60
[    1.236735] x8 : ffffff8000462018 x7 : ffffff807fbaa010 x6 : ffffff807fbaa008
[    1.243865] x5 : ffffffc00897c518 x4 : 0000000000000003 x3 : ffffffc0090e3474
[    1.250994] x2 : ffffffc0090e3478 x1 : ffffffc0090e34f0 x0 : 0000000000000000
[    1.258123] Call trace:
[    1.260563]  gic_irq_domain_translate+0x134/0x154
[    1.265260]  gic_irq_domain_alloc+0x34/0x8c
[    1.269436]  irq_domain_alloc_irqs_parent+0x20/0x30
[    1.274317]  tegra_ictlr_domain_alloc+0xe0/0x110
[    1.278927]  __irq_domain_alloc_irqs+0xe4/0x450
[    1.283453]  irq_create_fwspec_mapping+0x208/0x2fc
[    1.288233]  irq_create_of_mapping+0x50/0x60
[    1.292494]  of_irq_get+0x5c/0xa0
[    1.295817]  i2c_device_probe+0x250/0x2e0
[    1.299826]  really_probe.part.0+0x98/0x300
[    1.304005]  __driver_probe_device+0x94/0x140
[    1.308354]  driver_probe_device+0x40/0x114
[    1.312531]  __device_attach_driver+0xb0/0x10c
[    1.316969]  bus_for_each_drv+0x64/0xa0
[    1.320800]  __device_attach+0xa4/0x1ac
[    1.324629]  device_initial_probe+0x10/0x20
[    1.328805]  bus_probe_device+0x94/0x9c
[    1.332632]  device_add+0x35c/0x830
[    1.336115]  device_register+0x1c/0x2c
[    1.339856]  i2c_new_client_device+0x170/0x280
[    1.344293]  of_i2c_register_devices+0xdc/0x17c
[    1.348819]  i2c_register_adapter+0x1d4/0x5cc
[    1.353169]  __i2c_add_numbered_adapter+0x58/0xa0
[    1.357865]  i2c_add_adapter+0x9c/0xd0
[    1.361606]  i2c_add_numbered_adapter+0x24/0x30
[    1.366128]  tegra_i2c_probe+0x350/0x4e0
[    1.370047]  platform_probe+0x64/0xd0
[    1.373710]  really_probe.part.0+0x98/0x300
[    1.377887]  __driver_probe_device+0x94/0x140
[    1.382238]  driver_probe_device+0x40/0x114
[    1.386415]  __device_attach_driver+0xb0/0x10c
[    1.390853]  bus_for_each_drv+0x64/0xa0
[    1.394681]  __device_attach+0xa4/0x1ac
[    1.398511]  device_initial_probe+0x10/0x20
[    1.402687]  bus_probe_device+0x94/0x9c
[    1.406516]  deferred_probe_work_func+0x80/0xb4
[    1.411037]  process_one_work+0x200/0x3c0
[    1.415048]  worker_thread+0x290/0x4d4
[    1.418791]  kthread+0x11c/0x130
[    1.422016]  ret_from_fork+0x10/0x20
[    1.425589] ---[ end trace 7e86317b30fc5f66 ]---
[    1.430976] max77620 4-003c: PMIC Version OTP:0x35 and ES:0x8
[    1.441303] vdd-core: supplied by regulator-dummy
[    1.447039] vdd-ddr-1v1: Bringing 1125000uV into 1150000-1150000uV
[    1.453698] vdd-ddr-1v1: supplied by regulator-dummy
[    1.459638] vdd-pre-reg-1v35: supplied by regulator-dummy
[    1.466121] vdd-1v8: supplied by regulator-dummy
[    1.471821] avdd-sys-1v2: supplied by vdd-pre-reg-1v35
[    1.477618] vdd-pex-1v0: supplied by vdd-pre-reg-1v35
[    1.483433] vddio-sdmmc-ap: supplied by regulator-dummy
[    1.489011] max77620-ldo3: supplied by regulator-dummy
[    1.494623] vdd-rtc: supplied by regulator-dummy
[    1.499845] max77620-ldo5: supplied by regulator-dummy
[    1.505449] vddio-sdmmc3-ap: supplied by regulator-dummy
[    1.511475] avdd-1v05-pll: supplied by vdd-pre-reg-1v35
[    1.517387] avdd-io-hdmi-dp: supplied by vdd-pre-reg-1v35
[    1.524393] gpio-505 (spmic-default-output-high): hogged as output/high
[    1.534097] tegra-i2c 7000d100.i2c: deferred probe timeout, ignoring dependency
[    1.543080] tegra-qspi 70410000.spi: deferred probe timeout, ignoring dependency
[    1.551085] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when cpu reaches 102500 mC
[    1.560059] tegra_soctherm 700e2000.soctherm: throttrip: will throttle when cpu reaches 100500 mC
[    1.568947] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when gpu reaches 103000 mC
[    1.577904] tegra_soctherm 700e2000.soctherm: throttrip: will throttle when gpu reaches 101000 mC
[    1.586789] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when pll reaches 127000 mC
[    1.595741] tegra_soctherm 700e2000.soctherm: throttrip: pll: missing hot temperature
[    1.603577] tegra_soctherm 700e2000.soctherm: failed to register sensor: -19
[    1.610844] tegra-xusb-padctl 7009f000.xusb_padctl: nvidia,pmc property is missing
[    1.618560] tegra-xusb-padctl 7009f000.xusb_padctl: supply avdd-pll-utmip not found, using dummy regulator
[    1.628391] tegra-xusb-padctl 7009f000.xusb_padctl: supply avdd-pll-uerefe not found, using dummy regulator
[    1.638204] tegra-xusb-padctl 7009f000.xusb_padctl: supply dvdd-pex-pll not found, using dummy regulator
[    1.647753] tegra-xusb-padctl 7009f000.xusb_padctl: supply hvdd-pex-pll-e not found, using dummy regulator
[    1.658120]  pcie: invalid function "xusb" for lane "pcie-5"
[    1.664097] tegra-xusb-padctl 7009f000.xusb_padctl: failed to create pad pcie: -22
[    1.671676] tegra-xusb-padctl 7009f000.xusb_padctl: failed to create pad pcie: -22
[    1.679398] tegra-xusb-padctl 7009f000.xusb_padctl: failed to setup pads: -22
[    1.686543] tegra-xusb-padctl: probe of 7009f000.xusb_padctl failed with error -22
[    1.697385] ALSA device list:
[    1.700374]   No soundcards found.
[    1.703997] Waiting for root device PARTUUID=55f56a9e-02...
[   31.831249] vdd-5v0-sys: disabling
[   31.834654] vdd-5v0-hdmi: disabling
[   31.838138] vdd-fan: disabling
[   31.841188] vdd-usb-vbus: disabling
[   31.844693] avdd-sys-1v2: disabling
[   31.848324] vddio-sdmmc-ap: disabling
[   31.852068] vddio-sdmmc3-ap: disabling


Great!
Thanks for reporting

This one has no dts upstream. :frowning:
The 4GB model is the P3450 which is available upstream.

I'll ask the maintainer at nvidia if its available somewhere.

1 Like

Hi, any word from Nvidia about the P3541 being supported with an upstream kernel?

Would love to hear any feedback from nvidia :wink:

Gstreamer 1.22.0 running on the nano :slight_smile:

Link

2 Likes

Finally cleaned up most of the build ..
It's now possible to cleanly flash EMMC devices using nvflash, updating the complete device.

it should also be possible now to add support for different carrier boards.

1 Like

I think it should be possible to solve this.
Using the new build output generated in openwrt, it can be fed to nvflash now.
The fun fact here is that it's possible to combine OpenWRT's rootfs, kernel (and optionally uboot), with the dtb's from jetpack.

This way .. it should work to support a lot more boards/flavors.

I'll update my staging tree tomorrow to output these files, and add a "manual" in the commit description how to flash using these files.

If you are still interested in testing this .. ? :slight_smile: