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
[SOLVED] How to restore Petitboot on HC-4
- 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
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/
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/
-
- 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
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...
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...
-
- 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
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.
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.
- 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
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.fkreuz wrote: ↑Sun Nov 15, 2020 6:49 amHi, 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.
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.
-
- 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
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:
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:

- 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
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.
-
- 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
You made my day! It worked, thank you so much. Netboot install of Ubuntu worked in consequence like a charm! Kind regards, Frank
- 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:
Who is online
Users browsing this forum: No registered users and 1 guest