*** tpb has joined #litex | 00:00 | |
xobs | mithro: I really need to get a dev board that I can actually use... | 00:13 |
---|---|---|
*** rohitksingh has quit IRC | 00:15 | |
*** sajattack has joined #litex | 00:19 | |
futarisIRCcloud | xobs: What dev board(s) do you have? | 00:46 |
xobs | futarisIRCcloud: fomu. I've also got a HaD proto2 badge that chews through batteries. Guess I've also got a Betrusted. | 00:50 |
*** afc has joined #litex | 00:57 | |
*** afc is now known as Guest91015 | 00:57 | |
*** Guest91015 has quit IRC | 00:58 | |
*** entropico has joined #litex | 01:22 | |
*** entropico has quit IRC | 01:25 | |
xobs | Well I managed to strip a bunch of stuff out of the litex bios, so now I have it fitting into the 8 kB of ROM we have. Now to try and replicate mithro's issue. | 01:40 |
xobs | mithro: Yeah, I am seeing that writing into "uart_rxtx" isn't causing any data to appear in "uart_xover_rxtx". | 01:44 |
xobs | mithro: scratch that, it looks like it's working if I actually let the build finish, and upload a gateware that actually has the crossover port in it! | 01:59 |
*** rohitksingh has joined #litex | 02:12 | |
*** freemint has quit IRC | 02:22 | |
*** freemint has joined #litex | 02:22 | |
*** entropica has joined #litex | 02:24 | |
*** rohitksingh has quit IRC | 02:34 | |
*** freeemint has joined #litex | 02:34 | |
*** freemint has quit IRC | 02:36 | |
*** atommann has joined #litex | 02:43 | |
xobs | Weird bugs. Now I'm tracking down a Windows-only panic that seems to be caused by a race condition in the terminal. | 02:48 |
xobs | No, not a race condition. It just panics if you don't capture the mouse on Windows. | 02:59 |
*** entropica has quit IRC | 03:00 | |
*** freemint has joined #litex | 03:38 | |
*** freeemint has quit IRC | 03:40 | |
*** freemint has quit IRC | 04:22 | |
*** freemint has joined #litex | 04:22 | |
*** massi_ has joined #litex | 04:23 | |
*** freemint has quit IRC | 04:24 | |
*** freemint has joined #litex | 04:24 | |
xobs | Ooh, also found an issue in Windows Terminal Preview that causes the cursor to go to (0,0) on exit. That doesn't happen in cmd.exe or powershell. I'll have to report that one. | 04:32 |
*** massi_ has quit IRC | 04:34 | |
sajattack | what is lxterm supposed to do after `[LXTERM] Starting....` when loading linux? | 04:40 |
sajattack | it seems to hang there but I can't be sure | 04:40 |
sajattack | nevermind | 04:44 |
sajattack | I didn't realize the linux image build was separate from the gateware build | 04:49 |
sajattack | could use a progress bar :P | 05:06 |
*** freemint has quit IRC | 05:38 | |
*** CarlFK has quit IRC | 05:49 | |
sajattack | ayyy lmao https://hastebin.com/ayonevufam.cs | 05:50 |
*** CarlFK has joined #litex | 05:54 | |
sajattack | how would I go about copying files to linux over uart? | 06:43 |
sajattack | perhaps easiest way would be to modify rootfs.cpio? | 06:56 |
*** _whitelogger has quit IRC | 07:08 | |
*** _whitelogger_ has joined #litex | 07:10 | |
Claude | sajattack , If you are lucky the sz and rz commands are available. That's z modem send and receive . | 07:45 |
sajattack | no dice | 07:46 |
Claude | cat then :) | 07:46 |
sajattack | what's the uart device called? | 07:46 |
sajattack | inside linux | 07:46 |
Claude | Transferring files using serial console - Krzysztof Adamski (https://k.japko.eu/serial-transfers.html) | 07:47 |
tpb | Title: Transferring files using serial console - Krzysztof Adamski (at k.japko.eu) | 07:47 |
sajattack | ok I'll try that | 07:47 |
_florent_ | andresfcalderon: your board support seems fine, can you try using lxterm instead of flterm? https://github.com/enjoy-digital/litex/blob/master/litex/tools/litex_term.py or lower the UART baudrate? | 08:05 |
tpb | Title: litex/litex_term.py at master · enjoy-digital/litex · GitHub (at github.com) | 08:05 |
_florent_ | sajattack: good that you got Linux booting, i'll review your PR | 08:07 |
sajattack | thanks | 08:08 |
sajattack | Claude: I can't get minicom to work, can I do it with picocom? | 08:09 |
Claude | don't know sajattack | 08:10 |
sajattack | thanks for the merge _florent_ | 08:16 |
sajattack | want my linux-on-litex changes too? or wait until I get vga going? | 08:16 |
_florent_ | sajattack: yes sure, you can create a PR for the linux-on-litex-vexriscv too, i just renamed SDRAMSoC to MiSTerSDRAMSoC to make it clear this is using the MiSTer SDRAM extension, so you will just need to update that | 08:34 |
_florent_ | we could merge the vga after when it will be workign | 08:34 |
sajattack | ok cool | 08:49 |
mithro | _florent_ / xobs: Have you noticed that the BIOS recently got a lot bigger? | 08:51 |
sajattack | https://github.com/litex-hub/linux-on-litex-vexriscv/pull/92 _florent_ | 09:04 |
tpb | Title: Add DE10 Nano using MiSTer SDRAM add-on board by sajattack · Pull Request #92 · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com) | 09:04 |
xobs | sajattack: I did a horrible thing by gzipping files and then doing "cat > file.b64; base64 -d file.b64 > file.gz; gunzip file.gz" | 09:06 |
xobs | mithro: In order to get it to fit into 8 kB, I used small crc16/crc32, disabled `number()` (by having it print out 'x' instead), and removed `memtest`. | 09:07 |
_florent_ | mithro: no, i haven't noticed BIOS got a lot bigger recently, but haven't been looking at the numbers, i just know that default rom size is still fine | 09:27 |
_florent_ | sajattack: thanks, merged | 09:28 |
sajattack | 🎉 | 09:30 |
*** _whitelogger_ has quit IRC | 09:40 | |
*** _whitelogger has joined #litex | 09:43 | |
tumbleweed | so, _florent_ is https://github.com/timvideos/litex-buildenv/pull/310 correct? That seems to be a change from 0x40000000 to 0xe0000000, or is that offset being applied somewhere else that I don't see? | 10:29 |
tpb | Title: shadow_base was replaced by base_address by stefanor · Pull Request #310 · timvideos/litex-buildenv · GitHub (at github.com) | 10:29 |
_florent_ | tumbleweed: yes this is fine. Note that is you are using upstream LitePCIe, you can even remove the lambda a: 1, since i added it as default decoder | 10:33 |
tumbleweed | OK, now the board is showing up with the wrong PCI device ID | 10:36 |
tumbleweed | I'm not sure where that's defined | 10:36 |
tumbleweed | yeah, I'll tidy that up | 10:37 |
_florent_ | tumbleweed: the PCI device ID is here: https://github.com/enjoy-digital/litepcie/blob/master/litepcie/software/kernel/config.h#L9 | 11:03 |
tpb | Title: litepcie/config.h at master · enjoy-digital/litepcie · GitHub (at github.com) | 11:03 |
_florent_ | do you have 7021? | 11:03 |
mithro | _florent_: PTAL at https://github.com/enjoy-digital/litex/pull/369/files -- I've rewritten it | 11:05 |
tpb | Title: WIP: Attempt at doing a better add_memory_region by mithro · Pull Request #369 · enjoy-digital/litex · GitHub (at github.com) | 11:05 |
_florent_ | mithro: thanks, the usage seems closer to what i had in mind than your previous PR and the implementation is probably better than my solution, i'll will review it and test it | 11:18 |
*** freemint has joined #litex | 11:28 | |
mithro | _florent_: I still need to actually make it work | 11:29 |
mithro | _florent_: But wasn't going to spend time making it work if it still horrified you :-P | 11:29 |
tumbleweed | _florent_: how does that get into the gateware? | 11:44 |
tumbleweed | and yes, I was getting 7021 | 11:44 |
xobs | mithro: for uart, what sort of failure are you seeing? | 11:54 |
mithro | xobs: More it wasn't working and I wasn't sure why | 11:54 |
xobs | Oh. Using a recent wishbone-tool and a recent litex? | 11:55 |
tumbleweed | _florent_: 02:00.0 Memory controller: Xilinx Corporation Device 7021 | 12:01 |
_florent_ | tumbleweed: https://github.com/enjoy-digital/litepcie/commit/061418c620cb09e32aafc202ed1379a29c49cc17 | 12:09 |
tpb | Title: software: add support for X1/X2/X4 default Xilinx Device IDs · enjoy-digital/litepcie@061418c · GitHub (at github.com) | 12:10 |
_florent_ | i changed the way LitePCIe wraps the PHY recently and it's now using 7021 for the Gen2 X1 config and 7024 for the Gen2 X4 | 12:11 |
tumbleweed | aha, thanks | 12:14 |
tumbleweed | OK, so the same driver should work with either ID | 12:14 |
tumbleweed | _florent_: the next thing I got was pci_read_config_byte(pdev, PCI_REVISION_ID, &rev_id) -> 0 | 12:15 |
tumbleweed | and if I hack around that, I get a grumpy kernel: https://paste.debian.net/1128476/ | 12:20 |
tpb | Title: debian Pastezone (at paste.debian.net) | 12:20 |
tumbleweed | from https://github.com/timvideos/litex-buildenv/tree/master/software/hdmi2pcie/kernel | 12:21 |
tpb | Title: litex-buildenv/software/hdmi2pcie/kernel at master · timvideos/litex-buildenv · GitHub (at github.com) | 12:21 |
*** freemint has quit IRC | 12:29 | |
*** freemint has joined #litex | 12:29 | |
_florent_ | tumbleweed: sorry, i would need to have a closer look to understand what is going on. BTW, i put a few days ago a new driver there: https://github.com/enjoy-digital/netv2/tree/master/software and validated it with the NeTV2 | 13:05 |
tpb | Title: netv2/software at master · enjoy-digital/netv2 · GitHub (at github.com) | 13:05 |
tumbleweed | _florent_: yeah kgugala was saying he had been hacking on that in the netv2 repo, and things were working | 13:08 |
Claude | _florent_: regarding the ddr3 on ecp5 . Indeed it seems that the ODT Pin is on a static 1 level . This means the ddr3 chip always terminates the DQ bus | 13:21 |
Claude | This could explain my heat/high current draw | 13:22 |
Claude | _florent_: yes I can confirm . I pulled odt on the ddr3 chip permanent low (odt disabled , selected by the chip mode registers ) and my current draw is 200mA less and heat much lower | 13:34 |
_florent_ | mithro, kgugala: linux booting in simulation with LiteDRAM and the DFI model pre-initialized with the binaries: https://github.com/litex-hub/linux-on-litex-vexriscv/issues/84#issuecomment-580739903 | 13:53 |
tpb | Title: sim: use SDRAM DFI model for simulation · Issue #84 · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com) | 13:53 |
_florent_ | Claude: interesting! Could you eventually create an issue on https://github.com/enjoy-digital/litedram/issues for this? | 13:55 |
tpb | Title: Issues · enjoy-digital/litedram · GitHub (at github.com) | 13:55 |
*** somlo has quit IRC | 13:59 | |
*** somlo has joined #litex | 14:02 | |
kgugala | _florent_: awesome | 14:27 |
*** freemint has quit IRC | 14:45 | |
*** freemint has joined #litex | 14:45 | |
*** somlo has quit IRC | 14:58 | |
*** somlo has joined #litex | 15:06 | |
*** CarlFK has quit IRC | 15:45 | |
*** CarlFK has joined #litex | 16:29 | |
sajattack | https://github.com/litex-hub/linux-on-litex-vexriscv/pull/92 _florent_ 🎉 | 17:00 |
tpb | Title: Add DE10 Nano using MiSTer SDRAM add-on board by sajattack · Pull Request #92 · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com) | 17:00 |
*** m4ssi has quit IRC | 17:20 | |
*** freemint has quit IRC | 17:33 | |
*** freemint has joined #litex | 17:33 | |
sajattack | lol did I fall on the paste key? | 18:32 |
sajattack | oh, it was up arrow plus enter | 18:34 |
sajattack | sorry | 18:34 |
sajattack | I guess I shouldn't go to bed with my laptop if I'm gonna be sleep-pinging ppl | 18:35 |
*** atommann has left #litex | 18:50 | |
*** rohitksingh has joined #litex | 19:08 | |
*** rohitksingh has quit IRC | 19:45 | |
*** andresfcalderon has quit IRC | 20:21 | |
*** freeemint has joined #litex | 20:34 | |
*** freemint has quit IRC | 20:35 | |
*** freeemint has quit IRC | 20:40 | |
*** freeemint has joined #litex | 20:42 | |
*** andresfcalderon has joined #litex | 20:52 | |
*** freemint has joined #litex | 20:59 | |
*** freeemint has quit IRC | 21:00 | |
scanakci | atommann: it may be related to clock frequency that you have used. You can try to use a higher clock frequency. If you check logs, I had a similar problem in the past and using a higher frequency helped me pass memory tests with vexriscv. | 21:09 |
scanakci | today I had a chance to present Litex and BlackParrot on BARC (https://bostonarch.github.io/2020/). In case you @_florent_ get some questions after today related to presentation&Litex, do not be surprised :) | 21:14 |
tpb | Title: BARC 2020 (at bostonarch.github.io) | 21:14 |
_florent_ | scanakci: ah ok thanks. Are the slides of the presentation available? | 21:33 |
scanakci | not sure if they will make them publicly available. I can share it if they do not | 21:34 |
*** freemint has quit IRC | 22:38 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!