Outils pour utilisateurs

Outils du site


francois:beaglebone_black

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
francois:beaglebone_black [2017/09/17 13:58] – francoisfrancois:beaglebone_black [2017/09/17 14:44] (Version actuelle) – francois
Ligne 80: Ligne 80:
 sudo sh -c "echo '/dev/mmcblk0p1  /  auto  errors=remount-ro  0  1' >> rootfs/etc/fstab" sudo sh -c "echo '/dev/mmcblk0p1  /  auto  errors=remount-ro  0  1' >> rootfs/etc/fstab"
 </code> </code>
 +
 +===== Configurer le réseau =====
 +Ajouter à ''/etc/network/interfaces''
 +<code>
 +auto lo
 +iface lo inet loopback
 +  
 +auto eth0
 +iface eth0 inet dhcp
 +</code>
 +
 +==== USB Gadget ====
 +Provides http access to beaglebone black over usb.
 +Install udhcpd
 +  sudo apt-get install udhcpd
 +
 +Edit: /etc/network/interfaces and add
 +
 +<code>
 +# Ethernet/RNDIS gadget (g_ether)
 +# ... or on host side, usbnet and random hwaddr
 +iface usb0 inet static
 +        address 192.168.7.2
 +        netmask 255.255.255.252
 +        network 192.168.7.0
 +        gateway 192.168.7.1
 +</code>
 +
 +  wget -c https://raw.github.com/RobertCNelson/tools/master/scripts/beaglebone-black-g-ether-load.sh
 +  chmod +x beaglebone-black-g-ether-load.sh
 +  sudo ./beaglebone-black-g-ether-load.sh
 +
 +===== eMMC =====
 +Script to copy your microSD card to eMMC: (this will need these packages installed: initramfs-tools dosfstools rsync)
 +
 +  wget https://raw.githubusercontent.com/RobertCNelson/boot-scripts/master/tools/eMMC/bbb-eMMC-flasher-eewiki-ext4.sh
 +  chmod +x bbb-eMMC-flasher-eewiki-ext4.sh
 +  sudo /bin/bash ./bbb-eMMC-flasher-eewiki-ext4.sh
  
 ===== Liens utiles ===== ===== Liens utiles =====
francois/beaglebone_black.1505656737.txt.gz · Dernière modification : (modification externe)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki