litex-hub / linux-on-litex-rocket

Run 64-bit Linux on LiteX + RocketChip
BSD 2-Clause "Simplified" License
189 stars 20 forks source link

Booting a lightweight image of linux on the litex simulator #43

Closed sramichetty20019 closed 4 months ago

sramichetty20019 commented 4 months ago

Hi everyone, i have run the Litex simulator with Linux image as directed in the repository i am using verilator based simulation, however i want to speedup the boot process and the time it takes to run commands on the bootup image. Is it possible to use any other linux distribution to do this, or else do you guys any tips for me to speed up the process , kindly let me know

gsomlo commented 4 months ago

A few years back, I remember booting just the kernel with a busybox based initrd in sim/verilator with rocket, and it took somewhere around 6-8 hours to complete.

Running an actual linux distro on top of sim/verilator is not likely to be a useful exercise... :)