New N2+ won't boot.

Post Reply
neilc1234
Posts: 12
Joined: Tue Mar 26, 2024 4:34 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

New N2+ won't boot.

Post by neilc1234 »

Hi everyone,
I just purchased a new N2+ preinstalled with Home Assistant from https://www.odroid.nl
From first plug in it did not boot into home assistant.
The people from odroid.co.uk were very helpful and sent me the instructions to reflash the home assistant with balenaEtcher.
I reflashed without any problems but am left with the same issue.
On my router I reserved 192.168.0.238 for the odroid
The following is copied from photos of the boot up process so some lines may be missing or typos, hopefully someone can point me in the right direction.

Board variant: n2-plus
Net:
etho: etherneteff3f0000
Card did not respond to voltage select! : -110
unable to select a mode : -5
MMC Device 2 not found
no mic device at slot 2
starting USB...
Bus usbeff500000: Register 3000140 NbrPorts 3
Starting the controller
USB XHCI 1.10
scanning bus usbeff500000 for devices... 4 USB Device(s) found
usb - USB sub-system

Usage:
ush start - start (scan) USB controller
usb reset - reset (rescan) USB controller
ush stop [f] - stop USB [f]=force stop
usb tree - shou USB device tree
usb info (deul - shou available USB devices
usb test [deul [port] [model - set USB 2.0 test mode
(specify port o to indicate the device's upstream port)
Available modes: J, K, SEE_NAK], Placket], Florce Enable]

Speed: 1000, full duplex
BODTP broadcast 1
BDDTP broadcast 2
BODTP broadcast 3




scanning bus usbeff500000 for devices... 4 USB Device(s) found usb - USB sub-system
Usage:
usb start - start (scan) USB controller
usb reset - reset (rescan) USB controller
usb stop [f] - stop USB [f]=force stop
usb tree - show USB device tree
usb info (deul - show available USB devices
usb test [deu] [port] [mode] - set USB 2.0 test mode
(specify port 0 to indicate the device's upstream port)
Available modes: J, K, SLEO_NAK], Placketl, Florce_Enable]

Speed: 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
*** Unhandled DHCP Option in OFFER/ACK: 125
*** Unhandled DHCP Option in OFFER/ACK: 2
* Unhandled DHCP Option in OFFER/ACK: 125
*** Unhandled DHCP Option in OFFER/ACK: 2
DHCP client bound to address 192.168.0.238 (6073 ms)
*** ERROR: "serverip' not set
Cannot autoload with TFTPGET
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/01-00-1-06-43-8e-28
Speed: 1000, full duplex
server ip" not set
Retrieving file: pxelinux.cfg/COABOOBE
Speed: 1000, full duplex
*** ERROR: server ip" not set
Retrieving file: pxelinux.cfg/COA800E
Speed: 1000, full duplex
*** ERROR: "serverip" not set
Retrieving file: pxelinux.cfg/COA800
Speed: 1000, full duplex
*** ERROR: "serverip" not set
Retrieving file: pxelinux.cfg/COAB0
Speed: 1000, full duplex
*** ERROR: "serverip" not set
Retrieving file: pxelinux.cfg/COAB
Speed: 1000, full duplex
*** ERROR: "serverip" not set
Retrieving file: pxelinux.cfg/COA
Speed: 1000, full duplex
*** ERROR: "serverip" not set
Retrieving file: pxelinux.cfg/CO
Speed: 1000, full duplex
*** ERROR: "serverip" not set
Retrieving file: pxelinux.cfg/C
Speed: 1000, full duplex
*** ERROR: "serverip" not set
Retrieving file; pxelinux.cfg/default-arm-meson-odroid-n2
Speed: 1000, full duplex
*** ERROR: "serverip" not set
Retrieving file: pxelinux.cfg/default-arm-meson
Speed: 1000, full duplex
*** ERROR: "serverip" not set
Retrieving file: pxelinux.cfg/default-arm
Speed: 1000, full duplex
*** ERROR: "serverip" not set
Retrieving file: pxelinux.cfg/default
Speed: 1000, full duplex
*** ERROR: "serverip" not set
Config file not found

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: New N2+ won't boot.

Post by odroid »

Did you follow this instruction for flashing HAOS? https://www.home-assistant.io/common-ta ... -odroid-n2
Are the red LED solid on and the blue LED flashing like heartbeat on your N2+ board?
Also check the position of the slide switch MMC or SPI?

neilc1234
Posts: 12
Joined: Tue Mar 26, 2024 4:34 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: New N2+ won't boot.

Post by neilc1234 »

Yes, I followed that guide exactly and flashed HAOS successfully.
When in SPI mode there is a solid red light and a blue heartbeat.
When I was successfully flashed I returned to MMC mode but there is only a solid red light in this position, no blue heartbeat.
It is in the MMC position that I get the above code.

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: New N2+ won't boot.

Post by usual user »

The console log reveals that no valid local boot device can be found.
A successful boot console log should look something like this:

Code: Select all

U-Boot 2024.04-rc2-g8190a7d (Mar 01 2024 - 00:00:00 +0000) odroid-n2/n2-plus

Model: Hardkernel ODROID-N2
SoC:   Amlogic Meson G12B (S922X) Revision 29:c (40:2)
DRAM:  1 GiB (effective 3.8 GiB)
Core:  404 devices, 32 uclasses, devicetree: separate
MMC:   sd@ffe05000: 0, mmc@ffe07000: 1
Loading Environment from nowhere... OK
In:    usbkbd,serial
Out:   vidconsole,serial
Err:   vidconsole,serial
Board variant: n2-plus
Net:   eth0: ethernet@ff3f0000
starting USB...
Bus usb@ff500000: Register 3000140 NbrPorts 3
Starting the controller
USB XHCI 1.10
scanning bus usb@ff500000 for devices... 5 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Card did not respond to voltage select! : -110
*** U-Boot Boot Menu ***
Scanning bootdev 'sd@ffe05000.bootdev':
  1  extlinux     ready   mmc          2  sd@ffe05000.bootdev.part_ /extlinux/extlinux.conf
** Booting bootflow 'sd@ffe05000.bootdev.part_2' with extlinux
Fedora-KDE-aarch64-Rawhide-20240301 Boot Options
1:      ODROID-M1 696d670-03
2:      ODROID-M1 696d670-03 previous
3:      Odroid-N2+ 696d670-03
4:      Odroid-N2+ 696d670-03 previous
Enter choice: 4
4:      Odroid-N2+ 40000016-03 previous
Retrieving file: /usr/lib/modules/linux-previous/vmlinuz
append: loglevel=4 root=PARTUUID=696d670-03 console=ttyAML0,115200 console=tty1
Retrieving file: /usr/lib/modules/linux-previous/dtb/amlogic/meson-g12b-odroid-n2-plus.dtb
   Uncompressing Kernel Image to 0
Moving Image from 0x8080000 to 0x8200000, end=c1c0000
## Flattened Device Tree blob at 08008000
   Booting using the fdt blob at 0x8008000
Working FDT set to 8008000
   Loading Device Tree to 000000003ffef000, end 000000003ffff2d8 ... OK
Working FDT set to 3ffef000

Starting kernel ...
The lines starting with "*** U-Boot Boot Menu ***" will be different, because they are due to my firmware build. However, they should also end with "Starting kernel ..." at the end.
All subsequent lines in the provided log with network activities only try to locate a remote boot device and should be irrelevant, since there is certainly no remote boot device set up.

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: New N2+ won't boot.

Post by odroid »

neilc1234 wrote:
Tue Mar 26, 2024 4:53 pm
Yes, I followed that guide exactly and flashed HAOS successfully.
When in SPI mode there is a solid red light and a blue heartbeat.
When I was successfully flashed I returned to MMC mode but there is only a solid red light in this position, no blue heartbeat.
It is in the MMC position that I get the above code.
Slide switch position is okay.
If HAOS booted and ran fine, the blue LED should be flashing heartbeat as far as I remember.
However, the HA team might have changed Blue LED's characteristics recently.

Did you flash haos_odroid-n2-12.1.img.xz? Check the OS image file name carefully.
It might be worth to try flashing a previous version too.
https://github.com/home-assistant/opera ... 2.0.img.xz

neilc1234
Posts: 12
Joined: Tue Mar 26, 2024 4:34 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: New N2+ won't boot.

Post by neilc1234 »

The version I used is taken directly off the home assistant site:
https://github.com/home-assistant/opera ... 2.1.img.xz

HAOS flashed perfectly but did not boot, it gets hung up which can be seen in the above code.
Last edited by neilc1234 on Tue Mar 26, 2024 6:28 pm, edited 1 time in total.

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: New N2+ won't boot.

Post by odroid »

Let's try our official Ubuntu OS image to check if your hardware is fine or not.
Please flash this OS image and let us know if you can see a Ubuntu desktop OS on your monitor or not.
The blue LED must be blinking if our OS kernel runs fine.
https://wiki.odroid.com/odroid-n2/os_im ... u/20220629


BTW, do you use an eMMC module and a microSD card together?
If yes, remove the microSD card from your N2+ for the initial tests.

neilc1234
Posts: 12
Joined: Tue Mar 26, 2024 4:34 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: New N2+ won't boot.

Post by neilc1234 »

I will try this when I get home in a few hours.
No, I just used the eMMC card that came with the N2+

neilc1234
Posts: 12
Joined: Tue Mar 26, 2024 4:34 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: New N2+ won't boot.

Post by neilc1234 »

I first of all tried the previous version of HAOS https://github.com/home-assistant/opera ... 2.0.img.xz with the same outcome.

I then tried the minimal-odroid-N2 version and got to here with blue light pulsing with switch at MMC

Ubuntu 22.04 LTS odroid ttyi

odroid login: root
Password:
Welcone to Ubuntu 22.04 LTS (GNU/Linux 4.9.312-22 aarch64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage

The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/s/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.

Last login: Tue Jun 21 14:02:16 UTC 2022 on ttySO
root@odroid:~#

neilc1234
Posts: 12
Joined: Tue Mar 26, 2024 4:34 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: New N2+ won't boot.

Post by neilc1234 »

***UPDATE***
I decided to flash the full version of Ubuntu and now have the Ubuntu desktop.
Where do we go from here?

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: New N2+ won't boot.

Post by odroid »

Connect an Ethernet cable and check if the web browser works on the Ubuntu desktop.
At least we'll know that there's nothing wrong with your hardware and network configurations.

Then let's try HA images.
I will also try find a time slot to install the latest HA image.


Update.
I installed the latest HA image haos_odroid-n2-12.1.img.xz (273,961,516 bytes) via microUSB cable as explained in the HA official instruction.
The first booting took a few minutes even with an Internet connection. If the network is not operating properly, it seems like waiting indefinitely.
Therefore, you have to check Ethernet/Internet connection too. Also compare your downloaded OS image file size.
Anyway, it booted fine and I could see the HA CLI on the N2+ connected monitor as well as access remotely their web UI from other PC.
20240327_104355.resized.jpg
20240327_104355.resized.jpg (182.29 KiB) Viewed 230 times

neilc1234
Posts: 12
Joined: Tue Mar 26, 2024 4:34 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: New N2+ won't boot.

Post by neilc1234 »

The 12.1 image I used has the exact same number of bytes.
The browser in Ubuntu works perfect so that proves all the hardware is perfect.
That leave something with the eMMC.
I found a poster on Github that has pretty much the same issue, tried all the same things like installing ubuntu.
The only thing that worked was new eMMC. What do you think?
https://github.com/home-assistant/opera ... issues/771

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: New N2+ won't boot.

Post by odroid »

It is not understandable at all for me. :o
Do you have a Windows PC or a Mac which can be connected to your N2+?
If yes, try running a raw formatting for your eMMC with SD Formatter after connecting a microUSB cable.
https://www.sdcard.org/downloads/formatter/
And flash the HAOS image again.

BTW, have you used this Orange colored eMMC module? What is the capacity? I will try the same capacity one. I used an 16GB eMMC module for my test.
https://www.odroid.nl/odroid-accessorie ... ct_id=1116

neilc1234
Posts: 12
Joined: Tue Mar 26, 2024 4:34 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: New N2+ won't boot.

Post by neilc1234 »

It’s a 32gb eMMC that came with this bundle. I’m not at home now to check but I’m pretty sure it’s orange yes.
https://www.odroid.nl/HomeAssistant-N2- ... sistant%20
When I get back later I’ll try raw formatting the eMMC. Before re-flashing will I need to do anything with partitions etc?

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: New N2+ won't boot.

Post by odroid »

Nope. you don't need to do anything.

It is already evening time here in Korea. I hope there is good news tomorrow morning. :)

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: New N2+ won't boot.

Post by usual user »

I remember that a long time ago Armbian firmware also had problems with eMMC recognition. Users then used my firmware build, and it worked.
Unfortunately, they didn't have the necessary skills to determine the true cause and pragmatically used my firmware build.
Maybe it makes sense to try it with my firmware build in this case as well. To do this, dd it into your eMMC with HAOS and try to start with it.

neilc1234
Posts: 12
Joined: Tue Mar 26, 2024 4:34 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: New N2+ won't boot.

Post by neilc1234 »

usual user wrote:
Wed Mar 27, 2024 7:09 pm
I remember that a long time ago Armbian firmware also had problems with eMMC recognition. Users then used my firmware build, and it worked.
Unfortunately, they didn't have the necessary skills to determine the true cause and pragmatically used my firmware build.
Maybe it makes sense to try it with my firmware build in this case as well. To do this, dd it into your eMMC with HAOS and try to start with it.
I think that may be beyond my skill level.
Do you have a link to the firmware and how to do it?
Currently struggling to format the eMMC, SDcard doesn't seem to see 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: New N2+ won't boot.

Post by usual user »

neilc1234 wrote:
Thu Mar 28, 2024 12:27 am
I think that may be beyond my skill level.
Luckily you posted a link to your used image, I uploaded the image here with my firmware build already embedded. You can operate it like the native image.
neilc1234 wrote:
Thu Mar 28, 2024 12:27 am
Do you have a link to the firmware and how to do it?
You can read about my firmware build here.
These users thanked the author usual user for the post:
neilc1234 (Wed Apr 03, 2024 6:06 pm)

neilc1234
Posts: 12
Joined: Tue Mar 26, 2024 4:34 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: New N2+ won't boot.

Post by neilc1234 »

Quick update.
Tried your image but unfortunately it failed in the same way.
Think I've tried everything at this stage so I'm going to look for a new eMMC card from odroid.nl

neilc1234
Posts: 12
Joined: Tue Mar 26, 2024 4:34 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: New N2+ won't boot.

Post by neilc1234 »

**Updates**
I now have home assistant working with the following image
https://github.com/armbian/distribution ... mal.img.xz
The unit needs to be left in the SPI position for home assistant to boot.

The other update is that odroid are sending me out a new eMMC card. Assuming this works as intended is there a difference between the Armbian image and HAOS? Am I better off using the HAOS image?

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: New N2+ won't boot.

Post by usual user »

neilc1234 wrote:
Wed Apr 03, 2024 6:06 pm
Tried your image but unfortunately it failed in the same way.
I'm sorry for you, but without the proper console serial logs, I won't be able to help with further analysis.
neilc1234 wrote:
Wed Apr 03, 2024 6:06 pm
Think I've tried everything at this stage so I'm going to look for a new eMMC card from odroid.nl
Since the device seems to be delivered turnkey, I also think that now is the time to let the supplier provide a solution.

neilc1234
Posts: 12
Joined: Tue Mar 26, 2024 4:34 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: New N2+ won't boot.

Post by neilc1234 »

**Final Update**
I received the new eMMC card and it worked first time.
So the original eMMC card was corrupted in some way.
Thanks for all the help.

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 1 guest