Go to advanced search

by timg236
Tue Nov 30, 2021 11:07 pm
Forum: Advanced users
Topic: Forcing the Pi4 bootloader messages to be shown on screen
Replies: 3
Views: 207

Re: Forcing the Pi4 bootloader messages to be shown on screen

Adding bootcode_delay=N to config.txt will cause the bootloader to wait for N seconds before attempting to load the firmware. However, there's no way to slow down or pause the messages after that. Alternatively, if you don't have a UART cable then you can redirect the bootloader log messages to a ne...
by timg236
Tue Nov 30, 2021 9:34 am
Forum: Advanced users
Topic: Moving Linux Kernel to 5.15
Replies: 99
Views: 7122

Re: Moving Linux Kernel to 5.15

xhci_hcd 0000:01:00.0: can't setup: -110 xhci_hcd 0000:01:00.0: USB bus 1 deregistered That's not a failure mode I recognise. -110 is -ETIMEDOUT, but other than that I don't know - other than rebooting without any USB devices attached and plugging them in later (as a diagnostic technique) I don't k...
by timg236
Wed Nov 24, 2021 5:59 pm
Forum: Compute Module
Topic: Cm4 reboot command often halt instead reboot
Replies: 2
Views: 128

Re: Cm4 reboot command often halt instead reboot

Updating to the latest firmware should resolve that.

https://github.com/raspberrypi/Raspberr ... -959884959
by timg236
Tue Nov 23, 2021 2:19 pm
Forum: Compute Module
Topic: [SOLVED] Updating CM4 bootloader (for NVME boot) fails
Replies: 4
Views: 194

Re: Updating CM4 bootloader (for NVME boot) fails

The EEPROM recovery commands should all be run from the 'recovery' sub-directory. I've tweaked the docs to make this clearer https://github.com/raspberrypi/documentation/compare/develop...timg236:patch-66 You should modify BOOT_ORDER to match the expected order of devices that you have on your syste...
by timg236
Mon Nov 22, 2021 8:52 pm
Forum: Compute Module
Topic: Kernel Panic error during boot when VL805 =1
Replies: 16
Views: 490

Re: Kernel Panic error during boot when VL805 =1

It looks as though the data-abort is happening because the driver is attempting to access config-space for a PCIe device that is not in a working state. We saw something similar with some cards before adding the "brcm,enable-l1ss" property + patch to CM4 device-tree. It's possible that it'...
by timg236
Wed Nov 17, 2021 7:52 pm
Forum: Compute Module
Topic: Booting from USB failed
Replies: 15
Views: 518

Re: Booting from USB failed

Hi Tim, I've added 'enable_uart=1' to the config.txt and reflashed using rpiboot, and removed 'quiet' from the 'cmdline.txt' found in the boot folder of the boot USB. I see a lot of messages when attempting the boot, culminating in: 'Starting Plymouth show boot screen' It then reverts to the monito...
by timg236
Wed Nov 17, 2021 3:35 pm
Forum: Compute Module
Topic: CM4 CPU models have different power LED control changes
Replies: 4
Views: 175

Re: CM4 CPU models have different power LED control changes

As well as checking the `POWER_OFF_ON_HALT` setting in `vcgencmd bootloader_config` please also capture a BOOT_UART output. Linux disables the power LED before rebooting and it's re-enabled by the bootloader. Without boot UART traces it's very difficult to determine whether reset happened, the PMIC ...
by timg236
Wed Nov 17, 2021 3:29 pm
Forum: Compute Module
Topic: Booting from USB failed
Replies: 15
Views: 518

Re: Booting from USB failed

My config.txt only has a single line: uart_2ndstage=1 Should I add this additional line, or is that only if that example line already exists? To get Linux dmesg on the UART please add the following to config.txt enable_uart=1 https://www.raspberrypi.com/documentation/computers/configuration.html#pa...
by timg236
Mon Nov 15, 2021 12:20 pm
Forum: Compute Module
Topic: Booting from USB failed
Replies: 15
Views: 518

Re: Booting from USB failed

It might be worth checking the partition UUIDs are correct on the USB device.
by timg236
Thu Nov 11, 2021 9:43 am
Forum: Compute Module
Topic: CM4 Bricked
Replies: 2
Views: 178

Re: CM4 Bricked

If it's loading Linux then it's not 'bricked' "I have tried to format and re-image the failed unit without success." Did it fail to format it or did that succeed but you saw the same behaviour with a fresh OS install? You could try installing Raspberry Pi OS to a USB memory stick and then ...
by timg236
Wed Nov 10, 2021 2:52 pm
Forum: Compute Module
Topic: RPIboot files CM4
Replies: 8
Views: 304

Re: RPIboot files CM4

You'll need to use the latest release on Github

https://github.com/raspberrypi/usbboot
by timg236
Wed Nov 10, 2021 2:29 pm
Forum: Compute Module
Topic: RPIboot files CM4
Replies: 8
Views: 304

Re: RPIboot files CM4

You might need to disable 'otg_mode=1' in 'config.txt', otherwise, the firmware will switch the USB PHY to the XHCI controller and drop the RPIBOOT connection. The start4.elf file-system over RPIBOOT can be a little flaky because the protocol is sensitive to timeouts. It's a bit more effort but I th...
by timg236
Wed Nov 10, 2021 1:23 pm
Forum: Raspberry Pi OS
Topic: STICKY: Bullseye - Comments and bug reports thread.
Replies: 467
Views: 25728

Re: Bullseye - Comments and bug reports thread.

[pi4] applies to the entire Pi4 / BCM2711 family.

To match Pi4B you could use [board-type=0x11]

https://www.raspberrypi.com/documentati ... al-filters
by timg236
Wed Nov 10, 2021 11:41 am
Forum: Compute Module
Topic: RPIboot files CM4
Replies: 8
Views: 304

Re: RPIboot files CM4

In order to get to the ARM stage (u-boot) you'll need start*.elf start*.dat *.dtb dtoverlays config.txt cmdline.txt Plus u-boot and kernel module dependencies (in an initramfs) but you'll need to figure those out e.g. copy them from a working system installed to EMMC. Adding the following lines to c...
by timg236
Wed Nov 10, 2021 10:33 am
Forum: Compute Module
Topic: RPIboot files CM4
Replies: 8
Views: 304

Re: RPIboot files CM4

For flashing the EEPROM or putting CM4 into USB storage mode you would use the binaries from the usbboot repo https://github.com/raspberrypi/usbboot/tree/master/recovery https://github.com/raspberrypi/usbboot/tree/master/msd If you are trying to boot Linux via RPIBOOT then you'd need the files from ...
by timg236
Fri Oct 29, 2021 3:21 pm
Forum: Troubleshooting
Topic: RPI 4 8 GB green LED shines permanently with and without SD-Card
Replies: 2
Views: 79

Re: RPI 4 8 GB green LED shines permanently with and without SD-Card

After plugging it into the official power supply of the Raspberry Foundation the right led shines constantly, the green led flashes a single time and afterwards it's also shining constantly. That's the expected behaviour. The activity LED should be on all the time until the OS has started unless a ...
by timg236
Thu Oct 28, 2021 8:24 pm
Forum: Compute Module
Topic: CM4 Lite not booting from microSD card
Replies: 3
Views: 379

Re: CM4 Lite not booting from microSD card

It might be worth trying the latest beta version of the recovery (bootcode4.bin) binary. Please also check the EEPROM write-protect jumper and examine the connectors for any possible shorts on the EEPROM pins. # Update to the most recent commit on usbboot master branch cd recovery cp -f ../secure-bo...
by timg236
Wed Oct 20, 2021 2:31 pm
Forum: Other
Topic: RPI-EEPROM firmware 2021-07-07 Fydeos not working
Replies: 2
Views: 216

Re: RPI-EEPROM firmware 2021-07-07 Fydeos not working

The bootloader only loads the start4.elf firmware from the SD card so it seems a bit unlikely that this is the root cause. Anyway, to reset back to the default manufacturing firmware you can use the Raspberry Pi Imager to create an EEPROM update sd-card image on a spare SDCARD. https://www.raspberry...
by timg236
Fri Oct 15, 2021 6:43 am
Forum: Compute Module
Topic: does new compute module 4 have unformatted eMMC, and will not show up as a drive
Replies: 13
Views: 777

Re: does new compute module 4 have unformatted eMMC, and will not show up as a drive

Gavinmc42 as you say The first time with a blank eMMC CM4 I booted from a USB stick with Raspberry OS in the CM4 IO board USB A socket . Since I have a USB drive with Raspberry OS, why couldn't I similarly boot the CM4 from my USB drive with Raspberry OS in the CM4 IO board USB A socket? The EMMC w...
by timg236
Thu Oct 14, 2021 11:52 am
Forum: Compute Module
Topic: How to ensure the CM4 EEPROM is write protected correctly
Replies: 9
Views: 656

Re: How to ensure the CM4 EEPROM is write protected correctly

Thanks for replying with the logs. That shows the expected behaviour when an EEPROM update is attempted on a write-protected EEPROM.

N.B. recovery.bin only updates the EEPROM if the new image is different i.e. if you have to try to flash a different image to trigger the write protect failure.
by timg236
Wed Oct 06, 2021 2:01 pm
Forum: Compute Module
Topic: How to ensure the CM4 EEPROM is write protected correctly
Replies: 9
Views: 656

Re: How to ensure the CM4 EEPROM is write protected correctly

Sure, let me give it a try again and I will update shortly. UART logging is enabled by default in usbboot/recovery so you just need to collect a USB serial cable and collect logs with the terminal of your choice (Putty / MiniCom / Screen etc) https://github.com/raspberrypi/usbboot/blob/master/recov...
by timg236
Wed Oct 06, 2021 11:08 am
Forum: Compute Module
Topic: How to ensure the CM4 EEPROM is write protected correctly
Replies: 9
Views: 656

Re: How to ensure the CM4 EEPROM is write protected correctly

It actually takes us back to the original post. I did change the config.txt in the recovery/config.txt and added the "eeprom_write_protect=1". Then I flashed it using ./sudo rpi-boot -d recovery and later lowed the J2 3and 4. With the pins lowered (physical protection) and everything abov...
by timg236
Wed Oct 06, 2021 8:54 am
Forum: Compute Module
Topic: How to ensure the CM4 EEPROM is write protected correctly
Replies: 9
Views: 656

Re: How to ensure the CM4 EEPROM is write protected correctly

@tim thanks for the prompt response. A silly question, please do excuse me, how do I flash the recovery.bin on PI (the exact commands). I can download the recovery.bin file from https://github.com/raspberrypi/rpi-eeprom/tree/master/firmware/critical and what are the next steps? I tried doing curl -...
by timg236
Tue Oct 05, 2021 12:34 pm
Forum: Compute Module
Topic: How to ensure the CM4 EEPROM is write protected correctly
Replies: 9
Views: 656

Re: How to ensure the CM4 EEPROM is write protected correctly

On my CM4, I am trying to achieve EEPROM write protection. I followed the steps https://www.raspberrypi.org/documentation/computers/compute-module.html#modifying-the-bootloader-configuration. My questions are: 1. How can I ensure that my EEPROM is write-protected?. There is this document which says...

Go to advanced search