{ "ticketNumber" : "694485", "reporterName" : "Prince Kuo", "rankPoints" : "730", "resolutionStatus" : "", "ticketName" : "RTOS/TDA2: How to flash FW file(AppImage) to eMMC of TDA2x.", "rankName" : "Intellectual", "replies" : "", "views" : "", "queryText" : "Part Number: TDA2 Tool/software: TI-RTOS Hi Sir, As title, I want to know how to flash FW file(AppImage) to eMMC of TDA2x. Could you please advice us how to achieve it. Many thanks,", "imageList" : null, "partNumber" : "NA", "allResponseList" : [ { "contentId" : "", "userName" : "Stanley Liu", "rankPoints" : "50045", "rankName" : "TI__Guru", "date" : "", "userId" : "/members/22243", "content" : "If you are running RTOS on A15, the boot modes supported are SD, QSPI flash, and NOR flash. eMMC boot mode is not supported. However, eMMC boot mode is supported by uboot with Linux running on A15. Regards, Stanley", "imageList" : null }, { "contentId" : "", "userName" : "Prince Kuo", "rankPoints" : "730", "rankName" : "Intellectual", "date" : "", "userId" : "/members/5291787", "content" : "Hi Stanley, Understand and thanks.", "imageList" : null }, { "contentId" : "", "userName" : "Sidney Chou", "rankPoints" : "50", "rankName" : "Prodigy", "date" : "", "userId" : "/members/5181621", "content" : "Hi Sir, 1. RTOS doesn't support eMMC boot, but we can boot from NOR flash via QSPI and run the algorithm in eMMC (use eMMC to be storage), is it correct? 2. Could we know the detail what's limitation why RTOS doesn't support eMMC boot? Is it OS or driver or HW issue? 3. Base on item2, if it is driver issue, will TI have plan for the driver support in the future? Thank you. Sidney", "imageList" : null }, { "contentId" : "", "userName" : "Rishabh Garg", "rankPoints" : "55685", "rankName" : "TI__Guru", "date" : "", "userId" : "/members/3494845", "content" : "Hi, Yes you can use eMMC for storage. There is no SW support for eMMC boot on RTOS side and the same is not planned for future as well. Regards, Rishabh", "imageList" : null }, { "contentId" : "", "userName" : "Prince Kuo", "rankPoints" : "730", "rankName" : "Intellectual", "date" : "", "userId" : "/members/5291787", "content" : "Hi Rishabh, On RTOS how can we storage data(or algorithm ) in eMMC ? Have any sample code or document can refer? Many thanks,", "imageList" : null }, { "contentId" : "", "userName" : "Rishabh Garg", "rankPoints" : "55685", "rankName" : "TI__Guru", "date" : "", "userId" : "/members/3494845", "content" : "Hi, You can refer to mmc app present here: PROCESSOR_SDK_VISION_03_03_00_00\\ti_components\\drivers\\pdk_01_09_00_17\\packages\\ti\\csl\\example\\mmcsd\\mmc_raw_access\\. We don't have a lot of SW support for eMMC on RTOS side. I would recommend you to use QSPI or NOR flash for storing data instead of eMMC. Regards, Rishabh", "imageList" : null }, { "contentId" : "", "userName" : "Prince Kuo", "rankPoints" : "730", "rankName" : "Intellectual", "date" : "", "userId" : "/members/5291787", "content" : "Hi Rishabh, Understand , thanks for your support.", "imageList" : null }, { "contentId" : "", "userName" : "Rishabh Garg", "rankPoints" : "55685", "rankName" : "TI__Guru", "date" : "", "userId" : "/members/3494845", "content" : "Hi Prince, If you don't have any further questions shall I close the thread? Regards, Rishabh", "imageList" : null }, { "contentId" : "", "userName" : "Prince Kuo", "rankPoints" : "730", "rankName" : "Intellectual", "date" : "", "userId" : "/members/5291787", "content" : "Hi Rishabh, I have last question . Can we separate AppImage to algorithm and application two parts and save to different memory(algorithm to eMMC, application to QSPI)? If yes how can we booting system and reload algorithm? Could you please give us some advice? Thanks for your support.", "imageList" : [ "Data/input/694485/Separate-AppImage.jpg" ] }, { "contentId" : "", "userName" : "Rishabh Garg", "rankPoints" : "55685", "rankName" : "TI__Guru", "date" : "", "userId" : "/members/3494845", "content" : "Hi, From RBL perspective you can boot only from single boot media. Then the control is with SBL. You can modify SBL to achieve what you want. Assume that you have SBL in QSPI memory. Then you can load and parse a multicore App Image present in QSPI memory first (say application). Then you can initialize another memory say eMMC and load/parse App Image present on that (say Algorithm). Following this approach will need concrete effort as you need to define read/write API library for eMMC and modify SBL. I would suggest you to rather have two app images on same boot media (QSPI or NOR) and flash them at a different locations. Then you will only need to modify SBL to parse the two images. Regards, Rishabh", "imageList" : null }, { "contentId" : "", "userName" : "Prince Kuo", "rankPoints" : "730", "rankName" : "Intellectual", "date" : "", "userId" : "/members/5291787", "content" : "Hi Rishabh, Thanks for your support.", "imageList" : null }, { "contentId" : "", "userName" : "Prince Kuo", "rankPoints" : "730", "rankName" : "Intellectual", "date" : "", "userId" : "/members/5291787", "content" : "Hi Rishabh, Many thanks.", "imageList" : null }, { "contentId" : "", "userName" : "Rishabh Garg", "rankPoints" : "55685", "rankName" : "TI__Guru", "date" : "", "userId" : "/members/3494845", "content" : "Hi Prince, Closing this thread as query has been answered. Regards, Rishabh", "imageList" : null } ], "tags" : [ ], "fourmType" : "processors-forum" }