Booting minor issues

Post Reply
oldchap
Posts: 59
Joined: Mon Aug 07, 2017 3:27 pm
languages_spoken: english
Has thanked: 0
Been thanked: 2 times
Contact:

Booting minor issues

Unread post by oldchap » Tue May 14, 2019 8:53 pm

Only 2 minor issues with my N2. I had no internet for 5 days when I got the N2. There has been rolling blackouts where I am and it is playing havoc with the ISP'. Seems like I have lost my 1 year bundle of internet I got when I bought a phone.
With my only one of a kind 4:3 TV it would not boot and could not search Odroid for a fix. Always getting 'invalid format' drifting across the screen. The first trick was to discover "setenv display_autodetect "false" 'got the boot to work but only got as far as the yellow line across buttom.
Hashing out any of these didnt work # "576p50hz" | 720x576 Progressive 50Hz
After one and a half afternoons working on it, this was the trick
setenv hdmimode "1024x768p60hz" #"1080p60hz" Bingo

Only 2 bugs, I dont get the screen rolling by as it boots, black screen only. I would not know but I put it down to my 4:3 el cheapo screen.
Is there anything I can change in boot.ini that will trigger the boot sequence to roll by.
2nd bug, cannot boot from USB 3 flash drive or SSD with USB 2 bridge. Screen again!! Tried flashing the SPI but with no screen output no idea if it worked.
After a couple of more afternoons fiddling I can boot from USB 3 flash drive or SSD. Boot from the micro sd card and delete the BOOT petition in the SSD and the file system from the micro sd other wise there is a desktop full of drive icons all over the desktop, stops it booting both file systems only needs the SSD file system. Not a real fix but it works.

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

Re: Booting minor issues

Unread post by joy » Thu May 16, 2019 2:29 pm

It looks we need to check the edid of your monitor.
On petitboot, display auto detection mode is default one.

Can you share these two files in vfat file system of your card here in this thread?
- edid.bin
- display.bin
You can find them in /media/boot (if you use Ubuntu) or /odm/ (if you use Android).

phaseshifter
Posts: 3333
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 @15 V D.C ,,...other odroid acc`s as well
Has thanked: 25 times
Been thanked: 29 times
Contact:

Re: Booting minor issues

Unread post by phaseshifter » Thu May 16, 2019 5:39 pm

to enable the dmesg roll at start-up.... at boot you need to edit the boot.ini file

https://wiki.odroid.com/odroid-n2/appli ... on_display
These users thanked the author phaseshifter for the post:
skeetre (Tue May 21, 2019 3:59 am)
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

oldchap
Posts: 59
Joined: Mon Aug 07, 2017 3:27 pm
languages_spoken: english
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Booting minor issues

Unread post by oldchap » Fri May 17, 2019 5:21 pm

Phaseshifter
Booting SSD with switch on SPI, no blue light, not one flicker.
However I can get this, is this a good sign, no 3 rows of zeros.

root@odroid:/media/boot# cat
/sys/class/amhdmitx/amhdmitx0/rawedid
00ffffffffffff00631800000000000006160103800000000ad7a5a2594a9624145054a3080081808140010101010101010101010101302a009851002a403070130000000000001e302a000852c0283060703600205600000018000000fd00324c1e5010000a202020202020000000fc004141410a20202020202020202001aa02031f715090050403070206011f141312161115202309070765030c001000011d007251d01e206e28550000000000001e8c0ad08a20e02d10103e9600000000000018011d80d0721c1620102c258000000000009e011d00bc52d01e20b8285540c48e2100001e8c0ad090204031200c4055000000000000180000000000008b

But cannot get this.

root@odroid:/media/boot# cat edid.bin | edid-decode
bash: edid-decode: command not found

If you do not know whats going on it does not matter, at least I can boot from SSD. I would rather have the CPU running at up to 2.5 when needed.
When I bench the N2 against my amd 2 ghz apu laptop,

gpu drawing higher better
amd 2.00 ghz 5845
xu4 3008
n2 605
you are not supposed to move the mouse, BUT the n2 is benching on one core.

cpu fibonacci lower
amd 2.0 2.25
xu4 4.82
n2 1.67 happy

fpu raytracing lower
amd 2.0 9.81
xu4 37.26
n2 3.73 happy happy

phaseshifter
Posts: 3333
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 @15 V D.C ,,...other odroid acc`s as well
Has thanked: 25 times
Been thanked: 29 times
Contact:

Re: Booting minor issues

Unread post by phaseshifter » Fri May 17, 2019 5:47 pm

make shure you have the latest bios update for the spi

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


you need to flash the latest ubuntu image to ssd u will need also a linux box to use as the file transfers..etc..etc

next you need an updated emmc or sd card

copy the sd-card the files in the media boot dir to the ssd media boot dir..overwrite what is there..

next copy over /lib/modules folder from sd-card to the ssd replacing the folder /lib/modules

next plug in the ssd to the N-2 switch to the spi mode and power the board..petitboot should see the hdd now boot it then run an update etc.etc...enjoy
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

oldchap
Posts: 59
Joined: Mon Aug 07, 2017 3:27 pm
languages_spoken: english
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Booting minor issues

Unread post by oldchap » Fri May 17, 2019 6:05 pm

attach.zip for joy
Attachments
attach.zip
(595 Bytes) Downloaded 3 times

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

Re: Booting minor issues

Unread post by odroid » Fri May 17, 2019 6:26 pm

We can check it early next week since it is already Friday evening in Korea.

oldchap
Posts: 59
Joined: Mon Aug 07, 2017 3:27 pm
languages_spoken: english
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Booting minor issues

Unread post by oldchap » Sat May 18, 2019 12:39 pm

@ joy
On petitboot, display auto detection mode is default one.

auto detection has to be false for my 'one of a kind' TV set, or no go anywhere, thankfully I can change resolution with "1024x768p60hz" These are the only 2 changes needed.

@ phaseshifter

copy the sd-card the files in the media boot dir to the ssd media boot dir..overwrite what is there..

They were identical but I did it.

next copy over /lib/modules folder from sd-card to the ssd replacing the folder /lib/modules

Done, they would be the new modules from 'full-update.
I watched the n2 while plugging in, not a flicker of the blue light.
I tried both SPI updates.
Have I hosed the DPI, with a black screen while doing so I do not know if it worked.
I have tried tobetter's modules and image packages but they didnt work.
I just did a petitboot update, the 24 Mb one from micro sd card, the blue light came on and stayed on so looks like at least the micro sd card was read.
I pulled the plug after a minute, but it still will not boot from SPI.
If there is firmware in the TV set, it must not be good enough for SPI booting. There is no point in flogging a dead horse on this one, booting from sd to SSD is ok by me, gets the same result.
Toying with the n2 gives me something to do during the afternoon.

phaseshifter
Posts: 3333
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 @15 V D.C ,,...other odroid acc`s as well
Has thanked: 25 times
Been thanked: 29 times
Contact:

Re: Booting minor issues

Unread post by phaseshifter » Sun May 19, 2019 4:44 am

i think that petitboot`s boot up screen is by default resolution is 1080p this may be an issue or the issue....
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

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

Re: Booting minor issues

Unread post by mad_ady » Sun May 19, 2019 5:09 am

I tried petitboot with a monitor with top resolution of 1280x1024 (dvi) and it displayed fine.

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

Re: Booting minor issues

Unread post by joy » Mon May 20, 2019 12:02 pm

oldchap wrote:
Sat May 18, 2019 12:39 pm
@ joy
On petitboot, display auto detection mode is default one.

auto detection has to be false for my 'one of a kind' TV set, or no go anywhere, thankfully I can change resolution with "1024x768p60hz" These are the only 2 changes needed.
Hi @oldchap,
Thank you for sharing binary files and your test result.
As I checked, the edid of your monitor says it supports the following timings.
- 1280x1024@60hz
- 1280x960@60hz
- 720x400@70Hz
- 640x480@60Hz
- 800x600@56Hz
- 800x600@60Hz
- 1024x768@60Hz
- and so on

Code: Select all

oy@joy-desktop:~/Downloads/Attach$ cat edid.bin  | edid-decode 
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   63 18 00 00 00 00 00 00 06 16
version:         01 03
basic params:    80 00 00 00 0a
chroma info:     d7 a5 a2 59 4a 96 24 14 50 54
established:     a3 08 00
standard:        81 80 81 40 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    30 2a 00 98 51 00 2a 40 30 70 13 00 00 00 00 00 00 1e
descriptor 2:    30 2a 00 08 52 c0 28 30 60 70 36 00 20 56 00 00 00 18
descriptor 3:    00 00 00 fd 00 32 4c 1e 50 10 00 0a 20 20 20 20 20 20
descriptor 4:    00 00 00 fc 00 41 41 41 0a 20 20 20 20 20 20 20 20 20
extensions:      01
checksum:        aa

Manufacturer: XXX Model 0 Serial Number 0
Made week 6 of 2012
EDID version: 1.3
Digital display
Image size is variable
Gamma: 1.00
Supported color formats: RGB 4:4:4, YCrCb 4:2:2
First detailed timing is preferred timing
Established timings supported:
  720x400@70Hz
  640x480@60Hz
  800x600@56Hz
  800x600@60Hz
  1024x768@60Hz
Standard timings supported:
  1280x1024@60Hz
  1280x960@60Hz
Detailed mode: Clock 108.000 MHz, 0 mm x 0 mm
               1280 1328 1440 1688 hborder 0
               1024 1025 1028 1066 vborder 0
               +hsync +vsync 
Detailed mode: Clock 108.000 MHz, 32 mm x 86 mm
               1280 1376 1488 1800 hborder 0
                960  963  969 1000 vborder 0
               -hsync -vsync 
Monitor ranges (GTF): 50-76Hz V, 30-80kHz H, max dotclock 160MHz
Monitor name: AAA
Has 1 extension blocks
Checksum: 0xaa (valid)

CEA extension block
Extension version: 3
27 bytes of CEA data
  Video data block
    VIC 16 1920x1080@60Hz (native)
    VIC 05 1920x1080i@60Hz 
    VIC 04 1280x720@60Hz 
    VIC 03 720x480@60Hz 
    VIC 07 1440x480i@60Hz 
    VIC 02 720x480@60Hz 
    VIC 06 1440x480i@60Hz 
    VIC 01 640x480@60Hz 
    VIC 31 1920x1080@50Hz 
    VIC 20 1920x1080i@50Hz 
    VIC 19 1280x720@50Hz 
    VIC 18 720x576@50Hz 
    VIC 22 1440x576i@50Hz 
    VIC 17 720x576@50Hz 
    VIC 21 1440x576i@50Hz 
    VIC 32 1920x1080@24Hz 
  Audio data block
    Linear PCM, max channels 1
    Supported sample rates (kHz): 48 44.1 32
    Supported sample sizes (bits): 24 20 16
  Vendor-specific data block, OUI 000c03 (HDMI)
    Source physical address 1.0.0.0
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
1 native detailed modes
Detailed mode: Clock 74.250 MHz, 0 mm x 0 mm
               1280 1390 1430 1650 hborder 0
                720  725  730  750 vborder 0
               +hsync +vsync 
Detailed mode: Clock 27.000 MHz, 0 mm x 0 mm
                720  736  798  858 hborder 0
                480  489  495  525 vborder 0
               -hsync -vsync 
Detailed mode: Clock 74.250 MHz, 0 mm x 0 mm
               1920 2448 2492 2640 hborder 0
                540  542  547  562 vborder 0
               +hsync +vsync interlaced 
Detailed mode: Clock 74.250 MHz, 708 mm x 398 mm
               1280 1720 1760 1980 hborder 0
                720  725  730  750 vborder 0
               +hsync +vsync 
Detailed mode: Clock 27.000 MHz, 0 mm x 0 mm
                720  732  796  864 hborder 0
                576  581  586  625 vborder 0
               -hsync -vsync 
Checksum: 0x8b (valid)
Can you try the manual display mode, "1280x1024p60hz" to make sure that N2 works with your monitor in case of 1280x1024p60hz?
Display auto detection logic only depends on the edid information and the first detailed timing (1280x1024p60hz) is higher priority than standard timing (1024x768@60hz).
oldchap wrote:
Fri May 17, 2019 5:21 pm
root@odroid:/media/boot# cat edid.bin | edid-decode
bash: edid-decode: command not found
Please install edid-decode first.

Code: Select all

$ sudo apt-get install edid-decode

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

Re: Booting minor issues

Unread post by joy » Mon May 20, 2019 12:15 pm

phaseshifter wrote:
Sun May 19, 2019 4:44 am
i think that petitboot`s boot up screen is by default resolution is 1080p this may be an issue or the issue....
Thanks for your opinion.
Your opinion is also right.

I think Auto detection mode as default is better.
It can cover various kinds of display timings,
and if a monitor doesn't work with the auto mode, mostly the monitor doesn't support normal 1080p60hz, neither.

But, I'm sure a kind of countermeasure must be needed to provide a way that user can modify default display mode in case of Petitboot booting.
I will try to prepare the solution.

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

Re: Booting minor issues

Unread post by mad_ady » Mon May 20, 2019 11:30 pm

Since you'll be using a keyboard, maybe probe for a key being held down (e.g. left shift), or caps lock being on so that you can select a supported vga resolution when starting petitboot. 640x480 should be enough for everyone.

oldchap
Posts: 59
Joined: Mon Aug 07, 2017 3:27 pm
languages_spoken: english
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Booting minor issues

Unread post by oldchap » Tue May 21, 2019 1:28 am

@ joy

setenv display_autodetect "true"

setenv hdmimode "1280x1024p60hz" #"1024x768p60hz"
#"1080p60hz"

I am not getting a flicker at all from the blue light. If boot,ini is supposed to be lit up first it is not hapening. Xu4 works out of the box, just had to learn how to change the resolution so that everything was not oblong.
Q. is display-edid.bin created after first boot as I do not have them on this fresh install?

skeetre
Posts: 41
Joined: Mon Apr 29, 2019 11:27 am
languages_spoken: english
ODROIDs: Odroid-N2
Location: FL, USA
Has thanked: 10 times
Been thanked: 10 times
Contact:

Re: Booting minor issues

Unread post by skeetre » Tue May 21, 2019 4:05 am

I had issues when I tried changing the 1080p to something else for my 1360x768 tv. THe only thing I changed was the 2 lines referencing the resolution, but I got Nothing afterwards. I ended up reflashing my eMMC and microSD card... then it all worked perfectly, and at the 1360x768 resolution.

So, not sure why, but maybe you could try reflashing and trying again, if you haven't already done so.

phaseshifter
Posts: 3333
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 @15 V D.C ,,...other odroid acc`s as well
Has thanked: 25 times
Been thanked: 29 times
Contact:

Re: Booting minor issues

Unread post by phaseshifter » Tue May 21, 2019 9:51 am

@joy yes i agree that auto detection the petitboot mode is necessary..given not all screens that the user would have meet 1080p requirements...
but yet still the custom mode if the user has selected one must be processed as well after petitboot has been invoked....

@oldchap
if you have no media at all connected to the n-2 no emmc no sd-card no usb storage device..etc..etc.
and you have the spi switch set to spi-petitboot mode then it should load up the petitboot screen..the blue led should show some form of activity..as uboot is processed..

if your still not getting any activity from the blue light and the spi mode then there is a different problem all together ...


further more i often dont see that it is the odroids being at fault with a small % of screens themselves being faulty....
simple terms i think some screens are faulty..and not the odroid..to the extent of the fault..i cannot say..but i would put down a % of screens themselves being at fault..
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

oldchap
Posts: 59
Joined: Mon Aug 07, 2017 3:27 pm
languages_spoken: english
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Booting minor issues

Unread post by oldchap » Wed May 22, 2019 9:41 pm

@ mad ady

Since you'll be using a keyboard, maybe probe for a key being held down

Nothing, tried every key from alt just left of the space bar to esc then across the top row. SPI is not lighting up what ever firmware is inside the TV. SD boot see's it and makes edid- display,bin.

@ joy

if you have no media at all connected to the n-2 no emmc no sd-card no usb storage device

Nothing, not even a flicker of the blue light. No petitboot screen.
Do not worry about SPI boot anymore.
However done this, it works.

sudo apt-get install edid-decode

I was doing an update this afternoon and the power went off when it was installing the updates.
When it came back on the updates finished installing.
But, when I plug in the phone to use as a modem it loads the phone not triggering the modem, I get a phone icon on the desktop. It stay's triggered on phone, I cant even make a connection in network manager as the modem does not show up.
Is there a config file where I can kill the phone from loading so the modem can load. I have been into var/apt and reinstalled modem and network manager with gdebi. Cannot get online to do an update to see if that fixes it.

phaseshifter
Posts: 3333
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 @15 V D.C ,,...other odroid acc`s as well
Has thanked: 25 times
Been thanked: 29 times
Contact:

Re: Booting minor issues

Unread post by phaseshifter » Wed May 22, 2019 11:36 pm

open a terminal as super user and code this

Code: Select all

dpkg --configure -a
then reboot the machine

if you cannot get a terminal try the below post
Last edited by phaseshifter on Thu May 23, 2019 12:07 am, edited 1 time in total.
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

phaseshifter
Posts: 3333
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 @15 V D.C ,,...other odroid acc`s as well
Has thanked: 25 times
Been thanked: 29 times
Contact:

Re: Booting minor issues

Unread post by phaseshifter » Wed May 22, 2019 11:58 pm

you dont need an internet connection to perform the following tasks just a command line
if you think that the kernel has loaded and your getting just a black screen hold down these keys

Code: Select all

ctrl+alt+F1
or

Code: Select all

ctrl+alt+F2
hopefully you now have a login screen appear

login as root
login=root
passwd=odroid
then run
or if you can.... open a terminal while the gui has loaded...

Code: Select all

dpkg-recofigure edid-decode 
then

Code: Select all

dpkg --configure -a
once that is done reboot the machine..

hope fully the issue`s are fixed

i dont know about your modem connection issue..the above may or may not fix that..but should allow all the packages t be installed and up to date....phase....
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: Paul69 and 0 guests