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?
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 5710
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: Won't boot with hdmi [openelec]
Can you try boot_delay=1 in config.txt?
Re: Won't boot with hdmi [openelec]
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
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 5710
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: Won't boot with hdmi [openelec]
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)
Keep looking...
(you may have to create it if it doesn't exist. It goes alongside cmdline.txt)
Re: Won't boot with hdmi [openelec]
You were right.
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.

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.
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 5710
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: Won't boot with hdmi [openelec]
How new is your openelec build?
Can you run
vcgencmd version
Can you run
vcgencmd version
Re: Won't boot with hdmi [openelec]
The build is from around June 15th.
And I could run that version if you tell me how.
And I could run that version if you tell me how.

-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 5710
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: Won't boot with hdmi [openelec]
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).
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).
Re: Won't boot with hdmi [openelec]
Here:
Code: Select all
root ~ # vcgencmd version
Jun 13 2012 11:55:25
Copyright (c) 2012 Broadcom
version 319515 (release)
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 5710
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: Won't boot with hdmi [openelec]
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).
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).
Re: Won't boot with hdmi [openelec]
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.
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.
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 5710
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: Won't boot with hdmi [openelec]
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?
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?
Re: Won't boot with hdmi [openelec]
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! 
