Odroid N2 with Armbian Bookworm; emmc boot fail?

Post Reply
hjheins
Posts: 25
Joined: Sat Apr 06, 2013 6:23 pm
languages_spoken: english, german, dutch
ODROIDs: U2,XU3,HC1,N2+
Has thanked: 6 times
Been thanked: 1 time
Contact:

Odroid N2 with Armbian Bookworm; emmc boot fail?

Post by hjheins »

Hello all,
I am using an Odroid N2 with a 16Gb emmc and Armbian Bookworm. However as this got a bit small, I installed Armbian Bookworm to a new 64Gb emmc (Armbian is installed on an SD and can then be copied/installed to emmc).
This seemed to work fine, and I had a running system.
However, on the 3rd or 4th reboot, I got the error that the file "boot.scr" wasn't readable. With that, the emmc was not bootable anymore.
I reinstalled multiple times, and each time, the emmc would work for a 2-5 boots, but no more. Each time, i got the error as above, or the error as below (partition could not be found)

I never had this issue with the 16Gb emmc?

Does anyone know this behaviour, or better: does anyone know what is causing this and how to solve it?

thanks,
Attachments
boot.scr corrupt
boot.scr corrupt
signal-2024-03-18-213620.jpeg (426.72 KiB) Viewed 253 times
device not found
device not found
signal-2024-03-18-212302.jpeg (408.28 KiB) Viewed 256 times

User avatar
odroid
Site Admin
Posts: 42297
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3648 times
Been thanked: 2016 times
Contact:

Re: Odroid N2 with Armbian Bookworm; emmc boot fail?

Post by odroid »

Is your eMMC module's PCB color orange? In that case, I don't think it's a hardware problem.
Image

Since there are very few Armbian users on our forum, it may be difficult to get useful advice.
Anyway, try connecting the eMMC to your Linux PC using an eMMC-USB reader and check if the boot partition or related files are corrupted or not.

hjheins
Posts: 25
Joined: Sat Apr 06, 2013 6:23 pm
languages_spoken: english, german, dutch
ODROIDs: U2,XU3,HC1,N2+
Has thanked: 6 times
Been thanked: 1 time
Contact:

Re: Odroid N2 with Armbian Bookworm; emmc boot fail?

Post by hjheins »

Hi @odroid,
thanks for your reply.
The emmc is indeed orange (the 16Gb that does work is red).
Armbian seems to only generate 1 partition on the emmc. When plugged to a pc, only 1 partition is visible, however after booot, there seem to be at least 2 more, one of them called ...boot
Apparently this is a hidden partition on the emmc?

What I do not understand is why does the 16Gb emmc work flawless, where teh 64 Gb emmc already starts acting up after a couple of reboots?

thanks

User avatar
odroid
Site Admin
Posts: 42297
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3648 times
Been thanked: 2016 times
Contact:

Re: Odroid N2 with Armbian Bookworm; emmc boot fail?

Post by odroid »

Even if there is only one partition, the boot directory and related files must exist.
Only XU4 Samsung platform utilized the hidden boot partition in the eMMC.
Amlogic(N2/C4 series) and Rockchip(M1 series) platforms have never used the eMMC internal hidden partition.

I'm not sure, but it seems like there's something different about Armbian's eMMC support method.
viewtopic.php?p=383389#p383389
Perhaps it would be a good idea to ask the Armbian community.

hjheins
Posts: 25
Joined: Sat Apr 06, 2013 6:23 pm
languages_spoken: english, german, dutch
ODROIDs: U2,XU3,HC1,N2+
Has thanked: 6 times
Been thanked: 1 time
Contact:

Re: Odroid N2 with Armbian Bookworm; emmc boot fail?

Post by hjheins »

thanks, I'll try that once more. Seems that posting on forums there is censored, and so far, for some reason, my post wasn' t visible...

hjheins
Posts: 25
Joined: Sat Apr 06, 2013 6:23 pm
languages_spoken: english, german, dutch
ODROIDs: U2,XU3,HC1,N2+
Has thanked: 6 times
Been thanked: 1 time
Contact:

Re: Odroid N2 with Armbian Bookworm; emmc boot fail?

Post by hjheins »

odroid wrote:
Tue Mar 19, 2024 9:20 am
Is your eMMC module's PCB color orange? In that case, I don't think it's a hardware problem.
Image

Since there are very few Armbian users on our forum, it may be difficult to get useful advice.
Anyway, try connecting the eMMC to your Linux PC using an eMMC-USB reader and check if the boot partition or related files are corrupted or not.
My Bad: the 16Gb is Orange, the 64 GB is red.
Could that be the issue?

User avatar
odroid
Site Admin
Posts: 42297
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3648 times
Been thanked: 2016 times
Contact:

Re: Odroid N2 with Armbian Bookworm; emmc boot fail?

Post by odroid »

The red one should be compatible with N2 seires.
But I remember that the Red eMMC modules were discontinued about 6-7 years ago.
Therefore, you might need to check the health of the NAND flash cell inside your old eMMC.
viewtopic.php?f=54&t=30081

hjheins
Posts: 25
Joined: Sat Apr 06, 2013 6:23 pm
languages_spoken: english, german, dutch
ODROIDs: U2,XU3,HC1,N2+
Has thanked: 6 times
Been thanked: 1 time
Contact:

Re: Odroid N2 with Armbian Bookworm; emmc boot fail?

Post by hjheins »

Using mmc-utils gives the following:
eMMC Life Time Estimation A [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A]: 0x01
eMMC Life Time Estimation A [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B]: 0x00

When I read the thread you refer correctly, this would mean there should be barely any wear, correct?

User avatar
odroid
Site Admin
Posts: 42297
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3648 times
Been thanked: 2016 times
Contact:

Re: Odroid N2 with Armbian Bookworm; emmc boot fail?

Post by odroid »

Right. It looks okay.

Try using Ubuntu 22.04 + Kernel 6.1 OS in this link to narrow down root causes.
viewtopic.php?f=52&t=44177

hjheins
Posts: 25
Joined: Sat Apr 06, 2013 6:23 pm
languages_spoken: english, german, dutch
ODROIDs: U2,XU3,HC1,N2+
Has thanked: 6 times
Been thanked: 1 time
Contact:

Re: Odroid N2 with Armbian Bookworm; emmc boot fail?

Post by hjheins »

So, I updated petitboot (which apparently I have never done since I bought the N2 board), and ran the installer.
It went of flawless, and I now have a system booting spi, and then starting the OS. (could this also boot directly into the emmc?)
So far so good. also after multiple restarts, reboots updates and package changes, it seems to work perfectly.

I really don' t get how the difference in experience can be this stark.

For now, I'll keep it like this, but it has left me wondering: is Armbian for me so problematic because of the emmc implementation on the red emmc card? I' m wondering because the sd card version of the software also runs without any issue.
It's probably nitpicking because in both cases I can be running either Ubuntu or Debian.

Thank you very much for your help @odroid!
These users thanked the author hjheins for the post:
odroid (Wed Mar 20, 2024 9:25 am)

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest