*** tpb has joined #timvideos | 00:00 | |
*** sc00bz has joined #timvideos | 00:50 | |
*** sc00bz is now known as Sc00bz | 00:54 | |
*** CarlFK has joined #timvideos | 01:35 | |
*** ChanServ sets mode: +v CarlFK | 01:35 | |
*** rohitksingh_work has joined #timvideos | 04:37 | |
*** puck_` has quit IRC | 06:44 | |
*** Kripton has quit IRC | 06:45 | |
*** Kripton has joined #timvideos | 06:45 | |
*** puck_ has joined #timvideos | 06:50 | |
*** CarlFK has quit IRC | 07:12 | |
*** CarlFK has joined #timvideos | 08:01 | |
*** ChanServ sets mode: +v CarlFK | 08:01 | |
*** futarisIRCcloud has quit IRC | 08:57 | |
*** rohitksingh_work has quit IRC | 12:34 | |
*** rohitksingh has joined #timvideos | 13:23 | |
*** samsagaz has joined #timvideos | 15:36 | |
*** rohitksingh has quit IRC | 18:55 | |
mithro | tannewt: Back to the usb today | 21:40 |
---|---|---|
tannewt | nice! I finished the porting doc | 21:41 |
tannewt | https://github.com/hathach/tinyusb/blob/develop/doxygen/porting.md | 21:41 |
tpb | Title: tinyusb/porting.md at develop · hathach/tinyusb · GitHub (at github.com) | 21:41 |
tannewt | suggestions welcome | 21:41 |
tannewt | I haven't followed it all yet | 21:41 |
tannewt | I got distracted :-) | 21:41 |
mithro | Just adding the pullup control | 21:42 |
mithro | tannewt: Where can I put a print that should be the start of the firmware? | 21:55 |
tannewt | mithro: https://github.com/hathach/tinyusb/blob/develop/examples/device/cdc_msc_hid/src/main.c#L56 | 21:56 |
tpb | Title: tinyusb/main.c at develop · hathach/tinyusb · GitHub (at github.com) | 21:56 |
mithro | What is "print_greeting" ? | 21:56 |
mithro | dammit... | 21:58 |
mithro | /usr/local/google/home/tansell/github/timvideos/litex-buildenv/build/conda/bin/../lib/gcc/lm32-elf/8.2.0/../../../../lm32-elf/bin/ld: region `user_flash' overflowed by 24 bytes | 21:58 |
tannewt | haha, so close! | 21:58 |
tannewt | print greeting is probably a bunch of text :-) | 21:58 |
xobs | That's short enough that you can limit the descriptor strings. | 21:59 |
mithro | I reduced the descriptor strings | 22:00 |
mithro | So the tinyusb firmware doesn't run in qemu, so I'm going to investigate more | 22:23 |
mithro | Okay, it runs in qemu if I use "-kernel" | 22:58 |
mithro | tannewt: Your objdump command is missing rodata? | 23:02 |
tannewt | I don't know what you are talking about | 23:03 |
mithro | tannewt: https://github.com/mithro/tinyusb/blob/develop/examples/device/cdc_msc_hid/Makefile#L101 | 23:03 |
tpb | Title: tinyusb/Makefile at develop · mithro/tinyusb · GitHub (at github.com) | 23:03 |
mithro | Sorry objcopy | 23:04 |
mithro | $(OBJCOPY) -O binary -j .vectors -j .text -j .rodata -j .data $^ $@ | 23:04 |
tannewt | ya, seems so. I tested with the elf | 23:04 |
mithro | No the firmware boots in qemu, maybe it'll boot in hardware :-P | 23:05 |
mithro | Yay! | 23:05 |
mithro | https://www.irccloud.com/pastebin/Qy6nDndn/ | 23:05 |
tpb | Title: Snippet | IRCCloud (at www.irccloud.com) | 23:05 |
tannewt | whoa! | 23:06 |
tannewt | over the usb link? | 23:06 |
mithro | tannewt: nope, just on the serial console | 23:07 |
tannewt | ah, ok | 23:07 |
tannewt | still exciting! | 23:09 |
mithro | tannewt: I need to put a wait in here... | 23:09 |
mithro | Well this is new... | 23:12 |
mithro | tannewt: Where should I be "turning on" the USB? | 23:16 |
mithro | dcd_init ? | 23:17 |
tannewt | mithro, figure it out? | 23:30 |
mithro | tannewt: Hrm, the IO do not appear to be working correctly... | 23:32 |
mithro | cr1901_modern: How do I get litex to build with arachne-pnr? | 23:57 |
cr1901_modern | plat.build(nextpnr=False) | 23:58 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!