• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修订版b82c7c32efcba76164c966733002c7c8528b005d (tree)
时间2019-01-10 00:55:42
作者Soeren Moch <smoch@web....>
CommiterStefano Babic

Log Message

board: tbs2910: Add u-boot.imx size limit check

Check the size of the generated u-boot.imx file. Report an error
if it would be too big and overwrite the u-boot environment.

Signed-off-by: Soeren Moch <smoch@web.de>

更改概述

差异

--- a/include/configs/tbs2910.h
+++ b/include/configs/tbs2910.h
@@ -122,6 +122,8 @@
122122 #define CONFIG_ENV_OFFSET (384 * 1024)
123123 #define CONFIG_ENV_OVERWRITE
124124
125+#define CONFIG_BOARD_SIZE_LIMIT 392192 /* (CONFIG_ENV_OFFSET - 1024) */
126+
125127 #define CONFIG_EXTRA_ENV_SETTINGS \
126128 "bootargs_mmc1=console=ttymxc0,115200 di0_primary console=tty1\0" \
127129 "bootargs_mmc2=video=mxcfb0:dev=hdmi,1920x1080M@60 " \