The successful migration of vivi on FS2410-general Linux technology-Linux programming and kernel information. The following is a detailed description. When you port vivi to the Yunlong board, you must modify the content in the MAKEFILE.
1. Modify the partition information, which is consistent with the kernel partition.
2. Modify the vivi Bootstrap parameter and change the original ttyS0 to ttySAC0.
The procedure is as follows:
1. Modify/vivi/Makefile:
There are three major changes:
(1) LINUX_INCLUDE_DIR =/kernel/include/
Change to the address where you want to store the linux kernel source code, because part of the header file of the kernel source code is required for compiling vivi. Here I am: LINUX_INCLUDE_DIR =/usr/local/arm/2.95.3/include/
(2) CROSS_COMPILE = arm-linux-
Change to the path where you store the cross-compilation tool. Generally, the path of the Cross-compilation tool has been declared in the profile file, so it is generally written directly as arm-linux -. I tried it. If arm-linux-gcc of 3.3.2 is used, some inexplicable problems will always occur during the final compilation. Therefore, here I use 2.95.3: CROSS_COMPILE =/usr/local/arm/2.95.3/bin/arm-linux-
Change to the corresponding path for installing the cross-compilation tool. Here, my path is ARM_GCC_LIBS =/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3.
2. Modify partition information:
(To be continued)
3. Configure startup parameters:
In vivi download mode:
Param set linux_cmd_line "noinitrd root =/dev/bon/2 init =/linuxrc console = ttySAC0"
(Note: When the target board is 2.6 kernel, console = ttySAC0; when the target board is 2.4, console = ttyS0)
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.