Wednesday, 2018-11-28

*** tpb has joined #timvideos00:00
*** sc00bz has joined #timvideos00:50
*** sc00bz is now known as Sc00bz00:54
*** CarlFK has joined #timvideos01:35
*** ChanServ sets mode: +v CarlFK01:35
*** rohitksingh_work has joined #timvideos04:37
*** puck_` has quit IRC06:44
*** Kripton has quit IRC06:45
*** Kripton has joined #timvideos06:45
*** puck_ has joined #timvideos06:50
*** CarlFK has quit IRC07:12
*** CarlFK has joined #timvideos08:01
*** ChanServ sets mode: +v CarlFK08:01
*** futarisIRCcloud has quit IRC08:57
*** rohitksingh_work has quit IRC12:34
*** rohitksingh has joined #timvideos13:23
*** samsagaz has joined #timvideos15:36
*** rohitksingh has quit IRC18:55
mithrotannewt: Back to the usb today21:40
tannewtnice! I finished the porting doc21:41
tannewthttps://github.com/hathach/tinyusb/blob/develop/doxygen/porting.md21:41
tpbTitle: tinyusb/porting.md at develop · hathach/tinyusb · GitHub (at github.com)21:41
tannewtsuggestions welcome21:41
tannewtI haven't followed it all yet21:41
tannewtI got distracted :-)21:41
mithroJust adding the pullup control21:42
mithrotannewt: Where can I put a print that should be the start of the firmware?21:55
tannewtmithro: https://github.com/hathach/tinyusb/blob/develop/examples/device/cdc_msc_hid/src/main.c#L5621:56
tpbTitle: tinyusb/main.c at develop · hathach/tinyusb · GitHub (at github.com)21:56
mithroWhat is "print_greeting" ?21:56
mithrodammit...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 bytes21:58
tannewthaha, so close!21:58
tannewtprint greeting is probably a bunch of text :-)21:58
xobsThat's short enough that you can limit the descriptor strings.21:59
mithroI reduced the descriptor strings22:00
mithroSo the tinyusb firmware doesn't run in qemu, so I'm going to investigate more22:23
mithroOkay, it runs in qemu if I use "-kernel"22:58
mithrotannewt: Your objdump command is missing rodata?23:02
tannewtI don't know what you are talking about23:03
mithrotannewt: https://github.com/mithro/tinyusb/blob/develop/examples/device/cdc_msc_hid/Makefile#L10123:03
tpbTitle: tinyusb/Makefile at develop · mithro/tinyusb · GitHub (at github.com)23:03
mithroSorry objcopy23:04
mithro$(OBJCOPY) -O binary -j .vectors -j .text -j .rodata -j .data $^ [email protected]23:04
tannewtya, seems so. I tested with the elf23:04
mithroNo the firmware boots in qemu, maybe it'll boot in hardware :-P23:05
mithroYay!23:05
mithrohttps://www.irccloud.com/pastebin/Qy6nDndn/23:05
tpbTitle: Snippet | IRCCloud (at www.irccloud.com)23:05
tannewtwhoa!23:06
tannewtover the usb link?23:06
mithrotannewt: nope, just on the serial console23:07
tannewtah, ok23:07
tannewtstill exciting!23:09
mithrotannewt: I need to put a wait in here...23:09
mithroWell this is new...23:12
mithrotannewt: Where should I be "turning on" the USB?23:16
mithrodcd_init ?23:17
tannewtmithro, figure it out?23:30
mithrotannewt: Hrm, the IO do not appear to be working correctly...23:32
mithrocr1901_modern: How do I get litex to build with arachne-pnr?23:57
cr1901_modernplat.build(nextpnr=False)23:58

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!