applet.interface.uart: default to `tty` operation.
by
whitequark
1 year 3 months
software: update firmware.
by
whitequark
1 year 3 months
firmware: include git revision in product string (-15 bytes XRAM).
In the issue #382, @VioletEternity pointed out that it is not
currently possible to find out which git commit a firmware was built.
This commit introduces the embedding of the hash of the commit
containing the last modification to the `firmware/` (git) tree
in the product string that is visible in the device properties, for
example on Linux it can be retrieved like this:
$ lsusb -d 20b7:9db1 -v | grep iProduct
iProduct 2 Glasgow Interface Explorer (git 52734ce9)
Because a commit cannot include its own hash (without a successful
preimage attack on SHA1), the commit that is updating the built-in
firmware in the `software/glasgow/device/firmware.ihex` file needs to
be separate from the commit that updates the firmware code. Because
the version is recorded for the latest change of the `firmware/`
tree, which is not modified in the second commit, it stays consistent
afterwards.
Co-authored-by: Charlotte
by
whitequark
1 year 3 months
firmware: fix issue #382 (-88 bytes XRAM).
The issue #382 (failure of the device to enumerate when plugged into
a Windows machine for the first time) was caused by the lack of handling
of a Windows-specific descriptor. Respond to a request for this
descriptor.
Co-authored-by: Maya
Co-authored-by: Charlotte
by
whitequark
1 year 3 months
applet.selftest: fix `leds` mode.
Fixes the following error:
TypeError: Object flipped((rec led_0 o)) cannot be converted to an
Amaranth value
by
Serge Bazanski
1 year 3 months
meetings: add minutes from 2023-09-09
by
attie
1 year 4 months
meetings: fix typo from 2023-09-02
by
attie
1 year 4 months
meetings: add minutes from 2023-09-02
by
attie
1 year 4 months
software: fix fwft parameter value on all `FIFOInterface`s. NFCI.
by
Marcelina Kościelnicka
1 year 4 months
firmware: remove config fixup functionality.
There was only a small amount of devices that required config fixup
in first place, and they should have all been fixed in the ~4 years
that have passed since the code was added. If anyone boots firmware
on a device with non-fixed EEPROM after this commit, the device will
come up with a `Z9-9999...9` serial and running `glasgow flash` with
the right revision will fix the problem.
Fixes #387.
by
whitequark
1 year 5 months