[U-Boot] Build failure in u-boot-mmc/master: undefined reference to error
Stephen Warren
swarren at wwwdotorg.org
Mon Oct 23 15:22:11 UTC 2017
On 10/22/2017 08:53 PM, Jaehoon Chung wrote:
> Dear Stephen,
>
> On 10/21/2017 12:47 AM, Stephen Warren wrote:
>> With the latest content of u-boot-mmc/master, 41dc35a149b3 "drivers: mmc: Avoid memory leak in case of failure", all Tegra boards (perhaps others too; my system only tests Tegra) fail to build with the following error:
>
> I had found the same error at build testing, I will fix it on today.
> Thanks for noticing it.
Thanks.
I see that the build failures are fixed now, but the following
unit-tests are failing on sandbox:
test_ut[ut_dm_blk_base]
test_ut[ut_dm_blk_devnum]
test_ut[ut_dm_blk_get_from_parent]
test_ut[ut_dm_mmc_base]
test_ut[ut_dm_mmc_blk]
For example:
> => ut dm blk_base
> Test: dm_test_blk_base: blk.c
> unable to select a mode
> mmc_init: -524, time 6
> /var/lib/jenkins/workspace/u-boot-denx_uboot_mmc-master-build/src/u-boot/test/dm/blk.c:40, dm_test_blk_base(): 0 == blk_first_device(IF_TYPE_HOST, &dev): Expected 0, got -524
> Test: dm_test_blk_base: blk.c (flat tree)
> unable to select a mode
> mmc_init: -524, time 6
> /var/lib/jenkins/workspace/u-boot-denx_uboot_mmc-master-build/src/u-boot/test/dm/blk.c:40, dm_test_blk_base(): 0 == blk_first_device(IF_TYPE_HOST, &dev): Expected 0, got -524
> Failures: 2
You should be able to reproduce this by running the following from the
U-Boot source tree:
./test/py/test.py --bd sandbox --build
More information about the U-Boot
mailing list