Jump to content
funtoo forums

minou666

Members
  • Content count

    3
  • Joined

  • Last visited

About minou666

  • Rank
    Newbie

Personal

  • Location
    White Pigeon Michigan
  • Interests
    Embedded systems

Recent Profile Visitors

105 profile views
  1. How to override default packages

    I did find a solution. I will document the whole thing on my user page when I am done. I found the solution on a Gentoo page. On /etc/portage/profile I created a file named package.provided with the following content : x11-libs/libX11-1.6.5 x11-libs/libxcb-1.12-r2 x11-libs/libxkbfile-1.0.9-r1 x11-libs/libxshmfence-1.2 media-libs/mesa-17.2.8 x11-libs/libXrender-0.9.10 x11-libs/libXdamage-1.1.4-r1 x11-apps/xkbcomp-1.4.0 dev-libs/expat-2.2.0-r1 media-libs/fontconfig-2.11.1-r2 x11-proto/fontsproto-2.1.3 x11-libs/libdrm-2.4.83-r1 x11-libs/cairo-1.14.8 x11-libs/pixman-0.34.0 x11-misc/xcb-2.4-r1 media-gfx/xv-3.10a-r19 sys-libs/zlib-1.2.11-r2 x11-libs/libXv-1.0.11 x11-libs/libXvMC-1.0.10 x11-proto/xextproto-7.3.0 x11-proto/randrproto-1.5.0 x11-proto/compositeproto-0.4.2-r1 x11-proto/damageproto-1.2.1-r1 x11-proto/fixesproto-5.0-r1 x11-proto/glproto-1.4.17-r1 x11-proto/dri2proto-2.8-r1 x11-proto/dri3proto-1.0 x11-proto/inputproto-2.3.2 x11-proto/kbproto-1.0.7 x11-proto/recordproto-1.14.2-r1 x11-proto/renderproto-0.11.1-r1 x11-proto/resourceproto-1.2.0 x11-proto/scrnsaverproto-1.2.2-r1 x11-proto/videoproto-2.3.3 x11-proto/presentproto-1.1 x11-proto/xf86dgaproto-2.1-r2 x11-proto/xf86driproto-2.1.1-r1 x11-proto/xf86vidmodeproto-2.3.1-r1 x11-proto/xineramaproto-1.2.1-r1 x11-proto/xcmiscproto-1.2.2 x11-proto/xproto-7.0.31 dev-libs/libevdev-1.5.7 x11-libs/libXau-1.0.8 x11-libs/libXdmcp-1.1.2-r1 x11-libs/libXext-1.3.3 x11-libs/libXmu-1.1.2 x11-libs/libXrandr-1.5.1 x11-libs/libXt-1.1.5 x11-libs/libXxf86vm-1.1.4 x11-libs/libXfont-1.5.4 x11-libs/libXi-1.7.9 x11-libs/libXft-2.3.2 x11-libs/libXinerama-1.1.3 x11-libs/libXfixes-5.0.3 media-libs/freetype-2.8 x11-libs/libICE-1.0.9-r1 x11-libs/libfontenc-1.1.3 sys-libs/mtdev-1.1.5 x11-base/xorg-server-1.19.3-r2 x11-base/xorg-drivers-1.19 x11-drivers/xf86-input-keyboard-1.9.0 x11-drivers/xf86-input-evdev-2.10.5 x11-drivers/xf86-input-mouse-1.9.2 x11-libs/libSM-1.2.2-r1 media-fonts/font-util-1.3.1 All these are provided by the binary blobs from Texas Instruments. Imagination doesn't seem to want to provide the source code for the EGL libraries and the license for xorg is not GPL so we are stuck with binaries. So far they seem close in version to those used by Funtoo. I had issues on Arch Linux since a few applications would not compile. I am hoping that I will not get these issues here. My goal is to have a working mate desktop on my beagleboard X15 boards and eventually my beaglebone black boards. SGX files that are duplicates of those of funtoo are on /usr/local/XSGX/ For MESA they have custom names suzie /etc/portage/profile # la -la /usr/lib/*MESA* lrwxrwxrwx 1 root root 34 11 aoû 18:52 /usr/lib/libGLESv1_PVR_MESA.so -> libGLESv1_PVR_MESA.so.1.15.4564147* lrwxrwxrwx 1 root root 34 11 aoû 18:52 /usr/lib/libGLESv1_PVR_MESA.so.1 -> libGLESv1_PVR_MESA.so.1.15.4564147* -rwxr-xr-x 1 root root 425332 11 aoû 18:50 /usr/lib/libGLESv1_PVR_MESA.so.1.15.4564147* lrwxrwxrwx 1 root root 34 11 aoû 18:52 /usr/lib/libGLESv2_PVR_MESA.so -> libGLESv2_PVR_MESA.so.1.15.4564147* lrwxrwxrwx 1 root root 34 11 aoû 18:52 /usr/lib/libGLESv2_PVR_MESA.so.1 -> libGLESv2_PVR_MESA.so.1.15.4564147* -rwxr-xr-x 1 root root 443392 11 aoû 18:50 /usr/lib/libGLESv2_PVR_MESA.so.1.15.4564147* Some stuff like the TI gstreamer won't work with it as they need to run outside of X. The whole thing is listed as experimental by TI. Michel
  2. How to override default packages

    What would be the equivalent in funtoo for what we use in archlinux to replace packages. Here is an example, not complete since it overrides more packages but you should get the idea of what I am trying to do The package name is 'ti-xsgx-ddk-um provides=('ti-xsgx-ddk-um' 'xtrans' 'xproto' 'xextproto' 'libxcb' 'libxau' 'inputproto' 'kbproto' 'libx11' 'libxrender' 'libxft' 'libxext' 'libxdmcp' 'mesa') conflicts=('xtrans' 'xproto' 'xextproto' 'libxcb' 'libxau' 'inputproto' 'kbproto' 'libx11' 'libxrender' 'libxft' 'libxext' 'libxdmcp' 'mesa') replaces=('xtrans' 'xproto' 'xextproto' 'libxcb' 'libxau' 'inputproto' 'kbproto' 'libx11' 'libxrender' 'libxft' 'libxext' 'libxdmcp' 'mesa') Michel
  3. X questions (SGX Xorg)

    I got the SGX xorg working nicely. It supports the 3D GPU on the beagleboard X15. I got it to work on both Beagleboard X15 Rev A2 and Rev C. I plan to do the same with the beaglebone in a few weeks. I create the DRM driver for the kernel and the GLES and EGL libraries Now I want to get mate to work with it but have some issue which don't seem to have an easy solution. I started with this command : emerge -auDN @world It lists a lot of app and at the end this : The following mask changes are necessary to proceed: (see "package.unmask" in the portage(5) man page for more details) # required by media-libs/libepoxy-1.4.3::xorg-kit # required by x11-libs/gtk+-3.20.10::gnome-kit # required by app-crypt/gcr-3.20.0::gnome-kit[gtk] # required by gnome-base/gnome-keyring-3.20.0::gnome-kit # required by app-crypt/libsecret-0.18.5::gnome-kit # required by app-crypt/pinentry-1.0.0::core-kit[gnome-keyring] # required by app-crypt/gnupg-2.1.20-r1::core-kit # required by dev-vcs/git-2.15.2::core-kit[gpg] # required by @system # required by @world (argument) # /etc/portage/package.mask/mesa: =media-libs/mesa-17.2.8 # required by media-libs/mesa-17.2.8::xorg-kit[gallium,classic] # required by media-libs/libepoxy-1.4.3::xorg-kit # required by x11-libs/gtk+-3.20.10::gnome-kit # required by app-crypt/gcr-3.20.0::gnome-kit[gtk] # required by gnome-base/gnome-keyring-3.20.0::gnome-kit # required by app-crypt/libsecret-0.18.5::gnome-kit # required by app-crypt/pinentry-1.0.0::core-kit[gnome-keyring] # required by app-crypt/gnupg-2.1.20-r1::core-kit # required by dev-vcs/git-2.15.2::core-kit[gpg] # required by @system # required by @world (argument) # /etc/portage/package.mask/mesa: =app-eselect/eselect-mesa-0.0.10-r1 I do not want either mesa or xorg to be installed since they would conflict with what I have. SGX also has custom mesa files suzie ~ # dir /usr/lib/lib*MESA* lrwxrwxrwx 1 root root 34 15 jui 00:01 /usr/lib/libGLESv1_PVR_MESA.so -> libGLESv1_PVR_MESA.so.1.15.4564147* lrwxrwxrwx 1 root root 34 15 jui 00:01 /usr/lib/libGLESv1_PVR_MESA.so.1 -> libGLESv1_PVR_MESA.so.1.15.4564147* -rwxr-xr-x 1 root root 425332 14 jui 23:59 /usr/lib/libGLESv1_PVR_MESA.so.1.15.4564147* lrwxrwxrwx 1 root root 34 15 jui 00:01 /usr/lib/libGLESv2_PVR_MESA.so -> libGLESv2_PVR_MESA.so.1.15.4564147* lrwxrwxrwx 1 root root 34 15 jui 00:01 /usr/lib/libGLESv2_PVR_MESA.so.1 -> libGLESv2_PVR_MESA.so.1.15.4564147* -rwxr-xr-x 1 root root 443392 14 jui 23:59 /usr/lib/libGLESv2_PVR_MESA.so.1.15.4564147* suzie ~ # dir /usr/local/XSGX/lib/*EGL* lrwxrwxrwx 1 root root 15 15 jui 00:01 /usr/local/XSGX/lib/libEGL.so -> libEGL.so.1.0.0* lrwxrwxrwx 1 root root 15 15 jui 00:01 /usr/local/XSGX/lib/libEGL.so.1 -> libEGL.so.1.0.0* -rwxr-xr-x 1 root root 146176 14 jui 23:59 /usr/local/XSGX/lib/libEGL.so.1.0.0* Any idea how to get around this issue? I think it should be fairly straightforward to get the desktop started by changing the configuration for xinit (startx) How do we get lightdm to play the right way with my xorg? Here is the script to start xorg from Texas Instruments : The script is on /etc/init.d/xorg #!/bin/sh x_start() { # Start the X Server. # /usr/local/XSGX/bin/X -config /usr/local/XSGX/etc/xorg.conf > /dev/null 2>&1 & echo "Starting Xorg" return 0; } x_stop() { # Stop the X Server. # [ -f /tmp/.X0-lock ] && read XPID < /tmp/.X0-lock && [ -n "$XPID" ] && kill $XPID && while [ -e /proc/$XPID ] ; do sleep 1; don echo "Stopping Xorg" return 0; } # Deal with the type of invocation we get. # case "$1" in start) x_start ;; stop) x_stop ;; *) echo "$0: unknown argument $1." >&2; ;; esac Michel
  4. I had the message posted on the wrong group. The issues I mentionned earlier I have fixed so I changed my message to be a real news message. The ACCESS DENIED message of my previous was caused by a bug in one of Texas Instruments scripts that was checking to see if I use clang. In the function that check for the presense of clang it tries to create some log on a place where it can't. TI must never have tested that on the target. I managed to get it to compile on the target after I fixed the script. That bug is in the pvrsrvkm source tree. I have published a stage 3 for Funtoo to use on the beagleboard X15 which uses an AM5728 processor from Texas Instruments. TI broke the eMMC support for the Beagleboard X15 Rev A2. I have fixed that. Note that I have not checked u-boot yet so I think that you might not be able to boot on eMMC. With a simular bug I was not able to boot off the eMMC on the DRA726 boards we have at work. I would have to wipe out debian on the beagleboard to check that out and I am not ready to do that yet. You can find the files on my website http://suzielinux.com/ I am creating some ebuilds for my Beagleboard X15 boards. I will publish those ebuilds in a few weeks. So far I have the kernel 4.14 and sgx kernel module ebuild created. My next targets are EGL and adapting mesa to not interfere with the sgx EGL. Michel
  5. e2fsprogs breaks u-boot

    I have been working on yocto, gentoo and funtoo for the Beagleboard X15. I needed to create a new image for one of my Beagleboard X15 boards. I created a partition of 90MB in fat32 for u-boot and MLO. I then created an ext4 partition for the rootfs using the following command because funtoo now uses the e2fsprogs that breaks u-boot : mkfs.ext4 -L rootfs -O ^metadata_csum,^64bit /dev/sdd2 That didn't not create a 32 bit filesystem as expected. The solution was to boot to ubuntu 16.04 which still uses 1.42 This command worked correctly on arch linux last I tried. I looke to replace 1.43 with 1.42 in my overlay but it doesn't appear to be possible. The unmask and mask do not work, funtoo insists on keeping the buggy version. I find it annoying to have to boot to ubuntu to do my work on arm boards. Any idea how to fix that? Is there any alternative to that e2fsprogs crapware? Michel
  6. Beagleboard X15

    I have created a Funtoo for Beagleboard X15. I use the latest released kernel from Texas Instruments that they have with the 3.0 SDK, the kernel version is 4.4.19 EGL works on this version in yocto, I will try to port it to funtoo, I will update to 4.9 when it is supported by TI. If anyone is interested in working on this let me know. Michel
  7. metro question

    Can I use a gentoo stage3 seed to create a stage3 funtoo? I want to create a stage3 funtoo for a mips board. Michel
×