Group teaching

Welcome to the web pages for the INF3151 groups, autumn 2010. This will be the primary channel for getting information from the TA (gruppel?rar) to the students.

 

You are welcome to attend either group, regardless of which group you belong to. It is also possible for teams to belong to different groups.

 This course has some precode, and it is important to have a firm grasp on that code. I will therefore do a discussion of the precode shortly after each project has been made available. I will give notice here on this page, and when possible at the lectures. So please check this page regularly for important information.

If you have questions or suggestions please contact your TA when you see him, or on email.

TAs this year are:

Ivar Refsdal, email: ivarref alfakr?ll student.uio.no

Jon Anders Skorpen, email: jonas alfakr?ll ifi.uio.no

Please include INF3151 or INF4151 in the subject of the email.

 

Design review group 1

View available times

 

Send an email to jonas alfakr?ll ifi.uio.no to make an appointment.

Design review group 2

View taken/available times

Send an email to ivarref alfakr?ll student.uio.no to make an appointment. Please include a desired time range as well as the filename your group sent in.

Tools

Bochs and some other tools are located in /hom/inf3151/tools/

If you add /hom/inf3151/tools/bin to your PATH you will be able to run bochs in the terminal. This bin-path should be added to the end of the PATH.

A working configuration file is located in: /hom/inf3151/tools/bochs/bochsrc.txt

Bochs command names:

bochs   - just normal bochs, nothing extra. Config file: You need to disable magic_break and gdbstub enabled=0.

bochsi   - bochs with internal debugger. Config file: Make sure magic_break is enabled.

bochsd  - bochs with gdb support. Config file: Set gdbstub enabled=1.

All these settings are provided in the sample config file, so just search for the different keywords and you will see the precise details.

 Qemu

To debug using qemu and gdb, put something like:

file kernel

target remote | exec qemu -gdb stdio -no-fd-bootchk -fda image

in a file called .gdbinit in the directory where you have your implementation. From now, each time you run gdb, qemu will start, and break at the first intstruction.

Messages

...

Teaching plan

Week Summary Resources
1

From source code to running program.

A subset of the ELF-header.

Help people get into teams.

SRCtoMEM.pdf

elf-intro.pdf

Elf.pdf

Floppy.pdf

2

The PC-architecture. Intel 32-bit Architecture.

Real mode and real mode memory.

Hello, World! and cpuid in assembly language.

time2.pdf

fun.tar.gz

3   time3.pdf
4   time4.pdf

 Resources

TA's - Tips & tricks

Published Aug. 27, 2010 3:34 PM - Last modified Sep. 9, 2013 10:26 AM