S5P4418 LCD screen resolution debugging

Recently, I want to use S5p4418 to drive a screen with 800x600 resolution. In the Android Linux environment,

The following error will be reported:

[0.587000] nxp-fb.0: dma addr = 0x63600000, buf[0xe32bcb40]
[0.593000] nxp-fb.0: dma addr = 0x637d5000, buf[0xe32bcc80]
[0.599000] nxp-fb.0: dma addr, = 0x639aa000 buf[0xe32bcdc0]
[0.657000] Unable to handle kernel paging request at virtual address efa05000

After simple debugging, it is found that memcpy((void*)dest, (const void*)virt, size) in the nxp_fb_copy_boot_logo function of nxp-fb.c Error,

Modify nxp-fb.c, add page alignment PAGE_ALIGN for some variables to solve

Guess you like

Origin blog.csdn.net/Lwjobs/article/details/107643613