TS-4900 Jessie Getting started: Difference between revisions
From embeddedTS Manuals
No edit summary |
(Formatting fixes) |
||
Line 5: | Line 5: | ||
{{Note|This is a shared image that supports the TS-4900, TS-7970, and TS-TPC-7990.}} | {{Note|This is a shared image that supports the TS-4900, TS-7970, and TS-TPC-7990.}} | ||
To | |||
To prepare an SD card, use partitioning tools such as 'fdisk' 'cfdisk' or 'gparted' in linux to create a single linux partition on the SD card. See the guide [[#Partition i.MX6 SD cards|here]] for more information. Once it is formatted, extract the above tarball with: | |||
<source lang=bash> | <source lang=bash> | ||
# Assuming your SD card is /dev/sdc with one partition | # Assuming your SD card is /dev/sdc with one partition | ||
Line 17: | Line 18: | ||
{{:U-Boot ext4 warning}} | {{:U-Boot ext4 warning}} | ||
To rewrite the eMMC | To rewrite the eMMC the unit must be booted to SD or any other media that is not eMMC. Once booted, run the following commands.: | ||
<source lang=bash> | <source lang=bash> | ||
mkfs.ext3 /dev/mmcblk2p1 | mkfs.ext3 /dev/mmcblk2p1 | ||
Line 28: | Line 29: | ||
The same commands can be used to write SATA by substituting /dev/mmcblk2p1 with /dev/sda1. | The same commands can be used to write a SATA drive by substituting /dev/mmcblk2p1 with /dev/sda1. |
Revision as of 17:00, 14 February 2017
Once installed the default user is "root" with no password.
Note: | This is a shared image that supports the TS-4900, TS-7970, and TS-TPC-7990. |
To prepare an SD card, use partitioning tools such as 'fdisk' 'cfdisk' or 'gparted' in linux to create a single linux partition on the SD card. See the guide here for more information. Once it is formatted, extract the above tarball with:
# Assuming your SD card is /dev/sdc with one partition
mkfs.ext3 /dev/sdc1
mkdir /mnt/sd/
sudo mount /dev/sdc1 /mnt/sd/
sudo tar xjf debian-armhf-jessie-latest.tar.bz2 -C /mnt/sd
sudo umount /mnt/sd
sync
Note: | The ext4 filesystem can be used instead of ext3, but it may require additional options. U-Boot does not support the 64bit addressing added as the default behavior in recent revisions of mkfs.ext4. If using e2fsprogs 1.43 or newer, the options "-O ^64bit,^metadata_csum" must be used with ext4 for proper compatibility. Older versions of e2fsprogs do not need these options passed nor are they needed for ext3. |
To rewrite the eMMC the unit must be booted to SD or any other media that is not eMMC. Once booted, run the following commands.:
mkfs.ext3 /dev/mmcblk2p1
mkdir /mnt/emmc
mount /dev/mmcblk2p1 /mnt/emmc
wget -qO- ftp://ftp.embeddedarm.com/ts-socket-macrocontrollers/ts-4900-linux/distributions/debian/debian-armhf-jessie-latest.tar.bz2 | tar xj -C /mnt/emmc/
umount /mnt/emmc
sync
The same commands can be used to write a SATA drive by substituting /dev/mmcblk2p1 with /dev/sda1.