whitequark[cis] changed the topic of #glasgow to: https://glasgow-embedded.org · digital interface explorer · https://www.crowdsupply.com/1bitsquared/glasgow · code https://github.com/GlasgowEmbedded/glasgow · logs https://libera.irclog.whitequark.org/glasgow · matrix #glasgow-interface-explorer:matrix.org · discord https://1bitsquared.com/pages/chat
redstarcomrade has quit [Read error: Connection reset by peer]
electronic_eel has quit [Ping timeout: 272 seconds]
electronic_eel has joined #glasgow
redstarcomrade has joined #glasgow
jn has quit [Ping timeout: 265 seconds]
jn has joined #glasgow
lanrat[m] has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
redstarcomrade has joined #glasgow
Attie[m] has joined #glasgow
<Attie[m]> it should handle loading firmware for you automatically (and should come with firmware loaded too)
<Attie[m]> If that -4 is errno, then it's EINTR, which is odd... can you try a different USB port, possibly direct / with no hub?
<_whitenotifier-4> [glasgow] xeniter opened pull request #739: change libfx2 submodule to latest version - https://github.com/GlasgowEmbedded/glasgow/pull/739
<_whitenotifier-4> [glasgow] xeniter commented on issue #726: Building firmware fails - https://github.com/GlasgowEmbedded/glasgow/issues/726#issuecomment-2646194976
jstein has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
pie_ has quit [Quit: No Ping reply in 180 seconds.]
pie_ has joined #glasgow
Eli2_ has joined #glasgow
Eli2| has quit [Ping timeout: 248 seconds]
f_ is now known as funderscore
funderscore is now known as f_
esden[m] has quit [Quit: Idle timeout reached: 172800s]
redstarcomrade has joined #glasgow
urja has quit [Read error: Connection reset by peer]
urja has joined #glasgow
<_whitenotifier-4> [glasgow] whitequark synchronize pull request #739: change libfx2 submodule to latest version - https://github.com/GlasgowEmbedded/glasgow/pull/739
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-739-2a67f79d6025a06e98277956cbb036c4237960f1 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/GlasgowEmbedded/glasgow/compare/2a67f79d6025...560d8dcbfb15
<_whitenotifier-4> [GlasgowEmbedded/glasgow] xeniter 560d8dc - vendor: update libfx2.
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-739-2a67f79d6025a06e98277956cbb036c4237960f1 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark closed pull request #739: change libfx2 submodule to latest version - https://github.com/GlasgowEmbedded/glasgow/pull/739
alluring_parrot_ has quit [Quit: Idle timeout reached: 172800s]
<_whitenotifier-4> [glasgow] whitequark closed issue #726: Building firmware fails - https://github.com/GlasgowEmbedded/glasgow/issues/726
<_whitenotifier-4> [glasgow] whitequark commented on issue #726: Building firmware fails - https://github.com/GlasgowEmbedded/glasgow/issues/726#issuecomment-2646478077
<whitequark[cis]> oh, i think there might be an issue with the workflow we're using for checking firmware build reproducibility
<whitequark[cis]> actually nevermind
<lanrat[m]> I tested multiple ports on my system, all without a hub, and all give the same error.
<whitequark[cis]> what does running glasgow -vvv devices say?
<whitequark[cis]> s//`/, s/devices/list`/
redstarcomrade1 has joined #glasgow
redstarcomrade has quit [Ping timeout: 265 seconds]
<lanrat[m]> I get the same error, but I think I may have found the problem. I run each development program on my system in a different mount namespace (to prevent dependencency conflicts) and It looks like I had a permissions problem when mounting /dev/ I change the permissions and now it works.
<lanrat[m]> * I get the same error, but I it looks like I found the problem. I run each development program on my system in a different mount namespace (to prevent dependencency conflicts) and It looks like I had a permissions problem when mounting /dev/ I change the permissions and now it works.
<whitequark[cis]> fwiw, if you use glasgow with pipx or pdm then everything it needs, including the FPGA toolchain but excluding Python, are installed locally to the tool
<lanrat[m]> I'm now observing something else. I'm running a test of the UART autobaud detection. It seems to detect the first baudrate, but if the baudrate ever changes, the new one won't be detected unless the glassgow command is restarted.
<lanrat[m]> s/first/initial/
<whitequark[cis]> have you read the description of the applet?
<lanrat[m]> Do you mean `glasgow run uart --help`? I've read that.
<whitequark[cis]> yeah
<whitequark[cis]> does it report frame/parity errors?
<lanrat[m]> not as often as I would expect.
<lanrat[m]> And sometimes when it does, it "detects" a baud rate of 0.
<whitequark[cis]> baud rate of 0 is definitely a bug albeit not one i've seen before
<whitequark[cis]> the rest is, i think, probably down to autobaud being inherently unreliable
<lanrat[m]> I have the glasgow connected to FTDI serual chip in another terminal where I'm typing manually to test it out.
<lanrat[m]> s/serual/serial/
<whitequark[cis]> interesting. the usual use case for autobaud is "booting a kernel where u-boot, dmesg, and userspace all use different baud rates"
<whitequark[cis]> it performs very well on that workload but isn't tested much otherwise
<lanrat[m]> that's the exact use-case I have in mind. But I wanted to make sure I understood how it works before I use it for that.
<lanrat[m]> I also setup a teensy MCU printing some text every second alternating between 3 baudrates, and it does not seem to be detected.
<whitequark[cis]> how much text?
<lanrat[m]> only a single line
<lanrat[m]> Is more needed?
<whitequark[cis]> try 38400 and 57600
<lanrat[m]> hmm, I think there is a bug in my teensy code.
wiebel[m] has quit [Quit: Idle timeout reached: 172800s]
tomkeddie[m] has quit [Quit: Idle timeout reached: 172800s]
<lanrat[m]> yep, my code was the issue, works great now
<whitequark[cis]> happy to hear that it works
dne has quit [Remote host closed the connection]
balrog has quit [Quit: Bye]
dne has joined #glasgow
balrog has joined #glasgow
jstein has quit [Ping timeout: 268 seconds]