Jump to content

OPipc (vainilla kernel) doesn't boot without hdmi cable connected


alexandre1

Recommended Posts

Hello!

 

 I build my own image using the provided scripts. I want to be able to run a headless opi system just with ethernet and two usb wireless interfaces. The lastest build works fine when you are using it but doesn't boot if a HDMI cable is not connected. If you boot it with a HDMI plugged in there is no problem, boot ok, ethernet up and all right.

 

I think that could be a configuration of u-boot but there isn't config files in the filesystem of the pi.

 

Anybody kwow the solution?

 

Thanks!

Link to comment
Share on other sites

I am running vanilla kernel on Opi PC+ without a HDMI and it's working perfectly fine. Running from eMMC with BTRFS file system or from eMMC with ext4. With attached serial console or without.

 

Also made with a build script two days ago.

Linux orangepipcplus 4.9.0-sun8i #2 SMP Tue Dec 20 18:56:30

Hook a serial consle to see what's going on ... 

Link to comment
Share on other sites

I'm running 4.9 on my OpiPC (the original one, without emmc) and it boots/works without hdmi attached.

I've built the image on Dec. 19. and as I can see, megous pushed some changes to the kernel repo in the meantime, some even related to hdmi. link

 

But then again, Igor's build contains all this newer stuff, so it shouldn't cause trouble.

Link to comment
Share on other sites

This worked for me today on an OPi PC Plus:

 

Download sunxi-tools tool:

git clone git://github.com/linux-sunxi/sunxi-tools.git

cd sunxi-tools

make

  ...yadayada

  you might have errors but look for "sunxi-fexc".

If it's there, continue. If not, sorry I wasted your time. :(

cp /boot/bin/orangepipcplus.bin .

sunxi-fexc -I bin -O fex orangepipcplus.bin orangepipcplus.fex

nano orangepipcplus.fex

 

Line 354: (yours may be different.)

  hdmi_used = 1

 to

  hdmi_used = 0

 

Convert back to .bin with:

sunxi-fexc -I fex -O bin orangepipcplus.fex orangepiEES.bin

  cp orangepiEES.bin /boot/bin/

  cd /boot/bin/

  mv orangepipcplus.bin orangepipcplus.not

  mv orangepiEES.bin orangepipcplus.bin

 

reboot

Link to comment
Share on other sites

 

This worked for me today on an OPi PC Plus:
 
Download sunxi-tools tool:
git clone git://github.com/linux-sunxi/sunxi-tools.git
cd sunxi-tools
make
  ...yadayada
  you might have errors but look for "sunxi-fexc".
If it's there, continue. If not, sorry I wasted your time. :(
cp /boot/bin/orangepipcplus.bin .
sunxi-fexc -I bin -O fex orangepipcplus.bin orangepipcplus.fex
nano orangepipcplus.fex
 
Line 354: (yours may be different.)
  hdmi_used = 1
 to
  hdmi_used = 0
 
Convert back to .bin with:
sunxi-fexc -I fex -O bin orangepipcplus.fex orangepiEES.bin
  cp orangepiEES.bin /boot/bin/
  cd /boot/bin/
  mv orangepipcplus.bin orangepipcplus.not
  mv orangepiEES.bin orangepipcplus.bin
 
reboot

 

 

OT. We are talking about vanilla / mainline kernel v4.9+ where script.fex is deprecated.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines