This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x外接一个LCD控制器,编写了framebuffer驱动,在调用register_framebuffer 函数是出现了 Segmentation fault



AM335x SDK ,linux3.2环境,通过Am335x的GPMC外接了LCD uc1698,编写了一个framebuffer驱动,调用register_framebuffer 出现了Segmentation fault,

仔细检查了 frame_buffer的fb_fix_screeninfo 结构的fix参数,fb_var_screeninfo 结构的var的各个参数,为发现有异常,采用4bit  bbp,line_length为80,

物理地址,虚拟地址都检查了,不知道问题出在哪里,请大侠指点指点。