Debian 6.0.5 Inatall on VMware for LPC3250 Cross Development 
Create new VM on VMware Workstation 8.0 
32GB Disk 
512MB RAM 
Debian 6 
Install disk image from: debian-6.0.5-i386.netinst.iso downloaded from: 
http://cdimage.debian.org/debian-cd/6.0.5/i386/iso-cd/debian-6.0.5-i386-netinst.iso(external link)

Install Debian Linux 
Locale C 
All 32GB disk to single partition 
deselect all software to be installed

Boot Linux and login as root

# apt-get update
# apt-get upgrade# apt-get install sudo# cd /usr/src# wget www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.39.4.tar.bz2# apt-get install bzip2# apt-get install ssh# apt-get install libncurses5-dev build-essential bootcd-mkinitramfs
# cd /usr/src; tar xvf ./linux-2.6.39.4.tar.gz
# cd linux-2.6.39.4
# make menuconfig
.. leave all parameter as is, exit from menuconfig...
# make
# make modules
# make modules_install
# make install
# cd /boot
# mkinitramfs -o initrd.img-2.6.39.4 2.6.39.4
# upgrade-grub
reboot....
$ uname -a
thondo@debian:~$ uname -aLinux debian 2.6.39.4 #1 SMP Fri Jul 13 11:23:30 JST 2012 i686 GNU/Linux


Create VMware snapshot as Debian 6.0.5/Linux-2.6.39.4 Installed.

edit /etc/apt/sources.list

# -- Emdebian cross toolchains
deb http://www.emdebian.org/debian/ squeeze main

end edit

Install cross package from emdebian: 
http://www.cnx-software.com/2012/01/16/installing-emdebian-arm-cross-toolchain-in-debian/(external link)

$ sudo apt-get install emdebian-archive-keyring
$ sudo apt-get update
$ sudo apt-get install linux-libc-dev-armel-cross
$ sudo apt-get install libc6-armel-cross libc6-dev-armel-cross
$ sudo apt-get install binutils-arm-linux-gnueabi
$ sudo apt-get install g++-4.4-arm-linux-gnueabi$ sudo apt-get install pdebuild-cross dpkg-cross


Install GDB cross debugger for ARM 
http://www.blogger.com/blogger.g?blogID=2149444681054163689#allposts/postNum=3(external link)


Obtain OpenOCD and build

$ sudo apt-get install git-core libtool autoconf texinfo libusb-dev
$ git clone git://openocd.git.sourceforge.net/gitroot/openocd/openocd
$ ./bootstrap
$ sudo apt-get install libftdi-dev
$ ./configure --enable-maintainer-mode --disable-werror --enable-ft2232_libftdi
$ make
$ sudo make install