| #@TYPE: Machine |
| #@NAME: RaspberryPi 2 Development Board |
| #@DESCRIPTION: Machine configuration for the RaspberryPi 2 |
| |
| DEFAULTTUNE ?= "cortexa7thf-neon-vfpv4" |
| |
| require conf/machine/include/arm/armv7a/tune-cortexa7.inc |
| include conf/machine/include/rpi-base.inc |
| |
| SDIMG_KERNELIMAGE ?= "kernel7.img" |
| SERIAL_CONSOLES ?= "115200;ttyAMA0" |
| UBOOT_MACHINE = "rpi_2_config" |
| |
| ARMSTUB ?= "armstub7.bin" |
| |
| # |
| # Below are variables ONLY needed for running with Yocto/OE's runqemu script |
| # |
| IMAGE_CLASSES += "qemuboot" |
| |
| QB_SYSTEM_NAME = "qemu-system-arm" |
| QB_MACHINE = "-machine raspi2b" |
| QB_MEM = "-m 1024" |
| QB_DTB = "bcm2709-rpi-2-b.dtb" |
| QB_NET = "none" |
| QB_KERNEL_ROOT = "/dev/mmcblk0" |
| QB_KERNEL_CMDLINE_APPEND = "rootwait" |
| QB_RNG = "" |
| QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=sd,format=raw" |
| QB_DEFAULT_FSTYPE = "ext3" |