boot ti keystone ii linux kernel (ubi file-system )
DESCRIPTION
Boot TI Keystone II Linux Kernel (UBI File-system ). Vincent Han Mar, 2014. Agenda. Environment Settings Burn and boot Linux Kernel (UBI File-system). Environment Settings. We use the XTCIEVMK2X EVM as the example - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Boot TI Keystone II Linux Kernel (UBI File-system )](https://reader036.vdocuments.net/reader036/viewer/2022082402/56813ae4550346895da3401f/html5/thumbnails/1.jpg)
TI Information – Selective DisclosureTI Information – Selective Disclosure
Boot TI Keystone II Linux Kernel (UBI File-system)
Vincent Han
Mar, 2014
1
![Page 2: Boot TI Keystone II Linux Kernel (UBI File-system )](https://reader036.vdocuments.net/reader036/viewer/2022082402/56813ae4550346895da3401f/html5/thumbnails/2.jpg)
TI Information – Selective Disclosure
• Environment Settings
• Burn and boot Linux Kernel (UBI File-system)
2
Agenda
![Page 3: Boot TI Keystone II Linux Kernel (UBI File-system )](https://reader036.vdocuments.net/reader036/viewer/2022082402/56813ae4550346895da3401f/html5/thumbnails/3.jpg)
TI Information – Selective Disclosure 3
• We use the XTCIEVMK2X EVM as the example• Before run the Linux kernel, please make sure the following points
are done: Installed MSCDK on PC Installed USB to COM driver on PCBurnt U-Boot on EVM SPI Flash (should be compatible with kernel)Change the BMC to the “ARM SPI Boot” mode Insert and connect mini-USB cable on EVM USB com port Insert and connect Ethernet cable on ENET0 (RJ45) port
Environment Settings
![Page 4: Boot TI Keystone II Linux Kernel (UBI File-system )](https://reader036.vdocuments.net/reader036/viewer/2022082402/56813ae4550346895da3401f/html5/thumbnails/4.jpg)
TI Information – Selective Disclosure 4
• Make sure the U-boot environment variables’ settings are the actual Linux kernel related files you want to use
• We use the prebuilt images and files in MCSDK as the example, the prebuilt files are in path of ${MCSDK_LINUX_INSTALL_PATH}/images
• We can use the following command to check these variables:
env print• For UBI file system, we should choose the correct boot method:
setenv boot ‘ubi’• We can use such command to modify other variables, e.g.:
setenv ${COMMAND_NAME} ‘${VALUE}’
Environment Settings
![Page 5: Boot TI Keystone II Linux Kernel (UBI File-system )](https://reader036.vdocuments.net/reader036/viewer/2022082402/56813ae4550346895da3401f/html5/thumbnails/5.jpg)
TI Information – Selective Disclosure 5
Environment Settings
![Page 6: Boot TI Keystone II Linux Kernel (UBI File-system )](https://reader036.vdocuments.net/reader036/viewer/2022082402/56813ae4550346895da3401f/html5/thumbnails/6.jpg)
TI Information – Selective Disclosure 6
• Please update the follow variablesSet the server IP addressSet the tftp_root
• MTD partitions also need to be configured
setenv mtdparts ‘XXX’• Set the UBI operation scripts
erase_nand_ubi, write_nand_ubi, get_tftp_ubi• Then use the following command to save back to NAND:
saveevn
Environment Settings
![Page 7: Boot TI Keystone II Linux Kernel (UBI File-system )](https://reader036.vdocuments.net/reader036/viewer/2022082402/56813ae4550346895da3401f/html5/thumbnails/7.jpg)
TI Information – Selective Disclosure
• Environment Settings
• Burn and boot Linux Kernel (UBI File-system)
7
Agenda
![Page 8: Boot TI Keystone II Linux Kernel (UBI File-system )](https://reader036.vdocuments.net/reader036/viewer/2022082402/56813ae4550346895da3401f/html5/thumbnails/8.jpg)
TI Information – Selective Disclosure 8
• Before you boot Linux kernel, please make sure the Ethernet you connected with EVM has DHCP, or you need to set the IP address manually
• When U-Boot shows prompt, use follow command to execute UBI scripts:run erase_nand_ubirun get_tftp_ubirun write_nand_ubi
• These commands will burn Linux kernl UBI image on NAND flash
Burn Linux Kernel (UBI File-system)
![Page 9: Boot TI Keystone II Linux Kernel (UBI File-system )](https://reader036.vdocuments.net/reader036/viewer/2022082402/56813ae4550346895da3401f/html5/thumbnails/9.jpg)
TI Information – Selective Disclosure 9
• For the next boot procedure, if you configured the environment variables correctly, U-Boot will boot Linux Kernel automatically by default.
• Using UBI file-system, Linux Kernel, Boot Monitor and DTB files will be burnt on NAND flash, Ethernet is not needed during every boot time.
• For more information, please refer operation guide on deyisupport:http://www.deyisupport.com/question_answer/dsp_arm/c6000_multicore/f/53/t/23812.aspx
Boot Linux Kernel (UBI File-system)
![Page 10: Boot TI Keystone II Linux Kernel (UBI File-system )](https://reader036.vdocuments.net/reader036/viewer/2022082402/56813ae4550346895da3401f/html5/thumbnails/10.jpg)
TI Information – Selective DisclosureTI Information – Selective Disclosure
Thank You!