2.6.23内核移植

0 views
Skip to first unread message

chinesekongfu

unread,
Dec 28, 2007, 1:39:52 AM12/28/07
to androided
使用android的2.6.23内核,将他运行到s3c244x开发板上
当前状况,编译已经通过;kernel运行到某处卡住,通过调试发现,__lookuo_machine_type返回值不对.

chinesekongfu

unread,
Dec 28, 2007, 9:28:56 PM12/28/07
to androided
全速执行,发现panic函数被调用了

On Dec 28, 2:39 pm, chinesekongfu <haigang...@gmail.com> wrote:
> 使用android的2.6.23内核,将他运行到s3c244x开发板上
> 当前状况,编译已经通过;kernel运行到某处卡住,通过调试发现,__lookuo_machine_type返回值不对.

chinesekongfu

unread,
Jan 2, 2008, 3:28:14 AM1/2/08
to androided
使用了一个较新的uboot,u-boot-1.1.4,
lookup_machine_type的返回值似乎正常了.

chinesekongfu wrote:
> ʹ��android��2.6.23�ں�,�������е�s3c244x��������
> ��ǰ״��,�����Ѿ�ͨ��;kernel���е�ij����ס,ͨ����Է���,__lookuo_machine_type����ֵ����.

chinesekongfu

unread,
Jan 15, 2008, 8:33:41 PM1/15/08
to androided
在CPU.c的cpu_ids表中添加了P1板上所有的CPU id的支持

{
.idcode = 0x32440aab, /*s3c2442 */
.idmask = 0xffffffff,
.map_io = s3c244x_map_io,
.init_clocks = s3c244x_init_clocks,
.init_uarts = s3c244x_init_uarts,
.init = s3c2440_init,
.name = name_s3c2400
},

之后kernel可以正常启动



On Jan 2, 4:28 pm, chinesekongfu <haigang...@gmail.com> wrote:
> ʹ����һ����µ�uboot,u-boot-1.1.4,
> lookup_machine_type�ķ���ֵ�ƺ�����.
>
>
>
> chinesekongfu wrote:
> > �0�0�1�7�1�7android�1�7�1�72.6.23�1�7�1�6�1�7,�1�7�1�7�1�7�1�7�1�7�1�7�1�7�­ք1�7s3c244x�1�7�1�7�1�7�1�7�1�7�1�7�1�7�1�7
> > �1�7�1�7�0�2�0�8�1�7�1�7,�1�7�1�7�1�7�1�7�1�7�0�4�1�7�0�0�1�7�1�7;kernel�1�­7�1�7�1�7�ք1�7�0�5�1�7�1�7�1�7�1�7�0�9,�0�0�1�7�1�7�1�7�1�7�0�9�1�7�1�7�1�­7,__lookuo_machine_type�1�7�1�7�1�7�1�7�0�5�1�7�1�7�1�7�1�7.- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages