
20
CHAPTER 1. THE SYST EM
The simulator can also be started in an interactive mode by
or32-uclinux-sim -f sim.cfg -i prog .
In Figure 1.8 we show as an example the simulation of a simple monitor in an
xterm window.
Figure 1.8: Simulation of the bender monitor.
The command help lists available commands, for instance t (trace):
>t
00000100: : 00000000 l.j 0x0 (executed) [time 40ns, #1]
00000104: : 00000000 l.j 0x0 (next insn) (delay insn)
GPR00: 00000000 GPR01: 00000000 GPR02: 00000000 GPR03: 00000000
GPR04: 00000000 GPR05: 00000000 GPR06: 00000000 GPR07: 00000000
GPR08: 00000000 GPR09: 00000000 GPR10: 00000000 GPR11: 00000000
GPR12: 00000000 GPR13: 00000000 GPR14: 00000000 GPR15: 00000000
GPR16: 00000000 GPR17: 00000000 GPR18: 00000000 GPR19: 00000000
GPR20: 00000000 GPR21: 00000000 GPR22: 00000000 GPR23: 00000000
GPR24: 00000000 GPR25: 00000000 GPR26: 00000000 GPR27: 00000000
GPR28: 00000000 GPR29: 00000000 GPR30: 00000000 GPR31: 00000000 flag: 0
1.4.4 µClinux
µClinux, which stands for microcontroller Linux, is a Linux variant intended for com-
puters without a Memory Management Unit (MMU). This means that the kernel and
the processes reside in the same address space.
You can start µClinux by giving the u command from the boot monitor. µClinux
is now copied from FLASH (0xf0100000) to SDRAM (0x0) and the booting process
starts.
Commenti su questo manuale