Go to advanced search

by PhilE
Fri Feb 07, 2020 2:37 pm
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 20489

Re: [SOLVED] CM3 Plus and WiFi/BT CYW43455

Post the overlay(s) you are trying to use - don't make me guess.
by PhilE
Thu Feb 06, 2020 2:48 pm
Forum: Compute Module
Topic: Compute Module 4
Replies: 11
Views: 12494

Re: Compute Module 4

Only BCM2711 can address more than 1GB, and BCM2711 is far from a drop-in replacement for BCM2837.
by PhilE
Wed Feb 05, 2020 5:46 pm
Forum: Device Tree
Topic: Overlay able to use external pwm channel?
Replies: 4
Views: 877

Re: Overlay able to use external pwm channel?

You have a few options: 1. Simple but ugly on the outside - multiple overlays. 2. Ugly on the inside - use the "__dormant__" feature to hide fragments, and a parameter with the magic "<0>" target to enable and disable fragments. 3. Advanced - use the new "literal assignments" feature to patch the pw...
by PhilE
Wed Feb 05, 2020 5:18 pm
Forum: Device Tree
Topic: Overlay able to use external pwm channel?
Replies: 4
Views: 877

Re: Overlay able to use external pwm channel?

You've got several questions in here, so I'll try to pull them apart and answer them in order: 1. How do you refer to something added in one overlay from another? In an ideal world you would be able to create a label in one overlay and refer to it from another. This is technically possible - the ove...
by PhilE
Wed Feb 05, 2020 3:09 pm
Forum: Compute Module
Topic: MAC Address of Compute Module
Replies: 2
Views: 709

Re: MAC Address of Compute Module

You have the option of putting unique MAC addresses in OTP - see https://www.raspberrypi.org/forums/view ... p?t=231700 for details.
by PhilE
Tue Jan 28, 2020 10:41 am
Forum: Compute Module
Topic: [SOLVED] Question regarding the Broadcom BCM2837B0 Cortex A-53 processor instruction set
Replies: 2
Views: 449

Re: Question regarding the Broadcom BCM2837B0 Cortex A-53 processor instruction set

"cat /proc/cpuinfo" shows the list of supported "Features:". The complete list of potential features is: static const char *hwcap_str[] = { "swp", "half", "thumb", "26bit", "fastmult", "fpa", "vfp", "edsp", "java", "iwmmxt", "crunch", "thumbee", "neon", "vfpv3", "vfpv3d16", "tls", "vfpv4", "idiva", ...
by PhilE
Mon Jan 27, 2020 6:35 pm
Forum: Compute Module
Topic: CM3 and Display Touch I2C Controller
Replies: 13
Views: 1738

Re: CM3 and Display Touch I2C Controller

How to make sure gpio=2,3=ip can no be overwritten by the kernel?
You would need a modified overlay that doesn't claim those pins. Alternatively, don't use the overlay and do it all using gpio declarations in config.txt.
by PhilE
Mon Jan 27, 2020 2:11 pm
Forum: Compute Module
Topic: eMMC Backup
Replies: 5
Views: 951

Re: eMMC Backup

The "<whatever>" is likely to be "/dev/mmblk0" for the whole EMMC.
by PhilE
Mon Jan 27, 2020 2:11 pm
Forum: Compute Module
Topic: CM3 and Display Touch I2C Controller
Replies: 13
Views: 1738

Re: CM3 and Display Touch I2C Controller

You wrote: gpio 28 TOUCH SDA gpio 30 TOUCH SCL I'm going to assume this is a typo and that GPIO29 is SCL, since everything else seems to fit. Also, there is no attachment. I'm not a fan of all those gpio declarations in config.txt - they have their place sometimes, but I think you could get rid of m...
by PhilE
Mon Jan 27, 2020 1:12 pm
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 20489

Re: CM3 Plus and WiFi/BT CYW43455

Create a new thread for each new issue, please. It makes it easier for us to track open issues, and it avoids spamming anybody who was only interested in the original topic.
by PhilE
Sat Jan 25, 2020 11:22 am
Forum: Compute Module
Topic: eMMC Backup
Replies: 5
Views: 951

Re: eMMC Backup

Use dd? Something like:

Code: Select all

$ sudo dd if=/dev/whatever of=backup.img bs=128k
by PhilE
Fri Jan 24, 2020 9:17 am
Forum: Compute Module
Topic: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"
Replies: 29
Views: 5052

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

The hardware has arrived (I'm assuming it's yours - I'm not expecting anything else) - now we need some instructions on how to reproduce the fault.
by PhilE
Thu Jan 23, 2020 8:01 am
Forum: Compute Module
Topic: Custom CM3 carrier board cannot boot from USB mass storage
Replies: 6
Views: 856

Re: Custom CM3 carrier board cannot boot from USB mass storage

Attaching a schematic of your carrier would prevent this thread from turning into a game of Twenty Questions.
by PhilE
Wed Jan 22, 2020 5:07 pm
Forum: Compute Module
Topic: CM3 ACT LED no longer blinking with mmc activity?
Replies: 26
Views: 7603

Re: CM3 ACT LED no longer blinking with mmc activity?

We got there in the end, and that's what matters.
by PhilE
Wed Jan 22, 2020 10:26 am
Forum: Compute Module
Topic: CM3 ACT LED no longer blinking with mmc activity?
Replies: 26
Views: 7603

Re: CM3 ACT LED no longer blinking with mmc activity?

The built-in dt-blob for CM3 is identical to the one in the firmware repo. Both show that GPIO47 is used for I2C control of the SMPS. Neither declares the ACT LED to the firmware - it is bcm2710-rpi-cm3.dtb that declares it to Linux as being an active low signal attached to the "virtgpio" interface ...
by PhilE
Wed Jan 22, 2020 9:22 am
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 20489

Re: CM3 Plus and WiFi/BT CYW43455

You need to free up some space, then retry the update.
by PhilE
Wed Jan 22, 2020 8:59 am
Forum: Compute Module
Topic: CM3 ACT LED no longer blinking with mmc activity?
Replies: 26
Views: 7603

Re: CM3 ACT LED no longer blinking with mmc activity?

The canonical published dt-blob.dts is hosted in our firmware repo: https://github.com/raspberrypi/firmware ... t-blob.dts
by PhilE
Tue Jan 21, 2020 7:14 pm
Forum: Compute Module
Topic: CM3 ACT LED no longer blinking with mmc activity?
Replies: 26
Views: 7603

Re: CM3 ACT LED no longer blinking with mmc activity?

The Act LED is solid green on the devboard & CM3 when the system is operating with a dt-blob.bin and is working as expected without dt-blob.bin file. That suggests the dt-blob.bin has incorrect content. Where did you get the source for the dt-blob.bin (or the binary if you didn't compile it yoursel...
by PhilE
Tue Jan 21, 2020 12:38 pm
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 20489

Re: CM3 Plus and WiFi/BT CYW43455

Multiply mapping alternate functions often fails - output only pins are usually OK, but for input pins it goes horribly wrong. This is important because the firmware has always had mechanisms to enable the correct UART alt function if enable_uart=1, a task which is straightforward until DT overlays ...
by PhilE
Sun Jan 19, 2020 10:27 pm
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 20489

Re: CM3 Plus and WiFi/BT CYW43455

Either "sudo vcdbg log msg" or "dmesg -l err" should give a clue.
by PhilE
Fri Jan 17, 2020 1:52 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S clock rate question
Replies: 2
Views: 298

Re: I2S clock rate question

[ Split off into a separate topic ]
by PhilE
Wed Jan 15, 2020 10:29 am
Forum: Compute Module
Topic: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"
Replies: 29
Views: 5052

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

4.19 and 4.14 are virtually identical with regards to the spi-bcm2835 driver. 4.19 has a bug fix for 3-wire mode and supports shared interrupts, but that's it. It's more likely that a change elsewhere in the kernel (interrupt handling, for example) could have caused a regression. One option for you ...
by PhilE
Tue Jan 14, 2020 1:11 pm
Forum: Compute Module
Topic: CM3+ EMMC Corruptions?
Replies: 7
Views: 927

Re: CM3+ EMMC Corruptions?

Sometimes when it is powered up or rebooted it seems like the data has corrupted on the EMMC, however other times it boots up perfectly fine. To avoid any confusion, do you always have to fix the corruption before it will boot successfully? In other words, is this occasional corruption caused by a ...
by PhilE
Tue Jan 14, 2020 11:38 am
Forum: Device Tree
Topic: Pi-4 Activating additional UART ports
Replies: 78
Views: 36003

Re: Pi-4 Activating additional UART ports

I wrote:
(at the point of probing, which is after the "gpio ..." handling)
by PhilE
Tue Jan 14, 2020 11:05 am
Forum: Device Tree
Topic: Pi-4 Activating additional UART ports
Replies: 78
Views: 36003

Re: Pi-4 Activating additional UART ports

Did I understand right, that without a customized dt-blob, (I will not yet go into the experience of compiling a new one yet), the HAT probing will occur anyway? No, not if you have used the gpio directive to change to some pin function other than input. And if you haven't used either a custom dt-b...

Go to advanced search