u-boot-2016.09 transplant (8) - merge tq210-spl.bin and u-boot.bin

Publisher:数字小巨人Latest update time:2022-07-12 Source: csdnKeywords:u-boot  bin Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

In order to facilitate burning, we directly append u-boot.bin to tq210-spl.bin to form a file.


Modify Makefile and define the merge rules:


combine: u-boot.bin spl/u-boot-spl.bin FORCE

    cp $(objtree)/spl/tq210-spl.bin $(objtree)/tmp.bin

    truncate $(objtree)/tmp.bin -c -s 16K

    cat $(objtree)/u-boot.bin >> $(objtree)/tmp.bin

    cp $(objtree)/tmp.bin $(objtree)/ky-uboot.bin

    chmod 777 ky-uboot.bin   

    sz ky-uboot.bin


Then add combine to ALL:


ALL-y += u-boot.srec u-boot.bin u-boot.sym System.map u-boot.cfg binary_size_check combine


Compile:


u-boot-2016.09/ky-uboot$ make all


We can find that the ky-uboot.bin file is generated in the uboot directory.

Write the picture description here

Keywords:u-boot  bin Reference address:u-boot-2016.09 transplant (8) - merge tq210-spl.bin and u-boot.bin

Previous article:u-boot-2016.09 transplant (7)-nandflash
Next article:u-boot-2016.09 transplant (1) - single board configuration

Recommended ReadingLatest update time:2024-11-16 11:49

u-boot transplant summary (IV) u-boot-2010.09 framework analysis
1. This porting is based on FL2440. The basic hardware of the board is: CPU Model: S3C2440, based on ARM920T, instruction set ARMV4, clock frequency 400MHz SDRAM H57V2562GTR-75C 2 pieces * 32MB = 64MB, mounted on nGCS6 (0x3000 0000)
[Microcontroller]
u-boot transplant summary (IV) u-boot-2010.09 framework analysis
04-S3C2440u-boot learning u-boot analysis (3) source code stage 1 and 2
Refer to "Wei Dongshan 1st Video" Lesson 09 Section 3 u-boot analysis source code stage 1.WMV 1. Phase 1 (1) Open u-boot-1.1.6_JZ2440cpuarm920tstart.S _start: b reset (jump to reset): 1. Set SVC32 mode; reset: /* * set the cpu to SVC32 mode */ mrs r0,cpsr bic r0,r0,#0x1f orr r0,r0,#0xd3 msr c
[Microcontroller]
04-S3C2440u-boot learning u-boot analysis (3) source code stage 1 and 2
u-boot-2014.10 transplant (5) supports nand
Add NAND configuration options in smdk2440.h  #define CONFIG_CMD_NAND Compilation error drivers/mtd/nand/s3c2410_nand.c: In function 's3c2410_hwcontrol': drivers/mtd/nand/s3c2410_nand.c:44: warning: implicit declaration of function 's3c2410_get_base_nand' drivers/mtd/nand/s3c2410_nand.c:44: warning: initializati
[Microcontroller]
u-boot-2011.06 based on s3c2440 development board transplant hardware ECC
In order to understand how u-boot performs hardware ECC, let's briefly analyze the related functions. NandFlash performs read and write operations in pages as the smallest unit. The read operation that supports hardware ECC is ultimately completed by the nand_read_page_hwecc function (in the drivers/mtd/nand directo
[Microcontroller]
u-boot-2009.08 transplanted on mini2440 adds NOR flash function
Migration environment 1. Host environment: CentOS 5.5 under VMare, 1G memory. 2. Integrated development environment: Eclipse IDE 3. Compilation environment: arm-linux-gcc v4.4.3, arm-none-eabi-gcc v4.5.1. 4. Development board: mini2440, 2M nor flash, 128M nand flash. 5. u-boot version: u-boo
[Microcontroller]
u-boot-2009.08 transplanted on mini2440 to add LCD display function
Migration environment 1. Host environment: CentOS 5.5 under VMare, 1G memory. 2. Integrated development environment: Eclipse IDE 3. Compilation environment: arm-linux-gcc v4.4.3, arm-none-eabi-gcc v4.5.1. 4. Development board: mini2440, 2M nor flash, 128M nand flash. 5. u-boot version: u-boo
[Microcontroller]
u-boot-2009.08 transplanted on mini2440 to add LCD display function
U-Boot-2011.06 transplant modification plan that supports S3C6410 processor SD card boot mode
Universal Bootloader (U-Boot) is the first piece of code executed after the system is powered on. Its functions mainly include initializing the hardware environment and loading and executing the operating system kernel. When installing the system, U-Boot usually needs to be programmed into FLASH using special tools, a
[Microcontroller]
U-Boot-2011.06 transplant modification plan that supports S3C6410 processor SD card boot mode
jz2440 burns u-boot and uses it
Proceed as follows: 1. Burn the u-boot bin file into the Nor Flash of jz2440 through OpenJtag or EasyOpenjtag 2. Set jz2440 to Nor Flash boot, and press the space bar within 3 seconds of the boot countdown to enter the u-boot interface 3. Use the USB download function of u-boot to transfer the file from the PC to th
[Microcontroller]
jz2440 burns u-boot and uses it
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
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号