Differences between revisions 2 and 3
Revision 2 as of 2014-06-05 09:05:13
Size: 5273
Editor: XavierGrave
Comment:
Revision 3 as of 2014-06-05 10:56:44
Size: 5274
Editor: PaulWise
Comment: typo
Deletions are marked like this. Additions are marked like this.
Line 147: Line 147:
 * [[http://www.wiki.xilinx.com/Zynq+2014.1+Release|Xilinx Zynq Realease]  * [[http://www.wiki.xilinx.com/Zynq+2014.1+Release|Xilinx Zynq Realease]]

DebianOn is an effort to document how to install, configure and use Debian on some specific hardware. Therefore potential buyers would know if that hardware is supported and owners would know how get the best out of that hardware.

The purpose is not to duplicate the Debian Official Documentation, but to document how to install Debian on some specific hardware.

If you need help to get Debian running on your hardware, please have a look at our user support channels where you may find specific channels (mailing list, IRC channel) dedicated to certain types of hardware.

Translation(s): none

Overall Status

Core Components

[ATTACH]

Boot Standard Kernel:

/!\

LAN network card (Generic Ethernet):

{OK}

Detect hard drives:

{OK}

Extra Features

CPU Frequency Scaling

[?]

Hibernation

[?]

Sleep / Suspend

[?]

Xorg

[?]

- OpenGL

[?]

- Resize-and-Rotate(randr)

[?]

Keyboard's Hotkeys

[?]

Legend :
{OK} = OK ; {X} Unsupported(No Driver) ; /!\ = Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable
{i} = Configuration Required; X-( = Only works with a non-free driver and or firmware

Important Note

Bootloader support

The ZC702 use uboot version U-Boot 2013.07 (Dec 04 2013 - 17:47:58). Sources can be downloaded at github.

Kernel

The kernel sources can alse be found at github.

uname -a
Linux zc702-1 3.13.0-xilinx #1 SMP PREEMPT Tue Apr 8 09:47:11 PDT 2014 armv7l GNU/Linux

System Summary

lspci

lspci -nn
don't return anything

lsusb

lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         1 Single TT
  iProduct                2 Xilinx Zynq USB EHCI Host Controller

Installing Debian

NFS Root

  • server IP 192.168.0.72
  • client IP 192.168.0.195

On the server you need :

apt-get install nfs-kernel-server debootstrap tftpd
if you have ARM hardware at hand (like [[InstallingDebianOn/CompuLab/PC-Utilite/wheezy|PC Utilite]])
debootstrap wheezy /srv/zc702 http://ftp.fr.debian.org/debian
or if you don't have ARM hardware at hand
debootstrap --foreign --arch armhf wheezy pc-utilite http://ftp.fr.debian.org/debian

follow PC Utilite to handle the debootstrap second stage

edit /srv/zc702/inittab, last new line :

T0:2345:respawn:/sbin/getty -L ttyPS0 115200 vt100

edit /srv/zc702/etc/securetty last new lines :

# Zynq zc70x
ttyPS0

If you use ARM hardware as a server :

chroot /srv/zc702
passwd

download 2014.1-release.tar.xz from Zynq Release untar it

tar xf 2014.1-release.tar.xz
cp zc70x/zc702/devicetree.dtb /srv/tftp
cp uImage /srv/tftp

Start the zc702 board with SW16 switch to :

Position

Value

1

0

2

0

3

1

4

1

5

0

Stop autoboot (you need to be connected using the rs232 usb cable)

screen /dev/ttyUSB0 115200

setenv bootargs ${console} root=/dev/nfs nfsroot=192.168.0.72:/srv/zc702 ip=192.168.0.73:192.168.0.72:192.168.0.8:255.255.255.0:zc702-1
setenv serverip 192.168.0.72
setenv ipaddr 192.168.0.73
setenv bootcmd "tftp 0x3000000 uImage && tftp 0x2A00000 devicetree.dtb && bootm 0x3000000 - 0x2A00000"
saveenv

Boot again your board and you should have access to a login in the rs232 console.

Credits



CategoryDebianOn ?CategeoryEmbedeedComputer