phyFLEX-AM335x Downloads

Hardware Manual

Quick Start Instructions

Yocto Reference Manual

Yocto BSP Manual

BSP Manuals ptxdist *)

Software

Component Placement Diagramms

Dimensioned Drawing

Module Connector

FAQ

FAQ

phyFLEX-AM335x

Linux

Creating a bootable SD card

Setting up SD Card Partitions for Bootloader and Linux RootFS

You can use the following script in order to format an SD-card from that an AM335x can boot:

#!/bin/bash
if [ ! "$1" = "/dev/sda" ] ; then
    unset LANG
    DRIVE=$1
        umount $DRIVE"1"
        umount $DRIVE"2"
    if [ -b "$DRIVE" ] ; then
        dd if=/dev/zero of=$DRIVE bs=1024 count=1024
        SIZE=`fdisk -l $DRIVE | grep Disk | awk '{print $5}'`
        echo DISK SIZE - $SIZE bytes
        CYLINDERS=`echo $SIZE/255/63/512 | bc`
        echo CYLINDERS - $CYLINDERS
        {
        echo ,9,0x0C,*
        echo ,,,-
        } | sfdisk -D -H 255 -S 63 -C $CYLINDERS $DRIVE
        mkfs.vfat -F 32 -n "boot" ${DRIVE}1
        mke2fs -j -L "rootfs" ${DRIVE}2
    fi
fi

 

The following script copies all files onto the SD-card:

if [ ! "$1" = "/dev/sda" ] ; then
  DRIVE=$1
  SRC=$2

  sudo mount $DRIVE"1" /mnt
  sudo cp $SRC/MLO /mnt
  sudo cp $SRC/barebox.img /mnt
  sudo cp $SRC/uImage-pcm051 /mnt
  sudo umount $DRIVE"1"

  sudo mount $DRIVE"2" /mnt
  sudo tar zxf $SRC/root.tgz -C /mnt
  sudo umount $DRIVE"2"
  sync
fi

Using LCD-018 capacitive touch displays

Using LCD-018 capacitive touch displays

In order to use LCD-018 capacitive touch displays with BSP PD12.1.1 you need to apply a patch that you'll find here:

ftp://ftp.phytec.de/pub/Products/phyCORE-AM335x/Linux/PD12.1.1/LCD-018

After that you need to call "ptxdist kernelconfig" / "Device Drivers" / "Input device support" / "Touchscreens". There please turn on option "EDT FocalTech FT5x06 I2C Touchscreen support" and switch off all others.


Then compile the kernel and flash it onto the module as being described within the Quickstart manual.

 

 

Accessing GPIO inputs as interrupt from userspace

The Linux kernel offers an UIO-driver for this purpose. For usage see Linux-kernel-documentation within "DocBook/uio-howto.tmpl" or online this link:
www.kernel.org

Decreasing amount of available RAM

In order to change the amount of available RAM for example to 512 MB, you need to add "mem=512M" parameter within Barebox's environment.

For current BSP versions this means to add "mem=512M" within "/env/config-board" at the end of the line:

global.linux.bootargs.base="console=ttymxc3,115200 enable_wait_mode=off vt.global_cursor_default=0 consoleblank=0 mem=512M"

Out of 512MB RAM, 128MB will be allocated to GPU and 384MB for general uses. Depending upon your requirement you can change GPU memory size. In order to modify the GPU memory size you need to make modification in kernel
board config file.

Verwendung eines Nameserver anmelden

Damit auch bei fix eingestellten IP-Adressen ein Nameserver verwendet wird, sind die folgenden Einstellungen vorzunehmen:

In die /etc/resolv.conf gehört ein Eintrag der Art:
nameserver 192.168.1.19

In der /etc/nsswitch.conf muß der Eintrag "hosts: files" erweitert werden zu "hosts:files dns".

Ein gültiger Default-Gateway sollte eingestellt sein, erkennbar daran, daß die Anweisung "route" eine Zeile "default" mit ausgibt.

Wo finde ich die Linux-Sourcen und sind diese schon an die PHYTEC-Module angepaßt?

Auf unserem FTP-Server finden Sie unter ftp://ftp.phytec.de/pub/Products/ eine Auswahl unserer Module. Das darunter befindliche Verzeichnis "Linux/" beinhaltet die letzte(n) aktuelle(n) BSP-Version(en). Diese bestehen aus den fertig flashbaren Binary-Images sowie einem OSELAS-Tarball und der PTXdist-Toolchain.

Der OSELAS-Tarball enthält außer den letzten PHYTEC-Patches selber kaum Sourcen. Vielmehr ist es ein Regelwerk, mit dem PTXdist die Binary-Images erstellen kann. Dazu ist eine Verbindung zum Internet erforderlich, denn fast sämtliche Sourcen werden von dem Regelwerk aufgrund fest hinterlegter Links von dort geladen. Die Sourcen befinden sich also erst nach der Erstellung der Binaries auf Ihrer Festplatte und enthalten dann in der Tat auch sämtliche Anpassungen an Ihr PHYTEC-Modul.

Windows Embedded Compact 7

Fragen und Antworten zu ähnlichen Produkten

Setting boot mode DIP-switch

For booting from SD using PCM-953 baseboard card DIP-Switch S5 must be set to ON-ON-ON-ON-OFF-ON-OFF-OFF.

Booting from USB

Datasheet of the prozessor shows in chapter 26.1.8.6 "USB Boot Procedure", that the processor's boot sequence uses USB in order to establish an IP-connection to a tftp-server. So it's not intended for booting from an USB-Stick.

Furthermore Barebox is not able to boot from USB. Some related coding it contains will not run.

Ethernet disconnected for more than 10 seconds

Problem:

When the system is powered up and Ethernet is connected, the link will be established. If you then disconnect Ethernet for more than 10 seconds, it might happen that after that the link will not be established anymore. If you disconnect Ethernet for less then 10 seconds, link will be established again in any case.

 

Answer:

This module uses the LAN8710A as Ethernet PHY. SMSC published an "Anomaly Sheet" for this chip that descibes some problems when its Energy Detect Power Down mode is active.

The problem only arises with some certain remote stations. One of them we know about is the Netgear Ethernet switch FS-105.

The problem cannot be solved by us. As workaround we suggest to use another remote station or to disable the power down mode in the kernel.

 

 

Back to product

Back to the product page of phyFLEX-AM335x

*) discontinued, not recommended for new products / development