how to program emmc in LS1028ARDB?

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

how to program emmc in LS1028ARDB?

Jump to solution
1,562 Views
Mewan
Contributor II

Hi guys,

I'm still new to this and I need some help with deploying the images. The documents are a tad bit confusing for me but I've been following this document https://docs.nxp.com/bundle/LLDPUG_L6.1.36_2.1.0/page/topics/download_and_deploy_lsdk_images_with_fl... , specifically these steps:

To partition and format target storage device with specified number and size of partitions instead of using the default partitions

Usage:
flex-installer -i pf -p <partitions-list> -d <device>

For the list of supported values for <device>, see .

Example:

$ flex-installer -f firmware_ls1043ardb_sdboot.img -b boot_ls1043ardb_lts_6.1.tgz -r ls-image-
main-ls1043ardb.tar.gz -d /dev/sdX

And I am able to deploy the image on a target sd card, plug the card in the board and boot up from the sd card.
What i want to do next is deploy the image on the emmc, and the tutorial i tried for this program_lsdk_composite_firmware_image_001.html, with the steps:

=> load usb <device:part> $load_addr firmware_ls1028ardb_emmcboot.img
=> mmc dev 1; mmc write $load_addr 8 1fff8
=> qixis_reset emmc

The board now boots from emmc, and u-boot runs but nothing else is present, how do i deploy the entire image(kernel, rootfs, etc) to emmc, similarly to how it works with SD card?

Any help is appreciated.

Labels (1)
Tags (2)
0 Kudos
Reply
1 Solution
1,553 Views
Mewan
Contributor II

nvm, found a post of another processor discussing of using flex-installer for the process. I copied flex-installer to the nor flash and deployed the image to the emmc and when i booted from emmc, it worked fine.

View solution in original post

0 Kudos
Reply
1 Reply
1,554 Views
Mewan
Contributor II

nvm, found a post of another processor discussing of using flex-installer for the process. I copied flex-installer to the nor flash and deployed the image to the emmc and when i booted from emmc, it worked fine.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1997793%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ehow%20to%20program%20emmc%20%20in%20LS1028ARDB%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1997793%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20guys%2C%3C%2FP%3E%3CP%3EI'm%20still%20new%20to%20this%20and%20I%20need%20some%20help%20with%20deploying%20the%20images.%20The%20documents%20are%20a%20tad%20bit%20confusing%20for%20me%20but%20I've%20been%20following%20this%20document%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.nxp.com%2Fbundle%2FLLDPUG_L6.1.36_2.1.0%2Fpage%2Ftopics%2Fdownload_and_deploy_lsdk_images_with_flex-installe.htm%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.nxp.com%2Fbundle%2FLLDPUG_L6.1.36_2.1.0%2Fpage%2Ftopics%2Fdownload_and_deploy_lsdk_images_with_flex-installe.htm%3C%2FA%3E%26nbsp%3B%2C%20specifically%20these%20steps%3A%3C%2FP%3E%3CH2%20id%3D%22toc-hId--1178905941%22%20id%3D%22toc-hId--496517139%22%3ETo%20partition%20and%20format%20target%20storage%20device%20with%20specified%20number%20and%20size%20of%20partitions%20instead%20of%20using%20the%20default%20partitions%3C%2FH2%3E%3CDIV%20class%3D%22%22%3E%3CSTRONG%3EUsage%3A%3C%2FSTRONG%3E%3CPRE%3Eflex-installer%20-i%20pf%20-p%20%3CPARTITIONS-LIST%3E%20-d%20%3CDEVICE%3E%3C%2FDEVICE%3E%3C%2FPARTITIONS-LIST%3E%3C%2FPRE%3E%3C%2FDIV%3E%3CP%20class%3D%22%22%3EFor%20the%20list%20of%20supported%20values%20for%20%3CDEVICE%3E%2C%20see%20.%3C%2FDEVICE%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSTRONG%3EExample%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CPRE%3E%24%20flex-installer%20-f%20firmware_ls1043ardb_sdboot.img%20-b%20boot_ls1043ardb_lts_6.1.tgz%20-r%20ls-image-%0Amain-ls1043ardb.tar.gz%20-d%20%2Fdev%2FsdX%3C%2FPRE%3E%3CP%3EAnd%20I%20am%20able%20to%20deploy%20the%20image%20on%20a%20target%20sd%20card%2C%20plug%20the%20card%20in%20the%20board%20and%20boot%20up%20from%20the%20sd%20card.%3CBR%20%2F%3EWhat%20i%20want%20to%20do%20next%20is%20deploy%20the%20image%20on%20the%20emmc%2C%20and%20the%20tutorial%20i%20tried%20for%20this%20%3CA%20title%3D%22program_lsdk_composite_firmware_image_001.html%22%20href%3D%22https%3A%2F%2Fdocs.nxp.com%2Fbundle%2FLLDPUG_L6.1.36_2.1.0%2Fpage%2Ftopics%2Fprogram_lsdk_composite_firmware_image_001.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Eprogram_lsdk_composite_firmware_image_001.html%3C%2FA%3E%2C%20with%20the%20steps%3A%3C%2FP%3E%3CDIV%20class%3D%22%22%3E%3CPRE%3E%3D%26gt%3B%20load%20usb%26nbsp%3B%3CPART%3E%20%24load_addr%20firmware_ls1028ardb_emmcboot.img%3CBR%20%2F%3E%3D%26gt%3B%26nbsp%3Bmmc%26nbsp%3Bdev%26nbsp%3B1%3B%26nbsp%3Bmmc%26nbsp%3Bwrite%26nbsp%3B%24load_addr%208%26nbsp%3B1fff8%3CBR%20%2F%3E%3D%26gt%3B%26nbsp%3Bqixis_reset%26nbsp%3Bemmc%3C%2FPART%3E%3C%2FPRE%3E%3CP%3EThe%20board%20now%20boots%20from%20emmc%2C%20and%20u-boot%20runs%20but%20nothing%20else%20is%20present%2C%20how%20do%20i%20deploy%20the%20entire%20image(kernel%2C%20rootfs%2C%20etc)%20to%20emmc%2C%20similarly%20to%20how%20it%20works%20with%20SD%20card%3F%3C%2FP%3E%3CP%3EAny%20help%20is%20appreciated.%3C%2FP%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1997793%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EQorIQ%20LS1%20Devices%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1997859%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20how%20to%20program%20emmc%20%20in%20LS1028ARDB%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1997859%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Envm%2C%20found%20a%20post%20of%20another%20processor%20discussing%20of%20using%20flex-installer%20for%20the%20process.%20I%20copied%20flex-installer%20to%20the%20nor%20flash%20and%20deployed%20the%20image%20to%20the%20emmc%20and%20when%20i%20booted%20from%20emmc%2C%20it%20worked%20fine.%3C%2FP%3E%3C%2FLINGO-BODY%3E