Difference between revisions of "BeagleBoardNAND"

From eLinux.org
Jump to: navigation, search
m (Give NAND HW configuration)
(Start NAND write section)
Line 12: Line 12:
  
 
=Software=
 
=Software=
 +
 +
The following software parts can be stored and booted/run from NAND:
 +
 +
* X-Loader
 +
* U-Boot (+ environment/configuration data)
 +
* Linux kernel
 +
* Linux file system
 +
 +
The memory partitioning for this as used on BeagleBoard:
 +
 +
0x00000000-0x00080000 : "X-Loader"
 +
0x00080000-0x00260000 : "U-Boot"
 +
0x00260000-0x00280000 : "U-Boot Env"
 +
0x00280000-0x00680000 : "Kernel"
 +
0x00680000-0x10000000 : "File System"
 +
 +
To be able to write something to (empty) NAND, you first need to boot from an other source, e.g. [[BeagleBoard#MMC.2FSD_boot|MMC/SD card boot]]. Besides the files you need for MMC/SD card boot (MLO & U-Boot), put the files you want to flash into first FAT partition of MMC/SD card, too. Then you can read them from there and write them to NAND.
 +
 +
Note: If something goes wrong writing the initial X-Loader, your board might not boot any more without pressing the [[BeagleBoard#User_button|user button]]. See [[BeagleBoardRecovery|BeagleBoard recovery]] article how to fix this, then.
 +
 +
==X-Loader==
 +
 +
tbd.
 +
 +
==U-Boot==
 +
 +
tbd.
 +
 +
==Kernel==
 +
 
 +
tbd.
 +
 +
==File system==
  
 
tbd.
 
tbd.

Revision as of 01:09, 13 July 2008

This page is about using (booting) from NAND memory on BeagleBoard. Parts of this page are inspired by Steve's flash procedure document.

Hardware

OMAP3530 has 256MB NAND flash in PoP (PoP: Package-On-Package implementation for Memory Stacking) configuration.

Software

The following software parts can be stored and booted/run from NAND:

  • X-Loader
  • U-Boot (+ environment/configuration data)
  • Linux kernel
  • Linux file system

The memory partitioning for this as used on BeagleBoard:

0x00000000-0x00080000 : "X-Loader"
0x00080000-0x00260000 : "U-Boot"
0x00260000-0x00280000 : "U-Boot Env"
0x00280000-0x00680000 : "Kernel"
0x00680000-0x10000000 : "File System"

To be able to write something to (empty) NAND, you first need to boot from an other source, e.g. MMC/SD card boot. Besides the files you need for MMC/SD card boot (MLO & U-Boot), put the files you want to flash into first FAT partition of MMC/SD card, too. Then you can read them from there and write them to NAND.

Note: If something goes wrong writing the initial X-Loader, your board might not boot any more without pressing the user button. See BeagleBoard recovery article how to fix this, then.

X-Loader

tbd.

U-Boot

tbd.

Kernel

tbd.

File system

tbd.