Active threads

Showing topics posted in the last 365 days.

This stream auto-updates   

  1. Past hour
  2. running sudo while you are root is redundant, sudo (superuser do) is intended for normal users to run some commands as root to fix DNS issue add this to the file /etc/hosts 127.0.0.1 localhost 127.0.1.1 bpi-iot-ros-ai # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters for the eMMC i think there is a tool they call bpi-copy as they state: "support bpi-copy to write SD/eMMC with img.zip file" but as @martinayotte already told your "dd" worked and you copied to eMMC.
  3. Connecting to: /dev/ttyUSB0 Changing monitoring state from 'Offline' to 'Opening serial port' Connected to: Serial<id=0xafdedf50, open=True>(port='/dev/ttyUSB0', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=60.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor Changing monitoring state from 'Opening serial port' to 'Connecting' Changing monitoring state from 'Connecting' to 'Offline' Connecting to: /dev/ttyUSB0 Changing monitoring state from 'Offline' to 'Opening serial port' Connected to: Serial<id=0xb02054d0, open=True>(port='/dev/ttyUSB0', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=60.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor Changing monitoring state from 'Opening serial port' to 'Connecting' Recv: 4��1q�1a��\x1fq1�dlqh�9� ��05p0��1h��W�d ���x4�p011x��R58������ Connection closed, closing down monitor There was a timeout while trying to connect to the printer Changing monitoring state from 'Connecting' to 'Offline' Connection closed, closing down monitor this octoprint Terminal log
  4. I got a very friendly email of one of the maintainers of the sun8i-emac ethernet driver. See my posting on:
  5. I got a very friendly reply on my search for correct AppleTalk working on the sun8i-emac network driver. See this: Not sure how to use this fix in the building development, but maybe someone is willing to give some help!
  6. In my Orange Pi One with ARMBIAN 5.27.170422 nightly Ubuntu 16.04.2 LTS 4.10.11-sun8i I install acpi: sudo apt-get install acpi And run sudo acpi_listen And nothing is show when I press the power button. Is normal or my button is damaged? Thanks
  7. Today
  8. I try again and again and same result... I think the last option is to recompile uboot... Do you have any documentation to help me in that task please @zador.blood.stained?
  9. Building the "Desktop" image, I got: HELLO! BOOT0 is starting! boot0 version : 3.0.0 reg_addr 0x01f00100 =0x00007347 reg_addr 0x01f00104 =0x0000703b reg_addr 0x01f00108 =0x5aa5a55a reg_addr 0x01f0010c =0x000000ff reg_addr 0x01f00110 =0x000000ff reg_addr 0x01f00114 =0x000000ff eraly jump fel U-Boot SPL 2017.03-armbian (Apr 25 2017 - 15:56:39) DRAM: 1024 MiB Trying to boot from MMC1 U-Boot 2017.03-armbian (Apr 25 2017 - 15:56:39 -0300) Allwinner Technology CPU: Allwinner A31? (SUN6I, id: 7) Model: Merrii A31 Hummingbird DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment Setting up a 1024x768 vga console (overscan 0x0) Error: no valid bmp image at 66000000 In: serial Out: vga Err: vga Net: eth0: ethernet@01c30000 Hit any key to stop autoboot: 0 38518 bytes read in 147 ms (255.9 KiB/s) switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3550 bytes read in 204 ms (16.6 KiB/s) ## Executing script at 43100000 U-boot loaded from SD Boot script loaded from mmc 128 bytes read in 175 ms (0 Bytes/s) 4256917 bytes read in 484 ms (8.4 MiB/s) 6189880 bytes read in 593 ms (10 MiB/s) Found mainline kernel configuration 40041 bytes read in 580 ms (67.4 KiB/s) ** File not found /boot/dtb/overlay/-fixup.scr ** ## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 4256853 Bytes = 4.1 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 49bf0000, end 49fff455 ... OK reserving fdt memory region: addr=43000000 size=a000 Loading Device Tree to 49be3000, end 49beffff ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. And it Stucks at that point.
  10. I just wanted to share some instructions on how to control all GPIO pins on the OrangePi Zero Plus 2 board. These instructions are meant for newbies but it can be extremely helpful if you are new to Armbian, OPI and GPIO. At least it would have been for me. There is a total of 17 different pins to control according to the schematic below. These pins are highlighted in blue numbers that indicate what GPIO port they are available at. Use these numbers in order to know that pins to control. Look for instructions further down. First off some basics: Activate a pin by exporting it. For example. In order to activate IO-0 run: echo "352" > /sys/class/gpio/export Set the direction of the port. echo "out" > /sys/class/gpio/gpio352/direction Turn it on: echo "1" > /sys/class/gpio/gpio352/value Turn it off: echo "0" > /sys/class/gpio/gpio352/value To figure out what number to use for each pin follow the schematics above or read from the list below. I really have not figured out wether it is safe to control all pins(and not just IO-pins) for output but it seems to work when I verify with a voltmeter. These pins were identified using the official schematic for the board: http://linux-sunxi.org/File:ORANGE_PI-ZERO-PLUS2_V1_0.pdf If you are interested to learn how pins are identified based on the schematic please dig deeper into these files in the GIT repo: https://github.com/armbian/linux/blob/sun8i/drivers/pinctrl/pinctrl-sunxi.h https://github.com/armbian/linux/blob/sun8i/arch/arm/mach-sunxi/include/mach/pinctrl.h GPIO Table SDA = 12 SCL = 11 IO-GCLK = 6 IO-0 = 352 IO-2 = 353 IO-3 = 3 SPI1-MOSI = 15 SPI1-MISO = 16 SPI1-CLK = 14 TXD0 = 15 RXD0 = 16 IO-1 = 107 IO-4 = 19 IO-5 = 18 IO-6 = 2 SPI-CE0 = 13 SPI-CE1 = 110 I hope this helps someone.
  11. Do any of you know of an Android 5 ROM for this box? That way, we could run a few benchmarks under termux, at least.
  12. Hi everybody! I have the Armbian OS on OrangePi PC and I try to connect it to my WiFi router. For this purpose I have a Realtek USB RTL8188. I tried to connect it a couple of time, but it was unsuccessful. The "Connecting" pop-up window remains on the screen for minutes without connecting to the internet. Perhaps the Armbian does not have the right driver for this device? I have it, but I have no idea how to install it. Can someone help me, please?
  13. So next challenges are * CPU Frequency stuff.. DFS? * network interface management -- either eliminate network manager for now or like patch it. Network Manager isn't equiped to deal with the interfaces because they're on a distributed switch. NM does too much low level stuff... I saw a thread from august on a networkmanger bugtracker somewhere also identify that weakness, but it doesnt' look like it's been solved yet.
  14. Thank you, zador.blood.stained.
  15. BTW, this is not a page from Armbian web site ...
  16. I had a problem with mine in that it would get far enough into the boot that i could see some of the messages on the screen before it rebooted. I tried different power adapters, but it turned out to be the CABLE! I had a cable that worked fine on my pi3, but would flake out on the tinker board.
  17. Second that, yandex causes all sorts of problems. Only recently have I overcome the problem with downloads not starting (Load denied by X-Frame-Options) by setting network.http.enforce-framing.soft to false in firefox. No idea how to make it work in chromium, though.
  18. Without any SD inserted : U-Boot SPL 2017.01-rc1-g5df570f-dirty (Apr 25 2017 - 10:01:27) DRAM: 512 MiB Failed to set core voltage! Can't set CPU frequency Trying to boot from MMC2MMC Device 1 not found spl: could not find mmc device. error: -19 SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### And booting from SD, but stopping before kernel to get into U-Boot shell, "mmcinfo" just shows the MMC0, no MMC2 detected. It probably require an additionnal patch for SPL itself.
  19. Hello, I am opening new topic because I simply cannot get monitor running on 1280x800. I only get shrinked picture, that isn't that I am looking. I also cannot understand how to add new resolution to kernel. Please help, thanks all in advance
  20. Hey Does this display http://www.ebay.com/itm/192163706724?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT Work with the orange pi zero?
  21. Based on this overlay you can add up to 3 GPIO chip selects (in addition to hardware CS 0): https://github.com/armbian/sunxi-DT-overlays/blob/master/sun8i-h3/sun8i-h3-spi-add-cs1.dts So cs-gpios property may look like this: cs-gpios = <0>, <&pio 0 9 0>, <&pio 0 10 0>, <&pio 0 21 0>; /* CS0 HW, CS1 PA9, CS2 PA10, CS3 PA21 */ and pinmux block may look like this: spi0_cs_gpios: spi0_cs_gpios { pins = "PA9", "PA10", "PA21"; function = "gpio_out"; output-high; }; So you will need to use this overlay as a template and include cs-gpios changes and the pinctrl/pinmux changes to add more chip selects. Then resulting overlay can be installed via "armbian-add-overlay" if you updated the packages recently. Armbian DT overlays documentation: https://docs.armbian.com/User-Guide_Allwinner_overlays/ Please note that your image must include fresh enough boot script and environment file (check for overlay_prefix line in /boot/armbianEnv.txt, otherwise you may need to update them manually.
  22. OK, cool, so does this make sense then? I'd really hate to screwing it up and having to flash the system again # Wired adapter #1 allow-hotplug eth0 no-auto-down eth0 iface eth0 inet dhcp #address 192.168.0.100 #netmask 255.255.255.0 #gateway 192.168.0.1 #dns-nameservers 8.8.8.8 8.8.4.4 # hwaddress ether # if you want to set MAC manually # pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838 # Wireless adapter #1 # Armbian ships with network-manager installed by default. To save you time # and hassles consider using 'sudo nmtui' instead of configuring Wi-Fi settings # manually. The below lines are only meant as an example how configuration could # be done in an anachronistic way: # allow-hotplug wlan0 iface wlan0 inet dhcp address 192.168.0.100 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 8.8.8.8 8.8.4.4 # wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf #wireless-mode Managed #wireless-power off # Local loopback auto lo iface lo inet loopback I basically uncommented the whole DHCP stuff... There's also interfaces.hostapd, which looks like this: auto lo br0 iface lo inet loopback auto eth0 iface eth0 inet manual auto wlan0 iface wlan0 inet manual iface br0 inet dhcp bridge_ports eth0 wlan0 #hwaddress ether # will be added at first boot It seems to me that this is the file which is used by armbian-config for the HOTSPOT option. So could it be that instead of "iface wlan0 inet manual" I should set this line to "iface wlan0 inet dhcp" and add the parameters like in the "interfaces" file?
  23. please show us your config file. My config is below. dc is Pin#3(GPIO12) reset is Pin#5(GPIO11) orangepi@orangepipc:~$ cat /etc/modules-load.d/fbtft.conf flexfb fbtft_device orangepi@orangepipc:~$ cat /etc/modprobe.d/fbtft.conf options flexfb width=320 height=240 buswidth=8 init=\ -1,0x28,-2,20,-1,0xCF,0x00,0x83,0x30,-1,0xED,0x64,0x03,0x12,0x81,-1,0xE8,0x85,0x01,0x79,\ -1,0xCB,0x39,0x2c,0x00,0x34,0x02,-1,0xF7,0x20,-1,0xEA,0x00,0x00,-1,0xC0,0x26,-1,0xC1,0x11,\ -1,0xC5,0x35,0x3E,-1,0xC7,0xBE,-1,0xB1,0x00,0x1B,-1,0xB6,0x0a,0x82,0x27,0x00,-1,0xB7,0x07,\ -1,0x3A,0x55,-1,0x36,0x38,-1,0x11,-2,120,-1,0x29,-2,20,-3 options fbtft_device name=flexfb gpios=dc:12,reset:11 speed=1600000
  24. When I changed some settings to my network config, my Odroid doesn't boot anymore. Even changing the settings back doesn't make it boot again. Has anyone had this happen before? I hooked up my UART and this is the result, it never proceeds with starting the kernel (see spoiler below)
  25. I heard in a podcast that the latest Windows 10 release (creator) is finally capable to read more than one partition on USB attached storage. Other question, why can't you use "man in the middle" device with Linux to serve it? Or USB to Ethernet protocol
  26. thanksI will try it
  27. This is out of the topic, but what is the lowest CPU freq orange pi can go, I set Zero PI freq to 240000 and temperature drops with 10 ! It have higher CPU load than before, but CPU temperature is more important in my case. And seconds question, I have read in orange pi forum working temperature of 75 C is normal, is that correct?
  1. Load more activity