*** tpb has joined #tomu | 00:00 | |
CarlFK | tcal: I can't help, but I can assure you that someone will respond. but it may be 12 to 24 hours. | 00:03 |
---|---|---|
tcal | CarlFK: Thank you! | 00:32 |
xobs | tcal: I'll have a look. Usually that means some data got moved into stack, which objcopy thinks should be part of the image. | 00:39 |
xobs | Well, I've reproduced the issue. Now why is it doing that... | 01:10 |
tcal | xobs: thanks! Glad it's not a dumb mistake at my end. | 01:14 |
xobs | Okay, that's weird. It looks like a linker script issue. It's zero-filling RAM. | 01:16 |
*** emeb has quit IRC | 01:17 | |
*** emeb has joined #tomu | 01:21 | |
*** emeb has quit IRC | 01:30 | |
*** emeb has joined #tomu | 01:31 | |
xobs | I do wish these programs had better documentation. `readelf` says the `.bss` section has the `WA` `Flg`, whatever that is. | 01:38 |
xobs | Oh. Weird. Okay, it's not `.bss`, it's `.stack`, which has a section type of `PROGBITS`. | 01:47 |
xobs | As in, I get a valid binary if I do `riscv64-unknown-elf-objcopy -O binary .\target\riscv32i-unknown-none-elf\release\riscv-rust-blink fomu-rust.bin -R .stack` | 01:48 |
*** CarlFK has quit IRC | 01:54 | |
xobs | tcal: Can you see if that fixes it for you? | 02:04 |
*** craigo has quit IRC | 02:19 | |
tcal | xobs: Yes, that works for me, thanks! I'm reviewing the Fomu workshop with Tim A., so if you want, I can fold this change in with my other updates. | 02:30 |
tcal | xobs: nevermind, I see your updates :) | 02:47 |
tcal | xobs: verifying that your fix did fix the file size issue WITHOUT my needing to use `-R .stack`. | 02:51 |
xobs | Great! | 02:51 |
*** emeb has left #tomu | 04:09 | |
*** Kamilion has quit IRC | 04:10 | |
*** Kamilion has joined #tomu | 04:27 | |
*** craigo has joined #tomu | 05:01 | |
*** craigo has quit IRC | 09:59 | |
*** craigo has joined #tomu | 09:59 | |
*** CarlFK has joined #tomu | 10:22 | |
*** craigo has quit IRC | 11:03 | |
scientes | my problem with the fomu workshop is that it never builds a full image with a soft-core | 13:11 |
tnt | that's because it's sort of hit or miss if it passes timing and the build takes a while :D | 13:13 |
*** im-tomu has left #tomu | 13:13 | |
*** im-tomu has joined #tomu | 13:14 | |
scientes | well then is there a way I can stream memory to a simple verilog program then over wishbone? | 13:14 |
scientes | My idea was to try to work on stuff by writing a custom instruction--but that is largely because I am much more comfortable with sequential programming | 13:14 |
scientes | cause the tools are really build just of banging bits | 13:15 |
scientes | I want something like echo | wishbone-tool | foo | 13:16 |
*** emeb has joined #tomu | 15:04 | |
scientes | Is my Fomu bricked? | 15:43 |
scientes | Found DFU: [1209:5bf0] ver=0101, devnum=32, cfg=1, intf=0, path="1-2", alt=0, name="UNKNOWN", serial="UNKNOWN" | 15:43 |
scientes | Setting Alternate Setting #0 ... | 15:43 |
scientes | Cannot set alternate interface: LIBUSB_ERROR_OTHER | 15:43 |
scientes | tbh I forgot to check the bootloader version before loading things like the blink example | 15:45 |
scientes | Bus 001 Device 032: ID 1209:5bf0 Generic Fomu PVT running DFU Bootloader v1.9.1 | 15:48 |
scientes | yeah the blink-extended runs fine, but now I can't flash it | 15:51 |
xobs | Is it a Thinkpad laptop? | 15:57 |
scientes | xobs, yes it is | 15:58 |
scientes | Flex 5 | 15:58 |
scientes | and this is a usb 3.1 port | 15:58 |
scientes | (maybe 3?) | 15:58 |
xobs | Foboot 1.9.1 had an issue with USB 3.0 ports in some Thinkpad laptops. Or was it USB 2.0 ports? I don't remember which. | 15:58 |
xobs | But a solution was to upgrade to Foboot 2.0.3. As a workaround until you update, try a different port. | 15:59 |
scientes | yeah i'll try the other port | 15:59 |
scientes | no luck | 16:00 |
xobs | It enumerates, and shows up in dmesg, so the good news is that it's not bricked. | 16:00 |
scientes | ok cool | 16:01 |
scientes | you should have them reflash the stock at crowd supply | 16:18 |
scientes | (or I should have read the instructions better hahahaha) | 16:18 |
xobs | You're right, and the next batch will have 2.0.3 on them (but be otherwise unchanged.) | 16:19 |
scientes | maybe I can find a usb 2 A-to-A extender | 16:41 |
scientes | to make this no longer a usb 3.0 port | 16:41 |
*** craigo has joined #tomu | 16:59 | |
*** emeb has quit IRC | 17:01 | |
*** emeb1 has joined #tomu | 17:01 | |
*** emeb1 has quit IRC | 17:02 | |
*** emeb has joined #tomu | 17:09 | |
*** im-tomu has left #tomu | 17:30 | |
*** im-tomu has joined #tomu | 17:31 | |
CarlFK | in another world.. [mct]: hm. anyone here know how "nominal" smd packages are? like, is an 0201 actually .01" on the short edge, or like, .015"? | 18:03 |
CarlFK | [mct]: tolerance on that side is like 4.5 thou wide tho. think i would have to grind them down | 18:27 |
CarlFK | grinding ?! | 18:27 |
*** CarlFK has quit IRC | 19:57 | |
scientes | hmmm | 20:01 |
scientes | I am still having the problem after upgrading bootloader to 2.0.3 | 20:01 |
scientes | Bus 001 Device 060: ID 1209:5bf0 Generic Fomu PVT running DFU Bootloader v2.0.3 | 20:01 |
scientes | but I could upgrade on another laptop (that only has usb 2.0 ) | 20:02 |
scientes | dfu-util: Cannot set alternate interface | 20:02 |
tnt | OS ? | 20:07 |
scientes | ubuntu 64-bit | 20:07 |
scientes | 5.4.0 | 20:07 |
tnt | Did you try with sudo | 20:08 |
scientes | that is with sudo | 20:09 |
scientes | without it does Cannot set alternate interface: LIBUSB_ERROR_OTHER | 20:09 |
scientes | no idea why the difference | 20:09 |
scientes | because it is probably the same underlying error | 20:09 |
scientes | it works on another laptop | 20:10 |
scientes | tnt, I loaded the blink-extended program | 20:13 |
scientes | but after that I have this problem, but *only* on this laptop | 20:14 |
scientes | other laptop managed to upgrade bootloader, as that was suppoedly problem, but that did not fix it | 20:14 |
scientes | also loaded micropython before that to | 20:14 |
*** TheJJ has quit IRC | 21:11 | |
*** emeb has quit IRC | 22:37 | |
*** krogozinski has quit IRC | 22:55 | |
*** earthnative has quit IRC | 22:55 | |
*** buZz has quit IRC | 22:55 | |
*** hop has quit IRC | 22:55 | |
*** mntmn has quit IRC | 22:55 | |
*** federico3 has quit IRC | 22:55 | |
*** asante has quit IRC | 22:55 | |
*** mwfc has quit IRC | 22:55 | |
*** Duponin has quit IRC | 22:55 | |
*** krogozinski has joined #tomu | 22:57 | |
*** earthnative has joined #tomu | 22:57 | |
*** buZz has joined #tomu | 22:57 | |
*** mntmn has joined #tomu | 22:57 | |
*** hop has joined #tomu | 22:57 | |
*** federico3 has joined #tomu | 22:57 | |
*** asante has joined #tomu | 22:57 | |
*** mwfc has joined #tomu | 22:57 | |
*** Duponin has joined #tomu | 22:57 | |
*** squelch has joined #tomu | 23:08 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!