[U-Boot] U-Boot 2019.01-rc1-00337-g42cc2cf partition table issues on imx6

Petr Štetiar ynezz at true.cz
Sun Dec 16 10:52:00 UTC 2018


Petr Štetiar <ynezz at true.cz> [2018-12-16 01:20:07]:

> 	U-Boot 2019.01-rc1-00337-g42cc2cf (Dec 16 2018 - 01:02:22 +0100)
> 	Model: Toradex Apalis iMX6 Quad 2GB IT V1.1A, Serial# 04875944
> 
> 	# mmc dev 0
> 	switch to partitions #0, OK
> 	mmc0(part 0) is current device
> 
> 	# load mmc 0:1 ${loadaddr} ${script}
> 	** No partition table - mmc 0 **

I've bisected it down to the following commit:

  commit d0851c8937067ad396f2bdafc46d0326bf3317db
  Author: Bin Meng <bmeng.cn at gmail.com>
  Date:   Mon Oct 15 02:21:07 2018 -0700
  
      blk: Call part_init() in the post_probe() method
      
      part_init() is currently called in every DM BLK driver, either
      in its bind() or probe() method. However we can use the BLK
      uclass driver's post_probe() method to do it automatically.
      
      Update all DM BLK drivers to adopt this change.
      
      Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
      Reviewed-by: Simon Glass <sjg at chromium.org>

I've looked at it and it seems, that it's happening because blk_post_probe
isn't called.

-- ynezz


More information about the U-Boot mailing list