#!/bin/bash
#http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=tree;f=arch/arm/boot/dts;hb=refs/tags/v3.8-rc5
# --dtb am335x-bone-video (BeagleBone (v3.8.x) Video Install (with cape adapter))
#Bootloader:
conf_board="BEAGLEBONE"
conf_bl_http="http://rcn-ee.net/deb/tools/latest"
conf_bl_listfile="bootloader-ng"
#Bootloader Partition:
bootloader_location="fatfs_boot"
boot_fstype="fat"
boot_partition_size="96"
use_sfdisk=1
spl_name="MLO"
boot_name="u-boot.img"
#Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ
#bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds
#conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
conf_uboot_CONFIG_CMD_FS_GENERIC=1
#uenvcmd avaiable?
conf_uboot_use_uenvcmd=1
#conf_uboot_no_uenvcmd="loaduimage"
#can the bootloader auto detect the device: (*.dtb)?
uboot_fdt_auto_detection=1
#Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap-psp
kernel_subarch="omap-psp"
kernel_repo="TESTING"
usbnet_mem=
#Kernel: Bootloader Settings:
conf_zreladdr="0x80008000"
#u-boot: conf_loadaddr="0x80200000" (locksup)
conf_loadaddr="0x80300000"
conf_fdtaddr="0x815f0000"
#u-boot:rdaddr="0x81000000"
#initrdaddr = 0x80200000 + 10(mb) * 10 0000 = 0x80C0 0000 (10MB)
#u-boot: conf_initrdaddr="0x81000000" (locksup)
conf_initrdaddr="0x81600000"
conf_fdtfile="am335x-bone.dtb"
need_dtbs=1
need_am335x_firmware=1
SERIAL="ttyO0"
SERIAL_CONSOLE="${SERIAL},115200n8"
USE_KMS=1
conf_note="Note: During the install use a 5Volt DC power supply as USB does not always provide enough power. If board locks up on boot run [sudo ifconfig usb0 up] on host."
conf_warning="ONBOARD Ethernet: dhcp ip retrieval is failing, please use external usb-ethernet during initial install till it can be fixed."