paulzx14

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #18383
    paulzx14
    Participant

    Hi,

    Thanks for all the help, much appreciated, but I’ve tried it every way I can, (without a complete re-install of the OS).
    Still no joy, and I need to make some progress with the rest of the project so I’ve decided to return the module and use separate Qwiic connected components instead.

    I do appreciate the time and effort you have put in trying to get it working, but I’m on the limit of my understanding at this point and don’t want to take up anymore your time.

    Thanks for all the help,
    Regards,
    Paul.

    #18376
    paulzx14
    Participant

    Hi,

    I tried it, but the same error I think.

    Just check I did it right tho..

    I basically replaced this step… “wget -O /usr/bin/rpi-source https://raw.githubusercontent.com/ozzmaker/rpi-source/master/rpi-source” with “sudo apt-get install raspberrypi-kernel-headers”.

    Then tried this step “make -C /lib/modules/$(uname -r)/build M=$(pwd) -e CONFIG_N_GSM=m modules”

    which produced pages of the same error, which ended in …..

    —————————————————————–

    …….. In file included from ./include/linux/mmzone.h:19,

    from ./include/linux/gfp.h:7,

    from ./include/linux/xarray.h:15,

    from ./include/linux/radix-tree.h:21,

    from ./include/linux/idr.h:15,

    from ./include/linux/kernfs.h:12,

    from ./include/linux/sysfs.h:16,

    from ./include/linux/kobject.h:20,

    from ./include/linux/energy_model.h:7,

    from ./include/linux/device.h:16,

    from /root/linux/drivers/tty/serial/sc16is7xx.c:14:

    ./include/linux/page-flags-layout.h: At top level:

    ./include/linux/page-flags-layout.h:6:10: fatal error: generated/bounds.h: No such file or directory

    6 | #include <generated/bounds.h>

    |          ^~~~~~~~~~~~~~~~~~~~

    compilation terminated.

    make[2]: *** [scripts/Makefile.build:250: /root/linux/drivers/tty/serial/sc16is7xx.o] Error 1

    make[2]: Leaving directory ‘/root/linux-0afb5e98488aed7017b9bf321b575d0177feb7ed’

    make[1]: *** [scripts/Makefile.build:500: /root/linux/drivers/tty/serial] Error 2

    make[1]: Leaving directory ‘/root/linux-0afb5e98488aed7017b9bf321b575d0177feb7ed’

    make: *** [Makefile:2012: /root/linux/drivers/tty] Error 2

    make: Leaving directory ‘/root/linux-0afb5e98488aed7017b9bf321b575d0177feb7ed’

    ———————————————————————————————

    Let me know if I did something wrong, as what these steps are doing are a bit beyond my level of understanding!

    Thanks,

    Paul.

     

    #18365
    paulzx14
    Participant

    No problem.

    Kind regards,

    Paul

    #18363
    paulzx14
    Participant

    Hi,

    Again, thanks for the help.

    I don’t really want to rebuild the OS and loose all the mods I’ve made so far.

    Does this mean the SARA-R5 will only work on a 32bit OS?

    If so, is there a way around it?

    Regards, Paul.

    #18361
    paulzx14
    Participant

    Hi,

    I tried the next step which is the “Build the N-GSM Kernal module” (the line that says “make -C /lib/modules/$(uname -r)/build M=$(pwd) -e CONFIG_N_GSM=m modules”

    …and it throws up pages of warnings, the last section of which looks like this….

    ————————————————————————

    ./arch/arm64/include/asm/memory.h:231:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

    231 |  u64 __addr = (__force u64)(addr);     \

    |               ^

    ./arch/arm64/include/asm/signal.h:21:9: note: in expansion of macro ‘untagged_addr’

    21 |  return untagged_addr(addr);

    |         ^~~~~~~~~~~~~

    ./arch/arm64/include/asm/memory.h:233:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

    233 |  (__force __typeof__(addr))__addr;    \

    |  ^

    ./arch/arm64/include/asm/signal.h:21:9: note: in expansion of macro ‘untagged_addr’

    21 |  return untagged_addr(addr);

    |         ^~~~~~~~~~~~~

    In file included from ./include/linux/mmzone.h:19,

    from ./include/linux/gfp.h:7,

    from ./include/linux/xarray.h:15,

    from ./include/linux/radix-tree.h:21,

    from ./include/linux/idr.h:15,

    from ./include/linux/kernfs.h:12,

    from ./include/linux/sysfs.h:16,

    from ./include/linux/kobject.h:20,

    from ./include/linux/energy_model.h:7,

    from ./include/linux/device.h:16,

    from /root/linux/drivers/tty/serial/sc16is7xx.c:14:

    ./include/linux/page-flags-layout.h: At top level:

    ./include/linux/page-flags-layout.h:6:10: fatal error: generated/bounds.h: No such file or directory

    6 | #include <generated/bounds.h>

    |          ^~~~~~~~~~~~~~~~~~~~

    compilation terminated.

    make[2]: *** [scripts/Makefile.build:250: /root/linux/drivers/tty/serial/sc16is7xx.o] Error 1

    make[2]: Leaving directory ‘/root/linux-0afb5e98488aed7017b9bf321b575d0177feb7ed’

    make[1]: *** [scripts/Makefile.build:500: /root/linux/drivers/tty/serial] Error 2

    make[1]: Leaving directory ‘/root/linux-0afb5e98488aed7017b9bf321b575d0177feb7ed’

    make: *** [Makefile:2012: /root/linux/drivers/tty] Error 2

    make: Leaving directory ‘/root/linux-0afb5e98488aed7017b9bf321b575d0177feb7ed’

    #18360
    paulzx14
    Participant

    Hi,

    Thanks for the help.

    I just tried the above method and got the following response, so I guess I did try it before.

    If this is ok (altho I did get pages of errors when I tried originally) how can I tell if it did actually work?.

    Thanks again,

    Paul.

    ————————–

    *** SoC: BCM2711

    *** Using: /usr/share/doc/raspberrypi-bootloader/changelog.Debian.gz

    *** Latest firmware revision: 055e044d5359ded1aacc5a17a8e35365373d0b8b

    *** Linux source commit: 0afb5e98488aed7017b9bf321b575d0177feb7ed

    *** Kernel source already installed: /root/linux-0afb5e98488aed7017b9bf321b575d0177feb7ed

    #18358
    paulzx14
    Participant

    Hi,

    I think I did as one off my many attempts to get it working.

    I’m away at the moment but will try again on Monday.

    I’ll let you know if it works, and thanks for the help

    Regards,

    Paul.

    #18351
    paulzx14
    Participant

    Hi,

    Thanks for the reply…

    Uname returns:

    Linux Rpi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux

    Does that help?.

    I saw the same problem on here, and the suggestion was that the Python version is ‘3’ on the Rpi4, but the instructions seem to want Python V2.7?

    All help greatly appreciated.

    Thanks,

    Paul

    #18340
    paulzx14
    Participant

    Hi,

    I tried to use the enable multi-plexing option on the Sara-R5 but ran into a whole host of compile errors.

    I’m using a RPi 4 with Bullseye and have no idea how to fix it.

    Please can someone contact me and let me know what to?

    Thanks,

    Paul.

    #18338
    paulzx14
    Participant

    Hi,

    I have the exact same problem on the same OS (Rpi version 4), and am completely stuck.

    Did anyone advise how to get over the compile errors?

    Thanks,

    Paul.

Viewing 10 posts - 1 through 10 (of 10 total)

Blip, blop, bloop…