SPL for uboot 2018.03

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

SPL for uboot 2018.03

1,774 Views
deepanrajanbara
Contributor IV

Hi,

Ours is a custom board based on i.Mx6ULL with different RAM configurations . We assume than enableing SPL in uboot will solve this RAM configuration issue for each board.

Please let us know, it is possbile to do so. If yes, let us know the procedure to configure the RAM. Also share document for this if available.

Thank you,

Deepanraj.A

Labels (1)
0 Kudos
8 Replies

1,757 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Which version BSP are you using?

0 Kudos

1,753 Views
deepanrajanbara
Contributor IV

Hi ,

We are using Linux 5.4.70_2.3.0​. we have enabled SPL. But ours is booting from emmc whenever we try to boot  we get 

U-Boot SPL 2020.04 (Feb 08 2021 - 15:57:30 +0530)
Trying to boot from MMC1.

After this it is not proceeding further.

We used mx6ul_14x14_evk_spl_defconfig as reference to enable SPL.

Please let us know what could be the issue.

Thank you,

Deepanraj.A

0 Kudos

1,750 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Which board are you using? NXP reference board or the board you design yourself?

0 Kudos

1,751 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Could you tell use your steps?

0 Kudos

1,675 Views
deepanrajanbara
Contributor IV

Hi ,

I have managed to boot the device with the SPL configuration. But once after the SPL boots up and loads the uboot emmc is not detected in uboot. checked the dtb files in uboot and also the board files its seemed to be fine.

if CONFIG_FSL_ESDHC is enabled it is not detecting in uboot and if CONFIG_FSL_ESDHC_IMX is enabled it is detecting in uboot but uboot takes lot of time to load because of the various emmc commands.

Please reply ASAP.

Thank you,

Deepanraj.A

0 Kudos

1,715 Views
deepanrajanbara
Contributor IV

Hi ,

Any inputs as per your observation.

Thank you,

Deepanraj

0 Kudos

1,742 Views
deepanrajanbara
Contributor IV

we are using imx6ull based custom board.Below are the steps.

After the image is build. we program the SPL and u-boot.img into the following location ,

dd if=SPL of=/dev/mmcblk1 bs=1K seek=1 oflag=sync
dd if=u-boot.img of=/dev/mmcblk1 bs=1K seek=69 oflag=sync

Boot media is eMMC. which is mounted in usdhc2.

Thank you,

Deepanraj.A

0 Kudos

1,765 Views
deepanrajanbara
Contributor IV

Hi,

Please let us know, How to enable SPL in uboot and how to configure the DDR related changes in uboot. imx6UL we found the mx6ul_14x14_evk_spl_defconfig . But we are not sure on how it has got enabled in uboot 2020. please reply ASAP

Thank you,

Deepanraj.A

0 Kudos