Compiling uClinux in vdsp (1): impossible tasks?

Source: Internet
Author: User
After searching online materials for a few days, I have never seen uClinux compiled under vdsp. It is estimated that, on the one hand, the compiler technology is different, and on the other hand, there is no such requirement. However, if the uClinux kernel can be compiled under vdsp, it means that debugging can be performed in a single step through the simulator. Learning and researching kernel technology will get twice the result with half the effort! From the vdsp documentation, we found that the C compiler of vdsp has good compatibility with GCC 3.2, and just transplanted U-boot to the vdsp a few days ago, so far everything is OK, this seems to prove this to a certain extent. Can we perform similar operations on the uClinux kernel? Let me try this seemingly impossible task! Even if it fails, you can go deep into the uClinux kernel. Unless otherwise specified, the following uClinux kernel is used. Objectives:Run the uClinux kernel on the vdsp to implement the serial port console. Hardware:Bf561 target board, with Serial Output, 64 m sdram, ignore other peripheral interfaces. Software:Linux version 2.6.19.3-ADI-2007R1.1-svn, vdsp 4.5. Basic Ideas:1. Place the code and data of uClinux in a 4 m high area of SDRAM, use the template generated by vdsp as the startup code, and call start_kernel in the main of core A to guide uClinux, ignore the first boot program in uClinux. 2. Replace vmlinuz. LDS. s in uClinux with the LDF file of vdsp. 3. Use the vdsp library function instead of the function implemented in uClinux. The register definition of bf561 is also the case. 4. Generate a separate library file for each directory of uClinux. 5. Insert your own config. h In the first line of each c file to affect vdsp compilation. 6. comment out the code lines of all C and H files, and remove the related comments when necessary to avoid direct confidence blow. Schedule:Idle Time, 1 year, 2 years... Until success or failure! Stay tuned!

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.