LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2009, 02:17 PM   #1
rjeyakodi
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Rep: Reputation: 0
Thumbs up problem in gdb-armulator


hai i am using vmware machine for linux. recently i have untared the uClinux dist-20051014 patch. taken out the existing kernel and added new kernel linux-2.6.5.tar.bz2,renamed to linux-2.6.x
thats all went fine.
i took the "getting started to gdb armulator asthe reference. i carefully followed the guidelines.
observation 1: the arm-elf tool chain was successfully loaded in to usr/local/bin
observation-2:when i set the directory uclinux-20051014 for make menuconfig,it askd for several configuration settings
say for example
vendor:armulator,product:gdb-armulator
(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)
In “General setup” menu, there is “Default kernel command string”. Change this to:

root=/dev/ram0 initrd=0x01300000,800K keepinitrd
[root@hyoklinux uClinux-dist]# make

when i "make "the whole kernel it took a big process of compilation,finally posted me the following error
[root@hyoklinux uClinux-dist]# make

*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

make[2]: Leaving directory `/home/user/uClinux-dist-20051014/linux-2.6.x'
make[1]: Leaving directory `/home/user/uClinux-dist-20051014'
make[1]: Entering directory `/home/user/uClinux-dist-20051014'
make ARCH=arm CROSS_COMPILE=arm-elf- -C config menuconfig
make[2]: Entering directory `/home/user/uClinux-dist-20051014/config'
make -C /home/user/uClinux-dist-20051014/config/scripts/lxdialog all
make[3]: Entering directory `/home/user/uClinux-dist-20051014/config/scripts/lxdialog'
make[3]: Leaving directory `/home/user/uClinux-dist-20051014/config/scripts/lxdialog'
Using defaults found in .config
Preparing scripts: functions, parsing.............done.

Saving your kernel configuration...

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

make[2]: Leaving directory `/home/user/uClinux-dist-20051014/config'
make[1]: Leaving directory `/home/user/uClinux-dist-20051014'
eadevenv:/home/user/uClinux-dist-20051014# make
make -C tools/ucfront
make[1]: Entering directory `/home/user/uClinux-dist-20051014/tools/ucfront'
make[1]: `ucfront' is up to date.
make[1]: Leaving directory `/home/user/uClinux-dist-20051014/tools/ucfront'
ln -sf /home/user/uClinux-dist-20051014/tools/ucfront/ucfront tools/ucfront-gcc
ln -sf /home/user/uClinux-dist-20051014/tools/ucfront/ucfront tools/ucfront-g++
make ARCH=arm CROSS_COMPILE=arm-elf- -C linux-2.6.x || exit 1
make[1]: Entering directory `/home/user/uClinux-dist-20051014/linux-2.6.x'
SPLIT include/linux/autoconf.h -> include/config/*
SYMLINK include/asm-arm/arch -> include/asm-arm/arch-rpc
make[2]: `arch/arm/kernel/asm-offsets.s' is up to date.
make[2]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/compile.h
LD arch/arm/boot/compressed/vmlinux
/usr/local/bin/arm-elf-ld.real: cannot open arch/arm/boot/compressed/font.o: No such file or directory
make[3]: *** [arch/arm/boot/compressed/vmlinux] Error 1
make[2]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make[1]: *** [zImage] Error 2
make[1]: Leaving directory `/home/user/uClinux-dist-20051014/linux-2.6.x'
make: *** [linux] Error 1
eadevenv:/home/user/uClinux-dist-20051014#

i do not know where i am wrong please help me to througgh this bug out and suggest what otherwise ,have to be done to create the images romfs.img,linux.data ,image.bin ....................
 
Old 06-07-2009, 02:38 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Now ... I have no experience with ARM, cross-compilation
or anything the like ... but what kind of file was your
new kernel, and how did you install it? Obviously
Quote:
/usr/local/bin/arm-elf-ld.real: cannot open arch/arm/boot/compressed/font.o: No such file or directory
the tool-chain fails for find an architecture specific
file?



Cheers,
Tink
 
Old 06-20-2012, 01:32 AM   #3
alexdb2012
LQ Newbie
 
Registered: Jun 2012
Posts: 16

Rep: Reputation: Disabled
Installing uclinux on ubuntu.

Hi,


Just i followed the folllowing link to install uclinux on ubuntu.


http://opensrc.sec.samsung.com/Getti...nuxARM2_6.html


as per that link following thing showing.

(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)

But for me except (NEW) and * remaining is coming like following,Iam unable to select customize kernal setting and iam unable to find “General setup” menu, there is “Default kernel command string”. Change this to:

root=/dev/ram0 initrd=0x01300000,800K keepinitrd .where is the mistake? i want to work with ARM board.

(linux-2.6.x) Kernel Version
(uClibc) Libc Version
[] Default all settings (lose changes)
[] Customize Kernel Settings
[] Customize Vendor/User Settings
[] Update Default Vendor Settings
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to ru a program on GDB/ARMulator /uClinux 2.4 milky87 Linux - Embedded & Single-board computer 0 12-12-2008 04:34 PM
normal gdb and spec gdb for kgdb Igor007 Programming 1 09-23-2005 05:15 PM
normal gdb and spec gdb for kgdb Igor007 Linux - Newbie 1 09-23-2005 02:41 PM
gdb .. looking for 32 bit gdb.. for ia64 suse.. nkshirsagar SUSE / openSUSE 0 12-09-2004 04:02 AM
Problem with GDB balteo Linux - General 4 07-01-2002 08:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration