ua3nbw

  • Content Count

    4
  • Joined

  • Last visited

About ua3nbw

  • Rank
    Newbie

Recent Profile Visitors

957 profile views
  1. overlay examples: GPIO keys Mainline Linux OrangePi gpio-keys.dts /dts-v1/; /plugin/; / { compatible = "allwinner,sun4i-a10", "allwinner,sun7i-a20", "allwinner,sun8i-h3", "allwinner,sun50i-a64", "allwinner,sun50i-h5"; fragment@0 { target = <&pio>; __overlay__ { gpio_keys: gpio_keys { pins = "PA7","PA8","PA9","PA10","PA21"; function = "gpio_in"; bias-pull-up; }; }; }; fragment@1 { target-path = "/"; __overlay__ { gpio-keys-user { compatible = "gpio-keys"; pinctrl-names = "default"; pinctrl-0 = <&gpio_keys>; g-
  2. Hi, How i can find information for set the fex file, kernel, etc. etc. for use the spi in userspace? root@orangepipc:~# uname -a Linux orangepipc 4.10.0-sun8i #5 SMP Tue Feb 14 02:53:01 CET 2017 armv7l armv7l armv7l GNU/Linux root@orangepipc:~# lsmod Module Size Used by sun4i_codec 28243 3 rt2800usb 16226 0 sun8i_codec_analog 13766 1 rt2800lib 57122 1 rt2800usb snd_soc_core 115473 2 sun4i_codec,sun8i_codec_analog snd_pcm_dmaengine 4221 1 snd_soc_core rt2x00usb 9245 1 rt2800usb rt2x00lib
  3. No work. where is me mistake ? http://www.orangepi.org/orangepibbscn/forum.php?mod=viewthread&tid=326
  4. Hi there # uname -a Linux orangepipc 3.4.113-sun8i #28 SMP PREEMPT Thu Feb 2 02:01:28 CET 2017 armv7l GNU/Linux #apt-get install pciutils-dev pkg-config #git clone https://github.com/flashrom/flashrom.git #cd flashrom #make CONFIG_INTERNAL=no CONFIG_RAYER_SPI=no CONFIG_NIC3COM=no CONFIG_GFXNVIDIA=no CONFIG_SATASII=no \ CONFIG_ATAHPT=no CONFIG_DRKAISER=no CONFIG_NICREALTEK=no CONFIG_NICNATSEMI=no \ CONFIG_NICINTEL=no CONFIG_NICINTEL_SPI=no CONFIG_OGP_SPI=no CONFIG_SATAMV=no No work! hooked: spi_mosi = port:PC00 spi_miso = port:PC01 spi_sclk = port:PC02 spi_cs0 = port:PC03 ro