Difference between revisions of "CL-SOM-AM57x: Linux: Automatic Installation"

From Compulab Mediawiki
Jump to: navigation, search
(See also)
 
Line 5: Line 5:
 
* Obtain a PC workstation with a serial communication port or a free USB 2.0 Host port.
 
* Obtain a PC workstation with a serial communication port or a free USB 2.0 Host port.
 
* Download the Linux package for CL-SOM-AM57x from [http://www.compulab.co.il/products/computer-on-modules/cl-som-am57x-ti-am5728-am5718-system-on-module/#devres CompuLab website]. Unzip the package to a directory on your host workstation.
 
* Download the Linux package for CL-SOM-AM57x from [http://www.compulab.co.il/products/computer-on-modules/cl-som-am57x-ti-am5728-am5718-system-on-module/#devres CompuLab website]. Unzip the package to a directory on your host workstation.
* Copy the following files from the package folder {{filename|images}} to the SD card: {{filename|bootscr.img}}, {{filename|ramdisk.img}}, {{filename|kernel.img}}, {{filename|ramdisk.dtb}}, {{filename|debian-armhf-image.tar.bz2}}.
+
* Copy the following files to the SD card:
* Copy the following file from the package folder {{filename|extra/ti-sdk-4.1}} to the SD card: {{filename|rootfs-update}}.
+
** From the package folder {{filename|images}}: {{filename|bootscr.img}}, {{filename|ramdisk.img}}, {{filename|kernel.img}}, {{filename|ramdisk.dtb}}, {{filename|rootfs.tar.bz2}}, {{filename|install.ext2}}{{filename|install.sh}}.
* Create a a new folder on the SD card. Name the new folder {{filename|kernel}}.
+
** From the package folder {{filename|images/ti-sdk-4.1}}: {{filename|am57xx-sbc-am57x.dtb}}, {{filename|zImage-cl-som-am57x}}.
* Copy the following files from the package folder {{filename|images/ti-sdk-4.1}} to the new folder {{filename|kernel}} on the SD card: {{filename|am57xx-sbc-am57x.dtb}}, {{filename|zImage-cl-som-am57x}}.
+
** From the package folder {{filename|extra/ti-sdk-4.1}}: {{filename|rootfs-update}}.
  
 
== Automatic Installation ==
 
== Automatic Installation ==

Revision as of 13:25, 5 October 2016

Introduction

This article provides an installation guide for Linux kernel and Debian root file system on the CompuLab CL-SOM-AM57x System-on-Module / Computer-on-Module eMMC internal storage device.

Preparation steps

  • Obtain a PC workstation with a serial communication port or a free USB 2.0 Host port.
  • Download the Linux package for CL-SOM-AM57x from CompuLab website. Unzip the package to a directory on your host workstation.
  • Copy the following files to the SD card:
    • From the package folder images: bootscr.img, ramdisk.img, kernel.img, ramdisk.dtb, rootfs.tar.bz2, install.ext2, install.sh.
    • From the package folder images/ti-sdk-4.1: am57xx-sbc-am57x.dtb, zImage-cl-som-am57x.
    • From the package folder extra/ti-sdk-4.1: rootfs-update.

Automatic Installation

  • Connect the host PC to the SB-SOM-AM57x base-board (connector P8) via the serial cable supplied with the evaluation kit.
Admolition note.png SB-SOM-AM57x base-board features Serial-to-USB adapter available through connector P7. It can be used as an alternative debug port to connect the Host PC via the micro-USB cable supplied with the evaluation kit
  • Start terminal emulation software on your PC with the following serial port settings:
Baud Rate Data Bits Stop Bits Parity Flow Control
115200 8 1 none none
  • Insert the MMC/SD card into the MMC/SD socket (P9) on the SB-SOM-AM57x baseboard.
  • Turn on the CL-SOM-AM57x evaluation system.
  • The system will boot from the SD card and start the automatic installation procedure.
Press any key to cancel installation   0
Install...
Updating partitions...
[   13.784919]  mmcblk0: p1 p2
Format partitions ...
[   19.328976] random: mkfs.ext4 urandom read with 41 bits of entropy available
Mounting partitions ...
Copy kernel files ...
Extract user space ...
[   30.187868] random: nonblocking pool is initialized
Mounting update disk ...
Update user space file system...
Please remove installation SD card ...
Press any key to cancel restart   0
[  278.026487] EXT4-fs (ram0): re-mounted. Opts: (null)
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
Requesting system reboot
[  280.068187] reboot: Restarting system
  • The system will reboot automatically to the newly installed Debian Linux.
  • Please remember to remove the installation SD card to prevent re-installation.

Troubleshooting

  • Automatic installation doesn't start.

The U-Boot environment should be set to default:

  • Power on the board.
  • Press and hold Ctrl-C to get command prompt.
  • Set default U-Boot environment and boot the board:
# env default -a
# boot

See also