[Arm-netbook] "allwinner's A10" codenamed "sun4i crane", linux kernel v2.6.36 patch available

Juan Carlos Mendez jcmendez at locatel.biz
Mon Dec 5 08:05:53 GMT 2011


Hi,
   Still rearranging sources to be able to compile.

Now i'm stucked with de video drivers...

It seems that several data structures does not correspond to the 
expected (may be wrong version of code,  misapplied patch...)


   CC [M]  drivers/video/sun4i/hdmi/drv_hdmi.o
   CC [M]  drivers/video/sun4i/disp/dev_fb.o
   CC [M]  drivers/video/sun4i/lcd/lcd0_panel_cfg.o
In file included from drivers/video/sun4i/lcd/lcd0_panel_cfg.c:2:0:
drivers/video/sun4i/lcd/lcd_panel_cfg.h:37:42: error: expected declaration specifiers or '...' before '__pwm_info_t'
drivers/video/sun4i/lcd/lcd_panel_cfg.h:38:42: error: expected declaration specifiers or '...' before '__pwm_info_t'
drivers/video/sun4i/lcd/lcd0_panel_cfg.c: In function 'LCD_get_panel_funs_0':
drivers/video/sun4i/lcd/lcd0_panel_cfg.c:148:8: error: '__lcd_panel_fun_t' has no member named 'lcd_user_defined_func'
make[3]: *** [drivers/video/sun4i/lcd/lcd0_panel_cfg.o] Error 1
make[2]: *** [drivers/video/sun4i/lcd] Error 2
make[2]: *** Se espera a que terminen otras tareas....
   CC [M]  drivers/video/sun4i/disp/OSAL/OSAL_Cache.o
drivers/video/sun4i/hdmi/drv_hdmi.c: In function 'Hdmi_init':
drivers/video/sun4i/hdmi/drv_hdmi.c:253:30: warning: assignment from incompatible pointer type
drivers/video/sun4i/hdmi/drv_hdmi.c:255:11: error: '__disp_hdmi_func' has no member named 'hdmi_set_pll'
make[3]: *** [drivers/video/sun4i/hdmi/drv_hdmi.o] Error 1
make[2]: *** [drivers/video/sun4i/hdmi] Error 2
   CC [M]  drivers/video/sun4i/disp/OSAL/OSAL_Clock.o
In file included from drivers/video/sun4i/disp/OSAL/OSAL.h:25:0,
                  from drivers/video/sun4i/disp/OSAL/OSAL_Cache.c:21:
drivers/video/sun4i/disp/OSAL/../de_bsp/bsp_display.h:219:42: error: expected declaration specifiers or '...' before '__pwm_info_t'
drivers/video/sun4i/disp/OSAL/../de_bsp/bsp_display.h:220:42: error: expected declaration specifiers or '...' before '__pwm_info_t'
In file included from drivers/video/sun4i/disp/drv_disp_i.h:5:0,
                  from drivers/video/sun4i/disp/dev_disp.h:4,
                  from drivers/video/sun4i/disp/dev_disp.c:1:
drivers/video/sun4i/disp/de_bsp/bsp_display.h:219:42: error: expected declaration specifiers or '...' before '__pwm_info_t'
drivers/video/sun4i/disp/de_bsp/bsp_display.h:220:42: error: expected declaration specifiers or '...' before '__pwm_info_t'
In file included from drivers/video/sun4i/disp/dev_disp.c:1:0:
drivers/video/sun4i/disp/dev_disp.h:30:5: error: expected specifier-qualifier-list before '__disp_init_t'
drivers/video/sun4i/disp/dev_disp.h:77:55: error: expected ')' before '*' token
In file included from drivers/video/sun4i/disp/drv_disp_i.h:5:0,
                  from drivers/video/sun4i/disp/dev_fb.c:1:
drivers/video/sun4i/disp/de_bsp/bsp_display.h:219:42: error: expected declaration specifiers or '...' before '__pwm_info_t'
drivers/video/sun4i/disp/de_bsp/bsp_display.h:220:42: error: expected declaration specifiers or '...' before '__pwm_info_t'
In file included from drivers/video/sun4i/disp/dev_fb.c:2:0:
drivers/video/sun4i/disp/dev_disp.h:30:5: error: expected specifier-qualifier-list before '__disp_init_t'
drivers/video/sun4i/disp/dev_disp.h:77:55: error: expected ')' before '*' token
drivers/video/sun4i/disp/dev_fb.c:15:43: error: expected ')' before '*' token
make[3]: *** [drivers/video/sun4i/disp/OSAL/OSAL_Cache.o] Error 1
make[3]: *** Se espera a que terminen otras tareas....
drivers/video/sun4i/disp/dev_fb.c: In function 'Fb_pan_display':
drivers/video/sun4i/disp/dev_fb.c:747:31: error: 'fb_info_t' has no member named 'fb_mode'
drivers/video/sun4i/disp/dev_fb.c:748:35: error: 'fb_info_t' has no member named 'fb_mode'
drivers/video/sun4i/disp/dev_fb.c:750:36: error: 'fb_info_t' has no member named 'layer_hdl'
drivers/video/sun4i/disp/dev_fb.c:755:21: error: 'fb_info_t' has no member named 'fb_mode'
drivers/video/sun4i/disp/dev_fb.c:763:21: error: 'fb_info_t' has no member named 'fb_mode'
drivers/video/sun4i/disp/dev_fb.c:767:34: error: 'fb_info_t' has no member named 'fb_mode'
drivers/video/sun4i/disp/dev_fb.c: In function 'Fb_set_par':
drivers/video/sun4i/disp/dev_fb.c:817:31: error: 'fb_info_t' has no member named 'fb_mode'



El 30/11/11 11:20, Luke Kenneth Casson Leighton escribió:
> Hi juan am travelling do your best let of know how you get on I will
> try later in the week l.
>
> On 11/30/11, Juan Carlos Mendez<jcmendez at locatel.biz>  wrote:
>> This night I did some tests.
>> Now, I've downloaded  (thanks for your efforts, Luke )  the 2 repositories
>>
>>       allwinner/v2.6.36
>>       allwinner/android/v2.6.36
>>
>> but every time I'm more confused...
>>
>> On the one hand:
>> The "allwinner/v2.6.36"  is a complete kernel but serveral files are
>> missing and lot of them must to be patched...
>>
>> on the one hand:
>>     The "allwinner/android/v2.6.36"  is a INcomplete kernel... It looks
>> as a differential snapshot of the files... Mainly contains Kconfig and
>> Makefile  files and the rest of the code is missing...
>>
>>
>> I merged both repositories  and now the .config  checks sucessfully and
>> we can use   the "make menuconfig"  to enable or disable options more
>> easily.
>> But still several files are missing  (for example,  the now infamous
>> arch/arm/mach-sun4i/pin/sys_config_verify_ddr3.bin  )
>> However, even adding the missing files still fails to compile
>>
>>
>> I don't know if I'm understanding  well what wewant to achieve...
>>
>>    We want to get an Android kernel from a Linux base kernel
>>
>>    or ... we want to get a more Linux like kernel  from an android kernel
>> sources
>>
>>    or ... something in the middle...
>>
>>    or... none of the above
>>
>>
>> The problem is I now have  lots of  kernel versions ( 6 or more )  but
>> all are different,  all are imcomplete  and all fails in several stages
>> of compilation...
>> Probably with pieces from one or the other I can get a functional
>> version ... but wasteof time, right?
>>
>> Is not there a full, complete  and compilable kernel version (either
>> from an Android kernel sources or elsewhere) that we can use as a
>> starting point?
>>
>>
>> jky.
>>
>>
>>
>> El 29/11/11 17:13, Luke Kenneth Casson Leighton escribió:
>>> lkcl at free:~/allwinner/linux-stable$ git push armnetbook
>>> allwinner/android/v2.6.36
>>> Counting objects: 3249, done.
>>> Delta compression using up to 4 threads.
>>> Compressing objects: 100% (1194/1194), done.
>>> Writing objects: 100% (1812/1812), 281.44 KiB, done.
>>> Total 1812 (delta 691), reused 18 (delta 2)
>>> To git+ssh://lkcl-guest@git.debian.org/git/arm-netbook/arm-netbook.git
>>>    * [new branch]      allwinner/android/v2.6.36 ->
>>> allwinner/android/v2.6.36
>>> lkcl at free:~/allwinner/linux-stable$
>>>
>>>    done too, what the heck, might as well.
>>>
>>>    ok see how you get on with that, juan.  hua, let me know if that works
>>> as well?
>>>
>>>    l.
>>>
>>> _______________________________________________
>>> arm-netbook mailing list arm-netbook at lists.phcomp.co.uk
>>> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
>>> Send large attachments to arm-netbook at files.phcomp.co.uk
>>>
>> _______________________________________________
>> arm-netbook mailing list arm-netbook at lists.phcomp.co.uk
>> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
>> Send large attachments to arm-netbook at files.phcomp.co.uk
>>
> _______________________________________________
> arm-netbook mailing list arm-netbook at lists.phcomp.co.uk
> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
> Send large attachments to arm-netbook at files.phcomp.co.uk



More information about the arm-netbook mailing list