Commit 0a0f23f1 authored by papauxg's avatar papauxg
Browse files

Modify instructions for omap5 board with new install-to-sd-card script

parent d65fc180
......@@ -71,46 +71,34 @@ The process for creating the bootable SD card depends on the board.
### TI OMAP 5432 uEVM
We aim to create an SD-Card image with the software generated from Yocto, but before we need to prepare the SD-Card with a base image from the TI GLSDK.
##### 1. Install TI GLSDK
The GLSDK can be downloaded from here:
http://www.ti.com/tool/omap5432-evm-eval-sw.
Select the LINUX-YOCTO-EVALUATION version.
A script initializing the SD-Card is provided as part of the meta-kvm-arm layer. It will:
For information on how to install the TI GLSDK, please refer to the the TI documentation:
http://processors.wiki.ti.com/index.php/OMAP5_GLSDK_Software_Developers_Guide.
* First clear the SD-Card
* Create two partitions: boot and rootfs
* Copy the following files from u-boot to the boot partition
* MLO
* u-boot.img
* uImage
* uImage-omap5-uevm.dtb -> omap5-uevm.dtb
* u-boot-omap-kvm-boot.src.sd.3-12 -> boot.scr
* Extract the root file system (kvm-image-extended-omap5-evm-kvm.tar.gz) to the rootfs partition
##### 2. Prepare the SD-Card
Once you have installed and configured the GLSDK, execute:
#### Burn to SD-Card
$ sudo ${GLSDK}/bin/mksdboot.sh --device /dev/sdY --sdk ${GLSDK}
The script is automatically copied to the odroid image directory when you build with bitbake/hob, so you can simply call it with the device corresponding to the SD-Card:
Now you should have SD-Card running the default arago distribution ready to use.
cd tmp/deploy/images/omap5-evm-kvm
sudo ./install_on_sd_card.sh --device /dev/sdd
##### 3. Copy the generated images to the SD-Card
It's now time to copy our images to the SD-Card. For this TI-Board, all elements can be copied to a filesystem:
If the script succeeds, you should see this message at the end:
**U-Boot, Kernel, Device Tree**
Done. It is now safe to eject and remove your SD-Card.
cd build/tmp/deploy/images/omap5-evm-kvm
cp MLO /media/boot
ls -alh /media/boot
cp u-boot.img /media/boot
cp uImage /media/boot
cp uImage-omap5-uevm.dtb /media/boot/omap5-uevm.dtb
cp u-boot-omap-kvm-boot.src.sd.3-12 /media/boot/boot.scr
sync
You should now have SD-Card with the software stack compiled previously ready to use.
**Rootfs**
rm -rf /media/rootfs
cd build/tmp/deploy/images/omap5-evm-kvm
sudo tar xvf kvm-image-extended-omap5-evm-kvm.tar.gz -C /media/rootfs
sync
### ODROID-XU
......@@ -130,7 +118,7 @@ A script initializing the SD-Card is provided as part of the meta-kvm-arm layer.
* Extract the root file system (kvm-image-extended-odroidxu-kvm.tar.gz) to the rootfs partition
##### Burn to SD-Card
#### Burn to SD-Card
The script is automatically copied to the odroid image directory when you build with bitbake/hob, so you can simply call it with the device corresponding to the SD-Card:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment