Login Register






Leak ARM development virtual machine filter_list
Author
Message
ARM development virtual machine #1
Not really a leak, actually just a download, but whatever, it draws attention to it.

So, I made a virtual machine for myself so that I could test all of the code for the ARM assembly series. After making it, I decided to share it with all of you. This is a Debian virtual machine running Linux 4.9 for AArch64 (64-bit ARM CPU). I built the toolchain so that you can use proper ARM assembly (arm-as and arm-ld), wrote up some documentation (~/README), and included an ARM optimized hello world program (along with a Makefile for it).

To run it, you will NEED to install qemu
Code:
pacman -S qemu qemu-arch-extra
All you need to do is untar the tarball and run
Code:
./start.sh
It's advised that you minimize the terminal window you started the VM in and SSH into it (instructions in the README file in the tar ball).

keep in mind, this VM does not contain a GUI whatsoever so you should know how to use the linux command line. This is also a development machine, so you can't compile something on your normal PC and copy it over, it needs to be compiled on the dev machine (it's using a different kind of processor). Have fun (and no, I will not be tech support for this)

Also BIG NOTE: don't try to update the kernel, it won't work. Also don't bother with GRUB, that won't work either (ARM doesn't use a boot loader). If you change your kernel, you MUST copy it outside of the VM and replace the kernel-arm and ramdisk-arm.img files.

You can download this virtual machine from my Google Drive (501MB)

@"Ender" this is mostly for you..

NOTE: To run this it is advised you have at least 8GB of RAM, the VM itself is allocated 4GB (so the absolute minimum would be 5G)
[Image: H6nK5QI.png]

Updated to version 2
In this, I've included gef, which is a very useful hacker tool. See the screenshot below
[Image: 0teaYsB.png]
Same URL, but for those of you who downloaded version 1, you may want to either re download it or run the following to update:
Spoiler:
Code:
wget -O ~/.gdbinit-gef.py -q https://github.com/hugsy/gef/raw/master/gef.py echo source ~/.gdbinit-gef.py >> ~/.gdbinit

@"Ender" @Hoss this means you guys Tongue
(This post was last modified: 03-20-2018, 11:01 PM by phyrrus9.)

Reply

RE: ARM development virtual machine #2
Thanks, downloaded.

Not necessarily 'Linux' command line, but general POSIX command line.
Also...
Quote:This is also a development machine, so you can't compile something on your normal PC and copy it over, it needs to be compiled on the dev machine (it's using a different kind of processor). Have fun (and no, I will not be tech support for this)
Can't you cross-compile?


(11-02-2018, 02:51 AM)Skullmeat Wrote: Ok, there no real practical reason for doing this, but that's never stopped me.

Reply

RE: ARM development virtual machine #3
(03-20-2018, 09:54 PM)Ender Wrote: Thanks, downloaded.

Not necessarily 'Linux' command line, but general POSIX command line.
Also...
Quote:This is also a development machine, so you can't compile something on your normal PC and copy it over, it needs to be compiled on the dev machine (it's using a different kind of processor). Have fun (and no, I will not be tech support for this)
Can't you cross-compile?

Yes, but you will need a Cortex-A53 cross compiler. That's not what I targeted that at though. I was targeting that at people who were likely going to say "I'm writing my code on my windows (or linux) machine so I can use eclipse, but nothing will run. Your VM is broken!"

[+] 2 users Like phyrrus9's post
Reply

RE: ARM development virtual machine #4
Nice thank you man, Will check it out.
Die  But Don't Lie
“Oh Abu Dharr! Don’t look at the smallness of the sin but look at the one you disobeyed.” Prophet Muhammad (pbuh)
[Image: p_237m2jx1.png]
Click for Free VPN

Reply

RE: ARM development virtual machine #5
(03-20-2018, 09:59 PM)phyrrus9 Wrote:
(03-20-2018, 09:54 PM)Ender Wrote: Thanks, downloaded.

Not necessarily 'Linux' command line, but general POSIX command line.
Also...
Quote:This is also a development machine, so you can't compile something on your normal PC and copy it over, it needs to be compiled on the dev machine (it's using a different kind of processor). Have fun (and no, I will not be tech support for this)
Can't you cross-compile?

Yes, but you will need a Cortex-A53 cross compiler. That's not what I targeted that at though. I was targeting that at people who were likely going to say "I'm writing my code on my windows (or linux) machine so I can use eclipse, but nothing will run. Your VM is broken!"

Dude, it can't run my i4004 code, I think it's broken


(11-02-2018, 02:51 AM)Skullmeat Wrote: Ok, there no real practical reason for doing this, but that's never stopped me.

Reply

RE: ARM development virtual machine #6
(03-20-2018, 10:49 PM)Ender Wrote:
(03-20-2018, 09:59 PM)phyrrus9 Wrote:
(03-20-2018, 09:54 PM)Ender Wrote: Thanks, downloaded.

Not necessarily 'Linux' command line, but general POSIX command line.
Also...
Can't you cross-compile?

Yes, but you will need a Cortex-A53 cross compiler. That's not what I targeted that at though. I was targeting that at people who were likely going to say "I'm writing my code on my windows (or linux) machine so I can use eclipse, but nothing will run. Your VM is broken!"

Dude, it can't run my i4004 code, I think it's broken

Technically with the new update you can (since it has code emulation as part of a gef addon)

Reply

RE: ARM development virtual machine #7
(03-20-2018, 11:09 PM)phyrrus9 Wrote:
(03-20-2018, 10:49 PM)Ender Wrote:
(03-20-2018, 09:59 PM)phyrrus9 Wrote: Yes, but you will need a Cortex-A53 cross compiler. That's not what I targeted that at though. I was targeting that at people who were likely going to say "I'm writing my code on my windows (or linux) machine so I can use eclipse, but nothing will run. Your VM is broken!"

Dude, it can't run my i4004 code, I think it's broken

Technically with the new update you can (since it has code emulation as part of a gef addon)

Perfect, MIPS time.


(11-02-2018, 02:51 AM)Skullmeat Wrote: Ok, there no real practical reason for doing this, but that's never stopped me.

Reply

RE: ARM development virtual machine #8
(03-21-2018, 01:10 AM)Ender Wrote:
(03-20-2018, 11:09 PM)phyrrus9 Wrote:
(03-20-2018, 10:49 PM)Ender Wrote: Dude, it can't run my i4004 code, I think it's broken

Technically with the new update you can (since it has code emulation as part of a gef addon)

Perfect, MIPS time.

Why not just make an MIPS VM with the same stuff......

Reply

RE: ARM development virtual machine #9
(03-21-2018, 02:06 AM)phyrrus9 Wrote:
(03-21-2018, 01:10 AM)Ender Wrote:
(03-20-2018, 11:09 PM)phyrrus9 Wrote: Technically with the new update you can (since it has code emulation as part of a gef addon)

Perfect, MIPS time.

Why not just make an MIPS VM with the same stuff......

Because I don't want Debian


(11-02-2018, 02:51 AM)Skullmeat Wrote: Ok, there no real practical reason for doing this, but that's never stopped me.

Reply

RE: ARM development virtual machine #10
(03-21-2018, 02:08 AM)Ender Wrote:
(03-21-2018, 02:06 AM)phyrrus9 Wrote:
(03-21-2018, 01:10 AM)Ender Wrote: Perfect, MIPS time.

Why not just make an MIPS VM with the same stuff......

Because I don't want Debian

Then don't choose debian?

Reply