davidrysk[m] has quit [Quit: Idle timeout reached: 172800s]
ibringstheruckus has joined #glasgow
<ibringstheruckus>
Hey everyone, I was looking into Glasgow and I see there are a ton of features. I was looking on crowdsupply documentation and I'm not sure how to take advantage of these features. For example, I see this: Reading and writing ONFI-compatible Flash memories
<ibringstheruckus>
Determining memory parameters via ONFI parameter page. How do you hook up Glasgow to the device in question? What tools should be used with Glasgow to take advantage of all of these features and is there any examples on how to use it? Thanks!
redstarcomrade has quit [Read error: Connection reset by peer]
<ibringstheruckus>
I did see the applet, but wasn't how to use Glasgow to read ONFI. Thanks a bunch for the article! Hopefully more very smart people do more writeups so people just starting out can jump right in. Have a good night
josHua[m] has joined #glasgow
<josHua[m]>
Out of curiosity (not as a blame!), where did you start looking for information on it? (Did you read this page? https://glasgow-embedded.org/latest/use/basic.html ) I'm trying to figure out where people learn about using Glasgow (and who uses Glasgow, and at what skill level!), and how I can shore up holes in that documentation usefully.
jstein has joined #glasgow
cr1901_ has joined #glasgow
cr1901 has quit [Ping timeout: 272 seconds]
_alice has quit [Read error: Connection reset by peer]
_alice has joined #glasgow
dne has quit [Remote host closed the connection]
dne has joined #glasgow
omnitechnomancer has joined #glasgow
<omnitechnomancer>
U-boot calls the spiflash it just works write operation "update" in the CLI (I think they actually read each sector to check if it's already what you are going to program into it with that operation too)
<js[m]>
Catherine: BTW, when I packaged up Glasgow for pkgsrc, one cursed thing was fx2: It's only packaged as a wheel, no source tarball. I had to clone from git and then get the METADATA file from the whl and drop it in as PKG-INFO. Maybe the next release could include a source tarball?
<js[m]>
s/packaged/distributed/
<whitequark[cis]>
I'm really confused as to why git is not enough
<whitequark[cis]>
git is what the wheel is produced from, so by definition it should be all you need
<js[m]>
<whitequark[cis]> "I'm really confused as to why..." <- pyprojects throws an error it's not a valid project without the PKG-INFO and says that if you checked it out from git, you should use a source tarball from pypi
<js[m]>
s/pyprojects/pyproject/
<js[m]>
anyway, I'm by no means a python expert 🙂
<whitequark[cis]>
I've never heard of that questsion
<whitequark[cis]>
s/questsion/error/
<whitequark[cis]>
what is "pyproject" in this case?
<whitequark[cis]>
set SETUPTOOLS_SCM_PRETEND_VERSION to the package version
<whitequark[cis]>
that's it
<whitequark[cis]>
the error is unfortunately unhelpful in cases like this
<js[m]>
ah, that's what I'm doing for glasgow itself already anyway 🙂
<whitequark[cis]>
it's not actually a git checkout in your case I think since there's no .git
<js[m]>
hm but nope it's still unhappy
<whitequark[cis]>
hm?
<js[m]>
I think in the case of glasgow, the error message also said to set it
<js[m]>
but in the case of fx2, it doesn't
<whitequark[cis]>
glasgow uses a different package management system with a similar feature
<whitequark[cis]>
glasgow uses pdm-backend, not setuptools-scm
<js[m]>
nope, it's a tarball from github
<whitequark[cis]>
for github tarballs you have to set SETUPTOOLS_SCM_PRETEND_VERSION
<js[m]>
ah, got it to work, thanks
<whitequark[cis]>
I might need to migrate fx2 to pdm-backend
<js[m]>
Also, regarding the XC-LS3A6M, in case people are wondering: jn had the smart idea to look at pictures rather than an actual board and found a picture without the cooler, and there is a SPI flash below the cooler. I'll try dumping that later 🙂
<js[m]>
and it's a 128Mb QSPI, so much better changes of it being the one I'm looking for 😉
<js[m]>
and unlike the other two that were 3.3V, this one is 1.8V, good that I noticed that
siriusfox has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
<js[m]>
ok now I had the same with 3,1,4,5 and just rerunning it worked
<js[m]>
and I got three identical dumps 🎉
Wanda[cis] has quit [Quit: Idle timeout reached: 172800s]
duskwuff[m] has joined #glasgow
<duskwuff[m]>
whitequark (@_discord_182174208896401419:catircservices.org) re. four-byte addressing: I haven't forgotten about this, but the flash device I was using for testing is currently otherwise occupied 🙂 I've got some spares on order and will pick this back up when they're available
andymandias has quit [Read error: Connection reset by peer]