|
Page 12 of 23 |
|
Prev |
2 10 11 12
13 14 22
|
Next
| Last
Re: u-boot for the RX-51 (N900)
5 Attachment(s)
Pali, here are my patches. On top of your scollup fix I added a fix to use the memsetl() again.
Furthermore the clearscreen stuff and some cosmetic changes/fixes. |
Re: u-boot for the RX-51 (N900)
1 Attachment(s)
and the backlight patch
|
Re: u-boot for the RX-51 (N900)
First thanks for patches!
My comments: 0001-RX51-bootmenu-add-clr-command-to-clear-the-screen.patch.txt - Please add definitions directly to include/config_cmd_default.h and include/config_cmd_all.h (not into rx51) 0002-RX51-cfb_console-fix-cursor_fix-checks.patch.txt 0003-RX51-cfb_console-console_clear_line-fix-refacored-li.patch.txt - Thanks, this is reason why sometimes I got some bad pixels. I melt this patch into my series. 0004-drivers-video-cfb-console.c-Fix-function-console_scr.patch 0005-cfb_console-fix-console_scrollup.patch.txt - patches deleted (see below) 0006-RX51-add-command-to-set-screen-backlight.patch - there is missing some files in this patch. But we do not want to add new specific command only for n900 (not usefull for upstream). And I tested this patch and it break brightness in Maemo kernel. When I used this patch I was not able to change brightness in Maemo (via controlpanel or sysfs). Can you look at this error? === Correct implementation of function console_scrollup is: memcpyl(CONSOLE_ROW_FIRST, CONSOLE_ROW_SECOND, CONSOLE_SCROLL_SIZE); CONSOLE_SCROLL_SIZE is full, not without first 2 bits! This is working fine now. When I finish my patch series, I will commit all into gitorious |
Re: u-boot for the RX-51 (N900)
1 Attachment(s)
Quote:
To enable the command for rx51 I guess you still need to add the define to rx51.h manually. Quote:
What files are you missing? The reason that I added it in the n900 specific part is that I'm not sure if the command is useful on other devices. I guess that is the reason you added the regulator patches to the rx51.c file too. If they are generic enough I guess the regulator and backlight code could be moved to power/twl4030.c or friends. Quote:
memcpyl(CONSOLE_ROW_FIRST, CONSOLE_ROW_SECOND, 4*CONSOLE_SCROLL_SIZE >> 2); PS: maybe you should consider pushing the ANSI and bootmenu patches to denx asap. They are quite useful for everybody right now! And great you figured about the regulator stuff to enable the mmc cards! |
Re: u-boot for the RX-51 (N900)
These future N900 u-boot's images will have a working saveenv command or other solutions to persist modification to env ?
|
Re: u-boot for the RX-51 (N900)
Quote:
I'm prepairing rx51 config to load bootmenu configuration from eMMC part1 file bootmenu.scr. So changing bootmenu entires wil not need to recompile u-boot. So in Maemo (or in all other systems) will be ulility update-uboot which update bootmenu.scr file in eMMC (MyDocs). We can use similar configuration file like in bootmenu/multiboot for configuring menu entires. And for security, if keyboard will be closed this file will be ignored (so if somebody damage this file, still can boot maemo5 in internal flash) |
Re: u-boot for the RX-51 (N900)
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
Re: u-boot for the RX-51 (N900)
Quote:
(4*C>>2) = ((C<<2)>>2) = clear two most significative bits For example suppose C as byte (unsigned): If C = 46 (0010 1110) then (4*C>>2) = 46 (0010 1110) also, but if C = 114 (0111 0010) then (4*C>>2) = 50 (0011 0010) |
Re: u-boot for the RX-51 (N900)
Quote:
I took the backlight code right from the kernel source however. Quote:
But in this form it will show the weirdness of needing to scroll way beyond the actual framebuffer. Quote:
I have 2204. My previous on was a 2104 I think (not sure though) and u-boot worked fine with that model too. |
Re: u-boot for the RX-51 (N900)
Quote:
Code:
printf("%#x %#x\n", 4*114 >> 2, 114);Code:
0x72 0x72 |
| All times are GMT. The time now is 21:57. |
Page 12 of 23 |
|
Prev |
2 10 11 12
13 14 22
|
Next
| Last
vBulletin® Version 3.8.8