SAMA5D4 Xplained Ultra Board BSP
26c06979cd0a2f143732faa48329b9d4e2236d24..f8f05031c8278c8ad6dd18714c2a82d930dbfcbd
2019-08-24 guowenxue
update setup_env shell script, fix set -e bug
f8f050 diff | tree
2019-08-24 guowenxue
update patch file cross compiler
99dd9b diff | tree
3 files modified
13 ■■■■ changed files
linux-bsp/patches/at91bootstrap-sama5d4.patch 2 ●●● patch | view | raw | blame | history
linux-bsp/patches/u-boot-at91-sama5d4.patch 2 ●●● patch | view | raw | blame | history
tools/setup_env.sh 9 ●●●●● patch | view | raw | blame | history
linux-bsp/patches/at91bootstrap-sama5d4.patch
@@ -358,7 +358,7 @@
 
 HOSTARCH := $(shell uname -m | sed -e s/arm.*/arm/)
 
+CROSS_COMPILE=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi-
+CROSS_COMPILE=/opt/buildroot/cortex-a5/bin/arm-linux-
 AS=$(CROSS_COMPILE)gcc
 CC=$(CROSS_COMPILE)gcc
 LD=$(CROSS_COMPILE)ld
linux-bsp/patches/u-boot-at91-sama5d4.patch
@@ -188,7 +188,7 @@
 #########################################################################
 
+ARCH=arm
+CROSS_COMPILE=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi-
+CROSS_COMPILE=/opt/buildroot/cortex-a5/bin/arm-linux-
+
 # set default to nothing for native builds
 ifeq ($(HOSTARCH),$(ARCH))
tools/setup_env.sh
@@ -7,8 +7,6 @@
LYFTP_PUB=ftp://master.iot-yun.club/pub/
set -e
function sudo_banner()
{
    if [ `id -u` != 0 ] ; then
@@ -29,6 +27,7 @@
function prepare_instpath()
{
    if [ -w /apps -a -w /opt ] ; then
        msg_banner "Install path [/apps and /opt] already setup, skip it"
        return ;
    fi
@@ -47,8 +46,11 @@
{
    mkimage -V > /dev/null 2>&1
    if [ $? == 0 ] ;  then
        msg_banner "All development system tools already installed, skip it"
        return 0;
    fi
    msg_banner "start apt-get install system devlopment tools(commands)"
    systools="gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat \
        libsdl1.2-dev xterm sed cvs subversion coreutils texi2html docbook-utils python-pysqlite2 \
@@ -57,7 +59,6 @@
    devtools="u-boot-tools mtd-utils device-tree-compiler"
    msg_banner "start apt-get install system devlopment tools(commands)"
    sudo_banner
@@ -122,8 +123,6 @@
prepare_instpath
install_systools
#install_crosstool
install_buildroot