Boot LS1043a from emmc boot-partition

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

Boot LS1043a from emmc boot-partition

406 Views
FrancisK
Contributor I

We are booting the LS1043a from an eMMC.

This also works from the user partition.

Is it also possible to boot from boot partition 1 (boot0) or boot partition 2 (boot1)? If so, how can this be done?

Regardless of whether you activate it with "mmc bootpart enable 1 1 /dev/mmcblk0" to activate boot0 or with mmc bootpart enable 2 1 /dev/mmcblk0 to activate boot1, it always boots from the user partition.

Labels (1)
0 Kudos
Reply
4 Replies

330 Views
LFGP
NXP TechSupport
NXP TechSupport

25.4.3 Booting methods (extract from the LS1043ARM)
Booting can be performed from NAND or NOR flash on the IFC.
• NOR is directly memory-mapped, so booting from NOR can be done as simple read
operations without any special arrangements. Default timing parameters are loaded
with the assertion of rcw_load/boot_load, details of this requirement is explained in
NOR boot.
• NAND is not directly memory-mapped, so the boot code is loaded first into an
SRAM buffer from where the code can be executed. See NAND flash control
machine for more information about booting from NAND.

-------------

PreBoot loader (PBL) and nonvolatile memory interfaces
The PBL functions include the following:
• Simplifies boot operations, replacing pin strapping resistors with configuration data
loaded from nonvolatile memory
• Uses the configuration data to initialize other system logic and to copy data from low
speed memory interfaces IFC, QuadSPI, and SD/eSDHC/eMMC) into fully
initialized DDR or OCRAMs.
• Releases CPU 0 from reset, allowing the boot processes to begin from fast system
memory

to grasp into boot flow please review the LLDP user guide section  4.1 General boot flow 

0 Kudos
Reply

339 Views
shailesh_matrix
Contributor I

Dear LFGP,

You previously mentioned that the LS1043 does not boot from the eMMC. Could you kindly confirm if that is correct?

We are working on a custom board and are encountering challenges when attempting to boot from the eMMC.

Dear Francisk,

We would greatly appreciate it if you could share your experience and insights on how you managed to successfully boot the LS1043 from the eMMC. Any guidance you can provide would be incredibly helpful to us.

Tags (1)
0 Kudos
Reply

387 Views
LFGP
NXP TechSupport
NXP TechSupport
dear FrancisK,

unfortunately it is not posible.
on the other hand, the LS1043A doesn't boot from the eMMC,
0 Kudos
Reply

289 Views
FrancisK
Contributor I
Dear LFGP,

We can boot the tf-a bl2 bootloader from the emmc user partition.
The further boot process will then follow.
We just wanted to make sure we haven't missed anything; otherwise, we'll have to come up with another solution.
Thank you for your effort.
0 Kudos
Reply