How to create a mirror image from eMMC to RAM

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

How to create a mirror image from eMMC to RAM

Jump to solution
1,010 Views
gsuresh_12
Contributor II

I am using LS1088ARDB_PB development board,

On this board eMMC, SD Card and DSPI was multiplexed. If I store Boot Partition and Rootfs on either SD Card or eMMC, I am unable to use DSPI interface because SPI_PCS_0, 1, 2 and 3 will not be working as a SPI Chip Selection lines.

By using QIXIS commands and change BRDCFG address 0x55, to 0x08 then I can use DSPI interface but eMMC will be disengaged from the circuit.

Please help me if I can use RAM space for copying Boot Partition and Rootfs from eMMC and execute from RAM and then disengage the eMMC for using DSPI interface?

Thanks & Regards

Suresh      

0 Kudos
Reply
1 Solution
997 Views
yipingwang
NXP TechSupport
NXP TechSupport

You could generate RAM-bootable FIT image with the following command in LSDK build environment.

Flex-builder -I mkitb -r <distrotype>:<distroscale> -a <arch>

For example:

$ flex-builder -i mkitb -r yocto:tiny -a arm64

$ flex-builder -i mkitb -r ubuntu:lite -a arm64

$ flex-builder -i mkitb -r ubuntu:main -a arm64

Then copy the generated image to eMMC on LS1088ARDB. Assume the image is in the second partition on EMMC.

=> ext2load mmc 0:2 0xa0000000  *.itb

using QIXIS commands to change BRDCFG address 0x55 to 0x08 to enable DSPI

=> boot 0xa0000000

View solution in original post

0 Kudos
Reply
1 Reply
998 Views
yipingwang
NXP TechSupport
NXP TechSupport

You could generate RAM-bootable FIT image with the following command in LSDK build environment.

Flex-builder -I mkitb -r <distrotype>:<distroscale> -a <arch>

For example:

$ flex-builder -i mkitb -r yocto:tiny -a arm64

$ flex-builder -i mkitb -r ubuntu:lite -a arm64

$ flex-builder -i mkitb -r ubuntu:main -a arm64

Then copy the generated image to eMMC on LS1088ARDB. Assume the image is in the second partition on EMMC.

=> ext2load mmc 0:2 0xa0000000  *.itb

using QIXIS commands to change BRDCFG address 0x55 to 0x08 to enable DSPI

=> boot 0xa0000000

0 Kudos
Reply