Linux-General Linux technology-Linux programming and kernel information-the process of porting the MPC875 to linux. The following is a detailed description. Linux has been transplanted to the MPC875 using idle time recently. This Post records the detailed process.
First Download u-boot to install the cross-compilation environment
Make distclean
Make Adder87x_config default board
Make all
U-boot starts in flash and is modified step by step according to the program running status. Generally, the configuration file is incorrect.
Ppc_8xx-objdump-S u-boot> u-boot.S disassembly after viewing the program to which step, this method is easier to use, in the Flash hanging simulator debugging can be set to the specific address
Uboot start file start. s
-- Cpu_init_f
-- Board_init_f lib_ppc/board. c
--> Initialization list
Then jump to RAM. before entering RAM, the cache must be closed (as shown in the following figure ).
After uboot is successfully transplanted, you can start kernel transplantation.
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