Posts by Soundbender

    Thank you, I appreciate that!

    I removed the xorg.conf and then reran a (modified) script to use my modified edid.bin in place of the display's factory edid and that corrected the problem. The system now boots to the 2376x890@60 resolution that makes the display happy, and both xrandr and kodi's display configuration function normally.

    No more "CustomEDID" on intel for me. Lesson learned :)

    Latest LE 8.0.2 on Intel NUC D34010WYK with an 8:3 aspect ratio display and a customized EDID. Anytime that "Option "CustomEDID"" is used in the xorg.conf file, both xrandr and Kodi segfault. This happens with my modified EDID or the factory EDID. If this option is commented out in xorg.conf and only the modelines are left the segfaults do not happen.

    With EDID enabled:

    Kodi segfaults on boot and then recovers. Any attempt to enter the System Settings menu causes a segfault. Otherwise it operated normally.

    Log: GGcG

    Pastebin of DMESG: [ 0.000000] Linux version 4.9.29 (chewitt@buildbox) (gcc version 6.2.0 (GCC) - Pastebin.com

    Without EDID:

    Everything operates normally.

    Log: aNaL

    DMESG: [ 0.000000] Linux version 4.9.29 (chewitt@buildbox) (gcc version 6.2.0 (GCC) - Pastebin.com

    I've also tried using the "getedid create" (using the display's 'factory' edid) as well as manually running the script commands to use my custom edid with the same results. The factory EDID does not include the display's native aspect ratio, so I have been working to get the entire boot process functioning at the 8:3 ratio.

    You will notice the unusual resolution. The display is 1920x720 pixels but it will not sync to any modelines based on that resolution. I was forced to 'get creative' to get a nearly-correct aspect that does not cause display corruption. Without the EDID involvement, the display is trouble-free. If it would be a value I will set the default Modeline to 1920x1080 for a log (which the display will happily sync to), but I don't feel that's the issue.

    Thanks for the help!

    OH! <lightbulb>

    So by calling g++ by name in the Makefile I was using the native host g++ to compile and overriding the build environment. The result was a native app, not a cross-compiled application and the install location was a byproduct of that. I think I get it now. Thank you so much :)

    ^ If I got that all wrong please correct me. I am trying hard to learn how the puzzle pieces all fit together :)


    With empty PKG_URL you will not build anything. You can put source archive file to some web server or you can copy it directly to sources folder. Then you need to create md5 and url file.

    Yes, thank you. The only problem I seem to be having is in my Makefile. The source tarball is being located and extracted into build, but once the program is finished compiling it is being installed in the host system, not into the target image.

    Code
    prefix=/usr
    <snip>
    
    
    .PHONY: install 
    install: hdrc 
    install -m 0755 hdrc $(prefix)/bin

    It seems simple enough, but for some reason I'm just not getting it. I compared the install locations from the Makefiles of a number of other applications that end up in the target's /usr/bin, but I'm clearly doing something wrong here.

    That's awesome, thank you both! I managed to get it working by cheating it into another package's dependencies, so now I'll go back and figure out why setting it as an OEM package caused a 'no package.mk' error on build.

    Given that my sources do not exist in a repository outside of my build environment is there anything I need to tell the system (besides an empty line in PKG_SITE="" and PKG_URL="") to keep from blowing out my source package unintentionally with the build system?

    I appreciate your patience. I'm no developer, so I'm trying to learn (the right way) as I go. Thanks again!

    I have a functioning build environment set up in a VM, and I have added an application to my local build tree for LibreElec (Odroid C2) and have gotten the application configured to build successfully using

    Code
    PROJECT=Odroid_C2 ARCH=aarch64 ./scripts/build $APPNAME

    How do I add the application to the build list for a release or image build?

    Thanks for your time :)