Got my N2 and help is needed.

Locked
icyyyman@hotmail.com
Posts: 20
Joined: Fri Apr 05, 2019 1:22 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 1 time
Contact:

Got my N2 and help is needed.

Unread post by icyyyman@hotmail.com » Fri Apr 05, 2019 1:33 pm

I got my N2 last night. (I live in South Korea, so it took only a day to get it.)

I was happy to see my new hardware, but little bit surprised when I opened the box. The IR receiver looks tired - it was lying down.

As you can see from the board layout, IR sensor is at the edge of the board, and it is standing tall with three legs.
Problem is, because IR sensor is the tallest part of that side, so the sensor can be pressed by wrapping plastic bag while they are tumbling with other packages.
I think this needs to be improved somehow - e.g) use some supporting fixture.

Though, I'm not sure my IR sensor is OK yet because I couldn't boot up my device... so please help me. :)

I couldn't boot with USB stick using petitboot.
(so I tried with microSD and it worked)

N2 Wiki tells how to change SPI / emmc by the switch, but it doesn't talk much about the things to do after entering petitboot.
(Maybe wiki will get more contents soon?)

I wrote March. 25th Ubuntu image to the USB stick and entered petitboot.

After struggling (somewhat due to lack of information), I managed to find out I need to use "n" menu.
It seems there should be more information for the "new" menu, too.
(For example, "Help" suggests putting "/boot/vmlinux" to the Kernel menu, but there is no "/boot/vmlinux" as you know, so it should fail.)

Then I tried putting "/boot/Image.gz" to the "Kernel" menu, and at the main menu, I selected "accept".

The bottom line of the screen tells "Performing kexec load" then "Performing kexec reboot".

After that, it just stayed in the black screen, no reboot occurred.

So can somebody help me and tell me what to do?

Thank you in advance.

Ah, one more thing, I googled a little bit in the morning and found out that somebody tells on Ubuntu, boot is not "/boot" but "/media/boot",
so will it work if I "/media/boot/Image.gz" for the Kernel menu instead of "/boot/Image.gz" ?

-----

I think I wrote too long...

In short,
1. I already GOT MY N2!
2. The packing may need some improvement. (to protect IR sensor)
3. Petitboot documentation is necessary.
4. How to set petitboot menu to boot from USB stick?
5. Petitboot's "new" menu doesn't show cursor while input.. so it's very hard to fix typo.
6. I really wish to enjoy my new N2 soon!

User avatar
mad_ady
Posts: 6527
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 163 times
Been thanked: 125 times
Contact:

Re: Got my N2 and help is needed.

Unread post by mad_ady » Fri Apr 05, 2019 2:16 pm

Petitboot should discover and automatically add bootable OSes to its list, without you having to manually add them. Did you flash the image to a usb drive with etcher?
You can try flashing to SD and boot without petitboot.

I agree, petitboot needs some love, but I haven't had time to play with it as much as I would have liked.

joy
Posts: 880
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 11 times
Been thanked: 46 times
Contact:

Re: Got my N2 and help is needed.

Unread post by joy » Fri Apr 05, 2019 2:35 pm

Hi @icyyyman@hotmail.com,
Yes. Petitboot needs our efforts and love. But I'm sure it will be a powerful feature in the near future. ;)

We will supplement the petitboot wiki page for its existing functions soon.

And please let us check auto scanning function using boot.ini in 2nd boot storages with the latest ubuntu release image. (ex: USB stick, SD card and so on)
As mad_ady mentioned, petitboot scans and shows all possible lists by parsing boot.ini file on 2nd storages.
We will check it and let you know the test result by early next week.

To make sure, could you check one?
Can you enter [system information] menu and check if it shows your disk information like sda1, sda2 or something?

User avatar
tobetter
Posts: 3902
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 38 times
Been thanked: 154 times
Contact:

Re: Got my N2 and help is needed.

Unread post by tobetter » Fri Apr 05, 2019 2:58 pm

mad_ady wrote:
Fri Apr 05, 2019 2:16 pm
Petitboot should discover and automatically add bootable OSes to its list, without you having to manually add them. Did you flash the image to a usb drive with etcher?
You can try flashing to SD and boot without petitboot.

I agree, petitboot needs some love, but I haven't had time to play with it as much as I would have liked.
LoL

icyyyman@hotmail.com
Posts: 20
Joined: Fri Apr 05, 2019 1:22 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Got my N2 and help is needed.

Unread post by icyyyman@hotmail.com » Fri Apr 05, 2019 3:30 pm

mad_ady wrote:
Fri Apr 05, 2019 2:16 pm
Petitboot should discover and automatically add bootable OSes to its list, without you having to manually add them. Did you flash the image to a usb drive with etcher?
You can try flashing to SD and boot without petitboot.

I agree, petitboot needs some love, but I haven't had time to play with it as much as I would have liked.
Yes, I flashed the image to a usb drive with etcher.

Yes, I tried flashing to microSD and boot without petitboot and it worked. (as I wrote in my first post)
I couldn't boot with USB stick using petitboot.
(so I tried with microSD and it worked)

icyyyman@hotmail.com
Posts: 20
Joined: Fri Apr 05, 2019 1:22 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Got my N2 and help is needed.

Unread post by icyyyman@hotmail.com » Fri Apr 05, 2019 3:39 pm

joy wrote:
Fri Apr 05, 2019 2:35 pm
And please let us check auto scanning function using boot.ini in 2nd boot storages with the latest ubuntu release image. (ex: USB stick, SD card and so on)

To make sure, could you check one?
Can you enter [system information] menu and check if it shows your disk information like sda1, sda2 or something?

When you say latest ubuntu release image, did you mean minimal Ubuntu image released on March 29th? or Ubuntu image on 25th?

I tried with 25th' image with USB stick (SPI on) (NG) and SD card (SPI off) (OK).

In the [system information] menu, I could see my sda1 and sda2.
Moreover, the disk info list is updated fine if I plug in some other USB storage while staying in this screen. (Didn't need [Rescan devices] menu)

joy
Posts: 880
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 11 times
Been thanked: 46 times
Contact:

Re: Got my N2 and help is needed.

Unread post by joy » Fri Apr 05, 2019 4:06 pm

tobetter wrote:
Fri Apr 05, 2019 2:58 pm
mad_ady wrote:
Fri Apr 05, 2019 2:16 pm
Petitboot should discover and automatically add bootable OSes to its list, without you having to manually add them. Did you flash the image to a usb drive with etcher?
You can try flashing to SD and boot without petitboot.

I agree, petitboot needs some love, but I haven't had time to play with it as much as I would have liked.
LoL
LoL

joy
Posts: 880
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 11 times
Been thanked: 46 times
Contact:

Re: Got my N2 and help is needed.

Unread post by joy » Fri Apr 05, 2019 4:23 pm

icyyyman@hotmail.com wrote:
Fri Apr 05, 2019 3:39 pm
joy wrote:
Fri Apr 05, 2019 2:35 pm
And please let us check auto scanning function using boot.ini in 2nd boot storages with the latest ubuntu release image. (ex: USB stick, SD card and so on)

To make sure, could you check one?
Can you enter [system information] menu and check if it shows your disk information like sda1, sda2 or something?

When you say latest ubuntu release image, did you mean minimal Ubuntu image released on March 29th? or Ubuntu image on 25th?

I tried with 25th' image with USB stick (SPI on) (NG) and SD card (SPI off) (OK).

In the [system information] menu, I could see my sda1 and sda2.
Moreover, the disk info list is updated fine if I plug in some other USB storage while staying in this screen. (Didn't need [Rescan devices] menu)
Thank you for checking it.
It looks device detection with petitboot is OK.

About the ubuntu version, auto list-up feature doesn't depend on it.
Our goal is that a parser program for petitboot scans boot.ini in all storages, then translate the info to kboot.conf format,
and automatically lists up all candidates based on petitboot kboot.conf format,
regardless of Ubuntu version (Ubuntu minimal or Ubuntu mate).
In the future, Android or 3rd party OS will be available as 2nd booting target with a specified format like boot.ini/kboot.conf in their file systems.

Could you wait for several days?
Our member is checking if the parser should be adjusted or there is another problem except the parser.

phaseshifter
Posts: 3472
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 37 times
Been thanked: 42 times
Contact:

Re: Got my N2 and help is needed.

Unread post by phaseshifter » Fri Apr 05, 2019 5:34 pm

interesting ....
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

icyyyman@hotmail.com
Posts: 20
Joined: Fri Apr 05, 2019 1:22 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Got my N2 and help is needed.

Unread post by icyyyman@hotmail.com » Fri Apr 05, 2019 6:23 pm

OK I'llbe waiting... I just cant playwith my new dev... so sad..

joy
Posts: 880
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 11 times
Been thanked: 46 times
Contact:

Re: Got my N2 and help is needed.

Unread post by joy » Fri Apr 05, 2019 6:29 pm

@icyyyman,
You can play N2 using eMMC or SD booting just now without SPI update. :)
If you have SD or eMMC card, write the ubuntu image on your card and just move your boot mode switch to MMC.

We will update status early next week for SPI booting.

icyyyman@hotmail.com
Posts: 20
Joined: Fri Apr 05, 2019 1:22 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Got my N2 and help is needed.

Unread post by icyyyman@hotmail.com » Mon Apr 08, 2019 1:52 am

I had no time during the weekend to play N2...
So I started testing N2 only an hour ago and found something.

N2 "CAN" boot to USB. But, NOT while switch is set to SPI.

Steps.

1. When switch is set to SPI
- Only got the petitboot menu. Never succeeded to boot.

2. When switch is set to MMC

(※ BOTH usb and microSD has been flashed with 0325 ubuntu mate image using Etcher)

2-1. microSD inserted / USB not inserted
- Boot normally.

2-2. microSD inserted / USB inserted
- Boot with USB!

2-3. microSD not inserted / USB inserted
- Nothing happens. (normal)

I found 2-2 case accidentally 'cause they (microSD & USB) looked the same.
So to make things clear, I flashed 0329 minimal image to USB 'cause it'll show only tty.
Then, Yes, it showed TTY only.(but not always - from time to time, N2 boot to microSD...)

Please look into the issue.
Thank you.

User avatar
mad_ady
Posts: 6527
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 163 times
Been thanked: 125 times
Contact:

Re: Got my N2 and help is needed.

Unread post by mad_ady » Mon Apr 08, 2019 3:08 am

The reason you think it booted from usb is because both usb and sd are clones and their partitions have the same UUID. What happens is not deterministic, but bootloader from sd loads kernel from SD and the rootfilesystem is mounted by UUID - which can be SD or USB. Having duplicated UUIDs probably prevents petitboot from showing them in the first place.

This method (uboot+kernel on sd and rootfs on usb) works on all odroid boards, but requires an sd.

phaseshifter
Posts: 3472
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 37 times
Been thanked: 42 times
Contact:

Re: Got my N2 and help is needed.

Unread post by phaseshifter » Mon Apr 08, 2019 4:40 am

i had it boot from usb without an sd or emmc but it was extremely slow...and i mean extremely...it took like 10 mins to resisize the rootfs on an 8 gig stick..my usb stick are only usb 2 and their ram is also slow..and old..
after that had been done i could then boot via spi to usb stick..but also to 10-15 mins to boot..

if you are having trouble i think that it also has some issue with the hdmi screen as well..often i have to turn my screen off and back on again..during a reboot warm or cold

at present i can boot via spi using an emmc..but as i said i have to power my screen of and on..so there is also an hdmi issue...with the spi..i could not get my ssd to boot at all via spi...

as @ joy spoke of the petiboot needs some work..
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

icyyyman@hotmail.com
Posts: 20
Joined: Fri Apr 05, 2019 1:22 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Got my N2 and help is needed.

Unread post by icyyyman@hotmail.com » Mon Apr 08, 2019 10:23 am

mad_ady wrote:
Mon Apr 08, 2019 3:08 am
The reason you think it booted from usb is because both usb and sd are clones and their partitions have the same UUID. What happens is not deterministic, but bootloader from sd loads kernel from SD and the rootfilesystem is mounted by UUID - which can be SD or USB. Having duplicated UUIDs probably prevents petitboot from showing them in the first place.

This method (uboot+kernel on sd and rootfs on usb) works on all odroid boards, but requires an sd.
Ah, you mean it's just like we manually set the UUID in the boot.ini to boot from HDD or SSD...
Yes, I know what you mean 'cause I used the method to make my RPI2 boot from HDD.
I think you are right about booting from USB happened in that way.

Though, the reason why SPI couldn't find boot device is not because of that.

When I said SPI couldn't find the boot device, I tested the with only one media got inserted.

joy
Posts: 880
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 11 times
Been thanked: 46 times
Contact:

Re: Got my N2 and help is needed.

Unread post by joy » Mon Apr 08, 2019 12:01 pm

We're planning to release an updated version of SPI image early this week because we found the version of 20190402 has an issue with boot.ini auto parsing feature.
It looks the issue that icyyyman has with USB stick is related to it.

Once it's released, I will share the info and a guide.

icyyyman@hotmail.com
Posts: 20
Joined: Fri Apr 05, 2019 1:22 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Got my N2 and help is needed.

Unread post by icyyyman@hotmail.com » Wed Apr 10, 2019 10:30 am

I got the new SPI image from the following page.

https://wiki.odroid.com/odroid-n2/os_images/petitboot

Now it recognizes the USB devices, but there are still problems.

I'll create a separate thread for them.

Anyway, thank you for the petitboot update!

gregb49
Posts: 48
Joined: Mon Feb 06, 2017 8:30 pm
languages_spoken: english
ODROIDs: XU4 Ubuntu 18.04.1 Kernel 4.14.69-148
Location: Wessex
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Got my N2 and help is needed.

Unread post by gregb49 » Sat Apr 13, 2019 6:19 pm

phaseshifter wrote:
Mon Apr 08, 2019 4:40 am
.. if you are having trouble i think that it also has some issue with the hdmi screen as well..often i have to turn my screen off and back on again..during a reboot warm or cold
Same problem. With one screen, the screen just flashes rythmicaly, every 2 seconds. It worked well with a second monitor for half a day but now I just get a black screen. I'll try an SD card boot next to see if that makes any difference. Is anyone else having HDMI issues?
XU4 Ubuntu 18.04 4.14.69

User avatar
tobetter
Posts: 3902
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 38 times
Been thanked: 154 times
Contact:

Re: Got my N2 and help is needed.

Unread post by tobetter » Sat Apr 13, 2019 6:37 pm

gregb49 wrote:
Sat Apr 13, 2019 6:19 pm
phaseshifter wrote:
Mon Apr 08, 2019 4:40 am
.. if you are having trouble i think that it also has some issue with the hdmi screen as well..often i have to turn my screen off and back on again..during a reboot warm or cold
Same problem. With one screen, the screen just flashes rythmicaly, every 2 seconds. It worked well with a second monitor for half a day but now I just get a black screen. I'll try an SD card boot next to see if that makes any difference. Is anyone else having HDMI issues?
What's the model of the new screen?
Have you checked the boot.ini if the resolution is correct for it?
Do you see any color when the screen flashes every 2 seconds?

phaseshifter
Posts: 3472
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 37 times
Been thanked: 42 times
Contact:

Re: Got my N2 and help is needed.

Unread post by phaseshifter » Sat Apr 13, 2019 9:24 pm

i bumped the supply voltage to 15V D.C have not had an issue since,,,,
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

gregb49
Posts: 48
Joined: Mon Feb 06, 2017 8:30 pm
languages_spoken: english
ODROIDs: XU4 Ubuntu 18.04.1 Kernel 4.14.69-148
Location: Wessex
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Got my N2 and help is needed.

Unread post by gregb49 » Sun Apr 14, 2019 2:38 am

tobetter wrote:
Sat Apr 13, 2019 6:37 pm
What's the model of the new screen?
Have you checked the boot.ini if the resolution is correct for it?
Do you see any color when the screen flashes every 2 seconds?
Thanks tobetter
I can get no output at all on either HDMI screen now, not even any flashes, whether through an sd boot or an eMMC boot. I've tried changing the HDMI cable to no avail.

The screen that was working is an AOC 24" monitor (E2460S) currently displaying 1920x1080 60Hz using an Ubuntu computer and was displaying the Odroid N2 faultlessly. The 'flashing' screen was an older Philips TV with HDMI, so that might have been that particular problem.

I can address the Odroid through Putty, so I know it is running, currently using the eMMC. It says that I am running
Ubuntu 18.04.2 LTS (GNU/Linux 4.9.162-22 aarch64)
An extract from the SD card's boot.ini follows (I hope that is enough info):
setenv display_autodetect "true"
setenv hdmimode "1080p60hz"
setenv overscan "100"
setenv voutmode "hdmi"
setenv disablehpd "false"[/code]
XU4 Ubuntu 18.04 4.14.69

User avatar
mad_ady
Posts: 6527
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 163 times
Been thanked: 125 times
Contact:

Re: Got my N2 and help is needed.

Unread post by mad_ady » Sun Apr 14, 2019 2:44 am

Try with

Code: Select all

setenv display_autodetect "false"

gregb49
Posts: 48
Joined: Mon Feb 06, 2017 8:30 pm
languages_spoken: english
ODROIDs: XU4 Ubuntu 18.04.1 Kernel 4.14.69-148
Location: Wessex
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Got my N2 and help is needed.

Unread post by gregb49 » Sun Apr 14, 2019 3:06 am

Thanks mad_ady, will do. It wont boot now (Just get steady blue light), so just reflashing the image.
XU4 Ubuntu 18.04 4.14.69

gregb49
Posts: 48
Joined: Mon Feb 06, 2017 8:30 pm
languages_spoken: english
ODROIDs: XU4 Ubuntu 18.04.1 Kernel 4.14.69-148
Location: Wessex
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Got my N2 and help is needed.

Unread post by gregb49 » Sun Apr 14, 2019 3:59 am

Tried changing the autodetect to "false" on both SD Card image and eMMC. Although both now boot, the HDMI output is blank. Using putty, I can confirm that the Odroid is running.
XU4 Ubuntu 18.04 4.14.69

gregb49
Posts: 48
Joined: Mon Feb 06, 2017 8:30 pm
languages_spoken: english
ODROIDs: XU4 Ubuntu 18.04.1 Kernel 4.14.69-148
Location: Wessex
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Got my N2 and help is needed.

Unread post by gregb49 » Mon Apr 15, 2019 2:45 am

I've now tried 3 monitors/TVs and various HDMI leads, with both SD and eMMC images. I can confirm, through putty, that the N2 is running, but there is no HDMI output, ie the screen remains blank. I feel sure, now, that I have a faulty board. Shame. In the few hours that it worked, it showed so much promise.
XU4 Ubuntu 18.04 4.14.69

joy
Posts: 880
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 11 times
Been thanked: 46 times
Contact:

Re: Got my N2 and help is needed.

Unread post by joy » Mon Apr 15, 2019 9:18 am

@gregb49,
Could you show your the whole boot.ini here?

gregb49
Posts: 48
Joined: Mon Feb 06, 2017 8:30 pm
languages_spoken: english
ODROIDs: XU4 Ubuntu 18.04.1 Kernel 4.14.69-148
Location: Wessex
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Got my N2 and help is needed.

Unread post by gregb49 » Mon Apr 15, 2019 5:59 pm

boot.ini follows:

Code: Select all

ODROIDN2-UBOOT-CONFIG

# Default Console Device Setting
setenv condev "console=ttyS0,115200n8"   # on both

# Auto Detection of Monitor settings based on your Screen information
setenv display_autodetect "false"

# HDMI Mode
# Resolution Configuration
#    Symbol             | Resolution
# ----------------------+-------------
#    "480x320p60hz"     | 480x320 Progressive 60Hz
#    "480p60hz"         | 720x480 Progressive 60Hz
#    "576p50hz"         | 720x576 Progressive 50Hz
#    "720p60hz"         | 1280x720 Progressive 60Hz
#    "720p50hz"         | 1280x720 Progressive 50Hz
#    "1080p60hz"        | 1920x1080 Progressive 60Hz
#    "1080p50hz"        | 1920x1080 Progressive 50Hz
#    "1080p30hz"        | 1920x1080 Progressive 30Hz
#    "1080p24hz"        | 1920x1080 Progressive 24Hz
#    "1080i60hz"        | 1920x1080 Interlaced 60Hz
#    "1080i50hz"        | 1920x1080 Interlaced 50Hz
#    "2160p60hz"        | 3840x2160 Progressive 60Hz
#    "2160p50hz"        | 3840x2160 Progressive 50Hz
#    "2160p30hz"        | 3840x2160 Progressive 30Hz
#    "2160p25hz"        | 3840x2160 Progressive 25Hz
#    "2160p24hz"        | 3840x2160 Progressive 24Hz
#    "smpte24hz"        | 3840x2160 Progressive 24Hz SMPTE
#    "2160p60hz420"     | 3840x2160 Progressive 60Hz YCbCr 4:2:0
#    "2160p50hz420"     | 3840x2160 Progressive 50Hz YCbCr 4:2:0
#    "640x480p60hz"     | 640x480 Progressive 60Hz
#    "800x480p60hz"     | 800x480 Progressive 60Hz
#    "800x600p60hz"     | 800x600 Progressive 60Hz
#    "1024x600p60hz"    | 1024x600 Progressive 60Hz
#    "1024x768p60hz"    | 1024x768 Progressive 60Hz
#    "1280x800p60hz"    | 1280x800 Progressive 60Hz
#    "1280x1024p60hz"   | 1280x1024 Progressive 60Hz
#    "1360x768p60hz"    | 1360x768 Progressive 60Hz
#    "1440x900p60hz"    | 1440x900 Progressive 60Hz
#    "1600x900p60hz"    | 1600x900 Progressive 60Hz
#    "1600x1200p60hz"   | 1600x1200 Progressive 60Hz
#    "1680x1050p60hz"   | 1680x1050 Progressive 60Hz
#    "1920x1200p60hz"   | 1920x1200 Progressive 60Hz
#    "2560x1080p60hz"   | 2560x1080 Progressive 60Hz
#    "2560x1440p60hz"   | 2560x1440 Progressive 60Hz
#    "2560x1600p60hz"   | 2560x1600 Progressive 60Hz
#    "3440x1440p60hz"   | 3440x1440 Progressive 60Hz
setenv hdmimode "1080p60hz"

# Overscan percentage
# This value scales down the actual screen size by the percentage below
# valid range is 80 to 100
setenv overscan "100"

### voutmode : hdmi or dvi
setenv voutmode "hdmi"
# setenv voutmode "dvi"

# HPD enable/disable option
setenv disablehpd "false"

# max cpu frequency for big core, A73 in MHz unit
# setenv max_freq_a73 "2004"  # 2.004 GHz
# setenv max_freq_a73 "1992"  # 1.992 GHz
# setenv max_freq_a73 "1908"  # 1.908 GHz
setenv max_freq_a73 "1800"  # 1.8 GHz, default value
# setenv max_freq_a73 "1704"  # 1.704 GHz
 
# max cpu frequency for little core, A53 in MHz unit
# setenv max_freq_a53 "1992"  # 1.992 GHz
setenv max_freq_a53 "1896"  # 1.896 GHz, default value
# setenv max_freq_a53 "1704"  # 1.704 GHz


# max cpu-cores
# Note:
# CPU's 0 and 1 are the A53 (small cores)
# CPU's 2 to 5 are the A73 (big cores)
# Lowering this value disables only the bigger cores (the last cores).
# setenv maxcpus "4"
# setenv maxcpus "5"
setenv maxcpus "6"

### Normal HDMI Monitors
if test "${display_autodetect}" = "true"; then hdmitx edid; fi
if test "${hdmimode}" = "custombuilt"; then setenv cmode "modeline=${modeline}"; fi

# Boot Args
setenv bootargs "root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait rw ${condev} ${amlogic} no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=${hdmimode} cvbsmode=576cvbs max_freq_a53=${max_freq_a53} max_freq_a73=${max_freq_a73} maxcpus=${maxcpus} voutmode=${voutmode} ${cmode} disablehpd=${disablehpd} cvbscable=${cvbscable} overscan=${overscan}"

# Set load addresses
setenv dtb_loadaddr "0x1000000"
setenv k_addr "0x1100000"
setenv loadaddr "0x1B00000"
setenv initrd_loadaddr "0x3700000"

# Load kernel, dtb and initrd
fatload mmc ${devno}:1 ${k_addr} Image.gz
fatload mmc ${devno}:1 ${dtb_loadaddr} meson64_odroidn2.dtb
fatload mmc ${devno}:1 ${initrd_loadaddr} uInitrd
fdt addr ${dtb_loadaddr}
# unzip the kernel
unzip ${k_addr} ${loadaddr}

# boot
booti ${loadaddr} ${initrd_loadaddr} ${dtb_loadaddr}
I have also tried booting with:

Code: Select all

setenv display_autodetect "true"
but to no avail.
XU4 Ubuntu 18.04 4.14.69

joy
Posts: 880
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 11 times
Been thanked: 46 times
Contact:

Re: Got my N2 and help is needed.

Unread post by joy » Tue Apr 16, 2019 12:06 pm

Hello gregb49,
Thanks for sharing the info.

1. Check monitor connection

To check hdmi connection, can you check the following node output via putty?

For example, you should have the following format values.

Code: Select all

$ su
# root@odroid:~# cat /sys/class/amhdmitx/amhdmitx0/rawedid 
00ffffffffffff00631800000101010101170103800000780a3231a154529e260a474aafcf809500b300a9c00101010101010101010104740030f2705a80b0588a00c48e2100001e023a801871382d40582c4500c48e2100001e000000f
c003238394b0a2020202020202020000000fd00174b1e4417000a20202020202001c5020347e055900504020306071112131415161f01205d5e5f6061260907071507242001000070030c004000b04420a08201020300014170030c0040
00b04420a082010203000141023a801871382d40582c450070ea3100001f011d8018711c1620582c2500f4191100009e0000000000000000000000000000000000000000f1
And two debug binary files are already generated on vfat filesystem of your card.
: edid.bin and display.bin
You can check them under /media/boot/.
Please share the files here.
You need to pack them as *zip or *tar* format to attach them on this post.
These users thanked the author joy for the post:
gregb49 (Tue Apr 16, 2019 5:05 pm)

gregb49
Posts: 48
Joined: Mon Feb 06, 2017 8:30 pm
languages_spoken: english
ODROIDs: XU4 Ubuntu 18.04.1 Kernel 4.14.69-148
Location: Wessex
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Got my N2 and help is needed.

Unread post by gregb49 » Tue Apr 16, 2019 6:42 pm

Thanks Joy.
I've checked the connections. The monitor's light goes from orange (standby) to green when I turn the N2 on, suggesting that it is receiving some sort of signal, but the display remains blank and eventually returns to standby. I've tried this with 4 different HDMI cables and three monitors, with the same result.
Using

Code: Select all

cat /sys/class/amhdmitx/amhdmitx0/rawedid
I just get 3 1/2 rows of zeros.
I've attached edid.bin and display.bin in a tar ball.
Attachments
edid-display.tar
edid.bin and display.bin as a tar
(3 KiB) Downloaded 13 times
XU4 Ubuntu 18.04 4.14.69

joy
Posts: 880
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 11 times
Been thanked: 46 times
Contact:

Re: Got my N2 and help is needed.

Unread post by joy » Thu Apr 18, 2019 10:56 am

Hello gregb49,
Sorry for late response.
gregb49 wrote:
Tue Apr 16, 2019 6:42 pm
Using

Code: Select all

cat /sys/class/amhdmitx/amhdmitx0/rawedid
I just get 3 1/2 rows of zeros.
You mean you got all Zero's like this, right?
When you check the node, did you make sure the hdmi cable is connected with N2?

Code: Select all

# cat /sys/class/amhdmitx/amhdmitx0/rawedid 
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
gregb49 wrote:
Tue Apr 16, 2019 6:42 pm
I've attached edid.bin and display.bin in a tar ball.
Thanks for sharing the files.
Based on the files, your N2 parsed the edid information of one of your monitors normally.

Code: Select all

joy@joy-desktop:~/Downloads$ cat edid.bin | edid-decode 
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   41 0c 00 00 01 01 01 01 1e 1a
version:         01 03
basic params:    80 40 24 78 0a
chroma info:     f9 ab a2 55 4a 9a 25 0f 47 4a
established:     21 08 00
standard:        81 80 01 01 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    02 3a 80 18 71 38 2d 40 58 2c 45 00 80 68 21 00 00 1e
descriptor 2:    1b 21 50 a0 51 00 1e 30 48 88 35 00 80 68 21 00 00 18
descriptor 3:    00 00 00 fc 00 50 48 49 4c 49 50 53 20 46 54 56 0a 20
descriptor 4:    00 00 00 fd 00 38 4c 1e 53 11 00 0a 20 20 20 20 20 20
extensions:      01
checksum:        af

Manufacturer: PHL Model 0 Serial Number 16843009
Made week 30 of 2016
EDID version: 1.3
Digital display
Maximum image size: 64 cm x 36 cm
Gamma: 2.20
Supported color formats: RGB 4:4:4, YCrCb 4:2:2
First detailed timing is preferred timing
Established timings supported:
  640x480@60Hz
  800x600@60Hz
  1024x768@60Hz
Standard timings supported:
  1280x1024@60Hz
Detailed mode: Clock 148.500 MHz, 640 mm x 360 mm
               1920 2008 2052 2200 hborder 0
               1080 1084 1089 1125 vborder 0
               +hsync +vsync 
Detailed mode: Clock 84.750 MHz, 640 mm x 360 mm
               1360 1432 1568 1776 hborder 0
                768  771  776  798 vborder 0
               -hsync -vsync 
Monitor name: PHILIPS
Monitor ranges (GTF): 56-76Hz V, 30-83kHz H, max dotclock 170MHz
Has 1 extension blocks
Checksum: 0xaf (valid)

CEA extension block
Extension version: 3
34 bytes of CEA data
  Video data block
    VIC 31 1920x1080@50Hz (native)
    VIC 16 1920x1080@60Hz 
    VIC 32 1920x1080@24Hz 
    VIC 33 1920x1080@25Hz 
    VIC 34 1920x1080@30Hz 
    VIC 20 1920x1080i@50Hz 
    VIC 05 1920x1080i@60Hz 
    VIC 19 1280x720@50Hz 
    VIC 04 1280x720@60Hz 
    VIC 17 720x576@50Hz 
    VIC 02 720x480@60Hz 
    VIC 21 1440x576i@50Hz 
    VIC 06 1440x480i@60Hz 
    VIC 01 640x480@60Hz 
  Audio data block
    Linear PCM, max channels 1
    Supported sample rates (kHz): 48 44.1 32
    Supported sample sizes (bits): 24 20 16
    AC-3, max channels 5
    Supported sample rates (kHz): 48 44.1 32
    Maximum bit rate: 56 kHz
  Speaker allocation data block
  Vendor-specific data block, OUI 000c03 (HDMI)
    Source physical address 1.0.0.0
    Supports_AI
    DC_36bit
    DC_30bit
    DC_Y444
    Maximum TMDS clock: 225MHz
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
1 native detailed modes
Detailed mode: Clock 148.500 MHz, 640 mm x 360 mm
               1920 2448 2492 2640 hborder 0
               1080 1084 1089 1125 vborder 0
               +hsync +vsync 
Detailed mode: Clock 74.250 MHz, 640 mm x 360 mm
               1920 2558 2602 2750 hborder 0
               1080 1084 1089 1125 vborder 0
               +hsync +vsync 
Detailed mode: Clock 74.250 MHz, 640 mm x 360 mm
               1920 2448 2492 2640 hborder 0
                540  542  547  562 vborder 0
               +hsync +vsync interlaced 
Detailed mode: Clock 74.250 MHz, 640 mm x 360 mm
               1280 1720 1760 1980 hborder 0
                720  725  730  750 vborder 0
               +hsync +vsync 
Checksum: 0x2c (valid)

EDID block does NOT conform to EDID 1.3!
	Detailed block string not properly terminated
Different symptom compared to the all zero output under rawedid. :(
And the manual mode 1080p60hz should work with your monitor based on the information.

You said you have 3 TV/monitors.
So now you don't get any normal display with all of your 3 monitors, right?

And with hdmi cable connected well, you get all zero data under /sys/class/amhdmitx/amhdmitx/rawedid, right?

gregb49
Posts: 48
Joined: Mon Feb 06, 2017 8:30 pm
languages_spoken: english
ODROIDs: XU4 Ubuntu 18.04.1 Kernel 4.14.69-148
Location: Wessex
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Got my N2 and help is needed.

Unread post by gregb49 » Thu Apr 18, 2019 7:42 pm

Yes, all zeros using

Code: Select all

cat /sys/class/amhdmitx/amhdmitx0/rawedid
. This putty screenshot was taken using another eMMC, with a new N2 image burned to it. Image
When you check the node, did you make sure the hdmi cable is connected with N2?
Yes it is connected. I even removed the back cover to make sure that it was plugged fully home. I don't know what you mean by node.

Yes, I just get a black screen on all three monitors.

Edit: On an older TV I got an "Out of Range" report on the screen so I changed the boot.ini settings to

Code: Select all

setenv display_autodetect "false"
setenv hdmimode "720p50hz"
But still got an "Out of Range" report.
XU4 Ubuntu 18.04 4.14.69

joy
Posts: 880
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 11 times
Been thanked: 46 times
Contact:

Re: Got my N2 and help is needed.

Unread post by joy » Fri Apr 19, 2019 12:20 pm

Hello gregb49,
Thank you for your reply and detailed explanation.
I think it looks HDMI lines or the related block is damaged.

Could you contact "odroid at hardkernel dot com" with a link of this post?
She will help your RMA process if you purchased the board from us directly.
Otherwise, contact your local distributor/reseller.

gregb49
Posts: 48
Joined: Mon Feb 06, 2017 8:30 pm
languages_spoken: english
ODROIDs: XU4 Ubuntu 18.04.1 Kernel 4.14.69-148
Location: Wessex
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Got my N2 and help is needed.

Unread post by gregb49 » Fri Apr 19, 2019 6:09 pm

Thanks Joy,
I have an RMA so, sadly, will return the board.
XU4 Ubuntu 18.04 4.14.69

User avatar
odroid
Site Admin
Posts: 32121
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 119 times
Been thanked: 292 times
Contact:

Re: Got my N2 and help is needed.

Unread post by odroid » Mon Apr 22, 2019 9:00 am

This thread is locked to avoid hijacking.
Please open a new topic if you have any issue.

Locked

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 0 guests