Jump to content

data

Members
  • Posts

    94
  • Joined

  • Last visited

Posts posted by data

  1. Just in case anyone cares:

    Turning off power save by  iw dev wlan0 set power_save off   is not permanent. It is enabled again after a reboot.

    So, to permanently disable powersave for wifi, I did the following:

     

    1.  modify /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

     

    [connection]
    # Values are 0 (use default), 1 (ignore/don't touch), 2 (disable) or 3 (enable).
    wifi.powersave = 2

    2. created a new udev-rule: /etc/udev/rules.d/10-ap6255-wifi.rules

    KERNEL=="wlan*", ACTION=="add", RUN+="/sbin/iwconfig wlan0 power off"

     

  2. @martinayotte

     

    Ok, new image is up and running:

     

    AP6255 Wifi works, however somewhat flaky. Ping times are normal for Wifi, but when I type it takes some time to show the characters.

     

    USB3 Ethernet is not being recognized in dmesg nor does it show up in lsusb

     

    USB Wifi can scan, however it does not let me connect, complaining about a wrong WPA2 Password.

     

     

    update:

    just switched to the nightly built via armbian-config. Update to 4.18.11 went successful

    USB Wifi works now, USB3 Ethernet still not recognized

  3. I just tried to build a full bionic image, but it exits complaining about i2c:

     

    [ o.k. ] Looking for user patches in [ userpatches/atf/atf-sunxi64 ]
    [ warn ] * [l][c] enable-additional-regulators.patch [ failed ]
    [ warn ] * [l][c] set-rsb-to-nonsec.patch [ failed ]
    make: *** No rule to make target 'drivers/allwinner/i2c/sunxi_i2c.c', needed by 'build/sun50i_h6/debug/bl31/sunxi_i2c.o'.  Stop.
    make: *** Waiting for unfinished jobs....
    [ error ] ERROR in function compile_atf [ compilation.sh:66 ]
    [ error ] ATF compilation failed 
    [ o.k. ] Process terminated 

     

  4. See all details below:

     

      ___                               ____  _   _     _ _         ____  
     / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_) | |   (_) |_ ___  |___ \
    | | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |   | | __/ _ \   __) |
    | |_| | | | (_| | | | | (_| |  __/ |  __/| | | |___| | ||  __/  / __/
     \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_| |_____|_|\__\___| |_____|
                           |___/                                          
    
    Welcome to ARMBIAN 5.61.180926 nightly Ubuntu 18.04.1 LTS 4.18.10-sunxi64   
    System load:   0.83 0.32 0.12      Up time:       1 min        
    Memory usage:  7 % of 994MB      IP:            10.1.1.162 10.1.1.157
    CPU temp:      31°C               
    Usage of /:    4% of 29G        
    
    [ General system configuration (beta): armbian-config ]
    
    Last login: Wed Sep 26 20:51:01 2018
    
    root@orangepilite2:~# dmesg |grep -i mmc
    [    0.892184] sunxi-mmc 4020000.mmc: could not find pctldev for node /soc/pinctrl@300b000/mmc0-pins, deferring probe
    [    0.892214] sunxi-mmc 4022000.mmc: could not find pctldev for node /soc/pinctrl@300b000/mmc2-pins, deferring probe
    [    1.118542] sunxi-mmc 4020000.mmc: Got CD GPIO
    [    1.143911] sunxi-mmc 4020000.mmc: base:0x(____ptrval____) irq:11
    [    1.170113] sunxi-mmc 4022000.mmc: base:0x(____ptrval____) irq:12
    [    1.193092] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.197899] mmc0: new high speed SDHC card at address 0007
    [    1.198880] mmcblk0: mmc0:0007 SDCIT 29.2 GiB
    [    1.200152]  mmcblk0: p1
    [    3.368126] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
    [    5.610572] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
    root@orangepilite2:~# dmesg | grep -i sdio
    root@orangepilite2:~# dmesg | grep -i brcm
    
    root@orangepilite2:~# uname -a
    Linux orangepilite2 4.18.10-sunxi64 #292 SMP Wed Sep 26 16:53:32 CEST 2018 aarch64 aarch64 aarch64 GNU/Linux
    root@orangepilite2:~# ls -la /boot
    total 33304
    drwxr-xr-x  3 root root     4096 Sep 26 21:31 .
    drwxr-xr-x 22 root root     4096 Sep 23 23:12 ..
    -rw-r--r--  1 root root      165 Sep 26 21:31 armbianEnv.txt
    -rw-r--r--  1 root root      165 Sep 26 21:31 armbianEnv.txte
    -rw-r--r--  1 root root     1536 Sep 23 23:13 armbian_first_run.txt.template
    -rw-r--r--  1 root root   230454 Sep 23 23:13 boot.bmp
    -rw-r--r--  1 root root     3018 Sep 23 23:11 boot.cmd
    -rw-r--r--  1 root root     4882 Sep 23 23:13 boot-desktop.png
    -rw-rw-r--  1 root root     3090 Sep 23 23:14 boot.scr
    -rw-r--r--  1 root root   147050 Sep 26 14:53 config-4.18.10-sunxi64
    lrwxrwxrwx  1 root root       19 Sep 26 21:00 dtb -> dtb-4.18.10-sunxi64
    drwxr-xr-x  3 root root     4096 Sep 26 20:58 dtb-4.18.10-sunxi64
    lrwxrwxrwx  1 root root       18 Sep 23 23:12 dtb.old -> dtb-4.18.9-sunxi64
    lrwxrwxrwx  1 root root       23 Sep 26 20:59 Image -> vmlinuz-4.18.10-sunxi64
    -rw-r--r--  1 root root  8407047 Sep 26 21:00 initrd.img-4.18.10-sunxi64
    -rw-r--r--  1 root root        0 Sep 26 20:59 .next
    -rw-r--r--  1 root root  3011411 Sep 26 14:53 System.map-4.18.10-sunxi64
    lrwxrwxrwx  1 root root       23 Sep 26 21:00 uInitrd -> uInitrd-4.18.10-sunxi64
    -rw-r--r--  1 root root  8407111 Sep 26 21:00 uInitrd-4.18.10-sunxi64
    -rwxr-xr-x  1 root root 13844488 Sep 26 14:53 vmlinuz-4.18.10-sunxi64
    root@orangepilite2:~#

     

  5. Well, this is probably beyond my skills, but if you tell me where to start or send me a patch or modified kernel, I can try it out and post the results.

     

    Since the AP6255 is supposed to be the same chipset as used in the Raspberry Pi 3 B+,  there should be some documentation available?!

     

  6. I need to attach some devices via spi and i2c to an orange pi zero but would like to keep it in its original case.
    Just soldering a few wires to the gpio pins and drilling a hole in the case isn't really an option. I am looking for
    a nice and clean way.  Browsing through AliExpress looking for connectors has not revealed any suitable options
    so far. I already thought about adding an 2.54mm 2x26 Pin Male Double Row Right Angle Pin Header and
    cut a suitable hole to the case but I guess it would protrude too much.

    Which connector do you recommend? It should have at least 4 contacts.

    Has anyone modified the case and added some small connectors? Photos?

    Looking for your suggestions
     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines