I removed the --mem-size flag and its still the same error. Did you build the android kitkat image and kernel from http://gem5.org/Android_KitKat?
Perhaps I built my image incorrectly. Sebastian ________________________________ From: gem5-users <gem5-users-boun...@gem5.org> on behalf of Paul Rosenfeld (prosenfeld) <prosenf...@micron.com> Sent: Thursday, July 14, 2016 12:19 PM To: gem5 users mailing list Subject: Re: [gem5-users] Android KitKat stuck and not booting I’m not sure why that would happen. I don’t see a --mem-size flag on my command line. Can you try removing it to see if it helps? From: gem5-users [mailto:gem5-users-boun...@gem5.org] On Behalf Of Sebastian Cai Sent: Thursday, July 14, 2016 2:59 PM To: gem5 users mailing list <gem5-users@gem5.org> Subject: Re: [gem5-users] Android KitKat stuck and not booting Hello, I removed the --machine-type flag and used the vexpress dtb file, but I'm getting a gem5 error. build/ARM/gem5.opt configs/example/fs.py --kernel=/home/scai/full_system_images/binaries/vmlinux-android --frame-capture --disk-image=/home/scai/full_system_images/disks/android-kitkat.img --os-type=android-kitkat --dtb-file=/home/scai/full_system_images/binaries/vexpress.aarch32.ll_20131205.0-gem5.1cpu.dtb --num-cpus=1 --mem-size=2GB This gets the error: fatal: Unable to find destination for addr 0x1c030000 on system.iobus @ tick 117293668000 [findPort:build/ARM/mem/xbar.cc, line 358] Memory Usage: 2441912 KBytes Program aborted at tick 117293668000 There are a bunch of warns for unimplemented instructions, here is the whole gem5 output: **** REAL SIMULATION **** warn: Existing EnergyCtrl, but no enabled DVFSHandler found. info: Entering event queue @ 0. Starting simulation... warn: The csselr register isn't implemented. warn: The ccsidr register isn't implemented and always reads as 0. warn: instruction 'mcr dcisw' unimplemented warn: Not doing anything for miscreg ACTLR warn: Not doing anything for write of miscreg ACTLR warn: instruction 'mcr dccmvau' unimplemented warn: instruction 'mcr icimvau' unimplemented warn: instruction 'mcr bpiallis' unimplemented warn: The clidr register always reports 0 caches. warn: clidr LoUIS field of 0b001 to match current ARM implementations. warn: instruction 'mcr icialluis' unimplemented warn: instruction 'mcr dccimvac' unimplemented info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 warn: Tried to read RealView I/O at offset 0x60 that doesn't exist warn: Tried to read RealView I/O at offset 0x48 that doesn't exist warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 warn: CP14 unimplemented crn[1], opc1[0], crm[3], opc2[4] warn: CP14 unimplemented crn[1], opc1[0], crm[0], opc2[4] warn: CP14 unimplemented crn[0], opc1[0], crm[7], opc2[0] Thank you for any advice you can give. Sebastian ________________________________ From: gem5-users <gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org>> on behalf of Paul Rosenfeld (prosenfeld) <prosenf...@micron.com<mailto:prosenf...@micron.com>> Sent: Thursday, July 14, 2016 6:49 AM To: gem5 users mailing list; m5-us...@m5sim.org<mailto:m5-us...@m5sim.org> Subject: Re: [gem5-users] Android KitKat stuck and not booting I took a look at the flags I used when running KitKat. It looks like I omitted the --machine-type flag, had --os-type=android-kitkat and used the vexpress.aarch32 dtb. Are you seeing the various “warn: unimplemented instructions” scrolling by in your gem5 output during boot? From: gem5-users [mailto:gem5-users-boun...@gem5.org] On Behalf Of Sebastian Cai Sent: Wednesday, July 13, 2016 9:12 PM To: m5-us...@m5sim.org<mailto:m5-us...@m5sim.org> Subject: [gem5-users] Android KitKat stuck and not booting Hello All, I've built an Android KitKat image as per the instructions on http://gem5.org/Android_KitKat and compiled the kernel as well. The command line that I run is: build/ARM/gem5.opt configs/example/fs.py --kernel=/home/scai/full_system_images/binaries/vmlinux-android --frame-capture --machine-type=RealView_PBX --disk-image=/home/scai/full_system_images/disks/android-kitkat.img --os-type=android-kitkat --mem-size=200MB However, when I connect via telnet or m5term, I just get: ==== m5 slave terminal: Terminal 0 ==== with nothing running or booting, and I can't input anything. Does anyone know what could be the issue? Perhaps I didn't use the correct kernel or the image file wasnt created properly? Also there is a "warn: Kernel supports device tree, but no DTB file specified". I tried using all the different dtb files provided such as armv7_gem5_v1_1cpu.dtb and the vexpress ones. Which dtb file does android kitkat use? Thanks, Sebastian
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users