Jump to content


  • Posts

  • Joined

Everything posted by Magnets

  1. I'm running 5.10.12 on opi PC2 and gettin the same problem with V4L2_PIX_FMT_SUNXI_TILED_NV12 which is not defined in /usr/include/linux/videodev2.h It is defined in that source tree https://github.com/megous/linux/blob/orange-pi-5.10/include/uapi/linux/videodev2.h How is it getting lost in the armbian build process?
  2. I have NFS running on opi PC2 5.4.43-sunxi64 working fine
  3. I had a problem with ext4 and data being committed every 30 seconds and changing commit interval in fstab made no difference to fix it I modified: /proc/sys/vm/dirty_expire_centisecs to 500 (5 seconds). 30 seconds is default You can monitor it with: cat /proc/meminfo | grep "Dirty" -A1
  4. The latest update on my OPI pc2 has reduced the max cpu freq from 1.3ghz to 1.01ghz. I believe the old minfreq was 120mhz? linux-stretch-root-next-orangepipc2_5.85_arm64.deb /etc/default/cpufrequtils # WARNING: this file will be replaced on board support package (linux-root-...) upgrade ENABLE=true MIN_SPEED=480000 MAX_SPEED=1010000 GOVERNOR=ondemand
  5. On the PC2 I found the default governor (ondemand?) makes the freq spike too much, conservative prevents it from just hitting max freq every time you load it. I run conservative with an up_threshold of 50 (I think default is 25%) IIRC the parameter that allows it to consider IO as part of the load is not available on conservative so you lose a small amount of performance at the top end. If you're using USB wifi dongles it also doesn't want to increase freq in a hurry when running conservative.
  6. I have just noticed the same issue when trying to use armbian-config on pi pc2, as have others here: https://github.com/armbian/config/issues/33 My armbianEnv.txt looks like this /var/log.hdd/aptitude { rotate 6 monthly compress missingok notifempty } ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u How can I regenerate armbianEnv.txt without doing a reinstall? edit: pulled it from the .img
  7. I thought I'd share some links to JMS578 based enclosures I've found: ACASIS FA-08US - cheapest on ebay but also on ali https://www.aliexpress.com/item/Acasis-fa08us-2-5-inch-usb3-0-aluminum-external-hard-drive-disk-SATA-SSD-mechanical-solid/32818921168.html Metal enclosure with plastic tray, has 4 mounting holes to secure the drive to the tray. Firmware Version: v0.5.0.8 CHIPAL clear enclosure - Firmware Version: v133.2.0.2. This enclosure gave me errors after running fstrim with an ADATA SU650 but not with another SSD I have. It works fine with discard. The SU650 + fstrim works fine in the ACASIS enclosure. JZYuan adapter - according the pictures on aliexpress it has JMS578 but I've not personally tested it
  8. Mt76 based dongles should work. A6210 works OK for me. I get around 160mbit/250mbit on 5ghz AC 110mbit on 2.4ghz Around £15 on ebay. Argos sell them for £30 but reduce to £20 on occasion https://wireless.wiki.kernel.org/en/users/drivers/mediatek The drivers are under active development https://github.com/openwrt/mt76/commits/master some of the RTL8812AU yellow dongles from china come with RTL8812CU now. RTL8812AU perform bad even under windows so likely have poor design
  9. Great work! I have the same problem with a PC 2 which came direct from the manufacturer Your script has some unicode characters so I removed them: sed -i -e '1imw.l 0x01C20020 0x80101810\' /boot/boot.cmd mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr
  10. That looks neat and essentially gives me 3 USB ports as I would be using USB-SATA adapter anyway but it's $55 USD including shipping to the UK sound good
  11. I have an orange pi PC that I use as a simple NAS (NFS, smb, iscsi) and for openVPN occasionally but want something new with GbE. What is the best upgrade that will give me 2 or more usb ports, GbE and a faster processor? With decent software support ()? I don't need HDMI or wifi but it would be a plus 512MB-1GB RAM opi zero plus? opi PC 2? Around $20 shipped ideally
  12. Using performance gov on opi PC with Sandisk 16GB A1 on a usb card reader Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2 Output is in kBytes/sec Time Resolution = 0.000001 seconds. Processor cache size set to 1024 kBytes. Processor cache line size set to 32 bytes. File stride size set to 17 * record size. random random bkwd record stride kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread 102400 4 3546 3573 5092 5086 4412 2948 102400 16 4588 8634 15272 15273 13885 7955 102400 512 21594 30277 36395 36542 35605 27344 102400 1024 28300 32080 36932 37035 36661 26242 102400 16384 30036 32860 37809 37933 37894 28773 iozone test complete. Purchased from aliexpress ($5) but the scratch & verify sticker says it's genuine My samsung evo 64gb went read-only recently (20 months old) and then would not boot. I copied to another card and ran fsck and all seems OK. I think the later evos were not as well made as the earlier batches.
  13. I'd use this to get the HDMI output of your DSLR encoded (720p only) https://blog.danman.eu/new-version-of-lenkeng-hdmi-over-ip-extender-lkv373a/ Then a raspberry pi or pi0 to do the hw h264 re-encoding
  14. Not sure, but I don't think so. AFAIK you can only wake from IR or GPIO You can buy RTC modules based on the DS3231 which have built in wakeup alarms that you can set and trigger a GPIO on the opi to wake it
  15. If you want hardware accelerated decoding you need to use mpv or mplayer. I'm not sure if you can run multiple instances and all use VDPAU edit: mpv segfaults if you open 2 instances
  16. I have VDPAU working on TVout on the opi zero. VDPAU only works on screen0. opizero is set to use screen1 by default, but both are configured to PAL/TVOUT. setting VDPAU_SCREEN=1 had no effect so I just changed the fex to: disp_mode=0 https://github.com/linux-sunxi/libvdpau-sunxi/issues/32
  17. Lite2 https://www.cnx-software.com/2017/12/28/orange-pi-one-plus-allwinner-h6-board-launched-for-20/#comment-550316
  18. I updated to head and recompiled and still have a black screen. Do I need to edit the kernel config? CONFIG_CMA_SIZE_MBYTES is set to 16 edit: appears not, this is from dmesg cma: CMA: reserved 128 MiB at 58000000 Kernal Command Line: ... cma=96M
  19. Thanks. Desktop works but HW video decoding doesn't, I just get a black window - the same video works on my OpiPC. Does VDPAU support TV out/CVBS? Using: Armbian_5.35_Orangepizero_Debian_jessie_default_3.4.113_desktop
  20. How do I get a desktop running on this (legacy)? It only outputs a shell on the video out Additionally, is the hw video decoder enabled? Armbian_5.30_Orangepizero_Ubuntu_xenial_default_3.4.113
  21. Network block device support is not included in the 3.4 kernel on opi PC CONFIG_BLK_DEV_NBD Could this be enabled by default in a future update?
  22. Mine is: Read Registers on MCUFRIEND UNO shield controllers either read as single 16-bit e.g. the ID is at readReg(0) or as a sequence of 8-bit values in special locations (first is dummy) reg(0x0000) 15 80 ID: ILI9320, ILI9325, ILI9335, ... reg(0x0004) 00 01 00 01 Manufacturer ID reg(0x0009) 00 01 00 01 00 Status Register reg(0x000a) 00 00 Get Powsr Mode reg(0x000c) 00 00 Get Pixel Format reg(0x0061) 00 00 RDID1 HX8347-G reg(0x0062) 00 01 RDID2 HX8347-G reg(0x0063) 00 00 RDID3 HX8347-G reg(0x0064) 00 00 RDID1 HX8347-A reg(0x0065) 00 00 RDID2 HX8347-A reg(0x0066) 00 00 RDID3 HX8347-A reg(0x0067) 00 00 RDID Himax HX8347-A reg(0x0070) 00 00 Panel Himax HX8347-A reg(0x00a1) 00 00 00 00 00 RD_DDB SSD1963 reg(0x00b0) 00 00 RGB Interface Signal Control reg(0x00b4) 00 00 Inversion Control reg(0x00b6) 00 00 00 00 00 Display Control reg(0x00b7) 00 00 Entry Mode Set reg(0x00bf) 00 00 00 00 00 00 ILI9481, HX8357-B reg(0x00c0) 00 00 00 00 00 00 00 00 00 Panel Control reg(0x00c8) 00 14 00 14 00 14 00 14 00 14 00 14 00 GAMMA reg(0x00cc) 00 02 Panel Control reg(0x00d0) 00 5a 00 Power Control reg(0x00d2) 00 be 00 be 00 NVM Read reg(0x00d3) 00 ff 00 ff ILI9341, ILI9488 reg(0x00da) 00 00 RDID1 reg(0x00db) 00 00 RDID2 reg(0x00dc) 00 00 RDID3 reg(0x00e0) 16 06 16 06 16 06 16 06 16 06 16 06 16 06 16 06 GAMMA-P reg(0x00e1) 07 88 07 88 07 88 07 88 07 88 07 88 07 88 07 88 GAMMA-N reg(0x00ef) 00 00 00 00 00 00 ILI9327 reg(0x00f2) 00 00 00 00 00 00 00 00 00 00 00 00 Adjust Control 2 reg(0x00f6) 00 54 00 54 Interface Control The number on the back is: 61580 The board looks exactly like the one Neo posted further up, i.e. without the 3.3v regulator
  23. I'm not having any luck getting an image. I've connected mine (same model as Neo) as shown in the first video. If I don't connect the backlight (3v3) then the screen flashes faintly sometimes when using test programs. When the backlight is connected it doesn't appear to do anything - just a white screen
  24. You're correct, it seems the 5v input doesn't actually do anything, you need to drive the 3.3v input to get the backlight
  • Create New...