A Beginners Guide to getting started with the Parallella.

A forum for documenting the Parallella and Epiphany . (Not Q&A!)

Re: A Beginners Guide to getting started with the Parallella

Postby AndyC » Sat Aug 16, 2014 1:58 pm

Hi Tony,

I spoke too soon about the usb, it worked ok with my mouse and keyboard but now I am trying it with USB audio interfaces it is pretty flakey.

I mostly see:

Code: Select all
linaro-nano:~> lsusb
unable to initialize libusb: -99



It can take multiple power cycles to get the USB working. So you are not alone!

Cheers

Andy
AndyC
 
Posts: 184
Joined: Fri Jun 27, 2014 5:46 pm

Re: A Beginners Guide to getting started with the Parallella

Postby penguin » Thu Aug 28, 2014 8:28 am

I use Debian Wheezy.

Hardware list:
SanDisk Ultra 16GB microSD
USB 2.0 Type A Female to Micro USB 2.0 Male Adapter Cable
Network cable

The SD card installation

I created two partitions following the Youtube guide.
How to format an SD card for the Parallella board
http://youtu.be/JGupLOnJP70
Windows partiton - 128M, fat32
Linux partition - the rest of SD card, ext4

My PC doesn't have a SD card port so I used a USB card reader for creating the SD card.
Code: Select all
Disk /dev/sdb: 15.9 GB, 15931539456 bytes
64 heads, 32 sectors/track, 15193 cylinders, total 31116288 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00067ea6

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048      264191      131072    b  W95 FAT32
/dev/sdb2          264192    31115263    15425536   83  Linux


Code: Select all
$ sudo dd bs=64k if=ubuntu-14.04-140611.img of=/dev/sdb


Extract kernel files on a directory
Code: Select all
$  mkdir kernel
$ tar -zxvf ../kernel-hdmi-default.tgz
uImage
devicetree.dtb


Download the FPGA file.
My Parallella-16 is Zynq 7010
Zynq 7010 version with HDMI display

Mount the sd card for installing of kernel and FPGA files.

Code: Select all
$ sudo mount -t vfat /dev/sdb1 /media/sandisk/
$ sudo cp -v ./kernel/* /media/sandisk
$ sudo cp -v parallella_e16_hdmi_gpiose_7010.bit.bin /media/sandisk/parallella.bit.bin


Check the files in /media/sandisk which is BOOT partition according to the Youtube instruction.

Code: Select all
$ ls -lh /media/sandisk/
total 6.3M
-rwxr-xr-x 1 root root 8.5K Aug 28 08:43 devicetree.dtb
-rwxr-xr-x 1 root root 2.0M Aug 28 08:52 parallella.bit.bin
-rwxr-xr-x 1 root root 4.3M Aug 28 08:43 uImage


Code: Select all
$ sudo sync


First boot

I connected a USB keyboard, an Ethernet cable from the router, 5V power adapter.
I bought two cables to connect my monitor to the board, D-Sub to mini-HDMI,
but apparently one of cable was wrong one.

After few minutes I checked the IP status on the router's web admin page.
The Parallella box set up IP from DHCP server of the router automatically during boot up.
192.168.1.100 - Debian box
192.168.1.101 - Parallella-16 box

Key generation for the P16 box
I had to remove the old key of previous ssh host, which was a laptop.
Code: Select all
$  ssh-keygen -R 192.168.1.101


Remote log-in using ssh in terminal
Default user account is 'linaro', password is 'linaro'.
Code: Select all
$ ssh linaro@192.168.1.101


Without Xorg environment, I couldn't do much.

Output of fdisk -l
Code: Select all
Disk /dev/mmcblk0: 15.9 GB, 15931539456 bytes
4 heads, 16 sectors/track, 486192 cylinders, total 31116288 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a07b6

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1            2048      264191      131072    b  W95 FAT32
/dev/mmcblk0p2          264192    14600191     7168000   83  Linux


Shutdown the system

Code: Select all
linaro-nano:~/parallella-examples/lena> sudo shutdown -h now

Broadcast message from linaro@linaro-nano
    (/dev/pts/0) at 1:29 ...

The system is going down for halt NOW!
penguin
 
Posts: 11
Joined: Sat Jul 19, 2014 1:11 am

Re: A Beginners Guide to getting started with the Parallella

Postby davewr2015 » Sat Aug 29, 2015 9:11 pm

This was a helpful set of examples -- i.e. the series of three posts. Thank you.

I am trying to get the "R" examples running -- so far -- so good. I use R quite a bit for Statistical analysis so comparing it with the AMD 8 core desktops here should be interesting.

BTW: Just don't miss the "configuration lines" -- the exports.... if you download and compile "R".

The configure went fairly quickly -- the MAKE is taking quite a while.

At this point I am testing the headless version and using Putty for SSH -- I will test the monitor version later.

For cooling, I took the side cover off my PC and plugged in an extra fan then set it on the desk blowing over the board. Since I am not running the monitor it seems to run fairly cool.
davewr2015
 
Posts: 7
Joined: Sat Aug 29, 2015 8:57 pm

Previous

Return to Quick Start Guides , Documentation, Examples (Start Here!)

Who is online

Users browsing this forum: No registered users and 2 guests

cron