Implementation of ylp2410 Linux2.6.8 kernel compilation in ubuntu 9.04 environment

Publisher:AsawenLatest update time:2023-08-30 Source: elecfansKeywords:ubuntu  Linux2  6 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Today I finally completed the kernel compilation on Ubuntu, and the process is now recorded as follows.

First, install some Qt-related software packages. If there are errors later, it is likely that some software packages are missing.

Then use the sudo apt-get install ** command to download and install. . . .

1.sudo-i

Enter root

2. Copy the cross-compilation tool to /work/tools/, and decompress arm-linux-gcc-3. 4. 1.tar .bz2. The steps are omitted, as shown in the figure below.

2. Add the cross-compiler path to the system path:

Add the following line to the last line of bashrc:

PATH=$PATH:/work/tools/usr/local/arm/3.4.1/bin
The screenshot is as follows:

Start the new system path:
#source /root/.bashrc
Display the new system path:
# echo $PATH
View the cross-compiler version number
# arm-Linux-gcc -v

3. Modify the makfile file in the root directory of Linux-2.6.8:

Enter the Makefile:

As shown in the screenshot above, modify the following content:
 ARCH : = arm
 CROSS_COMPILE =/work/tools/usr/local/arm/3.4.1/bin  

4.
An error occurred when running #make menuconfig: scripts/kconfig/mconf.c:91: error : static declaration of 'current_menu' follows non-static declaration
scripts/kconfig/lkc.h:63: error: previous declaration of 'current_menu' was here
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [menuconfig] Error 2

Solution:

Modify the scripts/kconfig/mconf.c file and solve the problem by commenting the relevant lines of code:
Find this line: static struct menu *current_menu; 

After modified comment
//static struct menu *current_menu;  
struct menu *current_menu;        

5. Make menuconfig again

success


Keywords:ubuntu  Linux2  6 Reference address:Implementation of ylp2410 Linux2.6.8 kernel compilation in ubuntu 9.04 environment

Previous article:Corrected the cramfs production description in the YLP2410 user manual
Next article:Steps to burn .bin using SJF2410 and jtag and its problems

Recommended ReadingLatest update time:2024-11-15 07:07

Using EZ-USB to realize data transmission between TMS320C6X and host
DSP is mainly used in real-time and large data signal processing systems. When it communicates with the host, the data exchange speed and interface complexity are key performance indicators of the system. Therefore, a communication method that can meet the requirements of high speed and simplicity is urgently needed. T
[Microcontroller]
Using EZ-USB to realize data transmission between TMS320C6X and host
The minimum system of STM8S microcontroller
The minimum system of STM8S microcontroller                                                          STM8S003F3P6 pin diagram   This is the pin diagram of the simplest STM8S003F3P6 in the STM8S series. Without using an external crystal oscillator, you only need to connect appropriate compon
[Microcontroller]
Google Pixel 6 Pro's 5G modem is inferior to Qualcomm's Snapdragon X60, test shows
     Google is one of the few companies that has decided to distance itself from Qualcomm, including its 5G modems. As a result, the Pixel 6/Pro flagship phones use a custom Tensor chip and a 5G modem provided by Samsung.   However, in the latest tests, the Pixel 6 Pro equipped with Samsung's Exynos 5G modem didn't
[Mobile phone portable]
Google Pixel 6 Pro's 5G modem is inferior to Qualcomm's Snapdragon X60, test shows
STM8的wait for interrupt
If I wrap wait forinterrupt(WFI) with disable interrupt and enable interrupt, do you think WFI can still be woken up? Have you ever thought about it? Last night I took the STM8L151K4 development board and tested it. This usage is completely fine. From this, I guess that inside the chip, the core should have a dedica
[Microcontroller]
STM8的wait for interrupt
【Freescale MC9S12】BootLoader host computer
This article describes the development of BootLoader host computer. Source code address: https://download.csdn.net/download/u010875635/11692122 This host computer adopts WPF framework and C# language development, and supports Zhou Ligong's CAN devices and ValueCAN. Since I don't have the hardware on hand at the
[Microcontroller]
【Freescale MC9S12】BootLoader host computer
Friendly Arm's latest mini2440 study notes - u-boot 1.1.6 transplantation (I)
Starting from this article, I will record the problems encountered by the blogger during the u-boot 1.1.6 porting process. This article will cover two issues: 1. Add development board in u-boot 2. u-boot first stage startup code 1. Add development board in u-boot 1.1. Makefile changes 1.1.1. Add disassembly file
[Microcontroller]
Problems found when debugging STM8/stm32 serial port
Description: Serial port interrupt 1 is used for received data. I use the serial port assistant to send an 8-byte data, and then I want to check whether the 8 bytes are received by the single chip. For example, the data is 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08.     #pragma  vector=ITC_IRQ_UART1_RX + 2    
[Microcontroller]
iQOO 9 series front design exposed: will continue to cooperate with BMW
iQOO plans to launch the iQOO 9 series on January 5. Ahead of the launch, the company revealed the rear design of the phone, confirming that it will be very different from the current iQOO 8 design. Now, iQOO has shared more pictures of the phone, and this time, the front design of the phone has also been revealed.
[Mobile phone portable]
Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号