Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 9 years ago

Closed 8 years ago

#210 closed defect (fixed)

Newer Qemu breaks Integrator/CP support

Reported by: Jakub Jermář Owned by:
Priority: major Milestone: 0.4.3
Component: helenos/kernel/arm32 Version: mainline
Keywords: integratorcp, qemu Cc:
Blocker for: Depends on:
See also:

Description

Something changed between Qemu 0.10.5 and Qemu 0.11.1 which broke colors on the Integrator/CP framebuffer and made HelenOS print incorrect characters after a key is pressed.

Change History (4)

comment:1 Changed 9 years ago by Jakub Jermář

Qemu 0.13.0 still exhibits this problem.

comment:2 Changed 8 years ago by Jakub Jermář

By experimenting, I found out that in the new Qemu, the layout of the keyboard corresponds to uspace/srv/hid/kbd/ctl/pc.c.

comment:3 Changed 8 years ago by Jakub Jermář

The framebuffer colors can be fixed by applying the following patch:

=== modified file 'kernel/arch/arm32/src/mach/integratorcp/integratorcp.c'
--- kernel/arch/arm32/src/mach/integratorcp/integratorcp.c	2011-01-29 18:57:00 +0000
+++ kernel/arch/arm32/src/mach/integratorcp/integratorcp.c	2011-03-21 22:43:38 +0000
@@ -291,7 +291,7 @@
 		.x = 640,
 		.y = 480,
 		.scan = 2560,
-		.visual = VISUAL_BGR_0_8_8_8,
+		.visual = VISUAL_RGB_8_8_8_0,
 	};
 	
 	outdev_t *fbdev = fb_init(&prop);

comment:4 Changed 8 years ago by Jakub Jermář

Resolution: fixed
Status: newclosed

Fix merged in changeset:mainline,889.

Note: See TracTickets for help on using tickets.