*** tpb has joined #tomu | 00:00 | |
*** count3rmeasure has quit IRC | 00:59 | |
*** mneasi has quit IRC | 01:20 | |
*** rohitksingh has quit IRC | 03:39 | |
*** CarlFK has joined #tomu | 04:15 | |
*** nrossi has joined #tomu | 05:20 | |
*** turq has joined #tomu | 05:33 | |
*** turq is now known as turqq | 05:45 | |
*** turqq is now known as turq | 05:49 | |
*** CarlFK has quit IRC | 05:50 | |
turq | hi, running "make" is failing with "rpi.c:291:19: error: use of undeclared identifier 'MAP_LOCKED'", full output is pasted at https://gist.github.com/turqq/1751514742a180b4dcc79b8bc86401e9 | 05:52 |
---|---|---|
tpb | Title: gist:1751514742a180b4dcc79b8bc86401e9 · GitHub (at gist.github.com) | 05:52 |
*** im-tomu has left #tomu | 05:52 | |
*** im-tomu has joined #tomu | 05:52 | |
turq | tips or suggestions for debugging this? | 05:52 |
xobs | turq: As a hack you could remove MAP_LOCKED and see if that works. | 06:19 |
xobs | It might be better to use mlock(2) instead of MAP_LOCKED, but mostly it's there to prevent you from running two copies at the same time. | 06:20 |
turq | that seemed to have compiled. thanks xobs | 06:23 |
turq | one more question i have is that I was looking at the hacker version of fomu. is there a common tool used for opening the files within gerbers.zip? | 06:23 |
*** rohitksingh has joined #tomu | 06:24 | |
xobs | turq: Any Gerber viewer should work. KiCad comes with one built-in that works well enough. | 06:25 |
*** mneasi has joined #tomu | 06:25 | |
xobs | On Windows I really, really, really like https://www.zofzpcb.com/ and it works fantastically for the PVT boards. | 06:25 |
*** mneasi has quit IRC | 06:29 | |
turq | xobs: thank you! I'm on a Mac right now and was able to find the gerber file viewer within kicad | 06:48 |
xobs | I don't think fomu-flash will be much use to you, since it's designed for bit-banging raspberry pi GPIO pins. | 07:11 |
*** bluebugs has quit IRC | 09:28 | |
*** cedric has joined #tomu | 09:37 | |
*** cedric has joined #tomu | 09:37 | |
*** awe00 has joined #tomu | 10:39 | |
*** pollo has quit IRC | 11:14 | |
*** pollo has joined #tomu | 11:14 | |
*** awe00 has quit IRC | 12:03 | |
*** awe00 has joined #tomu | 12:14 | |
*** rohitksingh has quit IRC | 12:16 | |
*** brokemystuff has joined #tomu | 13:07 | |
*** brokemystuff has quit IRC | 13:37 | |
*** emeb has joined #tomu | 15:58 | |
*** CarlFK has joined #tomu | 16:00 | |
TomKeddie | xobs: a quick thank you for the impromptu tutorial on the riscv debug interface on Sunday. Lets just say something positive came out of the issues you were seeing!. I'm tempted to look into adding async serial to wishbone-tool, it would be useful to me or do you already have it done somewhere? | 16:32 |
*** mneasi has joined #tomu | 16:45 | |
alexhw | xobs: I was just reading through some of the tinyusb implementation and came across this https://github.com/hathach/tinyusb/blob/master/src/portable/valentyusb/eptri/dcd_eptri.c#L418 Shouldn't it be ep_dir == TUSB_DIR_IN? | 16:49 |
tpb | Title: tinyusb/dcd_eptri.c at master · hathach/tinyusb · GitHub (at github.com) | 16:49 |
*** CarlFK has quit IRC | 16:57 | |
*** alexhw[m] has joined #tomu | 16:57 | |
*** awe00 has quit IRC | 17:09 | |
*** cedric has quit IRC | 18:57 | |
*** cedric has joined #tomu | 18:57 | |
*** cedric has joined #tomu | 18:57 | |
*** W1lkins has quit IRC | 19:00 | |
*** W1lkins has joined #tomu | 19:01 | |
*** CarlFK has joined #tomu | 19:25 | |
*** cedric has quit IRC | 19:32 | |
*** cedric has joined #tomu | 19:33 | |
*** cedric has joined #tomu | 19:33 | |
*** rohitksingh has joined #tomu | 19:47 | |
mithro | TomKeddie: Want to write up a debug tutorial / docs somewhere? | 20:06 |
TomKeddie | mithro: thanks, that's a good idea. xobs was explaining the debug interface to the riscv, I'm sure that's documented but wishbone-tool could probably do with some usage examples, I'll consider it. | 20:12 |
*** rohitksingh has quit IRC | 20:27 | |
*** rohitksingh has joined #tomu | 20:34 | |
*** rohitksingh has quit IRC | 20:52 | |
*** nrossi has quit IRC | 20:55 | |
*** mneasi has quit IRC | 21:01 | |
*** mneasi has joined #tomu | 21:27 | |
*** mneasi has quit IRC | 21:31 | |
*** mneasi has joined #tomu | 21:31 | |
*** cedric has quit IRC | 22:35 | |
*** cedric has joined #tomu | 22:36 | |
*** cedric has joined #tomu | 22:36 | |
xobs | TomKeddie: Is async-serial different than the uart bridge (https://github.com/xobs/wishbone-utils/blob/master/wishbone-tool/src/bridge/uart.rs) which you enable by passing e.g. --serial /dev/ttyS0? | 23:32 |
tpb | Title: wishbone-utils/uart.rs at master · xobs/wishbone-utils · GitHub (at github.com) | 23:32 |
TomKeddie | xobs: Oh, it's there, I could swear i only saw ethernet and usb, awesome! | 23:33 |
xobs | TomKeddie: It doesn't support Ethernet (etherbone) yet. Only spi, uart, and usb. | 23:34 |
xobs | https://github.com/xobs/wishbone-utils/tree/master/wishbone-tool/src/bridge | 23:36 |
tpb | Title: wishbone-utils/wishbone-tool/src/bridge at master · xobs/wishbone-utils · GitHub (at github.com) | 23:36 |
TomKeddie | xobs: right, I saw the ip and assumed remote ip. Make sense, other than arty, none of the common boards have ethernet. | 23:36 |
xobs | alexhw: You're very correct. Good find. | 23:37 |
TomKeddie | Thanks, it's great to remove the split openocd/bridge crud. | 23:37 |
xobs | That's the idea! Works on Windows too :) | 23:37 |
xobs | I figured I'd do this because getting things upstream in openocd is hard, and getting a "wishbone bridge" adapter thing upstream would be even more difficult, because it's not JTAG. | 23:38 |
*** emeb has quit IRC | 23:49 | |
TomKeddie | openocd sucks at the moment too because there are tons of confusing error messages etc. | 23:59 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!