N2+ problems booting from eMMC

Post Reply
Argan0x
Posts: 8
Joined: Thu Mar 14, 2024 10:51 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 2 times
Been thanked: 0
Contact:

N2+ problems booting from eMMC

Post by Argan0x »

Dear forum,

<RANT>
I've bought a N2+ board from https://www.kiwi-electronics.com/
It seems it's not booting from eMMC flash but does boot from SD. I open a ticket with them but they just send me a link to this forum or wanted me to pay (again) for checking the board.
Very nice support kiwi's... so I hope someone here is better placed to assist me.
</RANT>

So the board does not seem to boot from eMMC.

I tried reflashing the petitboot, this ran perfectly as described in the ODROID wiki.
Tried booting eMMC > same issue
Tried reflashing the odroid hassio image to the eMMC > same issue
So I wrote the ubuntu image from the wiki to the SD card > booted from SD card > Ubuntu boots perfectly fine.
Las resort I tried inserting the eMMC module in the SD card slot via the eMMC programmer and tried booting like this > boots HA fine (so ne eMMC I guess)

When I try to boot from eMMC I notice messages during boot like:
Card did not respond to Voltage Select! : -110
AND
Unable to select mode : -5

Not sure if related. From what I found on the forums these seem to be related to the missing SD card when only eMMC is connected?

Thanks in advance!

User avatar
tobetter
Posts: 13094
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 996 times
Been thanked: 2275 times
Contact:

Re: N2+ problems booting from eMMC

Post by tobetter »

Please share the all message comes when you boot from eMMC, photo or all logs in text would be best.
Also please take a photo as eMMC is attached to the board, not SD card, it would be perfectly fine if the photo shows the circuit around eMMC, not entire board.

Argan0x
Posts: 8
Joined: Thu Mar 14, 2024 10:51 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 2 times
Been thanked: 0
Contact:

Re: N2+ problems booting from eMMC

Post by Argan0x »

As requested:
IMG20240314162606[1].jpg
IMG20240314162606[1].jpg (756.54 KiB) Viewed 253 times
IMG20240314162638[1].jpg
IMG20240314162638[1].jpg (565.63 KiB) Viewed 253 times

User avatar
tobetter
Posts: 13094
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 996 times
Been thanked: 2275 times
Contact:

Re: N2+ problems booting from eMMC

Post by tobetter »

I can't see any visible problem on the board.
After flip the boot select switch to SPI from MMC, replug the power cable. Then you will have Petitboot screen over HDMI, then select Exit to shell in the menu and run ls /dev/mmcblk* so you have /dev/mmcblk0 or so in the output. Obviously you must attach eMMC to its slot,
It's a bit hard to figure out which one is bad between the board and eMMC, if you can boot from eMMC through SD card, then the board would be the problem.
These users thanked the author tobetter for the post:
Argan0x (Fri Mar 15, 2024 4:40 am)

Argan0x
Posts: 8
Joined: Thu Mar 14, 2024 10:51 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 2 times
Been thanked: 0
Contact:

Re: N2+ problems booting from eMMC

Post by Argan0x »

When booting SPI I do indeed see the multiple partitions on the mmc device from the shell.
But it fails to boot and indeed when I connect the same eMMC module to the SD card slot via adapter it boots fine.

Also tried with other 'known good' eMMC modules it also doesn't boot.

So my conclusion was indeed the same: Faulty board.
Hence why I contacted the reseller, Kiwi Electronics, for an RMA replacement but they sent me here.

I was hoping I missed something. ;)

Argan0x
Posts: 8
Joined: Thu Mar 14, 2024 10:51 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 2 times
Been thanked: 0
Contact:

Re: N2+ problems booting from eMMC

Post by Argan0x »

ok so apparently there is no issue with the board. Got it back from supplier, they tested it and confirmed it worked.

So what I tried now:
Flashing default Ubuntu to mmc (via SPI mode) > boots fine indeed :shock:
Flashed the Hassio odroid N2 image to emmc (via SPI mode) > Doesn't boot (see picture in previous post)
Flashed older version of hassio image using different flasher software and even dd on difrent linux pc (via SPI mode) > Same issue... doesn't boot
Flashed the armbian image with Supervised Hassio (via SPI mode) > Work fine

I'm lost here. What's up with the hassio image? Is there something specific I'm missing?
I'd like to use this one since it also manages the OS and I don't have to check and update al dependencies myself.
Is this a known issue with the SPI flash?

I'm using an orange 32G eMMC module.
After the messages in the picture I end up on a prompt that states: HAOS>

User avatar
tobetter
Posts: 13094
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 996 times
Been thanked: 2275 times
Contact:

Re: N2+ problems booting from eMMC

Post by tobetter »

Argan0x wrote:
Fri Mar 29, 2024 3:45 am
ok so apparently there is no issue with the board. Got it back from supplier, they tested it and confirmed it worked.

So what I tried now:
Flashing default Ubuntu to mmc (via SPI mode) > boots fine indeed :shock:
Flashed the Hassio odroid N2 image to emmc (via SPI mode) > Doesn't boot (see picture in previous post)
Flashed older version of hassio image using different flasher software and even dd on difrent linux pc (via SPI mode) > Same issue... doesn't boot
Flashed the armbian image with Supervised Hassio (via SPI mode) > Work fine

I'm lost here. What's up with the hassio image? Is there something specific I'm missing?
I'd like to use this one since it also manages the OS and I don't have to check and update al dependencies myself.
Is this a known issue with the SPI flash?

I'm using an orange 32G eMMC module.
After the messages in the picture I end up on a prompt that states: HAOS>
HAOS image have it's own bootloader and script that is not to be managed by Petitboot, so it won't boot via SPI mode.
You have a boot log from HAOS even if it does not starts, your eMMC is also good.
The problem is why HAOS is failed to boot with its own image, you would be better to share the problem with HAOS forum.
Or you should try with SD card if it boots or not.

usual user
Posts: 132
Joined: Sat Sep 10, 2022 10:47 pm
languages_spoken: english
Has thanked: 4 times
Been thanked: 51 times
Contact:

Re: N2+ problems booting from eMMC

Post by usual user »

It was known in the past that some mainline firmware builds had problems with some eMMC modules. I just uploaded a HAOS image with a swapped firmware for someone else. It might be worth a try to see if it makes a difference in your case.

Argan0x
Posts: 8
Joined: Thu Mar 14, 2024 10:51 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 2 times
Been thanked: 0
Contact:

Re: N2+ problems booting from eMMC

Post by Argan0x »

usual user wrote:
Fri Mar 29, 2024 3:38 pm
It was known in the past that some mainline firmware builds had problems with some eMMC modules. I just uploaded a HAOS image with a swapped firmware for someone else. It might be worth a try to see if it makes a difference in your case.
@usual user, could you elaborate a bit more on the 'swapped firmware' part? what is modified in the image? Is the code available on github?
Also, could you provide a link via another platform? This one seems dodgy and doesn't let me download the image.
It only triggers warnings on the defender / virusscanner since the entire site is overlayed to a strange download link.

Argan0x
Posts: 8
Joined: Thu Mar 14, 2024 10:51 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 2 times
Been thanked: 0
Contact:

Re: N2+ problems booting from eMMC

Post by Argan0x »

tobetter wrote:
Fri Mar 29, 2024 8:11 am
Argan0x wrote:
Fri Mar 29, 2024 3:45 am
ok so apparently there is no issue with the board. Got it back from supplier, they tested it and confirmed it worked.

So what I tried now:
Flashing default Ubuntu to mmc (via SPI mode) > boots fine indeed :shock:
Flashed the Hassio odroid N2 image to emmc (via SPI mode) > Doesn't boot (see picture in previous post)
Flashed older version of hassio image using different flasher software and even dd on difrent linux pc (via SPI mode) > Same issue... doesn't boot
Flashed the armbian image with Supervised Hassio (via SPI mode) > Work fine

I'm lost here. What's up with the hassio image? Is there something specific I'm missing?
I'd like to use this one since it also manages the OS and I don't have to check and update al dependencies myself.
Is this a known issue with the SPI flash?

I'm using an orange 32G eMMC module.
After the messages in the picture I end up on a prompt that states: HAOS>
HAOS image have it's own bootloader and script that is not to be managed by Petitboot, so it won't boot via SPI mode.
You have a boot log from HAOS even if it does not starts, your eMMC is also good.
The problem is why HAOS is failed to boot with its own image, you would be better to share the problem with HAOS forum.
Or you should try with SD card if it boots or not.
Thanks, I did indeed test to boot is out of SPI mode.
I only used the SPI mode to get the eMMC mounted as a mass storage device so I could flash it.

usual user
Posts: 132
Joined: Sat Sep 10, 2022 10:47 pm
languages_spoken: english
Has thanked: 4 times
Been thanked: 51 times
Contact:

Re: N2+ problems booting from eMMC

Post by usual user »

Argan0x wrote:
Sat Mar 30, 2024 1:57 am
could you elaborate a bit more on the 'swapped firmware' part?
This command was applied to the image;

Code: Select all

xz -d haos_odroid-n2-12.1.img.xz ; dd bs=512 seek=1 conv=notrunc,fsync if=u-boot-meson.bin of=haos_odroid-n2-12.1.img ; xz -z haos_odroid-n2-12.1.img
with u-boot-meson.bin build from mainline U-Boot sources. The image is only meant to prove that the firmware is the culprit. If this is confirmed, you can complain to HA to repair their firmware.
Argan0x wrote:
Sat Mar 30, 2024 1:57 am
could you provide a link via another platform?
Guess you have a misconfigured Adblock, try here.
These users thanked the author usual user for the post:
Argan0x (Tue Apr 02, 2024 3:02 pm)

Argan0x
Posts: 8
Joined: Thu Mar 14, 2024 10:51 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 2 times
Been thanked: 0
Contact:

Re: N2+ problems booting from eMMC

Post by Argan0x »

usual user wrote:
Sat Mar 30, 2024 3:19 am
Argan0x wrote:
Sat Mar 30, 2024 1:57 am
could you elaborate a bit more on the 'swapped firmware' part?
This command was applied to the image;

Code: Select all

xz -d haos_odroid-n2-12.1.img.xz ; dd bs=512 seek=1 conv=notrunc,fsync if=u-boot-meson.bin of=haos_odroid-n2-12.1.img ; xz -z haos_odroid-n2-12.1.img
with u-boot-meson.bin build from mainline U-Boot sources. The image is only meant to prove that the firmware is the culprit. If this is confirmed, you can complain to HA to repair their firmware.
Argan0x wrote:
Sat Mar 30, 2024 1:57 am
could you provide a link via another platform?
Guess you have a misconfigured Adblock, try here.
Thanks @usual user!
Quite busy weekend so I'll have a look this week. Should it work, I'll check the HA forums!
Many thanks for the help so far, much appreciated!

Argan0x
Posts: 8
Joined: Thu Mar 14, 2024 10:51 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 2 times
Been thanked: 0
Contact:

Re: N2+ problems booting from eMMC

Post by Argan0x »

@usual user, I tried booting from the image though the issue persists.
I get the same output as before but now the last message is:

Code: Select all

*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
No More bootdevs
--- ------------ ------ ------------ ---- ----------------------------- ------------------------
(0 bootflows, 0 valid)
=> 
Any ideas? :(

usual user
Posts: 132
Joined: Sat Sep 10, 2022 10:47 pm
languages_spoken: english
Has thanked: 4 times
Been thanked: 51 times
Contact:

Re: N2+ problems booting from eMMC

Post by usual user »

Argan0x wrote:
Thu Apr 04, 2024 10:38 pm
Any ideas?
Please post the entire U-Boot log of the serial console, my crystal ball is currently out for maintenance.

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 1 guest