*** tpb has joined #litex | 00:00 | |
futarisIRCcloud | mithro: I did port the changes from qemu-litex to the main qemu tree (on my github). v3.1.0-litex branch. Input doesn't work (in LiteX bios) on lm32. It was fine in qemu-litex. Haven't tested linux on openrisc. | 02:03 |
---|---|---|
futarisIRCcloud | https://github.com/futaris/qemu/tree/v3.0.50-litex - is the same as the HEAD of timvideos/qemu-litex, and behaves the same. | 09:19 |
tpb | Title: GitHub - futaris/qemu at v3.0.50-litex (at github.com) | 09:19 |
futarisIRCcloud | I probably should rebase all the commits from qemu-litex repo onto qemu, but I'm lazy and just trying to get qemu vexriscv working. | 09:25 |
futarisIRCcloud | mithro: What are the plans for patch-up at latch-up ( in the next 12-18 hours? ) | 09:25 |
futarisIRCcloud | So the qemu-system built from that tree works fine with qemu-riscv32-virt: | 10:49 |
futarisIRCcloud | ./build/arty_net_vexriscv/qemu/riscv32-softmmu/qemu-system-riscv32 -M virt -nographic -kernel buildroot/buildroot/output/images/fw_jump.elf -device loader,file=buildroot/buildroot/output/images/Image,addr=0x80400000 -append "root=/dev/vda ro" -drive file=~/github/buildroot/buildroot/output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 | 10:50 |
futarisIRCcloud | Just need to create the litex machine, and do the SBI stuff. | 10:50 |
futarisIRCcloud | https://github.com/futaris/litex-buildenv/tree/build-qemu-riscv | 10:59 |
tpb | Title: GitHub - futaris/litex-buildenv at build-qemu-riscv (at github.com) | 10:59 |
_florent_ | futarisIRCcloud: just for info, i'm working on getting linux working with vexriscv here: https://github.com/enjoy-digital/litex-linux-vexriscv | 11:08 |
tpb | Title: GitHub - enjoy-digital/litex-linux-vexriscv: Linux test with LiteX/VexRiscv (at github.com) | 11:08 |
_florent_ | futarisIRCcloud: for now, i'm just reproducing the results from VexRiscv linux simulation in with litex_sim | 11:08 |
_florent_ | then i'll do the adaptations | 11:09 |
futarisIRCcloud | Ok. Thanks for the update. IIRC, they are using a FDT compiled into the kernel, much like openrisc does. | 11:31 |
_florent_ | futarisIRCcloud: not sure since i'm providing the .dtb ;à | 11:34 |
_florent_ | ;) | 11:34 |
futarisIRCcloud | QEMU has a bunch of functions that are supposed to be used to create the FDT, depending on the arguments to qemu. It means I should be able to replace the virt / sifive peripherals with litex peripherals one by one, and still have the kernel boot up, as long as it has the necessary drivers for each of them. :) | 11:59 |
*** _florent_ has quit IRC | 12:09 | |
*** _florent_ has joined #litex | 12:11 | |
mithro | futarisIRCcloud: patchup @ LatchUp is still a week away - I'm at KiCon today | 13:09 |
mithro | futarisIRCcloud: my plan around LiteX stuff in qemu was to allow you to specify the memory base address for the csrs + irqs | 13:10 |
mithro | futarisIRCcloud: if I recall correctly I have a qemu version with everything split out into individual branches | 13:12 |
*** _florent_ has quit IRC | 13:22 | |
*** _florent__ has joined #litex | 13:22 | |
mithro | futarisIRCcloud: forwarded you some emails I sent Joel | 13:35 |
mithro | Also https://github.com/mithro/litex-devicetree | 13:36 |
tpb | Title: GitHub - mithro/litex-devicetree: Tool for generating Linux compatible DeviceTree from a LiteX csr.csv definition. (at github.com) | 13:36 |
*** futarisIRCcloud has quit IRC | 14:09 | |
*** futarisIRCcloud has joined #litex | 22:45 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!