Go to advanced search

by gsh
Wed Jul 31, 2019 12:27 pm
Forum: Official Foundation Display
Topic: Raspi4 + official touchscreen display: power solution
Replies: 7
Views: 1282

Re: Raspi4 + official touchscreen display: power solution

I would suggest plugging the USB-C power supply into the Pi and then using the flying leads to power the display from the GPIO port.
by gsh
Wed Jul 31, 2019 7:50 am
Forum: Compute Module
Topic: CutiePi - a CM3 based open source tablet
Replies: 7
Views: 2281

Re: CutiePi - a CM3 based open source tablet

They are using a DRM based Linux driver, looks good I assume you're using full KMS interface rather than the fake KMS?

Gordon
by gsh
Wed Jul 24, 2019 6:17 am
Forum: Compute Module
Topic: Strange CM3 booting issue
Replies: 5
Views: 1175

Re: Strange CM3 booting issue

My experimentation hasn't revealed the problem, but I believe it's to do with the timing differences between reading from the different sectors on the SD card... Basically the code tries to read from the first sector of the FAT partition and locks up! Can you put in a pull request to the buildroot c...
by gsh
Tue Jul 23, 2019 9:19 am
Forum: Compute Module
Topic: Strange CM3 booting issue
Replies: 5
Views: 1175

Re: Strange CM3 booting issue

Looking at the buildroot partition creation it suggests that it will create a FAT32 partition: https://github.com/buildroot/buildroot/blob/master/board/raspberrypi/genimage-raspberrypi3.cfg This contains partition-type=0xc which suggests it is correct... But I've seen such partitions causing this pr...
by gsh
Tue Jul 23, 2019 6:40 am
Forum: Compute Module
Topic: Strange CM3 booting issue
Replies: 5
Views: 1175

Re: Strange CM3 booting issue

Can you try changing your image to be fat32 rather than fat16?
by gsh
Sat Jul 13, 2019 7:02 am
Forum: Troubleshooting
Topic: I can´t boot from usb in pi 4
Replies: 74
Views: 8547

Re: I can´t boot from usb in pi 4

Probably around another two or three weeks for Ethernet booting, another month for USB flash booting
by gsh
Tue Jun 11, 2019 4:30 pm
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 229024

Re: Prevent SD-Card Corruption

I'm not sure, be worth trying and seeing
by gsh
Tue Jun 11, 2019 5:27 am
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 229024

Re: Prevent SD-Card Corruption

I'd suggest converting the filesystem to use an overlayfs, this means it'll turn the main filesystem to read-only and have a memory based FS for any writes... I recently created a script to do this for you... Attached scripts, to use, download the three files to your Raspberry Pi. chmod +x overlay o...
by gsh
Thu Jun 06, 2019 3:57 pm
Forum: Compute Module
Topic: CM3 4GB eMMC image backup
Replies: 2
Views: 488

Re: CM3 4GB eMMC image backup

The USB device boot mode (i.e. booting using rpiboot) is enabled by default, by adding usb_host_boot_mode you've enabled host boot mode as well. To choose between them the bootrom looks at the value of the OTG_ID pin and if it is high will boot as a device (rpiboot), if it is low then it'll boot as ...
by gsh
Mon Jun 03, 2019 6:18 am
Forum: Compute Module
Topic: usb1-port1: disabled by hub (EMI?), re-enabling
Replies: 3
Views: 629

Re: usb1-port1: disabled by hub (EMI?), re-enabling

Have you checked the power supplies for any noise? It may be a problem with not having sufficient decoupling caps on the board
by gsh
Fri May 31, 2019 9:23 am
Forum: Compute Module
Topic: rpiboot not working anymore
Replies: 8
Views: 1449

Re: rpiboot not working anymore

OK, so it looks like it worked anyway even with the error code... It's possibly a new version of libusb which has a different effect.
by gsh
Fri May 31, 2019 9:09 am
Forum: Compute Module
Topic: rpiboot not working anymore
Replies: 8
Views: 1449

Re: rpiboot not working anymore

So after re-flashing using the Raspberry Pi to run rpiboot, does it now work again on the Windows one?

It wouldn't surprise me to find that Windows is ignoring the disk if the flash drive contains a block that it doesn't understand...

Gordon
by gsh
Fri May 31, 2019 5:13 am
Forum: Compute Module
Topic: rpiboot not working anymore
Replies: 8
Views: 1449

Re: rpiboot not working anymore

Do you not have another Raspberry Pi (not a compute module) that you can run rpiboot on?

Either that or dual boot the PC into linux (debian or ubuntu are likely to be easiest) and try it on there...

Gordon
by gsh
Thu May 30, 2019 7:30 am
Forum: Compute Module
Topic: rpiboot not working anymore
Replies: 8
Views: 1449

Re: rpiboot not working anymore

If you're not already, try running the rpiboot on a Raspberry Pi rather than on a Windows machine, which can often fail to recognise mass storage devices that aren't properly formatted...

Then have a look at the output from dmesg, lsusb, lsblk and blkid

Gordon
by gsh
Wed May 15, 2019 5:36 am
Forum: Compute Module
Topic: ISM43362
Replies: 6
Views: 679

Re: ISM43362

How are you connecting the device to the SDIO bus? The documentation doesn't mention any support of SDIO, only SPI and UART interfaces
by gsh
Wed May 08, 2019 5:47 am
Forum: Compute Module
Topic: Flashing RaspberryPi CM3 in a production context
Replies: 5
Views: 745

Re: Flashing RaspberryPi CM3 in a production context

I think it's likely that Linux is opening the partitions while you are checksumming. It will then write to the partitions... How about you read the partitions back using dd afterwards and see where the differences are?

Gordon
by gsh
Tue May 07, 2019 4:07 pm
Forum: Compute Module
Topic: Some CM3's not booting
Replies: 5
Views: 701

Re: Some CM3's not booting

Are you sure the CM3s are programmed with FAT32 formatted partition? Is this just a Raspbian image that has been modified and subsequently copied? Can you plug the CM3 into a Pi, run rpiboot to convert into a mass storage then run (assuming it appears as /dev/sda) sudo fdisk -l /dev/sda Check if the...
by gsh
Fri May 03, 2019 9:19 am
Forum: Compute Module
Topic: Regulator selection of max performance support
Replies: 2
Views: 362

Re: Regulator selection of max performance support

The datasheet gives the "recommended minimum power supply outputs required" there is no maximum... If your power supply can output 100A at 3v3 then the compute module will also work!

This isn't the minimum consumption... Just the minimum supply
by gsh
Mon Apr 01, 2019 12:56 pm
Forum: Compute Module
Topic: Custom Board - HDMI Flickering and Kernel Panic - CM3 4GB eMMC
Replies: 5
Views: 722

Re: Custom Board - HDMI Flickering and Kernel Panic - CM3 4GB eMMC

But connecting the CM3 into a CMIO3 board works fine?
by gsh
Fri Mar 29, 2019 4:41 pm
Forum: Compute Module
Topic: Custom Board - HDMI Flickering and Kernel Panic - CM3 4GB eMMC
Replies: 5
Views: 722

Re: Custom Board - HDMI Flickering and Kernel Panic - CM3 4GB eMMC

How did you wire up the eMMC disable pin on your board, the problem is generally that it is unable to talk to the eMMC device after the linux kernel has been loaded...

Probe the EMMC_DISABLE_N line with the scope and see what it is doing, it should be high unless you are trying to program the eMMC
by gsh
Mon Mar 25, 2019 11:24 am
Forum: Compute Module
Topic: USB-OTG Problems
Replies: 6
Views: 833

Re: USB-OTG Problems

You can try using dtoverlay=dwc2,dr_mode=peripheral In config.txt which should force it to only work in peripheral mode. This will tell you whether it's just a detection problem or a problem with reading the OTG value. In fact the way the OTG pin is wired isn't really correct, so I would suggest ins...
by gsh
Wed Mar 20, 2019 7:33 pm
Forum: Compute Module
Topic: CM3+ as a drop in replacement for CM3 Lite....
Replies: 6
Views: 642

Re: CM3+ as a drop in replacement for CM3 Lite....

No you cannot boot from external SD card. Only from the eMMC, that's why there is the eMMC disable functionality. The SDIO interface goes directly to the eMMC on the CM3, whereas it instead goes directly to the edge connector on lite.

Gordon
by gsh
Wed Mar 20, 2019 2:29 pm
Forum: Compute Module
Topic: Flashing CM3+ 8GB / 16GB using CM I/0 board
Replies: 5
Views: 686

Re: Flashing CM3+ 8GB / 16GB using CM I/0 board

You're right, they tend to get conflated probably because of this: https://github.com/raspberrypi/firmware/tree/master/boot The firmware tree includes the linux kernel which is clearly not the firmware! You want to try updating the start* fixup* and bootcode.bin This should work with most linux kern...
by gsh
Wed Mar 20, 2019 1:22 pm
Forum: Compute Module
Topic: Flashing CM3+ 8GB / 16GB using CM I/0 board
Replies: 5
Views: 686

Re: Flashing CM3+ 8GB / 16GB using CM I/0 board

If you're switching from CM3 to CM3+ then you'll also need to update the firmware in your build. If you have a relatively old firmware on the old board then it won't recognise the cm3+ board revision
by gsh
Fri Feb 15, 2019 9:12 am
Forum: Compute Module
Topic: TPD12S016 HDMI ESD & CM3
Replies: 4
Views: 997

Re: TPD12S016 HDMI ESD & CM3

Q3 was added to avoid pulling the CEC line low when the device is powered off. Otherwise any other devices connected to the CEC system will stop working when the Pi is powered off (lots of people chained the HDMI through an audio system into the TV, the audio system uses the audio return path from t...

Go to advanced search