NOR NAND Bootstrapping

From Ubicom Developer

Jump to: navigation, search

UNDER CONSTRUCTION


Introduction

The purpose of this page is to walk users through the steps of bootstrapping for a NOR/NAND flash configuration.  Bootstrapping is the process of initially boot loading the processor/device from one memory part to another.  In the case of this application note, the Ubicom IP7K IAP rev1.2 board will be bootstrapping from a 16MB NOR flash to a 128MB NAND flash.


ultra.brd- reserved bootloader sectors (pages * bootloader size), flash size, page size, access time.


~/ubicom-distro/u-boot/include/configs


Value =
'mtdparts=ubicom32_boot_flash:512k(launcher)ro,14080k(upgrade),15' +
'36k(jffs2),256k(fw_env)'


mtdparts=ubicom32_boot_flash:256k(bootloader)ro;ubi32\
-nand-spi-er:128M(user)

mtdparts add spier0 128M test
or mtdparts default

mtdparts
ubi part spier0,0
ubi info
ubi create vol


set bootcmd ubi part user\;ubi read 41000000 vol 240000;bootm 41000000