Commit 321f86e18d6aae9f7b7ba3ef1eb0cec769481874
ARM: zynq: disable CONFIG_SYS_MALLOC_F to fix MMC boot
Since commit 326a682358c1 (malloc_f: enable SYS_MALLOC_F by default if DM is on), Zynq MMC boot hangs up after printing the following: U-Boot SPL 2015.04-rc5-00053-gadcc570 (Apr 08 2015 - 12:59:11) mmc boot reading system.dtb Prior to commit 326a682358c1, Zynq boards enabled CONFIG_DM, but not CONFIG_SYS_MALLOC_F. That commit forcibly turned on CONFIG_SYS_MALLOC_F. I have not figured out the root cause, but anyway it looks like CONFIG_SYS_MALLOC_F gave a bad impact on the Zynq MMC boot. We are planning to have the v2015.04 release in a few days. I know this is a defensive fixup, but what I can do now is to add # CONFIG_SYS_MALLOC_F is not set to every Zynq defconfig file to get back the original behavior. Tested on: - Zedboard - ZC706 board Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by: Michal Simek <michal.simek@xilinx.com> Cc: Simon Glass <sjg@chromium.org>
Showing 7 changed files with 7 additions and 0 deletions Inline Diff
1 | CONFIG_SPL=y | 1 | CONFIG_SPL=y |
2 | CONFIG_ARM=y | 2 | CONFIG_ARM=y |
3 | CONFIG_ZYNQ=y | 3 | CONFIG_ZYNQ=y |
4 | CONFIG_TARGET_ZYNQ_MICROZED=y | 4 | CONFIG_TARGET_ZYNQ_MICROZED=y |
5 | CONFIG_OF_CONTROL=y | 5 | CONFIG_OF_CONTROL=y |
6 | # CONFIG_SYS_MALLOC_F is not set | ||
6 | CONFIG_FIT=y | 7 | CONFIG_FIT=y |
7 | CONFIG_FIT_VERBOSE=y | 8 | CONFIG_FIT_VERBOSE=y |
8 | CONFIG_FIT_SIGNATURE=y | 9 | CONFIG_FIT_SIGNATURE=y |
9 | CONFIG_DM=y | 10 | CONFIG_DM=y |
10 | CONFIG_DEFAULT_DEVICE_TREE="zynq-microzed" | 11 | CONFIG_DEFAULT_DEVICE_TREE="zynq-microzed" |
11 | 12 |
1 | CONFIG_SPL=y | 1 | CONFIG_SPL=y |
2 | CONFIG_ARM=y | 2 | CONFIG_ARM=y |
3 | CONFIG_ZYNQ=y | 3 | CONFIG_ZYNQ=y |
4 | CONFIG_TARGET_ZYNQ_ZC70X=y | 4 | CONFIG_TARGET_ZYNQ_ZC70X=y |
5 | CONFIG_OF_CONTROL=y | 5 | CONFIG_OF_CONTROL=y |
6 | CONFIG_DEFAULT_DEVICE_TREE="zynq-zc702" | 6 | CONFIG_DEFAULT_DEVICE_TREE="zynq-zc702" |
7 | # CONFIG_SYS_MALLOC_F is not set | ||
7 | CONFIG_FIT=y | 8 | CONFIG_FIT=y |
8 | CONFIG_FIT_VERBOSE=y | 9 | CONFIG_FIT_VERBOSE=y |
9 | CONFIG_FIT_SIGNATURE=y | 10 | CONFIG_FIT_SIGNATURE=y |
10 | CONFIG_DM=y | 11 | CONFIG_DM=y |
11 | 12 |
1 | CONFIG_SPL=y | 1 | CONFIG_SPL=y |
2 | CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM010" | 2 | CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM010" |
3 | CONFIG_ARM=y | 3 | CONFIG_ARM=y |
4 | CONFIG_ZYNQ=y | 4 | CONFIG_ZYNQ=y |
5 | CONFIG_TARGET_ZYNQ_ZC770=y | 5 | CONFIG_TARGET_ZYNQ_ZC770=y |
6 | CONFIG_OF_CONTROL=y | 6 | CONFIG_OF_CONTROL=y |
7 | CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm010" | 7 | CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm010" |
8 | # CONFIG_SYS_MALLOC_F is not set | ||
8 | CONFIG_FIT=y | 9 | CONFIG_FIT=y |
9 | CONFIG_FIT_VERBOSE=y | 10 | CONFIG_FIT_VERBOSE=y |
10 | CONFIG_FIT_SIGNATURE=y | 11 | CONFIG_FIT_SIGNATURE=y |
11 | CONFIG_DM=y | 12 | CONFIG_DM=y |
12 | 13 |
1 | CONFIG_SPL=y | 1 | CONFIG_SPL=y |
2 | CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM012" | 2 | CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM012" |
3 | CONFIG_ARM=y | 3 | CONFIG_ARM=y |
4 | CONFIG_ZYNQ=y | 4 | CONFIG_ZYNQ=y |
5 | CONFIG_TARGET_ZYNQ_ZC770=y | 5 | CONFIG_TARGET_ZYNQ_ZC770=y |
6 | CONFIG_OF_CONTROL=y | 6 | CONFIG_OF_CONTROL=y |
7 | CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm012" | 7 | CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm012" |
8 | # CONFIG_SYS_MALLOC_F is not set | ||
8 | CONFIG_FIT=y | 9 | CONFIG_FIT=y |
9 | CONFIG_FIT_VERBOSE=y | 10 | CONFIG_FIT_VERBOSE=y |
10 | CONFIG_FIT_SIGNATURE=y | 11 | CONFIG_FIT_SIGNATURE=y |
11 | CONFIG_DM=y | 12 | CONFIG_DM=y |
12 | 13 |
1 | CONFIG_SPL=y | 1 | CONFIG_SPL=y |
2 | CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM013" | 2 | CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM013" |
3 | CONFIG_ARM=y | 3 | CONFIG_ARM=y |
4 | CONFIG_ZYNQ=y | 4 | CONFIG_ZYNQ=y |
5 | CONFIG_TARGET_ZYNQ_ZC770=y | 5 | CONFIG_TARGET_ZYNQ_ZC770=y |
6 | CONFIG_OF_CONTROL=y | 6 | CONFIG_OF_CONTROL=y |
7 | CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm013" | 7 | CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm013" |
8 | # CONFIG_SYS_MALLOC_F is not set | ||
8 | CONFIG_FIT=y | 9 | CONFIG_FIT=y |
9 | CONFIG_FIT_VERBOSE=y | 10 | CONFIG_FIT_VERBOSE=y |
10 | CONFIG_FIT_SIGNATURE=y | 11 | CONFIG_FIT_SIGNATURE=y |
11 | CONFIG_DM=y | 12 | CONFIG_DM=y |
12 | 13 |
1 | CONFIG_SPL=y | 1 | CONFIG_SPL=y |
2 | CONFIG_ARM=y | 2 | CONFIG_ARM=y |
3 | CONFIG_ZYNQ=y | 3 | CONFIG_ZYNQ=y |
4 | CONFIG_TARGET_ZYNQ_ZED=y | 4 | CONFIG_TARGET_ZYNQ_ZED=y |
5 | CONFIG_OF_CONTROL=y | 5 | CONFIG_OF_CONTROL=y |
6 | CONFIG_DEFAULT_DEVICE_TREE="zynq-zed" | 6 | CONFIG_DEFAULT_DEVICE_TREE="zynq-zed" |
7 | # CONFIG_SYS_MALLOC_F is not set | ||
7 | CONFIG_FIT=y | 8 | CONFIG_FIT=y |
8 | CONFIG_FIT_VERBOSE=y | 9 | CONFIG_FIT_VERBOSE=y |
9 | CONFIG_FIT_SIGNATURE=y | 10 | CONFIG_FIT_SIGNATURE=y |
10 | CONFIG_DM=y | 11 | CONFIG_DM=y |
11 | 12 |
1 | CONFIG_SPL=y | 1 | CONFIG_SPL=y |
2 | CONFIG_ARM=y | 2 | CONFIG_ARM=y |
3 | CONFIG_ZYNQ=y | 3 | CONFIG_ZYNQ=y |
4 | CONFIG_TARGET_ZYNQ_ZYBO=y | 4 | CONFIG_TARGET_ZYNQ_ZYBO=y |
5 | CONFIG_OF_CONTROL=y | 5 | CONFIG_OF_CONTROL=y |
6 | CONFIG_DEFAULT_DEVICE_TREE="zynq-zybo" | 6 | CONFIG_DEFAULT_DEVICE_TREE="zynq-zybo" |
7 | # CONFIG_SYS_MALLOC_F is not set | ||
7 | CONFIG_FIT=y | 8 | CONFIG_FIT=y |
8 | CONFIG_FIT_VERBOSE=y | 9 | CONFIG_FIT_VERBOSE=y |
9 | CONFIG_FIT_SIGNATURE=y | 10 | CONFIG_FIT_SIGNATURE=y |
10 | CONFIG_DM=y | 11 | CONFIG_DM=y |
11 | 12 |
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0
-
mentioned in commit 5553f0