hi, forsman
     Thanks for you answer. following you suggestion, I get right
configure file by "make ARCH=arm CROSS_COMPILE=arm_v5t_le-
davinci_evm_dm644x_defconfig". but when execute the command:
make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage .  one error occur, the
error message is:

 CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  CC      kernel/bounds.s
kernel/bounds.c:1: error: invalid ABI option: -mabi=aapcs-linux
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2

     my tool chains are from the dvsdk 1.1 , can I build the new
kernel source with the old tool chain?  deos this error related with
the tool chain? thanks for you suggestion.


2009/9/26 Bjørn Forsman <[email protected]>:
> 2009/9/26 fengzeheng <[email protected]>:
>> Hi, all
>>      I download the davinci 2.6.26 kernel source code from git tree
>> http://git.kernel.org/?p=linux/kernel/git/khilman/linux-davinci.git;a=commit;h=947d70c6d6c744201f3c563c0756b51cdd079dee.
>> and then set the env according document "how to get start" , but the
>> command make: ARCH=arm CROSS_COMPILE=arm_v5t_le-
>> davinci_dm644x_defconfig  failed.
>
> In v2.6.26-davinci1 the davinci defconfig target is called
> davinci_evm_dm644x_defconfig, not davinci_dm644x_defconfig. (Later kernels
> use davinci_all_defconfig.)
> Issue
>
>    make ARCH=arm CROSS_COMPILE=arm_v5t_le- help
>
> to see the list of *_defconfig targets for your ARCH.
>
>
>> however, I get the uImage using
>> command: make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage. but when boot
>> from this image, the kernel halt at "starting kernel"....
>
> I guess your kernel will work once properly configured.
>
>>     So how to build the kernel from davinci git tree? thanks.
>
> make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_evm_dm644x_defconfig
> make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage
>
> Regards,
> Bjørn Forsman
>



-- 
Best Regards
Feng zeheng

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to