antoinebore
Posts: 53
Joined: Fri Apr 12, 2019 4:01 am

rpiboot not working anymore

Thu May 30, 2019 4:11 am

Hi,

I have a problem for flashing my raspberry PI compute modules. I'm using the CMIO board V3.0.

When I start rpiboot with my CM3+, so boot is running correctly:
Waiting for BCM2835/6/7
Sending bootcode.bin
Successful read 4 bytes
Waiting for BCM2835/6/7
Second stage boot server
File read: start.elf
second stage boot server done

But nothing happens after and I can't write/read the file system. My computer doesn't seem to recognize the emmc anymore...

Furthermore, the pi doesn't boot anymore.

Is there a way to know if the module is broken or not ? The CMIO board shouldn't be the problem since other modules work with it.

gsh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1421
Joined: Sat Sep 10, 2011 11:43 am

Re: rpiboot not working anymore

Thu May 30, 2019 7:30 am

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
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering

antoinebore
Posts: 53
Joined: Fri Apr 12, 2019 4:01 am

Re: rpiboot not working anymore

Fri May 31, 2019 3:43 am

gsh wrote:
Thu May 30, 2019 7:30 am
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
But I can't access anymore to the Raspberry Pi. I think It's either corrupted or broken.

gsh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1421
Joined: Sat Sep 10, 2011 11:43 am

Re: rpiboot not working anymore

Fri May 31, 2019 5:13 am

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
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering

antoinebore
Posts: 53
Joined: Fri Apr 12, 2019 4:01 am

Re: rpiboot not working anymore

Fri May 31, 2019 8:48 am

Yes, it works with another raspberry pi.

I first thought the CM3+ was broken but I don't understand why I would have the log in my first message if it was really broken.

gsh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1421
Joined: Sat Sep 10, 2011 11:43 am

Re: rpiboot not working anymore

Fri May 31, 2019 9:09 am

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
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering

antoinebore
Posts: 53
Joined: Fri Apr 12, 2019 4:01 am

Re: rpiboot not working anymore

Fri May 31, 2019 9:19 am

I have tried to run rpiboot on an ubuntu VM. Here is the result:

Waiting for BCM2835/6/7
Sending bootcode.bin
Successful read 4 bytes
Waiting for BCM2835/6/7
Sending bootcode.bin
Failed control transfer (-4,24)
Failed to write correct length, returned -4

Waiting for BCM2835/6/7
Second stage boot server
File read: start.elf
second stage boot server done

gsh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1421
Joined: Sat Sep 10, 2011 11:43 am

Re: rpiboot not working anymore

Fri May 31, 2019 9:23 am

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.
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering

antoinebore
Posts: 53
Joined: Fri Apr 12, 2019 4:01 am

Re: rpiboot not working anymore

Fri May 31, 2019 9:26 am

Ok.

I'll need to install a dual boot to try to flash it because once you run rpiboot on Linux, the USB go back on windows where the image isn't recognized.

Return to “Compute Module”