Hi Muskala,

muskala magda wrote:
im trying to run uclinux in armulator, but it freezes
after displaying information about memory amount. i'm
not sure
why it doesn't boot to shell. this is an output from
armulator:


(gdb) run
Starting program:
/sd/uclinux/uClinux-dist/linux-2.6.x/linux Linux version 2.6.19-uc1 ([EMAIL PROTECTED]) (gcc version
3.4.4) #1 Tue Apr 24 14:32:43 CEST 2
007
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: 3188KB available (668K code, 135K data, 60K
init

That is a bug in the ARMulator. It doesn't correctly handle
all variants of the msr cpsr/spsr instructions. It didn't effect
2.4.x kernels, but it hangs like this in modern 2.6.x kernels.

The simplest solution is to use skyeye, it does this correctly.
Or you could fix the ARMulator too :-)

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
SnapGear -- a Secure Computing Company      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
[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