Ultra96 Petalinux


Memo

Petalinux BSPで起動

2018.2 BSPでビルド

BSP

$ petalinux-create -t project -s ./ultra96-reva-v2018.2-final.bsp --name ultra96-reva-v2018.2
$ cd ultra96-reva-v2018.2
$ petalinux-build
$ cd image/linux
$ petalinux-package

LinuxイメージのSDカードへの書き込み

$ sudo fdisk
$ sudo mkfs
$ sudo dd
$

Ultra96の起動

PCからWLAN1に接続

Ultra96_xxxxxxxxxxxx

ssh 192.168.2.1 -l root -Y
root

root@xilinx-ultra96-reva-2018_2:~# ifconfig

eth0      Link encap:Ethernet  HWaddr B0:C7:45:5F:70:9A
          inet addr:192.168.3.17  Bcast:192.168.3.255  Mask:255.255.255.0
          inet6 addr: 2400:2410:cf60:c200:b2c7:45ff:fe5f:709a%4882584/64 Scope:Global
          inet6 addr: fe80::b2c7:45ff:fe5f:709a%4882584/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2474 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1458 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2799014 (2.6 MiB)  TX bytes:212845 (207.8 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1%4882584/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:53 errors:0 dropped:0 overruns:0 frame:0
          TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:13858 (13.5 KiB)  TX bytes:13858 (13.5 KiB)

wlan0     Link encap:Ethernet  HWaddr F0:45:DA:38:59:B4
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan1     Link encap:Ethernet  HWaddr F0:45:DA:38:59:B5
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::f245:daff:fe38:59b5%4882584/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:128 errors:0 dropped:0 overruns:0 frame:0
          TX packets:154 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12914 (12.6 KiB)  TX bytes:45536 (44.4 KiB)

root@xilinx-ultra96-reva-2018_2:~# ifconfig wlan0 down
root@xilinx-ultra96-reva-2018_2:~# ifconfig eth0 192.168.2.100
root@xilinx-ultra96-reva-2018_2:~# ifconfig

eth0      Link encap:Ethernet  HWaddr B0:C7:45:5F:70:9A
          inet addr:192.168.2.100  Bcast:192.168.3.255  Mask:255.255.255.0
          inet6 addr: 2400:2410:cf60:c200:b2c7:45ff:fe5f:709a%4882584/64 Scope:Global
          inet6 addr: fe80::b2c7:45ff:fe5f:709a%4882584/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2474 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1458 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2799014 (2.6 MiB)  TX bytes:212845 (207.8 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1%4882584/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:53 errors:0 dropped:0 overruns:0 frame:0
          TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:13858 (13.5 KiB)  TX bytes:13858 (13.5 KiB)

wlan1     Link encap:Ethernet  HWaddr F0:45:DA:38:59:B5
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::f245:daff:fe38:59b5%4882584/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:128 errors:0 dropped:0 overruns:0 frame:0
          TX packets:154 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12914 (12.6 KiB)  TX bytes:45536 (44.4 KiB)

root@xilinx-ultra96-reva-2018_2:~#