I follow the youtube provided by Gem5 to get the inspiration.
(http://gem5.org/Running_gem5#Full_System_.28FS.29_Mode)
I download the file here:
http://www.gem5.org/dist/current/arm/
with
http://www.gem5.org/dist/current/arm/aarch-system-20170616.tar.xz
Then Set up M5_PATH as the place I extract the files:
"/home/khchen/full_system_images/"
If the setting is correct, assigning the disk-image will finish the rest of setting for dtb and kernel specifications.
So far I can only use this img (aarch32-ubuntu-natty-headless.img) as my disk-image to run up to the login interface of the ubuntu:
build/ARM/gem5.opt configs/example/fs.py --disk-image=/home/khchen/full_system_images/disks/aarch32-ubuntu-natty-headless.img
With the other imgs, for example like "aarch64-ubuntu-trusty-headless.img", I think the kernel and the dtb should be given manually, because it will automatically load something with aarch32 prefix which doesn't make sense:
info: kernel located at: /home/khchen/full_system_images/binaries/vmlinux.aarch32.ll_20131205.0-gem5
info: Loading DTB file: /home/khchen/full_system_images/binaries/vexpress.aarch32.ll_20131205.0-gem5.1cpu.dtb at address 0x88000000
(http://gem5.org/Running_gem5#Full_System_.28FS.29_Mode)
I download the file here:
http://www.gem5.org/dist/current/arm/
with
http://www.gem5.org/dist/current/arm/aarch-system-20170616.tar.xz
Then Set up M5_PATH as the place I extract the files:
"/home/khchen/full_system_images/"
If the setting is correct, assigning the disk-image will finish the rest of setting for dtb and kernel specifications.
So far I can only use this img (aarch32-ubuntu-natty-headless.img) as my disk-image to run up to the login interface of the ubuntu:
build/ARM/gem5.opt configs/example/fs.py --disk-image=/home/khchen/full_system_images/disks/aarch32-ubuntu-natty-headless.img
With the other imgs, for example like "aarch64-ubuntu-trusty-headless.img", I think the kernel and the dtb should be given manually, because it will automatically load something with aarch32 prefix which doesn't make sense:
info: kernel located at: /home/khchen/full_system_images/binaries/vmlinux.aarch32.ll_20131205.0-gem5
info: Loading DTB file: /home/khchen/full_system_images/binaries/vexpress.aarch32.ll_20131205.0-gem5.1cpu.dtb at address 0x88000000
Comments
Post a Comment