where to edit the source file?

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

where to edit the source file?

1,612 Views
freescaleusr1
Contributor I

Hi,

I am newer, I have one wandboard solo board and plan to use it to drive my LCD PANEL,  I think i should modify source code to achieve it, but I check the https://github.com/Freescale/meta-fsl-arm-extra

and dont find these source code file for modification, pls tell me where is source code? looking forward to reply, thanks.

Labels (3)
0 Kudos
Reply
2 Replies

1,498 Views
igorpadykov
NXP Employee
NXP Employee

HI wz

for sources please look at Wandboard - Freescale i.MX6 ARM Cortex-A9 Community Development Board - DOWNLOADS

It may be recommended to read Linux documentation

Supporting Information (14)

L3.14.28_1.0.0_LINUX_DOCS (REV L3.14.28_1.0.0)

i.MX6Q|i.MX 6Quad Processors|Quad Core|Freescale

Some useful examples with LCD

https://community.freescale.com/thread/355690

How to change SABRE-SD screen resolution in LOLLIPOP(5.0.0?

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,498 Views
freescaleusr1
Contributor I

Hi,igor

Thanks for your reply, I download the U-BOOT source code and find the fb.h in /include/linux folder. I find the definition of struct fb_videomode in fb.h, so what my question is I should modify it there like the following:

struct fb_videomode {

    const char *name = XXX;    /* optional */

    u32 refresh = XXX;        /* optional */

    u32 xres = XXX;

    u32 yres = XXX;

    u32 pixclock = XXX;

    u32 left_margin = XXX;

    u32 right_margin = XXX;

    u32 upper_margin = XXX;

    u32 lower_margin = XXX;

    u32 hsync_len = XXX;

    u32 vsync_len = XXX;

    u32 sync = XXX;

    u32 vmode = XXX;

    u32 flag = XXX;

};

as you see, I add "= XXX", i am not sure if i should add these parameters there, so pls tell me if it is correct, or tell which file should be modified. looking forward to reply, thanks.

Best Regards,

wz

0 Kudos
Reply