# Linux Kernel Module Cheat

### 24.19. gem5 upstream images

Present at:

- http://www.gem5.org/dist/current/arm/

- http://www.gem5.org/dist/current/x86/

Depending on which archive you download from there, you can find some of:

- Ubuntu based images

- precompiled Linux kernels, with the gem5 arm Linux kernel patches for arm

- precompiled gem5 bootloaders for ISAs that have them, e.g. ARM

- precompiled DTBs if you don’t want to use autogeneration for some crazy reason

Some of those images are also used on the gem5 unit tests continuous integration.

Could be used as an alternative to this repository. But why would you do that? :-)

E.g. to use a precompiled ARM kernel:

    mkdir aarch-system-201901106
    cd aarch-system-201901106
    wget http://dist.gem5.org/dist/current/arm/aarch-system-201901106.tar.bz2
    tar xvf aarch-system-201901106.tar.bz2
    cd ..
    ./run --arch aarch64 --emulator gem5 --linux-exec aarch-system-201901106/binaries/vmlinux.arm64