-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add possibility to print text #25
Conversation
|
not in wrong way, but in a shortcut way. Normally should set allwinner PLL, DEBE, porchs, clocks etc... then create 320x240 framebuffer, and point it to DEBE. Here all this stuff is bypassed and written directly to LCD panel memory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could be usefull for debug because till now I dont know how to grab uboot log msgs.
Does it reload screen buffer if there is no space left, or simply how much text you can fit in = that much can be generated?
if current x/y is bigger than display width/height it back x/y to 0, so basically start writing from the beginning of the panel |
u know me
Then I suggest to fill LCD panel with black before displaying any text and after "y" is filled - like normally you would have on tty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah 8x12 looks much better also lcdFillBgColor() works as requested. Thanks, this will come in handy.
--------- Co-authored-by: tiopex <[email protected]> Co-authored-by: Apaczer <[email protected]>
Add the possibility to print any string text to the console from uboot level. For demonstration purposes, print information about the autodetected device version. After the first run, information is not visible anymore.