cariboulabs / cariboulite

CaribouLite turns any 40-pin Raspberry-Pi into a Tx/Rx 6GHz SDR
1.06k stars 96 forks source link

Improved kernel module #192

Closed matteoserva closed 3 months ago

matteoserva commented 4 months ago
meexmachina commented 3 months ago

Thats an amazing work! Way beyond my knowledge and capability. Bravo! pulled it yesterday and started to review it (build, test). It has a few issues I noticed that we need to fix:

  1. every few "stream start/end" cycles, when we end the stream, there is a kernel oops. I suspect that *inst is NULL for some reason and the 'smi_is_active' function gets a null dereference.
  2. the low channel doesn't start consistently (sometimes it starts) and I notices it is starting only when SMIL is larger than zero (as printed out by "print_smil_registers_ext("init 5");"
  3. When we start the high channel first and then switch to the low channel the stream runs. Thanks a lot, great work!
matteoserva commented 3 months ago

I pushed a commit and fixed problem 2 and 3.

meexmachina commented 3 months ago

Did testing and it looks great. I merge it now..