initialization (1) setting the exception vector where the command "B start_code" for resetting the exception vector determines that after U-boot is started, it will automatically jump to the label "start_code" for execution. (2) set the control register address (3) disable the watchdog (4) Disable MMU, cache (5) initialize the lowlevel_init In the ram control register to complete memory initialization, because the memory initialization depends on the Development Board, the lowlevel_init code is
A block device cannot be accessed as a character device, but instead is placed in a queue and then executed after tuning the order, which is called an "elevator scheduling algorithm".This article explains how to write block device drivers through RAMDisk, NAND flash, nor flash.First, RAMDisk1. Because the block device driver is executed after the request is placed in the queue and then adjusted sequentially, we need to define the request queue first:S
/mini2440/root_qtopia ".
Assuming default behaviour ('no _ subtree_check ').
Note: This default has changed since nfs-utils version 1.0.x
In fact, you don't need to worry about it. This does not matter if you use NFS to mount the file system later, but you should note that in/etc/exports, if you want to use a friendly rootfs_qtopia_qt4 file system, because the current qemu simulator only supports 64 m NAND (or it may be that the U-boot compiled from t
--------------------------------------------------------------------------------------------------------------------
Modify the configuration file:1. Modify makefile to match the cross compiler. In the root directory of the kernel code, find the vim makefile in row 193 and change arch to arch = armcros_compile? =/Usr/local/ARM/3.4.1/bin/arm-linux-CORSS_COMPILE depends on your environment 2. to support devfs in the kernel and to automatically mount/dev to the devfs file system at startup and bef
--->
[*] Use the arm Eabi to compile the kernel
[*] Allow old Abi binaries to run with this kernel (experimental)IX. nandflash driver porting
Linux contains the nandflash driver. You only need to modify the source code.
1, $ Vim ARCH/ARM/plat-s3c24xx/common-smdk.c
107/* NAND parititon from 2.4.18-swl5 */
108
109 static struct mtd_partitionsmdk_default_nand_part [] = {
110 # If defined (config_64mb_nand)
111 [0] = {
112. Name = "board_uboot ",
113. si
First, the transplant 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
Second, the transplant procedureIn this article, we first let the board support the CS8900 or dm9000x NIC, and then analyze the implementation u-boot how to boot the Linux kernel. Because the test u-boot boot kernel We need to use the network download
advantages of low power consumption, high density, and small size. Currently, Flash is classified into either NOR or NAND.
NOR flash memory can directly read the data stored in the chip, so the speed is relatively fast, but the price is relatively high. The address line of the NOR chip is separated from the data line. Therefore, the NOR chip can be connected to the data line like the SRAM, And the NOR chip can be operated as the basic unit. Therefore
.
Memory used in embedded devices is a storage device designed for embedded systems, such as Flash memory chips and small Flash cards. Flash is a mainstream memory widely used in embedded systems. its main features are full/sector erasure and byte programming. it has the advantages of low power consumption, high density, and small size. Currently, Flash is classified into either NOR or NAND.
NOR flash memory can directly read the data stored in the ch
EMMC Application Brief
eMMC's Past Life
A. Overview of eMMCEMMC (Embedded multimedia Card) for the MMC association entered into the embedded memory standard specifications, mainly for mobile phone products. One obvious advantage of EMMC is the integration of a controller in the package, which provides a standard interface and manages Flash, allowing handset vendors to focus on other parts of the product development and shorten the time to market products.These features are of equ
From: http://blog.csdn.net/fg8181/article/details/2295777
The embedded system startup architecture is a key technology of embedded systems. Mastering the startup architecture is of great significance for understanding the operating principles of embedded systems. Embedded System BootCodeOperating system operation and applicationProgramThere are two main architectures for loading, one is to directly start from nor flash, and the other is to directly start from
Original: http://blog.sina.com.cn/s/blog_6b94d5680100nd48.htmlArticle structureThe structure order has changed-1: Burn Write Uboot0:bootargs setting of the bootcmd command parameter1: The process of making YAFFS22: The process of burning and writing YAFFS23: The process of making uimage4: The process of burning and writing UiamgeThe difference between 5:uimage zimage Vmlinux6:UBOOT parameter structure passed to the kernel tag7:BOOTM Go boot process and the difference8: Load address entry address
Dm355 has two startup modes, which are determined by the btsel [1:0] pin.
The first is to start asynchronous EMIF (aemif) from the off-chip device.
Device startup
The second method is to start from the in-disk ROM and execute the ROM Boot Loader in the Rom.
(RBL), RBL supports three types of media, btsel determines which media RBL starts.
-Btsel [1:0] = 00-arm NAND boot
-Btsel [1:0] = 10-arm MMC/SD boot
-Btsel [1:0] = 11-arm UART boot
Now select to st
1.1 flash interface circuit design
Flash memory is a kind of memory in-system (in-system) for electrical erasure. After power loss, information will not be lost. It features low power consumption, large capacity, fast write/Erase speed, full or split-sector programming and erasure. Chip operations are completed by internal embedded algorithms, which are widely used in various embedded systems. The two main non-easy-to-lose flash technologies on the market are nor and
: J.ffs2_raw_inode and Jffs2_raw dirent. The former contains administrative information about the file , which is used to describe the location of the file in the file system . The real information is kept behind the Jffs2_raw_inode node, and most of the information that is managed is built after the system is mounted. Two data entities have a common file header structure JFFS2 _ Unknown_node. In this structure, there is a jint32 _t type of HDR_CRC variable, which represents the CRC checksum val
drivers:
The kernel of the new Linux version provides drivers that support large-page NAND. This is very convenient for us to port the NAND driver. We only need to find the corresponding driver in the kernel and make some modifications.
(1) modify the NAND partition (MTD partition) table in the kernel
Modify: ARCH/ARM/plat-s3c24xx/common-smdk.c file, in line 110
, ramfs/tmpfs, etc.
1. Flash-based File System
As the main storage medium of embedded systems, flash memory has its own characteristics. The Flash write operation can only change 1 of the corresponding position to 0, but not 0 to 1 (Flash is to restore the content of the corresponding storage block to 1). Therefore, in general, when writing content to flash, you must first erase the corresponding storage range. This erasure is based on a block as a single bit.
Flash Memory mainly includes the no
I. Overview of the ContentUsing STM32 internal USB controller outside the larger page NAND FLASH k9f1g08u0a implementation of a 128M u disk.1, STM32 USB controller stm32f103of theMCUcomes withUSBfrom the controller, in accordance withUSBspecification of communication connections;PCThe data transfer between the host and the microcontroller is accomplished by sharing a dedicated data buffer that can beUSBdirect access to peripherals. The size of this
write code using Easyopenjtag or Openjtag
If the Openjtag burning write bare board program appears, "No CPU is detected (ID=0XFFFFFFFF)" Reason should be
1. Development Board not power on2. Jtag line is not connected.
Reference video
The No. 0 Lesson 1th Section _ Just contact the Development Board interface wiring ToolThe No. 0 Lesson 2nd Section _ Just contact the Development Board Burn writes the bare board procedure "
This document uses the environment
Win7
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.