Jump to content

BigChris

Members
  • Posts

    15
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Germany

Recent Profile Visitors

932 profile views
  1. I think i see there only the emmc. If i start from sdcard, i see mmcblk0 and mmcblk1. If i start from emmc, there is only mmcblk0.
  2. I use armbian installed on emmc of Nanopi neo air. I want use the sdcard, buit i can't see the card. I insert the card after i boot from emmc. How can i mount the card?
  3. I think i answer myself I am to stupid to do it like i want, with python. But, shell scripts work everywhere an i understand it in most cases. So, here is an solution for my Problem. I use PIN 18, which Linux GPIO is 201. I pot a pullup resistor (10kOhm) to PIN 17 - 3,3V. After this, i configure the PIN18. echo 201 > /sys/class/gpio/export echo "in" > /sys/class/gpio/gpio201/direction Now i can check the value cat /sys/class/gpio/gpio201/value The answer should be 1. If now the PIN18 is shorted to PIN 20 (GND), the answer is 0. A little script does it for me: #!/bin/sh BUTTON=201 # shutdown button echo "$BUTTON" > /sys/class/gpio/export echo "in" > /sys/class/gpio/gpio$BUTTON/direction while true ; do data=`cat /sys/class/gpio/gpio$BUTTON/value` if [ "$data" -eq "0" ] ; then shutdown -h now else cnt=0 fi done
  4. I want to use a shutdown button to make a secure shutdown with the nanopi neo air. But i am completly lost how it works. I don't find out, which GPIO's i can use for a script. And if i need a puuldown or not. Can somebody help me? Thanks Chris
  5. I use Armbian_5.25_Nanopiair_Ubuntu_xenial_default_3.4.113 and try to use a clock module DS3231 on I²C. But i still don't get working. I install i2c-tools and did a scan i2detect -y1 but i don't get an answer. It looks like this: root@nanopiair:~# i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- How can i use the i2c? Oh - think i got it. "i2cdetect -y 0" give me a hint,
  6. Thank you very much. I use armbian since a while on cubietruckl, i don't get the idea that it is still the same with nand-sata-install. Shame on me, life can be so easy
  7. Sounds great, thank you! No i wondering, how i can install armbian to emmc? Just boot from microsd and do dd arbian.img to emmc?
  8. Hi, is it possible to install armbian on the emmc and a second armbian on the microsd card? So, if no microsd card insert the nanopi boot from emmc, otherwise boot from microsd?
  9. I got following error after boot mainline: brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30) brcmfmac: brcmf_p2p_create_p2pdev_timeout occured brcmfmac: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5 How to fix it?
  10. I use Mainline 4.9.7 Ubuntu Xenial and wan`t to disable wlan and bluetooth, cause i don`t need. Where can i do this?
  11. Ok Thx! I've use an older image on an other CT and i loving it!
  12. Hi, i try to install Mainline 4.9.7 Ubuntu Xenial on cubietruck. After first boot, it ends directly in prompt cubietruck login: First start takes about 40 seconds, no ssh keys, no reboot. I think something go wrong? I try this witch several SD Cards. All the same...
  13. Hi all, i got the problem, that my Banana Pi doesn't boot. I receive the error Unknown command 'U-Boot' - try 'help' This is similar while try use openwrt, bananaian or ip-fire. Did i brick my PI? Can i do something? Thanks BigChris
×
×
  • Create New...