TS-4900 Yocto getting started: Difference between revisions

From embeddedTS Manuals
No edit summary
No edit summary
Line 4: Line 4:
|+ Yocto Download Links
|+ Yocto Download Links
| Yocto Image
| Yocto Image
| Quad
| Download Link
| Solo
|-
|-
| ts-x11-image
| ts-x11-image
| [ftp://ftp.embeddedarm.com/ts-socket-macrocontrollers/ts-4900-linux/distributions/yocto/dizzy/ts-x11-image-ts4900-quad-latest.tar.bz2 Download]
| [ftp://ftp.embeddedarm.com/ts-socket-macrocontrollers/ts-4900-linux/distributions/yocto/dizzy/ts-x11-image-tsimx6-latest.rootfs.tar.bz2 Download]
| [ftp://ftp.embeddedarm.com/ts-socket-macrocontrollers/ts-4900-linux/distributions/yocto/dizzy/ts-x11-image-ts4900-solo-latest.tar.bz2 Download]
|}
|}


Line 18: Line 16:
mkdir /mnt/sd/
mkdir /mnt/sd/
sudo mount /dev/sdc1 /mnt/sd/
sudo mount /dev/sdc1 /mnt/sd/
sudo tar -jxf ts-x11-image-ts4900-quad.rootfs.tar.bz2 -C /mnt/sd
sudo tar -jxf ts-x11-image-tsimx6-latest.rootfs.tar.bz2 -C /mnt/sd
sudo umount /mnt/sd
sudo umount /mnt/sd
sync
sync
</source>
</source>

Revision as of 09:29, 24 August 2015

Yocto itself is a set of scripts and tools used to build a custom Distribution. In our default images we try to include all of the common utilities requested by users so rebuilding Yocto should not be necessary in many cases. Our Yocto rootfs is available here:

Yocto Download Links
Yocto Image Download Link
ts-x11-image Download

To write this to an SD card, first partition the SD card to have one large ext4 partition. See the guide here for more information. Once it is formatted, extract this tar with:

# Assuming your SD card is /dev/sdc with one partition
mkfs.ext4 /dev/sdc1
mkdir /mnt/sd/
sudo mount /dev/sdc1 /mnt/sd/
sudo tar -jxf ts-x11-image-tsimx6-latest.rootfs.tar.bz2 -C /mnt/sd
sudo umount /mnt/sd
sync