Skip to content

Instantly share code, notes, and snippets.

@stffrdhrn
Last active October 20, 2017 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stffrdhrn/820b530fa4fb0a2e3a305222fecde335 to your computer and use it in GitHub Desktop.
Save stffrdhrn/820b530fa4fb0a2e3a305222fecde335 to your computer and use it in GitHub Desktop.
qemu litex: unexpected IRQ trap at vector 00
Linux: commit 6aeca043ff9aed79bfddb756c0b135df442e6794 (HEAD -> litex-minimal, mithro-litex/litex-minimal)
Qemu-litex: commit d8ebfa9e0cc95cf7f7cb1a1014fb81ecc1c150df (HEAD -> master, origin/master, origin/HEAD)
H2U: commit 2c2b8342dbe6b1198661887561e5ed332edca489 (HEAD -> merge-arty-soc, shorne/merge-arty-soc)
After first keyboard keypress we get "unexpected IRQ trap at vector 00..."
....
i2c /dev entries driver
i2c-core: driver [i2c-slave-eeprom] registered
Freeing unused kernel memory: 2440K
This architecture does not have kernel memory protection.
unexpected IRQ trap at vector 00
unexpected IRQ trap at vector 00
unexpected IRQ trap at vector 00
unexpected IRQ trap at vector 00
unexpected IRQ trap at vector 00
unexpected IRQ trap at vector 00
-----------------------
Booting from network...
Local IP : 192.168.100.50
Remote IP: 192.168.100.100
Successfully downloaded 5283140 bytes from boot.bin over TFTP
Unable to download cmdline.txt over TFTP
No command line parameters found
Unable to download initrd.bin over TFTP
No initial ramdisk found
Executing booted program at 0x40000000
Compiled-in FDT at c02c0b40
Linux version 4.14.0-rc2-00007-g6aeca043ff9a (shorne@lianli.shorne-pla.net) (gcc version 5.4.0 (GCC)) #797 Sat Oct 21 07:14:51 JST 2017
CPU: OpenRISC-0 (revision 0) @50 MHz
-- dcache disabled
-- icache disabled
-- dmmu: 64 entries, 1 way(s)
-- immu: 64 entries, 1 way(s)
-- additional features:
-- power management
-- timer
setup_memory: Memory: 0x40000000-0x44000000
Setting up paging and PTEs.
map_ram: Memory: 0x40000000-0x44000000
On node 0 totalpages: 139264
free_area_init_node: node 0, pgdat c02a6c68, node_mem_map c3bb6000
Normal zone: 544 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 139264 pages, LIFO batch:15
itlb_miss_handler va:c000219c pa:4000219c (boot:c02aa1c4)
dtlb_miss_handler va:c0002000 pa:40002000 (boot:c02aa118)
OpenRISC Linux -- http://openrisc.io
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists, mobility grouping on. Total pages: 138720
Kernel command line: earlycon earlyprintk debug keep_bootcon
earlycon: litex_uart_a0 at MMIO 0xe0001000 (options '')
bootconsole [litex_uart_a0] enabled
debug: skip boot console de-registration.
PID hash table entries: 4096 (order: 1, 16384 bytes)
Dentry cache hash table entries: 262144 (order: 7, 1048576 bytes)
Inode-cache hash table entries: 131072 (order: 6, 524288 bytes)
Sorting __ex_table...
Memory: 54304K/1114112K available (2368K kernel code, 115K rwdata, 232K rodata, 2440K init, 78K bss, 1059808K reserved, 0K cma-reserved)
mem_init_done ...........................................
NR_IRQS: 32, nr_irqs: 32, preallocated irqs: 0
clocksource: openrisc_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 38225208935 ns
Console: colour dummy device 80x25
console [tty0] enabled
100.00 BogoMIPS (lpj=500000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096 (order: 1, 16384 bytes)
Mountpoint-cache hash table entries: 4096 (order: 1, 16384 bytes)
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -2, 3072 bytes)
i2c-core: driver [dummy] registered
clocksource: Switched to clocksource openrisc_timer
workingset: timestamp_bits=30 max_order=13 bucket_order=0
romfs: ROMFS MTD (C) 2007 Red Hat, Inc.
random: fast init done
io scheduler noop registered
io scheduler cfq registered (default)
io scheduler kyber registered
gpio-mockup: probe of gpio-mockup failed with error -22
litex console: port=c051c17c; port->mapbase=e0001000
e0001000.serial: ttyS0 at MMIO 0xe0001000 (irq = 2, base_baud = 0) is a litex_uart
console [ttyS0] enabled
dummy-irq: no IRQ given. Use irq=N
i2c-core: driver [at24] registered
slram: not enough parameters.
i2c /dev entries driver
i2c-core: driver [i2c-slave-eeprom] registered
Freeing unused kernel memory: 2440K
This architecture does not have kernel memory protection.
unexpected IRQ trap at vector 00
unexpected IRQ trap at vector 00
unexpected IRQ trap at vector 00
unexpected IRQ trap at vector 00
unexpected IRQ trap at vector 00
unexpected IRQ trap at vector 00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment