How to create a mirror image from eMMC to RAM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to create a mirror image from eMMC to RAM

ソリューションへジャンプ
1,925件の閲覧回数
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 件の賞賛
返信
1 解決策
1,912件の閲覧回数
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 件の賞賛
返信
1 返信
1,913件の閲覧回数
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 件の賞賛
返信