Level : WORDPRESS BOOK LINKEDIN PATENT Send Mail 동냥하기 hajunho.com

184

Blog History / / 2020. 4. 20. 07:40

ODROID HDMI Patch

Post a reply
First unread post • 12 posts • Page 1 of 1
Enable HDMI console output in uboot
Unread postby suriyan » Sat Jan 03, 2015 4:55 pm

Hi,
This might be useful to some. This patch enables HDMI (720p) console output as uboot executes. I am attaching the patch (which could be merged) and the compiled uboot with the fusing scripts in case one wants to try it.

Thanks
- Suriyan
ATTACHMENTS
sd_fuse.hdmiout.tgz
(241.23 KiB) Downloaded 103 times
0001-Enable-HDMI-console.patch.gz
(1.63 KiB) Downloaded 127 times
Donate
suriyan

Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1
Top
Re: Enable HDMI console output in uboot
Unread postby mdrjr » Sat Jan 03, 2015 6:19 pm

That's nice :) Tested it here :P
mdrjr
Site Admin

Posts: 11620
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -
Top
Re: Enable HDMI console output in uboot
Unread postby tobetter » Sat Jan 03, 2015 8:18 pm

suriyan wrote:
Hi,
This might be useful to some. This patch enables HDMI (720p) console output as uboot executes. I am attaching the patch (which could be merged) and the compiled uboot with the fusing scripts in case one wants to try it.

Thanks
- Suriyan

Hey, Suriyan.
Welcome your patch! :mrgreen:
tobetter

Posts: 2040
Joined: Mon Feb 25, 2013 10:55 am
Location: Republic Of Korea
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Top
Re: Enable HDMI console output in uboot
Unread postby parkerlreed » Mon Jan 05, 2015 6:44 am

Can this be applied from within the Ubuntu image?
parkerlreed

Posts: 6
Joined: Sun Jan 04, 2015 4:37 am
languages_spoken: english
ODROIDs: Odroid-C1
Top
Re: Enable HDMI console output in uboot
Unread postby mdrjr » Mon Jan 05, 2015 6:49 am

Yes, just run the sd_fuse that suryian posted :)
mdrjr
Site Admin

Posts: 11620
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -
Top
Re: Enable HDMI console output in uboot
Unread postby parkerlreed » Mon Jan 05, 2015 6:52 am

I ran

CODE: SELECT ALL
sudo ./sd_fusing.sh /dev/mmcblk0

but after a reboot it just seems to be the same.
parkerlreed

Posts: 6
Joined: Sun Jan 04, 2015 4:37 am
languages_spoken: english
ODROIDs: Odroid-C1
Top
Re: Enable HDMI console output in uboot
Unread postby mdrjr » Mon Jan 05, 2015 7:32 am

You need the uart kit to reset the u-boot env...

You need to run: 
CODE: SELECT ALL
env default -f
save
reset

On U-Boot
mdrjr
Site Admin

Posts: 11620
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -
Top
Re: Enable HDMI console output in uboot
Unread postby parkerlreed » Mon Jan 05, 2015 8:06 am

Ahh ok thanks. Might be a little bit before I hack up my uart cable. Thanks for the info.
parkerlreed

Posts: 6
Joined: Sun Jan 04, 2015 4:37 am
languages_spoken: english
ODROIDs: Odroid-C1
Top
Re: Enable HDMI console output in uboot
Unread postby suriyan » Tue Jan 06, 2015 8:39 am

Another way to revert to the default env without uboot intervention is to corrupt the uboot environment starting at sector 1024.
Donate
suriyan

Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1
Top
Re: Enable HDMI console output in uboot
Unread postby suriyan » Sun Jan 11, 2015 12:20 am

Hello mdrjr/tobetter,
Will this be merged? I need to build up on this for the usb stuff. hence this question. Also, if the -mno-unaligned-access in config.mk which this patch has, ums commands etc work too.
I have gotten usb host to work as well, and usb storage is fine, but still ironing out issues with low speed device enumeration. If this patch gets in, I do not have to keep remembering to have to change config.mk.

Thanks
- Suriyan
Donate
suriyan

Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1
Top
Re: Enable HDMI console output in uboot
Unread postby tobetter » Sun Jan 11, 2015 12:42 am

suriyan wrote:
Hello mdrjr/tobetter,
Will this be merged? I need to build up on this for the usb stuff. hence this question. Also, if the -mno-unaligned-access in config.mk which this patch has, ums commands etc work too.
I have gotten usb host to work as well, and usb storage is fine, but still ironing out issues with low speed device enumeration. If this patch gets in, I do not have to keep remembering to have to change config.mk.

Thanks
- Suriyan

Hello Suriyan,
Your patch is merged in internal git, and will be released sometime. -mno-unaligned-access is actually applied in other commit since it's not very related with HDMI output. But it improve some features. UMS already worked in the current U-boot.
U-boot github is updated just now.
tobetter

Posts: 2040
Joined: Mon Feb 25, 2013 10:55 am
Location: Republic Of Korea
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Top
Re: Enable HDMI console output in uboot
Unread postby suriyan » Sun Jan 11, 2015 7:34 am

Thanks tobetter,
I see the changes that you mention now!
- Suriyan
Donate
suriyan

Posts: 473
Joined: Wed Jun 26, 2013 2:41 pm
languages_spoken: english
ODROIDs: odroid-u2/xu-e/u3/x2/xu3/c1
Top
Display posts from previous: Sort by Go
Post a reply
12 posts • Page 1 of 1
Return to Hardware and peripherals

Jump to: Go
WHO IS ONLINE
Users browsing this forum: Google [Bot] and 4 guests

Board indexThe team • Delete all board cookies • All times are UTC + 9 hours
Powered by phpBB® Forum Software © phpBB Group

sd_fuse.hdmiout.tgz
0.24MB
0001-Enable-HDMI-console.patch.gz
0.00MB

'Blog History' 카테고리의 다른 글

186  (0) 2020.04.20
185 - raspberry pi 64 bit + tensorflow installation  (0) 2020.04.20
183  (0) 2020.04.20
179  (0) 2020.04.19
178  (0) 2020.04.14
  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기