I'm learning how to port uboot recently. I have a long-forgotten MINI2440 development board. The main control chip used in the development board is S3C2440. I checked the uboot version and found that uboot does not support the MINI2440 development board, so I used the closest smdk2410 development board file for porting. And the support for smdk2410 was deleted in uboot 2017.01, but all versions before uboot 2016.11 have it, so I used uboot 2016.03 for convenience.
The first thing is to check your own compilation tool. I use the arm-linux-gcc4.3.2 version.
Using Ubuntu 16.4, enter the UBOOT root directory and execute the command:
make smdk2410_defconfig
The following error was found:
lib/asm-offsets.c:1:0: error: bad value (armv4t) for -march= switch
/*
After checking online, it turned out that the compilation chain was not specified during config. The solution is as follows:
make ARCH=arm CROSS_COMPILE=arm-linux- smdk2410_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-
After that, you can see that the compilation is completed successfully, indicating that there is no problem compiling it using this version of the compilation tool.
Previous article:mini2440 uboot burns uImage
Next article:I2C device driver for Linux -- i2c interface touch screen driver on mini2440
Recommended ReadingLatest update time:2024-11-15 10:07
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Detailed explanation of intelligent car body perception system
- How to solve the problem that the servo drive is not enabled
- Why does the servo drive not power on?
- What point should I connect to when the servo is turned on?
- How to turn on the internal enable of Panasonic servo drive?
- What is the rigidity setting of Panasonic servo drive?
- How to change the inertia ratio of Panasonic servo drive
- What is the inertia ratio of the servo motor?
- Is it better for the motor to have a large or small moment of inertia?
- What is the difference between low inertia and high inertia of servo motors?
- MOS tube knowledge
- PCB technology: PROTEL's metal slot method
- [ATmega4809 Curiosity Nano Review] Using MCC to configure TCA
- circuitpy compass
- In a blink of an eye, half of this year has passed.
- Four opportunities for RF technology in the retail market
- The shield affects the sensitivity, and the inductor close to the DCDC affects the sensitivity
- Hello everyone! 2021 is here, and I would like to extend my best wishes for the New Year to everyone!
- TMS320F28379D Create Project
- Asynchronous Timing Design in ASIC.pdf