Michael Birtwell
1fe59d27dc
Use an Ipv4AddrConfig enum instead of the USE_DHCP constant
2022-04-24 10:10:43 +08:00
Michael Birtwell
73082d116f
Ensure that pending data is sent when closing sockets
...
This is only necessary if close hasn't been called on the socket
but that's not always done. e.g. by the core analyzer server.
2022-04-24 10:10:43 +08:00
Michael Birtwell
596b9a265c
Prefer DHCP to the built-in static IPs
...
Signed-off-by: Michael Birtwell <michael.birtwell@oxionics.com>
2022-04-24 10:10:42 +08:00
Michael Birtwell
6ffb1f83ee
DHCP support for core device firmware
...
DHCP is enabled by setting the `ip` config entry to "use_dhcp". Reusing this
config field rather than creating a new one means that there is no ambiguity
over which config field takes precedence.
Adds a thread to configure the interface based on DHCP events
Adds a `Dhcpv4Socket` as a wrapper around smoltcp's version
Formalises the storage of the IP addresses so that we can update one in
another module.
There's also a workaround for the first DHCP discover packet frequently
going missing.
Signed-off-by: Michael Birtwell <michael.birtwell@oxionics.com>
2022-04-24 10:10:14 +08:00
Michael Birtwell
c60de48a30
Upgrade smoltcp 0.6.0 -> 0.8.0
...
Main changes:
Deal with interfaces now being generic over mediums, update interface name
and initialisation.
Interfaces now own their sockets. So we store a reference to the Interface
instead of the SocketSet in Scheduler and IO.
Sockets are no longer reference counted. We never called the function to
increase the socket's reference count, so now we just remove it where it
was previously released. This will result in the socket being dropped at
a different time, but I think that should be fine.
Tested firmware upload to the bootloader and spamming artiq_coremgmt log
calls to download the log from the firmware.
Signed-off-by: Michael Birtwell <michael.birtwell@oxionics.com>
2022-04-24 10:09:27 +08:00
Suthep Pomjaksilp
06ad76b6ab
applets: add progress bar applet
...
Signed-off-by: Suthep Pomjaksilp <pomjaksi@physik.uni-kl.de>
2022-04-22 09:27:28 +08:00
David Nadlinger
b2b84b1fd6
test: Fixup 6b5c390d4
typo
2022-04-22 00:29:03 +01:00
David Nadlinger
6b5c390d48
compiler: Fix #1871 (array() breaks math functions)
...
GitHub: Fixes #1871 .
2022-04-22 00:12:20 +01:00
David Nadlinger
2cb08814e8
flake: Add compiler test prerequisites to devShell
...
Useful while working on the legacy compiler.
2022-04-21 23:47:23 +01:00
Sebastien Bourdeauducq
58b59b99ff
flake: update dependencies
2022-04-19 11:04:49 +08:00
Sebastien Bourdeauducq
fa3ee8ad23
flake: update sipyco
2022-04-12 08:54:58 +08:00
Michael Birtwell
cab9d90d01
Use sipyco.keepalive
...
Remove the implementation of setting keepalive settings on sockets and use
the implementation from sipyco instead.
Signed-off-by: Michael Birtwell <michael.birtwell@oxionics.com>
2022-04-12 08:53:35 +08:00
Sebastien Bourdeauducq
0a029748ee
flake: update dependencies
2022-04-09 17:24:44 +08:00
Leon Riesebos
386391e3f9
browser: support datasets that use h5 group notation
...
Signed-off-by: Leon Riesebos <leon.riesebos@duke.edu>
2022-04-07 18:18:13 +08:00
Leon Riesebos
b5dc9fd640
browser: cleanup datasets panel for empty h5 files
...
this fix makes sure the datasets panel is cleared if an h5 file is empty or the datasets and archive groups are empty
2022-04-07 18:18:05 +08:00
Sebastien Bourdeauducq
c82c358f3a
runtime: provide/fix more libc mem functions
2022-03-28 13:33:57 +08:00
Sebastien Bourdeauducq
723f41c78b
runtime: fix EXCEPTION_ID_LOOKUP
2022-03-26 20:10:24 +08:00
Sebastien Bourdeauducq
866a83796a
firmware: add UnwrapNoneError exception
2022-03-26 15:28:13 +08:00
Timothy Ballance
f91e106586
llvm_ir: fixed broken code in previous patch
2022-03-22 18:50:58 +08:00
Timothy Ballance
a289d69883
llvm_ir: fixed stack leak on ffi call
2022-03-22 09:00:40 +08:00
Sebastien Bourdeauducq
f89275b02a
master: fix compiler access to source code with submit-by-content
2022-03-20 18:08:04 +08:00
Sebastien Bourdeauducq
65d2dd0173
fix compilation warning
2022-03-20 16:15:01 +08:00
Sebastien Bourdeauducq
6b33f3b719
update vivado
2022-03-20 16:09:58 +08:00
Sebastien Bourdeauducq
80d412a8bf
support submitting experiments by content
2022-03-20 12:58:55 +08:00
Sebastien Bourdeauducq
922d2b1619
drop support for big-endian moninj
2022-03-19 22:58:31 +08:00
Sebastien Bourdeauducq
d644e982c8
RELEASE_NOTES: update
2022-03-19 22:50:54 +08:00
Sebastien Bourdeauducq
ec1efd7af9
dashboard: connect to moninj via proxy
2022-03-19 22:50:36 +08:00
Sebastien Bourdeauducq
735133a2b4
artiq_dashboard: remove references to core device in moninj
2022-03-19 22:36:07 +08:00
Sebastien Bourdeauducq
207717c740
artiq_dashboard: fix handling of moninj comment
2022-03-19 22:33:31 +08:00
Sebastien Bourdeauducq
6d92e539b1
artiq_ddb_template: add aqctl_moninj_proxy
2022-03-19 22:33:03 +08:00
Sebastien Bourdeauducq
6a49b8cb58
update dependencies
2022-03-19 19:53:38 +08:00
Sebastien Bourdeauducq
df1513f0e9
add aqctl_moninj_proxy to device dbs
2022-03-19 19:25:21 +08:00
Sebastien Bourdeauducq
d3073022ac
aqctl_moninj_proxy: fix all major bugs
2022-03-19 19:06:12 +08:00
Sebastien Bourdeauducq
bbb2c75194
add aqctl_moninj_proxy
2022-03-18 17:02:50 +08:00
Sebastien Bourdeauducq
710786388c
update nixpkgs
2022-03-17 21:09:48 +08:00
Sebastien Bourdeauducq
aff569b2c3
firmware: support 64-bit moninj probes
2022-03-17 19:56:07 +08:00
Sebastien Bourdeauducq
a159ef642d
drtio: demote default routing table message to info
2022-03-16 21:22:35 +08:00
Sebastien Bourdeauducq
1a26eb8cf2
coredevice: only print version mismatch warning when relevant
2022-03-16 21:21:43 +08:00
Sebastien Bourdeauducq
c1c2d21ba7
flake: fix error message when Vivado is not found
2022-03-16 21:20:48 +08:00
Sebastien Bourdeauducq
e5e4d55f84
mgmt: fix config write error message
2022-03-16 08:28:31 +08:00
Sebastien Bourdeauducq
71e8b49246
update nix dependencies
2022-03-10 17:04:44 +08:00
pca006132
ebfeb1869f
firmware: use &CSlice for lists
2022-03-10 16:30:22 +08:00
pca006132
eb6817c8f1
compiler/transforms/llvm_ir_generator: changed list representation
...
The representation of TList(T) is changed from `{T*, u32}` to
`{T*, u32}*`. The old representation forbids changing the length of a
list when the list is passed as a parameter into functions, as the
length is passed by value. The representation now matches with nac3.
2022-03-10 16:30:22 +08:00
Sebastien Bourdeauducq
8415151866
update copyright year
2022-03-10 11:56:16 +08:00
ciciwu
67ca48fa84
manual: fix formatting ( #1865 )
2022-03-08 19:03:47 +08:00
ciciwu
9a96387dfe
phaser: fix docstring formatting ( #1866 )
2022-03-08 19:03:30 +08:00
Sebastien Bourdeauducq
b02abc2bf4
remove legacy versioning files
2022-03-06 18:30:08 +08:00
Sebastien Bourdeauducq
ac55da81d8
core: support precompilation of kernels
2022-03-06 18:25:18 +08:00
spaqin
232f28c0e8
kern_hw: fix return type
2022-03-04 15:16:14 +08:00
spaqin
51fa1b5e5e
drtio: fix i2c switch
2022-03-04 15:16:14 +08:00