Search found 4874 matches
- Mon Sep 25, 2023 6:33 pm
- Forum: Interfacing (DSI, CSI, I2C, etc.)
- Topic: what is /dev/spidev0.1 and where is SPI1?
- Replies: 10
- Views: 572
Re: what is /dev/spidev0.1 and where is SPI1?
If it's working now then I'm not going to investigate further.
- Sat Sep 23, 2023 8:44 pm
- Forum: Advanced users
- Topic: github credentials for rpi-update
- Replies: 1
- Views: 289
Re: github credentials for rpi-update
Yes - use the GITHUB_API_TOKEN variable: https://github.com/Hexxeh/rpi-update#github_api_token
- Sat Sep 23, 2023 9:41 am
- Forum: Interfacing (DSI, CSI, I2C, etc.)
- Topic: what is /dev/spidev0.1 and where is SPI1?
- Replies: 10
- Views: 572
Re: what is /dev/spidev0.1 and where is SPI1?
With exactly the same config.txt as you I get all 5 spidev entries: pi@raspberrypi:~ $ ls /dev/spidev* /dev/spidev0.0 /dev/spidev0.1 /dev/spidev1.0 /dev/spidev1.1 /dev/spidev1.2 The fact that GPIOs 9-11 and 19-21 are being used by the SPI drivers doesn't show up in /sys/kernel/debug/gpio: pi@raspber...
- Fri Sep 22, 2023 9:46 pm
- Forum: Interfacing (DSI, CSI, I2C, etc.)
- Topic: what is /dev/spidev0.1 and where is SPI1?
- Replies: 10
- Views: 572
Re: what is /dev/spidev0.1 and where is SPI1?
I can't readily explain that. What else have you added to config.txt?
- Fri Sep 22, 2023 2:04 pm
- Forum: Compute Module
- Topic: Permission denied - /sys/class/leds/led0/trigger
- Replies: 4
- Views: 363
Re: Permission denied - /sys/class/leds/led0/trigger
The easiest way is to get udev to change the permissions for you. In an ideal world you would create a new group - "leds", say - arranging that the user belongs to it and that the /sys/class/leds entries are owned by it. We can make life easier for ourselves by reusing an existing group wh...
- Fri Sep 22, 2023 10:38 am
- Forum: Advanced users
- Topic: Kernel 6.1 and dts: brcm,disable-headphones removed
- Replies: 9
- Views: 1132
Re: Kernel 6.1 and dts: brcm,disable-headphones removed
So there's no misunderstanding, the firmware in our rpi-firmware repo (which is installed by "sudo rpi-update") does include support for the HAT map but does not include the HAT map itself - you'll need to add it from the Google drive link above.
- Fri Sep 22, 2023 10:06 am
- Forum: Advanced users
- Topic: Kernel 6.1 and dts: brcm,disable-headphones removed
- Replies: 9
- Views: 1132
Re: Kernel 6.1 and dts: brcm,disable-headphones removed
Note that if you have access to rpi-update in Recalbox then you can now run "sudo rpi-update pulls/5610" to install the latest kernel including the mapping for your HAT.
- Fri Sep 22, 2023 10:00 am
- Forum: Device Tree
- Topic: Adding a new i2c image sensor to RPI 4B
- Replies: 2
- Views: 260
Re: Adding a new i2c image sensor to RPI 4B
i2c10 is the numeric ID for I2C0 on the camera GPIOs, but in DT it's called "i2c_csi_dsi". You can probably get over many hurdles like this by reading one of the existing camera overlays, e.g. https://github.com/raspberrypi/linux/blob/rpi-6.1.y/arch/arm/boot/dts/overlays/imx708-overlay.dts...
- Fri Sep 22, 2023 8:20 am
- Forum: Interfacing (DSI, CSI, I2C, etc.)
- Topic: what is /dev/spidev0.1 and where is SPI1?
- Replies: 10
- Views: 572
Re: what is /dev/spidev0.1 and where is SPI1?
Documentation is available on all the overlays: pi@raspberrypi:~$ dtoverlay -h spi1-3cs Name: spi1-3cs Info: Enables spi1 with three chip select (CS) lines and associated spidev dev nodes. The gpio pin numbers for the CS lines and spidev device node creation are configurable. N.B.: spi1 is only acce...
- Fri Sep 22, 2023 8:04 am
- Forum: Advanced users
- Topic: Kernel 6.1 and dts: brcm,disable-headphones removed
- Replies: 9
- Views: 1132
Re: Kernel 6.1 and dts: brcm,disable-headphones removed
The latest rpi-update release includes firmware that understands the HAT map. The map itself will appear in future kernel releases, but for now you can download a version from here: https://drive.google.com/file/d/1VGNyPKsCuOWwxevNqEEGCGnlQUej-Cfi/view?usp=sharing The file is called "hat_map.dt...
- Thu Sep 21, 2023 3:45 pm
- Forum: Advanced users
- Topic: Kernel 6.1 and dts: brcm,disable-headphones removed
- Replies: 9
- Views: 1132
Re: Kernel 6.1 and dts: brcm,disable-headphones removed
I think I've got this mechanism working in test builds. If you give me the UUID of your HAT and the name of an overlay to load instead I can get you a trial firmware build and new "hat_map.dtb" to make it all work.
- Thu Sep 21, 2023 10:53 am
- Forum: Interfacing (DSI, CSI, I2C, etc.)
- Topic: Using gpio-poweroff with global_en for controlled power up and shutdown
- Replies: 2
- Views: 199
Re: Using gpio-poweroff with global_en for controlled power up and shutdown
[ Moved to Interfacing, since this is not about Device Tree configuration ] Users of this overlay are required to provide an external mechanism to switch off the power supply when signalled - failure to do so results in a kernel BUG, increased power consumption and undefined behaviour. This was writ...
- Wed Sep 20, 2023 6:46 pm
- Forum: Advanced users
- Topic: Videocore I2C
- Replies: 4
- Views: 280
Re: Videocore I2C
Yes, unfortunately that's just the way it is. There's a reason the dtparam to enable I2C0 is called "i2c_vc" - it's normally owned by the VideoCore VPU. Freeing up that bus for use by the ARM cores is one of many advantages of the switch to libcamera.
- Wed Sep 20, 2023 3:32 pm
- Forum: Interfacing (DSI, CSI, I2C, etc.)
- Topic: RPI 4 test pad list
- Replies: 9
- Views: 382
Re: RPI 4 test pad list
An I2C-attached GPIO then?
- Wed Sep 20, 2023 3:05 pm
- Forum: Interfacing (DSI, CSI, I2C, etc.)
- Topic: RPI 4 test pad list
- Replies: 9
- Views: 382
Re: RPI 4 test pad list
There isn't a published list, and there is no test pad on the ACT_LED signal.
- Wed Sep 20, 2023 9:05 am
- Forum: Compute Module
- Topic: Hide start up screens
- Replies: 11
- Views: 370
Re: Hide start up screens
You can suppress the PCIe link down message by adding "loglevel=3" to your cmdline.txt. Note that you should remove "quiet", or put it before "loglevel=3", because "quiet" seems to be effectively "loglevel=4" and the options are processed in reading ...
- Tue Sep 19, 2023 4:18 pm
- Forum: Compute Module
- Topic: cmProvisioner, scriptexecute.img, Passing devicetree for I2c
- Replies: 4
- Views: 194
Re: cmProvisioner, scriptexecute.img, Passing devicetree for I2c
1. What is the failure mode - no /dev/i2c-1? Or just no response? 2. What does "raspi-gpio get 0-3" return? 3. What happens when you use the same config.txt in a regular RPiOS image? Posting a kernel boot log might help to identify the problem. You really shouldn't need to create a custom ...
- Mon Sep 18, 2023 4:33 pm
- Forum: Advanced users
- Topic: Kernel 6.6.0 - PWM seems not working/available
- Replies: 7
- Views: 278
Re: Kernel 6.6.0 - PWM seems not working/available
I think we're going to do the same and add a third parameter to all affected overlays.
- Mon Sep 18, 2023 2:47 pm
- Forum: Advanced users
- Topic: Kernel 6.6.0 - PWM seems not working/available
- Replies: 7
- Views: 278
Re: Kernel 6.6.0 - PWM seems not working/available
Because the overlay is compiled in isolation, without reference to any/all of the possible base DTB/DTS files. If the "pwm:" label existed in the overlay itself then you might get a complaint of some description.Why doesn't it throw an error when compiling the overlay
- Mon Sep 18, 2023 2:25 pm
- Forum: Advanced users
- Topic: Kernel 6.6.0 - PWM seems not working/available
- Replies: 7
- Views: 278
Re: Kernel 6.6.0 - PWM seems not working/available
Code: Select all
What is the reason that #pmw-cells had to be increased to '3'? Only because of polarity?
In the usual place: Documentation/devicetree/bindings/pwm/pwm-bcm2835.txtWhere to find the dt-bindings related to this
- Mon Sep 18, 2023 2:09 pm
- Forum: Advanced users
- Topic: Kernel 6.6.0 - PWM seems not working/available
- Replies: 7
- Views: 278
Re: Kernel 6.6.0 - PWM seems not working/available
Yes - this upstream change has broken it: https://github.com/raspberrypi/linux/co ... b307b66754
We can restore the old #pwm-cells value in our tree, but I've asked the patch author and reviewer what they suggest.
We can restore the old #pwm-cells value in our tree, but I've asked the patch author and reviewer what they suggest.
- Mon Sep 18, 2023 12:56 pm
- Forum: Device Tree
- Topic: Attaching both UARTS to GPIO pins on a Raspberry Pi Zero v1.3
- Replies: 10
- Views: 289
Re: Attaching both UARTS to GPIO pins on a Raspberry Pi Zero v1.3
I guess you are right about the cost - we have previously used FTDI UART cables and FTDI JTAG adaptors, and in comparison to both of those the Debug Probe is super cheap, but there's no comparison to something that costs a dollar if all you want is a UART.
- Mon Sep 18, 2023 12:02 pm
- Forum: Device Tree
- Topic: Attaching both UARTS to GPIO pins on a Raspberry Pi Zero v1.3
- Replies: 10
- Views: 289
Re: Attaching both UARTS to GPIO pins on a Raspberry Pi Zero v1.3
Because not everyone likes the idea of discarding what seemed like perfectly good hardware until one small problem was found? Because the case isn't large enough? There are many possible reasons.
- Mon Sep 18, 2023 11:14 am
- Forum: Device Tree
- Topic: Attaching both UARTS to GPIO pins on a Raspberry Pi Zero v1.3
- Replies: 10
- Views: 289
Re: Attaching both UARTS to GPIO pins on a Raspberry Pi Zero v1.3
I'm afraid that what you are asking for is not possible - BCM2835 (and BCM2836 and BCM2837) only has one position in the range GPIO 0 to GPIO 27 (the GPIOs that appear on the 40-pin header) for each UART TX and RX, i.e. TXD0, RXD0, TXD1 and RXD1, and those positions are the same: TXD0 and TXD1 are b...
- Mon Sep 18, 2023 10:18 am
- Forum: Advanced users
- Topic: Kernel 6.1 and dts: brcm,disable-headphones removed
- Replies: 9
- Views: 1132
Re: Kernel 6.1 and dts: brcm,disable-headphones removed
It's a pity you didn't just put the name of the overlay in the EEPROM, but you are where you are. Yours isn't the only HAT with this problem, and I'm thinking we could add a table of exceptions that lists known stale HAT UUIDs (or perhaps hashes of the overlays) and the names of overlays to load ins...