XU4 black screen (boot.ini problems?)

Post Reply
GustavatoR
Posts: 1
Joined: Thu Apr 14, 2016 11:03 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

XU4 black screen (boot.ini problems?)

Post by GustavatoR »

Dear all,
I just flash the memory card with the last release of for XU4 and I can not see nothing in the screen. I would like to know how I can connect the XU4 to a screen of 1280x1024.
I just connect in other screen bigger and it works. But not in the screen of my house.
I tried uncomment several resolutions in the file "boot.ini" (like 800x600) in the FAT partition but it seems that do not work at all. I behaves like it ignore it!

Using the screen that allows me to see how Ubuntu works, I tried the different resolutions for the x-Windows and nothing. Also, I tried "ODROID Utility" and for the HDMI config it says "to modify the boot.ini file" :-S

Can you give me some advice?, I know that the screen works good.
FYI, I just copy my "boot.ini" file (in this case I uncomment "1024x768"):

Code: Select all

ODROIDXU-UBOOT-CONFIG

# U-Boot Parameters
setenv initrd_high "0xffffffff"
setenv fdt_high "0xffffffff"

# Mac address configuration
setenv macaddr "00:1e:06:61:7a:39"

#------------------------------------------------------------------------------------------------------
# Basic Ubuntu Setup. Don't touch unless you know what you are doing.
# --------------------------------
setenv bootrootfs "console=tty1 console=ttySAC2,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro fsck.repair=yes net.ifnames=0 "

# boot commands
setenv bootcmd "fatload mmc 0:1 0x40008000 zImage; fatload mmc 0:1 0x42000000 uInitrd; fatload mmc 0:1 0x44000000 exynos5422-odroidxu3.dtb; bootz 0x40008000 0x42000000 0x44000000"

# --- Screen Configuration for HDMI --- # 
# ---------------------------------------
# Uncomment only ONE line! Leave all commented for automatic selection.
# Uncomment only the setenv line!
# ---------------------------------------
# ODROID-VU forced resolution
# setenv videoconfig "video=HDMI-A-1:1280x800@60"
# -----------------------------------------------
# ODROID-VU forced EDID
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x800.bin"
# -----------------------------------------------
# 1920x1080 (1080P) with monitor provided EDID information. (1080p-edid)
# setenv videoconfig "video=HDMI-A-1:1920x1080@60"
# -----------------------------------------------
# 1920x1080 (1080P) without monitor data using generic information (1080p-noedid)
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080.bin"
# -----------------------------------------------
# 1920x1080 50hz (1080P) with monitor provided EDID information. (1080p 50hz-edid)
# setenv videoconfig "video=HDMI-A-1:1920x1080@50"
# -----------------------------------------------
# 1920x1080 50hz (1080P) without monitor data using generic information (1080p 50hz-noedid)
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_50hz.bin"
# -----------------------------------------------
# 1440x900 with monitor provided EDID information.
# setenv videoconfig "video=HDMI-A-1:1440x900@60"
# -----------------------------------------------
# 1440x900 without monitor data using generic information 
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1440x900.bin"
# -----------------------------------------------
# 1280x720 (720P) with monitor provided EDID information. (720p-edid)
# setenv videoconfig "video=HDMI-A-1:1280x720@60"
# -----------------------------------------------
# 1280x720 (720P) without monitor data using generic information (720p-noedid)
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x720.bin"
# -----------------------------------------------
# 1024x768 without monitor data using generic information
setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x768.bin"
# -----------------------------------------------
# 800x600 without monitor data using generic information 
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x600.bin"
# -----------------------------------------------
# 800x480 without monitor data using generic information (ODROID 7")
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x480.bin"
# -----------------------------------------------
# 720x576 without monitor data using generic information 
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x576.bin"
# -----------------------------------------------
# 720x480 without monitor data using generic information 
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x480.bin"
# -----------------------------------------------
# 640x480 without monitor data using generic information
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/640x480.bin"


# --- HDMI / DVI Mode Selection ---
# ------------------------------------------
# - HDMI Mode
setenv vout "hdmi"
# - DVI Mode (disables sound over HDMI as per DVI compat)
# setenv vout "dvi"


# --- CPU Governor Setup ---
# Uncomment only one line. New governor is set after 90secs after boot.
# ------------------------------------------
# - Performance (Keep all the CPU's at Maximum frequency)
setenv governor "performance"
# ------------------------------------------
# - Ondemand
# setenv governor "ondemand"
# ------------------------------------------
# - Interactive (Pretty much just like ondemand with more possible customization via sysfs.)
# setenv governor "interactive"
# ------------------------------------------
# - Conservative (Like ondemand, but do the frequency transitions more slowly, great for battery powered applications)
# setenv governor "conservative"
# ------------------------------------------
# - Powersave (Keeps the CPU's to the lowest possible temps)
# setenv governor "powersave"


#------------------------------------------------------------------------------
#
# HDMI-PHY Parameter Control
#
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
#
# HDMI Hot Plug detection
#
#------------------------------------------------------------------------------
#
# Forces the HDMI subsystem to ignore the check if the cable is connected or 
# not.
# false : disable the detection and force it as connected.
# true : let cable, board and monitor decide the connection status.
# 
# default: true
# 
#------------------------------------------------------------------------------
setenv HPD "true"

#------------------------------------------------------------------------------
#
#  TMDS data amplitude control.
#
#------------------------------------------------------------------------------
#
#  1LSB corresponds to 20 mVdiff amplitude level.
#  tx_amp_lvl : 0 = 760 mVdiff(Min), 31 = 1380 mVdiff(Max)
#
#  Hardkernel default hdmi_tx_amp_lvl = 31(1380 mVdiff);
#------------------------------------------------------------------------------
setenv hdmi_tx_amp_lvl  "31"

#------------------------------------------------------------------------------
#
#  TMDS data amplitude fine control for each channel.
#
#------------------------------------------------------------------------------
#
#  1LSB corresponds to 20 mVdiff amplitude level.
#  tx_lvl : 0 = 0 mVdiff(Min), 3 = 60 mVdiff(Max)
#
#  Hardkernel default
#      hdmi_tx_lvl_ch0 = 3, hdmi_tx_lvl_ch1 = 3, hdmi_tx_lvl_ch2 = 3,
#------------------------------------------------------------------------------
setenv hdmi_tx_lvl_ch0      "3"
setenv hdmi_tx_lvl_ch1      "3"
setenv hdmi_tx_lvl_ch2      "3"

#------------------------------------------------------------------------------
#
#  TMDS data pre-emphasis level control.
#
#------------------------------------------------------------------------------
#
#  1LSB corresponds to -0.45dB emphasis level except for 1
#  tx_emp_lvl : 0 = 0 db(Min), 1 = -0.25 db, 2 = 0.7 db, 15 = -7.45 db(Max)
#
#  Hardkernel default hdmi_tx_emp_lvl = 6 (-2.50 db);
#------------------------------------------------------------------------------
setenv hdmi_tx_emp_lvl      "6"

#------------------------------------------------------------------------------
#
#  TMDS clock amplitude control.
#
#------------------------------------------------------------------------------
#
#  1LSB corresponds to 20 mVdiff amplitude level.
#  clk_amp_lvl : 0 = 790 mVdiff(Min), 31 = 1410 mVdiff(Max)
#
#  Hardkernel default hdmi_clk_amp_lvl = 31 (1410 mVdiff)
#------------------------------------------------------------------------------
setenv hdmi_clk_amp_lvl     "31"

#------------------------------------------------------------------------------
#
#  TMDS data source termination resistor control.
#
#------------------------------------------------------------------------------
#
#  tx_res :
#      0 = Source Termination OFF(Min), 1 = 200 ohm, 2 = 300 ohm, 3 = 120 ohm(Max)
#
#  Hardkernrel default hdmi_tx_res = 0 (Source Termination OFF)
#------------------------------------------------------------------------------
setenv hdmi_tx_res      "0"

#------------------------------------------------------------------------------

setenv hdmi_phy_control "hdmi_tx_amp_lvl=${hdmi_tx_amp_lvl} hdmi_tx_lvl_ch0=${hdmi_tx_lvl_ch0} hdmi_tx_lvl_ch1=${hdmi_tx_lvl_ch1} hdmi_tx_lvl_ch2=${hdmi_tx_lvl_ch2} hdmi_tx_emp_lvl=${hdmi_tx_emp_lvl} hdmi_clk_amp_lvl=${hdmi_clk_amp_lvl} hdmi_tx_res=${hdmi_tx_res} HPD=${HPD} vout=${vout}"

# final boot args
setenv bootargs "${bootrootfs} ${videoconfig} smsc95xx.macaddr=${macaddr} governor=${governor} ${hdmi_phy_control}"
# drm.debug=0xff
# Boot the board
boot

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

Re: XU4 black screen (boot.ini problems?)

Post by odroid »

Connect your XU4 to a working monitor.
And run below commands to update the system.

Code: Select all

sudo atp-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
Reboot your board and you will have 3.10.96-82 Kernel.

You will find a 1280x1024 entry in the updated boot.ini file.
Remove the comment (#) on that line.
Also change the vout mode to DVI from HDMI.

LostInOdroid
Posts: 9
Joined: Thu Jun 09, 2016 10:18 pm
languages_spoken: English
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: XU4 black screen (boot.ini problems?)

Post by LostInOdroid »

Hi there,

I have the same issue but have followed the instructions and completed an update.

In my boot.ini file I see no option to turn on/off output via HDMI, though there is only an HDMI connector on the board, not sure if that is logical. But I need to output via an HDMI cable and DVI adaptor to a screen with a resolution on 1280x1024. By selecting lower resolutions my screen is black, in auto mode the display complains it can't display the input. This is an XU4 board.

I have no idea how to copy and paste the contents of my boot.ini file, sorry. I am trying to figure this all out and it's been a long time since I used command line.

Thanks in advance.

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

Re: XU4 black screen (boot.ini problems?)

Post by odroid »

@LostInOdroid

Which OS image and kernel do you use?

LostInOdroid
Posts: 9
Joined: Thu Jun 09, 2016 10:18 pm
languages_spoken: English
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: XU4 black screen (boot.ini problems?)

Post by LostInOdroid »

Hi, It is Ubuntu/Linux from your eMMC card. It must be the very latest software as I ran the apt-get update/upgrade/dist-upgrade yesterday.

Thanks.

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

Re: XU4 black screen (boot.ini problems?)

Post by odroid »

Can you show us your /media/boot/boot.ini file?

LostInOdroid
Posts: 9
Joined: Thu Jun 09, 2016 10:18 pm
languages_spoken: English
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: XU4 black screen (boot.ini problems?)

Post by LostInOdroid »

If you tell me how to do it. I would be happy to.

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

Re: XU4 black screen (boot.ini problems?)

Post by odroid »

How did you see and edit your boot.ini file?
If you used a text editor, just copy the contents and paste it on your reply on this forum.

LostInOdroid
Posts: 9
Joined: Thu Jun 09, 2016 10:18 pm
languages_spoken: English
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: XU4 black screen (boot.ini problems?)

Post by LostInOdroid »

I used nano but it is not clear to me how to copy and paste the contents. Sorry.

It looks very much like the boot.ini a previous poster put. However, there is no vout in there or HDMI/DVI mode selection section.

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

Re: XU4 black screen (boot.ini problems?)

Post by odroid »

Did you connect the eMMC to your PC and used nano ediitor?
Or connected the XU4 via SSH?

boot.ini file should be identical to this file.
https://github.com/mdrjr/5422_bootini/b ... 5/boot.ini

LostInOdroid
Posts: 9
Joined: Thu Jun 09, 2016 10:18 pm
languages_spoken: English
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: XU4 black screen (boot.ini problems?)

Post by LostInOdroid »

Hi, I have been connecting to the XU4 via serial cable and Putty.

My boot.ini is not the same as in your link. As a minimum, it is missing this section;

# --- HDMI / DVI Mode Selection ---
# ------------------------------------------
# - HDMI Mode
setenv vout "hdmi"
# - DVI Mode (disables sound over HDMI as per DVI compat)
# setenv vout "dvi"

Thanks

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

Re: XU4 black screen (boot.ini problems?)

Post by odroid »

Update the system with below commands on Putty(serial console) and reboot.
http://odroid.com/dokuwiki/doku.php?id= ... l_software

LostInOdroid
Posts: 9
Joined: Thu Jun 09, 2016 10:18 pm
languages_spoken: English
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: XU4 black screen (boot.ini problems?)

Post by LostInOdroid »

Hi,

If you are referring to;

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

I already did that.

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

Re: XU4 black screen (boot.ini problems?)

Post by odroid »

Yes.
What is the kernel version after system update?
Which OS image did you install into your SD or eMMC?
I am using 15.10 image with kernel 3.10.96-82 now.

LostInOdroid
Posts: 9
Joined: Thu Jun 09, 2016 10:18 pm
languages_spoken: English
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: XU4 black screen (boot.ini problems?)

Post by LostInOdroid »

It is Linux 3.10.92.

LostInOdroid
Posts: 9
Joined: Thu Jun 09, 2016 10:18 pm
languages_spoken: English
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: XU4 black screen (boot.ini problems?)

Post by LostInOdroid »

I think version 14.04.4LTS

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

Re: XU4 black screen (boot.ini problems?)

Post by odroid »

If you run the old 14.04 image, you must use odroid-utility to update the kernel and boot script.

LostInOdroid
Posts: 9
Joined: Thu Jun 09, 2016 10:18 pm
languages_spoken: English
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: XU4 black screen (boot.ini problems?)

Post by LostInOdroid »

Can you advise how I can update with the Odroid Utility? And how I can update the Linux image please? I thought I had done that with the updates.

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

Re: XU4 black screen (boot.ini problems?)

Post by odroid »

Can you find an odroid-utility icon on the desktop?
There should be a kernel and a boot-script update menu if you run it.
If you don't know how, use the latest 15.10 image.

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 6 guests