Current Server Time: 23:00 (Central Europe)

#apertus IRC Channel Logs

2020/08/17

Timezone: UTC


03:25
intrac
left the channel
03:27
intrac
joined the channel
05:03
Bertl_oO
off to bed now ... have a good one everyone!
05:03
Bertl_oO
changed nick to: Bertl_zZ
07:52
BAndiT1983|away
changed nick to: BAndiT1983
07:55
BAndiT1983
changed nick to: BAndiT1983|away
07:57
BAndiT1983|away
changed nick to: BAndiT1983
08:18
mumptai
joined the channel
08:34
BAndiT1983
changed nick to: BAndiT1983|away
09:29
Spirit532
left the channel
09:36
BAndiT1983|away
changed nick to: BAndiT1983
09:39
Spirit532
joined the channel
09:49
BAndiT1983
changed nick to: BAndiT1983|away
09:51
BAndiT1983|away
changed nick to: BAndiT1983
10:11
_florent_
left the channel
10:12
_florent_
joined the channel
12:49
Bertl_zZ
changed nick to: Bertl
12:49
Bertl
morning folks!
13:03
illwieckz
joined the channel
13:05
BAndiT1983
changed nick to: BAndiT1983|away
14:12
Bertl
off for now ... bbl
14:12
Bertl
changed nick to: Bertl_oO
16:55
Bertl_oO
meeting in five minutes!
16:55
Bertl_oO
changed nick to: Bertl
17:00
Bertl
meeting time!
17:00
Bertl
se6ast1an is a little late today, so I'll moderate the meeting
17:00
Bertl
please /msg me in case you want to report (which I hope you want to do :)
17:01
metal_dent[m]
hi everyone!
17:01
Bertl
metal_dent[m], the channel is yours!
17:02
metal_dent[m]
i was trying to read back the hex data already present in the key managers using the ICSProgrammer class in the bootloader
17:02
metal_dent[m]
we decided to first read the data and if that works perfectly then write the data ':D
17:03
metal_dent[m]
i tried separately (like it was implemented as a demo in the bootloader main) and it was working
17:04
metal_dent[m]
but when i tried to trigger using the python script and selected the key manager east i encountered a problem with my script, it's a small one regarding the crc8 (the checksum)
17:04
metal_dent[m]
note: by selecting the other chips (pic32 and key manager west) it works
17:05
metal_dent[m]
after i solve that little obstacle, the data will be read back with km_east too
17:05
metal_dent[m]
that's it from me! thanks!
17:05
Bertl
great! thanks!
17:06
Bertl
apoorva_arora: please go ahead, channel is yours!
17:06
apoorva_arora
Hello everyone, I finished the final scheduler code. link: https://github.com/Apoorva-ar/GSOC_2020/blob/master/Scheduler_Master.vhd, testbench link: https://github.com/Apoorva-ar/GSOC_2020/blob/master/Scheduler_tb.vhd.
17:07
apoorva_arora
The code incorporates all the three layers: namely scheduling, packet and PHY.
17:07
se6ast1an
good evening, sorry for the delay, here now
17:08
apoorva_arora
The code accepts command from user concurrently and offers bidirectional service based on the priority of the task.
17:09
apoorva_arora
Hence, high priority tasks are scheduled first.
17:10
apoorva_arora
The coming days will be hardware testing using AXI Lite GP0 and GP1 interfaces of ZYNQ for controlling SPI master on MACHXO2
17:10
apoorva_arora
Thats all from my side
17:10
Bertl
okay, thanks!
17:11
Bertl
bluez_[m]: please go ahead and report your progress!
17:11
bluez_[m]
tx!, hi everyone
17:11
bluez_[m]
https://github.com/Swaraj1998/axiom-beta-rfdev/commits/master
17:12
bluez_[m]
please look at the commits since 4 days ago
17:12
Bertl
(well, that's going to be complicated for folks who read up on the logs later :)
17:12
bluez_[m]
the major one being the very latest one...which i am still testing
17:13
bluez_[m]
so this week i started with making a basic skeleton ioctl interface..
17:13
bluez_[m]
/dev/rfe and /dev/rfw can be used for ioctl commands
17:14
bluez_[m]
<Bertl "(well, that's going to be compli"> true xD.. last four commits starting today actually..
17:14
bluez_[m]
then i spent much of time studying that previously mentioned jtag patchset
17:15
bluez_[m]
and i shortlisted 3 important commands: set state, get state and xfer
17:16
bluez_[m]
as i currently dont have a way to keep track of states... set state can only be used to goto reset or 'idle through reset'
17:17
bluez_[m]
the latter would be a way to initialize to idle as 'xfer' also assumes the current state as idle.. and also goes back to idle after each xfer command
17:18
bluez_[m]
xfer command here is used to send/receive arbitrary length data... providing the standard SDR and SIR functionality
17:18
bluez_[m]
which i guess initially would be quite enough for most things
17:19
bluez_[m]
so in the latest commit i just added the xfer command... going to test it now
17:20
Bertl
okay, great! anything else?
17:21
bluez_[m]
also added rf_tdi_out and rf_tdo_in functions for more abstraction... so tidied up code from other parts as well
17:21
bluez_[m]
thats it form me!
17:21
Bertl
excellent! preetimenghwani[, please go ahead with your report!
17:22
preetimenghwani[
Hi Everyone
17:22
preetimenghwani[
This week I spent time on understanding a few more modules and ended up with an idea on how throughput can be doubled.
17:23
preetimenghwani[
I discussed it with Bertl and he has suggested me a few steps to follow
17:23
preetimenghwani[
Currently I am extending the framework to four writers
17:24
preetimenghwani[
I am facing some issues so spending time on debugging it
17:24
preetimenghwani[
Thats it from me! Thanks!
17:24
Bertl
thanks for the report!
17:25
Bertl
se6ast1an: you got a few bits of information for us as well?
17:25
se6ast1an
quick updates from me: the hackathon with vup and anu3jn ended this weekend
17:25
se6ast1an
it concludes two great weeks with lots of progress and work done
17:25
se6ast1an
maybe anu3jn and vup can share a bit of details themselves?
17:25
vup
is here in theory
17:26
vup
I can share a bit
17:26
se6ast1an
I had a meeting with teles new external hardware production person last week to get the axiom beta panel take the next preparation steps
17:26
se6ast1an
and our OLPF filter samples are unfortunately affected by the USPS trouble in the USA right now
17:27
se6ast1an
our forwarder will or has already posted them as priority mail so the hope is that it leaves the country before more infrastructure is removed...
17:27
se6ast1an
done from my side
17:28
Bertl
great!
17:28
Bertl
vup: please go ahead and share a bit (or maybe even more :)
17:28
vup
sure
17:28
vup
so continuing from where we left of last week, we mainly worked on two fronts
17:28
vup
Using our work on gateware and software for the ft60x (the usb3 fifo chip on the usb3 plugin module), we started working on integration with the main beta gateware. Bertl modified the hdmi output gateware to instead transmit the data to the usb3 plugin module.
17:30
vup
On the usb3 plugin module side anuejn implemented a receiver for the data. To debug this receiver we also wanted to implement a way to read and write registers on the machxo2 using jtag.
17:30
vup
The previous week we had implemented such capabilities for the hdmi digitizer board (which has a artix-7 fpga) and we hoped implementing the same on the machxo2 would not be too hard.
17:31
vup
However it turns out that the jtag primitive of the machxo2 differs in a subtle but very significant way from the artix-7 one
17:32
vup
It has a 1 bit register on the tdi pin, which the artix-7 doesn't have, so a lot of time was spent debugging that (the documentation for the machxo2 primitive is basically non-existant)
17:33
vup
The other front we worked on was firmware for the remote
17:34
vup
The remote is using a pic32mz microcontroller, for which microchip provides a gcc-fork.
17:35
vup
Microchip's gcc-fork makes you pay for optimizations and is based on a really old gcc version (4.8)
17:35
vup
so we tried to make the mainline gcc work with the pic32mz.
17:36
vup
In theory this is not too hard, as the pic32mz is simply a mips m14k core, which is already supported by the mainline gcc
17:37
vup
However especially their linker contains a bunch of special handling for the pic32mz, like placing the stack somehow and generating some `data initialization tables` that are (among other things) used to initialize the interrupt controller.
17:38
vup
Currently we have basic c / c++ code working and even the current remote firmware somewhat works, but we are still unable to get interrupts to work.
17:39
vup
I am currently in the process of writing up / collecting the stuff I have done and uploading it to github, so when I have done that maybe others are interested in taking a look at that aswell.
17:39
se6ast1an
great, whats the current state with the usb3 module now?
17:40
vup
Finally we did some general work on the fw2.x, like adding the bitstreams to the github repository, fixing a but in the control daemon that broke the beta configuration and some minor general improvements / bugfixes.
17:41
vup
se6ast1an: the jtag debugging should work now, but is untested I think
17:41
vup
the receiver side (that receives the pixel data from the zynq) is fully implemented, but also untested
17:41
vup
so there are probably some bugs to be fixed there
17:42
se6ast1an
your availability is reduced now drastically IIRC but would anuejn be able to continue with the usb3 stuff?
17:42
vup
we also had some problems with a recently added feature of nmigen fifo's, that was / is broken in basically every way possible
17:42
se6ast1an
while its "hot" :)
17:43
vup
se6ast1an: Yes anu3jn should be able to continue with the usb3 stuff.
17:43
vup
And me aswell, if I find the time for it.
17:43
se6ast1an
great
17:44
se6ast1an
regarding the pic32 gcc I have to admit I have some concern about the general usefulness and "pain" that this solves but that should be discussed later/seperately
17:44
vup
Bertl: one question for you, how is the remote remote currently hooked up to the zbox?
17:44
vup
se6ast1an: sure
17:45
Bertl
the remote in our remote setup is hooked up via pickit/ICSP and serial
17:45
vup
which version of pickit?
17:45
Bertl
it is a chinese pickit2 clone
17:45
vup
is the one se6ast1an had also a chinese clone?
17:45
vup
ah on the bus back to germany we also did a bit of routing on the micro r3 mainboard, but nothing too exciting, just some further ddr3 routing.
17:46
Bertl
very likely
17:46
vup
hmm
17:46
Bertl
what's the problem/issue/idea?
17:46
vup
well I tried to use this: https://github.com/sergev/ejtagproxy
17:46
vup
to debug the remote using gdb
17:47
se6ast1an
vup you wanted to do a audio chat session with Bertl using nextcloud talk to discuss the micro r3 schematics IIRC, maybe you still find the time to do that soon
17:47
vup
however I was unable to step more than a few instructions, before something broke
17:47
Bertl
doesn't list mz devices
17:48
anuejn
I will continue to play with the usb3 module :)
17:48
vup
Bertl: also true, but considering it worked somewhat and I was able to step a single instruction, I think it would be interesting, if a other jtag / icsp adapter would work better
17:49
Bertl
well, no problem, we can try that
17:49
se6ast1an
<anuejn> I will continue to play with the usb3 module :) <- most excellent! please let me know if anything can be supplied/done/ from our side currently
17:49
Bertl
note that the pickit2 is quite solid while the pickit3 is rather problematic for open source interfaces
17:50
se6ast1an
anuejn/vup did you make any progress with the wifi usb stick kernel drivers?
17:50
vup
se6ast1an: well I don't know if I should call this progress or reverse progress :)
17:51
vup
first of all, we enabled a staging driver for one of the wifi chipsets, however for our current kernel version, that driver doesn't seem to properly support ap mode
17:52
vup
furthermore, we ran into a bunch of problems on the micro with the working usb wifi sticks, that made linux lock up / freeze when interacting with the wifi stick
17:52
vup
But I started working on updating the linux kernel, so that might help with that
17:52
vup
Bertl: I see, it also mentions you need the pickit3 with scripting firmware (not sure what that means, maybe you now more...)
17:53
Bertl
the 'scripting firmware' is basically a firmware which makes the pickit3 behave like the pickit2
17:53
se6ast1an
<vup> se6ast1an: well I don't know if I should call this progress or reverse progress :) <- I see :)
17:54
Bertl
it was released by microchip after many folks complained that the pickit3 sucks and that essential features of the pickit2 were missing
17:55
Bertl
but it was removed again and is not maintained by microchip
17:55
vup
I see
17:55
Bertl
but as I said, we can test both, original pickit2 as well as pickit3 (with scripting firmware)
17:56
vup
sounds good
17:56
Bertl
BAndiT1983 is conveniently 'away' so we won't get a report there now ...
17:57
Bertl
which leaves me with a short report on what happened during the last week
17:57
Bertl
as mentioned before, vup and anuejn visited us in Vienna and hopefully had a great time here
17:58
Bertl
after the success with the USB3 plugins and reasonably high data rates of 360+ MB/s
17:58
Bertl
we decided to adapt the Axiom Beta gateware to support the plugin module
17:59
Bertl
the modified version removes the HDMI encoding but keeps the scan mechanism (well, at least a similar one) to control data output
18:00
Bertl
basically data from memory is retrieved and sent via LVDS channels to the plugin which in turn transfers this data to the receiving side
18:00
Bertl
the new gateware was tested in a low speed configuration (25MHz) and verified by sampling with a logic analyzer and decoding the output
18:01
Bertl
once the gateware for the plugin modules will be ready to decode the data, we should be able to transfer large chunks of memory via USB3
18:02
Bertl
I also took the opportunity to dig (once again) into the gateware and besides some clean up and testing, I created a version which removes the RCN unit as well as the linearization LUTs (which are not required for raw data transfers via USB3)
18:03
Bertl
and I'm currently investigating our options regarding higher transfer rates from the sensor
18:03
Bertl
finally I got SPI working on the new firmware 2.x (which I will test and use shortly) so that userspace can interface with SPI devices over PL
18:04
Bertl
some more gateware testing is planned but we'll see how much time I find for that ...
18:05
Bertl
that's it from my side!
18:05
se6ast1an
great!
18:05
se6ast1an
many thanks, also for leading the meeting today!
18:05
Bertl
you're welcome!
18:05
se6ast1an
and everyone else who participated
18:05
Bertl
as a note to our GSoC students, as final evaluations are coming up, we will have a project discussion today and tomorrow!
18:06
Bertl
(so please stick around a little longer :)
18:36
BAndiT1983|away
changed nick to: BAndiT1983
18:57
BAndiT1983
changed nick to: BAndiT1983|away
19:28
RexOrCine
left the channel
19:46
RexOrCine
joined the channel
19:57
BAndiT1983|away
changed nick to: BAndiT1983
20:03
BAndiT1983
changed nick to: BAndiT1983|away
20:15
RexOrCine
left the channel
20:26
RexOrCine
joined the channel
20:55
RexOrCine
left the channel
20:55
RexOrCine
joined the channel
21:35
Bertl
off for now ... bbl
21:35
Bertl
changed nick to: Bertl_oO
21:48
BAndiT1983|away
changed nick to: BAndiT1983
22:37
BAndiT1983
changed nick to: BAndiT1983|away
23:21
mumptai
left the channel
23:37
illwieckz
left the channel