Go to advanced search

by rascol
Fri May 08, 2020 3:16 am
Forum: C/C++
Topic: Set high, low in kernel code not getting to GPIO
Replies: 2
Views: 311

Re: Set high, low in kernel code not getting to GPIO

That is the confusion. The output is appearing on GPIO 22 not pin 22.
Thanks for catching the error.
by rascol
Thu May 07, 2020 8:59 pm
Forum: C/C++
Topic: Set high, low in kernel code not getting to GPIO
Replies: 2
Views: 311

Set high, low in kernel code not getting to GPIO

I'm revising a loadable module I wrote some time ago. I'm not able to set gpio pins high and low. The kernel code is what you would expect. test is a global var. gpio_out is gpio pin 22. This code frag is called once per second. Should toggle pin 22 high then low every other second. The printk to dm...
by rascol
Sat Mar 21, 2020 7:21 pm
Forum: Raspberry Pi OS
Topic: chkconfig problems in 2020-02-13-raspbian-buster
Replies: 2
Views: 347

chkconfig problems in 2020-02-13-raspbian-buster

Raspbian 2020-02-13 doesn't come with the initscripts package preinstalled. This appears to be an unintentional omission because these scripts are required by chkconfig and are not automatically installed when chkconfig is installed. However, even after initscripts and chkconfig are installed with a...
by rascol
Wed Feb 26, 2020 11:32 pm
Forum: Raspberry Pi OS
Topic: Compiling a loadable module
Replies: 2
Views: 307

Compiling a loadable module

A year ago I was able to compile a loadable module against a downloaded identical version of the Linux kernel and insmod would successfully load the module. That no longer works. I suspect that the kernel is at present being compiled with CONFIG_MODVERSIONS. Is that true? If so, where can I find the...
by rascol
Mon Jan 30, 2017 7:19 pm
Forum: Advanced users
Topic: Linux kernel is now 4.4
Replies: 114
Views: 75618

Re: Linux kernel is now 4.4

Outstanding DirkS. Thanks.
by rascol
Mon Jan 30, 2017 6:07 pm
Forum: Advanced users
Topic: Linux kernel is now 4.4
Replies: 114
Views: 75618

Re: Linux kernel is now 4.4

The earlier sources can be found at "https://github.com/raspberrypi/linux/commits/rpi-4.4.y" by searching down through the commits until, for example, "Linux 4.4.44" is found and then clicking on it.
by rascol
Mon Jan 30, 2017 4:16 pm
Forum: Advanced users
Topic: Linux kernel is now 4.4
Replies: 114
Views: 75618

Missing Files in 4.4 kernel source

I've written a program that required a kernel driver. For that reason the program has to be compiled against the version-specific kernel build system of the Raspian OS on which the program will be run - a bit of a pain but not a show stopper. However, in attempting to retrieve the sources for Linux ...
by rascol
Mon Jun 29, 2015 2:11 pm
Forum: Troubleshooting
Topic: NTP client script kills PPS
Replies: 0
Views: 363

NTP client script kills PPS

I'm wondering if anyone else has seen this problem. I'm syncing the clock of an RPi with a PPS on GPIO18 using NTP. The RPi is a Raspberry Pi 2 Model B with a 3.18 kernel. The NTP version is 4.2.8p2. After a lot of tial and error (mostly error!) I got NTP to respond correctly to the PPS clock. The o...
by rascol
Sat Jun 13, 2015 3:25 pm
Forum: Bare metal, Assembly language
Topic: RTOS - which? status?
Replies: 6
Views: 3801

Re: RTOS - which? status?

thetechnobear wrote: Hi, Im looking at using a RTOS on the PI2, and being looking around, and found talk of: - Chibios - FreeRTOS - BitThunder - based off FreeRTOS(?) my project is based around a USB connectivity, including MIDI class compliance, so Id like the low level USB HAL if possible, ethern...
by rascol
Sat Jun 13, 2015 1:44 pm
Forum: Bare metal, Assembly language
Topic: STICKY: Bare Metal resources
Replies: 28
Views: 125021

Re: bare metal resources

by rascol
Wed Jun 03, 2015 10:07 pm
Forum: Camera board
Topic: Raw sensor access / CSI-2 receiver peripheral
Replies: 646
Views: 215385

Re: Raw sensor access / CSI-2 receiver peripheral

6by9 wrote: rascol wrote: Thanks for responding greenarchon. Your suggestion is correct. But I had one additional problem. I was using a real-time kernel, http://docs.emlid.com/Downloads/Real-time-Linux-RPi2/. This one does not appear to support /dev/i2c-0. After reverting back to the current Raspi...
by rascol
Wed Jun 03, 2015 3:03 pm
Forum: Camera board
Topic: Raw sensor access / CSI-2 receiver peripheral
Replies: 646
Views: 215385

Re: Raw sensor access / CSI-2 receiver peripheral

greenarchon wrote: rascol wrote: At the moment the only i2c device on my RPi 2 is /dev/i2c-1 and so far no luck in getting a /dev/i2c-0 device working. Is it possible to get raw sensor access working on ic2-1 instead? Or do I have to first get ic2-0 going? Did you set dtparam=i2c0=on (and not dtpara...
by rascol
Tue Jun 02, 2015 4:15 pm
Forum: Camera board
Topic: Raw sensor access / CSI-2 receiver peripheral
Replies: 646
Views: 215385

Re: Raw sensor access / CSI-2 receiver peripheral

At the moment the only i2c device on my RPi 2 is /dev/i2c-1 and so far no luck in getting a /dev/i2c-0 device working. Is it possible to get raw sensor access working on ic2-1 instead? Or do I have to first get ic2-0 going?

Go to advanced search