Go to advanced search

by PhilE
Thu Jul 18, 2019 1:00 pm
Forum: Device Tree
Topic: DPI displays - dpi24 overlay fails on RPi4
Replies: 18
Views: 541

Re: DPI displays - dpi24 overlay fails on RPi4

That's a different problem. Can you open an issue in the Firmware repo?
by PhilE
Thu Jul 18, 2019 8:50 am
Forum: Compute Module
Topic: I2C problem
Replies: 4
Views: 117

Re: I2C problem

1) dpi24 will try to claim GPIOs 0-27. If it is tried first by the kernel (the kernel loading order is not affected by the order of the dtoverlay lines in config.txt) then it will prevent the I2C devices from loading because it has stolen the GPIOs they need. Remove or comment out "dtoverlay=dpi24" ...
by PhilE
Wed Jul 17, 2019 3:36 pm
Forum: Announcements
Topic: Updated bootloader for Raspberry Pi 4
Replies: 0
Views: 1096

Updated bootloader for Raspberry Pi 4

We are about to release a new version of the Pi4 bootloader. Along with some minor bug fixes this resolves a potential problem for some HATS in the halt state due to the change to power off rather than switching to the low power state. This release now changes the behaviour to be the same as earlier...
by PhilE
Wed Jul 17, 2019 8:03 am
Forum: Compute Module
Topic: I2C problem
Replies: 4
Views: 117

Re: I2C problem

We are currently lacking overlays that only change the pin usage for i2c0 and i2c1 - I'll be adding them shortly, to match the overlays for the new Pi4 I2C controllers, but in the meantime you can use either "dtoverlay=i2c0-bcm2708,pins_44_45" for i2c0 or "dtoverlay=i2c1-bcm2708,sda1_pin=44,scl1_pin...
by PhilE
Tue Jul 16, 2019 11:58 am
Forum: Device Tree
Topic: DPI displays - dpi24 overlay fails on RPi4
Replies: 18
Views: 541

Re: DPI displays - dpi24 overlay fails on RPi4

It's a test overlay, uploaded to Google Drive for download shortly before my post. If it solves the problem it will become part of the standard releases.
by PhilE
Tue Jul 16, 2019 11:36 am
Forum: Device Tree
Topic: DPI displays - dpi24 overlay fails on RPi4
Replies: 18
Views: 541

Re: DPI displays - dpi24 overlay fails on RPi4

Read my post above.
by PhilE
Tue Jul 16, 2019 10:58 am
Forum: Device Tree
Topic: DPI displays - dpi24 overlay fails on RPi4
Replies: 18
Views: 541

Re: DPI displays - dpi24 overlay fails on RPi4

And with the updated overlay?
by PhilE
Tue Jul 16, 2019 10:11 am
Forum: Device Tree
Topic: DPI displays - dpi24 overlay fails on RPi4
Replies: 18
Views: 541

Re: DPI displays - dpi24 overlay fails on RPi4

The problem with the dpi24 overlays is that it hangs its pinmux changes to the framebuffer "fb" node. Pi 4 relies on the vc4-fkms-v3d overlay being applied which disables the old framebuffer and any associated pinmux settings. A fix for this is for the dpi24 overlay to hedge its bets and attach to b...
by PhilE
Sun Jul 14, 2019 8:49 pm
Forum: Compute Module
Topic: CM3 Plus and WiFi/BT CYW43455
Replies: 3
Views: 226

Re: CM3 Plus and WiFi/BT CYW43455

dtoverlay=sdio,gpios_34_39 should be enough to enable WiFi. Configuring a UART to use pins 30-33 will need a custom overlay, but it should be fairly simple. I'm not a hardware engineer, but you may need to be careful with the SDIO signals - 50MHz is quite fast; the overlay for the Balena Fin board ...
by PhilE
Thu Jul 11, 2019 1:05 pm
Forum: Compute Module
Topic: Issues with camera v2 and jessie lite?
Replies: 43
Views: 25524

Re: Issues with camera v2 and jessie lite?

I appreciate you wanting to help, but you should definitely check the age of the thread before posting. Your replay was to a thread where the last post was almost three years ago, which some folks around these forums would call "necromancy".
by PhilE
Wed Jul 10, 2019 1:04 pm
Forum: Device Tree
Topic: USB Device URI - how to find this
Replies: 2
Views: 120

Re: USB Device URI - how to find this

Or it could just be:

Code: Select all

Usage: demo  <uri> <command> [args]
In which case you should use:

Code: Select all

$ ./demo tmr:///dev/USB004 <cmd>
by PhilE
Wed Jul 10, 2019 1:02 pm
Forum: Device Tree
Topic: USB Device URI - how to find this
Replies: 2
Views: 120

Re: USB Device URI - how to find this

That usage information looks strange. Perhaps they mean:

Code: Select all

Usage: demo reader-uri <uri> <command> [args]
Try this instead:

Code: Select all

$ ./demo reader-uri tmr:///dev/USB004 <cmd>
where <cmd> is a valid command.
by PhilE
Tue Jul 09, 2019 11:45 am
Forum: Device Tree
Topic: Pi-4 Activating additional UART ports
Replies: 16
Views: 623

Re: Pi-4 Activating additional UART ports

You need one dtoverlay= for each overlay. Anything else on the line is treated as a parameter. If you don't want to use the flow control signals then a fully loaded system would be: dtoverlay=uart2 dtoverlay=uart3 dtoverlay=uart4 dtoverlay=uart5 I'm sure you can guess how to enable flow control for ...
by PhilE
Tue Jul 09, 2019 9:57 am
Forum: Device Tree
Topic: Pi-4 Activating additional UART ports
Replies: 16
Views: 623

Re: Pi-4 Activating additional UART ports

Do you feel there is some information missing from the posts above?
by PhilE
Tue Jul 09, 2019 7:55 am
Forum: Device Tree
Topic: raspberry pi 4 gpio uart (ttyS0) not working like 3B+
Replies: 5
Views: 388

Re: raspberry pi 4 gpio uart (ttyS0) not working like 3B+

That's good to hear. We've been through a number of clocking changes with the 4B, but things are settling down now.
by PhilE
Sat Jul 06, 2019 9:51 pm
Forum: Device Tree
Topic: Pi-4 Activating additional UART ports
Replies: 16
Views: 623

Re: Pi-4 Activating additional UART ports

The default kernel command line includes console=serial0, which the firmware translates to ttyAMA0 or ttyS0 as necessary. I don't think it would be appropriate to automatically create consoles on all enabled UARTs - many people would want to use them for something else.
by PhilE
Sat Jul 06, 2019 8:42 pm
Forum: Device Tree
Topic: Pi-4 Activating additional UART ports
Replies: 16
Views: 623

Re: Pi-4 Activating additional UART ports

sudo apt-get install raspi-gpio
by PhilE
Sat Jul 06, 2019 7:53 pm
Forum: Device Tree
Topic: Pi-4 Activating additional UART ports
Replies: 16
Views: 623

Re: Pi-4 Activating additional UART ports

To create a console on a UART, add "console=ttyAMAn,115200" to /boot/cmdline.txt, where n is a small integer - look in /dev to get the right number.

All 4 extra UARTs can be used at the same time provided their pins don't clash with something else you need.
by PhilE
Sat Jul 06, 2019 7:42 am
Forum: Device Tree
Topic: Pi-4 Activating additional UART ports
Replies: 16
Views: 623

Re: Pi-4 Activating additional UART ports

Code: Select all

dtoverlay=uart3        # without flow control pins
dtoverlay=uart3,ctsrts # with flow control pins
etc.
by PhilE
Sat Jul 06, 2019 7:09 am
Forum: Device Tree
Topic: Pi-4 Activating additional UART ports
Replies: 16
Views: 623

Re: Pi-4 Activating additional UART ports

$ dtoverlay -a | grep uart This will show that there are four new overlays - uart2 to uart5. $ dtoverlay -h uart2 The help info shows the GPIOs used by each new UART - 0-3 for UART 2, 4-7 for 3, 8-11 for 4 and 12-15 for 5. This does mean that UART 5 overlaps with the standard UARTs on 14 & 15, but ...
by PhilE
Wed Jul 03, 2019 9:09 pm
Forum: Device Tree
Topic: Gpio-fan overlay not working
Replies: 25
Views: 663

Re: Gpio-fan overlay not working

I posted those instructions before I understood the problem, then posted a link to the fixed overlay. Most stories don't make sense in reverse.
by PhilE
Wed Jul 03, 2019 9:00 pm
Forum: Device Tree
Topic: Gpio-fan overlay not working
Replies: 25
Views: 663

Re: Gpio-fan overlay not working

The new overlay is active high - that's the only change.
by PhilE
Wed Jul 03, 2019 7:48 pm
Forum: Device Tree
Topic: Gpio-fan overlay not working
Replies: 25
Views: 663

Re: Gpio-fan overlay not working

I've pushed the updated overlay to our Linux repo, so it will be in future kernel releases.
by PhilE
Wed Jul 03, 2019 4:28 pm
Forum: Device Tree
Topic: Gpio-fan overlay not working
Replies: 25
Views: 663

Re: Gpio-fan overlay not working

The 4.14 driver was using the bare gpio number from Device Tree rather than requesting a descriptor, and this was losing the ACTIVE_LOW request. Since the originator was happy with this overlay on 4.14 I can only assume the "1" was an error. 4.19 interprets the flags correctly, leading to the polari...
by PhilE
Wed Jul 03, 2019 4:15 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 - new VLI firmware issues
Replies: 58
Views: 6953

Re: Raspberry Pi 4 - new VLI firmware issues

Thank you for the feedback. We're going to hold back on a wider rollout until we understand (and have a fix for) the poor throughput others have seen, but I'm happy the update is working as intended for your use cases. We are continuing to work on other performance and power improvements, but a 64-b...

Go to advanced search