Hello,

I am trying to use uCLinux in ARMulator and I am facing some problems.

I compiled the operating system, linux-2.6.x, uClibc, default user and
kernel settings and arm-linux toolchain.

At the end of the compilation, I have two files in the images directory.

I launch "arm-elf-gdb linux", followed by "target sim", "load" and finally
"run". Then I have the following messages:

[EMAIL PROTECTED]:~/uClinux/uClinux-dist/images$ ls
boot.rom  linux
[EMAIL PROTECTED]:~/uClinux/uClinux-dist/images$ arm-elf-gdb linux
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...
(no debugging symbols found)...
(gdb) target sim
Loaded ROM boot.rom
Loaded ROM boot.rom
Loaded ROM boot.rom
Loaded ROM boot.rom
Connected to the simulator.
(gdb) load
Loading section .init, size 0xf000 vma 0x1008000
Loading section .text, size 0xa17a8 vma 0x1017000
Loading section __param, size 0x78 vma 0x10b9000
Loading section .data, size 0x17820 vma 0x10ba000
Start address 0x1008000
Transfer rate: 6554112 bits in <1 sec.
(gdb) run
Starting program: /home/flavio/uClinux/uClinux-dist/images/linux
Linux version 2.6.19-uc1 ([EMAIL PROTECTED]) (gcc version 4.2.1) #1 Sun
Aug 17 20:05:41 BRT 2008
CPU: Atmel-AT91M40xxx [14000040] revision 0 (ARMvundefined/unknown),
cr=0000007c
Machine: ATMEL EB01
Built 1 zonelists.  Total pages: 1016
Kernel command line:
PID hash table entries: 16 (order: 4, 64 bytes)
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 4MB = 4MB total
Memory: 3204KB available (652K code, 134K data, 60K init)

When I perform the same operations, using the binary file provided by the
url http://www.uclinux.org/pub/uClinux/utilities/armulator/ it works without
problem.

What configurations should I do in order to have my build working?

Best Regards,

Flavio

-- 
Flavio de Castro Alves Filho

[EMAIL PROTECTED]
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to