[meta-xilinx] Booting MPSoC from SD card

Mike Looijmans mike.looijmans at topic.nl
Thu Apr 6 06:29:50 PDT 2017


On 06-04-17 13:52, Jean-Francois Dagenais wrote:
>
>> 

Kind regards,

Mike Looijmans
System Expert

TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans at topicproducts.com
Website: www.topicproducts.com

Please consider the environment before printing this e-mail





On Mar 24, 2017, at 04:56, Mike Looijmans <mike.looijmans at topic.nl> wrote:
>>
>>
>> The remaining problem I still have is that pmufw kills the SD1 card controller.
>>
>> I have the SD card slot connected to SD1 (MIO46 etc). On SD0 there's an 8G eMMC chip.
>>
>> When running an old 4.6 kernel which doesn't require pmufw, both SD0 and SD1 work fine.
>>
>> Loading pmufw and running that old kernel makes SD1 fail, the kernel reports:
>>  mmc1: error -110 whilst initialising MMC card
>>
>> SD0 (the eMMC chip) keeps functioning okay apparently.
>>
>> On the newer xilinx/master 4.9 kernel, the pmufw is required, and the SD1 fails in the same way, preventing the system to boot from SD.
>
>
> This is exactly what I am getting (just sent another message on the list about it).
>
> I know you later mentionned that disabling ZYNQMP_PM_DOMAINS made it work. In my case, it doesn't.

I only tested that trick only on the 4.6 kernel.

> I will spend the next bit of effort in the PMUFW code to try to disable PM even more...

My guess is that there's a wrong bit value in the registers or so, some other 
periferal accidentally turning off the clock to the SD1 controller for example.

I've given up on the 4.9 kernel for the time being, maybe I'll give it another 
shot when that early (lack of) access stuff arrives.

M



More information about the meta-xilinx mailing list