Jump to content

Armbian Boot Logo only shown when boot from SD Card.


Go to solution Solved by MikePooh,

Recommended Posts

Posted

Device: Orange Pi +2e. Builds 20.20, 20.05, 20.08

 

The Armbian Boot Logo is shown only when we boot from SD Card. 

Do nand-sata-install to eMMC and boot from eMMC, the logo disappears. 

 

Could this be a timing issue as it boots faster on eMMC? I do not see any flicker or flash during u-boot.

 

--Rajesh

 

Posted

Not sure about this one. I know that for some boards the logo has been disabled to enhance HDMI detection.

logo=disabled

You can try to play with this value in /boot/armbianEnv.txt

Posted
11 minutes ago, Werner said:

Not sure about this one. I know that for some boards the logo has been disabled to enhance HDMI detection.


logo=disabled

You can try to play with this value in /boot/armbianEnv.txt

 

logo=enabled does not help. 

I am aware about logo being disabled for HDMI Patch.

 

I applied these patches to 20.08-trunk to get the logo enabled

1. disable patch xxx-disable-de2-to-improve-edid-detection.patch

2. enable patch remove-boot-messages-from-hdmi.patch

 

I works for 20.08-trunk but only on SD Card. Flash the image on eMMC and the boot logo disappears. 

 

I did armbianmonitor -u after boot from SD Card for comparison ( http://ix.io/2omV ) and compared the two logs. They are absolutely same until about 6 seconds when the kernel starts to load.

 

--Rajesh

 

Posted

These are the initial boot messages I see while booting from onboard eMMC vs SD Card

 

Onboard eMMC:

image.png.0fc55263daeb1daae6c371901bf8c0e1.png

 

SD Card / Show Logo:

image.png.9cd20e727981d62fe99d4032cfc29fa5.png

 

Does this ring any bells?

 

--Rajesh

 

Posted
16 hours ago, Rajesh said:

Does this ring any bells?

/boot/boot.env is only present if a u-boot "saveenv" has been executed.

 

The 230454 file read is the /boot//boot.bmp logo ...

Posted

I am trying to make sense of all of this but it is getting more complicated for me. 

I read this message on the forum which includes you comments but appears beyond my capability to deal with this.

If you can give me little more pointers on how to deal with this, I will try to give my best.

 

Best Regards

Rajesh

Posted

There was this patch introduced when HDMI driver was added - sunxi-boot-splash.patch:

 

It appears that this patch always looks for boot.bmp in mmc 0. Probably this is why the boot.bmp is displayed only when I boot from SD card. When I boot from onboard eMMC, mmc device number is 2 and not 0.

 

image.png.bbf062688780ce75f46027b6e1c7d2b2.png

 

I will try to load bitmap in boot.cmd and see if this makes the difference.

 

--Rajesh

 

Posted

Resolved:

 

I added this code in boot.cmd and did 'mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr'

 

image.png.bc55764853e3ca6e7708eb572cf7a330.png

 

The boot logo is now shown when I boot from splash also.

 

Hope this help to anyone facing similar issue.

 

-Rajesh

 

  • Solution
Posted

It is so nice that you post the code as image. Please let me paste it as code.

 

if test -e ${devtype} ${devnum} ${prefix}boot.bmp; then
   splashpos=m,m
   splashimage=66000000
   load ${devtype} ${devnum} ${splashimage} ${prefix}boot.bmp
   bmp d ${splashimage}
fi

 

P.S. Code works.

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

Important Information

Terms of Use - Privacy Policy - Guidelines