Hi Ali, Thanks for the reply.
I have tried both 3.7 and 2.6 with those checks commented out. The simulator does not complain any more. However, I cannot see anything. Here is a trace: ./build/ARM/gem5.opt ./configs/example/fs.py warning: No header file specified for SimObject: Switch gem5 Simulator System. http://gem5.org gem5 is copyrighted software; use the --copyright option for details. gem5 compiled Jan 10 2013 13:07:30 gem5 started Jan 10 2013 13:09:52 gem5 executing on tianc-testBox command line: ./build/ARM/gem5.opt ./configs/example/fs.py Global frequency set at 1000000000000 ticks per second info: kernel located at: /home/tianc/Research/simulator/gem5/OS_images/tian-arm-system/binaries/vmlinux Listening for system connection on port 5900 Listening for system connection on port 3456 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000 info: Using bootloader at address 0x80000000 **** REAL SIMULATION **** info: Entering event queue @ 0. Starting simulation... 868881167500: system.terminal: attach terminal 0 ^Chack: be nice to actually delete the event here Exiting @ tick 875688929000 because user interrupt received ls -lt m5out/ total 76 -rw-r--r-- 1 tianc tianc 31444 Jan 10 13:24 stats.txt -rw-r--r-- 1 tianc tianc 0 Jan 10 13:09 system.framebuffer.bmp -rw-r--r-- 1 tianc tianc 0 Jan 10 13:09 system.terminal -rw-r--r-- 1 tianc tianc 31402 Jan 10 13:09 config.json -rw-r--r-- 1 tianc tianc 11965 Jan 10 13:09 config.ini I tried to use m5term as you can see, but did not get anything. Clearly, the linux does not boot or at least not boot to allow me to log in. I wonder if I did something wrong here. Linux kernel is compiled with 64-bit arm-linux-gnueabi-gcc on a 64-bit untuntu. Any suggestions? Thanks. Best, Chen >Hi Chen, >The source code to boot.arm is in system/arm/bootloader >it's a very simple bootloader that just puts enough stuff in registers >for the kernel to start. I haven' tried Linux 3.7, but we trap udelay so >that we can skip the function in the simulator and just account for the >time rather than simulating a busy loop. You can safely comment out that >code, os try to determine what the symbol has changed to in 3.7. >Ali >On 09.01.2013 18:18, Chen Tian wrote: >> Hello, >> >> As a new GEM5user, I am trying to boot kernel 3.7 for ARM on GEM5. >I put my kernel binary, GEM5's boot.arm binary into path/to/my/os/binaries, and disk files extracted from arm-system-2011-08.tar.bz2 into path/to/my/os/disks. Then set $M5_PATH= path/to/my/os. > > To run it, I issued "./build/ARM/gem5.opt configs/example/fs.py". > > However, I got this " > > panic: couldn't find kernel symbol 'udelay' > @ cycle 410124 > [LinuxArmSystem:build/ARM/arch/arm/linux/system.cc, line 78] > Memory Usage: 410124 KBytes > Program aborted at cycle 0 > Aborted > " > > Can somebody help me found out why? > > Also, what is boot.arm for? Is there any source code for this binary? > > Thanks. > > Chen > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [1]
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users