Odroid XU No HDMI [SOLVED]

This forum is for supported devices using an ARMv7 Samsung SoC.

Odroid XU No HDMI [SOLVED]

Postby narcin » Thu Apr 30, 2015 6:55 am

Good morning,

I'm newbe with archlinux on odroid XU. I've installed arch by following the instruction on main page. I can run xapplications (i.e. xclock) over ssh by xorg-auth. But I can't set HDMI on.

I have warning:

$this->bbcode_second_pass_code('', '
$xrandr --output HDMI-0 --auto
RandR extension missing

$ echo $DISPLAY
localhost:10.0

')

extra/libxrandr - is installed.

Please help, I'm fighting with that third day.

Kind Regards,

Marcin.
Last edited by narcin on Tue May 26, 2015 6:13 am, edited 2 times in total.
narcin
 
Posts: 9
Joined: Wed May 28, 2014 11:56 am

Re: Odroid XU HDMI problem: RandR extension missing

Postby mdrjr » Thu Apr 30, 2015 2:46 pm

XU an old-school fbdev driver. So no xrandr...

To adjust the resolution you have to change it on /boot/boot.ini
mdrjr
 
Posts: 15
Joined: Fri Dec 14, 2012 6:09 pm

Re: Odroid XU NO HDMI

Postby narcin » Thu Apr 30, 2015 10:27 pm

Thank you for your reply.

My boot.ini looks like this:

$this->bbcode_second_pass_code('', '
#------------------------------------------------------------------------------------------------------
#
# Boot.ini text file template
#
#------------------------------------------------------------------------------------------------------
#
# boot.ini identification
#
#------------------------------------------------------------------------------------------------------
ODROIDXU-UBOOT-CONFIG

# Verify if u-boot is up-to-date
setenv hk_current_version "2"
setenv verify 'if test $hk_version != $hk_current_version;then;fatload mmc 0:1 40008000 u-boot.bin;emmc open 0;movi w z u 0 40008000;emmc close 0;setenv hk_version $hk_current_version;save;reset;fi'
run verify

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

#------------------------------------------------------------------------------------------------------
#
# Boot Specific Stuff
# Arch Linux ARM
setenv bootrootfs "console=ttySAC2,115200n8 root=/dev/mmcblk0p2 rootwait rw"

#------------------------------------------------------------------------------------------------------
#
# Frame buffer size.
# Example.. If you are on LCD Kit set the values bellow to:
# x = 1280 and y = 800
# Otherwise please set this value below to your wanted resolution
# Values:
# LCD Kit: x = 1280 y = 800
# ---------------------------
# HDMI:
# 480: x = 720 y = 480
# 576: x = 720 y = 576
# 720: x = 1280 y = 720
# 1080: x = 1920 y = 1080
#
#------------------------------------------------------------------------------------------------------
setenv fb_x_res "1920"
setenv fb_y_res "1080"

#------------------------------------------------------------------------------------------------------
#
# Controls the Board Output Method.
# Valid values are: lcd dp hdmi dvi
#
#------------------------------------------------------------------------------------------------------
setenv vout "hdmi"

#------------------------------------------------------------------------------------------------------
#
# FB Control
#
#------------------------------------------------------------------------------------------------------
setenv left "56"
setenv right "24"
setenv upper "3"
setenv lower "3"
setenv hsync "14"
setenv vsync "3"

setenv fb_control "left=${left} right=${right} upper=${upper} lower=${lower} vsync=${vsync} hsync=${hsync}"

#------------------------------------------------------------------------------------------------------
#
# Screen parameters
#
#------------------------------------------------------------------------------------------------------
#
# AOC I2269V 22" (1920 X 1080)
# left = 56, right = 24, upper = 3, lower = 3, hsync = 14, vsync = 3
#
#------------------------------------------------------------------------------------------------------
#
# YAMAKASI Monitor 27" (2560 X 1440)
# left = 15, right = 10, upper = 10, lower = 10, hsync = 10, vsync = 10,
#
#------------------------------------------------------------------------------------------------------
#
# X-Star Monitor 27" (2560 X 1440)
# left = 56, right = 24, upper = 3, lower = 3, hsync = 14, vsync = 3,
#
#------------------------------------------------------------------------------------------------------
#
# LG Monitor 27" (2560 * 1080)
#
# left = 56, right = 248, upper = 3, lower = 3, hsync = 144, vsync = 3,
# left = 100, right = 100, upper = 100, lower = 100, hsync = 100, vsync = 100,
#
#------------------------------------------------------------------------------------------------------

#------------------------------------------------------------------------------------------------------
#
# Forces a fixed resolution on the HDMI controller. Please make sure that your screen supports and
# It matchs the resolution above! setted the X and Y
# valid values are: 480p60hz 720p60hz 720p50hz 1080p60hz 1080i60hz 1080i50hz 1080p50hz
# 1080p30hz 1080p25hz 1080p24hz
#
#------------------------------------------------------------------------------------------------------
setenv hdmi_phy_res "1080p60hz"

#------------------------------------------------------------------------------------------------------
#
# System Status LED: Blink the RGB LED or disable it
# valid values: 1 off
#
#------------------------------------------------------------------------------------------------------
setenv led_blink "1"

#------------------------------------------------------------------------------------------------------
#
# U-Boot bootcmd command
#
#------------------------------------------------------------------------------------------------------
# Arch Linux ARM
setenv bootcmd "fatload mmc 0:1 0x40008000 zImage; if fatload mmc 0:1 0x41f00000 exynos5410-odroidxu.dtb; then bootz 0x40008000 - 0x41f00000; else bootz 0x40008000; fi"

#------------------------------------------------------------------------------------------------------
#
# Kernel boot arguments
#
#------------------------------------------------------------------------------------------------------
setenv bootargs "${bootrootfs} ${fb_control} fb_x_res=${fb_x_res} fb_y_res=${fb_y_res} vout=${vout} hdmi_phy_res=${hdmi_phy_res} led_blink=${led_blink}"

# Boot the board
boot
')


I suspect that problem is below, but I can't interpret it
$this->bbcode_second_pass_code('', '
$ exynos5-hwcomposer
exynos5_open,4210 -- failed to open framebuffer
layer type=3, flags=00000000, handle=(nil), tr=00, blend=0105, {0,0,0,0}, {0,0,0,0}
createDisplay,4514 -- HDMI FB layer = 0x19094
layer type=3, flags=00000000, handle=0x18830, tr=00, blend=0105, {0,0,0,0}, {0,0,0,0}
* fd = 0, format = 0, width = 0, height = 0,stride = 0, vstride = 0
')

I've also enabled in systemd exynos5-hwcomposer and installed xf86-video-fbdev
What else shall I do ?



After another few days with odroid-xu I suspect, tat my hdmi is broken.

I have a new question: When should I see anything on my screen ? after install ? or should make some postinstallation procedures to make it works ?

I've tried many options but without success I can manage it only through ssh. My boot.ini seems to be ok. I'l already tried other distros on many screens but I could't force them to show me anything.
narcin
 
Posts: 9
Joined: Wed May 28, 2014 11:56 am

Re: Odroid XU No HDMI [SOLVED]

Postby narcin » Sun May 24, 2015 6:27 pm

After many days I won.

Like I sad before, I'm newbie. I've spend many hours with ubuntu which worked very well. But I really wanted to get archarm.

Main problem is that, on odroid xu doesn't has something like "console framebuffer" - that was the reason why I couldn't see anything.

After following official guide, I had to:

1. Install SLIM
2. enable SLIM by $this->bbcode_second_pass_code('', 'systemctl enable slim')
3. LXDE
4. change line $this->bbcode_second_pass_code('', 'setenv vout "hdmi"') to $this->bbcode_second_pass_code('', 'setenv vout "dvi"') (because my display has dvi in)
narcin
 
Posts: 9
Joined: Wed May 28, 2014 11:56 am


Return to Samsung

Who is online

Users browsing this forum: No registered users and 2 guests