summaryrefslogtreecommitdiff
path: root/distribution/yocto-advanced/meta-schulung-extended/recipes-bsp/u-boot/files/0001-setup-bootcmd-for-tftp.patch
blob: 18b0171ccc002874ec12473f079f2eb7ecd695ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 284f9ad599ec5809ba9c06d4ba5945f4e9d0a369 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: Fri, 19 May 2017 23:10:09 +0200
Subject: [PATCH] setup bootcmd for tftp

Signed-off-by: Your Name <you@example.com>
---
 include/configs/vexpress_common.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/configs/vexpress_common.h b/include/configs/vexpress_common.h
index 0bc4ea5..da37125 100644
--- a/include/configs/vexpress_common.h
+++ b/include/configs/vexpress_common.h
@@ -186,8 +186,7 @@
 
 /* Basic environment settings */
 #define CONFIG_BOOTCOMMAND \
-	"run distro_bootcmd; " \
-	"run bootflash; "
+	"fatload mmc 0 0x64000000 image.fit; setenv bootargs console=ttyAMA0,115200 root=/dev/mmcblk0p2 ip=192.168.7.2::192.168.7.1:255.255.255.0; bootm 0x64000000"
 
 #define BOOT_TARGET_DEVICES(func) \
         func(MMC, mmc, 1) \
-- 
2.1.4