I am evaluating processor i.mx6UL, plan to use ThreadX OS + IDE IAR, now purchased DEV board"i.MX6UltraLite Evaluation Kit" for evaluation. But all samples for flashing image to SD on DEV board are linux, where can i get doc/support/samples to flash ROTS image and boot it via SD card on board i.MX6UltraLite Evaluation Kit.
Hi ken
one can try i.MX6UL MCUXpresso SDK for i.MX Cortex-M (sorry ThreadX is not supported by NXP)
https://www.nxp.com/webapp/Download?colCode=SDK2.2_iMX6UL_WIN&appType=license&location=null
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
One more info: I am using MFGTool to flash SD Card. please find the ucl2 content as below:
<LIST name="SDCard" desc="Choose SD Card as media">
<CMD state="BootStrap" type="boot" body="BootStrap" file ="firmware/u-boot-imx6ul%6uluboot%_sd.imx" ifdev="MX6UL">Loading Sdk20 U-boot</CMD>
<CMD state="BootStrap" type="load" file="firmware/sdk20-app.img" address="0x80800000"
loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6UL">Loading SDK20 Kernel.</CMD>
<CMD state="Updater" type="push" body="send" file="mksdcard.sh.tar">Sending partition shell</CMD>
<CMD state="Updater" type="push" body="$ tar xf $FILE "> Partitioning...</CMD>
<CMD state="Updater" type="push" body="$ sh mksdcard.sh /dev/mmcblk0"> Partitioning SD card now...</CMD>
<CMD state="Updater" type="push" body="send" file="files/sdk20-app.img" ifdev="MX6UL">Sending sdk2.0 app.bin</CMD>
<CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk%mmc% bs=1k seek=1 skip=1" ifdev="MX6UL">write SDK2.0 image to SD card</CMD>
<CMD state="BootStrap" type="jump" > Jumping to OS image. </CMD>
<CMD state="Updater" type="push" body="$ echo Update Complete!">Done</CMD>
</LIST>
I setup all (convert the IAR binary file to image file.....)as pdf "Getting Started with MCUXpresso SDK for i.MX 6UltraLite Derivatives" , plan to start application by mfg tool. but i get below message "
U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+g0ec2a01 (Sep 16 2016 - 18:27:44 -0500)
CPU: Freescale i.MX6UL rev1.1 at 396 MHz
Reset cause: POR
Board: MX6UL 14X14 DDR3 ARM2
I2C: ready
DRAM: 1 GiB
force_idle_bus: sda=1 scl=0 sda.gp=0x3 scl.gp=0x2
Can't find PMIC:PFUZE100
initcall sequence bff96dc0 failed at call 87803c80 (err=-1)
### ERROR ### Please RESET the board ###
"
Any idea? or address i set in ucl2 file is incorrect. thanks!
hi igor,
Thanks for the link, i am looking at it. And will mark it correct once I get it work.
One more question, I read the U-boot doc, it say, U-boot support linux, vxworks.... and Threadx is not in list. So, do i need to customize current available u-boot to support Threadx OS booting? thanks!
B.R
Ken