Jump to content

Christos

Members
  • Posts

    306
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Christos got a reaction from lanefu in [Info] if any armbian image depends on debian Jessie (or wheezy)..   
    Indeed after a fresh checkout things got better and now I can build ok the supported items in build system.
    The problem is that jessie build bails out with error, though as @Igor said, the 3.4.113 can still be compiled with xenial and the 19.08 branch (for as long as it does..)
     
    A minor but time consuming task is that whenever we have to make a new fresh checkout, it takes so many hours to re-download all the cached components specifically the toolchains and thats a real bummer.
     
    Thanks for your hints.
     
  2. Like
    Christos got a reaction from Nazar Gerasymchuk in QT5 installation in Armbian?   
    Hi,
     
    Have some H3 boards with the current Armbian level 5.24.
     
    Need though Qt5..
     
    Is there any info on how to do this? How to install Qt5 in Armbian?
     
    (Might be too easy but for some reason I cannot find relevant info)
     
    Christos
  3. Like
    Christos reacted to Igor in uBoot splash screen instead of text   
    Armbian logo should be displayed in uboot by default. At lest on most recent assembly. Image is read from /boot by another patch.

    Wrote on mobile


  4. Like
    Christos reacted to Igor in Unattended upgrades, how to stop them?   
    You can.
     
    They have been recently reduced down to https://github.com/armbian/build/blob/master/packages/bsp/common/etc/apt/apt.conf.d/02-armbian-periodic#L4-L10 so you might just wait for update.
  5. Like
    Christos reacted to Igor in Next major upgrade v5.60   
    You need to be an expert to see this  Add EXPERT="yes" to the configuration.
  6. Like
    Christos reacted to Igor in Next major upgrade v5.60   
    I added it to config-default.conf ... and it works for me. Try that.
  7. Like
    Christos got a reaction from MX_Master in Has anybody a good latency after the RT-PREEMPT patch?   
    On 1st Dec. the latest 4.14 rt patch has been released
    -> https://www.kernel.org/pub/linux/kernel/projects/rt/4.14/
    So it might be possible to test now with new 5.36 and 'mainline' option.
     
  8. Like
    Christos reacted to Valery Rezvyakov in H3 I2S0 DT overlay   
    driver not support
    I2S slave on mainline H3/5
    https://github.com/nikkov/friendlyarm-linux/tree/sunxi-4.11.y
    https://github.com/ua3nbw-cf/orangepi_i2s
  9. Like
    Christos reacted to Valery Rezvyakov in Armbian 5.36 with kernel 4.14, on-board codec sound?   
    amixer -c 0 -q set "Line Out" 100%+ unmute amixer -c 0 -q set "DAC" 100%+ unmute  
  10. Like
    Christos got a reaction from MitchD in Has anybody a good latency after the RT-PREEMPT patch?   
    On 1st Dec. the latest 4.14 rt patch has been released
    -> https://www.kernel.org/pub/linux/kernel/projects/rt/4.14/
    So it might be possible to test now with new 5.36 and 'mainline' option.
     
  11. Like
    Christos reacted to zador.blood.stained in H3 I2S0 DT overlay   
    Because AFAIK snd-soc-dummy doesn't have DT bindings and can't be instantiated from DT, at least without patching (something like this - http://mailman.alsa-project.org/pipermail/alsa-devel/2014-August/080287.html, or like this - https://patchwork.kernel.org/patch/7679391/). 
    This
    doesn't match any of_device_id tables so your simple-audio-card codec is connected to nothing.
  12. Like
    Christos reacted to Valery Rezvyakov in H3 I2S0 DT overlay   
    Get the source & create a simple Makefile:
    mkdir adau7002 cd adau7002 wget https://raw.githubusercontent.com/trsqr/media_tree/bd676c0c04ec94bd830b9192e2c33f2c4532278d/sound/soc/codecs/adau7002.c nano Makefile Makefile contents:
    obj-m := adau7002.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean install: sudo cp adau7002.ko /lib/modules/$(shell uname -r) sudo depmod -a Those indentations are a single tab character - use spaces & it won't work.
    Build:
    make all install Next, we create a new device tree overlay. Create a file i2s-soundcard-overlay.dts with this content:
     
    /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target-path = "/"; __overlay__ { adau7002_codec: adau7002_codec { #sound-dai-cells = <0>; compatible = "adi,adau7002"; status = "okay"; }; }; }; fragment@1 { target = <&i2s0>; __overlay__ { status = "okay"; pinctrl-0 = <&i2s0_pins>; sound-dai = <&adau7002_codec>; pinctrl-names = "default"; }; }; fragment@2 { target-path = "/"; __overlay__ { sound_i2s { compatible = "simple-audio-card"; simple-audio-card,format = "i2s"; simple-audio-card,name = "adau7002"; simple-audio-card,bitclock-slave = <&dailink0_slave>; simple-audio-card,frame-slave = <&dailink0_slave>; simple-audio-card,widgets = "Microphone", "Microphone Jack"; simple-audio-card,routing = "PDM_DAT", "Microphone Jack"; status = "okay"; simple-audio-card,cpu { sound-dai = <&i2s0>; }; dailink0_slave: simple-audio-card,codec { sound-dai = <&adau7002_codec>; }; }; }; }; }; Compile & install the overlay:
    armbian-add-overlay i2s-soundcard-overlay.dts Reboot and you'll have a microphone recording device
    root@orangepipc:~# arecord -l **** List of CAPTURE Hardware Devices **** card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: adau7002 [adau7002], device 0: 1c22000.i2s-adau7002-hifi adau7002-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 I don't have anything to test it with, but alsamixer shows a sound card with the chosen name and no controls, which is what you would expect.
    lsmod | grep snd
     
    root@orangepipc:~# lsmod | grep snd snd_soc_hdmi_codec 16384 1 snd_soc_simple_card 16384 0 snd_soc_adau7002 16384 1 snd_soc_simple_card_utils 16384 1 snd_soc_simple_card snd_soc_core 118784 7 snd_soc_adau7002,sun4i_codec,sun4i_i2s,sun8i_codec_analog,snd_soc_hdmi_codec,snd_soc_simple_card_utils,snd_soc_simple_card snd_pcm_dmaengine 16384 1 snd_soc_core snd_pcm 69632 4 sun4i_i2s,snd_pcm_dmaengine,snd_soc_hdmi_codec,snd_soc_core snd_timer 24576 1 snd_pcm snd 45056 3 snd_timer,snd_soc_core,snd_pcm soundcore 16384 1 snd  
  13. Like
    Christos reacted to Valery Rezvyakov in H3 I2S0 DT overlay   
    make linux-menuconfig (by buildroot)
     
     Device Drivers
         ----->Sound card support
               ----->Advanced Linux Sound Archtecture
                     ------>ALSA for Soc audio support
                            --------->Allwinner Soc Audio support
                                     [*]Allwinner A10 I2S Support
    patch:
    diff --git a/sound/soc/sunxi/Kconfig b/sound/soc/sunxi/Kconfig index 22408bc..7842de4 100644 --- a/sound/soc/sunxi/Kconfig +++ b/sound/soc/sunxi/Kconfig @@ -30,8 +30,10 @@ config SND_SUN8I_CODEC_ANALOG config SND_SUN4I_I2S tristate "Allwinner A10 I2S Support" + depends on OF select SND_SOC_GENERIC_DMAENGINE_PCM select REGMAP_MMIO + select SND_SOC_PCM5102A help Say Y or M if you want to add support for codecs attached to the Allwinner A10 I2S. You will also need to select the On the Orange:
     
    dpkg -i linux-headers-next-sunxi_5.34_armhf.deb
     
    file sun8i-h3-I2S-out.dts :

    armbian-add-overlay sun8i-h3-I2S-out.dts
    reboot
    results:
    root@orangepipc:~# uname -a Linux orangepipc 4.13.12-sunxi #6 SMP Tue Nov 14 02:58:07 MSK 2017 armv7l GNU/Linux root@orangepipc:~# cat /proc/asound/cards 0 [I2Smaster ]: I2S-master - I2S-master I2S-master 1 [Codec ]: H3_Audio_Codec - H3 Audio Codec H3 Audio Codec 2 [allwinnerhdmi ]: allwinner_hdmi - allwinner,hdmi allwinner,hdmi root@orangepipc:~# dmesg |grep i2s [ 9.529374] asoc-simple-card sound_i2s: pcm5102a-hifi <-> 1c22000.i2s mapping ok [ 10.406113] asoc-simple-card sound: i2s-hifi <-> 1c22800.i2s mapping ok root@orangepipc:~# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: I2Smaster [I2S-master], device 0: 1c22000.i2s-pcm5102a-hifi pcm5102a-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: allwinnerhdmi [allwinner,hdmi], device 0: 1c22800.i2s-i2s-hifi i2s-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0  
  14. Like
    Christos got a reaction from MitchD in H3 I2S0 DT overlay   
    Hi,
     
    OPiPC with latest mainline (ARMBIAN 5.34 user-built Ubuntu 16.04.3 LTS 4.13.12-sunxi).
    Need to test the I2S0. From what I see in patches, the I2S driver code is already there so I just need an overlay to use it.
     
    Is there any DT overlay for using the H3 I2S0 with any codec ?
    Even as a generic simple-audio-codec ?
     
    Christos
     
  15. Like
    Christos got a reaction from hkubota in Pulseaudio buffer on H3 audiocodec default sound device   
    Replying to my own topic,
    it was just the old man not wearing his glasses.. forgot to specify the proper pulseaudio buffer in pa_simple_new and the system got the maximum latency default values.
     
     
  16. Like
    Christos got a reaction from manuti in FriendlyELEC NanoPi K2 (S905)   
    IMHO FA might go for the S912 now..
    They already got M3 (with Samsung CPU) in the past as a 8xCore (and from my experience on it its really fast) but it lacked support, now with Amlogic the foundations are already there to deliver the first decent and trully mainline supported hacker-friendly 8xCore 64-bit A53 SBC.
     
  17. Like
    Christos got a reaction from zador.blood.stained in Armbian for OrangePi PC2, AllWinner H5   
    Ok, it boots now.
     
     
  18. Like
    Christos got a reaction from Igor in Build environment broken?   
    Thanks @Igor ,
     
    Performed a new git clone and now its ok again with all the added gizmos I put on.
     
    Lesson learned, will not ask again that question unless I have done a new git clone and flushed any cache.
  19. Like
    Christos reacted to zador.blood.stained in Where to place a build-patch for an Armbian provided .fex? [legacy]   
    You need to improve your Google-Fu:
    https://forum.armbian.com/index.php/topic/1504-about-patch-process/#entry11717
    https://forum.armbian.com/index.php/topic/853-armbian-customization/#entry6606
  20. Like
    Christos got a reaction from pfeerick in Armbian running on Pine64 (and other A64/H5 devices)   
    @nz1
    Never intended to insult, it is just a metaphor to get the idea of how easy it is to be distracted from the very few that make a lot of noise and forget the many thousands that are happy and quiet..
  21. Like
    Christos got a reaction from Igor in Armbian framework with RT patches no longer builds!!   
    Ok,
     
    Thanks @sanctus , the kernel option specify [1..5] in RT is quite crucial as it seems.
    In earlier builds, until 27/Oct, Armbian got build ok (but eventually probably was giving issues as later on found out) with option 5 in kernel RT configure.
    Now, in latest releases (5.24) it reports error even in build phase.
     
    Tried the RT option 4, so far with OPi ONE & PCPlus, in both, armbian is building now ok and the timeout errors I got previously now they have gone.
    At least found out that the RT option plays a significant role in both the armbian build itself and in the filesystem behavior later on. 
     
    @Igor ,  from the latest tests, I see stable performance with the current RT patches up to option 4 for OPi ONE & PCPlus.
  22. Like
    Christos got a reaction from Igor in Adding Display Manager in Armbian and attaching HDMI monitor   
    @jernej , @Igor
     
    I really thank you guys, responded in no time and most of all made me feel that I'm not alone, kudos to both of you.
     
    Problem solved!!
    U-Boot SPL 2016.09.01-armbian (Nov 11 2016 - 16:59:49) DRAM: 512 MiB Trying to boot from MMC1 U-Boot 2016.09.01-armbian (Nov 11 2016 - 16:59:49 +0200) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi One DRAM: 512 MiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment HDMI connected: Setting up a 1920x1080 hdmi console (overscan 0x0) dotclock: 148500kHz = 148500kHz: (24MHz * 99) / 8 / 2 HDMI PHY divider: 2 pixel_clk: 148500000 pixel_repeat: false x_res: 1920 y_res: 1080 hor_back_porch: 148 hor_front_porch: 88 hor_sync_time: 44 ver_back_porch: 36 ver_front_porch: 4 ver_sync_time: 5 hor_sync_polarity: true ver_sync_polarity: true b_interlace: false hdmi enabled In: serial Out: vga Err: vga Net: phy interface0 eth0: ethernet@1c30000 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 2092 bytes read in 179 ms (10.7 KiB/s) ## Executing script at 43100000 Booting from SD 144 bytes read in 126 ms (1000 Bytes/s) 3138723 bytes read in 347 ms (8.6 MiB/s) 5080432 bytes read in 502 ms (9.7 MiB/s) ** File not found /boot/.next ** ** File not found .next ** 37448 bytes read in 468 ms (78.1 KiB/s) ## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 3138659 Bytes = 3 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Using machid 0x1029 from environment Starting kernel ... Loading, please wait... Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Will now check root file system ... fsck from util-linux 2.25.2 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 /dev/mmcblk0p1: clean, 140659/936560 files, 632182/3751668 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. Welcome to Debian GNU/Linux 8 (jessie)! Expecting device dev-ttyS0.device... [ OK ] Reached target Remote File Systems (Pre). [ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point. [ OK ] Reached target Encrypted Volumes. [ OK ] Reached target Paths. [ OK ] Created slice Root Slice. [ OK ] Created slice User and Session Slice. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Listening on Delayed Shutdown Socket. [ OK ] Listening on Journal Socket (/dev/log). [ OK ] Listening on udev Control Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Listening on Journal Socket. [ OK ] Created slice System Slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ OK ] Created slice system-getty.slice. Starting Increase datagram queue length... Starting Restore / save the current clock... Starting Load Kernel Modules... Starting Create list of required static device nodes...rrent kernel... Starting udev Coldplug all Devices... Mounting Debug File System... Mounting POSIX Message Queue File System... Starting LSB: Set keymap... [ OK ] Reached target Slices. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Debug File System. [ OK ] Started Increase datagram queue length. [ OK ] Started Restore / save the current clock. [ OK ] Started Load Kernel Modules. [ OK ] Started Create list of required static device nodes ...current kernel. [ OK ] Started LSB: Set keymap. [ OK ] Started udev Coldplug all Devices. Starting Create Static Device Nodes in /dev... Mounting FUSE Control File System... Starting Apply Kernel Variables... [ OK ] Listening on Syslog Socket. Starting Journal Service... [ OK ] Started Journal Service. [ OK ] Mounted FUSE Control File System. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started Apply Kernel Variables. Starting udev Kernel Device Manager... [ OK ] Started udev Kernel Device Manager. Starting Copy rules generated while the root was ro... Starting LSB: Tune IDE hard disks... Starting LSB: Set preliminary keymap... [ OK ] Started Copy rules generated while the root was ro. [ OK ] Started LSB: Tune IDE hard disks. [ OK ] Reached target Sound Card. [ OK ] Created slice system-ifup.slice. [ OK ] Started LSB: Set preliminary keymap. [ OK ] Found device /dev/ttyS0. Starting Remount Root and Kernel File Systems... [ OK ] Started Remount Root and Kernel File Systems. Activating swap /var/swap... Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems (Pre). Mounting /tmp... [ OK ] Activated swap /var/swap. [ OK ] Mounted /tmp. [ OK ] Started Load/Save Random Seed. [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... [ OK ] Reached target Remote File Systems. Starting Trigger Flushing of Journal to Persistent Storage... Starting LSB: Prepare console... Starting LSB: Raise network interfaces.... [ OK ] Reached target Swap. [ OK ] Started Create Volatile Files and Directories. [ OK ] Started LSB: Prepare console. [ OK ] Started Trigger Flushing of Journal to Persistent Storage. Starting LSB: Set console font and keymap... Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started LSB: Raise network interfaces.. Starting ifup for eth0... [ OK ] Started ifup for eth0. [ OK ] Reached target Network. [ OK ] Reached target Network is Online. [ OK ] Started LSB: Set console font and keymap. [ OK ] Reached target System Initialization. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Reached target Sockets. [ OK ] Reached target Timers. Starting Restore Sound Card State... [ OK ] Reached target Basic System. Starting Entropy daemon using the HAVEGE algorithm... [ OK ] Started Entropy daemon using the HAVEGE algorithm. Starting Regular background program processing daemon... [ OK ] Started Regular background program processing daemon. Starting OpenBSD Secure Shell server... [ OK ] Started OpenBSD Secure Shell server. Starting Network Manager... Starting /etc/rc.local Compatibility... Starting Login Service... Starting LSB: Load kernel modules needed to enable cpufreq scaling... Starting LSB: Advanced IEEE 802.11 management daemon... Starting LSB: Start NTP daemon... Starting LSB: Start/stop sysstat's sadc... Starting LSB: Armbian gathering hardware information... Starting LSB: disk temperature monitoring daemon... Starting LSB: No Display Manager... Starting LSB: Starts LIRC daemon.... Starting D-Bus System Message Bus... [ OK ] Started D-Bus System Message Bus. Starting System Logging Service... Starting Permit User Sessions... [ OK ] Started System Logging Service. [ OK ] Started Restore Sound Card State. [ OK ] Started /etc/rc.local Compatibility. [ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling. [ OK ] Started LSB: Advanced IEEE 802.11 management daemon. [ OK ] Started LSB: Start NTP daemon. [ OK ] Started LSB: Start/stop sysstat's sadc. [ OK ] Started LSB: Armbian gathering hardware information. [ OK ] Started LSB: disk temperature monitoring daemon. [ OK ] Started LSB: No Display Manager. [ OK ] Started LSB: Starts LIRC daemon.. [ OK ] Started Permit User Sessions. [ OK ] Started Login Service. Starting Authenticate and Authorize Users to Run Privileged Tasks... Starting Light Display Manager... Starting LSB: set CPUFreq kernel parameters... Starting Serial Getty on ttyS0... [ OK ] Started Serial Getty on ttyS0. Starting Getty on tty1... [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. Stopping LSB: Starts LIRC daemon.... [ OK ] Stopped LSB: Starts LIRC daemon.. Starting LSB: Starts LIRC daemon.... [ OK ] Started LSB: Starts LIRC daemon.. [ OK ] Started Light Display Manager. [ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks. [ OK ] Started LSB: set CPUFreq kernel parameters. Starting LSB: Set sysfs variables from /etc/sysfs.conf... [ OK ] Started Network Manager. [ OK ] Started LSB: Set sysfs variables from /etc/sysfs.conf. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Network Manager Script Dispatcher Service... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Network Manager Script Dispatcher Service. [ OK ] Created slice user-1000.slice. Starting User Manager for UID 1000... [ OK ] Created slice user-108.slice. [ OK ] Started User Manager for UID 1000. Starting User Manager for UID 108... [ OK ] Started User Manager for UID 108. Debian GNU/Linux 8 orangepione ttyS0 orangepione login: It was the cable!!!!!!!!!!
    Changed it with a new one just now and everything is fine.
    Even the tty/uart log is different and now it does not mention any dvi, only hdmi.
     
    Thank you again for your efforts and please excuse me for the noise, I should have thought of it earlier.
    At least now, we learned something, not to trust even the out of the bag cables..
     
    thanks
    Christos
     
     

  23. Like
    Christos got a reaction from arox in NanoPI NEO / AIR   
    If you rotate 90degrees the heatsink and bolt it again, you will see that it has proper opennings for pin soldering..   
     
    Christos
  24. Like
    Christos got a reaction from Igor in Real Time patches seem broken after today's commits   
    Yep,
    Seen the commit in github a couple of minutes ago, tried it and its succeeding now, its fine.
     
    Thanks!
  25. Like
    Christos reacted to shahidali55 in Realtek RTL8192EU WiFi driver?   
    Hi Christos,   Please follow the below steps to compile and deploy the kernel module for 8192EU:   git clone https://github.com/shahidali55/rtl8192eu_3 cd rtl8192eu_3 make ARCH=arm sudo make install If all the above steps complete without errors, reboot the board. ifconfig should now show wlan0
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines