Skip to content

Instantly share code, notes, and snippets.

@pdp7
Created December 3, 2025 01:40
Show Gist options
  • Select an option

  • Save pdp7/9aebcce1f1de05c228a577a651762367 to your computer and use it in GitHub Desktop.

Select an option

Save pdp7/9aebcce1f1de05c228a577a651762367 to your computer and use it in GitHub Desktop.
Blackhole Linux boot log
/home/dfustini/.tenstorrent-venv/bin/python boot.py --boot --l2cpu 0 --opensbi_bin fw_jump.bin --opensbi_dst 0x400030000000 --rootfs_dst 0x4000e5000000 --kernel_bin Image --kernel_dst 0x400030200000 --dtb_bin blackhole-card.dtb --dtb_dst 0x400030100000
Starting PCI link reset on BH devices at PCI indices: 0
Waiting for up to 2 seconds for asic to come back after reset
Config space reset completed for device 0
Finishing PCI link reset on BH devices at PCI indices: 0
Writing OpenSBI to 0x400030000000
Writing Kernel to 0x400030200000
Writing dtb to 0x400030100000
Setting clock to 200
Setting clock to 1750
./console/tt-bh-linux --l2cpu 0
Press Ctrl-A x to exit.
L2CPU[8, 3] debug descriptor: 40010
L2CPU[8, 3] found the virtual UART at 0x400030043c18
OpenSBI v1.7
Build time: 2025-10-18 21:20:04 -0700
Build compiler: gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : Tenstorrent Blackhole
Platform Features : medeleg
Platform HART Count : 4
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 50000000Hz
Platform Console Device : virtual_uart
Platform HSM Device : ---
Platform PMU Device : ---
Platform Reboot Device : ---
Platform Shutdown Device : ---
Platform Suspend Device : ---
Platform CPPC Device : ---
Firmware Base : 0x400030000000
Firmware Size : 361 KB
Firmware RW Offset : 0x40000
Firmware RW Size : 105 KB
Firmware Heap Offset : 0x4e000
Firmware Heap Size : 49 KB (total), 3 KB (reserved), 12 KB (used), 33 KB (free)
Firmware Scratch Size : 4096 B (total), 408 B (used), 3688 B (free)
Runtime SBI Version : 3.0
Standard SBI Extensions : time,rfnc,ipi,base,hsm,pmu,dbcn,fwft,legacy,dbtr,sse
Experimental SBI Extensions : none
Domain0 Name : root
Domain0 Boot HART : 3
Domain0 HARTs : 0*,1*,2*,3*
Domain0 Region00 : 0x0000000002000000-0x000000000200ffff M: (I,R,W) S/U: ()
Domain0 Region01 : 0x0000400030040000-0x000040003005ffff M: (R,W) S/U: ()
Domain0 Region02 : 0x0000400030000000-0x000040003003ffff M: (R,X) S/U: ()
Domain0 Region03 : 0x000000000c000000-0x000000000fffffff M: (I,R,W) S/U: (R,W)
Domain0 Region04 : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X)
Domain0 Next Address : 0x0000400030200000
Domain0 Next Arg1 : 0x0000400030100000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Domain0 SysSuspend : yes
Boot HART ID : 3
Boot HART Domain : root
Boot HART Priv Version : v1.11
Boot HART Base ISA : rv64imafdcvx
Boot HART ISA Extensions : sscofpmf,zihpm,sdtrig
Boot HART PMP Count : 8
Boot HART PMP Granularity : 12 bits
Boot HART PMP Address Bits : 45
Boot HART MHPM Info : 4 (0x00000078)
Boot HART Debug Triggers : 4 triggers
Boot HART MIDELEG : 0x0000000000002222
Boot HART MEDELEG : 0x000000000000b109
[ 0.000000] Booting Linux on hartid 3
[ 0.000000] Linux version 6.18.0-rc1-tt-blackhole-dfustini-00008-ga71e6e8eea8a-dirty (dfustini@rvsw-bh-02) (riscv64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #8 SMP Sat Oct 18 20:07:56 PDT 2025
[ 0.000000] Machine model: Tenstorrent Blackhole
[ 0.000000] SBI specification v3.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10007
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] SBI DBCN extension detected
[ 0.000000] SBI FWFT extension detected
[ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[ 0.000000] printk: legacy bootconsole [sbi0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x0000400030000000..0x000040003003ffff (256 KiB) nomap non-reusable mmode_resv1@4000,30000000
[ 0.000000] OF: reserved mem: 0x0000400030040000..0x000040003005ffff (128 KiB) nomap non-reusable mmode_resv0@4000,30040000
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000400030000000-0x000040012fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000400030000000-0x000040003005ffff]
[ 0.000000] node 0: [mem 0x0000400030060000-0x000040012fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000400030000000-0x000040012fffffff]
[ 0.000000] SBI HSM extension detected
[ 0.000000] riscv: base ISA extensions acdfimv
[ 0.000000] riscv: ELF capabilities acdfimv
[ 0.000000] Ticket spinlock: enabled
[ 0.000000] percpu: Embedded 21 pages/cpu s47256 r8192 d30568 u86016
[ 0.000000] Kernel command line: rw console=hvc0 earlycon=sbi root=/dev/vda
[ 0.000000] printk: log buffer data + meta data: 131072 + 458752 = 589824 bytes
[ 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] software IO TLB: area num 4.
[ 0.000000] software IO TLB: swiotlb_memblock_alloc: Failed to allocate 67108864 bytes tlb structure
[ 0.000000] software IO TLB: swiotlb_memblock_alloc: Failed to allocate 33554432 bytes tlb structure
[ 0.000000] software IO TLB: swiotlb_memblock_alloc: Failed to allocate 16777216 bytes tlb structure
[ 0.000000] software IO TLB: swiotlb_memblock_alloc: Failed to allocate 8388608 bytes tlb structure
[ 0.000000] software IO TLB: swiotlb_memblock_alloc: Failed to allocate 4194304 bytes tlb structure
[ 0.000000] software IO TLB: swiotlb_memblock_alloc: Failed to allocate 2097152 bytes tlb structure
[ 0.000000] software IO TLB: swiotlb_memblock_alloc: Failed to allocate 1048576 bytes tlb structure
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1048576
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 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=64 to nr_cpu_ids=4.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] riscv: providing IPIs using SBI IPI extension
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns
[ 0.000001] sched_clock: 64 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns
[ 0.000307] Console: colour dummy device 80x25
[ 0.004486] Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=200000)
[ 0.014440] pid_max: default: 32768 minimum: 301
[ 0.018921] LSM: initializing lsm=capability
[ 0.023047] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.029980] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.039354] riscv: ELF compat mode unsupported
[ 0.039365] ASID allocator disabled (0 bits)
[ 0.045860] rcu: Hierarchical SRCU implementation.
[ 0.050290] rcu: Max phase no-delay instances is 1000.
[ 0.055479] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 0.063076] EFI services will not be available.
[ 0.067572] smp: Bringing up secondary CPUs ...
[ 0.073209] smp: Brought up 1 node, 4 CPUs
[ 0.075586] Memory: 4072956K/4194304K available (8378K kernel code, 4176K rwdata, 4096K rodata, 8982K init, 381K bss, 117524K reserved, 0K cma-reserved)
[ 0.089578] devtmpfs: initialized
[ 0.092617] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.100948] posixtimers hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.107999] futex hash table entries: 1024 (65536 bytes on 1 NUMA nodes, total 64 KiB, linear).
[ 0.116363] DMI not present or invalid.
[ 0.120246] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.125630] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.132151] swapper/0: page allocation failure: order:7, mode:0xcc4(GFP_KERNEL|GFP_DMA32), nodemask=(null),cpuset=/,mems_allowed=0
[ 0.143233] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.18.0-rc1-tt-blackhole-dfustini-00008-ga71e6e8eea8a-dirty #8 NONE
[ 0.143243] Hardware name: Tenstorrent Blackhole (DT)
[ 0.143246] Call Trace:
[ 0.143250] [<ffffffff80012b22>] dump_backtrace+0x1c/0x24
[ 0.143263] [<ffffffff800022e0>] show_stack+0x28/0x34
[ 0.143269] [<ffffffff8000d018>] dump_stack_lvl+0x48/0x66
[ 0.143274] [<ffffffff8000d04a>] dump_stack+0x14/0x1c
[ 0.143279] [<ffffffff801ba204>] warn_alloc+0xc4/0x132
[ 0.143287] [<ffffffff801ba942>] __alloc_frozen_pages_noprof+0x6d0/0xc2a
[ 0.143294] [<ffffffff801baea8>] __alloc_pages_noprof+0xc/0x1a
[ 0.143299] [<ffffffff80093a50>] atomic_pool_expand+0x84/0x1b2
[ 0.143308] [<ffffffff80a0e29e>] __dma_atomic_pool_init+0x46/0x9e
[ 0.143318] [<ffffffff80a0e392>] dma_atomic_pool_init+0x9c/0x122
[ 0.143325] [<ffffffff8000e0ec>] do_one_initcall+0x38/0x174
[ 0.143330] [<ffffffff80a011fc>] kernel_init_freeable+0x296/0x31e
[ 0.143339] [<ffffffff8082843c>] kernel_init+0x1e/0x13a
[ 0.143344] [<ffffffff8000f90a>] ret_from_fork_kernel+0xe/0xce
[ 0.143350] [<ffffffff80830a72>] ret_from_fork_kernel_asm+0x16/0x18
[ 0.143356] Mem-Info:
[ 0.245232] active_anon:0 inactive_anon:0 isolated_anon:0
[ 0.245232] active_file:0 inactive_file:0 isolated_file:0
[ 0.245232] unevictable:0 dirty:0 writeback:0
[ 0.245232] slab_reclaimable:33 slab_unreclaimable:268
[ 0.245232] mapped:0 shmem:0 pagetables:66
[ 0.245232] sec_pagetables:0 bounce:0
[ 0.245232] kernel_misc_reclaimable:0
[ 0.245232] free:1017675 free_pcp:0 free_cma:0
[ 0.280105] 0 total pagecache pages
[ 0.283383] 0 pages in swap cache
[ 0.286524] Free swap = 0kB
[ 0.289256] Total swap = 0kB
[ 0.292012] 1048576 pages RAM
[ 0.294846] 0 pages HighMem/MovableOnly
[ 0.298480] 29381 pages reserved
[ 0.301512] DMA: failed to allocate 496 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocation
[ 0.309427] audit: initializing netlink subsys (disabled)
[ 0.314822] audit: type=2000 audit(0.184:1): state=initialized audit_enabled=0 res=1
[ 0.322138] cpuidle: using governor menu
[ 0.326022] SBI misaligned access exception delegation ok
[ 0.332339] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.337417] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.344208] SCSI subsystem initialized
[ 0.347047] pps_core: LinuxPPS API ver. 1 registered
[ 0.351786] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.360439] PTP clock support registered
[ 0.364827] vgaarb: loaded
[ 0.366771] clocksource: Switched to clocksource riscv_clocksource
[ 0.379157] NET: Registered PF_INET protocol family
[ 0.379746] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.387837] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.392542] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.399942] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.407778] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 0.415825] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.420932] UDP hash table entries: 2048 (order: 5, 131072 bytes, linear)
[ 0.427319] UDP-Lite hash table entries: 2048 (order: 5, 131072 bytes, linear)
[ 0.434422] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.440098] RPC: Registered named UNIX socket transport module.
[ 0.445253] RPC: Registered udp transport module.
[ 0.449646] RPC: Registered tcp transport module.
[ 0.454088] RPC: Registered tcp-with-tls transport module.
[ 0.459346] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.465535] PCI: CLS 0 bytes, default 64
[ 0.470189] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 0.476449] NFS: Registering the id_resolver key type
[ 0.480274] Key type id_resolver registered
[ 0.484161] Key type id_legacy registered
[ 0.488051] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.494447] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.501650] 9p: Installing v9fs 9p2000 file system support
[ 0.569672] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 0.569870] io scheduler mq-deadline registered
[ 0.569883] io scheduler kyber registered
[ 0.569923] io scheduler bfq registered
[ 0.570454] riscv-plic: interrupt-controller@c000000: mapped 128 interrupts with 4 handlers for 8 contexts.
[ 0.606514] printk: legacy console [hvc0] enabled
[ 0.606514] printk: legacy console [hvc0] enabled
[ 0.606544] printk: legacy bootconsole [sbi0] disabled
[ 0.606544] printk: legacy bootconsole [sbi0] disabled
[ 0.606608] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.611824] loop: module loaded
[ 0.612297] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev
[ 0.612720] device-mapper: multipath round-robin: version 1.2.0 loaded
[ 0.612736] device-mapper: multipath queue-length: version 0.2.0 loaded
[ 0.612748] device-mapper: multipath service-time: version 0.3.0 loaded
[ 0.612760] device-mapper: multipath historical-service-time: version 0.1.1 loaded
[ 0.612866] riscv-pmu-sbi: SBI PMU extension is available
[ 0.612895] riscv-pmu-sbi: 16 firmware and 6 hardware counters
[ 0.614041] IPVS: Registered protocols (TCP, UDP)
[ 0.614072] IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
[ 0.619941] IPVS: ipvs loaded.
[ 0.622742] IPVS: [rr] scheduler registered.
[ 0.627054] Initializing XFRM netlink socket
[ 0.631152] NET: Registered PF_INET6 protocol family
[ 0.636972] Segment Routing with IPv6
[ 0.639518] In-situ OAM (IOAM) with IPv6
[ 0.643360] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.649344] NET: Registered PF_PACKET protocol family
[ 0.653916] 9pnet: Installing 9P2000 support
[ 0.658095] Key type dns_resolver registered
[ 0.671346] clk: Disabling unused clocks
[ 0.671374] PM: genpd: Disabling unused power domains
[ 0.681306] Freeing unused kernel image (initmem) memory: 8980K
[ 0.681485] Run /init as init process
Saving 256 bits of non-creditable seed for next boot
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting network: OK
Starting crond: OK
Welcome to Buildroot
buildroot login:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment