sporez
Posts: 15
Joined: Tue Mar 06, 2012 11:59 pm

Won't boot with hdmi [openelec]

Wed Jun 20, 2012 6:20 pm

Openelec runs great on the pi except for one issue I seem to have with it. When the pi is plugged in via hdmi to my tv most of the time Openelec will not boot. It just sits there with only the red light lit. However if I use the composite output that works fine and it boots right away.

This seems to be Openelec specific as debian boots fine with hdmi..it also seems to be maybe specific to the tv because the pi boots with hdmi when plugged into my computer monitor.

Any ideas on how to solve this?

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5709
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Won't boot with hdmi [openelec]

Wed Jun 20, 2012 6:27 pm

Can you try boot_delay=1 in config.txt?

sporez
Posts: 15
Joined: Tue Mar 06, 2012 11:59 pm

Re: Won't boot with hdmi [openelec]

Wed Jun 20, 2012 7:00 pm

I added that and it didn't change anything. Here is my config.txt, not sure if it is formatted correctly:

Code: Select all

boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 ssh quiet boot_delay=1

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5709
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Won't boot with hdmi [openelec]

Wed Jun 20, 2012 7:33 pm

That looks more like a cmdline.txt.
Keep looking...

(you may have to create it if it doesn't exist. It goes alongside cmdline.txt)

sporez
Posts: 15
Joined: Tue Mar 06, 2012 11:59 pm

Re: Won't boot with hdmi [openelec]

Wed Jun 20, 2012 7:59 pm

You were right. :oops:

I created a config.txt (there was not one already) with the boot_delay in it and it's still a no-go. Exact same behavior.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5709
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Won't boot with hdmi [openelec]

Wed Jun 20, 2012 8:04 pm

How new is your openelec build?

Can you run
vcgencmd version

sporez
Posts: 15
Joined: Tue Mar 06, 2012 11:59 pm

Re: Won't boot with hdmi [openelec]

Wed Jun 20, 2012 8:18 pm

The build is from around June 15th.

And I could run that version if you tell me how. :)

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5709
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Won't boot with hdmi [openelec]

Wed Jun 20, 2012 8:36 pm

You should be able to ssh in over network:
ssh root@192.168.2.1
Password is openelec. (replace 192.168.2.1 with IP address of your PI - you can find it out on one of the system info screens).

sporez
Posts: 15
Joined: Tue Mar 06, 2012 11:59 pm

Re: Won't boot with hdmi [openelec]

Wed Jun 20, 2012 8:49 pm

Here:

Code: Select all

root ~ # vcgencmd version
Jun 13 2012 11:55:25 
Copyright (c) 2012 Broadcom
version 319515 (release)

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5709
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Won't boot with hdmi [openelec]

Wed Jun 20, 2012 9:06 pm

If your Debian image up to date?
I'd like to know if the Debian Wheezy, or if you run rpi-update (http://elinux.org/R-Pi_Troubleshooting# ... g_firmware) does that cause the same problem?
(might be best to use another sdcard if you have one in case it causes problems with your debian image).

Maybe try:
hdmi_force_hotplug=1
Then you should be able to boot with hdmi not connected, but still output over hdmi. Be interesting if that boot reliably (and if you get a picture if you subseqeuently connect hdmi).

sporez
Posts: 15
Joined: Tue Mar 06, 2012 11:59 pm

Re: Won't boot with hdmi [openelec]

Wed Jun 20, 2012 9:15 pm

Both Debian Wheezy and Squeeze (with the firmware updated) work fine. I will give the hdmi force hotplug a try.

EDIT: so i added the hdmi force hotplug to the config file and booted the pi without hdmi plugged in. Of course it booted fine and I plugged HDMI into the TV and got video out (however the resolution was wrong, but I corrected that in the XBMC settings). So this is a workaround but there must be some kind of bug that keeps it from booting with hdmi plugged into the tv.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5709
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Won't boot with hdmi [openelec]

Wed Jun 20, 2012 9:45 pm

Can you copy latest bootcode.bin, loader.bin and start.elf (make sure you use arm128_start.elf version) from wheezy (or github) to OpenELEC - it should be fine.

If that doesn't work. Can you explain very carefully what the OK LED does? Whether it flashes a repeating pattern, or does some random flashes, or just comes on solid?

Also if it doesn't work, can you try touching the soldered connections between the sdcard socket and the PCB while you power the board on?

sporez
Posts: 15
Joined: Tue Mar 06, 2012 11:59 pm

Re: Won't boot with hdmi [openelec]

Thu Jun 21, 2012 2:23 am

Copying the updated firmware files seems to have done the trick. So far it boots up fine with HDMI plugged in. Thanks for your help dom! ;)

Return to “Troubleshooting”