We have seen about Elf files and Elf files.
The file format for executables, and we have also seen, uh, we have also seen that, uh, the CPU
can only understand binary instructions.
It cannot understand high level instructions.
Right.
So let's, uh, understand, uh, practically seeing, uh, how CPU works and how CPU executes instructions.
Let's directly try to execute some of the machine instructions and see how we can do it, uh, how CPU
actually works.
So for that, I will be doing some bare metal programming, the programming where there is no OS involved.
So then you can understand like what is happening about, uh, linker and what are the various sections
and all tech section, code section, data section, base rate, data section, text section and all.
Uh.
So for that we'll be setting up a, some will be installing some packages.
Uh, so we'll be setting up an ARM lab.
Uh, this is needed, uh, because we can easily understand, uh.
We have emulated on a schema which is capable of emulating various machines, including ARM.
But we will be doing for ARM will be writing assembly programs and compiling them using GNU toolchain,
and execute and test them in chemo.
The machine which we'll be using is, uh, conex board from Gumstick.
And it is having an architecture of ARM V5, which is an older architecture.
But for our understanding, we just need to understand we are not trying to implement something or we
want to understand in deep and we want to understand much, uh, machine instructions, how it works
and why we need all this and all.
So for that we will be using this board.
And the ARM core is a Pxa 255 and SoC is also ARM.
Uh, is like a pxa255.
So, uh, and we need some packages.
I will install this.
This is, uh, used to compile and generate binaries which we can run on the qemu.
I have already installed it.
Uh, if you run this command, it will show you what all, uh.
It is going to install whatever files it is installing.
So it is installing something in usr lib, uh, some plugins and it is doing a lot right.
And one more file which uh is needed.
Uh, it is, is the actual chemo system.
Um, so and this is also installed.
So chemo system um, emulates a lot of machines.
The machine which will be emulating is uh.
Convex convex board, uh, from gumstick.