Jump to content

perfstr

Members
  • Posts

    61
  • Joined

  • Last visited

Posts posted by perfstr

  1. Thank you for clarifying. I tested some image from Armbian, but it had several limitations for me. For example kernel v.6 had some problem with internal sound card in my test, while kernel v.5 works with it. 

  2. Thank you! I've checked it and it doesn't contain release for Orange Pi CM4. I went with image supplied in orangepi.org site and it answers my needs (in most cases). BTW, their image has something common with Armbian (or based on).

  3. Hello, I downloaded recent Armbian image for Orange Pi PC Plus - 23.05.1. When I run it, the screen resolution is 720x576 and virtual resolution 1024x768. I changed armbianEnv.txt - defined disp_mode=1280x800p60 (this is what I need) and also used fbset command in my application and it works in most cases, but sometimes after system restart the screen resolution is the default (720x576) and can't be changed - I get error - "ioctl FBIOPUT_VSCREENINFO: Invalid argument". How can this be fixed?

    Thanks in advance.

  4. Hello,

    I am trying to port my developed module to the newest Armbian system. Once I had everything worked in very old Armbian developed in 2018 based on kernel 3.4. There is a hardware module connected via i2c1. When my program tries to communicate with it, it doesn't work and I get errors 
    kernel: i2c i2c-1: mv64xxx: I2C bus locked, block: 1, time_left: 0

    I've uploaded the diagnosis information to URL: https://paste.armbian.com/aciwalafah

    There was a problem also in Armbian 22.11 system. I upgraded it after found information about some solution for i2c probem with similar error messages.  

     

    Please advise.

     

    Thanks.

  5. Hello, fresh installed Armbian desktop OS detects attached HDMI display as full HD with correct resolution 1920x1080. But after some restarts it loads in u-boot with correct resolution and then, on kernel startup switches to 1024x768 and also desktop opens with this resolution without an option to increase it. The armbianEnv.txt file in /boot folder  contains string

    disp_mode=1920x1080p60

    and was not changed. Please advise.

  6. Hello,

     

    just discovered ability to support legacy USB gadgets. There is UDC called max3420_udc and also gadgetfs module. By using startup script

     

        mkdir /dev/gadget
        modprobe max3420_udc
        modprobe gadgetfs
        mount -t gadgetfs none /dev/gadget

     

    it appears to be possible to use old gadget developed for kernel 3.4. It was descibed once in the link 
    https://forum.armbian.com/index.php/topic/1759-usb-gadget-built-for-h3-processor-on-top-of-gadgetfs/
    just line

     

    else if (stat(DEVNAME = "sunxi_usb_udc", &statb) == 0) {

     

    should be replaced by line

     

    else if (stat(DEVNAME = "musb-hdrc", &statb) == 0) {
     

    Hope this helps. 

    Just curious, where would it be possible to find any information (in Armbian documentation) about that? 

  7. Hi, please review and let me know, if there is a better way to create custom USB gadget.. The libusbgx library (https://github.com/linux-usb-gadgets/libusbgx) and examples were used. After compilation, there was a problem to run example. First of all, there was no usb_gadget in /sys/kernel/config folder. It appeared after calling this sequence

     

    # to create usb_gadget folder

    modprobe g_ether

    # not required
    rmmod g_ether

     

    The next commands prepare libusbgx environment, as per its README file.

     

    umount /sys/kernel/config

    #this removed error in the next comand

    mount -t configfs non /sys/kernel/config

     

    After that it was possible to run libusbgx examples. In order to run more than one example, their name should be different.

  8. I think i created the problem by attempt to customize the kernel configuration. Using the custom image I was not able to load module g_ether, got error about UDC problem. But if I load the module in standard Armbian desktop system, there is no problem. I will try now the standard console system and check, if the problem appears there. Will update later.   

  9. Hello, once I developed my appliance based on Armbian with Kernel 3.4. And the goal of the appliance was to work as custom USB gadget. The appliance was based on sunxi_usb_udc. Now, after big delay I returned to the need of bulding a new appliance with similar functionality. As far as I understand, there is a problem with UDC module in kernel 5.x. Am I right? Can I build my custom system based on legacy (v.4.x) kernel to workaround the problem or there is a better suggestion with available information for fast startup? Please advise.

    Thanks in advance.

  10. Hello, I've just found a topic about removing Allwinner legacy. I work with Orange Pi PC Plus board, H3 CPU. Do I understand correctly that the option to build system based on old v.3.4 kernel will be removed? Once I experienced a problem with system shutdown using newer kernel - got System halted message. This is why I decided to continue with legacy kernel. Please advise.

  11. Hello, when I connect R307 fingerprint reader to USB port, Linux identifies it as mass storage device. If the device is connected to the Orange Pi board before turning on, the system resets itself on early startup with "Resetting CPU..." message. What can be the reason and how to avoid it? I know about alternate serial connection, but would prefer to use USB. I use Armbian recent version with console image.

     

    Thanks in advance.

  12. Hello, the patch I've published earlier, worked for me fine until the last OS version update (apt-get upgrade). After the update I get black screen. I have a development environment with Full HD display. The display is able to adapt to 120x800 resolution.  If I switch display mode to Full HD using h3disp, the system works fine. The h3disp still shows 1280x800 resolution in the list, but switching to that mode causes again black screen. I understand that some updated module doesn't support this resolution. How can I fix the problem without rebuilding all the system again?

     

    Thanks in advance.

  13. Hello, the pll change didn't cause any difference. But when I set DVI mode, this did the trick - the background has changed to black. BTW, in order to set the RGB565 mode using h3disp command, the fb_mode should be set to 10.

    Hope this will help also to somebody else.

  14. Hello, after I edited the sources manually, now it works, but shows purple background. Is this the only pll value to play with, or I need to change something else? I would like get correct results before publishing the patch. Thank you, 

  15. Hello, I've just tried to apply the z-0004-add_1280x800.patch file from the above link and was able to see in the new compilation

     

    [warn] z-0004-add_1280x800.patch [failed]

     

    I've compared the files in an older compilation and indeed, the patch was not fully applied. What is a good way to solve this problem (I assume that editing the source files is not a good way). Thanks,

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines