BSP for cdb89712 Rev B - Confusion
Trilok Soni <[email protected]> Sat, 8 Mar 2003 01:46:51 -0800 (PST)
| Newsgroups | gmane.linux.qplus.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I had downloaded and following instruction to develop
BSP as described in BSP Porting guide.
Step I had followed
3.1 Directory Setup - Created as described and copied
1. qplus.cml.in
2. Makefile
3. Functions file from iPAQ bsp.
3.2. Kernel
I had following linux kernel and patches
linux-2.4.6.tar.gz
patch-2.4.6-rmk1.gz - From Arm Linux
patch-linux - Ray specific patch
Linux.config
And here is inst_kernel.sh
#!/bin/sh
#
# Kernel source installation script for cdb89712 Rev B
board
#
[ -z "$TOPDIR" ] && exit 1
srcdir="$TOPDIR/linux"
destdir="$TOPDIR/build"
echo "srcdir : $srcdir "
echo "destdir : $destdir"
cd $destdir
echo "Installing linux main source"
tar zxf $srcdir/linux-2.4.6.tar.gz || exit 1
cd linux
echo "Install patches..."
zcat "$srcdir/patch-2.4.6-rmk1.gz"| patch -p1 || exit
1
patch -p1 < "$srcdir/patch-linux" || exit 1
cp "$srcdir/Linux.config" .config
3.2.1 I had download cml2 files from mentioned site
and copied
kernel-tree
directory to my bsp dir, also changed symbols.cml and
rules.cml as
directed.
3.3 Board Specific Pakages
I had created /opt/q+esto/packages/QPDS/arm/cdb89712
and kept empty as
there
is not board specific packages right now. Will it be
OK?
3.4 Build Setup.
Copied deploy.cml, buildetcs, targetinstall from iPAQ
bsp time-being.
3.5 Test
To test inst_kernel.sh bsp I had created new project
named "cdb" ->
Arch =
arm -> Board=cdb89712 is created.
3.5.1 Saved configuration and executed "Build Kernel"
but stops and
asks for
[Y/n/M] options selections like this: ....
....
# Using defaults found in .config
#
*
* Code maturity level options
*
Prompt for development and/or incomplete code/drivers
(CONFIG_EXPERIMENTAL)
[Y/n/?] Prompt for obsolete code/drivers
(CONFIG_OBSOLETE) [N/y/?]
(NEW) *
* Loadable module support
----But in iPAQ bsp build kernel runs smoothly without
asking such configuration questions?
--Again How kernel tree of linux-2.4.6(My targeted
kernel) and CML2 kernel tree, which is higher than
this will be synchronized. I have not tried lkc2cml2
converter. Should I go for it.?
Regards,
Trilok Soni
Sr. Software Engg.
Tectona Softsolution(P) Ltd
[email protected]
http://www.tectonas.com
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com