Page 1 of 1

Instructions for Installing Jessie from a Linux Host

Posted: 14 Mar 2018, 20:36
by KarlZeilhofer
I hope this isn't a duplicate of an instruction, which I didn't find:

Code: Select all

Update to Jessi from a Linux Machine
====================================
Tested on a Linux Mint 18.1
---------------------------

Get and compile rpiboot from the Raspberry Pi Foundation:
> git clone --depth=1 https://github.com/raspberrypi/usbboot
	Cloning into 'usbboot'...
> cd usbboot
> sudo apt install libusb-1.0-0-dev
> make
> sudo ./rpiboot
	This waits for the Compute Module
	Connect your RevPi with the USB cable to the micro USB connector and power it up. 
	This mounts now a new device under /dev/sdX

Create a backup of your RevPi (assuming RevPi is on /dev/sdc, check this with lsblk)
> sudo dd bs=4M if=/dev/sdc | pv | sudo dd of=backup.img

download the jessie image from the kunbus shop
	https://revolution.kunbus.de/shop/de/jessie

extract the zip file

Check the MD5 sum:
> md5sum 2017-09-22-revpi-jessie.img

Write the new Jessie image to the RevPi:
> sudo dd bs=4M if=2017-09-22-revpi-jessie.img | pv | sudo dd of=/dev/sdc
	wait for 31:18 minutes (2.1 MB/s)

disconnect the USB cable
turn RevPi power off and on again, wait...

> sudo nmap -sP 10.0.0.*
	assuming your local subnet is 10.0.0.xxx
	this lists all network devices, which should find also the RevPi

> ssh pi@10.0.0.26

enter serialnumber and mac address and repower your RevPi
search for it on the LAN again:
> sudo nmap -sP 10.0.0.*
> ssh pi@10.0.0.30

for restoring programs and settings proceed with instructions from
	https://revolution.kunbus.com/tutorials/overview-revpi-core/install-jessie/


Re: Instructions for Installing Jessie from a Linux Host

Posted: 18 Jul 2018, 13:13
by bftrock
I wasn't able to find the git repository at that URL, or in GitHub using the search tool. Could somebody please clarify the location of this tool?

Thanks,
Brendan

Re: Instructions for Installing Jessie from a Linux Host

Posted: 18 Jul 2018, 13:59
by lukas
Hi Brendan,

the URL https://github.com/raspberrypi/usbboot as given above in Karl's post is correct, however for some reason the resulting git message "Cloning into 'usbboot'... " was pasted immediately behind the URL, so if you copy-pasted that to the command line it's not surprising at all that it didn't work. I've just taken the liberty to edit Karl's post and insert a line break between the URL and the git message.