Created
July 28, 2023 06:42
-
-
Save pdp7/1a26ebe20017a3b90c4e9c005f8178e1 to your computer and use it in GitHub Desktop.
boot fail: riscv_intc_irq -> panic
This file contains 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
[APP][E] protocol_connect failed, exit. | |
U-Boot SPL 2020.01 (Mar 05 2023 - 14:36:05 +0000) | |
FM[1] lpddr4x dualrank freq=3733 64bit dbi_off=n sdram init | |
ddr initialized, jump to uboot | |
image has no header | |
U-Boot 2020.01 (Mar 05 2023 - 14:36:05 +0000) | |
CPU: rv64imafdcvsu | |
Model: T-HEAD c910 light | |
DRAM: 8 GiB | |
C910 CPU FREQ: 750MHz | |
AHB2_CPUSYS_HCLK FREQ: 250MHz | |
AHB3_CPUSYS_PCLK FREQ: 125MHz | |
PERISYS_AHB_HCLK FREQ: 250MHz | |
PERISYS_APB_PCLK FREQ: 62MHz | |
GMAC PLL POSTDIV FREQ: 1000MHZ | |
DPU0 PLL POSTDIV FREQ: 1188MHZ | |
DPU1 PLL POSTDIV FREQ: 1188MHZ | |
MMC: sdhci@ffe7080000: 0, sd@ffe7090000: 1 | |
Loading Environment from MMC... OK | |
Error reading output register | |
Warning: cannot get lcd-en GPIO | |
LCD panel cannot be found : -121 | |
splash screen startup cost 16 ms | |
In: serial | |
Out: serial | |
Err: serial | |
Net: ethernet@ffe7070000 (eth0) using MAC address - 8a:76:cc:27:82:58 | |
eth0: ethernet@ffe7070000ethernet@ffe7070000:0 is connected to ethernet@ffe7070000. Reconnecting to ethernet@ffe7060000 | |
ethernet@ffe7060000 (eth1) using MAC address - 8a:76:cc:27:82:59 | |
, eth1: ethernet@ffe7060000 | |
Hit any key to stop autoboot: 0 | |
50340 bytes read in 1 ms (48 MiB/s) | |
15748 bytes read in 1 ms (15 MiB/s) | |
269440 bytes read in 2 ms (128.5 MiB/s) | |
8701 bytes read in 1 ms (8.3 MiB/s) | |
16498176 bytes read in 32 ms (491.7 MiB/s) | |
## Flattened Device Tree blob at 01f00000 | |
Booting using the fdt blob at 0x1f00000 | |
Using Device Tree in place at 0000000001f00000, end 0000000001f051fc | |
Starting kernel ... | |
OpenSBI v1.3-31-g0ad866067d78 | |
____ _____ ____ _____ | |
/ __ \ / ____| _ \_ _| | |
| | | |_ __ ___ _ __ | (___ | |_) || | | |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |
| |__| | |_) | __/ | | |____) | |_) || |_ | |
\____/| .__/ \___|_| |_|_____/|____/_____| | |
| | | |
|_| | |
Platform Name : Sipeed Lichee Pi 4A | |
Platform Features : medeleg | |
Platform HART Count : 4 | |
Platform IPI Device : aclint-mswi | |
Platform Timer Device : aclint-mtimer @ 3000000Hz | |
Platform Console Device : uart8250 | |
Platform HSM Device : --- | |
Platform PMU Device : --- | |
Platform Reboot Device : --- | |
Platform Shutdown Device : --- | |
Platform Suspend Device : --- | |
Platform CPPC Device : --- | |
Firmware Base : 0x0 | |
Firmware Size : 352 KB | |
Firmware RW Offset : 0x40000 | |
Firmware RW Size : 96 KB | |
Firmware Heap Offset : 0x4e000 | |
Firmware Heap Size : 40 KB (total), 2 KB (reserved), 9 KB (used), 28 KB (free) | |
Firmware Scratch Size : 4096 B (total), 760 B (used), 3336 B (free) | |
Runtime SBI Version : 1.0 | |
Domain0 Name : root | |
Domain0 Boot HART : 0 | |
Domain0 HARTs : 0*,1*,2*,3* | |
Domain0 Region00 : 0x000000ffdc008000-0x000000ffdc00bfff M: (I,R,W) S/U: () | |
Domain0 Region01 : 0x000000ffdc000000-0x000000ffdc007fff M: (I,R,W) S/U: () | |
Domain0 Region02 : 0x0000000000040000-0x000000000005ffff M: (R,W) S/U: () | |
Domain0 Region03 : 0x0000000000000000-0x000000000003ffff M: (R,X) S/U: () | |
Domain0 Region04 : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X) | |
Domain0 Next Address : 0x0000000000200000 | |
Domain0 Next Arg1 : 0x0000000001f00000 | |
Domain0 Next Mode : S-mode | |
Domain0 SysReset : yes | |
Domain0 SysSuspend : yes | |
Boot HART ID : 0 | |
Boot HART Domain : root | |
Boot HART Priv Version : v1.11 | |
Boot HART Base ISA : rv64imafdcvx | |
Boot HART ISA Extensions : zicntr,zihpm | |
Boot HART PMP Count : 0 | |
Boot HART PMP Granularity : 0 | |
Boot HART PMP Address Bits: 0 | |
Boot HART MHPM Count : 16 | |
Boot HART MIDELEG : 0x0000000000000222 | |
Boot HART MEDELEG : 0x000000000000b109 | |
[ 0.000000] Linux version 6.5.0-rc3+ (pdp7@x1) (riscv64-linux-gnu-gcc (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #103 SMP PREEMPT Thu Jul 27 23:36:39 PDT 2023 | |
[ 0.000000] Machine model: Sipeed Lichee Pi 4A | |
[ 0.000000] SBI specification v1.0 detected | |
[ 0.000000] SBI implementation ID=0x1 Version=0x10003 | |
[ 0.000000] SBI TIME extension detected | |
[ 0.000000] SBI IPI extension detected | |
[ 0.000000] SBI RFENCE extension detected | |
[ 0.000000] earlycon: uart0 at MMIO32 0x000000ffe7014000 (options '115200n8') | |
[ 0.000000] printk: bootconsole [uart0] enabled | |
[ 0.000000] efi: UEFI not found. | |
[ 0.000000] OF: reserved mem: 0x0000000000000000..0x000000000003ffff (256 KiB) nomap non-reusable mmode_resv1@0 | |
[ 0.000000] OF: reserved mem: 0x0000000000040000..0x000000000005ffff (128 KiB) nomap non-reusable mmode_resv0@40000 | |
[ 0.000000] Zone ranges: | |
[ 0.000000] DMA32 [mem 0x0000000000000000-0x00000000ffffffff] | |
[ 0.000000] Normal [mem 0x0000000100000000-0x00000001ffffffff] | |
[ 0.000000] Movable zone start for each node | |
[ 0.000000] Early memory node ranges | |
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000005ffff] | |
[ 0.000000] node 0: [mem 0x0000000000060000-0x00000001ffffffff] | |
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff] | |
[ 0.000000] SBI HSM extension detected | |
[ 0.000000] riscv: base ISA extensions acdfim | |
[ 0.000000] riscv: ELF capabilities acdfim | |
[ 0.000000] percpu: Embedded 17 pages/cpu s38184 r0 d31448 u69632 | |
[ 0.000000] Kernel command line: console=ttyS0,115200 root=PARTUUID=80a5a8e9-c744-491a-93c1-4f4194fd690a rootfstype=ext4 rootwait rw earlycon clk_ignore_unused loglevel=7 eth=8a:76:cc:27:82:58 rootrwoptions=rw,noatime rootrwreset=yes init=/lib/systemd/systemd | |
[ 0.000000] Unknown kernel command line parameters "eth=8a:76:cc:27:82:58 rootrwoptions=rw,noatime rootrwreset=yes", will be passed to user space. | |
[ 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] Built 1 zonelists, mobility grouping on. Total pages: 2064384 | |
[ 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] Memory: 8143124K/8388608K available (4825K kernel code, 5386K rwdata, 2048K rodata, 2533K init, 397K bss, 245484K reserved, 0K cma-reserved) | |
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 | |
[ 0.000000] rcu: Preemptible hierarchical RCU implementation. | |
[ 0.000000] rcu: RCU event tracing is enabled. | |
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4. | |
[ 0.000000] Trampoline variant of Tasks RCU enabled. | |
[ 0.000000] Tracing variant of Tasks RCU enabled. | |
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 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] riscv-intc: 64 local interrupts mapped | |
[ 0.000000] plic: interrupt-controller@ffd8000000: mapped 240 interrupts with 4 handlers for 8 contexts. | |
[ 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: 0x1623fa770, max_idle_ns: 881590404476 ns | |
[ 0.000001] sched_clock: 64 bits at 3000kHz, resolution 333ns, wraps every 4398046511097ns | |
[ 0.008500] Console: colour dummy device 80x25 | |
[ 0.012966] Kernel panic - not syncing: unexpected interrupt cause | |
[ 0.012976] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.5.0-rc3+ #103 | |
[ 0.012988] Hardware name: Sipeed Lichee Pi 4A (DT) | |
[ 0.012995] Call Trace: | |
[ 0.013002] [<ffffffff80004b62>] walk_stackframe+0x0/0x7e | |
[ 0.013024] [<ffffffff804b0462>] dump_stack_lvl+0x34/0x4e | |
[ 0.013045] [<ffffffff804a8240>] panic+0xee/0x288 | |
[ 0.013059] [<ffffffff802bfc70>] riscv_intc_irq+0x36/0x3a | |
[ 0.013074] [<ffffffff804b04ee>] handle_riscv_irq+0x68/0xa8 | |
[ 0.059464] ---[ end Kernel panic - not syncing: unexpected interrupt cause ]--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment