Sunday, April 15, 2012

MINI2440 Linux kernel port linux-3.3.2

Mini2440 linux 3.3.2 kernel ported successfully by 

Embedded Software labs 

cross compile : arm-linux-gcc-4.3.2

Linux target kernel : linux-3.3.2 , below are the screen shots.

Linux kernel 3.0.1 kernel ported on to , mini2440 ARM 9 , arm-linux-gcc-4.3.2 cross compiler.

Above screen shot is , linux kernel 3.3.2 ported on to MINI2440 , MINI 2440 with Minimal file system.

(c): contact@embeddedsoftwarelabs.com










Video of the above assignment yet to come here in this link ....

Embedded Software Labs - ESL has ported linux kernel : linux-2.6.25, 2.6.27, 2.6.28, 2.6.30, 2.6.32, 2.6.34, 2.6.38, 3.0.1, 3.3.2 the latest kernel as of now April 14th 2012.
mini2440 .
No , Kernel panic for any kernel.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



Friday, December 30, 2011

Android Twitter


Android Twitter (1.6 to 3.0 ) android version....soon to post video link to test on board ok.....
for mini2440 Android 2.1 - updated1 .....linux 2.6.27/29 kernel.....

Thursday, October 20, 2011

Android 4.0

Android 4.0 Highlights Summary

New User Features:

ICS Logo

Official Android 4.0 Logo

  • Refined, evolved UI – Common action more visible, new typeface, improved multitaksing and notifications.
  • Home screen folders and favorites tray – New home screen folders offer a new way for users to group their apps and shortcuts logically.
  • Resizable widgets – Interactive widgets are resizable, so users can expand them to show more content or shrink them to save space
  • New lock screen actions – The lock screens now let users do more without unlocking such as accessing the camera app.
  • Quick responses for incoming calls – Respond by pre-written SMS if you are busy during a call
  • Swipe to dismiss notifications, tasks, and browser tabs
  • Improved text input and spell-checking – The softkeyboard now comes with a spell-checker and can automatically correct typos.
  • Powerful voice input engine – Talk to write SMS.
  • Control over network data – Control data usage on Wi-fi and 3G data networks.
  • Designed for accessibility – Audible feedback with explore-by-touch mode allow visually impaired to use the phone.
  • People and profiles – The new People app offers richer profile information, including a large profile picture, phone numbers, addresses and accounts, status updates, and a new button for connecting on integrated social networks.
  • Unified calendar, visual voicemail
  • Rich and versatile camera capabilities - The camera app allows advanced features such as continuous focus, zero shutter lag exposure, face detection, panorama mode and more.
  • Redesigned Gallery app with photo editor – Larger thumbnails and the picture gallery widget allows you to see pictures in the home screen.
  • Live Effects for transforming video – Apply different effect during video chat or while shooting videos.
  • Sharing with screenshots – ICS finally ships with screenshot capability.
  • Powerful web browsing – The Android Browser can now sync Google Chrome bookmarks, supports offline browsing and performance has been greatly improved.
  • Improved email – More easier-friendly gmail and improve enterprise support (EAS v14)
  • Android Beam for NFC-based sharing – Exchange apps, contacts, music, videos and more via NFC
  • Face Unlock – Unlock your device with face recognition. [I wonder if they can handle twins :) ]
  • Wi-Fi Direct and Bluetooth HDP – Wi-Fi peer-to-peer connection and Bluetooth Health Device Profile.

New Developer Features:

  • Unified UI framework for phones, tablets, and more
    Android 4.0 brings a unified UI framework that lets developers create elegant, innovative apps for phones, tablets, and more. It includes all of the familiar Android 3.x interface elements and APIs — fragments, content loaders, Action Bar, rich notifications, resizable home screen widgets, and more — as well as new elements and APIs.
  • Communication and sharing:
    • Social API. A shared social provider and API provide a new unified store for contacts, profile data, status updates, and photos. Any app or social network with user permission can contribute raw contacts and make them accessible to other apps and networks. Applications with user permission can also read profile data from the provider and display it in their applications.
    • Calendar API. A shared calendar content provider and framework API make it easier for developers to add calendar services to their apps.
    • Visual voicemail API. A shared Voicemail provider and API allow developers to build applications that contribute to a unified voicemail store. Voicemails are displayed and played in the call log tab of the platform’s Phone app.
    • Android Beam. Android Beam is an NFC-based feature that lets users instantly share information about the apps they are using, just by touching two NFC-enabled phones together. When the devices are in range, the system sets up an NFC connection and displays a sharing UI. To share whatever they are viewing with the other device, users just touch the screen.
    • Modular sharing widget. The UI framework includes a new widget, ShareActionProvider, that lets developers quickly embed standard share functionality and UI in the Action Bar of their applications.
  • New media capabilities:
    • Low-level streaming multimedia. Android 4.0 provides a direct, efficient path for low-level streaming multimedia so that media applications can now retrieve data from any source, apply proprietary encryption/decryption, and then send the data to the platform for display. To support this low-level streaming, the platform introduces a new native API based on Khronos OpenMAX AL 1.0.1. Tools support for low-level streaming multimedia will be available in an upcoming release of the Android NDK.
    • New camera capabilities. Developers can take advantage of a variety of new camera features in Android 4.0 such as ZSL exposure, continuous focus and image zoom. For easier focusing and image processing, a face-detection service identifies and tracks faces in a preview and returns their screen coordinates.
    • Media effects for transforming images and video. A set of high-performance transformation filters let developers apply rich effects to any image passed as an OpenGL ES 2.0 texture. Developers can adjust color levels and brightness, change backgrounds, sharpen, crop, rotate, add lens distortion, and apply other effects. The transformations are processed by the GPU, so they are fast enough for processing image frames loaded from disk, camera, or video stream.
    • Audio remote controls. Android 4.0 adds a new audio remote control API that lets media applications integrate with playback controls that are displayed in a remote view.
    • New media codecs and containers. Android 4.0 adds support for additional media types and containers: WebP, VP8, HTTP Live streaming protocol, ADTS-contained AAC content and Matroska with Vorbis and VP8 content.
  • New types of connectivity:
    • Wi-Fi Direct.Developers can use a framework API to discover and connect directly to nearby devices over a high-performance, secure Wi-Fi Direct connection. No internet connection or hotspot is needed.
    • Bluetooth Health Device Profile (HDP). Developers can now build powerful medical applications that use Bluetooth to communicate with wireless devices and sensors in hospitals, fitness centers, homes, and elsewhere.
  • New UI components and capabilities
    • Layout enhancements. A new layout, GridLayout, improves the performance of Android applications by supporting flatter view hierarchies that are faster to layout and render. GridLayout is also specifically designed to be configured by drag-and-drop design tools such as the ADT Plug-in for Eclipse.
    • OpenGL ES texture views. A new TextureView object lets developers directly integrate OpenGL ES textures as rendering targets in a UI hierarchy. The object lets developers display and manipulate OpenGL ES rendering just as they would a normal view object in the hierarchy, including moving, transforming, and animating the view as needed. The TextureView object makes it easy for developers to embed camera preview, decoded video, OpenGL game scenes, and more. TextureView can be viewed as a more powerful version of the existing SurfaceView object.
    • Hardware-accelerated 2D drawing. All Android-powered devices running Android 4.0 are required to support hardware-accelerated 2D drawing. Fro this reason, developers can rely on accelerated scaling, rotation, and other 2D operations, as well as accelerated UI components such as TextureView and compositing modes such as filtering, blending, and opacity.
  • New input types and text services
    • Stylus input, button support, hover events. Android 4.0 includes full support for stylus input events, including tilt and distance axes, pressure, and related motion event properties. To help applications distinguish motion events from different sources, the platform adds distinct tool types for stylus, finger, mouse, and eraser.
    • Text services API for integrating spelling checkers. Android 4.0 lets applications query available text services such as dictionaries and spell checkers for word suggestions, corrections, and similar data. This is independent from the IME.
  • Enhanced accessibility APIs
    • Accessibility API. The platform adds accessibility events for explore-by-touch mode, scrolling, and text selection. For these and other events, the platform can attach a new object called an accessibility record that provides extra information about the event context.
    • Text-to-speech API. A new framework API lets developers write text-to-speech engines and make them available to any app requesting TTS capabilities.
  • Efficient network usage
    In Android 4.0, users can see how much network data their running apps are using. They can also set limits on data usage by network type and disable background data usage for specific applications. Android 4.0 provides network APIs to let applications meet those goals.
  • Security for apps and content

    • Secure management of credentials. Android 4.0 makes it easier for applications to manage authentication and secure sessions. A new keychain API and underlying encrypted storage let applications store and retrieve private keys and their corresponding certificate chains. Any application can use the keychain API to install and store user certificates and CAs securely.
    • Address Space Layout Randomization. Android 4.0 now provides address space layout randomization (ASLR) to help protect system and third party applications from exploitation due to memory-management issues.
  • Enhancements for Enterprise

    • VPN client API. Developers can now build or extend their own VPN solutions on the platform using a new VPN API and underlying secure credential storage. Enterprises can take advantage of a standard VPN client built into the platform that provides access to L2TP and IPSec protocols.
    • Device policy management for camera. The platform adds a new policy control for administrators who manage devices using an installed Device Policy Manager. Administrators can now remotely disable the camera on a managed device for users working in sensitive environments.

Thursday, July 14, 2011

ANDROID NDK JNI OUTPUT

codename

platform

API

kernel

eclair

2.0, 2.0.1, 2.1

5,6,7

froyo

2.2,2.2.1

8

2.6.32,2.6.32.9

gingerbread

2.3

9

2.6.35

2.3.3

10

2.3.4

10

2.6.35.7

honeycomb

3.0

11

3.0.0

3.1

12

Ice cream Sandwich

Haaaa......!!!!!
After a long working experience on working with SDK, i switched on to Android NDK. My wish has been to deploy any JNI on ARM9(v4) with the android 1.5 running on it.
This will be done if i could get NDK-r1 , but right now not available .
This was not possible as the android running on the board is 1.5 my JNI is compatible for >v4 (ARM11) i tried couple of days to get set the environment ,.... at last i made NDK environment set up, thanks to the climate in Hyderabad,.. which has made me stuck @ home.

Ok no waiting check the NDK outputs and the debug info on Logcat ...
What an experience to view how ANDROID gets booted up and hand full tool to debug the emulator and hardware connected if any..

These are the outputs.......even though its the sample lets check it out.....................
android NDK cygwin ubuntu JNI

Tuesday, October 5, 2010

x86 Qtopia to clear all doubts on Qtopia setup



Hello Everyone, who views my blog and often mail regarding my posts.

After getting so many queries regarding Qtopia on X86/ARM/.... and on different Platforms. So i decided to post a topic on Qtopia also which i did a long back.

This post is for people who want to setup x86 Qtopia and try out there own apps.

Today im posting QTOPIA X86 setup, and Output.

SETUP REQUIRMENTS:

OS: RED HAT LINUX 9.0.
GNU TOOLS: GCC 3.3.2
(which can be verified by gcc -v at terminal command prompt)

x86 Qtopia Tool: x86-qtopia.tar.gz (size 36M) don't be confused by x86-qtopia.tgz this another version. In this post only x86-qtopia.tar.gz

From here on very simple.

just be a super user.(type su you will be asked for password).

Extract the package, then

SET THE ENVIRONMENTAL variables.
by using qvfb in background you will get the Qtopia thats all.


Hope alllll doubts are cleared.
Meet you guys with new post
Have a nice life.
Live.., let others human live on this Earth..





Thursday, June 24, 2010

Cross-compilation parameters

#!/usr/bin/bash

#Packages list
#atk-1.26.0.tar.bz2 expat_2.0.1.orig.tar.gz glib-2.21.5.tar.bz2 gtk-doc-1.11.tar.bz2 librsvg-2.22.3.tar.bz2 poppler-0.10.7.tar.gz
#cairo-1.8.2.tar.gz fontconfig-2.5.91.tar.gz gst-plugins-base-0.10.23.tar.bz2 hicolor-icon-theme-0.10.tar.gz libxml2-sources-2.6.31.tar.gz SHA256SUMS-for-bz2
#dbus_1.2.16.orig.tar.gz freetype-2.3.6.tar.bz2 gstreamer-0.10.23.tar.bz2 jpegsrc.v7.tar.gz pango-1.24.5.tar.bz2 tslib_1.0.orig.tar.gz
#DirectFB-1.3.0.tar.gz gettext-0.16.tar.gz gtk+-2.16.6.tar.bz2 libpng-1.2.38.tar.bz2 pixman-0.12.0.tar.gz

# Step 1: Build Glib
#************Important**********************************************#
# you need to check your cross compiling toolchain to find whether
# there is an underscore before symbols, for example:
# cat >test.c <<"EOF"
# int test(){}
# EOF
# arm-linux-gcc -c test.c
# nm test.o
# rm test.c test.o
# then set glib_cv_uscore to "no" or "yes" according to the result of "nm test.o"
#************Important**********************************************#

tar jxvf ../src/glib-2.21.5.tar.bz2
cd glib-2.21.5
cat > config.cache << "EOF"
glib_cv_stack_grows=no
glib_cv_has__inline=yes
glib_cv_working_bcopy=no
glib_cv_uscore=no
ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_posix_getgrgid_r=yes
EOF
CC=arm-linux-gcc ./configure --host=arm-linux --prefix=/opt --cache-file=config.cache
make
sudo PATH=$PATH:/usr/local/arm/4.2.2-eabi/usr/bin make install
cd .. && rm -rf glib*

# Step 2: Build atk
tar jxvf ../src/atk-1.26.0.tar.bz2
cd atk-1.26.0/
PKG_CONFIG_PATH=/opt/lib/pkgconfig CC=arm-linux-gcc ./configure --host=arm-linux --prefix=/opt
make && make install
cd .. && rm -rf atk*

# Step 3: png
tar jxvf ../src/libpng-1.2.38.tar.bz2
cd libpng-1.2.38/
PKG_CONFIG_PATH=/opt/lib/pkgconfig CC=arm-linux-gcc ./configure --host=arm-linux --prefix=/opt
make && make install
cd .. && rm -rf libpng*

# Step 4: jpeg
tar zxvf ../src/jpegsrc.v7.tar.gz
cd jpeg-7/
CC=arm-linux-gcc ./configure --host=arm-linux --prefix=/opt
make && make install
cd .. && rm -rf jpeg*

# Step 5: libxml
tar zxvf ../src/libxml2-sources-2.6.31.tar.gz
cd libxml2-2.6.31/
PKG_CONFIG_PATH=/opt/lib/pkgconfig CC=arm-linux-gcc ./configure --host=arm-linux --prefix=/opt
make && make install
cd .. && rm -rf libxml*

# Step 6: pixman
tar zxvf ../src/pixman-0.12.0.tar.gz
cd pixman-0.12.0/
PKG_CONFIG_PATH=/opt/lib/pkgconfig CC=arm-linux-gcc ./configure --host=arm-linux \
--prefix=/opt --disable-gtk
make && make install
cd .. && rm -rf pixman*

# Step 7: freetype
tar jxvf ../src/freetype-2.3.6.tar.bz2
cd freetype-2.3.6/
PKG_CONFIG_PATH=/opt/lib/pkgconfig CC=arm-linux-gcc ./configure --host=arm-linux --prefix=/opt
make && make install
cd .. && rm -rf freetype*

# Step 8: fontconfig
tar zxvf ../src/fontconfig-2.5.91.tar.gz
cd fontconfig-2.5.91
PKG_CONFIG_PATH=/opt/lib/pkgconfig CC=arm-linux-gcc ./configure --host=arm-linux \
--with-arch=arm --prefix=/opt --with-freetype-config=/opt/bin/freetype-config
make && make install
cd .. && rm -rf fontconfig*

# Step 9: directfb
tar zxvf ../src/DirectFB-1.3.0.tar.gz
cd DirectFB-1.3.0/
CPPFLAGS="-I/opt/include" CFLAGS="-I/opt/include" LDFLAGS="-L/opt/lib" \
PKG_CONFIG_PATH="/opt/lib/pkgconfig" \
./configure --host=arm-linux --prefix=/opt --exec-prefix=/opt --enable-zlib --disable-x11 \
--enable-fbdev --disable-sdl --disable-vnc --enable-jpeg --disable-gif --with-gfxdrivers=none
make && make install
cd .. && rm -rf DirectFB*

# Step 10: poppler
tar zxvf ../src/poppler-0.10.7.tar.gz
cd poppler-0.10.7/
PKG_CONFIG_PATH=/opt/lib/pkgconfig CC=arm-linux-gcc CPPFLAGS="-I/opt/include" \
CFLAGS="-I/opt/include" LDFLAGS="-L/opt/lib" \
./configure --host=arm-linux --enable-libjpeg --without-x --disable-gtk-test \
--disable-utils --disable-splash-output --disable-gdk --prefix=/opt
make && make install
cd .. && rm -rf poppler*

# Step 11: cairo
tar zxvf ../src/cairo-1.8.2.tar.gz
cd cairo-1.8.2/
PKG_CONFIG_PATH=/opt/lib/pkgconfig CPPFLAGS="-I/opt/include" CFLAGS="-I/opt/include" LDFLAGS="-L/opt/lib" \
./configure --without-x --prefix=/opt --enable-directfb --enable-xlib=no --host=arm-linux --enable-ps=yes \
--enable-svg=yes --enable-pdf=yes
make && make install
cd .. && rm -rf cairo*

# Step 12: pango
tar jxvf ../src/pango-1.24.5.tar.bz2
cd pango-1.24.5/
PKG_CONFIG_PATH=/opt/lib/pkgconfig CC=arm-linux-gcc ./configure --host=arm-linux \
--without-x --prefix=/opt
make && make install
cd .. && rm -rf pango*

# Step 12: gtk+
# There is a "Can't link to Pango " problem, not find a better solution but the following:
# change [ if $PKG_CONFIG uninstalled $PANGO_PACKAGES; then ] to
# ---> [ if $PKG_CONFIG $PANGO_PACKAGES; then ]
#
tar jxvf ../src/gtk+-2.16.6.tar.bz2
cd gtk+-2.16.6/
cat>config.cache<<"EOF"
gio_can_sniff=yes
EOF
CPPFLAGS="-I/opt/include" CFLAGS="-I/opt/include" LDFLAGS="-L/opt/lib" \
PKG_CONFIG_LIBDIR=/opt/lib/pkgconfig CC=arm-linux-gcc ./configure --host=arm-linux \
--without-x --prefix=/opt --without-libtiff --without-libjasper --with-gdktarget=directfb \
--cache-file=config.cache --disable-glibtest --disable-gdiplus --disable-cups
make && make install
cd .. && rm -rf gtk

# Test
# Hello World
# download from:
# http://library.gnome.org/devel/gtk-tutorial/stable/c39.html#SEC-HELLOWORLD

# Makefile
DEBUG=-g
CFLAGS=-Wall -c ${DEBUG}
GTK_CFLAGS=`pkg-config --cflags gtk+-2.0 cairo cairo-ft cairo-directfb directfb freetype2 pangoft2 pangocairo pango pixman-1`
GTK_LIBS=`pkg-config --libs libpng12 libxml-2.0 gtk+-2.0 atk cairo cairo-ft cairo-directfb directfb freetype2 pangoft2 pangocairo pango pixman-1`
GMODULE_LIBS= `pkg-config --libs gmodule-2.0`
CC=arm-linux-gcc

gtkdemo:
${CC} ${GTK_CFLAGS} ${OBJS} -v -o gtkdemo gtkdemo.c ${GTK_LIBS} ${GMODULE_LIBS}

clean:
rm gtkdemo
# Build method
PKG_CONFIG_PATH=/opt/lib/pkgconfig make

# Strip Libs
# decrease libs size
cd /opt/lib
arm-linux-strip -s ./*
cd /opt/bin
arm-linux-strip -s ./*

# rootfile system config
pango-querymodules > '/opt/etc/pango/pango.modules'

# At last you should copy fonts and config them.

Wednesday, September 16, 2009

Porting uClinux to ARMulator (www.embeddedsoftwarelabs.com)

Host Complier: arm-elf-gcc version 2.95.3

Build Complier: gcc version 4.3.0 20080428

ftp://fr2.rpmfind.net/linux/fedora/releases/9/Everything/i386/os/Packages/gcc-4.3.0-8.i386.rpm for (C)

ftp://fr2.rpmfind.net/linux/fedora/releases/9/Everything/i386/os/Packages/gcc-c++-4.3.0-8.i386.rpm for (c++)

OS : Open Suse 9.x

Install toolchain

http://opensrc.sec.samsung.com/download/arm-elf-tools-20040427.sh

[root@localhost raju]# ./arm-elf-tools-20040427.sh

run ./arm-elf-tools-20040427.sh

[root@localhost raju]# arm-elf-gcc -v

Reading specs from /usr/local/lib/gcc-lib/arm-elf/2.95.3/specs

gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)

Install uclinux

http://www.uclinux.org/pub/uClinux/dist/uClinux-dist-20040408.tar.gz

http://opensrc.sec.samsung.com/download/linux-2.6.5-hsc2.patch.gz
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.5.tar.bz2

Decompression uclinux:

[root@localhost raju]# tar zxvf uClinux-dist-20040408.tar.gz

[root@localhost raju]# cd uClinux-dist

Remove all linux kernel patch, waiting for kernel implanted linux2.6.5

[root@localhost uClinux-dist]# rm linux-2.* -rf

To prepare for the linux kernel linux2.6.5

[root@localhost raju]# tar jxvf linux-2.6.5.tar.bz2

[root@localhost raju]# gzip -d linux-2.6.5-hsc2.patch.gz

[root@localhost raju]# mv linux-2.6.5-hsc2.patch linux-2.6.5/

[root@localhost raju]# cd linux-2.6.5

To linux2.6.5 patch

[root@localhost linux-2.6.5]# patch –p1 < linux-2.6.5-hsc2.patch

Will be implanted in uclinux directory linux 2.6.5

root@localhost raju]# mv linux-2.6.5 linux-.2.6.x

[root@localhost raju]# mv linux-.2.6.x uClinux-dist/

[root@localhost raju]#

[root@localhost raju]#

Configuration linux2.6.5

[root@localhostuClinux-dist]#cp linux-2.6.x/arch/armnommu/configs/GDB_ARMulator_defconfig vendors/GDB/ARMulator/config.linux-2.6.x

[root@localhostuClinux-dist]#vi vendors/GDB/ARMulator/rc

hostname GDB-ARMulator 
/bin/expand /etc/ramfs.img /dev/ram1 
mount -t proc proc /proc 
mount -t ext2 /dev/ram1 /var 
mkdir /var/tmp 
mkdir /var/log 
mkdir /var/run 
mkdir /var/lock 
mkdir /var/empty 
cat /etc/motd

[root@localhostuClinux-dist] make menuconfig

Select Vendor and Product

--- Select the Vendor you wish to target

(GDB) Vendor

--- Select the Product you wish to target

(ARMulator) GDB Product

Choose lib, kenel, user setting etc

(linux-2.6.x) Kernel Version

(uClibc) Libc Version

[*] Default all settings (lose changes) (NEW)

[*] Customize Kernel Settings (NEW)

[*] Customize Vendor/User Settings (NEW)

[*] Update Default Vendor Settings (NEW)

Here If you select Customize Kernel Settings, there will be an error, compile, however, that the error of the static properties of the variables can be removed.

Here need to modify the kernel's default order,

General setup --->

(root=/dev/ram0 initrd=0x01300000,800k keepinitrd) Default kernel command string

In addition to the above changes here, the other requires no amendment

Because currently used linux2.6. Kernel, you can directly make without make dep

[root@localhost uClinux-dist]# make

[root@localhost uClinux-dist]# ls -al images

--------------------------------------------------------------------------------------------


Install GDB

http://www.uclinux.org/pub/uClinux/utilities/armulator/gdb-5.0.tar.bz2

http://www.uclinux.org/pub/uClinux/utilities/armulator/gdb-5.0-uclinux-armulator-20021127.patch.gz

http://opensrc.sec.samsung.com/download/gdb-5.0-uclinux-armulator-ramdisk-20040412.patch.gz

http://www.uclinux.org/pub/uClinux/utilities/armulator/objstack.patch.gz

[root@localhost raju]# tar jxvf gdb-5.0.tar.bz2

[root@localhost raju]# gzip –d gdb-5.0-uclinux-armulator-20021127.patch.gz

[root@localhost raju]# gzip –d gdb-5.0-uclinux-armulator-ramdisk-20040412.patch.gz

(In the GCC 4.X versions objstack.patch.tar.gz must be added to this patch)

[root@localhost raju]# gzip –d objstack.patch.gz

[root@localhost raju]# mv objstack.patch gdb-5.0-uclinux-armulator-20021127.patch gdb-5.0/

[root@localhost raju]# mv gdb-5.0-uclinux-armulator-ramdisk-20040412.patch gdb-5.0/

[root@localhost raju]# cd gdb-5.0

[root@localhost gdb-5.0]# patch -p1 lessthan symbol gdb-5.0-uclinux-armulator-20021127.patch

[root@localhost gdb-5.0]# patch -p1 lessthan symbol gdb-5.0-uclinux-armulator-ramdisk-20040412.patch

[root@localhost gdb-5.0]# patch -p1 lessthan symbol objstack.patch

[root@localhost gdb-5.0]# ./configure –target=arm-elf
[root@localhost gdb-5.0]# make
[root@localhost gdb-5.0]#make install

Running the ARMulator

[root @ localhost uClinux-dist] # ln-s images / romfs.img boot.rom

Edit gdb startup script

[root@ localhost uClinux-dist]# cat > .gdbinit
target sim
load
^D
ctrl+Dsave the exit)

[root@localhost uClinux-dist]# ls

autoconf.h config COPYING glibc linux-2.6.x romfs uClibc

bin config.arch Documentation images Makefile SOURCE user

boot.rom config.in freeswan lib README tools vendors

[root@localhost uClinux-dist]# arm-elf-gdb linux-2.6.x/linux