eMMC on LS1046ARDB

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

eMMC on LS1046ARDB

1,591 Views
boematic2007
Contributor III

I'm looking at the Target Connection for the LS1046ARDB and the eMMC doesn't appear to be right.  The Target Initialization File has the eMMC list as:

fl.add_device({"alias": "mmc", "name": "MMCP1xxx_LSCH2", "address": 0x00000000, "ws_address": 0x80000000, "ws_size": 0x1FFFF, "geometry": "8x1", "controller": "eSDHC"})

But when I look at the schematic SPF-29142_C.pdf the eMMC is listed as MTFC4GACAJCN-1M.  Am I looking at that wrong?

0 Kudos
Reply
8 Replies

1,171 Views
June_Lu
NXP TechSupport
NXP TechSupport

And then try unzip the  "ls1046ardb_fip_uboot_emmc.7z", follow the screen snap fip.png.

Program both files to the eMMC.

Thanks

0 Kudos
Reply

1,171 Views
June_Lu
NXP TechSupport
NXP TechSupport

You could try unzip the "ls1046ardb_bl2_emmc.7z", follow the screen snap BL2.png .

If you could not download the firmware, please kindly let me know.

0 Kudos
Reply

1,208 Views
June_Lu
NXP TechSupport
NXP TechSupport

I upload "firmware_ls1046ardb_emmcboot", when I program the firmware into the LS1046ARDB, I could bring-up from the eMMC(without SD card insert)

You could find it in the

https://support.nxp.com/s/case/500Tg00000W7djoIAB/community-emmc-on-ls1046ardb?language=en_US

If you could not find it, please let me know.

0 Kudos
Reply

1,331 Views
June_Lu
NXP TechSupport
NXP TechSupport

Could your firmware work well when program it with the u-boot?

It's better your firmware is a golden version to try the program.

My firmware is too big to send it to you to try it.

Thanks

0 Kudos
Reply

1,240 Views
boematic2007
Contributor III

Here is more information.  I've been using the Target Configuration file from:

https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1046ARDB-Bare-Metal-Flash-from-CodeWarrior/m-p/...

(ls1046ardb.py_2100&1600_pass.txt)

However, it has the flag USE_SAFE_RCW = False.  With this setting CodeWarrior returns an error trying to communicate with the eMMC.  I've tried this with the switches set to boot from QSPI and eMMC/SD with the same result.  

I changed the flag USE_SAFE_RCW to be True and it is now able to communicate with the eMMC.  At least, CodeWarrior will proceed through the Erase and Write parts of the Action.  However, with the switches set to boot from eMMC/SD I still see console output when powering on.

0 Kudos
Reply

1,502 Views
June_Lu
NXP TechSupport
NXP TechSupport

I have tried the eMMC program on the LS1046ARDB, it works well, so the eMMC algorithm work correctly.

June_Lu_0-1768549538554.png

 

0 Kudos
Reply

1,502 Views
June_Lu
NXP TechSupport
NXP TechSupport

I have tried the eMMC program on the LS1046ARDB, it works well, so the eMMC algorithm work correctly.

June_Lu_0-1768549538554.png

 

0 Kudos
Reply

1,339 Views
boematic2007
Contributor III

Thanks for the reply and the screenshots. I have to set the USE_SAFE_RCW to true or otherwise every action fails that tries to communicate with the eMMC.  After that it does seem to communicate, performing the erase and programming.  However, after power cycling no console output.  Also, the output file from my build is named slightly different that yours.  Mine is named "firmware_ls1046ardb_uboot_emmcboot.img".

Tags (1)
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2293617%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EeMMC%20on%20LS1046ARDB%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2293617%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI'm%20looking%20at%20the%20Target%20Connection%20for%20the%20LS1046ARDB%20and%20the%20eMMC%20doesn't%20appear%20to%20be%20right.%26nbsp%3B%20The%20Target%20Initialization%20File%20has%20the%20eMMC%20list%20as%3A%3C%2FP%3E%3CP%3Efl.add_device(%7B%22alias%22%3A%20%22mmc%22%2C%20%22name%22%3A%20%22MMCP1xxx_LSCH2%22%2C%20%22address%22%3A%200x00000000%2C%20%22ws_address%22%3A%200x80000000%2C%20%22ws_size%22%3A%200x1FFFF%2C%20%22geometry%22%3A%20%228x1%22%2C%20%22controller%22%3A%20%22eSDHC%22%7D)%3C%2FP%3E%3CP%3EBut%20when%20I%20look%20at%20the%20schematic%20SPF-29142_C.pdf%20the%20eMMC%20is%20listed%20as%20MTFC4GACAJCN-1M.%26nbsp%3B%20Am%20I%20looking%20at%20that%20wrong%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2294780%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20eMMC%20on%20LS1046ARDB%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2294780%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3EI%20have%20tried%20the%20eMMC%20program%20on%20the%20LS1046ARDB%2C%20it%20works%20well%2C%20so%20the%20eMMC%20algorithm%20work%20correctly.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20288px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20288px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20288px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20288px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20288px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20288px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20288px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20288px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F373112iFA588D297DF50637%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22June_Lu_0-1768549538554.png%22%20alt%3D%22June_Lu_0-1768549538554.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2294781%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20eMMC%20on%20LS1046ARDB%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2294781%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3EI%20have%20tried%20the%20eMMC%20program%20on%20the%20LS1046ARDB%2C%20it%20works%20well%2C%20so%20the%20eMMC%20algorithm%20work%20correctly.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20288px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20288px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20288px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20288px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20288px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20288px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22June_Lu_0-1768549538554.png%22%20style%3D%22width%3A%20288px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F373112iFA588D297DF50637%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22June_Lu_0-1768549538554.png%22%20alt%3D%22June_Lu_0-1768549538554.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2298598%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20eMMC%20on%20LS1046ARDB%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2298598%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%20for%20the%20reply%20and%20the%20screenshots.%20I%20have%20to%20set%20the%20USE_SAFE_RCW%20to%20true%20or%20otherwise%20every%20action%20fails%20that%20tries%20to%20communicate%20with%20the%20eMMC.%26nbsp%3B%20After%20that%20it%20does%20seem%20to%20communicate%2C%20performing%20the%20erase%20and%20programming.%26nbsp%3B%20However%2C%20after%20power%20cycling%20no%20console%20output.%26nbsp%3B%20Also%2C%20the%20output%20file%20from%20my%20build%20is%20named%20slightly%20different%20that%20yours.%26nbsp%3B%20Mine%20is%20named%20%22firmware_ls1046ardb_uboot_emmcboot.img%22.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2298628%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20eMMC%20on%20LS1046ARDB%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2298628%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3ECould%20your%20firmware%20work%20well%20when%20program%20it%20with%20the%20u-boot%3F%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3EIt's%20better%20your%20firmware%20is%20a%20golden%20version%20to%20try%20the%20program.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3EMy%20firmware%20is%20too%20big%20to%20send%20it%20to%20you%20to%20try%20it.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2300615%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20eMMC%20on%20LS1046ARDB%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2300615%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHere%20is%20more%20information.%26nbsp%3B%20I've%20been%20using%20the%20Target%20Configuration%20file%20from%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FCodeWarrior-for-QorIQ%2FLS1046ARDB-Bare-Metal-Flash-from-CodeWarrior%2Fm-p%2F2294778%2Fhighlight%2Ffalse%23M7624%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FCodeWarrior-for-QorIQ%2FLS1046ARDB-Bare-Metal-Flash-from-CodeWarrior%2Fm-p%2F2294778%2Fhighlight%2Ffalse%23M7624%3C%2FA%3E%3C%2FP%3E%3CP%3E(ls1046ardb.py_2100%26amp%3B1600_pass.txt)%3C%2FP%3E%3CP%3EHowever%2C%20it%20has%20the%20flag%20USE_SAFE_RCW%20%3D%20False.%26nbsp%3B%20With%20this%20setting%20CodeWarrior%20returns%20an%20error%20trying%20to%20communicate%20with%20the%20eMMC.%26nbsp%3B%20I've%20tried%20this%20with%20the%20switches%20set%20to%20boot%20from%20QSPI%20and%20eMMC%2FSD%20with%20the%20same%20result.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EI%20changed%20the%20flag%20USE_SAFE_RCW%20to%20be%20True%20and%20it%20is%20now%20able%20to%20communicate%20with%20the%20eMMC.%26nbsp%3B%20At%20least%2C%20CodeWarrior%20will%20proceed%20through%20the%20Erase%20and%20Write%20parts%20of%20the%20Action.%26nbsp%3B%20However%2C%20with%20the%20switches%20set%20to%20boot%20from%20eMMC%2FSD%20I%20still%20see%20console%20output%20when%20powering%20on.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2301888%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20eMMC%20on%20LS1046ARDB%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2301888%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20'Microsoft%20YaHei'%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%3EI%3C%2FSPAN%3E%20%3CSPAN%3Eupload%3C%2FSPAN%3E%3CSPAN%3E%20%22%3C%2FSPAN%3E%3CSPAN%3Efirmware_ls1046ardb_emmcboot%3C%2FSPAN%3E%3CSPAN%3E%22%2C%20when%20I%20program%20the%20firmware%20into%20the%20LS1046ARDB%2C%20I%20could%20bring-up%20from%20the%20eMMC(without%20SD%20card%20insert)%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20'Microsoft%20YaHei'%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3EYou%20could%20find%20it%20in%20the%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20'Microsoft%20YaHei'%3B%20font-size%3A%2011.0pt%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.nxp.com%2Fs%2Fcase%2F500Tg00000W7djoIAB%2Fcommunity-emmc-on-ls1046ardb%3Flanguage%3Den_US%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.nxp.com%2Fs%2Fcase%2F500Tg00000W7djoIAB%2Fcommunity-emmc-on-ls1046ardb%3Flanguage%3Den_US%3C%2FA%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20'Microsoft%20YaHei'%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3EIf%20you%20could%20not%20find%20it%2C%20please%20let%20me%20know.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2304420%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20eMMC%20on%20LS1046ARDB%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2304420%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CSPAN%3EYou%20could%20try%20unzip%20the%20%22%3C%2FSPAN%3E%3CSPAN%3Els1046ardb_bl2_emmc.7z%3C%2FSPAN%3E%3CSPAN%3E%22%2C%20follow%20the%20screen%20snap%20BL2.png%20.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3EIf%20you%20could%20not%20download%20the%20firmware%2C%20please%20kindly%20let%20me%20know.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2304422%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20eMMC%20on%20LS1046ARDB%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2304422%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EAnd%20then%20try%20unzip%20the%26nbsp%3B%20%22ls1046ardb_fip_uboot_emmc.7z%22%2C%20follow%20the%20screen%20snap%20fip.png.%3C%2FP%3E%0A%3CP%3EProgram%20both%20files%20to%20the%20eMMC.%3C%2FP%3E%0A%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E