garinus

Members
  • Content Count

    3
  • Joined

  • Last visited

About garinus

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, I have 3 Orange Pi Zero running with the same sd image. It's all working fine, but yesterday I added a fourth device, which for some reason took a MAC address that is the same of another device, causing issues on the connection for both of them. I'm using the mainline kernel ARMBIAN 5.38 stable Debian GNU/Linux 9 (stretch) 4.14.18-sunxi. Searching on the internet, I found someone saying that mac addresses for Orange Pis are randomly generated every time the device reboots, but in my case the taken MAC address is always the same for every device. I saw to that people suggested to check the content of the /etc/modprobe.d/8189fs.conf file, but I don't have it. Do you encountered the same problem? How is the mac address generated on the Orange Pi Zero? Thank you in advance for your cooperation.
  2. Sorry I check a second time on the schematic and I saw the two resistor. I dissoldered them and now it work as i expected. On these pin i have two relays, so when it turns on the relay switch on for some seconds until or the bootloader or the program takes over the control of the pins. Yesterday I tried other option to clear the pins, I report them here to share: connecting on serial press space on the reboot until the console of the bootloader came up (it shows a line: Autoboot in 1 seconds, press <Space> to stop.) write on the console the command: setenv set-io 'gpio clear PXXX' where PXXX is the pin to clear, (eg. PA18), set instead of clear to set high. is possible to set two or more pins using: setenv set-io 'gpio clear PXXX; gpio clear PXXX' now we add on the line preboot. we need to know what is write on this line so we launch the command: printenv and we read the line preboot, like: preboot=usb start now we store the new command: setenv preboot 'run set-io; usb start' and we save saveenv now is possible to boot and reboot the system as usual from armbian: boot this is for me the command that start first. Does anyone know some command that start before the preboot? Or how to put it at the beginning of the bootloader
  3. Hi, I'm tring to solve an issue on my Orange Pi Zero: at boot time the pins PA18 and PA19 are stucked to Vcc. I tried a lot of solution, now the best result is to add at the beginning of the file boot.cmd the command to clear the gpio configuration: gpio clear PA18 gpio clear PA19 and recompile the boot.scr. Despite this the pins goes HIGH for some seconds until the bootloader reach this line. What is the boot scheme? Why i get this pin HIGH? Is it because the I2C1 is configured? Is it possible to disable it? Thanks Simone