Hello all:
I want to write a program in the u-boot to show my Logo (BMP
format). The follow is a part of my code to initialize the VPBE:
...
printd("PLLDIV1 = 0x%08x\n", dispc_reg_in(0x01C40918));
printd("PLLDIV3 = 0x%08x\n", dispc_reg_in(0x01C40920));
printd("VPSS_PID = 0x%08x\n", dispc_reg_in(0x01C73400));
printd("VPSS_PCR = 0x%08x\n", dispc_reg_in(0x01C73404));
printd("VPBE_PID = 0x%08x\n", dispc_reg_in(VPBE_PID));
printd("VPBE_PCR = 0x%08x\n", dispc_reg_in(VPBE_PCR));
/* Initialize the VPSS Clock Control register */
dispc_reg_out(VPSS_CLKCTL, 0x18);
printd("VPSS_CLKCTL = 0x%08x\n", dispc_reg_in(VPSS_CLKCTL));
...
I am failed to read the registers VPSS_PID and VPBE_PID, they are
aways 0x00000000:
...
PLLDIV1 = 0x00008000
PLLDIV3 = 0x00008002
VPSS_PID = 0x00000000
VPSS_PCR = 0x00000000
VPBE_PID = 0x00000000
VPBE_PCR = 0x00000000
VPSS_CLKCTL = 0x00000018
...
My questions:
(1) How to read the VPSS_PID and VPBE_PID successfully?
(2) How to write a program to show my Logo (BMP format) in the
u-boot?
Thanks very much!
-----------------------------------------------------------
Drucker Chou
E-mail:[EMAIL PROTECTED]
MSN:[EMAIL PROTECTED]
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source