Writing boot loader is an inevitable process for developers who have transplanted Linux to other development boards. Writing bootloader is also a challenging task for Linux learners. This article analyzes the Linux boot protocol and explains in detail how to compile a basic bootloader that can guide the 2.4.20 Kernel on the i386 machine.1. Overview
Linux runs in protection mode, but it is in real mode when
Boot Loading and download modes of bootloader
Start the loading mode:
This Bootstrap mode is also known as the autonomous (autonomous) bootstrap mode, that is, the bootloader loads the operating system to ram from a solid-state storage device of the target machine and runs it as a pilot, no user intervention is involved in the entire process. This Bootstrap mode is a commonly used Bootstrap mode in normal
Article Title: Analysis and Application of Motorola microprocessor bootloader. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Introduction
?? Bootloader is a program used to complete system startup and system software loading. It is a middleware software between the und
Iv. Commonalities of arm bootloaderFor an arm system, bootloader is essentially a "tool" for guiding and loading kernel images. In terms of implementation, it must provide the following functions. More specifically, it must do the following:
(1) initialize RAM (required): bootloader must be able to initialize Ram, because in the future, the system will use it to save some volatile data, but the specific imp
Recently, I intend to customize an Arduino board, change the Arduino's burn-write mechanism. Fortunately, bootloader are active code, say dry, before rewriting of course to try this source can compile, but to the bootloader directory is dazed .... Actually use is makefile, but as a program ape of course can't retreat ...1. Find bootloader Source codeBootloader so
Differences between Bootloader and bootstrapAs we can see in "embedded Linux primer", there are still some differences and inaccuracies,For example, bootstrap and bootstrap loader seem to be different on PC, but they still do not affect understanding.Http://www.devbone.com/leadbbs/MINI/Default.asp? 100-2246-0-0-0-0-a-.htmAnother example is Redboot (RedHat embedded debug and bootstrap). In essence, it is a bootload
Clarify the relationship between bootloader norflash nandflash eboot nboot uboot sdram nk. Bin NK. nb0
I. Use NAND Flash to store data and programs on the handheld computer, but nor flash must be enabled. In addition to the Samsung processor, other mainstream processors used in handheld computers do not support programs directly started by NAND Flash. Therefore, you must first start the machine with a small nor flash, and then load OS and other softwa
original ymodem protocol. The first packet does not contain the total number of bytes. The ymodem under the Super Terminal should be in the ultimate version, so the official dome can only be transmitted under the Super Terminal. Ymodem is described in detail below. You will know the reason.
First, we provide a simple bootloader project.
Http://pan.baidu.com/share/link? Consumer id = 373630 UK = 118334538
Supported protocols: ymodem and ymodem-
The difference between bootloader and bootstrapIn "Embedded Linux Primer" see, in fact, there are some differences and imprecise places,For example, bootstrap and bootstrap loader seem to be different on PCs, but they don't affect understanding.Http://www.devbone.com/leadbbs/MINI/Default.asp?100-2246-0-0-0-0-0-a-.htmAlso such as Redboot (RedHat Embedded Debug and Bootstrap), the essence is a bootloader but
I. Causes and principlesCause: In the past computer burning write bootloader to NAND is using JTAG and Jflash,jtag is connected with the port, the current computer is generally not the same mouth, now generally used cheaper to start the J-link, using USB, you can no longer use the previous Jflash burned write. It is therefore necessary to find a way to J-link write NAND. The following instructions j-link the principle of burning nand. With the realarm
Brush into breed BootLoader:
because this K1 router can turn on the Telnet service, the brush breed here can be done without using the programmer to brush the flash chip.
1. Turn on the Telnet service for the K1 router.
The computer connects to the router in a wired way (it is recommended to use a wired connection for unnecessary trouble) and enter it in the browser:
Http://192
The concept of bootloader is a guide to the loader, in the system when the first is run, and then the hardware platform to do the most basic initialization, and finally the operating system loaded up. Different embedded operating systems have their own bootloader, but the essential functions are the same.
The most used in wince is eboot, a web-based bootloader,
First, it is usually assembly. Code : 0 is triggered by system reset at startup. Take code 2440 as an example to directly enter the FW. s file. In some BSP packages, the name of the assembly code is startup. S. The main operations are to set the CPU frequency (PLL), initialize RTC, set memory parameters, prepare to apply for Ram for the second stage of bootloader, and read the bootloader of the second stage
S3C2410 supports direct start from NAND Flash, so NAND bootloader is used.
Most NAND bootloaders are divided into nboot and eboot. Code dependent on the CPU architecture is put in nboot, which is usually implemented in assembly language + C language; while eboot is usually implemented in C language, which can implement complex functions, in addition, the Code has better readability and portability.Nboot:
Hardware Device initialization:
Block a
Why does xen PV bootloader select bootloader = '/usr/bin/pygrub' Why?
Pygrub enables you to start Linux Domus with the kernels that lie in the filesystem of the domu instead of with a kernel that lies in the filesystem of the dom0.this enables easier kernel update from domu or migration of hvm 'ed linuxes.
Concept
It is used as a Bootloader and provided with
Online live broadcasting: a free course for BootLoader application and transplantation-Linux general technology-Linux technology and application information. For more information, see the following. Are you familiar with the embedded technology industry? Do you know what embedded development works? What is the development process of embedded products? How does the classic BootLoader application and transpla
delayed for 10 seconds until the end user presses any key and switches blob to download mode. If you do not press the button within 10 seconds, blob continues to start the Linux kernel.6. Communication devices and protocols used for file transmission between the Bootloader and the hostThe most common situation is that the boot loader on the target machine transmits files to the host through the serial port. The transmission protocol is usually one of
Different types of Bootlader
Generally, LILO or GRUB is used for x86 PC machines. These systems contain firmware (BIOS), which is used for programs of major system components, such as initializing a RAM controller, protecting the CPU in a specific State and providing a lot of information to the OS, for example, for traditional bios cils and ACPI table, these linux bootloaders only need to load the kernel image (which may also include the image of initrd/initramfs) from the storage medium and st
This article applies only if the bootloader is damaged and buys a domestic "no-drive usbasp download Line" that causes the Arduino IDE to fail to recognize and not burn the write. is a slightly non-mainstream mode of operation.Because the Arduino IDE does not support this free-drive usbasp line, it will prompt for errors.The whole thing is like this:1. SymptomsWith the Arduino control servo inadvertently play off, plugged into the computer, in the "De
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.