From b047b393eecb0b9aeebb056ef5ee585a99940ba8 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Fri, 23 Aug 2019 00:34:40 +0800 Subject: [PATCH] Rename sama5d4_loader and update new sam-ba script --- linux-bsp/patches/at91bootstrap-sama5d4.patch | 26 ++++++++++++++------------ 1 files changed, 14 insertions(+), 12 deletions(-) diff --git a/linux-bsp/patches/at91bootstrap-sama5d4.patch b/linux-bsp/patches/at91bootstrap-sama5d4.patch index 729c735..d88e7c0 100644 --- a/linux-bsp/patches/at91bootstrap-sama5d4.patch +++ b/linux-bsp/patches/at91bootstrap-sama5d4.patch @@ -1,7 +1,7 @@ diff -Nuar at91bootstrap/build.sh at91bootstrap-sama5d4/build.sh --- at91bootstrap/build.sh 1970-01-01 08:00:00.000000000 +0800 -+++ at91bootstrap-sama5d4/build.sh 2019-08-04 22:38:17.093670157 +0800 -@@ -0,0 +1,69 @@ ++++ at91bootstrap-sama5d4/build.sh 2019-08-22 19:29:04.983275344 +0800 +@@ -0,0 +1,71 @@ +#!/bin/bash + +BOARD=sama5d4 @@ -18,6 +18,7 @@ + make CROSS_COMPILE=${CROSSTOOL} mrproper + find -iname "*.pyc" | xargs rm -rf {} \; + rm -f $IMG_NAME ++ rm -f cscope* tags +} + +function do_modify() @@ -34,7 +35,8 @@ + +function do_build() +{ -+ if [ ! -f .confg ] ; then ++ if [ ! -f .config ] ; then ++ echo "cp .cfg-${BOARD} .config" + cp .cfg-${BOARD} .config + fi + @@ -73,11 +75,11 @@ + diff -Nuar at91bootstrap/.cfg-sama5d4 at91bootstrap-sama5d4/.cfg-sama5d4 --- at91bootstrap/.cfg-sama5d4 1970-01-01 08:00:00.000000000 +0800 -+++ at91bootstrap-sama5d4/.cfg-sama5d4 2019-08-04 22:39:19.309671350 +0800 ++++ at91bootstrap-sama5d4/.cfg-sama5d4 2019-08-23 00:01:11.723588530 +0800 @@ -0,0 +1,274 @@ +# +# Automatically generated make config: don't edit -+# Sun Aug 4 22:19:10 2019 ++# Thu Aug 22 23:43:05 2019 +# +HAVE_DOT_CONFIG=y +# CONFIG_AT91SAM9260EK is not set @@ -212,9 +214,9 @@ +CONFIG_TWI1=y +CONFIG_TWI2=y +CONFIG_TWI3=y -+CONFIG_MACB=y ++# CONFIG_MACB is not set +# CONFIG_AES is not set -+CONFIG_LOAD_HW_INFO=y ++# CONFIG_LOAD_HW_INFO is not set +CPU_HAS_TWI0=y +CPU_HAS_TWI1=y +CPU_HAS_TWI2=y @@ -289,7 +291,7 @@ +# +# U-Boot Image Storage Setup +# -+CONFIG_IMG_SIZE="0x000a0000" ++CONFIG_IMG_SIZE="0x00080000" +CONFIG_DEBUG=y +CONFIG_DEBUG_INFO=y +# CONFIG_DEBUG_LOUD is not set @@ -321,8 +323,8 @@ +# +# Select the Devices to the Low-power mode +# -+CONFIG_MAC0_PHY=y -+CONFIG_HDMI=y ++# CONFIG_MAC0_PHY is not set ++# CONFIG_HDMI is not set +CONFIG_PM_PMIC=y +# CONFIG_BACKUP_MODE is not set + @@ -337,7 +339,7 @@ +# +# Board Hardware Information Options +# -+CONFIG_LOAD_EEPROM=y ++# CONFIG_LOAD_EEPROM is not set +CONFIG_AUTOCONFIG_TWI_BUS=y + +# @@ -351,7 +353,7 @@ +CONFIG_PMC=y diff -Nuar at91bootstrap/Makefile at91bootstrap-sama5d4/Makefile --- at91bootstrap/Makefile 2019-08-02 17:30:35.000000000 +0800 -+++ at91bootstrap-sama5d4/Makefile 2019-08-04 22:30:49.613661573 +0800 ++++ at91bootstrap-sama5d4/Makefile 2019-08-22 19:29:04.983275344 +0800 @@ -119,6 +119,7 @@ HOSTARCH := $(shell uname -m | sed -e s/arm.*/arm/) -- Gitblit v1.9.1