Programming & Tools/TMS320DM368
[DM368] Linux Logo 변경 후 커서 깜빡임 제거
다크쌍피
2012. 5. 24. 12:08
Linux 로고를 LCD 사이즈에 맞게 변경하고 보면 왼쪽 상단에 커서가 깜빡이는
것 을 볼 수 있다. 이를 제거 하기위해서는 커널소스를 수정하면된다.
1. 수정 파일 : drivers/video/console/bitblit.c
2. 수정 내용 :
static void bit_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) { struct fb_cursor cursor; struct fbcon_ops *ops = info->fbcon_par; unsigned short charmask = vc->vc_hi_font_mask ? 0x1ff : 0xff; int w = DIV_ROUND_UP(vc->vc_font.width, 8), c; int y = real_y(ops->p, vc->vc_y); int attribute, use_sw = (vc->vc_cursor_type & 0x10); int err = 1; char *src; #ifdef NT_101_BOARD // For Remove Linux Boot Logo Cursor return; #endif//NT_101_BOARD cursor.set = 0; if (softback_lines) { if (y + softback_lines >= vc->vc_rows) { mode = CM_ERASE; ops->cursor_flash = 0; return; } else y += softback_lines; } : : |