MPC5121E DIU DESC issues

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5121E DIU DESC issues

406 Views
exoson
Contributor I

Using a Phycore MPC5121 tiny, the area descriptor  settings I see from u-boot/linux don't make any sense.  In particular the Bitmap Address when it is running with the penquin displayed is 0x0000A00F for area 1 and 0x005090F for area 2/3.  Maybe I'm being naive, but I thought these had to be word aligned.  Changing 0x0000A00F to 0x0000A00C with an emulator destroys the display.  

 

Also, setting values into the cursor Bitmap has no apparent affect. 

 

What am I missing?  Does anyone know where to get more documentation on this?

 

Scott

 

 

Tags (1)
0 Kudos
1 Reply

296 Views
TomE
Specialist II

Yes, it looks wrong, doesn't it?

 

Are you looking at the DESC registers with the debugger, or is something printing them out?

 

Can you trust the debugger? Is it possible it is displaying the registers with the bytes or bits reversed, so "0x0000A00F" might really be "0xF0050000" or some such?

 

Look in memory and see if there's anything matching the format for an array of area descriptors at the address pointed to by the DESC registers.

 

As for the Cursor, Bitmap - it is possible that the Linux screen driver doesn't use it and the Cursor might not be enabled.

 

Tom

 

0 Kudos