Port dodder-linux (based on OS-6800) to the kinnick board.

Source: Internet
Author: User
Port dodder-linux (based on OS-6800) to the kinnick board-Linux general technology-Linux programming and kernel information. The following is a detailed description. Recently, he was busy porting the dodder-linux (based on OS-6800) made by Lahu TO THE kinnick board.

I have never done any Linux-related projects. I just read some books and have a rough understanding of Linux. After this transplantation, I have some knowledge about u-boot, linux kernel, and boardcom sdks, but it is not very in-depth. After the transplantation, go deep into the unclear section.

Porting the U-BOOT is very simple, as long as you find the appropriate demo board, and then follow the modification, because the use of the mpc8541, is a soc, so the board part of the modification is very little, it is mainly to configure the corresponding config file, and then address ing. The flash part is modified a little. I am not very familiar with memory initialization.

It is easier to port the kernel. Install the mpc8555_cds and modify it. No output is found. Because there is no available ICD, you only need to find the code and try again and again, finally, we found that there was an error with the serial port configuration parameter passed in by u-boot. After modification, we can see the output, and then we can use Printk for debugging. Finally, MTD is modified, and the flash ing of the flash Address is modified according to the flash settings in hw spec.

The sdk is mainly modified in the makefile section. The chip type is set to bcm56314. then the sdk STARTUP script is modified.

In general, porting in linux is not difficult, because as long as the board you use is not very biased, there are basically ready-made code available for use, as long as you find the place to be modified, linux can run on the board with few modifications.
Related Article

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.