CoreELEC - How to Update petitboot from CoreELEC

Post Reply
User avatar
cdu13a
Posts: 323
Joined: Tue Jan 20, 2015 3:33 pm
languages_spoken: english
ODROIDs: C1, C2, XU4, HC1, N2
Has thanked: 13 times
Been thanked: 100 times
Contact:

CoreELEC - How to Update petitboot from CoreELEC

Post by cdu13a »

I have been asked several times now by different users how how to update petitboot from CoreELEC. So to save my self some typing in the future here are some simple instructions on how to update petitboot from an existing CoreELEC install on a micro sd card.

Note: This can only be done from a Micro-SD install of CoreELEC since eMMC can't access the SPI flash.
Note: These Instructions are to update to the dev.20191127 version of petitboot. If you want to update to a newer version you will need to swap the URL in the commands below for the one that points to the version of petitboot you wish to install.

Step #1: Power off your Odroid N2.
Step #2: Toggle the boot mode switch to the SPI boot position.
Step #3: Power on your Odroid N2 with the sd card that has CoreELEC installed on it inserted.
Step #5: Enable SSH if you have not done so already.
go to Settings > CoreELEC > Services > SSH > Enable SSH
Step #5: SSH into your Odroid N2. (The default user and passwords for CoreELEC user: root password: coreelec)
Step #6: Run the following commands.

Code: Select all

mount -o remount,rw /flash
wget http://bit.ly/2XQS9bC -O /flash/spiboot.img
mount -o remount,ro /flash
reboot
Petitboot will update itself when it finds the spiboot.img file. This will take a few minutes.
Important: Do not Power Off your Odroid N2 during the update proccess.

After the petitboot update is finsihed your Odroid N2 will reboot, and if all went well you will have
the new petitboot version isntalled.
These users thanked the author cdu13a for the post (total 3):
tobetter (Fri Jan 17, 2020 8:32 am) • odroid (Fri Jan 17, 2020 10:10 am) • rooted (Sun Jan 19, 2020 3:24 am)

User avatar
wrxtasy
Posts: 1306
Joined: Wed May 13, 2015 1:59 pm
languages_spoken: english
ODROIDs: C1, C1+, C2, N2
Location: Australia
Has thanked: 4 times
Been thanked: 4 times
Contact:

Re: CoreELEC - How to Update petitboot from CoreELEC

Post by wrxtasy »

For those having issues with Petitboot and recent versions of CoreELEC, the minimum version required is this:
viewtopic.php?p=303117#p303117

Easiest way to get Petitboot up and running with minimal problems is use the Petitboot - Recovery image and flash that to a microSDHC before you start, as this installs a known working version of Petitboot:

https://wiki.odroid.com/odroid-n2/os_im ... overy_mode
http://ppa.linuxfactory.or.kr/images/pe ... 200816.img

I'm using CoreELEC v9.2.5 on eMMC and Volumio on a microSDHC to dual boot.

Hint: take note of the XXXX-XXXX
disk designations first to be used in the > System Configuration > Boot order selection.

W. :D
Kodi Hardware Guru

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 2 guests