Skip to content

Instantly share code, notes, and snippets.

@Kazu-zamasu
Created April 9, 2014 09:58
Show Gist options
  • Save Kazu-zamasu/10249541 to your computer and use it in GitHub Desktop.
Save Kazu-zamasu/10249541 to your computer and use it in GitHub Desktop.
オリジナルYacto
root@clanton:/etc/modules-load.d# cat auto.conf
pch-udc
g-serial vendor=0x8086 product=0xBABE
stmmac
ehci_hcd
ohci_hcd
ehci-pci
usb_storage
gpio_sch
intel_cln_gip i2c_std_mode=1
cy8c9540a
at24
i2c_dev
spidev
mtd
spi-pxa2xx-pci gpio_cs=0
spi-pxa2xx
industrialio
ad7298
iwlwifi
spi-lpc-sch
m25p80
btusb
usbhid
evdev
Debian Galileo
root@clanton:/etc# cat modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.
これを以下に
root@clanton:/etc# cat modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.
pch-udc
g-serial vendor=0x8086 product=0xBABE
stmmac
ehci_hcd
ohci_hcd
ehci-pci
usb_storage
gpio_sch
intel_cln_gip i2c_std_mode=1
cy8c9540a
at24
i2c_dev
spidev
mtd
spi-pxa2xx-pci gpio_cs=0
spi-pxa2xx
industrialio
ad7298
iwlwifi
spi-lpc-sch
m25p80
btusb
usbhid
evdev
めでたくttyGS0は出来上がりシリアルは生きたようだが、コンフィグレーションがうまくいってないっぽい。
母艦からは
[161334.146969] usb 2-1.2: new high-speed USB device number 9 using ehci-pci
[161334.240446] usb 2-1.2: New USB device found, idVendor=8086, idProduct=babe
[161334.240457] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[161334.240464] usb 2-1.2: Product: Gadget Serial v2.4
[161334.240469] usb 2-1.2: Manufacturer: Linux 3.8.7-yocto-standard with pch_udc
[161334.247895] cdc_acm 2-1.2:1.0: This device cannot do calls on its own. It is not a modem.
[161334.247974] cdc_acm 2-1.2:1.0: ttyACM0: USB ACM device
galileoからはこの2つのバイナリが動かない。
clloader galileo_sketch_reset
root@clanton:/opt/cln/galileo# ls
clloader galileo_sketch_reset_script.sh start_spi_upgrade.sh
galileo_sketch_reset sketch-setup.sh
あとちょっと。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment