LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem in gdb-armulator (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-gdb-armulator-731143/)

rjeyakodi 06-06-2009 01:17 PM

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 ....................

Tinkster 06-07-2009 01:38 PM

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

alexdb2012 06-20-2012 12:32 AM

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


All times are GMT -5. The time now is 07:48 AM.