KernelDriverProgrammingCourse2015/OutlineDay1

From RevSpace
Revision as of 14:56, 25 July 2015 by Hans de Goede (talk | contribs) (Created page with "== Kernel Driver Programming Course Day 1 == # Intro ## Welcome ## I'm going to dump a lot of information on you, don't worry you do not need to remember it all :) ## Quick...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Kernel Driver Programming Course Day 1

  1. Intro
    1. Welcome
    2. I'm going to dump a lot of information on you, don't worry you do not need to remember it all :)
    3. Quickly explain of different Axx models
    4. A10 Datasheet Block diagram (page 12), give a quick overview of the A10
  2. A10 SoC dtsi file (example)
    1. sun4i-a10.dtsi
    2. For a list of addresses see the A10 user manual, section 3.2 "Memory mapping", and 11.2 "Interrupt Source"
    3. For clock tree info see: A10 Datasheet Clock tree diagram (pages 51 - 54)
  3. dts file example for a simple board
    1. https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts | sun4i-a10-mini-xplus.dts]
  4. Hands on 1
    1. Everyone gets a board
    2. Build and install u-boot:
      1. Figure out the config to use for your board, do:
        cd u-boot
        grep -l SUNXI configs/*_defconfig
      2. Build u-boot for your board, do:
        make -j4 CROSS_COMPILE=arm-linux-gnu- $foo_defconfig
        make -j4 CROSS_COMPILE=arm-linux-gnu-