Boot SPL from boot partition for a custom board using imx6ull

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Boot SPL from boot partition for a custom board using imx6ull

Jump to solution
2,829 Views
brinda-bhatt
Contributor II

Hello all, 

How to boot SPL from boot partition of emmc for my custom board using imx6ull?

When i flash my SPL to user partition using the below command, it boots as expected.

dd if=SPL of=/dev/mmcblk0 bs=1k seek=1 conv=sync

But doing the same with boot partition doesn't work. Can someone help?

0 Kudos
Reply
1 Solution
2,768 Views
brinda-bhatt
Contributor II

The issue is resolved.

There was no problem with imx side. Changing the configuration register of emmc to enable boot partition resolved the issue. 

View solution in original post

0 Kudos
Reply
3 Replies
2,769 Views
brinda-bhatt
Contributor II

The issue is resolved.

There was no problem with imx side. Changing the configuration register of emmc to enable boot partition resolved the issue. 

0 Kudos
Reply
2,822 Views
igorpadykov
NXP Employee
NXP Employee

Hi Brinda

 

one can try to select partition with "mmcdev" as described in  i.MX Linux User’s Guide​

sect.4.7.6 Running Linux OS from MMC/SD

Also may be useful:

https://boundarydevices.com/programming-emmc-on-i-mx6/

 

Best regards
igor

0 Kudos
Reply
2,813 Views
brinda-bhatt
Contributor II

Thanks for your prompt reply.

This guides talk about booting linux OS from emmc. I achieved that part already.

But i am stuck at booting SPL from emmc. I would like to use boot partition of emmc to store SPL & boot. But it works only with user partition.

0 Kudos
Reply