Go to advanced search

by PhilE
Sat Sep 30, 2023 6:14 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: why I have six i2c nodes under /dev?
Replies: 4
Views: 122

Re: why I have six i2c nodes under /dev?

It's there, but it's called BSC (Broadcom Serial Communications, I think) - it's a licencing thing.
by PhilE
Fri Sep 29, 2023 11:18 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: why I have six i2c nodes under /dev?
Replies: 4
Views: 122

Re: why I have six i2c nodes under /dev?

Running "i2cdetect -l" (lowercase L) will show you a less comprehensive, less readable version of that answer.
by PhilE
Fri Sep 29, 2023 9:20 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Software Hardware UART on 4B and 1B
Replies: 3
Views: 111

Re: Software Hardware UART on 4B and 1B

If you are only interested in UARTs accessible from the 40-pin header then the answer is 5, for the reason you gave. Bluetooth will make use of the other, inaccessible UART, but not WiFi.
by PhilE
Fri Sep 29, 2023 4:31 pm
Forum: Device Tree
Topic: Adding a new i2c image sensor to RPI 4B
Replies: 5
Views: 366

Re: Adding a new i2c image sensor to RPI 4B

That message is just reporting that the firmware hasn't detected any cameras, and therefore not automatically loaded any camera overlays. This isn't surprising - it has no way to know what is a camera except for the ones it has been specifically told about, i.e. the first-party cameras. Once you've ...
by PhilE
Fri Sep 29, 2023 10:01 am
Forum: Advanced users
Topic: Simplest way to do a fresh install on /dev/sda
Replies: 5
Views: 254

Re: Simplest way to do a fresh install on /dev/sda

The rpi-imager net installer that kerry_s refers to is built into the EEPROM bootloader (or at least the means to download it are) - just hold down the Shift key on a USB keyboard when you power it on.
by PhilE
Fri Sep 29, 2023 8:36 am
Forum: General discussion
Topic: Raspberry Pi 5 Miscro SD Card Capacity
Replies: 8
Views: 541

Re: Raspberry Pi 5 Miscro SD Card Capacity

On Pi 3 you would add "dtparam=sd_overclock=100" (or a number of your choice) to set the SDIO bus speed to (say) 100MHz. This is totally out of spec for a bog standard SD card but some could cope with it. Note that there are limited clock speeds available due to a requirement for integer d...
by PhilE
Fri Sep 29, 2023 8:32 am
Forum: General discussion
Topic: Raspberry Pi 5 Miscro SD Card Capacity
Replies: 8
Views: 541

Re: Raspberry Pi 5 Miscro SD Card Capacity

Hmmm, I just saw Gordon's SSD-equipped Pi 5 boot to desktop in about 10s - perhaps my SD card is just too basic or knackered. If I have a message now it's that your mileage may vary, but it feels much snappier than a Pi 4.
by PhilE
Fri Sep 29, 2023 8:23 am
Forum: General discussion
Topic: Raspberry Pi 5 Miscro SD Card Capacity
Replies: 8
Views: 541

Re: Raspberry Pi 5 Miscro SD Card Capacity

I don't know where that 7s figure came from, but that seems totally unrealistic. BL31, the Pi 5 version of the old armstubs, only starts at around 7-8 seconds, and on a vanilla system I get to a usable desktop image (and serial console) in just under 20 seconds. Booting to console on the normal imag...
by PhilE
Thu Sep 28, 2023 7:32 pm
Forum: Advanced users
Topic: Boot Order on Volumio Primo
Replies: 4
Views: 200

Re: Boot Order on Volumio Primo

The manufacturer of the hardware you are using.
by PhilE
Thu Sep 28, 2023 4:51 pm
Forum: Advanced users
Topic: Boot Order on Volumio Primo
Replies: 4
Views: 200

Re: Boot Order on Volumio Primo

Boot from SPI on a 3B+? Are you sure? The boot order is fixed in the ROM, and if Nand boot is enabled it happens before the SD card. Your best bet might be to work out which GPIOs are being used to SPI boot and forcibly pull the lines high. Do try and avoid setting OTP bits - even if you find the ri...
by PhilE
Thu Sep 28, 2023 3:26 pm
Forum: Device Tree
Topic: Kernel 6.5.5 - PWM fan control via hwmon no longer working
Replies: 15
Views: 366

Re: Kernel 6.5.5 - PWM fan control via hwmon no longer working

You misunderstand. The lower of the two commits is the new HEAD, which is the point at which the tests passed (hence the green tick), but both have been merged - see https://github.com/raspberrypi/linux/commits/rpi-6.5.y.
by PhilE
Thu Sep 28, 2023 3:04 pm
Forum: Device Tree
Topic: Kernel 6.5.5 - PWM fan control via hwmon no longer working
Replies: 15
Views: 366

Re: Kernel 6.5.5 - PWM fan control via hwmon no longer working

Now I'm confused! https://github.com/raspberrypi/linux/pu ... 04ee23272e is not stated in the merge.
Pardon?
by PhilE
Thu Sep 28, 2023 2:03 pm
Forum: Device Tree
Topic: Kernel 6.5.5 - PWM fan control via hwmon no longer working
Replies: 15
Views: 366

Re: Kernel 6.5.5 - PWM fan control via hwmon no longer working

That patch is now merged to rpi-6.5.y.

While this is fresh in my memory I'm looking at rpi-6.6.y because the hysteresis support was dropped due to upstream changes.
by PhilE
Thu Sep 28, 2023 12:35 pm
Forum: Advanced users
Topic: Simplest way to do a fresh install on /dev/sda
Replies: 5
Views: 254

Re: Simplest way to do a fresh install on /dev/sda

An easier method would be to simply place the normal install image on a USB stick, but how would I get the system to boot from the USB stick in preference to the SSD? You can edit the EEPROM configuration settings to change the boot order using "sudo rpi-eeprom-config --edit" before reboo...
by PhilE
Thu Sep 28, 2023 10:56 am
Forum: Device Tree
Topic: Kernel 6.5.5 - PWM fan control via hwmon no longer working
Replies: 15
Views: 366

Re: Kernel 6.5.5 - PWM fan control via hwmon no longer working

Got it - there's an uninitialised variable in the hysteresis support. Here's a Pull Request for a fix in our rpi-6.5.y branch: https://github.com/raspberrypi/linux/pull/5617 If you wait an hour you should be able to install a trial fix with "sudo rpi-update pulls/5617". Alternatively you c...
by PhilE
Wed Sep 27, 2023 2:29 pm
Forum: Device Tree
Topic: Kernel 6.5.5 - PWM fan control via hwmon no longer working
Replies: 15
Views: 366

Re: Kernel 6.5.5 - PWM fan control via hwmon no longer working

PWM fan control seems to have been broken in rpi-6.3.y - it still works in rpi-6.2.y. The effect is that cooling device is permanently in state 4, i.e. with the fan running full speed.

Digging deeper...
by PhilE
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: 622

Re: what is /dev/spidev0.1 and where is SPI1?

If it's working now then I'm not going to investigate further.
by PhilE
Sat Sep 23, 2023 8:44 pm
Forum: Advanced users
Topic: github credentials for rpi-update
Replies: 1
Views: 313

Re: github credentials for rpi-update

Yes - use the GITHUB_API_TOKEN variable: https://github.com/Hexxeh/rpi-update#github_api_token
by PhilE
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: 622

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...
by PhilE
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: 622

Re: what is /dev/spidev0.1 and where is SPI1?

I can't readily explain that. What else have you added to config.txt?
by PhilE
Fri Sep 22, 2023 2:04 pm
Forum: Compute Module
Topic: Permission denied - /sys/class/leds/led0/trigger
Replies: 4
Views: 377

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...
by PhilE
Fri Sep 22, 2023 10:38 am
Forum: Advanced users
Topic: Kernel 6.1 and dts: brcm,disable-headphones removed
Replies: 9
Views: 1145

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.
by PhilE
Fri Sep 22, 2023 10:06 am
Forum: Advanced users
Topic: Kernel 6.1 and dts: brcm,disable-headphones removed
Replies: 9
Views: 1145

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.
by PhilE
Fri Sep 22, 2023 10:00 am
Forum: Device Tree
Topic: Adding a new i2c image sensor to RPI 4B
Replies: 5
Views: 366

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...
by PhilE
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: 622

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...

Go to advanced search