Boot from SSD using Hardkernel's Odroid HC4


 Share

1 1

Recommended Posts

My current HC4-setup consists of 1 SSD and 1 HDD. The SSD contains the most recent Armbian-image (Buster-based) (https://redirect.armbian.com/odroidhc4/Buster_current).

Long story short: it won't boot from SSD, and Google tells me it is because Armbian is not compatible with Petiboot. Armbian suggests the following solution:

 

"Important: To be able to boot clean Armbian mainline based u-boot / kernel experiences, you need to remove incompatible Petitboot loader that is shipped with the board. From the Petitboot, go for “Exit to shell” and these commands to remove the Petitboot:"

# flash_eraseall /dev/mtd0
# flash_eraseall /dev/mtd1
# flash_eraseall /dev/mtd2
# flash_eraseall /dev/mtd3

"This will make your SPI flash memory empty and would start from SD on next boot."

 

However, it doesn't mention whether this works for booting from an SSD. Does it? And if not, is there a possibility of booting Armbian from an SSD without using an SD-card?

 

Thanks in advance!

 

P.S. I found the following (unresolved) related question: https://www.reddit.com/r/ODroid/comments/moxxhl/uboot_from_sata_on_hc4/

Link to post
Share on other sites

Donate and support the project!

Boot from SSD without SD card is currently not supported on HC4. However, it is easy to have only the boot loader on SD card (as @Werner stated above):

- flash armbian image to SD Card

- erase petitboot as stated above

- boot armbian from SD Card

- run nand-sata-install within armbian

after this

- only the boot loader rests on SD card (i.e. you need the SD card plugged in for it to be able to boot) - but no I/O on SD card after boot loader

- OS root partition (and entire system) runs from SSD

- any update updates boot loader and kernel where they actually reside - so no special precautions needed (despite the usual "update may break something")

 

I am running on this setup and it works like a charm for me.

 

Hope that helps

 

Green Daddy

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

1 1