U-boot porting on mini2440-S3C2440 (2)

Publisher:TranquilMindLatest update time:2022-05-20 Source: eefocusKeywords:U-boot  mini2440  S3C2440 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. This article mainly explains the transplantation of U-boot on mini2440-S3C2440. The version used is

U-boot-2009.11_tekkaman-master, download address:

https://download.csdn.net/download/jinanhezhuang/20823342?spm=1001.2014.3001.5501


1. Download the official u-boot: Download address:

2. Use xftp software to upload the compressed package to ubuntu;

3. Unzip the installation package; tar command

4. Create development board files: We will transplant based on smdk2410. In order not to damage the original code, copy smdk2410 to mini2440 in the newly created folder tekkaman under board in the board directory; rename smdk2440.c in mini2440 to mini2440.c;

In the configs directory of the include folder, create the location file mini2440.h, and you can directly copy the contents of include/configs/smdk2410.h;

5. Modify the top-level Makefile: In U-boot-2009.11_tekkaman-master/Makefile, open it with the command vim Makefile and add (if the cross-compilation toolchain is installed, this line can be omitted)

insert image description hereinsert image description here

6. Modify the Makefile file in the /board/tekkamanninja/mini2440 directory:

insert image description here

The red part is the changed content, edit it with vim command; insert enters the editing mode; esc exits the editing mode; :wq: save and exit;

7. At this point, the configuration of cross compilation and editing of development board configuration files are completed. Now let's test the compilation environment;

In the root directory of the U-boot source code: execute the following command;

insert image description here

Keywords:U-boot  mini2440  S3C2440 Reference address:U-boot porting on mini2440-S3C2440 (2)

Previous article:U-boot porting on mini2440-S3C2440 (1) - Development environment setup - Cross-compilation toolchain installation
Next article:Detailed explanation of porting u-boot-2011.03 to Mini2440 under Windows (2)

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

U-boot ported to mini2440
Many contents in this article refer to the friendly arm's instruction document "mini2440 U-boot transplantation detailed manual-20100419", and the U-boot version used is u-boot-2010.03 Note: The purpose of this transplantation is not to make a powerful U-boot, but just to make a simple U_boot. This U-boot can commun
[Microcontroller]
Design of solar tracking system based on ARM S3C2440
Based on the principle of computer vision, an embedded image processing platform is built with an ARM microcontroller as the core to achieve real-time tracking of the sun. The system uses a CMOS image sensor to collect solar images, calculates the solar angle through a microcontroller, and controls the turntable throu
[Microcontroller]
Design of solar tracking system based on ARM S3C2440
GNU ARM Assembly--(VII) Serial port control of s3c2440
        After configuring the system clock of s3c2440, we control the serial port. The reason why the serial port is placed so far forward is that it will bring us more information. When there is no serial port, the uboot startup phase can only rely on LED to display some information. With the serial port, debugging is
[Microcontroller]
GNU ARM Assembly--(VII) Serial port control of s3c2440
S3C2440 timer assembly program
The S3C2440 timer source program is as follows: ;************Port address and data symbolization definition area********************** pWTCON                EQU        0x53000000 pLOCKTIME EQU 0x4c000000 pCLKDIVN        EQU        0x4c000014 pUPLLCON        EQU        0x4c000008 pMPLLCON        EQU        0x4c000004
[Microcontroller]
U-BOOT transplant experience
     After finishing the bare metal run recently, I started running the system, but thinking that there is a Bootloader between the bare metal run and the system, and I haven't done any in-depth research on it before, I decided to spend one to two weeks to work on U-BOOT. I referred to the works of two great experts,
[Microcontroller]
Mini2440 Hardware - SPI
 Hardware Principle 1.1.1. Protocol Overview The communication principle of SPI is very simple. It works in master-slave mode. This mode usually has one master device and one or more slave devices, requiring at least 4 wires. In fact, 3 wires are also OK (for unidirectional transmission). They are also common to a
[Microcontroller]
Mini2440 Hardware - SPI
U-Boot transplantation (18) network card dm9000aep transplantation summary
Summarize: Mainly modify three files: 1./u-boot-1.1.6/include/configs/100ask24x0.h 2./u-boot-1.1.6/board/100ask24x0/lowlevel_init.S 3./u-boot-1.1.6/drivers/dm9000x.c Supplement: 4./u-boot-1.1.6/drivers/dm9000x.h Repackage the transplanted u-boot-1.1.6 into a compressed package for easy collection. as follows: tar cj
[Microcontroller]
CPU initialization (ARM & u-boot)
1. Set CPU internal registers, including status register and SP, etc. start_code:       /*       * set the cpu to SVC32 mode       */       mrs r0, cpsr       bic r0, r0, #0x1f       orr r0, r0, #0xd3       msr cpsr, r0   2. Disable the watchdog. ldr r0, =pWTCON   mov r1, #0x0   str r1,     3. Set
[Microcontroller]
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号