This commit is contained in:
Igor Pečovnik
2014-10-10 14:01:13 +02:00
parent 92f8d08f2c
commit 290bdb36dc

View File

@@ -1,12 +1,14 @@
#!/bin/bash
#
# Board definitions
#
case $BOARD in
cubieboard | cubietruck)
###########################################################################
### cubieboard | cubietruck ###
###########################################################################
#--------------------------------------------------------------------------------------------------------------------------------
# Cubieboards 3.4.x
#--------------------------------------------------------------------------------------------------------------------------------
BOOTLOADER="https://github.com/patrickhwood/u-boot -b pat-cb2-ct"
BOOTSOURCE="u-boot-sunxi"
BOOTCONFIG="cubietruck"
@@ -28,12 +30,13 @@ MISC3_DIR="rtl8192cu-fixes"
MISC4="https://github.com/notro/fbtft"
MISC4_DIR="$LINUXSOURCE/drivers/video/fbtft"
;;
#--------------------------------------------------------------------------------------------------------------------------------
cubietruck-next)
###########################################################################
### cubietruck mainline kernel ###
###########################################################################
#--------------------------------------------------------------------------------------------------------------------------------
# Cubieboards mainline kernel / experimental
#--------------------------------------------------------------------------------------------------------------------------------
BOOTLOADER="https://github.com/jwrdegoede/u-boot-sunxi"
BOOTSOURCE="u-boot-sunxi-next"
BOOTCONFIG="Cubietruck_defconfig"
@@ -55,11 +58,11 @@ MISC4="https://github.com/notro/fbtft"
MISC4_DIR="$LINUXSOURCE/drivers/video/fbtft"
;;
bananapi-next)
###########################################################################
### bananapi mainline kernel ###
###########################################################################
bananapi-next)
#--------------------------------------------------------------------------------------------------------------------------------
# bananapi mainline kernel / experimental
#--------------------------------------------------------------------------------------------------------------------------------
BOOTLOADER="https://github.com/jwrdegoede/u-boot-sunxi"
BOOTSOURCE="u-boot-sunxi-next"
BOOTCONFIG="Bananapi_config"
@@ -83,10 +86,9 @@ MISC4_DIR="$LINUXSOURCE/drivers/video/fbtft"
bananapi)
###########################################################################
### bananapi ###
###########################################################################
#--------------------------------------------------------------------------------------------------------------------------------
# Bananapi cubieboard based 3.4.x
#--------------------------------------------------------------------------------------------------------------------------------
BOOTLOADER="https://github.com/LeMaker/u-boot-bananapi"
BOOTSOURCE="u-boot-banana"
BOOTCONFIG="Bananapi_config"
@@ -110,11 +112,11 @@ MISC4="https://github.com/notro/fbtft"
MISC4_DIR="$LINUXSOURCE/drivers/video/fbtft"
;;
cubox-i)
###########################################################################
### cubox-i & hummingboard ###
###########################################################################
cubox-i)
#--------------------------------------------------------------------------------------------------------------------------------
# cubox-i & hummingboard 3.14.xx
#--------------------------------------------------------------------------------------------------------------------------------
BOOTLOADER="https://github.com/SolidRun/u-boot-imx6"
BOOTSOURCE="u-boot-cubox"
BOOTCONFIG="mx6_cubox-i_config"
@@ -135,7 +137,9 @@ MISC3_DIR="rt8192cu"
MISC4="https://github.com/notro/fbtft"
MISC4_DIR="$LINUXSOURCE/drivers/video/fbtft"
;;
*) echo "Board configuration not found"
exit
;;
esac
esac