Jump to content

ari1234

Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

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

  1. i have orange pi pc plus board with armmbian installed on it, also im using X11 gui on it. if i first turn on the monitor and connect to hdmi port and then start(power on) the orange pi everything is ok . BUT if i turn on (start) orange pi and after few minutes put the hdmi cable from monitor to it then it will show nothig on monitor so it cant detect monitor if i connect after armbian start. how can i fix this
  2. on orange_pi pc plus i run nand-sata-install and after progress is 100% i see this error cp: error writing '/mnt/nand-sata-install.Qdjq7T/bootfs/boot/initrd.img-5.15.74-sunxi': No space left on device cp: error writing '/mnt/nand-sata-install.Qdjq7T/bootfs/boot/armbianEnv.txt': No space left on device cp: error writing '/mnt/nand-sata-install.Qdjq7T/bootfs/boot/armbianEnv.txt~': No space left on device cp: error writing '/mnt/nand-sata-install.Qdjq7T/bootfs/boot/boot.bmp': No space left on device cp: error writing '/mnt/nand-sata-install.Qdjq7T/bootfs/boot/boot.cmd': No space left on device cp: error writing '/mnt/nand-sata-install.Qdjq7T/bootfs/boot/boot.scr': No space left on deviceqqqqqqqqqqqqqqqeMMC installqqqqqqqqqqqqqqqqqqqqqqqqk cp: error writing '/mnt/nand-sata-install.Qdjq7T/bootfs/boot/armbian_first_run.txt.template': No space left on device x cp: cannot create directory '/mnt/nand-sata-install.Qdjq7T/bootfs/boot/overlay-user': No space left on deviceing up ... Almost done. x cp: error writing '/mnt/nand-sata-install.Qdjq7T/bootfs/boot/armbianEnv.txz~': No space left on device x cp: cannot create directory '/mnt/nand-sata-install.Qdjq7T/bootfs/boot/dtb-5.15.74-sunxi': No space left on deviceqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj /usr/sbin/nand-sata-install: line 284: echo: write error: No space left on device Error while creating U-Boot loader image with mkimage /usr/sbin/nand-sata-install: line 306: echo: write error: No space left on device cat: write error: No space left on device and i cant boot from emmc from SD card i can boot and it works well but cant write to emmc if i run ls /dev/mm* i can see SD CARD: /dev/mmcblk0 /dev/mmcblk0p1 EMMC: /dev/mmcblk2 /dev/mmcblk2boot1 /dev/mmcblk2boot0 /dev/mmcblk2p1 P.s in sd card i have installed "u-boot-sunxi-with-spl.bin" this way: dd if=/dev/zero of=/dev/sda bs=1k count=1023 seek=1 dd if=u-boot-sunxi-with-spl.bin of=/dev/sda bs=1024 seek=8 maybe i need to do something to install u-boot-sunxi-with-spl.bin manually on emmc
  3. i used this python script to read matrix 4x4 keypad data to raspberry pi import RPi.GPIO as GPIO #raspberry pi import time # these GPIO pins are connected to the keypad RPI L1 = 21 L2 = 23 L3 = 27 L4 = 29 C1 = 31 C2 = 33 C3 = 35 C4 = 37 # Initialize the GPIO pins GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) GPIO.setup(L1, GPIO.OUT) GPIO.setup(L2, GPIO.OUT) GPIO.setup(L3, GPIO.OUT) GPIO.setup(L4, GPIO.OUT) # Make sure to configure the input pins to use the internal pull-down resistors GPIO.setup(C1, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) GPIO.setup(C2, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) GPIO.setup(C3, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) GPIO.setup(C4, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) # It sends out a single pulse to one of the rows of the keypad # and then checks each column for changes # If it detects a change, the user pressed the button that connects the given line # to the detected column def readLine(line, characters): GPIO.output(line, GPIO.HIGH) if(GPIO.input(C1) == 1): print(characters[0]) if(GPIO.input(C2) == 1): print(characters[1]) if(GPIO.input(C3) == 1): print(characters[2]) if(GPIO.input(C4) == 1): print(characters[3]) GPIO.output(line, GPIO.LOW) try: while True: # call the readLine function for each row of the keypad readLine(L1, ["1","2","3","e"]) readLine(L2, ["4","5","6","r"]) readLine(L3, ["7","8","9","t"]) readLine(L4, ["q","0","w","y"]) time.sleep(0.2) except KeyboardInterrupt: print("\nApplication stopped!") How can i create similar script for orange pi in armbian (in my case orange pi pc plus)? it can by python or other language doesnt matter
  4. i want to build custom armbian image from git clone https://github.com/armbian/build ./compile.sh \ BOARD=orangepipcplus \ BRANCH=current \ BUILD_MINIMAL=yes \ BUILD_DESKTOP=no \ KERNEL_ONLY=no \ KERNEL_CONFIGURE=no \ EXTRAWIFI =yes \ BOOT_LOGO=yes \ COMPRESS_OUTPUTIMAGE=xz how can i disable u-boot message log and kernal log so no log or text will be displayed in hdmi screen i read somewhere that i need to add linux_silent or something like this
  5. on rasbian i can hide all startup message logs just by adding this console=tty3 silent quiet splash loglevel=0 logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles consoleblank=0 in /boot/cmdline.txt how can i do the same on armbian?
  6. im using orange pi with armbian and i try to rotate display by seeting in boot/armbianEvt.txt fbcon=rotate:3 it only rotate the console message. but when i run startx (startx installed via sudo apt-get install --no-install-recommends xserver-xorg x11-xserver-utils xinit openbox ) is still default mode not rotated It makes me angry to know that i have achieved it without any difficulty with a RaspberryPi 3 simply by adding display_rotate = X in /boot/config.txt and that there is no way for Armbian.
  7. i have connected device with hdmi and i dont want logs to be shown on startup i tested adding this code in /boot/armbianEnv.txt but it doesnt work extraargs="console=tty3 silent quiet splash loglevel=0 logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles consoleblank=0"
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines