User manual

U-Boot for MPL SBC
User Manual
2003 by MPL AG
14
MEH-10082-002 Rev. D
High-Tech • Made in Switzerland
You can also use sector address to erase a portion of the flash. The flash banks are numbered starting with 1, while flash
sectors start with 0.
=> era 1:0-55
Erase Flash Sectors 0-55 in Bank # 1
........................................................ done
=>
3.3.16 fdcboot - boot from floppy device
The floppy disk boot uses similar parameters as the diskboot. Please note that the image on the floppy is also raw, the
floppy doesn’t contain a file system. If you use linux, you can invoke following command to create such a raw floppy:
bash # dd if=IMAGE_FILE_NAME of=/dev/fd0
Whereas IMAGE_FILE_NAME is the filename of the image.
Abbreviation:
fdcb
=> help fdcb
fdcboot loadAddr drive
=>
3.3.17 flinfo - print FLASH memory information
Abbreviation:
fli
=>fli
Bank # 1: Intel TE28F320C3 (32 Mbit, top sector size)
Size: 4096 KB in 71 Sectors
Sector Start Addresses:
FFC00000 E FFC10000 E FFC20000 E FFC30000 E FFC40000 E
FFC50000 E FFC60000 E FFC70000 E FFC80000 E FFC90000 E
FFCA0000 E FFCB0000 E FFCC0000 E FFCD0000 E FFCE0000 E
FFCF0000 E FFD00000 E FFD10000 E FFD20000 E FFD30000 E
FFD40000 E FFD50000 E FFD60000 E FFD70000 E FFD80000 E
FFD90000 E FFDA0000 E FFDB0000 E FFDC0000 E FFDD0000 E
FFDE0000 E FFDF0000 E FFE00000 E FFE10000 E FFE20000 E
FFE30000 E FFE40000 E FFE50000 E FFE60000 E FFE70000 E
FFE80000 E FFE90000 E FFEA0000 E FFEB0000 E FFEC0000 E
FFED0000 E FFEE0000 E FFEF0000 E FFF00000 E FFF10000 E
FFF20000 E FFF30000 E FFF40000 E FFF50000 E FFF60000 E
FFF70000 E FFF80000 RO FFF90000 RO FFFA0000 RO FFFB0000 RO
FFFC0000 ERO FFFD0000 ERO FFFE0000 ERO FFFF0000 ERO FFFF2000 ERO
FFFF4000 ERO FFFF6000 ERO FFFF8000 ERO FFFFA000 ERO FFFFC000 ERO
FFFFE000 RO
=>
This command shows the start address of each flash sector. The character ‘E’ indicates that the sector is erased, and
the characters ‘RO’ indicates that this sector is read only.
3.3.18 fsinfo - print information about filesystems
This command is used to get information about the filesystem residing in the NAND flash. To install a filesystem in the
NAND flash, you have to make a JFFS2 image and then write this image to the NAND flash with the command nand
write.jffs2 please refer to chapter 3.3.29 nand - NAND sub-system. For more information see also on www.mpl.ch.
Abbreviation: fsi
=> help fsi
fsinfo - print information about filesystems
=>
3.3.19 fsload - load binary file from a filesystem image
Used for NAND flash filesystem.
Abbreviation: fsl
=> help fsl
fsload [ off ] [ filename ]
- load binary file from flash bank
with offset 'off'
=>