Jump to content

bl4ckc00k1e

Members
  • Posts

    38
  • Joined

  • Last visited

Reputation Activity

  1. Like
    bl4ckc00k1e got a reaction from Jens Bauer in How can i disable from kernel in Sunxi the HDMI, Audio, etc   
    Ubuntu 15.10 works perfectly, thanks.
     
     
    I compile the kernel and making an image (i will test it this afternoon), i add some drivers, and delete drivers from IR and Audio.
     
    The only problem is that i cant see the HDMI drivers ( or options ) only LCD options.
  2. Like
    bl4ckc00k1e reacted to zador.blood.stained in How can i disable from kernel in Sunxi the HDMI, Audio, etc   
    It's a temporary error, long story short - GPG key for aptly repository expired, and now dependencies installation will fail on Ubuntu Trusty.
     
     
     
    Please try Ubuntu Wily (or Xenial) as your build host in VM.
     
    Edit: new key added to build script, so this should be fixed shortly.
  3. Like
    bl4ckc00k1e got a reaction from Jens Bauer in How can i disable from kernel in Sunxi the HDMI, Audio, etc   
    Dont understand very well your question but i supposed that if i remove from kernel this devices, the board will be more eficcient, true? and the kernel will run more faster, true? or i am totaly wronge?
  4. Like
    bl4ckc00k1e got a reaction from Jens Bauer in How can i disable from kernel in Sunxi the HDMI, Audio, etc   
    Thanks for the answer @Jens, but i think i should recompiled the kernel like this link: http://www.armbian.com/github/
     
    But my questión is when i compile what i generate? how can i add that kernel to my system? or how can i make and image from that kernel?

     
  5. Like
    bl4ckc00k1e reacted to Jens Bauer in How can i disable from kernel in Sunxi the HDMI, Audio, etc   
    Try having a look at the top of /boot/boot.cmd
     
    -This is a file, which needs to be compiled (but you have the compiler)
    Now, if you make a mistake, you might have to re-write your sd-card, so I will suggest you do the following:
     
    1: Take out the SD-card you usually boot from and put it somewhere safe.
    2: Get an empty card (a different card).
    3: Write Armbian to this card, then boot from it.
    4: When you've done the basic setup, CD into /boot.
    5: copy boot.cmd to boot.cmd.old and boot.scr to boot.scr.old
    6: Edit boot.cmd using your favorite editor. (I like nano myself, as it's very simple and easy to learn)
    7: Look in /usr/sbin/nand-sata-install, you'll find a few places where 'boot.scr' is re-built from 'boot.cmd'.
    8: Pick the one, which generates the SD-card booter and copy that:
    mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr After running the above command, your boot.scr is updated. Try booting from the card and see if it works as expected.
     
    My boot.cmd for CubieBoard2 looks like this (note: you can most likely not use mine; use the one that is already written to your SD-card)...
     
     
    setenv bootargs "console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 cgroup-enable=memory swapaccount=1 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=1" -As you see, there are several interesting things to mess with.
    What exactly to do to disable things, I do not know, but I'd start by reducing the screen resolution to something small like 640x480@60.
     
    I think that other users of this forum will be able to provide a much better answer than mine, but this should give you a place to start.
  6. Like
    bl4ckc00k1e got a reaction from Jens Bauer in How can i disable from kernel in Sunxi the HDMI, Audio, etc   
    Hi all again,
     
    I need disable this hardware on the kernel of the board because i dont use it:
    HDMI Audio IR receiver Camera LCD screen  
    For do this i should recompile the kernel? or i can desactivate in the armbian with out recompile?
     
    And how i do this? i am very noob with kernels.
     
    Best Regards!
  7. Like
    bl4ckc00k1e reacted to Igor in Hardware question: GPIO, SPI, UART, Wireless, Ethernet   
    This ENJC modules were designed to connect micro controllers to Ethernet, to exchange small amount of data. Speed is low, as you can see in the "how to" article.
     
    Well, if you want to do experiments and play, why not. 
  8. Like
    bl4ckc00k1e reacted to tkaiser in Hardware question: GPIO, SPI, UART, Wireless, Ethernet   
    Nope, seems impossible since you provide broken links (404) and mix up hardware (different boards that all have their own issues) and software (different OS images that all have their own issues).
     
    The whole idea to collect crappy hardware (enc28j60 for example, why do you expect 'performance' from such a thing?!) that is both slow and hard to even physically interconnect seems a bit weird. Also posting things like 'I CANT USE THE 4 EXTERNAL USB'? Do you really expect an answer to that?
  9. Like
    bl4ckc00k1e reacted to Igor in SPI Ethernet on raspberry or BPI-M2 on the GPIO   
    In 1-2weeks.
     
    https://github.com/igorpecovnik/lib/commit/2a072de9d81ebd0cf3b33de1e006ffb6ca6b56ea
  10. Like
    bl4ckc00k1e reacted to zador.blood.stained in SPI Ethernet on raspberry or BPI-M2 on the GPIO   
    Luckily your first image name contains "28j60", so we can say that it's an enc28j60 module.
    Linux driver for this is in \drivers\net\ethernet\microchip\enc28j60.c, and required kernel option is CONFIG_ENC28J60,
    Unfortunately it's not enabled by default in Armbian kernel.
     
    For compiling your own kernel please read the documentation here or wait for a new kernel release (I'll enable this module if I don't forget).
  11. Like
    bl4ckc00k1e reacted to Igor in UART (TXD & RXD) x 2 on GPIO of BPI-M2, is possible?   
    I am not sure about M2 but GPIOs are available in the kernel. I was doing something on A20 based boards and it's working out of the box.
    http://linux-sunxi.org/GPIO
  12. Like
    bl4ckc00k1e reacted to Igor in move armbian from one SD to another   
    For SD to SD yes. Your guide is perfectly correct.
     
    Things gets messy when we start to combine SD, NAND and SATA and if you want to transfer only boot part of the SD image to another and transfer rootfs to SATA ... or if you want to write u-boot which is designed for NAND to blank SD card 
  13. Like
    bl4ckc00k1e reacted to tkaiser in Testers wanted: sunxi adjustments for RPi-Monitor   
    Hi,
     
    I started to adjust RPi-Monitor's settings for the Banana Pi a while ago and reworked the whole stuff in the meantime (since it was focused on Banana Pi and some parts were too quick&dirty -- especially temp file handling of the temperature daemon). I also adjusted the consumption measurements for Lamobo R1 since it's the best idea to power the board through the LiPo battery connector -- for this case you need the axp209_cpu_pmu_temp_r1.conf template!
     
    Here you find an installation overview for RPi-Monitor (takes you 3 minutes if you are able to copy&paste): http://rpi-experiences.blogspot.fr/p/rpi-monitor-installation.html
     
    Here you find what's different on sunxi: https://github.com/ThomasKaiser/RPi-Monitor/blob/master/README_sunxi.md
     
    Here you find the adjustments: http://kaiser-edv.de/downloads/sunxi-monitor.tar.gz (MD5: 6822bcd7fe5cb2403eed9747e7cfff52. It will take you additional 3 minutes to 'install' -- see below)
     
    The archive contains the following:
    /etc/rpimonitor/data.conf /etc/rpimonitor/template/sunxi_axp209.conf /etc/rpimonitor/template/axp209_cpu_pmu_temp.conf /etc/rpimonitor/template/axp209_cpu_pmu_temp_r1.conf /usr/share/rpimonitor/scripts/sunxi_tp_temp /usr/share/rpimonitor/scripts/sunxi-temp-daemon.sh Contents: data.conf is relinked to template/sunxi_axp209.conf which includes all the basic RPi-Monitor stuff but uses template/axp209_cpu_pmu_temp.conf for all the A10/A20/AXP209 specific stuff since this differs totally from Raspberry Pi. The sunxi_tp_temp binary is able to read out A20's temperature and sunxi-temp-daemon.sh is a script I rewrote from scratch since it's not possible to collect thermal data from disks/SoC under heavy load (RPi-Monitor isn't that patient waiting for external ressources to respond. So I created a daemon that collects thermal data into 3 temporary files and redirect RPi-Monitor to read from there).
     
    WARNING: Most of the sunxi stuff works only with kernel 3.4.x since in mainline the I2C/sysfs interface to the AXP209 PMU disappeared.
     
    Installation: Install RPi-Monitor as outlined in the link above, then stop it, untar the archive from /, ensure that /usr/share/rpimonitor/scripts/sunxi-temp-daemon.sh will be running and start rpimonitor again.
    # become root eg. by "sudo su -" service rpimonitor stop cd / && tar -xzf /path/to/sunxi-monitor.tar.gz nohup /usr/share/rpimonitor/scripts/sunxi-temp-daemon.sh & service rpimonitor start To let the collection of thermal data survive a reboot it's a good idea to add "/usr/share/rpimonitor/scripts/sunxi-temp-daemon.sh &" prior to "exit 0" to /etc/rc.local
     

     

     

     

  14. Like
    bl4ckc00k1e reacted to stepman in Wifi not working on Cubietruck   
    I got it.
     
    I had the new version of armbian on my sd-card, but the installation onto the hdd did not work properly. Therefore I booted an old version (kernel 3.4) from the hdd.
     
    With the new kernel wifi works well.
     
    Thanks for your help!
  15. Like
    bl4ckc00k1e reacted to wildcat_paris in Bpi-m2 Wifi (AP6181 - brcmfmac sdio) Hostapd karma/mana? monitoring??   
    @bl4ckc00k1e
     
    as topic owner you can edit your topic title... but ok I have updated it as you wanted
    1/
    the brcmfmac of AP6181 says cfg80211/AP/IBSS
    2/
    "iw list" says "IBSS/managed/AP", no monitoring!
    so?
    I am not a wifi/kernel expert but I guess it is not registered in "iw list" don't expect monitoring to work.
  16. Like
    bl4ckc00k1e reacted to zador.blood.stained in TP-Link AC600 Archer T2UH (mt7610u ) [error] /bin/sh: 1: scripts/basic/fixdep: not found   
    Try executing this:
    cd /usr/src/linux-headers-4.3.3-sunxi make scripts and if there are no errors then repeat your module compilation
     
    Edit: I see only mt7601u in mainline source tree, don't know if it supports this wireless module.
  17. Like
    bl4ckc00k1e reacted to Igor in TP-Link AC600 Archer T2UH (mt7610u ) [error] /bin/sh: 1: scripts/basic/fixdep: not found   
    cd /usr/src/linux-headers-4.3.3-sunxi make scripts And try again.
     
    BTW: this driver is already inside kernel.
  18. Like
    bl4ckc00k1e got a reaction from wildcat_paris in Bpi-m2 Wifi (AP6181 - brcmfmac sdio) Hostapd karma/mana? monitoring??   
    Hi,
     
    In the website of https://wireless.wiki.kernel.org/en/users/drivers, i can see that the driver brcmfmac of AP6181 support this:
     

     
    And suppor this hardware:
     

     
    But if i install the driver firmware-brcm80211 i can´t use monitoring mode:
     
    Here the Chip of AP6181 in wlan0:
     

     
     
    I try to start it:
     

     
     
    And here the info of iw list... and yeah, i dont see monitoring in interface modes, but the driver would be let me monitoring... true?
     

     
    Thanks for help
     
    P.D. Can i change the tittle of this post: 
    Bpi-m2 Wifi Hostapd karma/mana? monitoring??to
    Bpi-m2 Wifi (AP6181 - brcmfmac sdio) Hostapd karma/mana? monitoring??
  19. Like
    bl4ckc00k1e reacted to wildcat_paris in Bpi-m2 Wifi (AP6181 - brcmfmac sdio) Hostapd karma/mana? monitoring??   
    I was just reading (not related?) http://forum.lemaker.org/thread-11442-1-1.html
     
    if you mean "iw list" details, I have a pair of realtek 8812AU and they are working but no details available "easily"
  20. Like
    bl4ckc00k1e reacted to Igor in Download Server Down   
    http://www.armbian.com/There is a note since this morning.
     
    It should be back online very soon, probably within this hour.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines