*** tpb <[email protected]> has joined #litex | 00:00 | |
cr1901 | shorne: That's pretty good uptime | 00:39 |
---|---|---|
*** Emantor <[email protected]> has quit IRC (Quit: ZNC - http://znc.in) | 01:20 | |
*** Emantor <[email protected]> has joined #litex | 01:21 | |
*** Degi_ <[email protected]> has joined #litex | 03:54 | |
*** Degi <[email protected]> has quit IRC (Ping timeout: 252 seconds) | 03:55 | |
*** Degi_ is now known as Degi | 03:55 | |
shorne | darn, now after rebuilding linux wont boot, debug time | 05:02 |
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex | 05:21 | |
jevinskie[m] | I hate that! Same thing here, left a litex project for a month and now I’m driving conflicting values to a signal | 05:34 |
shorne | ok, it boots now, I am trying to boot the rootfs off the sdcard and it doesn't seem to like that maybe, let me try something else | 06:32 |
_florent_ | shorne: nice for the uptime! Sorry to hear something broke, I don't think we made changes to the gateware in the last 2-3 months that could explain this, but if you can find a commit that still works and one that no longer works, I can look at this. | 06:42 |
_florent_ | jevinskie[m]: Can you give more information? On which core do you have a driving conflict? | 06:43 |
sajattack[m] | I don't know what I did (probably screwed up my buildroot somehow) but opensbi reports the proper 8 core imafdc and linux (/proc/cpuinfo) reports a single ima core | 06:50 |
sajattack[m] | any ideas what I broke within buildroot? | 06:51 |
sajattack[m] | it's also reporting 55MB of RAM instead of 1GB | 06:52 |
jevinskie[m] | Oh this was my own design, not in litex core. I’ve since fixed the issue :) | 07:05 |
jevinskie[m] | One thing I can report is a build error in toolchain selection when switching from cpu-type != None to None. Was confusing at first but I know the automatic build refresh is a WIP | 07:07 |
jevinskie[m] | It was a bug in my altera jtag primitive addition to jtag.py. It works with ftdi adapters but my main goal is to get it working with usb blaster since so many are built in (e.g. DECA w/o another serial port). The timing seems to be off since it is sensitive to clones (that are still valid JTAG, just slow/weird) and jtag clock. Hopefully this breakout adapter for my saleae probe will help me find the root cause | 07:24 |
jevinskie[m] | https://postimg.cc/gallery/rr2Q10b | 07:24 |
tpb | Title: Album — Postimages (at postimg.cc) | 07:24 |
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 252 seconds) | 08:14 | |
shorne | _florent_: nothing broke, I was playing with my dts and boot.json, I got it working now | 08:41 |
shorne | strange thing... my boot.json loads a boot.bin, or1k-mor1kx.dtb, rootfs.cpio.gz | 08:42 |
shorne | If I removed the rootfs.cpio.gz the boot fails | 08:42 |
shorne | if I add back a dummy file.. i.e. dummy-rootfs.cpio.gz with "dummy" in the content it works | 08:42 |
shorne | something strange with the boot loader... but I got it working | 08:42 |
shorne | 32-bit OpenRISC CPU with MMU integrated in a LiteX SoC | 08:43 |
shorne | # free -m | 08:43 |
shorne | total used free shared buff/cache available | 08:43 |
shorne | Mem: 248 4 230 0 12 237 | 08:43 |
shorne | Swap: 1907 0 1907 | 08:43 |
shorne | now I have a lot of free memory because I am not using ram disk | 08:43 |
shorne | and boot time is about 6 seconds until network service come up, no time wasted unpacking the rootfs | 08:45 |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 09:30 | |
*** TMM_ <[email protected]> has joined #litex | 09:30 | |
_florent_ | shorne: ok good | 09:42 |
_florent_ | jevinskie[m]: I'll look at the build issue with cpu_type = None, I think I also saw it this week | 09:43 |
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex | 10:56 | |
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 260 seconds) | 11:08 | |
*** Coldberg <[email protected]> has quit IRC (Ping timeout: 260 seconds) | 11:12 | |
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex | 11:35 | |
*** Coldberg <[email protected]> has joined #litex | 11:47 | |
*** Coldberg <[email protected]> has quit IRC (Ping timeout: 260 seconds) | 12:21 | |
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 252 seconds) | 12:50 | |
*** Coldberg <[email protected]> has joined #litex | 12:54 | |
*** pauluzs <pauluzs!~Pauluzs@2a02:a461:635a:1:ca8b:513b:6f51:add4> has quit IRC (Ping timeout: 256 seconds) | 13:34 | |
*** Coldberg <[email protected]> has quit IRC (Ping timeout: 260 seconds) | 13:36 | |
*** pauluzs <pauluzs!~Pauluzs@2a02:a461:635a:1:fd13:bd3:d77e:168d> has joined #litex | 13:47 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 14:50 | |
*** TMM_ <[email protected]> has joined #litex | 14:50 | |
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has joined #litex | 15:32 | |
*** futarisIRCcloud <[email protected]> has quit IRC (Quit: Connection closed for inactivity) | 15:32 | |
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has quit IRC (Ping timeout: 252 seconds) | 15:33 | |
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex | 15:35 | |
*** michalsieron <[email protected]> has joined #litex | 15:50 | |
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex | 16:04 | |
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has quit IRC (Ping timeout: 252 seconds) | 16:06 | |
*** michalsieron <[email protected]> has quit IRC (Remote host closed the connection) | 16:20 | |
Melkhior | sajattack[m]: Yes I was compiling natively - and yes I cross-compiled binutils & gcc to create the native tools. I also had to copy includes & some other stuff from a buildroot intermediate directory to the micro-sd card (which I use for boot & root) | 18:01 |
Melkhior | I use a somewhat patched GCC to test stuff (e.g. https://github.com/riscv-collab/riscv-gcc/pull/267 ) | 18:03 |
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 252 seconds) | 18:30 | |
*** Coldberg <[email protected]> has joined #litex | 18:33 | |
sajattack[m] | how big is the final compiler? I don't have external storage | 20:02 |
Melkhior | sajattack[m]: quite significant - too much to sensibly fit in a RAM-based filssystem. Plan B is to NFS-mount it, but you need Ethernet... | 21:06 |
Melkhior | There's some sort of ethernet-over-pcie available from Xilinx, but I don't think there's something similar for Litex | 21:08 |
sajattack[m] | yeah that's what I need | 21:33 |
sajattack[m] | that or some kind of breakout for the gpio on this thing to sd card | 21:34 |
sajattack[m] | or turn it into a pcie master and have it access my nvme xD | 21:49 |
sajattack[m] | directstorage | 21:49 |
*** pftbest <[email protected]> has quit IRC (Read error: Connection reset by peer) | 22:08 | |
*** pftbest <[email protected]> has joined #litex | 22:09 | |
sajattack[m] | <sajattack[m]> "I don't know what I did (..." <- I think this was because I didn't update my dtb | 22:12 |
*** pftbest <[email protected]> has quit IRC (Read error: Connection reset by peer) | 22:12 | |
*** pftbest <[email protected]> has joined #litex | 22:19 | |
sajattack[m] | is there a way to run our litex buildroot in qemu? I think it would be faster than litex sim | 23:21 |
sajattack[m] | I tried this and a few different variations of the same but just got no output | 23:22 |
sajattack[m] | ``` | 23:22 |
sajattack[m] | sudo qemu-system-riscv32 -nographic -machine virt -kernel Image -append "root=/dev/vda ro console=ttyS0" -initrd rootfs.tar.gz | 23:22 |
sajattack[m] | ``` | 23:22 |
sajattack[m] | also with -bios opensbi.bin | 23:23 |
sajattack[m] | and ttyLXU0 | 23:27 |
jevinskie[m] | I don’t think qemu will have a tty driver for the litex console, will it? Unless you build whatever uart module QEMU emulates as well. | 23:48 |
sajattack[m] | I suppose not | 23:49 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!