Hi Kanwal,

Kanwal Preet Singh CHANANA wrote:
I tried the latest version but got some build errors.

What where the build errors?


Then I tried the procedure given at
http://opensrc.sec.samsung.com/document/Getting_Familiar_with_uClinuxARM2_6.html

Can u suggest me a solution to remove the build errors? Regarding latest 
patches, can u tel me if there is any documentation on build procedure?

Try uClinux-dist/README and
uClinux-dist/Documentation/ARMulator-HOWTO

Regards
Greg



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Ungerer
Sent: Thursday, May 29, 2008 7:34 AM
To: uClinux development list
Subject: Re: [uClinux-dev] Help regarding uClinux/ARM 2.6 build procedure

Hi Kanwal,

Kanwal Preet Singh CHANANA wrote:
Hi All,

I am new to linux and trying to build uClinux image for arm architecture to be 
run on Armulator. I don’t have any target board.

My environment:
1) cygwin on windowsXP with shell bash-v3.00.
2) I am following build instructions given on link
http://opensrc.sec.samsung.com/document/Getting_Familiar_with_uClinuxARM2_6.html

Files used by me:
a) arm-uclinux-tools-cygwin-20060116.tar.bz2
b) uClinux-dist-20040408.tar.gz
c) linux-2.6.5.tar.bz2
d) linux-2.6.5-hsc2.patch.tgz

You might find this easier if you you use a current uClinux-dist
and recent patch.

Recent patches at http://www.uclinux.org/pub/uClinux/dist/patches/

Regards
Greg



I use below instructions for arm-elf tool chain:
bash-3.00$ tar -xjvf arm-uclinux-tools-cygwin-20060116.tar.bz2
and then copy all the folders from usr/local/ to cygwin/usr/local.

then I untar uClinux-dist-20040408.tar.gz using
bash-3.00$ tar -zxvf uClinux-dist-20040408.tar.gz
bash-3.00$ cd uClinux-dist

and then apply patches using
bash-3.00$ tar -jxvf ../linux-2.6.5.tar.bz2
bash-3.00$ gzip -dc ../linux-2.6.5-hsc2.patch.tgz | patch -p0
bash-3.00$ rm -rf linux-2.6.x/
bash-3.00$ mv linux-2.6.5 linux-2.6.x
bash-3.00$ cp linux-2.6.x/arch/armnommu/configs/GDB_ARMulator_defconfig 
vendors/GDB/ARMulator/config.linux-2.6.x

But when I try to run "make config", I get few errors:
============================================================================
bash-3.00$ make config
config/mkconfig > config.in
#
# Using defaults found in .config
#
*
* Vendor/Product Selection
*
*
* Select the Vendor you wish to target
*
Vendor (3com, ADI, Arcturus, Arnewsh, Atmel, Avnet, Conexant, Cwlinux, Cytek, 
Exys, Feith, Future, GDB, Hitachi, Imt, Insight, Intel, KendinMicrel, LEOX, 
Mecel, Midas, Motorola, NEC, NetSilicon, Netburner, Nintendo, OPENcores, 
Promise, SSV, SWARM, Samsung, SecureEdge, SnapGear, Soekris, TeleIP, Triscend, 
Via, Weiss, Xilinx, senTec) [GDB] GDB
  defined CONFIG_DEFAULTS_GDB
*
* Select the Product you wish to target
*
GDB Products (ARMulator, ARMulator-EB) [ARMulator] ARMulator
  defined CONFIG_DEFAULTS_GDB_ARMULATOR
*
* Kernel/Library/Defaults Selection
*
Kernel Version (linux-2.0.x, linux-2.4.x, linux-2.6.x) [linux-2.6.x] linux-2.6.x

  defined CONFIG_DEFAULTS_KERNEL_2_6
Libc Version (glibc, uC-libc, uClibc) [uClibc] uClibc
  defined CONFIG_DEFAULTS_LIBC_UCLIBC
Default all settings (lose changes) (CONFIG_DEFAULTS_OVERRIDE) [Y/n/?] y
Customize Kernel Settings (CONFIG_DEFAULTS_KERNEL) [Y/n/?] y
Customize Vendor/User Settings (CONFIG_DEFAULTS_VENDOR) [Y/n/?] y
Update Default Vendor Settings (CONFIG_DEFAULTS_VENDOR_UPDATE) [Y/n/?] y

*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional configuration.
*** Next, you must run 'make dep'.

make[1]: Entering directory `/cygdrive/c/Kanwal/ucLinux/uClinux-dist'
make ARCH=armnommu CROSS_COMPILE=arm-elf- -C linux-2.6.x oldconfig
make[2]: Entering directory `/cygdrive/c/Kanwal/ucLinux/uClinux-dist/linux-2.6.x
'
  HOSTCC  scripts/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -o arch/armnommu/Kconfig
make[3]: *** [oldconfig] Error 53
make[2]: *** [oldconfig] Error 2
make[2]: Leaving directory `/cygdrive/c/Kanwal/ucLinux/uClinux-dist/linux-2.6.x'
==========================================================================

Can anybody suggest me what is causing problems and how do I resolve it??

Regards,
Kanwal

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev



--
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to