[SOLVED] How to restore Petitboot on HC-4

Post Reply
fkreuz
Posts: 5
Joined: Sun Nov 15, 2020 3:47 am
languages_spoken: english
ODROIDs: HC 4
Has thanked: 1 time
Been thanked: 0
Contact:

[SOLVED] How to restore Petitboot on HC-4

Post by fkreuz »

Hi,

it seems like my firmware / Petitboot is broken on my HC4.

Only the red light is on after power connection, no flashing blue light anymore. If I keep pressing the switch at the bottom of the case (to enforce boot from SD Card), it works with your Ubuntu Mate image provided.
But I always have to keep pushing this button at boot time.

Where can I please get the HC4 Petitboot firmware image and how to restore it?

You can assume I made a mistake like "Exit to shell" , run "flash_eraseall /dev/mtd0" in the command line of the Petitboot"...

Thank you for your kind help in advance.

Best regards,
Frank

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

Re: How to restore Petitboot on HC-4

Post by tobetter »

Where did you get the command "flash_eraseall /dev/mtd0"? And why did you try? Doesn't it boot from SD card after the command?

Download "spiupdate_odroidhc4_20201112.img" from the link, and flash it to SD card. Boot with SD card while keep pressing the switch until the blue LED on, then the SPI flash memory will be restored.
http://ppa.linuxfactory.or.kr/images/pe ... odroidhc4/

fkreuz
Posts: 5
Joined: Sun Nov 15, 2020 3:47 am
languages_spoken: english
ODROIDs: HC 4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: How to restore Petitboot on HC-4

Post by fkreuz »

Hi,

I got it from this post: viewtopic.php?p=310908#p310908

After numerous tries, I got it to work with my HDMI screen (without doing anything special but kept trying). Then I did the stupid mistake of deleting Petitboot (my bad).

Now the blue light is back (not flashing though) and I am back with my initial problem again, no HDMI output visible...

fkreuz
Posts: 5
Joined: Sun Nov 15, 2020 3:47 am
languages_spoken: english
ODROIDs: HC 4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: How to restore Petitboot on HC-4

Post by fkreuz »

Hi, sorry, do not get it to work. Did create the image as you suggested. Pressing button during power on, then blue light blinks but nothing else happens. No HDMI output whatsoever.

If I use the Ubuntu Mate SD card, do the same (push button during power on), it boots into Mate and all is fine.

Any idea what else I could do? Something from within Ubuntu Mate with ODROIDBIOS.BIN maybe?

Without manual intervention during power up, the device does not boot anything, not even Ubuntu Mate.

THX for you kind help in advance.

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

Re: How to restore Petitboot on HC-4

Post by tobetter »

fkreuz wrote:
Sun Nov 15, 2020 6:49 am
Hi, sorry, do not get it to work. Did create the image as you suggested. Pressing button during power on, then blue light blinks but nothing else happens. No HDMI output whatsoever.

If I use the Ubuntu Mate SD card, do the same (push button during power on), it boots into Mate and all is fine.

Any idea what else I could do? Something from within Ubuntu Mate with ODROIDBIOS.BIN maybe?

Without manual intervention during power up, the device does not boot anything, not even Ubuntu Mate.

THX for you kind help in advance.
Are you sure you have flash the image with Etcher and let it start with button pressing on the bottom? When the blue LED blinks, it boots. If you are not able to see HDMI, why don't you let it be for 10 minutes? Maybe it would recover it while showing nothing.
Or you can try another image,
http://ppa.linuxfactory.or.kr/images/pe ... 201101.img

Other OS image cannot recover SPI flash memory. So please try again with the images I shared and let me know so I can help you.

fkreuz
Posts: 5
Joined: Sun Nov 15, 2020 3:47 am
languages_spoken: english
ODROIDs: HC 4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: How to restore Petitboot on HC-4

Post by fkreuz »

Sorry to say, no success. Did find an old monitor now which shows a screen, do get by pressing the button at power up to a menu.

One time during boot it said something like "invalid SPI partition for firmware".

However, nothing else happens, no automatic flash process etc.

Any way to enforce it to re-install the initial flash?`

THX for any help in advance.

screenshot from boot screen: Image

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

Re: How to restore Petitboot on HC-4

Post by tobetter »

I've tried the same many times and the same screen I have if I press the button long more the the blue LED lits. Can you try to release the key pressing no longer than the blue LED turns on.
These users thanked the author tobetter for the post:
fkreuz (Mon Nov 16, 2020 12:09 am)

fkreuz
Posts: 5
Joined: Sun Nov 15, 2020 3:47 am
languages_spoken: english
ODROIDs: HC 4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: How to restore Petitboot on HC-4

Post by fkreuz »

You made my day! It worked, thank you so much. Netboot install of Ubuntu worked in consequence like a charm! Kind regards, Frank

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

Re: How to restore Petitboot on HC-4

Post by tobetter »

fkreuz wrote:
Mon Nov 16, 2020 12:08 am
You made my day! It worked, thank you so much. Netboot install of Ubuntu worked in consequence like a charm! Kind regards, Frank
Glad to hear you finally recover it and use Netboot Installer. :)

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 1 guest