Post here for support on the OzzMaker SARA-R5 LTE-M GPS + 10DOF

Home Forums Forums Technical Support for the OzzMaker SARA-R5 LTE-M GPS + 10DOF Post here for support on the OzzMaker SARA-R5 LTE-M GPS + 10DOF

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #18068
    Mark Williams
    Keymaster

    Post here for support on the OzzMaker SARA-R5 LTE-M GPS + 10DOF

    Mark --OzzMaker.com --

    #18081
    mechtech
    Participant

    Just wanted to share that I started with a clean install of Raspberry Pi )S 64bit and when I went through the steps for “enabling multiplexing on the raspberry pi serial interface” I ran into a snag. In step 3. Download kernel source, it requires python2.7, apparently the OS did not come with Python2.7 installed. Using python –version and python3 –version returned the same version of 3.9.2. The library urllib2 is not available in Python3 from what I read on stackoverflow. So to solve this issue, sudo apt-get install python2.7 got me going again.

    #18082
    mechtech
    Participant

    Ok another snag, in step 4. Build the N_GSM kernel module, it is looking for /root/drivers/tty/n_gsm.ko, got a No such file or directory. A quick ls -la, showed the file as n_gsm.o, updated the command to /root/drivers/tty/n_gsm.o, and on to the next step.

    #18083
    mechtech
    Participant

    Hopefull this is the last issue, step 6. Load module and run CMUX. When running “sudo modprobe n_gsm” I get “modprobe: FATAL: Module n_gsm not found in directory /lib/modules/6.1.19-v8+”

    Went ahead and ran “sudo cmux” and it threw a message, cmux: Cannot set line dicipline. Is ‘n_gsm’ module registred?: Invalid argument”

    Now I am stuck.

    • This reply was modified 2 months, 1 week ago by mechtech.
    #18085
    mechtech
    Participant

    After some reading, realizing I need that n_gsm.ko (kernel object) file and not the n_gsm.o file. I am reading about compiling kernel modules, but that is outside of my comfort zone at the moment.

    #18087
    mechtech
    Participant

    Doing some reading to better understand how the make command works, I reran the make command from Step 4. Build the N_GSM kernel module. Looking at the output more closely, I see an error: modpost for /root/linux/drivers/tty/serial/sc16is7xx.ko undefined!

    #18123
    Alex Babij
    Participant

    Did you end up figuring out the issue? I recently had n_gsm not found in directory issue when I had had it working before, and what fixed it for me was doing ‘cp /root/linux/drivers/tty/n_gsm.ko /lib/modules/uname -r/kernel/drivers/tty/’ , then ‘depmod’ from the tutorial

    #18142
    gricey
    Participant

    Hiya folks.  I’m using the board with a RPi Zero W, running the latest stable Raspian 32-bit (bullseye based).  I followed your guide and have had everything working, but the cmux/serial connection seems super hit and miss.  Most of the time I will get cmux bomb out with ‘Cannot read /dev/serial0: Resource temporarily unavailable’.  A hard (read: pull out the power and plug it back in) power cycle sometimes fixes it, reboots dont seem to do the trick.  Any ideas?

    Cheers,

    Gricey

    • This reply was modified 1 month, 1 week ago by gricey.
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.

Blip, blop, bloop…