Odroid HC4 NCP support thread

yes sir

Everytime there is a new release I rebuild all images, so the issue should go away. There is always the option to install NCP on the latest armbian image using softy

I just built an image using the script in the git and, sadly, it doesnt boot from sata if I just flash an SSD with the image.

Does the build script
./build-SD-armbian.sh odroidhc4
pull the latest armbian image or can I try and flash armbian and then use the curl installer?

Had a look at armbianā€™s odroid hc4 page

Where it is mentioned that

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.

In case you want to put Petitboot back to the board, user those instructions.

I remember doing this when it first came out and not being able to boot from SATA still, go figure as it explicitly says it will try to boot from SD-card.

Before trying anything like that his time I found the ā€œpb-updateā€ command in the shell and will update.

Ok, updating petitboot only made petitboot a bit more legible but no difference in outcome.

I tried erasing the SPI flash memory but it seems I would need to put /boot on an sdcard and point it to root on the SSD for that solution to work.

Thereā€™s a solution offered on the armbian forums that basically describes this setup. Install to SD, then migrate to SSD using nand-sata-install.

Iā€™m gonna try this for now but would be nice with a petitboot script. Might look at how other distros do it and see if itā€™s not too hard to adapt their scripts.

seems thereā€™s finally a new release:
NextCloudPi_OdroidHC4_10-08-21
with alot hope, I downloaded and prepared the SD,
then tried to boot the odroidHC4 (which was bought about a year ago to use with NCP - but failed to see the SATA drives)
too bad the device doesnā€™t boot at all ā€¦ :cry:
odroidHC4 is going to ebay now, not wanting to wait another yearā€¦
NCP is a great project, but itā€™s not for odroidHC4, I guess

btw, the result is identical with the NextCloudPi_OdroidHC2_10-08-21 on a odroidHC2 :cry: :cry:
so odroidHC 's are not supported anymore?
ā€“correction:
after flashing NextCloudPi_OdroidHC2_11-27-20 and seeing the NCP in the net, I reflashed the SD with NextCloudPi_OdroidHC2_10-08-21 and this time it seems to work ?!?!

flashing the SD with Armbian_21.08.1_Odroidhc4_bullseye_current_5.10.60 works, however trying to install NCP with the curl command ends up with:

Installing NextCloudPiā€¦
ERROR: distro not supported:
Armbian 21.08.3 Bullseye \l

sorry, but Iā€™m very frustratected nowā€¦

Armbian odroidHC4
buster 5.10.y works with curl installation

well, I donā€™t own an odroid HC4 so I rely on user feedback, if instead of selling it on ebay you give me feedback then I can try to fix it for everyone

Sure, Iā€™m glad to help,
what feedback do you need?
with the HC4 image the device does not boot at all

I bought an Odroid HC4 last week when I saw the new release 10-08-21. But unfortunately I get the same problem as FraZon. The device doesnā€™t boot. How can I give you a feedback nachoparker? Thanks

does the regular armbian image boot? I donā€™t have the board

FraZon

24d

Armbian odroidHC4
buster 5.10.y works with curl installation

Iā€™d be more than happy to help with that.
tell me how to build the image, and I can do it and test it same time.

Yes. I tried Armbian_21.08.1_Odroidhc4_buster_current_5.10.60.img

I do run meanwhile a HC4 with NC and 2x 6TB, but I installed it by meyself.
If I can help with testing an image, just let me know!

does the one on ownyourbits.com/downloads work for you?

@nachoparker The current version for the Odroid HC4 seem obviously not working, when do you expect to release a new working version?

1 Like

you should remove the faulty image to prevent users from wasting their time to download and try

1 Like

The release 03-01-22 work

Thank you very much @nachoparker !

1 Like

I got Nextcloud(pi) running, thanks to @FraZon and @nachoparker!

One issue I cannot fix: nc-automount is activated but no HDD/SSD (even after nc-format-USB) is displayed (in SSH: df -h).

Edit: I installed the Armbian 22.02 Bullseye (Kernel 5.10.y) on HC2 and HC4 in parallel and got NCP via curl. SSH runs without problems. Disks are not detected by HC4: not depicted via SSH / ā€œpath does not existā€ in WebGUI.

https://ownyourbits.com/downloads/NextCloudPi_OdroidHC4_03-01-22/

ā†’ boots, starts up and detects HDDs on SATA
Thanks alot for this!

however, there seems to be an issue enabling SSH / i dont think this is oHC4 related, is it?