2571
Kommentar:
|
3214
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 110: | Zeile 110: |
1. When was the Linux project started? #. Which three main jobs has the kernel? #. Describe the structure of *user space* and *kernel space* and how they interact. #. How does kernel version numbering work? What kernel version do you use? #. What are *mainline*, *stable* and *long-term* kernels? #. How is the kernel licensed? Can you run proprietary (closed) applications in user space? #. Questions about the kernel sources 1. How many files has the current kernel for your board? #. How does the kernel configuration work? #. How do you run ``menuconfig`` for cross-compilation? |
Questions for the textbook
Chris Simmonds, Mastering Embedded Linux Programming, Packt Publishing 2015
<Hubert.Hoegl@hs-augsburg.de>, April 2016
Chapter 1: Starting Out
Pages 1 to 12.
- Why does your TV run Linux? (6 item points)
- What hardware conditions must be given to run Linux?
- What skills do you need to start a Linux project?
- What are the main players?
- Name the "four elements"
- What do you know about Open-Source licenses?
- Beagle Bone Black. Write down the main technical data.
- What is Qemu? How can I use it?
- For which purpose do you need the uml-utilities?
Chapter 2: Learning About Toolchains
Pages 13 to 39.
- Which components are in the standard GNU toolchain?
- Compare native and cross toolchains.
- What are the capabilities of the target CPU, which are essential for the toolchain?
- What reports the command gcc -dumpmachine?
- Which C libraries do you know?
- Which alternatives do you know to get a toolchain?
- Create a toolchain using crosstool-ng!
- Follow the istructions in the "Anatomy of a toolchain" section.
- How do you cross-compile a program?
- How do you compile a program which uses the GNU autotools?
Chapter 3: All about bootloaders
Pages 41 to 68.
- Describe the three phases of booting.
- Which information is passed from bootloader to kernel?
- What is a "device tree"?
- From which technology are the device trees derived?
Device tree basics
XXX add a device tree example here which should be explained (reg, phandles, interrupts, include files, compiling a DT)
- Which bootloaders do you know? (which is the most widely used?)
- Describe the steps needed to compile and install U-Boot.
Describe how to use U-Boot? Cover the following items:
- Environment variables
- Boot image format
- Loading images from cards and network
- Start the Linux kernel
- How can you automated the boot process?
- Which are the board specific U-Boot files?
- How to build the Barebox bootloader?
Chapter 4: Porting and configuring the kernel
Pages 69 to 94.
- When was the Linux project started?
- Which three main jobs has the kernel?
- Describe the structure of user space and kernel space and how they interact.
- How does kernel version numbering work? What kernel version do you use?
- What are mainline, stable and long-term kernels?
- How is the kernel licensed? Can you run proprietary (closed) applications in user space?
Questions about the kernel sources
- How many files has the current kernel for your board?
- How does the kernel configuration work?
- How do you run menuconfig for cross-compilation?