*** tpb has joined #timvideos | 00:00 | |
mithro | cr1901_modern: Very interested in getting the up5k micropython stuff going ASAP | 00:04 |
---|---|---|
cr1901_modern | mithro: Understood, tomorrow I will be out most of the day. I can dedicate time to work on it Wednesday | 00:05 |
mithro | cr1901_modern: Okay great! | 00:05 |
*** kolbyjack has joined #timvideos | 00:12 | |
*** kolbyjack has quit IRC | 00:14 | |
CarlFK | mithro: it works!!! # cat /proc/cpuinfo cpu: OpenRISC-0 | 00:17 |
CarlFK | mithro: qemu | 00:17 |
CarlFK | mithro: trying arty next, then from a fresh os | 00:17 |
mithro | shorne: What is the best way to expose the "info" module to linux? https://github.com/timvideos/litex-buildenv/blob/master/gateware/info/__init__.py -- it would be good to have this in /proc or /sys ? | 00:18 |
tpb | Title: litex-buildenv/__init__.py at master · timvideos/litex-buildenv · GitHub (at github.com) | 00:18 |
cr1901_modern | mithro: You want the 8k EVN board in LiteX too, right? _That's_ gonna be easy enough (famous last words) | 00:26 |
*** Ruler-GU has joined #timvideos | 00:39 | |
CarlFK | mithro: should something in this line say "htmi2usb" ? export CPU=or1k CPU_VARIANT=linux PLATFORM=arty TARGET=net FIRMWARE=firmware | 00:41 |
mithro | CarlFK: for? | 00:42 |
CarlFK | https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf#test-loading-the-gateware-and-hdmi2usb-bare-metal-firmware-via-serial | 00:42 |
tpb | Title: HowTo LCA2018 FPGA Miniconf · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 00:42 |
CarlFK | mithro: the 1% loading seemed to be the speed of the linux over serial, | 00:42 |
mithro | FIRMWARE=firmware should be the HDMI2USB firmware | 00:43 |
CarlFK | mithro: k - Ill go back and try again | 00:44 |
mithro | CarlFK: what does the size look like? | 00:44 |
*** Ruler-GU has quit IRC | 00:44 | |
mithro | [FLTERM] Uploading kernel (73524 bytes)... | 00:44 |
mithro | At some point we will rename firmware to hdmi2usb or something... | 00:45 |
CarlFK | mithro: [FLTERM] Uploading kernel (7868788 bytes)... | 00:45 |
CarlFK | does qemu and arty have the same memory? like does # free -m Mem: 244 tell me which thing this is? | 00:48 |
*** codefriarSK has joined #timvideos | 01:01 | |
*** codefriarSK has quit IRC | 01:05 | |
CarlFK | mithro: flterm --port=/dev/ttyUSB1 --kernel=build/arty_net_or1k.linux//software/firmware/firmware.bin .... Avnet/Digilent Arty Evaluation Board ** ** LEDs and switches GPIO Demonstration | 01:07 |
CarlFK | mithro: http://paste.ubuntu.com/p/hfmNS6MbbG/ (LX P=arty C=or1k.linux) juser@gator:~/tv/litex-buildenv$ make firmware-load | 01:08 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 01:08 |
cr1901_modern | I cannot describe how good it feels to delete all those branches :3 | 01:20 |
*** tac-tics has quit IRC | 01:32 | |
*** sickillUg has joined #timvideos | 01:40 | |
*** sickillUg has quit IRC | 01:42 | |
mithro | cr1901_modern: I plan to merge https://github.com/timvideos/litex-buildenv/pull/74 tonight | 02:00 |
tpb | Title: Final Touches On TinyFPGA Platform by cr1901 · Pull Request #74 · timvideos/litex-buildenv · GitHub (at github.com) | 02:00 |
cr1901_modern | mithro: Cool, thanks | 02:01 |
*** djootTf has joined #timvideos | 02:16 | |
CarlFK | Toba: which arty button is the magic reset button? | 02:19 |
*** djootTf has quit IRC | 02:24 | |
*** isomerZX has joined #timvideos | 02:29 | |
*** isomerZX has quit IRC | 02:33 | |
*** TimGremalm has joined #timvideos | 02:42 | |
mithro | CarlFK: The one which is labelled reset | 02:51 |
CarlFK | mithro: got it (now that I used a magnifier | 02:54 |
mithro | CarlFK: maybe time for new glasses? | 02:55 |
*** acieW has joined #timvideos | 02:55 | |
*** danaurmp has joined #timvideos | 03:01 | |
*** TimGremalm has left #timvideos | 03:02 | |
*** Shakeel__ has joined #timvideos | 03:04 | |
*** Shakeel__ has quit IRC | 03:11 | |
*** TriJetScudmq has joined #timvideos | 03:13 | |
*** TriJetScudmq has quit IRC | 03:16 | |
CarlFK | mithro: do I need to re-run anything if I change the env vars? like export CPU=or1k CPU_VARIANT=linux PLATFORM=arty TARGET=net FIRMWARE=firmware | 03:20 |
mithro | CarlFK: yes | 03:20 |
mithro | make firmware | 03:20 |
CarlFK | mithro: what about: source ./scripts/enter-env.sh | 03:21 |
mithro | hrm? | 03:21 |
*** passOeJc has joined #timvideos | 03:22 | |
CarlFK | im trying to figure out this bit: https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf#re-enter-litex-environment | 03:22 |
tpb | Title: HowTo LCA2018 FPGA Miniconf · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 03:22 |
CarlFK | it says: """See "Resuming Development" above.""" and then has some SETs and enter-env.sh and then the next lines are more SETSs and enter-env.sh | 03:23 |
mithro | CarlFK: by removing the $ you are making the output ambiguous | 03:24 |
*** passOeJc has quit IRC | 03:24 | |
CarlFK | mithro: hmm, I see what you mean. I'm not sure the output is actually helpful. | 03:27 |
mithro | CarlFK: It's suppose to show you what you expect to see | 03:28 |
CarlFK | mithro: I get that - but so far it hasn't helped me understand what is going on when things are broken. | 03:28 |
CarlFK | mithro: I think it only helps when things don't error, and in that case, not sure it helps. | 03:28 |
mithro | CarlFK: If things look different it should make you think to see if there is an error | 03:29 |
mithro | CarlFK: Not everything always returns an error code | 03:29 |
*** Kripton has quit IRC | 03:30 | |
mithro | CarlFK: also, you can't really copy and paste whole sections either | 03:31 |
*** Kripton has joined #timvideos | 03:31 | |
CarlFK | mithro: but I can grab a whole line, and paste it, unless it includes the $ | 03:32 |
CarlFK | mithro: I've keep paying attention to 'that' (the tails of the outputs) and figure something out - I suspect just styling it different, or even putting it in it's own ``` block will be ok | 03:37 |
mithro | CarlFK: maybe | 03:37 |
CarlFK | mithro: back to my arty problem - just booted firmware and linux on qemu. now I am at export CPU=or1k CPU_VARIANT=linux PLATFORM=arty TARGET=net FIRMWARE=firmware | 03:38 |
CarlFK | source ./scripts/enter-env.sh | 03:39 |
CarlFK | Already sourced this file. | 03:39 |
CarlFK | is that ok? | 03:39 |
mithro | CarlFK: that is fine? | 03:39 |
CarlFK | mithro: im still confused about the 2 sets of export ... enter-env.sh | 03:40 |
mithro | CarlFK: ? | 03:41 |
mithro | CarlFK: You mean "Re-enter LiteX Environment" and "Test loading the gateware and HDMI2USB bare metal firmware via serial" ? | 03:42 |
CarlFK | ye | 03:42 |
CarlFK | mithro: yes | 03:42 |
mithro | CarlFK: The first one is "how you re-enter the litex environment" -- it is a general step, -- the second one has the first step of "re-entering the litex environment" | 03:43 |
mithro | CarlFK: or more I guess set the "export CPU=or1k CPU_VARIANT=linux PLATFORM=arty TARGET=net FIRMWARE=firmware" values correctly... | 03:44 |
CarlFK | mithro: I've been thinking of reworking this somehow: https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf#resuming-development | 03:48 |
tpb | Title: HowTo LCA2018 FPGA Miniconf · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 03:48 |
CarlFK | mithro: not change the lines...but the way the doc talks about it | 03:48 |
mithro | CarlFK: "Re-enter LiteX Environment" and "Resuming Development" are the same I guess... | 03:49 |
CarlFK | mithro: like it is a dupe of the lines right above it, so remove those lines ad say "for any of these script to work, both now and if you ever start a new shell, set these vars and run this script:" | 03:49 |
CarlFK | right | 03:49 |
CarlFK | Re-enter can be "rember, you need to [link to Resuming... | 03:50 |
CarlFK | mithro: er, wait. this is what I was confused about. let me ask again: | 03:51 |
CarlFK | mithro: even in the same shell, if I do this: export CPU=or1k CPU_VARIANT=linux PLATFORM=arty TARGET=net FIRMWARE=firmware | 03:52 |
CarlFK | do I need to source ./scripts/enter-env.sh ? | 03:52 |
mithro | CarlFK: If you haven't entered the environment | 03:53 |
CarlFK | mithro: so if I am still "in" I can do the export.. ; make gateware-load ? (no enter-env.sh?) | 03:55 |
mithro | CarlFK: Well, you will need to rebuild the gateware | 03:55 |
CarlFK | does this rebuild the gateware? source ./scripts/enter-env.sh | 03:56 |
CarlFK | mithro: looks like that step is missing. which may explain why the arty isn't booting .. something. I've been trying to re-verify and see what went wrong, and that's hard when I am also trying to verify the docs | 03:58 |
mithro | CarlFK: If you change CPU/CPU_VARIANT/PLATFORM you need to rebuild gateware | 03:59 |
mithro | If you just change the FIRMWARE value, you shouldn't need to rebuild it | 03:59 |
CarlFK | mithro: CPU/CPU_VARIANT/PLATFORM is the same for qemu and arty? | 04:01 |
mithro | CarlFK: yes? | 04:02 |
mithro | The only thing which changes is FIRMWARE | 04:03 |
CarlFK | mithro: just checking. I was expecing qemu to be it's own platform | 04:03 |
mithro | From FIRMWARE=linux for Linux and FIRMWARE=firmware for HDMI2USB Bare Metal firmware | 04:03 |
mithro | CarlFK: qemu emulates existing platforms | 04:03 |
mithro | CarlFK: It pretends to be an Arty, or an Opsis, or a Atlys depending on what you set the PLATFORM value to be.... | 04:04 |
CarlFK | mithro: oh neat | 04:04 |
CarlFK | mithro: ok, im blocked here. im sure I followed howto, but Arty isn't booting. http://paste.ubuntu.com/p/fvGb5J9V6Q/ | 04:05 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 04:05 |
mithro | I'm hoping to even eventually have it pop up an image of the board and show you the leds / buttons as they would be | 04:05 |
mithro | CarlFK: what happens if you hit the reset button? | 04:05 |
CarlFK | mithro: yay!! it's loading.. loaded firmware | 04:06 |
CarlFK | I was guessing before, and hitting the "prog" button first | 04:06 |
mithro | CarlFK: you could have also hit enter and then typed "serialboot" as the next section shows? | 04:06 |
mithro | cr1901_modern: I think adding the cas made the picorv32 build unhappy | 04:07 |
CarlFK | mithro: maybe.. brb | 04:07 |
mithro | cr1901_modern: https://travis-ci.org/timvideos/litex-buildenv/jobs/435898535 | 04:08 |
mithro | CarlFK: https://github.com/timvideos/flterm/issues/1 | 04:08 |
tpb | Title: Add ability to send sequence after connecting · Issue #1 · timvideos/flterm · GitHub (at github.com) | 04:08 |
cr1901_modern | mithro: What the hell is wrong with the output ._.? | 04:09 |
mithro | cr1901_modern: What do you mean? | 04:09 |
cr1901_modern | - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | 04:10 |
mithro | cr1901_modern: It's a spinner, but the backspace doesn't appear to be working | 04:10 |
cr1901_modern | Well the build didn't _fail_ | 04:10 |
mithro | cr1901_modern: It occurs when the system detects no stdout output | 04:10 |
cr1901_modern | it's just taking a long time | 04:11 |
mithro | cr1901_modern: https://travis-ci.org/timvideos/litex-buildenv/builds/435897765 it previously took ~17minutes and looks like it's up to 25+ now? | 04:11 |
cr1901_modern | it just finished | 04:11 |
cr1901_modern | travis is weird | 04:11 |
mithro | cr1901_modern: Lol, maybe it's just random | 04:11 |
mithro | cr1901_modern: Maybe need to report stats sometime... | 04:12 |
mithro | cr1901_modern: well https://travis-ci.org/timvideos/litex-buildenv/builds/435898509 might finish soon | 04:12 |
cr1901_modern | mithro: Funny thing, looks like opsis only took 10 minutes this time around | 04:13 |
cr1901_modern | usually it takes 20 or so | 04:13 |
mithro | cr1901_modern: It doesn't build the gateware on a pull request | 04:13 |
cr1901_modern | oh | 04:13 |
cr1901_modern | I didn't know you could configure travis like that | 04:14 |
cr1901_modern | well maybe it's a fluke, if not I'll take a look at nextpnr myself on wednesday | 04:14 |
mithro | cr1901_modern: Well, we can't let a pull request have access to the Xilinx toolchain | 04:15 |
cr1901_modern | I see | 04:16 |
Toba | a sad fact :( | 04:16 |
cr1901_modern | it passed | 04:17 |
mithro | cr1901_modern: Merged! | 04:19 |
cr1901_modern | Cool thanks. On that note, going to sleep. Long day ahead | 04:19 |
CarlFK | mithro: arty.. H2U 00:00:00> yay! | 04:26 |
mithro | CarlFK: qemu or hardware? | 04:27 |
CarlFK | hardware | 04:28 |
mithro | CarlFK: great | 04:29 |
shorne | mithro: I think it should be something like /sys/module/litex/... | 04:34 |
mithro | shorne: That would be good to add so we can add instructions to confirm the system is running / working on the right system... | 04:35 |
shorne | mithro: I dont think its too hard probably one kernel module... somethig like : | 04:35 |
shorne | https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/firmware/google/memconsole.c?h=v4.19-rc6 | 04:35 |
tpb | Title: memconsole.c\google\firmware\drivers - kernel/git/torvalds/linux.git - Linux kernel source tree (at git.kernel.org) | 04:36 |
shorne | mithro: but I guess /sys/... is really for individual attributes i.e. each file is 1 number/status | 04:52 |
shorne | under /proc we could just dump everything | 04:52 |
shorne | both ways are good | 04:52 |
mithro | shorne: What is memconsole.c ? | 04:53 |
shorne | just an example of exposing an attribute under /sys/firmware/log | 04:54 |
shorne | something used on google servers | 04:54 |
mithro | Oh okay | 04:55 |
mithro | shorne: Don't really care... | 04:56 |
*** rohitksingh has joined #timvideos | 05:19 | |
CarlFK | back | 05:20 |
*** coolacidsU has joined #timvideos | 05:25 | |
CarlFK | mithro: https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf#boot-hdmi2usb-bare-metal-firmware-via-tftp | 05:29 |
tpb | Title: HowTo LCA2018 FPGA Miniconf · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 05:29 |
CarlFK | mithro: [FLTERM] Starting... Oct 02 00:22:13 gator atftpd[6569.140349762705152]: timeout: retrying... | 05:29 |
CarlFK | retrying repeats every 5 seconds | 05:29 |
CarlFK | mithro: http://paste.ubuntu.com/p/dSzP5W3SkX/ | 05:30 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 05:30 |
*** coolacidsU has quit IRC | 05:30 | |
mithro | CarlFK: after you have flterm starting hit enter | 05:30 |
CarlFK | mithro: hitting enter isn't doing anything | 05:31 |
mithro | CarlFK: hit the reset button? | 05:32 |
CarlFK | mithro: reset button did something.. I get the LiteX ascii art but still retrying... http://paste.ubuntu.com/p/8p3FfbRBfk/ | 05:33 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 05:33 |
mithro | The retrying is coming from atftpd | 05:33 |
mithro | do a "make tftpd_stop; make tftpd_start" | 05:34 |
*** rohitksingh has quit IRC | 05:34 | |
CarlFK | mithro: Oct 02 00:36:21 gator atftpd[9247.140179089946368]: client (192.168.100.50) not responding | 05:43 |
CarlFK | Oct 02 00:36:21 gator atftpd[9247.140179089946368]: Server thread exiting http://paste.ubuntu.com/p/jmSgkPcD2j/ | 05:43 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 05:43 |
mithro | CarlFK: how have you set up ethernet? | 05:43 |
CarlFK | debian box, not network manager, cat /etc/network/interfaces http://paste.ubuntu.com/p/T6PtqRnVrq/ | 05:45 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 05:45 |
CarlFK | mithro: usb dongle | 05:45 |
*** rohitksingh has joined #timvideos | 05:46 | |
mithro | CarlFK: run "make tftp" before the "make firmware-connect" ? | 05:48 |
mithro | The "Oct 02 00:35:51 gator atftpd[9247.140179089946368]: socket may listen on any address, including broadcast" line seems a bit weird... | 05:48 |
mithro | CarlFK: that seems like something happened to your network interface.... | 05:48 |
mithro | CarlFK: can you check that connecting the ethernet cable doesn't affect the interface status? | 05:49 |
CarlFK | mithro: 3: enx803f5d08c300: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast | 05:50 |
CarlFK | state UP | 05:50 |
CarlFK | mithro: state changes up/down | 05:50 |
CarlFK | mithro: but it keeps it's ip address even when down | 05:50 |
mithro | CarlFK: hrm, what does ifconfig says? I don't know about ip? | 05:54 |
CarlFK | mithro: "running" comes and goes as I un/plug the cable http://paste.ubuntu.com/p/RWfqvdHq2Q/ enx803f5d08c300: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 | 05:56 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 05:56 |
mithro | CarlFK: does it always appear in ifconfig ? | 05:57 |
CarlFK | mithro: yes | 05:57 |
mithro | CarlFK: okay good | 05:58 |
mithro | CarlFK: try again? | 06:01 |
CarlFK | mithro: Network boot failed No boot medium found | 06:04 |
CarlFK | mithro: is the Litex spash confirm that something is going over tftp? or should I get another dongle/cable? | 06:05 |
mithro | CarlFK: No, the LiteX splash comes before the tftp | 06:06 |
mithro | CarlFK: Fetching from: UDP/6069 is when the tftp event occurs | 06:07 |
mithro | CarlFK: try another dongle / cable? | 06:08 |
_florent_ | ls | 06:08 |
_florent_ | oups | 06:09 |
CarlFK | no files found here. | 06:09 |
_florent_ | :) | 06:09 |
CarlFK | mithro: new cable, new dongle, no help | 06:12 |
CarlFK | mithro: going to try to add 192.168.100.100 to my main interface that we know works | 06:13 |
CarlFK | mithro: success! | 06:16 |
CarlFK | mithro: more success! linux on arty over tftp # cat /proc/cpuinfo | 06:26 |
CarlFK | cpu architecture: OpenRISC 1000 (1.1-rev0) | 06:26 |
CarlFK | # ip addr add 192.168.100.101/24 eth0 | 06:27 |
CarlFK | ip: either "local" is duplicate, or "eth0" is garbage | 06:27 |
*** Guest93633 has joined #timvideos | 06:28 | |
CarlFK | hello Guest123 | 06:30 |
*** Guest93633 has quit IRC | 06:34 | |
*** bunnie_ has joined #timvideos | 06:38 | |
*** rohitksingh has quit IRC | 06:52 | |
*** rohitksingh has joined #timvideos | 06:53 | |
*** jim__ has joined #timvideos | 08:27 | |
*** retoadedjj has joined #timvideos | 08:42 | |
*** retoadedjj has quit IRC | 08:46 | |
*** cr1901_modern has quit IRC | 09:00 | |
*** computeiro has joined #timvideos | 09:22 | |
*** computeiro has quit IRC | 09:25 | |
shorne | mithro: _florent_: I played with running sim today (running under litex-buildenv) a few issues | 09:29 |
shorne | 1. there are a few .c file warnings/errors in litex which fail with gcc 8.1 will send patched later | 09:30 |
shorne | 2. the target/sim/* has some issues and is not compiling i.e. firmware loading | 09:30 |
shorne | 3. We need to wire in SimConfig during build in litex-buildenv | 09:30 |
shorne | I can add SimConfig in targets/sim/base.py or under platforms/sim.py | 09:31 |
shorne | for now I did t under targets, which might be wrong | 09:31 |
*** KuufiuW has joined #timvideos | 09:36 | |
*** CarlFK has quit IRC | 09:39 | |
*** KuufiuW has quit IRC | 09:41 | |
*** Kripton has quit IRC | 10:09 | |
_florent_ | shorne: thanks for testing and the feedback | 10:12 |
*** Kripton has joined #timvideos | 10:12 | |
_florent_ | 1) ok thanks | 10:13 |
_florent_ | 2) can you explain what issues you have? | 10:13 |
_florent_ | 3) yes in case of litex-buildenv, we need to find a way to generate SimConfig depending what we want to support | 10:14 |
*** mwbrownbx has joined #timvideos | 10:52 | |
*** mwbrownbx has quit IRC | 10:55 | |
master1588[m] | Found info on some general questions that I had on Saturday night. | 11:09 |
master1588[m] | A higher-level design language is SystemVerilog. Same as Verilog at RTL-level, and so Verilog is a subset of SystemVerilog. | 11:10 |
master1588[m] | Higher level design stuff similar to Java. | 11:11 |
master1588[m] | https://en.wikipedia.org/wiki/SystemVerilog | 11:11 |
tpb | Title: SystemVerilog - Wikipedia (at en.wikipedia.org) | 11:11 |
master1588[m] | Second, unit testing Verilog. There is an outdated, opensource project at SourceForge called SVUnit. | 11:13 |
master1588[m] | https://sourceforge.net/projects/svunit/ | 11:13 |
*** rohitksingh has quit IRC | 11:39 | |
*** rohitksingh has joined #timvideos | 11:48 | |
*** cr1901_modern has joined #timvideos | 12:36 | |
*** byte512_ has joined #timvideos | 13:06 | |
*** byte512_ has quit IRC | 13:11 | |
*** CarlFK has joined #timvideos | 13:59 | |
*** ChanServ sets mode: +v CarlFK | 13:59 | |
nrossi | mithro: So I managed to get the symbiflow-arch-defs build going in OE (https://github.com/nathanrossi/meta-hdl/commit/e2a85fa2407ec88bf56636857cb17332802b810f), but it currently fails to route the ice40 hx8k murax test no idea if that is expected or not? | 14:56 |
tpb | Title: WIP: symbiflow-arch-defs: Add recipe · nathanrossi/meta-hdl@e2a85fa · GitHub (at github.com) | 14:56 |
*** TheAvatarEb has joined #timvideos | 15:55 | |
*** annihilannicGm has joined #timvideos | 16:17 | |
*** liberpaterFC has joined #timvideos | 16:18 | |
*** annihilannicGm has quit IRC | 16:18 | |
*** llodayQ has joined #timvideos | 16:19 | |
*** llodayQ has quit IRC | 16:21 | |
*** liberpaterFC has quit IRC | 16:25 | |
mithro | nrossi: I'll have to check | 16:29 |
mithro | nrossi: https://travis-ci.org/SymbiFlow/symbiflow-arch-defs | 16:30 |
CarlFK | mithro: make[1]: Leaving directory '/home/juser/tv/litex-buildenv/build/arty_net_or1k/software/firmware' | 16:49 |
CarlFK | ERROR: [Common 17-258] Couldn't open 'libX11.so.6': 'libX11.so.6: cannot open shared object file: No such file or directory' | 16:49 |
CarlFK | does vavado? need X something around? | 16:50 |
mithro | CarlFK: yes | 16:54 |
*** Kripton has quit IRC | 16:54 | |
mithro | https://twitter.com/mithro/status/1047166065262833664 | 16:55 |
*** Kripton has joined #timvideos | 17:02 | |
*** tac-tics has joined #timvideos | 17:20 | |
*** tac-tics has quit IRC | 17:21 | |
*** tac-tics has joined #timvideos | 17:21 | |
*** clandmeterpV has joined #timvideos | 17:28 | |
*** pixel_yodM has joined #timvideos | 17:29 | |
*** clandmeterpV has quit IRC | 17:31 | |
*** pixel_yodM has quit IRC | 17:31 | |
mithro | shorne: FYI - https://github.com/timvideos/linux-litex/issues | 18:07 |
tpb | Title: Issues · timvideos/linux-litex · GitHub (at github.com) | 18:07 |
*** rohitksingh has quit IRC | 18:17 | |
nrossi | mithro: hmmm appears there are some IF (CI) checks :)... https://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/ice40/tests/murax/CMakeLists.txt#L6 | 18:21 |
tpb | Title: symbiflow-arch-defs/CMakeLists.txt at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com) | 18:21 |
*** LengsdorferQo has joined #timvideos | 18:26 | |
*** ennteePs has joined #timvideos | 18:32 | |
*** LengsdorferQo has quit IRC | 18:32 | |
*** ennteePs has quit IRC | 18:34 | |
mithro | nrossi: I think we ran travis-ci out of memory | 18:35 |
nrossi | mithro: makes sense. If i set CI in my build everything runs to completion, so it might just be broken | 18:36 |
mithro | nrossi: Okay, I'll poke some people | 18:37 |
mithro | nrossi: So it seems like many of the pieces needed to make a "litex-buildenv" equivalent using yocto / bitbake / openembedded are falling into place... | 18:37 |
*** lufijP has joined #timvideos | 18:39 | |
mithro | nrossi: I would love to formulate a more concrete plan on how to such a "litex-buildenv" thing a reality but not sure how to do it. Still got mostly random notes in https://docs.google.com/document/d/1hBvcE83vDRn5EVzcv4Qv_dcGlDuXp5pNI-_yzrEOwxs/edit ? | 18:40 |
tpb | Title: LiteX BuildEnv based on Yocto - Google Docs (at docs.google.com) | 18:40 |
nrossi | mithro: so i started playing with getting litex building a target within oe https://github.com/nathanrossi/meta-hdl/blob/wip/recipes-examples/litex-demo/litex-demo.bb | 18:42 |
tpb | Title: meta-hdl/litex-demo.bb at wip · nathanrossi/meta-hdl · GitHub (at github.com) | 18:42 |
mithro | nrossi: Yeah, I saw.... | 18:42 |
nrossi | mithro: but i hit some issue that i suspect are related to the splitting of code between litex-buildenv and straight litex | 18:42 |
nrossi | mithro: although i was trying to build lm32 on a tinyfpga-bx platform, which i believe is not exactly fully completed? | 18:43 |
mithro | nrossi: Happy to take a look if you have something more I could try? | 18:43 |
mithro | nrossi: Should be working in some configurations -> https://travis-ci.org/timvideos/litex-buildenv/builds/436206846 | 18:44 |
mithro | nrossi: C=lm32.lite P=tinyfpga_bx F=stub T=base is green | 18:44 |
*** lufijP has quit IRC | 18:45 | |
mithro | nrossi: Looks like you might need to supply the cpu variant to be the "lite" configuration of the lm32 | 18:45 |
nrossi | mithro: ah ok, is the "base" target some default in litex? | 18:45 |
mithro | nrossi: Dunno how it maps to "litex.boards.targets.simple" .... | 18:46 |
mithro | nrossi: It's defined here -> https://github.com/timvideos/litex-buildenv/blob/master/targets/tinyfpga_bx/base.py | 18:46 |
tpb | Title: litex-buildenv/base.py at master · timvideos/litex-buildenv · GitHub (at github.com) | 18:47 |
nrossi | mithro: i see, yer thats what i was confused about, there appears to be duplication/splitting of targets/platforms between litex and litex-buildenv. I was not sure what the purposes of that was, I suspect its just so that you don't need to put it into the litex repo itself? | 18:49 |
nrossi | mithro: i will have a better look at getting that going tomorrow. Also I have a number of questions around various pieces (litex/symbiflow/etc) and how to better integrate them/etc. I will write them down for you and query you on them tomorrow. It is getting quite 'early' (~5am) so im going to head off for now :) | 18:56 |
mithro | nrossi: SGTM! Feel free to dump them in the google doc here -> | 18:57 |
mithro | https://docs.google.com/document/d/1hBvcE83vDRn5EVzcv4Qv_dcGlDuXp5pNI-_yzrEOwxs/edit | 18:57 |
tpb | Title: LiteX BuildEnv based on Yocto - Google Docs (at docs.google.com) | 18:57 |
mithro | If you have a google account, I can give you edit access? | 18:57 |
nrossi | mithro: i do, [email protected] | 18:57 |
mithro | nrossi: Done! | 18:58 |
nrossi | mithro: ok will add info to that, :) im now putting my self and laptop to sleep :) | 18:59 |
mithro | nrossi: Feel free to be messy too :-) | 18:59 |
mithro | nrossi: sleep well! | 18:59 |
*** mazzanetiI has joined #timvideos | 20:24 | |
*** pglife_botHW has joined #timvideos | 20:26 | |
*** EPiSKiNG-NX has joined #timvideos | 20:32 | |
*** pglife_botHW has quit IRC | 20:33 | |
*** EPiSKiNG-NX has quit IRC | 20:40 | |
*** Kripton has quit IRC | 21:31 | |
*** Kripton has joined #timvideos | 21:32 | |
mithro | shorne: Could you explain the "SimConfig" part a bit more? The sim stuff has probably bit-rotted quite a bit as we never regularly run it | 21:52 |
*** PestEy has joined #timvideos | 21:55 | |
*** PestEy has quit IRC | 21:59 | |
*** dabdineuu has joined #timvideos | 22:11 | |
*** dabdineuu has quit IRC | 22:13 | |
*** Kripton has quit IRC | 22:14 | |
*** Kripton has joined #timvideos | 22:32 | |
CarlFK | mithro: if I set up a nic with: sudo ifconfig enx00e04c680b24 inet 192.168.100.100 up - and then try to boot firmware on qemu, will the hardware 192.168.100.100 interfere with the tap setup? | 23:33 |
CarlFK | mithro: qemu isnt working and that's my guess | 23:33 |
mithro | CarlFK: I think so, but unsure | 23:33 |
CarlFK | mithro: thanks - thats more than enough for me to look into that more | 23:34 |
mithro | See the advanced network setup which allows both | 23:34 |
mithro | I've forgotten a lot of my Linux networking voodo | 23:35 |
CarlFK | mithro: simply del-ing the eth interface fixed my problem, so yeah, that was it | 23:55 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!