Last active
July 4, 2023 21:58
-
-
Save orangecms/ec608a807df268a5cb3cb7231f7e4686 to your computer and use it in GitHub Desktop.
oreboot on JH7110 / VF2 with RustSBI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oreboot 🦀 bt0 | |
boot mode: UART | |
RISC-V arch 8000000000000007 | |
RISC-V core vendor: SiFive (0x0489) | |
RISC-V implementation: 21G1.02.00 / llama.02.00-general (0x04210427) | |
RISC-V hart ID 1 | |
apb0 80000000 | |
apb0 80000000 | |
DRAM: 4G: false 2G: false | |
[DRAM] init start | |
[DRAM] set clk to OSC div2 | |
[DRAM] set PLL frequency | |
PLL1: 00b02603 55e00000 00c7a601 | |
PLL1: 042ba603 41e00000 00c7a60c | |
[DRAM] set clk to PLL1 div2 | |
[DRAM] asserts | |
[DRAM] train | |
[DRAM] util | |
[DRAM] start | |
[DRAM] set clk to OSC div2 | |
[DRAM] boot | |
[DRAM] OMC init | |
[DRAM] OMC init train | |
[DRAM] OMC init PHY | |
[DRAM] OMC init done | |
[DRAM] init done | |
Copy 64k main stage to DRAM... ⏳ | |
................................................................ done. | |
Main stage: | |
dump 32 bytes @80000000 | |
7350107c7310403073100030731050308545732540f16319b500175100001301 | |
Jump to main stage... | |
oreboot 🦀 main | |
lzss compressed Linux: | |
dump 32 bytes @21400000 | |
7c54a80098e89fd65017f90c81fd471098cd1fea40057813f836a549a9d0eac0 | |
dump 32 bytes @21400020 | |
1c20108414036597b2fda0193c2e16e78cb2c5e0c02d089c1acdfbc8e375d900 | |
dump 32 bytes @21400040 | |
1ca49a072ecb5ce21568844eadc501735d31961a6e3a2f95974062705e2fe263 | |
dump 32 bytes @21400060 | |
81a6e36e6047089013c20b188b80a840ce30703985562197f8cb60393c0f077c | |
dump 32 bytes @21400080 | |
07f0834600de582c0022c2811004a8c50106921dee66c573d840810400461c9e | |
dump 32 bytes @214000a0 | |
1b0d04b9e400a2101a301342073205606868dae05d06c417a117d28194b0bf2f | |
dump 32 bytes @214000c0 | |
7fc23ff6f7c03800c60a982b42cf00a1c5e2f2503c94166c07f2073840228093 | |
dump 32 bytes @214000e0 | |
00010023c2a110faefc1e22096be0ed814ac0c90057879bdb179b800422707b3 | |
Copy compressed Linux to DRAM... ⏳ | |
................................................ done. | |
Copy DTB to DRAM... ⏳ | |
. done. | |
DTB looks fine, yay! | |
Decompress 11031676 bytes from 0x84000004 to 0x80200000, reserved 25165824 bytes | |
Success, decompressed 19789688 bytes :) | |
Payload looks like Linux Image, yay! | |
DTB still fine, yay! | |
Payload extracted. Preview: | |
dump 32 bytes @80200000 | |
31a2000000000100000020000000000010313401000000000000000000000000 | |
dump 32 bytes @80200020 | |
0200000000000000000000000000000052495343560000005253430500000000 | |
dump 32 bytes @80200040 | |
9765f600938585738c6517060000130666fb918dae9017060000130626032e96 | |
dump 32 bytes @80200060 | |
731056101356c5009765f600938585748c614d8e17952e011305c5f831814d8d | |
dump 32 bytes @80200080 | |
7300001273100518170500001305c5077310551097f12d019381c1be73100618 | |
dump 32 bytes @802000a0 | |
730000128280731040107310401497f12d01938121bd996273b0021097060000 | |
dump 32 bytes @802000c0 | |
938686047390561001462e9603320600a146ae9603b1060017a52e01130585f2 | |
dump 32 bytes @802000e0 | |
eff01ff6ef00c000175300006700431717250000130505367310551073100014 | |
Release non-boot harts ===== | |
[SBI] timer init | |
[SBI] reset init | |
[SBI] ipi init | |
[SBI] rfence init | |
[SBI] set mtvec: 80000044 | |
[SBI] delegate interrupts and exceptions | |
RustSBI version 0.3.2 | |
.______ __ __ _______.___________. _______..______ __ | |
| _ \ | | | | / | | / || _ \ | | | |
| |_) | | | | | | (----`---| |----`| (----`| |_) || | | |
| / | | | | \ \ | | \ \ | _ < | | | |
| |\ \----.| `--' |.----) | | | .----) | | |_) || | | |
| _| `._____| \______/ |_______/ |__| |_______/ |______/ |__| | |
Platform Name: StarFive VisionFive 2 | |
Implementation: oreboot version 0.1.0 | |
[SBI] misa: RV64ABCDFIMSUX | |
[SBI] mideleg: ssoft stimer sext (0x000222) | |
[SBI] medeleg: ima uecall ipage lpage spage (0x00b101) | |
[SBI] mie: msoft mtimer (0x000088) | |
[SBI] PMP0: 0x00000000 - 0x80000000 (A,R,W,X) | |
[SBI] PMP1: 0x80000000 - 0x80200000 (A,R,W,X) | |
[SBI] PMP2: 0x80200000 - 0xffffff000 (A,R,W,X) | |
[SBI] PMP8: 0x00000000 - 0x00000000 (A,R,W,X) | |
[SBI] Enter supervisor on hart 1 at 80200000 with DTB from 81a00000 | |
[SBI] DEBUG: instruction 0x20442098d0 at 0xffffff840a189088: Exception(InstructionMisaligned) | |
[SBI] ecall a6: 4, a7: 10, a0-a5: 0 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0x0000000080207540: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 5, a7: 10, a0-a5: 0 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0x0000000080207590: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 6, a7: 10, a0-a5: 0 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0x00000000802075e0: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 0, a7: 10, a0-a5: 0 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006d46: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 1, a7: 10, a0-a5: 0 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006d46: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 2, a7: 10, a0-a5: 0 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006d46: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 3, a7: 10, a0-a5: 54494d45 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006d18: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 3, a7: 10, a0-a5: 735049 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006d18: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 3, a7: 10, a0-a5: 52464e43 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006d18: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 3, a7: 10, a0-a5: 53525354 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006d18: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 3, a7: 10, a0-a5: 48534d 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006d18: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 3, a7: 10, a0-a5: 48534d 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006d18: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 3, a7: 10, a0-a5: 48534d 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006d18: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 3, a7: 10, a0-a5: 48534d 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006d18: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 4, a7: 10, a0-a5: 0 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80007540: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 5, a7: 10, a0-a5: 0 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80007590: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 6, a7: 10, a0-a5: 0 0 0 0 0 0 | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff800075e0: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 0, a7: 52464e43, a0-a5: 1 1 0 0 0 0 | |
[SBI] remote_fence_i HartMask { inner: BitVector { hart_mask: 1, hart_mask_base: 1 } } | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006e64: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 0, a7: 52464e43, a0-a5: 1 1 0 0 0 0 | |
[SBI] remote_fence_i HartMask { inner: BitVector { hart_mask: 1, hart_mask_base: 1 } } | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006e64: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 0, a7: 52464e43, a0-a5: 1 1 0 0 0 0 | |
[SBI] remote_fence_i HartMask { inner: BitVector { hart_mask: 1, hart_mask_base: 1 } } | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006e64: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 0, a7: 52464e43, a0-a5: 1 1 0 0 0 0 | |
[SBI] remote_fence_i HartMask { inner: BitVector { hart_mask: 1, hart_mask_base: 1 } } | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006e64: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 0, a7: 52464e43, a0-a5: 1 1 0 0 0 0 | |
[SBI] remote_fence_i HartMask { inner: BitVector { hart_mask: 1, hart_mask_base: 1 } } | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006e64: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 0, a7: 52464e43, a0-a5: 1 1 0 0 0 0 | |
[SBI] remote_fence_i HartMask { inner: BitVector { hart_mask: 1, hart_mask_base: 1 } } | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006e64: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 0, a7: 52464e43, a0-a5: 1 1 0 0 0 0 | |
[SBI] remote_fence_i HartMask { inner: BitVector { hart_mask: 1, hart_mask_base: 1 } } | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006e64: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 0, a7: 52464e43, a0-a5: 1 1 0 0 0 0 | |
[SBI] remote_fence_i HartMask { inner: BitVector { hart_mask: 1, hart_mask_base: 1 } } | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006e64: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 0, a7: 52464e43, a0-a5: 1 1 0 0 0 0 | |
[SBI] remote_fence_i HartMask { inner: BitVector { hart_mask: 1, hart_mask_base: 1 } } | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006e64: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 0, a7: 52464e43, a0-a5: 1 1 0 0 0 0 | |
[SBI] remote_fence_i HartMask { inner: BitVector { hart_mask: 1, hart_mask_base: 1 } } | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006e64: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 0, a7: 52464e43, a0-a5: 1 1 0 0 0 0 | |
[SBI] remote_fence_i HartMask { inner: BitVector { hart_mask: 1, hart_mask_base: 1 } } | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006e64: Exception(SupervisorEnvCall) | |
[SBI] ecall a6: 0, a7: 52464e43, a0-a5: 1 1 0 0 0 0 | |
[SBI] remote_fence_i HartMask { inner: BitVector { hart_mask: 1, hart_mask_base: 1 } } | |
[SBI] DEBUG: instruction 0x00000000 at 0xffffffff80006e64: Exception(SupervisorEnvCall) |
Author
orangecms
commented
Jun 24, 2023
•
oreboot 🦀 bt0
boot mode: UART
RISC-V arch 8000000000000007
RISC-V core vendor: SiFive (0x0489)
RISC-V implementation: 21G1.02.00 / llama.02.00-general (0x04210427)
RISC-V hart ID 1
apb0 80000000
apb0 80000000
DRAM: 4G: false 2G: false
[DRAM] init start
[DRAM] set clk to OSC div2
[DRAM] set PLL frequency
PLL1: 00b02603 55e00000 00c7a601
PLL1: 042ba603 41e00000 00c7a60c
[DRAM] set clk to PLL1 div2
[DRAM] asserts
[DRAM] train
[DRAM] util
[DRAM] start
[DRAM] set clk to OSC div2
[DRAM] boot
[DRAM] OMC init
[DRAM] OMC init train
[DRAM] OMC init PHY
[DRAM] OMC init done
[DRAM] init done
Copy 64k main stage to DRAM... ⏳
................................................................ done.
Jump to main stage...
oreboot 🦀 main
Copy DTB to DRAM... ⏳
. done.
Decompress payload... ⏳
DTB looks fine, yay!
Decompress 11031676 bytes from 0x21400004 to 0x40200000, reserved 25165824 bytes
Success, decompressed 19789688 bytes :)
Payload looks like Linux Image, yay!
DTB looks fine, yay!
Payload extracted.
Release non-boot harts =====
[PaSByIlo] adti @m4er00 i00n0it00
[SBI] reset init
[SBI] ipi init
[SBI] rfence init
[SBI] set mtvec: 40000044
[SBI] delegate interrupts and exceptions
RustSBI version 0.3.2
.______ __ __ _______.___________. _______..______ __
| _ \ | | | | / | | / || _ \ | |
| |_) | | | | | | (----`---| |----`| (----`| |_) || |
| / | | | | \ \ | | \ \ | _ < | |
| |\ \----.| `--' |.----) | | | .----) | | |_) || |
| _| `._____| \______/ |_______/ |__| |_______/ |______/ |__|
Platform Name: StarFive VisionFive 2
Implementation: oreboot version 0.1.0
[SBI] misa: RV64ABCDFIMSUX
[SBI] mideleg: ssoft stimer sext (0x000222)
[SBI] medeleg: ima uecall ipage lpage spage (0x00b101)
[SBI] mie: msoft ssoft mtimer stimer sext (0x0002aa)
[SBI] PMP0: 0x00000000 - 0x40000000 (A,R,W,X)
[SBI] PMP1: 0x40000000 - 0x40200000 (A,R,W,X)
[SBI] PMP2: 0x40200000 - 0xffffff000 (A,R,W,X)
[SBI] PMP8: 0x00000000 - 0x00000000 (A,R,W,X)
[SBI] Enter supervisor on hart 1 at 40200000 with DTB from 41a00000
[ 0.000000] Linux version 6.3.0-rc3-cyrevolt-g853b23029090 (dama@orangelemp) (riscv64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #20 SMP Sat Jun 17 19:00:05 CEST 2023
[ 0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x40200000
[ 0.000000] Machine model: StarFive VisionFive 2 v1.3B
[ 0.000000] earlycon: uart0 at MMIO32 0x0000000010000000 (options '115200n8')
[ 0.000000] printk: bootconsole [uart0] enabled
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000040200000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000017fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040200000-0x000000017fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040200000-0x000000017fffffff]
[ 0.000000] On node 0, zone DMA32: 512 pages in unavailable ranges
[ 0.000000] SBI specification v1.0 detected
[ 0.000000] SBI implementation ID=0x4 Version=0x302
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] SBI SRST extension detected
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] riscv: base ISA extensions acdfim
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] percpu: Embedded 17 pages/cpu s32616 r8192 d28824 u69632
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1289736
[ 0.000000] Kernel command line: earlycon console=ttyS0
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] fixmap : 0xffffffc6fee00000 - 0xffffffc6ff000000 (2048 kB)
[ 0.000000] pci io : 0xffffffc6ff000000 - 0xffffffc700000000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffc700000000 - 0xffffffc800000000 (4096 MB)
[ 0.000000] vmalloc : 0xffffffc800000000 - 0xffffffd800000000 ( 64 GB)
[ 0.000000] modules : 0xffffffff01344000 - 0xffffffff80000000 (2028 MB)
[ 0.000000] lowmem : 0xffffffd800000000 - 0xffffffd93fe00000 (5118 MB)
[ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB)
[ 0.000000] Memory: 5042852K/5240832K available (5531K kernel code, 4978K rwdata, 2048K rodata, 6155K init, 396K bss, 197980K 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=64 to nr_cpu_ids=4.
[ 0.000000] rcu: RCU debug extended QS entry/exit.
[ 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] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] riscv-intc: unable to find hart id for /cpus/cpu@0/interrupt-controller
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] plic: interrupt-controller@c000000: mapped 136 interrupts with 4 handlers for 9 contexts.
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] riscv-timer: riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [1]
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 881590404240 ns
[ 0.000001] sched_clock: 64 bits at 4MHz, resolution 250ns, wraps every 2199023255500ns
[ 0.009193] Console: colour dummy d
oreboot 🦀 bt0
boot mode: UART
RISC-V arch 8000000000000007
RISC-V core vendor: SiFive (0x0489)
RISC-V implementation: 21G1.02.00 / llama.02.00-general (0x04210427)
RISC-V hart ID 1
apb0 80000000
apb0 80000000
DRAM: 4G: false 2G: false
[DRAM] init start
[DRAM] set clk to OSC div2
[DRAM] set PLL frequency
PLL1: 00b02603 55e00000 00c7a601
PLL1: 042ba603 41e00000 00c7a60c
[DRAM] set clk to PLL1 div2
[DRAM] asserts
[DRAM] train
[DRAM] util
[DRAM] start
[DRAM] set clk to OSC div2
[DRAM] boot
[DRAM] OMC init
[DRAM] OMC init train
[DRAM] OMC init PHY
[DRAM] OMC init done
[DRAM] init done
Copy 64k main stage to DRAM... ⏳
................................................................ done.
Jump to main stage...
Payload @40000000
oreboot 🦀 main
Copy DTB to DRAM... ⏳
. done.
DTB looks fine, yay!
Decompress payload... ⏳
Decompress 11031676 bytes from 0x21400004 to 0x40200000, reserved 25165824 bytes
Success, decompressed 19789688 bytes :)
Payload extracted.
Payload looks like Linux Image, yay!
DTB looks fine, yay!
Release non-boot harts =====
[SBI] timer init
[SBI] reset init
[SBI] ipi init
[SBI] rfence init
[SBI] set mtvec: 4000003c
[SBI] delegate interrupts and exceptions
RustSBI version 0.3.2
.______ __ __ _______.___________. _______..______ __
| _ \ | | | | / | | / || _ \ | |
| |_) | | | | | | (----`---| |----`| (----`| |_) || |
| / | | | | \ \ | | \ \ | _ < | |
| |\ \----.| `--' |.----) | | | .----) | | |_) || |
| _| `._____| \______/ |_______/ |__| |_______/ |______/ |__|
Platform Name: StarFive VisionFive 2
Implementation: oreboot version 0.1.0
[SBI] misa: RV64ABCDFIMSUX
[SBI] mideleg: ssoft stimer sext (0x000222)
[SBI] medeleg: ima uecall ipage lpage spage (0x00b101)
[SBI] mie: msoft ssoft stimer sext (0x00022a)
[SBI] PMP0: 0x00000000 - 0x40000000 (A,R,W,X)
[SBI] PMP1: 0x40000000 - 0x40200000 (A,R,W,X)
[SBI] PMP2: 0x40200000 - 0xffffff000 (A,R,W,X)
[SBI] PMP8: 0x00000000 - 0x00000000 (A,R,W,X)
[SBI] Enter supervisor on hart 1 at 40200000 with DTB from 41a00000
[ 0.000000] Linux version 6.3.0-rc3-cyrevolt-g853b23029090 (dama@orangelemp) (riscv64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #20 SMP Sat Jun 17 19:00:05 CEST 2023
[ 0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x40200000
[ 0.000000] Machine model: StarFive VisionFive 2 v1.3B
[ 0.000000] earlycon: uart0 at MMIO32 0x0000000010000000 (options '115200n8')
[ 0.000000] printk: bootconsole [uart0] enabled
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000040200000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000017fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040200000-0x000000017fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040200000-0x000000017fffffff]
[ 0.000000] On node 0, zone DMA32: 512 pages in unavailable ranges
[ 0.000000] SBI specification v1.0 detected
[ 0.000000] SBI implementation ID=0x4 Version=0x302
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] SBI SRST extension detected
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] riscv: base ISA extensions acdfim
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] percpu: Embedded 17 pages/cpu s32616 r8192 d28824 u69632
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1289736
[ 0.000000] Kernel command line: earlycon console=ttyS0
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] fixmap : 0xffffffc6fee00000 - 0xffffffc6ff000000 (2048 kB)
[ 0.000000] pci io : 0xffffffc6ff000000 - 0xffffffc700000000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffc700000000 - 0xffffffc800000000 (4096 MB)
[ 0.000000] vmalloc : 0xffffffc800000000 - 0xffffffd800000000 ( 64 GB)
[ 0.000000] modules : 0xffffffff01344000 - 0xffffffff80000000 (2028 MB)
[ 0.000000] lowmem : 0xffffffd800000000 - 0xffffffd93fe00000 (5118 MB)
[ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB)
[ 0.000000] Memory: 5042852K/5240832K available (5531K kernel code, 4978K rwdata, 2048K rodata, 6155K init, 396K bss, 197980K 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=64 to nr_cpu_ids=4.
[ 0.000000] rcu: RCU debug extended QS entry/exit.
[ 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] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] riscv-intc: unable to find hart id for /cpus/cpu@0/interrupt-controller
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] plic: interrupt-controller@c000000: mapped 136 interrupts with 4 handlers for 9 contexts.
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] riscv-timer: riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [1]
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 881590404240 ns
[ 0.000001] sched_clock: 64 bits at 4MHz, resolution 250ns, wraps every 2199023255500ns
[ 0.009195] Console: colour dummy device 80x25
[ 0.014138] Calibrating delay loop (skipped), value calculated using timer frequency.. 8.00 BogoMIPS (lpj=16000)
[ 0.025316] pid_max: default: 32768 minimum: 301
[ 0.030921] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.039636] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.050365] CPU node for /cpus/cpu@0 exist but the possible cpu range is :0-3
[ 0.060400] riscv: ELF compat mode unsupported
[ 0.060421] ASID allocator disabled (0 bits)
[ 0.070262] rcu: Hierarchical SRCU implementation.
[ 0.075526] rcu: Max phase no-delay instances is 1000.
[ 0.082963] smp: Bringing up secondary CPUs ...
[ 0.089203] CPU1: failed to start
[ 0.094292] CPU2: failed to start
[ 0.099352] CPU3: failed to start
[ 0.103096] smp: Brought up 1 node, 1 CPU
[ 0.109975] devtmpfs: initialized
[ 0.119618] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.130342] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.138241] pinctrl core: initialized pinctrl subsystem
[ 0.145843] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.152699] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 0.160640] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.170082] cpuidle: using governor menu
[ 0.177584] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@c000000
[ 0.197866] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.205325] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.213505] iommu: Default domain type: Translated
[ 0.218867] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.227075] vgaarb: loaded
[ 0.230579] clocksource: Switched to clocksource riscv_clocksource
[ 0.253690] NET: Registered PF_INET protocol family
[ 0.262351] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.283361] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[ 0.292964] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.301504] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.312229] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[ 0.341587] TCP: Hash tables configured (established 65536 bind 65536)
[ 0.349259] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.357218] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.365898] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.372177] PCI: CLS 0 bytes, default 64
[ 1.797559] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[ 1.805518] 9p: Installing v9fs 9p2000 file system support
[ 1.855578] NET: Registered PF_ALG protocol family
[ 1.860899] io scheduler mq-deadline registered
[ 1.865887] io scheduler kyber registered
[ 1.878788] CCACHE: DataError @ 0x00000000.0801FFFC
[ 1.884248] CCACHE: DataFail @ 0x00000000.0801FFE4
[ 1.889638] CCACHE: 8 banks, 16 ways, sets/bank=256, bytes/block=64
[ 1.896521] CCACHE: Index of the largest way enabled: 0
[ 1.903956] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.912911] SuperH (H)SCI(F) driver initialized
[ 1.930546] loop: module loaded
[ 1.939502] starfive-dwmac 16040000.ethernet: User ID: 0x41, Synopsys ID: 0x52
[ 1.947448] starfive-dwmac 16040000.ethernet: DWMAC4/5
[ 1.953181] starfive-dwmac 16040000.ethernet: DMA HW capability register supported
[ 1.961487] starfive-dwmac 16040000.ethernet: RX Checksum Offload Engine supported
[ 1.969791] starfive-dwmac 16040000.ethernet: Wake-Up On Lan supported
[ 1.976952] starfive-dwmac 16040000.ethernet: TSO supported
[ 1.983063] starfive-dwmac 16040000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 1.991965] starfive-dwmac 16040000.ethernet: device MAC address 9e:2e:0f:f2:0e:8b
[ 2.000275] starfive-dwmac 16040000.ethernet: Enabled L3L4 Flow TC (entries=1)
[ 2.008202] starfive-dwmac 16040000.ethernet: Enabled RFS Flow TC (entries=10)
[ 2.016127] starfive-dwmac 16040000.ethernet: TSO feature enabled
[ 2.022810] starfive-dwmac 16040000.ethernet: Using 40 bits DMA width
gdb over serial?
Well, it's panicking...
oreboot 🦀 bt0
boot mode: UART
RISC-V arch 8000000000000007
RISC-V core vendor: SiFive (0x0489)
RISC-V implementation: 21G1.02.00 / llama.02.00-general (0x04210427)
RISC-V hart ID 1
apb0 80000000
apb0 80000000
DRAM: 4G: false 2G: false
[DRAM] init start
[DRAM] set clk to OSC div2
[DRAM] set PLL frequency
PLL1: 00b02603 55e00000 00c7a601
PLL1: 042ba603 41e00000 00c7a60c
[DRAM] set clk to PLL1 div2
[DRAM] asserts
[DRAM] train
[DRAM] util
[DRAM] start
[DRAM] set clk to OSC div2
[DRAM] boot
[DRAM] OMC init
[DRAM] OMC init train
[DRAM] OMC init PHY
[DRAM] OMC init done
[DRAM] init done
Copy 64k main stage to DRAM... ⏳
................................................................ done.
Jump to main stage...
Payload @40000000
oreboot 🦀 main
Copy DTB to DRAM... ⏳
. done.
DTB looks fine, yay!
Decompress payload... ⏳
Decompress 11088070 bytes from 0x21400004 to 0x80200000, reserved 25165824 bytes
Success, decompressed 19794808 bytes :)
Payload extracted.
Payload looks like Linux Image, yay!
DTB looks fine, yay!
[SBI] ipi init
[SBI] rfence init
[SBI] timer init
[SBI] reset init
[SBI] set mtvec: 4000003c
[SBI] delegate interrupts and exceptions
RustSBI version 0.3.2
.______ __ __ _______.___________. _______..______ __
| _ \ | | | | / | | / || _ \ | |
| |_) | | | | | | (----`---| |----`| (----`| |_) || |
| / | | | | \ \ | | \ \ | _ < | |
| |\ \----.| `--' |.----) | | | .----) | | |_) || |
| _| `._____| \______/ |_______/ |__| |_______/ |______/ |__|
Platform Name: StarFive VisionFive 2
Implementation: oreboot version 0.1.0
[SBI] misa: RV64ABCDFIMSUX
[SBI] mideleg: ssoft stimer sext (0x000222)
[SBI] medeleg: ima bkpt uecall ipage lpage spage (0x00b109)
[SBI] mie: msoft ssoft stimer sext (0x00022a)
[SBI] PMP0: 0x00000000 - 0x40000000 (A,R,W,X)
[SBI] PMP1: 0x40000000 - 0x40200000 (A,R,W,X)
[SBI] PMP2: 0x40200000 - 0xffffff000 (A,R,W,X)
[SBI] PMP8: 0x00000000 - 0x00000000 (A,R,W,X)
[SBI] Enter supervisor on hart 1 at 80200000 with DTB from 81a00000
[ 0.000000] Linux version 6.3.0-rc3-cyrevolt-g5dc5346df412-dirty (dama@orangelemp) (riscv64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #28 SMP Sun Jul 2 22:38:51 CEST 2023
[ 0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x80200000
[ 0.000000] Machine model: StarFive VisionFive 2 v1.3B
[ 0.000000] earlycon: uart0 at MMIO32 0x0000000010000000 (options '115200n8')
[ 0.000000] printk: bootconsole [uart0] enabled
[ 0.000000] printk: debug: ignoring loglevel setting.
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000080200000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000013fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080200000-0x000000013fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x000000013fffffff]
[ 0.000000] On node 0, zone DMA32: 512 pages in unavailable ranges
[ 0.000000] SBI specification v1.0 detected
[ 0.000000] SBI implementation ID=0x4 Version=0x302
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] SBI SRST extension detected
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] riscv: base ISA extensions acdfim
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] percpu: Embedded 17 pages/cpu s32680 r8192 d28760 u69632
[ 0.000000] pcpu-alloc: s32680 r8192 d28760 u69632 alloc=17*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 773640
[ 0.000000] Kernel command line: earlycon console=ttyS0 loglevel=8 debug rootwait ignore_loglevel quiet kgdbwait kgdboc=ttyS0
[ 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: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] fixmap : 0xffffffc6fee00000 - 0xffffffc6ff000000 (2048 kB)
[ 0.000000] pci io : 0xffffffc6ff000000 - 0xffffffc700000000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffc700000000 - 0xffffffc800000000 (4096 MB)
[ 0.000000] vmalloc : 0xffffffc800000000 - 0xffffffd800000000 ( 64 GB)
[ 0.000000] modules : 0xffffffff01350000 - 0xffffffff80000000 (2028 MB)
[ 0.000000] lowmem : 0xffffffd800000000 - 0xffffffd8bfe00000 (3070 MB)
[ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB)
[ 0.000000] Memory: 2984684K/3143680K available (5594K kernel code, 4983K rwdata, 2048K rodata, 6155K init, 443K bss, 158996K 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=64 to nr_cpu_ids=4.
[ 0.000000] rcu: RCU debug extended QS entry/exit.
[ 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] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] riscv-intc: unable to find hart id for /cpus/cpu@0/interrupt-controller
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] plic: interrupt-controller@c000000: mapped 136 interrupts with 4 handlers for 9 contexts.
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] riscv-timer: riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [1]
[ 0.000000] clocksource: __clocksource_update_freq_scale
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 881590404240 ns
[ 0.000001] sched_clock: 64 bits at 4MHz, resolution 250ns, wraps every 2199023255500ns
[ 0.009197] Console: colour dummy device 80x25
[ 0.014143] Calibrating delay loop (skipped), value calculated using timer frequency.. 8.00 BogoMIPS (lpj=16000)
[ 0.025321] pid_max: default: 32768 minimum: 301
[ 0.030843] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.039132] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.049690] CPU node for /cpus/cpu@0 exist but the possible cpu range is :0-3
[ 0.059525] riscv: ELF compat mode unsupported
[ 0.059543] ASID allocator disabled (0 bits)
[ 0.069368] rcu: Hierarchical SRCU implementation.
[ 0.074629] rcu: Max phase no-delay instances is 1000.
[ 0.082016] smp: Bringing up secondary CPUs ...
[ 0.088217] CPU1: failed to start
[ 0.093255] CPU2: failed to start
[ 0.098165] CPU3: failed to start
[ 0.101904] smp: Brought up 1 node, 1 CPU
[ 0.107477] do_basic_setup
[ 0.111019] devtmpfs: initialized
[ 0.120938] clocksource: __clocksource_update_freq_scale
[ 0.126775] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.137481] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.145343] pinctrl core: initialized pinctrl subsystem
[ 0.152861] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.159746] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.167573] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.176897] cpuidle: using governor menu
[ 0.184469] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@c000000
[ 0.205063] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.212520] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.220629] iommu: Default domain type: Translated
[ 0.225991] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.234213] vgaarb: loaded
[ 0.237790] clocksource: Switched to clocksource riscv_clocksource
[ 0.260116] NET: Registered PF_INET protocol family
[ 0.267194] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.282006] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.291498] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.300029] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.309712] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 0.328403] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.336077] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.343695] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.352005] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.358276] PCI: CLS 0 bytes, default 64
[ 1.809806] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 1.817722] 9p: Installing v9fs 9p2000 file system support
[ 1.862470] NET: Registered PF_ALG protocol family
[ 1.867781] io scheduler mq-deadline registered
[ 1.872764] io scheduler kyber registered
[ 1.885638] CCACHE: DataError @ 0x00000000.0801FFFC
[ 1.891102] CCACHE: DataFail @ 0x00000000.0801FFEC
[ 1.896507] CCACHE: 8 banks, 16 ways, sets/bank=256, bytes/block=64
[ 1.903388] CCACHE: Index of the largest way enabled: 0
[ 1.910806] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.919700] SuperH (H)SCI(F) driver initialized
[ 1.925262] KGDB: Registered I/O driver kgdboc
[ 1.930195] KGDB: Waiting for connection from remote gdb...
[ 1.936391] Unable to handle kernel paging request at virtual address ffffffc6ff000001
[ 1.945085] Oops [#1]
[ 1.947575] Modules linked in:
[ 1.950930] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.3.0-rc3-cyrevolt-g5dc5346df412-dirty #28
[ 1.960576] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[ 1.966689] epc : io_serial_in+0x4c/0x6c
[ 1.971009] ra : serial8250_put_poll_char+0x2e/0x92
[ 1.976463] epc : ffffffff8035629c ra : ffffffff80356a20 sp : ffffffc80400b4a0
[ 1.984390] gp : ffffffff812e0020 tp : ffffffd87fe90000 t0 : 0000000000000000
[ 1.992316] t1 : 0000000000000037 t2 : 0000000000000000 s0 : ffffffc80400b4b0
[ 2.000242] s1 : ffffffff8133fe38 a0 : ffffffc6ff000001 a1 : 0000000000000001
[ 2.008169] a2 : 0000000000000000 a3 : ffffffffff000000 a4 : ffffffc800000000
[ 2.016095] a5 : 0000000100000000 a6 : 0000000000000000 a7 : 0000000000000063
[ 2.024022] s2 : ffffffff8133fe38 s3 : 000000000000000d s4 : ffffffff812e1958
[ 2.031947] s5 : 0000000000000032 s6 : ffffffff812dfb00 s7 : ffffffff812e197c
[ 2.039874] s8 : 0000000000000032 s9 : 0000000000000000 s10: ffffffff812dfb08
[ 2.047800] s11: ffffffffffffffff t3 : 0000000000000040 t4 : 00000000ffffffff
[ 2.055726] t5 : ffffffff812e19f4 t6 : ffffffff8131e90a
[ 2.061554] status: 0000000200000100 badaddr: ffffffc6ff000001 cause: 000000000000000d
[ 2.070244] [<ffffffff8035629c>] io_serial_in+0x4c/0x6c
[ 2.075992] Code: a031 57fd 17da 973e 4785 17ca 8533 00d5 953a 8d1d (0503) 0005
[ 2.084143] KGDB: re-enter exception: ALL breakpoints killed
[ 2.090356] ---[ end trace 0000000000000000 ]---
[ 2.095420] note: swapper/0[1] exited with irqs disabled
[ 2.101247] note: swapper/0[1] exited with preempt_count 4
[ 2.107270] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009
[ 2.115680] Unable to handle kernel paging request at virtual address ffffffc6ff000001
[ 2.124370] Oops [#2]
[ 2.126858] Modules linked in:
[ 2.130209] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G D 6.3.0-rc3-cyrevolt-g5dc5346df412-dirty #28
[ 2.141474] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[ 2.147585] epc : io_serial_in+0x4c/0x6c
[ 2.151895] ra : serial8250_put_poll_char+0x2e/0x92
[ 2.157346] epc : ffffffff8035629c ra : ffffffff80356a20 sp : ffffffc80400af80
[ 2.165271] gp : ffffffff812e0020 tp : ffffffd87fe90000 t0 : 0000000000000000
[ 2.173196] t1 : 0000000000000037 t2 : 0000000000000000 s0 : ffffffc80400af90
[ 2.181120] s1 : ffffffff8133fe38 a0 : ffffffc6ff000001 a1 : 0000000000000001
[ 2.189043] a2 : 0000000000000000 a3 : ffffffffff000000 a4 : ffffffc800000000
[ 2.196967] a5 : 0000000100000000 a6 : ffff0a00ffffff04 a7 : 0000000000000063
[ 2.204891] s2 : ffffffff8133fe38 s3 : 0000000000000050 s4 : ffffffff812e1958
[ 2.212814] s5 : 0000000000000033 s6 : ffffffff812dfb00 s7 : ffffffff812e197c
[ 2.220738] s8 : 0000000000000033 s9 : 0000000000000000 s10: ffffffff812dfb08
[ 2.228661] s11: 0000000000000000 t3 : ffffffff812f2e0f t4 : ffffffff812f2e0f
[ 2.236586] t5 : ffffffff812f2e10 t6 : ffffffff8131e90b
[ 2.242413] status: 0000000200000100 badaddr: ffffffc6ff000001 cause: 000000000000000d
[ 2.251103] [<ffffffff8035629c>] io_serial_in+0x4c/0x6c
[ 2.256849] Code: a031 57fd 17da 973e 4785 17ca 8533 00d5 953a 8d1d (0503) 0005
[ 2.265002] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G D 6.3.0-rc3-cyrevolt-g5dc5346df412-dirty #28
[ 2.276265] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[ 2.282376] Call Trace:
[ 2.285054] [<ffffffff800044f6>] dump_backtrace+0x1c/0x24
[ 2.290993] [<ffffffff805657aa>] show_stack+0x2c/0x38
[ 2.296545] [<ffffffff8056ef6e>] dump_stack_lvl+0x3c/0x54
[ 2.302477] [<ffffffff8056ef9a>] dump_stack+0x14/0x1c
[ 2.308025] [<ffffffff800b4ccc>] kgdb_reenter_check+0xd4/0x100
[ 2.314442] [<ffffffff800b4d80>] kgdb_handle_exception+0x88/0xec
[ 2.321043] [<ffffffff80007b24>] kgdb_riscv_notify+0x86/0xb4
[ 2.327265] [<ffffffff800307ae>] notify_die+0x66/0xa2
[ 2.332821] [<ffffffff80003c44>] die+0x10c/0x1f8
[ 2.337895] [<ffffffff80009a72>] die_kernel_fault+0x4a/0x50
[ 2.344016] [<ffffffff80009a9c>] vmalloc_fault.constprop.0+0x0/0x168
[ 2.350994] [<ffffffff80009e26>] do_page_fault+0x222/0x396
[ 2.357019] [<ffffffff800025a4>] ret_from_exception+0x0/0x16
[ 2.363237] [<ffffffff8035629c>] io_serial_in+0x4c/0x6c
[ 2.368980] Kernel panic - not syncing: Recursive entry to debugger
[ 2.375858] ---[ end Kernel panic - not syncing: Recursive entry to debugger ]---
kgdb patch not helping here
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment