Skip to content

Boot failed using the latest branch of LiteX with Vexiiriscv #2429

@looongbin

Description

@looongbin

Hi,

When using the latest branches of LiteX and VexiiRiscv to boot Linux, the kernel gets stuck during the boot process. The log is shown below:

[    0.017769] Console: colour dummy device 80x25
[    0.021388] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
[    0.031399] pid_max: default: 32768 minimum: 301
[    0.040704] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.047326] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.095378] riscv: ELF compat mode unsupported
[    0.095537] ASID allocator disabled (0 bits)
[    0.105637] rcu: Hierarchical SRCU implementation.
[    0.109150] rcu:     Max phase no-delay instances is 1000.
[    0.123364] EFI services will not be available.
[    0.129121] smp: Bringing up secondary CPUs ...
[    0.132499] smp: Brought up 1 node, 1 CPU
[    0.137727] Memory: 1976548K/2097152K available (11862K kernel code, 5902K rwdata, 6144K rodata, 2435K init, 388K bss, 117356K reserved, 0K cma-reserved)
[    0.159327] devtmpfs: initialized
[    0.185774] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.194504] posixtimers hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.201841] futex hash table entries: 256 (16384 bytes on 1 NUMA nodes, total 16 KiB, linear).
[    0.221635] DMI not present or invalid.
[    0.233095] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.242689] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.249808] audit: initializing netlink subsys (disabled)
[    0.263654] thermal_sys: Registered thermal governor 'step_wise'
[    0.264423] audit: type=2000 audit(0.000:1): state=initialized audit_enabled=0 res=1
[    0.277350] cpuidle: using governor menu
[    0.284440] SBI misaligned access exception delegation ok

**The system stops at this point and no further output is produced.**

My build command is:

MyBoard.py --build --update-repo latest --cpu-type vexiiriscv --cpu-variant debian --with-coherent-dma --no-netlist-cache --with-sdcard --libc-mode full

Has anyone encountered the same issue or knows how to resolve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions