Can't get Dietpi to boot on ODROID N2+

Same happens like me before and Thanks Michalng fixed the issues ,I purchased a N2+ with 16gb orange pcb emmc from Hardkernel few months ago and I had problem to boot up dietpi or armbian from Hardkernel’s Orange PCB and then I purchased a WHITE PCB eMMC (16gb Blank eMMC without OS) from armerodroid.com and works without any issues , But then after 2-3 days Michalng told me he fixed the hardkernal’s orange pcb emmc bootloader and I feel like wasted like $30 CAD include shipping … BAD Michalng … just kidding :sweat_smile:

OK , Step 1 : Try format the eMMC with eMMC usb adapter and install SD Card Formatter on windows and then use balenaEtcher to burn the image file ( remember to unzip the image file before you burn and make sure the green mark with successful)

Step 2 : Double check the switch it’s not petitboot and ethernet cable connect to N2+ ( no wifi adapter)

Step 3 : Make sure you purchased the right eMMC for N2+ ( check your purchase history from hardkernel and double check 128gb eMMC Module N2 Linux )

If you purchase the right emmc and follow the Step 1 it should work , because i have no problem installing dietpi on hardkernel’s orange emmc or armerodroid’s white emmc , Both works without any problem now .

PS : If you don’t want to waste time to fix it just order white emmc from armerodroid and 100% works , only 16gb version available but you can always transfer userdata to external ssd .

So you can replicate it now? That would at least confirm it’s not just at my end, but a general thing.

Just to make sure, I have this eMMC: G201120831158;
which seems to be this one: 128GB eMMC Module N2 Linux – ODROID

Tried these steps before; it’s definitely just the Hardkernel Linux version eMMC.
It’s not booting with that procedure, for me.

Did you try to replicate just now, or are you just stating it worked after @MichaIng fixed the bootloader in the previous case?

I tried this just now; the dd command copied the whole 32GB SD to the eMMC.

When I tried to boot now, I get no boot, no output. The screen is fully black and it seems to do nothing.

I won’t be able to replicate on my eMMC until second week of January. It always worked for me on orange (Hardkernel) 16 GiB eMMC and we fixed it some weeks ago for greentea1 while it still worked for me as well. Quite a disappointment that it now does not work for you two. Nasty that the board/U-Boot is so picky about the eMMC so that we do not seem to find a build which simply works for everyone…

I tried to get it working with Hardkernel’s petitboot, but it does not support all U-Boot syntax we need.

1 Like

Ok I understand now, I thought it was a general thing and that it was broken for everyone with this kind of eMMC.
This obviously makes it ten times harder indeed.

Just FYI if it helps:
I just tried with a Armbian build (Bullseye image for N2+) and that one works just fine.

If there’s a fix for this, I would love to hear about it so I can test a bit further. If not, I will probably have to use Armbian instead of DietPi (while DietPi is my preferred choice, obviously :slight_smile: )

Thanks for the help already given and for future investigation if any.

For now also already a happy New Year of course! Onto an amazing 2023!

Would it be possible to install the Armbian (Debian) build and run our installation script afterwards?

1 Like

I could try that early next week (have some family gatherings today and tomorrow).

Could you give me a step by step guide for the DietPi installation script?
Then I can flash Armbian (Debian, which is the Bullseye image I think so exactly what I have right now on the eMMC) and use the steps for the script.

Have a look to our online docs Supported hardware - DietPi.com Docs

1 Like

Thanks, didn’t know that page existed for this specific installer script.
Seems easy enough, I’ll try it out and will report the results.

Actually my hardkernal orange eMMC works without any problem , I formatted few times already and also re-install dietpi few times without any boot problem at all everything running smooth . And now I just keeping armeridroid’s white eMMC as backup because that white eMMC works with N2+ and XU4 , armeridroid said that emmc works with most single board computers not only odroid .

I highly recommend get this eMMC if you have boot problem with orange eMMC :

TBH 128gb eMMC $45USD is wasted not worth it because you can always use dietpi-drive_manager move the userdata to external ssd for fast performance , 256gb Timetec ssd only cost $25USD and 512gb cost $35 + $10 Sabrent USB 3.0 to SSD cable I got more storage and 5 times faster than eMMC .

2 Likes

Let’s see whether Armbian U-Boot helps without breaking again other cases: Odroid N2 | Revert to Armbian U-Boot by MichaIng · Pull Request #6025 · MichaIng/DietPi · GitHub

Build is running, image can be found in ~20 minutes here: Index of /downloads/images/testing

1 Like

Thanks for the test build.

I’ve flashed the image and tried to boot.
It seems to work; going through the first boot process right now.

1 Like

That is great. @greentea1 just if you are in mood and find time, it would be interesting whether this image does as well boot from your orange eMMC (the one which you had issues before), or whether we are in a quandary for (not) supporting either the one or the other eMMC :smile:.

Let’s hope it works for both of us indeed :smiley:

@greentea1
Sorry to bother, will you find time to retest our recent image with Armbian bootloader from Index of /downloads/images/testing? I hope for being able to close the topic :slightly_smiling_face:.

I think you updated the image and the current image do NOT work with the “white” sandisk pcb anymore , I am not sure about the orange pcb which i am currently using it and i don’t want to reformat .

You mean the one in /testing right? Yes that has Armbian’s U-Boot build while the one in stable downloads still has the other one.

Okay so then we are in the bad situation that none of the two bootloaders works in every case, but Armbian’s seem to cause more issues, so we stick with what we have and hope that @KevChief remains the only case.

Btw, there is now the new option to test booting via SPI flash/petitboot. I mean it generally was always an option but our recent images generally have petitboot support now. However, it actually fails for me to boot from eMMC for unknown reasons, only works with SD card and USB flash drive. But worth to test.

You mean the 8.14 image or testing image DietPi_OdroidN2-ARMv8-Bookworm.7z ? tried 8.14 and I just installed on my external ssd and switch to spi but I stucking in initramfs screen , As you can see i have 2x N2+ with 2 different type of PCB eMMC official orange pcb and white sandisk eMMC and 1x XU4 , Let me know if you want me to test it .


Hey mate,
I forgot to take a backup of the build / image you made.
I wanted to create a new factory reset build, but now notice I didn’t save that build and of course remember now that I can’t just download a new image because I need the Armbian U-boot that is not in your normal builds…

Any chance you could create a new build for me as last time; I’ll make sure to back-up this new one for future use if I need it.

Thanks in advance!