Go to advanced search

by gsh
Wed Dec 04, 2019 12:59 pm
Forum: Official Foundation Display
Topic: 7 inch display with no bezel
Replies: 2
Views: 129

Re: 7 inch display with no bezel

You can get hold of the display without the touch screen directly from Inelco Hunter
by gsh
Wed Nov 06, 2019 1:35 pm
Forum: Compute Module
Topic: CM3 and usb gadgets (DWC2)
Replies: 24
Views: 6848

Re: CM3 and usb gadgets (DWC2)

It's clearly not a hardware problem, since the rpiboot works... This is in the same device mode and is working fine... I think it's more likely that there is a difference in the set up of the USB phy between the bootrom setting it up and start.elf setting it up Would you be happy to send us your bro...
by gsh
Fri Oct 25, 2019 10:07 am
Forum: Compute Module
Topic: CM3 Edge Fingers too short
Replies: 6
Views: 900

Re: CM3 Edge Fingers too short

Have you got any pictures showing the problem?
by gsh
Sat Oct 19, 2019 7:37 am
Forum: Compute Module
Topic: CM3 and usb gadgets (DWC2)
Replies: 24
Views: 6848

Re: CM3 and usb gadgets (DWC2)

OK, It's got me stumped, I can't understand why it wouldn't work, since rpiboot works then there's nothing wrong electrically, and since the same code works on a Pi Zero then it can't be the software. Have you tried different USB cables? I did find a problem in the past wiring between Pi Zeroes with...
by gsh
Thu Oct 17, 2019 12:07 pm
Forum: General discussion
Topic: SD Card power failure resilience ideas
Replies: 31
Views: 2177

Re: SD Card power failure resilience ideas

There were significant bug fixes in the SD host driver (it's been re-written twice), so it's possible some of those early failures were due to that. So it's possible these failures don't really exist quite to the extent that they did...

Gordon
by gsh
Thu Oct 17, 2019 9:44 am
Forum: General discussion
Topic: SD Card power failure resilience ideas
Replies: 31
Views: 2177

Re: SD Card power failure resilience ideas

I believe one of the largest issues is with ext4, you're right that the journal should handle keeping a log of structural (metadata) changes that it is about to make, but it doesn't effect the data (the data is written directly to the disk not to the journal first). When a poweroff event occurs, it ...
by gsh
Sun Oct 13, 2019 7:33 pm
Forum: Compute Module
Topic: CM3 and usb gadgets (DWC2)
Replies: 24
Views: 6848

Re: CM3 and usb gadgets (DWC2)

OK, so with an eMMC you should be able to program the eMMC using rpiboot, does this work fine on this board?
by gsh
Fri Oct 11, 2019 8:04 am
Forum: Compute Module
Topic: CM3 and usb gadgets (DWC2)
Replies: 24
Views: 6848

Re: CM3 and usb gadgets (DWC2)

So it doesn't look like a software issue, assuming you're using a CMIO3 board, there is a USB switch on the hardware which switches the USB connections between J14 (host) and J15 (device). It would be useful to make sure you are plugged into the right USB connector and that the USB VBUS on that conn...
by gsh
Thu Oct 10, 2019 7:34 am
Forum: Compute Module
Topic: CM3 and usb gadgets (DWC2)
Replies: 24
Views: 6848

Re: CM3 and usb gadgets (DWC2)

Have you tried plugging it into different host types? PC / Mac / Pi 4?
by gsh
Wed Oct 09, 2019 2:42 pm
Forum: Troubleshooting
Topic: SD card corruption
Replies: 7
Views: 503

Re: SD card corruption

One thing you can do is use the newly added overlayfs to stop your cards getting corrupted. But, it has drawbacks that you may not require: When you enable overlayfs and reboot, you can write to the filesystem the same as you did before, but any changes are held in RAM and as such get lost when you ...
by gsh
Wed Oct 09, 2019 1:00 pm
Forum: General discussion
Topic: SD Card power failure resilience ideas
Replies: 31
Views: 2177

Re: SD Card power failure resilience ideas

https://github.com/ghollingworth/overlayfs

It's just a script (which has now been integrated into raspi-config by Simon) I wrote to do the instructions written by Mattias Wikstrom

You can read the code in /usr/bin/raspi-config

Gordon
by gsh
Wed Oct 09, 2019 10:06 am
Forum: General discussion
Topic: Pi on SD card: about 9MB writes every 3 hours
Replies: 10
Views: 501

Re: Pi on SD card: about 9MB writes every 3 hours

You can try overlayfs, if you're happy with storing permanent stuff elsewhere. Or create a second partition for your permanent storage and leave your filesystems read-only sudo apt upgrade sudo apt dist-update sudo reboot Menu -> Preferences -> Raspberry Pi Configuration -> Performance -> Overlay Fi...
by gsh
Wed Oct 09, 2019 9:36 am
Forum: Compute Module
Topic: CM3 and usb gadgets (DWC2)
Replies: 24
Views: 6848

Re: CM3 and usb gadgets (DWC2)

Is this with a standard Raspbian build?
Have you removed R12?
by gsh
Wed Oct 09, 2019 9:14 am
Forum: General discussion
Topic: SD Card power failure resilience ideas
Replies: 31
Views: 2177

Re: SD Card power failure resilience ideas

sudo apt upgrade
sudo apt dist-update

sudo reboot (for good measure)

Click on the Menu -> Preferences -> Raspberry Pi Configuration -> Performance -> Overlay file system -> Configure...

Da Dah...

Zero writes to your SD card!
by gsh
Wed Sep 25, 2019 8:31 am
Forum: Compute Module
Topic: Is this cm2?
Replies: 15
Views: 2259

Re: Is this cm2?

Yeah looks real, (there's one in the Cambridge store)... But I'm assuming this has been bought through some illegitimate channel since they were never available for sale
by gsh
Tue Sep 24, 2019 2:25 pm
Forum: Compute Module
Topic: CM3 and usb gadgets (DWC2)
Replies: 24
Views: 6848

Re: CM3 and usb gadgets (DWC2)

Actually, there is already a pull up in the pad so you don't need to add one externally... If you want to enable device mode on the CMIO board then you should remove R12 rather than pull it up, mostly because I can never remember which supply it is pulled to (but think it is 1.8v)

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

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: 3914

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: 1828

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: 1828

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: 1828

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: 63
Views: 13217

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: 238039

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: 238039

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: 702

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

Go to advanced search