Go to advanced search

by gsh
Wed Feb 26, 2020 11:10 am
Forum: General discussion
Topic: Shut down rpi with a keyboard key combo
Replies: 21
Views: 3472

Re: Shut down rpi with a keyboard key combo

YMMV
by gsh
Wed Feb 26, 2020 10:57 am
Forum: General discussion
Topic: Shut down rpi with a keyboard key combo
Replies: 21
Views: 3472

Re: Shut down rpi with a keyboard key combo

My solution is to edit /etc/xdg/openbox/lxde-pi-rc.xml Add the following near one of the other keybindings... <keybind key="A-C-O"> <action name="Execute"> <command>poweroff</command> </action> </keybind> <keybind key="A-C-R"> <action name="Execute"> <command>reboot</command> </action> </keybind> Th...
by gsh
Thu Feb 20, 2020 12:40 pm
Forum: Compute Module
Topic: BCM2837B0 HDMI ESD DATA Lines and RUN Pin Vcc Level
Replies: 2
Views: 169

Re: BCM2837B0 HDMI ESD DATA Lines and RUN Pin Vcc Level

The HDMI ESD is only required on the hotplug, cec and i2c lines, the HDMI data lines have internal ESD protection
by gsh
Wed Feb 19, 2020 10:09 am
Forum: Compute Module
Topic: 2 SD card on CM3L
Replies: 15
Views: 6217

Re: 2 SD card on CM3L

Nothing has changed currently with CM3 boot mode support
by gsh
Wed Feb 12, 2020 9:54 am
Forum: Compute Module
Topic: CM3 module crash after ejecting sd card
Replies: 21
Views: 2863

Re: CM3 module crash after ejecting sd card

It is impossible to solve this issue while you are using a writable ext4 partition, this just won't ever work because it isn't designed to. Even x86 servers running with SSDs will run into this problem if you just randomly power off the servers, that's why we have UPSs for server systems, they're no...
by gsh
Thu Feb 06, 2020 6:46 pm
Forum: Compute Module
Topic: Compute Module 4
Replies: 11
Views: 4815

Re: Compute Module 4

I think people should re-read the Pi 4 release blog post, you may notice mention of a future CM4...
We are evaluating options for producing a Compute Module product based on the Raspberry Pi 4 chipset.
Gordon
by gsh
Tue Feb 04, 2020 1:47 pm
Forum: Compute Module
Topic: USB Mass Storage Booting with RPI CM3+
Replies: 10
Views: 451

Re: USB Mass Storage Booting with RPI CM3+

Does the Compute module access the USB pen drive at boot time at all? (Is there a flashing LED or something when you first connect to it?) The problem is one of the following: 1) MSD is not supported because it is not detected at boot time quick enough (unlikely since it's a flash drive, this is usu...
by gsh
Fri Jan 24, 2020 4:26 pm
Forum: Compute Module
Topic: Custom CM3 carrier board cannot boot from USB mass storage
Replies: 6
Views: 390

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

Your OTG_ID pin is not driven low... I'm assuming you've enabled the OTP bit which enables USB host boot (program_usb_host_boot=1 in config.txt) so you now have both the device and host bits set... Because of this the chip reads the OTG_ID at boot time and decides whether to do device or host boot, ...
by gsh
Fri Jan 17, 2020 2:59 pm
Forum: Compute Module
Topic: Compute Module RUN pin
Replies: 5
Views: 394

Re: Compute Module RUN pin

Driving the RUN pin low for any length of time is fine, it will as previously said just hold the device in the reset state.
by gsh
Fri Jan 03, 2020 11:21 am
Forum: Compute Module
Topic: Fastest way to flash CM3+ for Production
Replies: 19
Views: 1221

Re: Fastest way to flash CM3+ for Production

This is basically what the FiveNinjas script looked like, although I've deleted lots so it's probably broken in lots of places... But should give you an idea. Our installer just used NOOBS to finish the installation, but to create your filesystem you'll need to create both the boot and root partitio...
by gsh
Fri Jan 03, 2020 10:55 am
Forum: Compute Module
Topic: Fastest way to flash CM3+ for Production
Replies: 19
Views: 1221

Re: Fastest way to flash CM3+ for Production

No the schematics are not public But the CMIO board has a very similar cct, https://www.raspberrypi.org/documentation/hardware/computemodule/schematics/rpi_SCH_CMIO_3p0.pdf Look around U3, all you need to do is wire up a GPIO to the PP11 which defaults as a pull up... Then drive the GPIO in your scr...
by gsh
Fri Jan 03, 2020 10:02 am
Forum: Compute Module
Topic: Fastest way to flash CM3+ for Production
Replies: 19
Views: 1221

Re: Fastest way to flash CM3+ for Production

This is what we did with the FiveNinja's Slice, basically the USB OTG connection had an analogue switch which was controlled by the USB VBUS from the micro USB connector... So when you plugged in the USB to a host PC, it would drive the VBUS which would then work in device mode for rpiboot. Then whe...
by gsh
Thu Jan 02, 2020 5:39 pm
Forum: Compute Module
Topic: Compute module EMMC and SD multiplexer interface
Replies: 3
Views: 529

Re: Compute module EMMC and SD multiplexer interface

Yes, as long as when you say 'SDIO port available' you mean the one on GPIOs 22-27 which you'll have to enable using a device tree overlay
by gsh
Thu Jan 02, 2020 5:34 pm
Forum: Compute Module
Topic: Fastest way to flash CM3+ for Production
Replies: 19
Views: 1221

Re: Fastest way to flash CM3+ for Production

Yeah, if you have a network connection on your CM3 device (or even just a secondary uSD card slot), then you can use scriptexecutor This can be pushed through rpiboot to the CM3 device and it will execute a script on a webserver. The script could for example: 1) Mount an nfs drive on the remote serv...
by gsh
Wed Dec 04, 2019 12:59 pm
Forum: Official Foundation Display
Topic: 7 inch display with no bezel
Replies: 2
Views: 416

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

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

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

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

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

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

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

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

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

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

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

Go to advanced search