uboot transplanted from MINI2440 platform

Publisher:幸福自在Latest update time:2021-11-12 Source: eefocus Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

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.

Reference address:uboot transplanted from MINI2440 platform

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

S3C2440 transplantation uboot support burning yaffs image and making patches
In the previous section, S3C2440 transplantation of uboot: trimming and modifying default parameters trimmed uboot and modified the default parameters. This section starts to make yaffs image and patch file Table of contents Flash the file system Analyze the source code Burning Yaffs test Using part to make a patc
[Microcontroller]
S3C2440 transplantation uboot support burning yaffs image and making patches
Tiny4412 learning (I) to build a Linux system from scratch (burning uboot, kernel into emmc+uboot to start the kernel)
Hardware platform: tiny4412 System: linux-3.5-20151029 Filesystem: busybox-1.22.1.tar.bz2 Compiler: arm-linux-gcc-4.5.1 Purpose: Use uboot to boot the Linux system, mount the root file system, and build a Linux development environment. Since the minitools provided by Friendly Arm are not open source, it is not eas
[Microcontroller]
Tiny4412 learning (I) to build a Linux system from scratch (burning uboot, kernel into emmc+uboot to start the kernel)
Exynos4412 Uboot transplantation (IV)——Uboot kernel boot process analysis
To start the kernel, the bootloader can jump directly to the first instruction of the kernel, that is, the starting address of the kernel, so that the kernel startup can be completed. However, to start the kernel, some conditions must be met, as shown below: 1. CPU register settings     * R0 = 0     * R1 = machine
[Microcontroller]
Exynos4412 Uboot transplantation (IV)——Uboot kernel boot process analysis
How to use jlink command to burn uboot to mini2440 nand flash
//Description: My board is mini2440 with 2M s29al016j nor flash and a 256M k9f2608u0b nand flash. //This article is not entirely original, it is just a modification of the post by netizen "sblpp" at https://en.eeworld.com/bbs/thread-144846-1-1.html and attached pictures. It should be noted that the uboot.bin file must
[Microcontroller]
How to burn Bootstrap1.16 and Uboot1.3.4 in SAM-BA
SAM-BA burns Bootstrap1.16 and Uboot1.3.4, MCU chip is at91sam9261, Nandflash is K9F1G08 Power on the system, then connect to the computer through the serial port, open SAM-BA, if there is no problem with the hardware, you can connect, and then burn Bootstrap. Erase it before burning, that is, select Nandflash erase
[Microcontroller]
Linux device tree learning (3) uboot and device tree transplantation in Linux
1. uboot’s support for fdt (flattened device tree) Add in xxx_defconfig #define CONFIG_OF_LIBFDT 1 /* Device Tree support */ Recompile u-boot to support device tree. 1. Enter at the uboot command line: fdt There is a similar display showing support for device tree: dt - flattened device tree utility commands Usa
[Microcontroller]
The relationship between UBOOT and bootloader
Uboot is a universal free and open source boot program that supports many processors. The following is an example of modifying a u-boot-1.1.1 version downloaded from the Internet for the at91rm9200 system. Finally, it was compiled with gcc2.95 on redhat8.0. I downloaded the uboot-1.1.1 version from the Internet. I w
[Microcontroller]
Detailed explanation of Uboot transplantation on S3C2440 (Part 3)
1. Transplantation Environment Host: VMWare--Fedora 9 Development board: Mini2440--64MB Nand, Kernel: 2.6.30.4 Compiler: arm-linux-gcc-4.3.2.tgz u-boot:u-boot-2009.08.tar.bz2 2. Transplantation Steps 5) Prepare to enter the second stage of u-boot (add support for Nand Flash on our develop
[Microcontroller]
Detailed explanation of Uboot transplantation on S3C2440 (Part 3)
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号