Jump to content

multivac61

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by multivac61

  1. Would you be able to flash image to eMMC via a simple shell script like the Friendly Arm guys offer?
  2. Also which version of the dtc compiler are you using to compile the i2s_enable.dts and spi.. source code?
  3. Hey guys, I am having some trouble with Device Tree Overlays and in need of some guidance. In a current project I want to connect an ilitek ili9341 2.2" screen to an Olimex Lime 2 and/or NanoPi NEO computer. My current setup is a Olimex Lime 2 eMMC board running Linux lime2 4.7.3-sunxi and jesse. I have found a .dts file and modified it to match my need on an Olimex Lime 2 /* * Device Tree overlay for 2.2" SPI TFT from Elecfreaks * */ /dts-v1/; /plugin/; / { compatible = "allwinner,sun7i-a20"; fragment@0 { target = <&spi0>; __overlay__ { status = "okay"; spidev@0{ status = "disabled"; }; spidev@1{ status = "disabled"; }; }; }; fragment@1 { target = <&gpio>; __overlay__ { rpi_display_pins: rpi_display_pins { allwinner,pins = <66 129 128>; allwinner,function = <1 1 1>; /* out out out in */ }; }; }; fragment@2 { target = <&spi0>; __overlay__ { /* needed to avoid dtc warning */ #address-cells = <1>; #size-cells = <0>; rpidisplay: rpi-display@0{ compatible = "ilitek,ili9341"; reg = <0>; pinctrl-names = "default"; pinctrl-0 = <&rpi_display_pins>; spi-max-frequency = <32000000>; rotate = <0>; bgr; fps = <30>; buswidth = <8>; reset-gpios = <&gpio 129 0>; dc-gpios = <&gpio 128 0>; led-gpios = <&gpio 66 1>; debug = <0>; }; }; }; __overrides__ { speed = <&rpidisplay>,"spi-max-frequency:0"; rotate = <&rpidisplay>,"rotate:0"; fps = <&rpidisplay>,"fps:0"; debug = <&rpidisplay>,"debug:0"; }; }; Furthemore I have compiled it using dts (a newer version than the one built in to the Armbian mainline kernel image I am using) to a .dtb file and cat-ed it into a folder similar to `/sys/kernel/config/device-tree/overlays/mydtbo/dtbo`. Afterwards dmesg gives me the following errors: [ 395.429019] __of_adjust_tree_phandle_references: Illegal property (size) 'fixup' @/__local_fixups__ [ 395.429058] of_resolve_phandles: __of_adjust_tree_phandle_references failed ! [ 395.429071] create_overlay: Failed to resolve tree Am I forgetting to do something or is my modified .dts file simply wrong?
  4. A repost from here I have located a problem. When I went into alsamixer I noticed that a parameter called "Audio lineout" was set to false. In the TUI I was not able to changed the parameter but I was able to save the state in a file by using alsactl --file ~/.config/asound.state store. In the .state file I manually changed the "Audio lineout" parameter to true and reloaded the alsamixer with the `alsactl --file ~/.config/asound.state restore command. Now speaker-test -D sysdefault:CARD=audiocodec -twav -c2 plays perfectly. You should be able to solve this issue by storing different default settings for ALSA.
  5. This is not a hardware bug because the sound works like a charm with the images FA distributes. That has led me to believe that the bug does in fact reside within Armbian so I opened a bug report on Github - https://github.com/igorpecovnik/lib/issues/438
  6. Yes, there is nothing coming out of the audio mini-jack plug at all.
  7. No luck there either. There is also no analog sound on the Armbian build for the NanoPi M1. I am definitely not the only one that needs sound for that module. Is analog sound working on the OrangePi plus? Could somebody confirm that? What is the main difference between the configs of these builds? It is very important to me to get sound working on these modules. What can I do to help?
  8. I am having troubles with getting audio from the sunxi audiocodec on my NanoPi NEO. I enabled audio in the .fex file and the configuration is as follows: [audio0] audio_used = 1 lineout_vol = 31 cap_vol = 5 audio_hp_ldo = "none" adcagc_used = 0 adcdrc_used = 0 dacdrc_used = 0 adchpf_used = 0 dachpf_used = 0 audio_pa_ctrl = port:PA16<1><default><default><0> When I ssh into the machine the codec does come up root@nanopineo:~# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: audiocodec [audiocodec], device 0: SUNXI-CODEC sndcodec-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: sndhdmi [sndhdmi], device 0: SUNXI-HDMIAUDIO sndhdmi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 but no sound is heard over the lineout. What can I do to help and fix this? p.s. dmesg doesn't show any signs of error related to this issue: root@nanopineo:~# dmesg | grep snd [ 1.538130] asoc: sndcodec <-> sunxi-codec mapping ok [ 1.548425] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok [ 1.571136] #1: sndhdmi [ 10.083262] usbcore: registered new interface driver snd-usb-audio root@nanopineo:~# dmesg | grep audio [ 1.548425] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok [ 1.571129] #0: audiocodec [ 10.083262] usbcore: registered new interface driver snd-usb-audio
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines