marijuss
Posts: 3
Joined: Tue Jul 22, 2014 4:26 pm

CM Flash problems

Tue Jul 22, 2014 5:04 pm

Hi,

I'm using Linux Mint 17 live CD to upload image file into the module. I followed every step (as far as I could) on the main website: http://www.raspberrypi.org/documentatio ... lashing.md
Instruction does say that I need a Linux system, but does not specify what version, brand, smell or taste.

Problem #1.[Solved] At the step where you compile the software (make), it failed, complaining about not able to find stdint.h.
It was easy fix. If anyone has the same problem, just run sudo apt-get install build-essential.

Problem #2. when I launch ./rpiboot, it says Waiting for BCM2835 ... and just stays there doing nothing.
I've connected Board to computer, Jumper is set to Enable USB boot, cycle the power and nothing changes. Tried connecting to different USB port on my laptop - still nothing.
J4 - in Enable Position,
Board is connected to computer via USB Slave Port J15
Red Power LED is on,
Green ACT LED is on (not blinking).

Any ideas what to do next?
(Throwing brand new board (£128) out of the window is not a valid suggestion)

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: CM Flash problems

Tue Jul 22, 2014 8:26 pm

Did you remember to use sudo when running rpiboot?

marijuss
Posts: 3
Joined: Tue Jul 22, 2014 4:26 pm

Re: CM Flash problems

Tue Jul 22, 2014 8:33 pm

Hi.

I manage to fix the problem.
Issue appears to be the SATA hard drive. By default it is attached to sda. It seems that rpiboot can't mount module anywhere else but sda.

Quick tutorial for those who prefer to install Computing Module using live CD (Linux Mint 17):

1. Disconnect all internal/External hard drives (leave CD/DVD/Blu Ray drive).
2. Make sure that J4 (USB SLAVE BOOT ENABLE) is set to the 'EN' position
3. Make sure Jumpers on J3 are set to 3V3 or 1V8.
4. Boot from CD Linux Mint 17.
5. Launch Xterm.
6. Set date:
sudo date MMDDhhmm
7. Set tools required:
sudo apt-get install git
sudo apt-get install build-essential
sudo apt-get install libusb-1.0-0-dev
8. Make it nice and tidy:
mkdir Desktop/RaspPi
cd Desktop/RaspPi
9. Download rpiboot:
git clone --depth=1 https://github.com/raspberrypi/tools
cd tools/usbboot
make
sudo ./rpiboot
10. Connect USB Cable to your computer and port J15 (USB SLAVE)
11. Connect USB Power cable.
12. Check where CM is:
lsblk
13. Copy file to the folder RaspPi (Drag and Drop) from external USB device or download from http://downloads.raspberrypi.org/raspbian_latest
14. Extract ZIP file (Right-Click -> Extract Here).
15. In Terminal, navigate where IMG file is or open new terminal window and type cd Desktop/RaspPi
16. Flash the image:
sudo dd if=raw_os_image_of_your_choice.img of=/dev/sda bs=4MiB
17. When Finished, Unplug microUSB from J15 (USB SLAVE)
18. Set J4 to disable (DIS).
19. Unplug and plug back in (cycle) the microUSB power (POWER IN)
Attachments
RaspberryPi_CM_Flash1.png
RaspberryPi_CM_Flash1.png (56.8 KiB) Viewed 1414 times

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: CM Flash problems

Tue Jul 22, 2014 11:42 pm

marijuss wrote:I manage to fix the problem.
Great! :)
Issue appears to be the SATA hard drive. By default it is attached to sda. It seems that rpiboot can't mount module anywhere else but sda.
Nope, that's definitely not the cause of the problem - I have multiple SATA HardDrives and USB SD-readers attached to my PC which means that my ComputeModule actually appears as /dev/sdi - and 'sudo ./rpiboot' still works fine.

marijuss
Posts: 3
Joined: Tue Jul 22, 2014 4:26 pm

Re: CM Flash problems

Wed Jul 23, 2014 12:47 pm

Thanks for reply.
I did do sudo ./rpiboot. I've rebooted Live CD three times with Hard disk connected and got stuck on the same step. Disconnecting the hard disk solved it for me, so I assume that this was the source of the problems (no other changes were introduced).
It could be down to hardware/software differences.

I hope that 99.9% of people will not experience this issue, but just in case they do, this might be one of the solutions.

Thanks. ;)

svrsig
Posts: 134
Joined: Thu Nov 03, 2011 9:45 am
Contact: Website

Re: CM Flash problems

Sat Jul 26, 2014 6:59 pm

sudo apt-get install git
sudo apt-get install build-essential
Is this step needed? It is not in the documentation.

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: CM Flash problems

Sat Jul 26, 2014 9:15 pm

svrsig wrote:Is this step needed? It is not in the documentation.
If you've been able to build rpi-boot, then no it's not needed ;)

Return to “Compute Module”

Who is online

Users browsing this forum: No registered users and 2 guests