Petitboot, yet another bootloader based on KEXEC

Post Reply
User avatar
tobetter
Posts: 6635
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 330 times
Been thanked: 924 times
Contact:

Petitboot, yet another bootloader based on KEXEC

Post by tobetter »

20201101

New Petitboot update image 20201101 is uploaded. In order to update with the new image, please attach HDMI cable and USB keyboard, go for Exit to shell from the Petitboot menu and do run the command pb-update. This will start to update new firmware and will reboot when finished.

Code: Select all

# pb-update
What's improved:
  • OLED will shows the IP address and MAC address
  • Booting issue of ArchLinux (leaded by @jgmdev) is resolved, but need more attetion to fix
In case the Petitboot does not start after updating?
For some reason, the update could fail. In such case, you will need to use the recovery image other than update image. For recovery, download the image from link and flash it to uSD card using dd or Etcher.
http://ppa.linuxfactory.or.kr/images/pe ... 201101.img

In order to start the recovery mode
1) Remove the storages attached and power cable attached to ODROID-HC4.
2) Keep attached HDMI cable to see if the recovery mode is started.
3) Flip the ODROID-HC4 case and pressing the boot select switch on bottom before power up.
4) Keep pressing the switch just until the blue LED lits, no more than it blinks.
5) If the boot select switch is pressed properly, recover mode will start and SPI flash will be updated.

Have fun with your ODROID!!
Attachments
IMG_20201101_1608502.jpg
IMG_20201101_1608502.jpg (112.87 KiB) Viewed 206 times
These users thanked the author tobetter for the post (total 2):
superpowter77 (Sun Nov 01, 2020 5:27 pm) • istanbulls (Sun Nov 01, 2020 8:38 pm)

mad_ady
Posts: 8831
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 586 times
Been thanked: 531 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by mad_ady »

Ha! Are you using the display in petitboot? cool!
These users thanked the author mad_ady for the post:
istanbulls (Sun Nov 01, 2020 8:39 pm)

User avatar
tobetter
Posts: 6635
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 330 times
Been thanked: 924 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by tobetter »

mad_ady wrote:
Sun Nov 01, 2020 4:16 pm
Ha! Are you using the display in petitboot? cool!
Yep, that's from the Petitboot with the very vare minimal information for the network.
These users thanked the author tobetter for the post:
istanbulls (Sun Nov 01, 2020 8:39 pm)

User avatar
istanbulls
Posts: 380
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 234 times
Been thanked: 54 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by istanbulls »

We want an update like this in N2 and C4 !!! :D

i ordered new 1.54 ", 2.42", 1.3 "4 pin i2c displays, i have to try.
1.3 "sh1106 screen broke. :( "uncontrollable power is not power"

mad_ady
Posts: 8831
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 586 times
Been thanked: 531 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by mad_ady »

With the risk of being chased around with a baseball bat, do you know what would be cool?
If you could mirror whatever text is selected in the petitboot screen on the oled. Presumably you could do it by writing the selection text to a text file in /tmp (from within petitboot) and have the oled screen read from it periodically.
That would allow you to operate petitboot with just the oled (not sure what possible advantage that would bring, but it would be cool!)

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 0 guests