Go to advanced search

by markus3141
Fri Jan 15, 2021 10:57 am
Forum: Compute Module
Topic: CM4 MSI-X support (Coral TPU)
Replies: 15
Views: 899

Re: CM4 MSI-X support (Coral TPU)

Okay I was (obviously) looking in the wrong location. Register writes are done by the user-space driver (libedgetpu), which attempts 64bit reads. Replacing those with two 32bit reads seems to help, although I'm not sure why the compiler isn't doing this correctly on a 32bit binary. 16bit reads seem ...
by markus3141
Thu Jan 14, 2021 4:57 pm
Forum: Compute Module
Topic: CM4 MSI-X support (Coral TPU)
Replies: 15
Views: 899

Re: CM4 MSI-X support

I'm doing two 32bit accesses: static inline u64 gasket_readq_relaxed(const volatile __iomem void *addr) { const volatile __iomem u32 *p = (const volatile __iomem u32 *)addr; u32 low, high; low = readl_relaxed(p); high = readl_relaxed(p + 1); return low + ((u64)high << 32); } I wonder if thats a limi...
by markus3141
Thu Jan 14, 2021 4:27 pm
Forum: Compute Module
Topic: CM4 MSI-X support (Coral TPU)
Replies: 15
Views: 899

Re: CM4 MSI-X support

Turns out there were a few ulong casts which cut the upper 64bit off. I fixed those, now the driver loads and I can read the temperature etc. Sadly libedgetpu still won't cooperate as there still seem to be some issues with reading 64bit registers from the TPU. In this case the lower and upper 32bit...
by markus3141
Thu Dec 31, 2020 2:45 pm
Forum: Compute Module
Topic: CM4 MSI-X support (Coral TPU)
Replies: 15
Views: 899

Re: CM4 MSI-X support

I tried to patch up the module myself by replacing the 64bit writes and reads with two 32bit writes and reads where necessary to get a 32bit kernel compiled. I don't know if thats a valid way to fix this since writes aren't atomic anymore. The module compiles, but on loading I get the following mess...
by markus3141
Wed Dec 16, 2020 8:23 pm
Forum: Compute Module
Topic: Where to buy CM4 in EU
Replies: 5
Views: 260

Re: Where to buy CM4 in EU

I've heard the WiFi version is having some delays with it's certification. Is that true?

I could really need a CM4 with WiFi and eMMC by mid january for my thesis.
by markus3141
Tue Dec 08, 2020 3:21 pm
Forum: Compute Module
Topic: Can the CM4 IO Board fit a (half-size) Mini PCIe module?
Replies: 1
Views: 295

Re: Can the CM4 IO Board fit a (half-size) Mini PCIe module?

Yes, when using an adapter card to PCIe 1x. Same applies to Corals m.2 cards.

There are some issues with Coral Accelerators and the CM4 at the moment though: viewtopic.php?f=98&t=293248
by markus3141
Mon Dec 07, 2020 6:53 pm
Forum: Compute Module
Topic: Is it possible to get a datasheet on an AMD A320 south bridge chip for CM4
Replies: 3
Views: 342

Re: Is it possible to get a datasheet on an AMD A320 south bridge chip for CM4

If you want to fan out the CM4s PCIe interface, maybe have a look at Diodes/Pericom PCIe switches: https://www.diodes.com/products/connectivity-and-timing/pcie-packet-switchbridges/pcie-switch/ Not all documentation is public, but it should be enough to make a board with a couple of PCIe downstream ...
by markus3141
Thu Dec 03, 2020 2:29 pm
Forum: Compute Module
Topic: CM4 MSI-X support (Coral TPU)
Replies: 15
Views: 899

Re: CM4 MSI-X support

Thank you very much, that is very good to hear.
by markus3141
Thu Dec 03, 2020 11:34 am
Forum: Compute Module
Topic: CM4 MSI-X support (Coral TPU)
Replies: 15
Views: 899

Re: CM4 MSI-X support

Thank you, that sounds promising. The driver I need (Google Apex for Coral TPUs) seems to use 12 interrupts ( https://coral.googlesource.com/linux-imx/+/refs/heads/dkms/drivers/staging/gasket/apex_driver.c#191 ), so it could be fine. If anyone has tested Coral PCIe accelerators with the CM4, I'd lov...
by markus3141
Thu Dec 03, 2020 10:04 am
Forum: Compute Module
Topic: CM4 MSI-X support (Coral TPU)
Replies: 15
Views: 899

CM4 MSI-X support (Coral TPU)

Hi everyone, from the datasheet I understand the CM4 currently does not support PCIe MSI-X. Is this a firmware/driver or actual hardware limitation, i.e. is there a chance it could get implemented at some point? I'm planning a CM4 product, but the PCIe device I'm planning on using apparently needs M...
by markus3141
Sat May 02, 2020 1:59 pm
Forum: General discussion
Topic: Raspberry Pi High Quality Camera Launched !
Replies: 103
Views: 9412

Re: Raspberry Pi High Quality Camera Launched !

I wonder why you didn't opt for the 22 pin connector thats on the Pi Zero as the connector on the camera? That connector has pins for the two additional MIPI lanes and would still be compatible to current Raspberry Pis using the same adapter cable, and allow future Raspberry Pis (or other boards) to...
by markus3141
Tue Jun 04, 2013 6:53 pm
Forum: Camera board
Topic: RaspberryPi Camera for Astrophotography
Replies: 345
Views: 120390

Re: RaspberryPi Camera for Astrophotography

I'd love to see whether you can actually capture stars with the Pi Camera, since they are quite a lot darker than planets like Saturn or the moon. Maybe you can next time the weather allows :) 2nd magnitude stars should be very possible, with a 6 inch or bigger telescope possibly quite some magnitud...
by markus3141
Tue Jun 04, 2013 1:50 pm
Forum: Camera board
Topic: RaspberryPi Camera for Astrophotography
Replies: 345
Views: 120390

Re: RaspberryPi Camera for Astrophotography

Looking absolutely great!
You're saying you want to also control your telescope with a web-interface. I'm looking forward to pretty much the same thing, maybe I can find some time to extend it's functionality.
by markus3141
Mon Jun 03, 2013 6:54 pm
Forum: Camera board
Topic: Alternatives or replacements for camera flex cable?
Replies: 151
Views: 166122

Re: Alternatives or replacements for camera flex cable?

I'm wondering whether you are getting frame drops or errors with such a long cable.. USB always has some problems with such long cables and they aren't that high speed, are they?
by markus3141
Fri May 31, 2013 8:33 pm
Forum: Camera board
Topic: RaspberryPi Camera for Astrophotography
Replies: 345
Views: 120390

Re: RaspberryPi Camera for Astrophotography

Oh thank you for that stellarium telescope server idea! I was thinking about automating my C8 telescope with a raspberry pi and a camera, but I didn't know how to get it well remote controlled without meters of RS232 cable in my garden (and not having to boot windows everytime since stellarium seria...
by markus3141
Sun Mar 17, 2013 7:22 pm
Forum: Troubleshooting
Topic: Pi doesn't boot with 16MB card
Replies: 5
Views: 1212

Re: Pi doesn't boot with 16MB card

Use some old firmware from an old OS? I'm not sure to what extent you can mix firmwares and OS files. Firmware that old is unlikely to support 512MB memory and several other improvements that have been made since. I don't think that any mention has been made of supporting MMC cards has been made on...
by markus3141
Sat Mar 16, 2013 6:17 pm
Forum: Troubleshooting
Topic: Pi doesn't boot with 16MB card
Replies: 5
Views: 1212

Re: Pi doesn't boot with 16MB card

I use a 16MB SD card with no problems on the latest firmware. Are you using an SD card or a MMC card. I believe support for MMC cards have been dropped from the startup code, as SD cards are recommended. When I tried using an MMC card I got the same symptoms. Yep, it's a MMC card from some old Cano...
by markus3141
Sat Mar 16, 2013 4:58 pm
Forum: Troubleshooting
Topic: Pi doesn't boot with 16MB card
Replies: 5
Views: 1212

Pi doesn't boot with 16MB card

Hi everyone, I'm currently trying to get my Raspberry Pi boot off a 16MB card, which only holds a kernel and the Pi's firmware + config, to mount the root filesystem from a NFS export. Problem is: When I insert the Card and plug in power, the green LED is blinking three times, stops a little while, ...
by markus3141
Sat Sep 15, 2012 8:33 am
Forum: Advanced users
Topic: Overclocking
Replies: 1173
Views: 684379

Re: Overclocking

I'd like to put temps, frequencies and voltages in my monitoring system. Markus If you are going to release your software could you also include support for an I2C connected 'Case' temperature sensor please? Well, it's not my software, its just a Zabbix instance running on my server. But I plan to ...
by markus3141
Tue Sep 11, 2012 6:36 pm
Forum: Troubleshooting
Topic: Webcams colors are weird...
Replies: 5
Views: 2800

Re: Webcams colors are weird...

It gets even weirder: My raspberry pi is now located under my bed (for reasons!) and the camera shows correct colors, I can't explain why at all... It sometimes gives a black image (at least fswebcam does), but the colors are fine. I haven't got a hub/keyboard/monitor attached now, maybe thats the r...
by markus3141
Tue Sep 11, 2012 3:59 pm
Forum: Advanced users
Topic: Overclocking
Replies: 1173
Views: 684379

Re: Overclocking

What is required to access the temps, frequencies etc.? I've got a user named "zabbix" (only in group "zabbix") that can't read the values pi@raspberrypi:~$ ls -l /dev/vchiq crw-rw---T 1 root video 252, 0 Jan 1 1970 /dev/vchiq pi@raspberrypi:~$ groups pi adm dialout cdrom sudo a...
by markus3141
Tue Sep 11, 2012 3:39 pm
Forum: Advanced users
Topic: Overclocking
Replies: 1173
Views: 684379

Re: Overclocking

What is required to access the temps, frequencies etc.? I've got a user named "zabbix" (only in group "zabbix") that can't read the values, it just says "VCHI initialization failed" while another normal user can read them without sudo.. # sudo -u zabbix /opt/vc/bin/vcge...
by markus3141
Thu Sep 06, 2012 7:17 pm
Forum: Troubleshooting
Topic: Webcams colors are weird...
Replies: 5
Views: 2800

Re: Webcams colors are weird...

I wrote a small programm to swap channels, but neither U and V nor R and B are swapped. I also tried to swap some other channels, or negate some: No success yet. When I plug the camera into my Mac without having a special driver installed it outputs a correct image, and I believe I plugged it into a...
by markus3141
Wed Sep 05, 2012 2:50 pm
Forum: Troubleshooting
Topic: Webcams colors are weird...
Replies: 5
Views: 2800

Re: Webcams colors are weird...

Hm, no idea anyone?
I also tried with streamer and mencoder, they all give those strange colors :(
by markus3141
Mon Sep 03, 2012 8:22 pm
Forum: Troubleshooting
Topic: I messed up my lxde-applications.menu file
Replies: 2
Views: 719

Re: I messed up my lxde-applications.menu file

Hi, well, here's mine without knowing exactly what it's for, but ok: <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd"> <Menu> <Name>Applications</Name> <Directory>lxde-menu-applications.directory</Directory> <!...

Go to advanced search