This page describes the Android hwpacks configuration file syntax.

Android Hardware Packs Configuration File Syntax (V3)

The Android hwpack configuration file syntax is based on the YAML 1.1 syntax.

Remarks

Syntax Reference

Mandatory Fields

format

The format of the file, in this case has to be 3.0. Example:

format: 3.0

General Fields

android_specific_args

A list of android specific options. Example:

android_specific_args:
 - init=/init
 - androidboot.console=ttyO2
boot_script

Filename of the boot script to be created in the bootfs. Example:

boot_script: boot.scr
bootloader_file_in_boot_part

Boolean (True or False) indicating whether the bootloader file has to be copied in the boot partition. Example:

bootloader_file_in_boot_part: True
bootloader_flavor

The bootloader to use. Example:

bootloader_flavor: omap4_panda
dtb_addr

DTB address. It is assumed to be the same for all the bootloaders. Example:

dtb_addr: '0x815f0000'
dtb_name

The name of the DTB file. Example:

dtb_name: board.dtb
extra_boot_args_options

A sequence (list) of extra boot args to be passed. Example:

extra_boot_args_options:
 - earlyprintk
 - mem=128M@0
 - mali.mali_mem=64M@128M
 - hwmem=168M@192M
 - mem=22M@360M
extra_boot_options

A sequence (list) of extra options to be passed. Example:

extra_boot_options:
 - earlyprintk
 - fixrtc
 - nocompcache
 - vram=48M
 - omapfb.vram=0:24M
 - mem=456M@0x80000000
 - mem=512M@0xA0000000
extra_serial_opts

Sequence (list) of extra options to be passed. Example:

extra_serial_opts:
 - console=tty0
 - console=ttyO2,115200n8
fat_size

Example:

fat_size: 16
fdt_high

Example:

fdt_high: '0xFF11FFFF'
kernel_addr

Example:

kernel_addr: '0x80200000'
load_addr

Example:

load_addr: '0xFFFFEEFF'
initrd_addr

Example:

initrd_addr: '0x81600000'
initrd_high

Example:

initrd_high: '0xFFFFFFFF'
live_serial_options

A list of specific options. Example:

live_serial_options:
 - serialtty=%s
 - other_option

The %s placeholder, if used, will be substituted with the value from serial_tty.

load_addr

Example:

load_addr: '0x80008000'
mmc_option

Example:

mmc_option: '0x10101010'
serial_tty

Board serial device. Example:

serial_tty: tty01

Notes

AndroidHardwarePacksV3 (last modified 2013-08-22 09:02:12)