hwpack: convert bone_dtb -> --dtb am335x-bone (v3.7.x+)

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent 9940afd241
commit 4e2977257d

@ -0,0 +1,41 @@
#!/bin/bash
#Reference: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=tree;f=arch/arm/boot/dts;hb=refs/tags/v3.7
# --dtb am335x-bone (BeagleBone (v3.7.x):supported)
board="BEAGLEBONE_A"
SYSTEM="bone_dtb"
#Bootloader: http://rcn-ee.net/deb/tools/latest/bootloader-ng
#ABI2:${board}:SPL http://rcn-ee.net/deb/tools/beagleboard/MLO-beagleboard-v2012.10-r1
#ABI2:${board}:BOOT http://rcn-ee.net/deb/tools/beagleboard/u-boot-beagleboard-v2012.10-r1.img
bootloader_primary_http="http://rcn-ee.net/deb/tools/latest/"
#bootloader_backup_http="http://rcn-ee.homeip.net:81/dl/mirrors/deb/tools/latest/"
bootloader_latest_file="bootloader-ng"
bootloader_location="fatfs_boot"
boot_partition_size="64"
spl_name="MLO"
boot_name="u-boot.img"
boot_image="bootz"
boot_script="uEnv.txt"
boot_fstype="fat"
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap-psp
kernel_subarch="omap-psp"
kernel_repo="TESTING"
usbnet_mem=
kernel_addr="0x80300000"
initrd_addr="0x81600000"
load_addr="0x80008000"
dtb_addr="0x815f0000"
dtb_file="am335x-bone.dtb"
SERIAL="ttyO0"
SERIAL_CONSOLE="${SERIAL},115200n8"
SERIAL_MODE=1
USE_KMS=1

@ -1673,24 +1673,9 @@ function check_uboot_type {
USE_KMS=1
;;
bone_dtb)
SYSTEM="bone_dtb"
board="BEAGLEBONE_A"
is_omap
SERIAL="ttyO0"
SERIAL_CONSOLE="${SERIAL},115200n8"
dtb_file="am335x-bone.dtb"
need_dtbs=1
kernel_repo="TESTING"
kernel_subarch="omap-psp"
SERIAL_MODE=1
unset HAS_OMAPFB_DSS2
unset KMS_VIDEOA
#just to disable the omapfb stuff..
USE_KMS=1
echo "Note: [--dtb am335x-bone] now replaces [--uboot bone_dtb]"
source "${DIR}"/hwpack/am335x-bone.conf
convert_uboot_to_dtb_board
;;
igepv2)
SYSTEM="igepv2"

Loading…
Cancel
Save