(GTA02) updated NOR image build and install procedure

Werner Almesberger werner at openmoko.org
Fri May 9 17:32:19 CEST 2008


Here's an updated procedure for building and installing the NOR image
from scratch. All you need to get started is to have our toolchain
installed:
http://wiki.openmoko.org/wiki/Toolchain

- Werner

---------------------------------- cut here -----------------------------------

#####  Building u-boot  #######################################################

git clone git://git.openmoko.org/git/u-boot.git
cd u-boot
git checkout origin/stable
make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- gta02v6_config
make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- u-boot.udfu
cd ..

#####  Building the NOR image  ################################################

svn co http://svn.openmoko.org/trunk/src/host
cd host/devirginator
wget http://wiki.openmoko.org/images/c/c2/System_boot.png
./mknor -D QUIET -s System_boot.png ../../u-boot/u-boot.udfu

#####  Unlock the NOR  ########################################################
#
# You need this if using a debug board. The DM1.5 fixture at the factory should
# permanently disable NOR write-protection, so this section can be skipped.
#

make -C ../norwp
../norwp/norwp rw

#####  Installing the NOR image  ##############################################

ifconfig usb0 192.168.0.200 up
scp nor.bin flashnor 192.168.0.202:
ssh 192.168.0.202 ./flashnor nor.bin




More information about the openmoko-kernel mailing list