Jump to content


  • Posts

  • Joined

  • Last visited


  • Location
    White Pigeon Michigan
  • Interests
    Embedded systems, Linux

Recent Profile Visitors

1,356 profile views

minou666's Achievements


Newbie (1/14)



  1. I see that crossdev is no longer supported. I did try different ideas shown on misc funtoo sites but nothing works. There is no apparent problem for RPI. I was able to create a stage4 from scratch on gentoo and got it booting and working nicely on the Beagle V Beta. I can understand that fchroot is the best approach to compile packages for a slow target but it is completely useless if you do not have anything to chroot on. What is the alternative for the creation of a stage3 and 4 when there is nothing available for a particular processor? Is it possible to create one using a gentoo boot. If so which packages do I need to compile? Michel
  2. I wanted to create a stage3 for the BeagleV which uses a riscv64 but couldn't get crossdev to create the cross compiler. I was able to do that on gentoo as well as create the whole stage3. I am also able to chroot into in using fchroot. I am then able to emerge programs in the chroot I used the cross compiler to do the whole thing. riscv64-unknown-linux-gnu-emerge --ask @system and add a few extra program like my favorite editor joe I had to change one line for the ebuild to get it to work on gentoo PYTHON_COMPAT=( python3+ ) to PYTHON_COMPAT=( python3_{6..9} ) Any idea how to get crossdev to work for riscv64 on funtoo? I followed the instruction for how to do it on funtoo, it failed emerging cross-gcc-stage1 On gentoo gcc is 10 so I tried with a requirement to use gcc 10 with identical results checking if mkdir takes one argument... no --with-arch=znver1 is not supported. The argument must begin with rv32e, rv32i, rv32g, rv64i, or rv64g. make[1]: *** [Makefile:4249: configure-gcc] Error 1 make[1]: Leaving directory '/var/tmp/portage/cross-riscv64-unknown-linux-gnu/gcc-9.2.0/work/objdir' make: *** [Makefile:942: all] Error 2 * ERROR: cross-riscv64-unknown-linux-gnu/gcc-9.2.0::crossdev failed (compile phase): * emake failed * Michel
  3. I would like to create a boot disk for the BeagleV. Where is the documentation for creating the misc funtoo stages? I haven't seen any funtoo stages for riscv64 , perhaps I didn't look at the right places. I found a stage3 for gentoo, are there any instruction on what needs to be changed to make it a stage 3 funtoo? Michel
  4. I was making an update on a beagleboard X15 (AM5729 Processor from TI) and got a certificate not valid message suzie ~ # emerge -uavDN @world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-lang/swig-3.0.12::lang-kit USE="pcre -ccache -doc" 7 959 KiB [ebuild r U ] dev-libs/nettle-3.5.1:0/7::security-kit [3.4.1:0/6.2::security-kit] USE="gmp -abi_riscv_lp64 -abi_riscv_lp64d -doc -neon -static-libs -test" 1 943 KiB [ebuild rR ] net-libs/gnutls-3.6.7:0/30::core-kit USE="cxx idn nls openssl tls-heartbeat -abi_riscv_lp64 -abi_riscv_lp64d (-dane) -doc -examples -guile -pkcs11 -seccomp -sslv2 -sslv3 -static-libs -test -test-full -tools -valgrind" 7 963 KiB [ebuild N ] app-crypt/libb2-0.98.1-r1::nokit USE="openmp -native-cflags -static-libs" 275 KiB [ebuild U ] dev-python/cryptography-2.8-r1::python-modules-kit [2.6.1::python-modules-kit] USE="-idna -libressl -test" PYTHON_TARGETS="python2_7 python3_7 (-pypy3) -python3_6 (-pypy%) (-python3_5%)" 493 KiB [ebuild N ] app-crypt/gpgme-1.13.0:1/11::nokit USE="cxx python -common-lisp -qt5 -static-libs" PYTHON_TARGETS="python2_7 python3_7 -python3_5 -python3_6" 1 778 KiB [ebuild U ] app-portage/portage-utils-0.80_pre20190620::core-kit [0.74-r1::core-kit] USE="nls openmp%* qmanifest%* -libressl% -static" 1 721 KiB Total: 7 packages (3 upgrades, 3 new, 1 reinstall), Size of downloads: 22 130 KiB The following packages are causing rebuilds: (dev-libs/nettle-3.5.1:0/7::security-kit, ebuild scheduled for merge) causes rebuilds for: (net-libs/gnutls-3.6.7:0/30::core-kit, ebuild scheduled for merge) Would you like to merge these packages? [Yes/No] Yes >>> Verifying ebuild manifests >>> Emerging (1 of 7) dev-lang/swig-3.0.12::lang-kit * Fetching files in the background. * To view fetch progress, run in another terminal: * tail -f /var/log/emerge-fetch.log >>> Downloading 'https://fastpull-us.funtoo.org/distfiles/swig-3.0.12.tar.gz' --2019-08-25 20:55:11-- https://fastpull-us.funtoo.org/distfiles/swig-3.0.12.tar.gz Resolving fastpull-us.funtoo.org... Connecting to fastpull-us.funtoo.org||:443... connected. ERROR: cannot verify fastpull-us.funtoo.org's certificate, issued by ‘CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US’: Issued certificate not yet valid. To connect to fastpull-us.funtoo.org insecurely, use `--no-check-certificate'. >>> Downloading 'http://download.sourceforge.net/swig/swig-3.0.12.tar.gz' --2019-08-25 20:55:12-- http://download.sourceforge.net/swig/swig-3.0.12.tar.gz Resolving download.sourceforge.net... Connecting to download.sourceforge.net||:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://downloads.sourceforge.net/project/swig/swig/swig-3.0.12/swig-3.0.12.tar.gz [following] --2019-08-25 20:55:12-- http://downloads.sourceforge.net/project/swig/swig/swig-3.0.12/swig-3.0.12.tar.gz Resolving downloads.sourceforge.net... Reusing existing connection to download.sourceforge.net:80. HTTP request sent, awaiting response... 302 Found Location: https://iweb.dl.sourceforge.net/project/swig/swig/swig-3.0.12/swig-3.0.12.tar.gz [following] --2019-08-25 20:55:12-- https://iweb.dl.sourceforge.net/project/swig/swig/swig-3.0.12/swig-3.0.12.tar.gz Resolving iweb.dl.sourceforge.net... 2607:f748:10:12::5f:2, Connecting to iweb.dl.sourceforge.net|2607:f748:10:12::5f:2|:443... connected. ERROR: cannot verify iweb.dl.sourceforge.net's certificate, issued by ‘CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US’: Issued certificate not yet valid. To connect to iweb.dl.sourceforge.net insecurely, use `--no-check-certificate'. !!! Couldn't download 'swig-3.0.12.tar.gz'. Aborting. * Fetch failed for 'dev-lang/swig-3.0.12', Log file: * '/var/tmp/portage/dev-lang/swig-3.0.12/temp/build.log' >>> Failed to emerge dev-lang/swig-3.0.12, Log file: >>> '/var/tmp/portage/dev-lang/swig-3.0.12/temp/build.log' * Messages for package dev-lang/swig-3.0.12: * Fetch failed for 'dev-lang/swig-3.0.12', Log file: * '/var/tmp/portage/dev-lang/swig-3.0.12/temp/build.log'
  5. I don't travel much anymore beside going to Québec. I do have a lot of family there. With 6 brothers and 6 sisters, that makes a lot of nephews and nieces and their kids. And my uncles and aunts also had a lot of kids, most cousins are in Québec and Vermont. My stay in Montréal was brief in the late 60s. When the Canadian military occupied Montréal I became very bitter toward the Canadian government after being subjected to police abuses. I went to Ontario to learn English. I then came back to Québec in Trois Rivières to go to college and university. I eventually moved to Michigan to work. Sort of half way between Québec and Missouri. I wasn't happy about the failure of the 1980 referendum. It wasn't until the early 90s that I went back to Montréal. I had a 3 years contract. Life was very different, I missed the café that we had in 1970. Funny thing was that I was told that I had a foreign accent Michel
  6. The problem was the FEATURE userfetch, when I took it out it got a bit farther. It gives bunch of errors due to conflict with gnome, I may have forgot to set the kit for mate. I have ran a world update and didn't have any such errors. I am using the version 1.4 for my arm boards. localhost / # emerge firefox Calculating dependencies /Unable to configure loopback interface: Operation not supported -Unable to configure loopback interface: Operation not supported \Unable to configure loopback interface: Operation not supported -Unable to configure loopback interface: Operation not supported /Unable to configure loopback interface: Operation not supported |Unable to configure loopback interface: Operation not supported -Unable to configure loopback interface: Operation not supported |Unable to configure loopback interface: Operation not supported ... done! [ebuild N ] media-libs/libvpx-1.7.0 USE="highbitdepth postproc threads -abi_riscv_lp64 -abi_riscv_lp64d -doc -static-libs -svc -test" [ebuild N ] net-libs/http-parser-2.9.2 USE="-abi_riscv_lp64 -abi_riscv_lp64d -static-libs" .... Not important for now, my main interest in the next few weeks is to complete the software support for the cape boards I designed for the pocketbeagle, beaglebone and rpi-0 I have a funtoo 1.4 done for the beaglebone AI which is based on the one I created for the beagleboard X15. I have a gentoo for the pocket beagle, need to change it to be funtoo. I have created funtoo for many Odroid boards (X86_64 and ARM) as well as Olimex boards (Allwinner ARM) A bigger challenge is going to be creating a good funtoo for my Creator Ci20 (MIPS) boards. I did a gentoo one a few years ago,it was not very stable. it would crash at random. I will have to add MIPS support to my qemu if it is not allready there. Michel
  7. I have several reason to prefer my own kernel. The zen kernel appears to work better for my ryzen 2700x board. One main interest for me with kernel 5.4 is the support for J1939. Intrepics has a kernel module for their devices so I won't have to run windows to do my J1939 tests. I plan to port my Funtoo on the Beagleboard AI to kernel 5.4, TI finally has one that support their devices, probably buggy ... They have some issues with their server lately, their git server often point to an internal server. As for security it is not an issue for me, I know what to check. Quick note, I watched the long video on youtube , I was impressed. I may have been programming for nearly 50 years but am no match to you. Have you gone back to Montréal lately? I miss living there sometimes but when I married a woman from Missouri I had to make different choices. Michel
  8. The rootfs I use is a modified version of the stage3 I published on my website for the Beagleboard X15 (I also published one for the beaglebone AI) I wanted to check it out, I can compile files easily on those boards, the idea is to create one for the PocketBeagle. I have designed several boards for the PocketBeagle and RPI-0 which I haven't received yet due to the virus in China. For curiosity I tried to emerge Chromium and Firefox and it fails for both. The message given doesn't give me clues on a solution I gave a ctrl C to end the infinite loop (chroot) localhost /etc # emerge --ask firefox These are the packages that would be merged, in order: Calculating dependencies tUnable to configure loopback interface: Operation not supported eUnable to configure loopback interface: Operation not supported y/var/git/meta-repo/kits/core-kit/eclass/meson.eclass: line 88: cannot create temp file for here-document: Permission denied eUnable to configure loopback interface: Operation not supported oUnable to configure loopback interface: Operation not supported aUnable to configure loopback interface: Operation not supported oUnable to configure loopback interface: Operation not supported Unable to configure loopback interface: Operation not supported m... done! Michel
  9. I did a world update and now got a very old debian kernel localhost ~ # dir /boot/ total 35800 drwxr-xr-x 4 root root 4096 31 déc 1969 . drwxr-xr-x 23 root root 4096 11 fév 18:32 .. -rwxr-xr-x 1 root root 0 4 aoû 2019 .keep drwxr-xr-x 4 root root 4096 3 nov 20:36 EFI -rwxr-xr-x 1 root root 3671764 11 fév 19:11 System.map-debian-sources-lts-x86_64-4.19.98_p1 -rwxr-xr-x 1 root root 4487982 6 aoû 2019 System.map-genkernel-x86_64-5.2.4-zen-catu+ drwxr-xr-x 6 root root 4096 11 fév 19:23 grub -rwxr-xr-x 1 root root 7689728 11 fév 19:22 initramfs-debian-sources-lts-x86_64-4.19.98_p1 -rwxr-xr-x 1 root root 6409668 6 aoû 2019 initramfs-genkernel-x86_64-5.2.4-zen-catu+ -rwxr-xr-x 1 root root 5609344 11 fév 19:11 kernel-debian-sources-lts-x86_64-4.19.98_p1 -rwxr-xr-x 1 root root 8763776 6 aoû 2019 kernel-genkernel-x86_64-5.2.4-zen-catu+ How do I keep it from getting merged . I removed it when I install my zen kernel but it came back today Removing it is impossible localhost ~ # emerge --deselect debian-sources && emerge -C debian-sources Performing Global Updates (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' #='/var/db update' @='/var/db move' s='/var/db SLOT move' %='binary move' S='binary SLOT move' p='update /etc/portage/package.*' /var/git/meta-repo/kits/core-kit/profiles/updates/3Q-2019.. >>> No matching atoms found in "world" favorites file... * This action can remove important packages! In order to be safer, use * `emerge -pv --depclean <atom>` to check for reverse dependencies before * removing packages. --- Couldn't find 'debian-sources' to unmerge. >>> No packages selected for removal by unmerge localhost ~ # eselect kernel list Available kernel symlink targets: [1] linux-5.2.99-zen0 [2] linux-debian-sources-lts-4.19.37_p6 [3] linux-debian-sources-lts-4.19.98_p1 * Now I need to delete the installed kernel by hand to keep it out but I am assuming that on the next update that trojan is going to be back. I plan on upgrading my kernel to a newer one, I do not want an old kernel. I am keeping my funtoo functional in the hope that someday I can make it again my main system. I am too busy with my work to have time to switch back to gentoo that still has 32 bit support. I have been using arch linux for a few months because of the lack of 32 bit support. The TI yocto cannot be used without 32 bit support. I am likely going to be stuck with ubuntu or arch until TI stops requiring 32 bit support. When I complain I am told that ubuntu and centos are the only supported platform. It worked correctly on funtoo until the removing of 32 bit support I am hoping that their self extracting files are the problem. I probably could find a work around if that is the only thing that requires 32 bit support. Basically it was a major goof from the funtoo team to remove 32 bit support. Michel
  10. Interesting item about gcc. I've had a few issues trying to compile spidermonkey on the odroid N2. It took hours and tons of crashes. I had enabled the mix-ins for plasma which brought in that program that would not compile. I am not sure if it was compiled cleanly, anyhow it installed which enabled the rest to compile. What exactly does that buggy software do? Why is it required to get plasma support? I am not a big fan of gnome 3 so my only choice left appears to be kde. The goal is to have a decent desktop on wayland, a friend told me that I could setup kde to look just like my mac so that would work for me. I stopped using gnome long ago when they switched from 2.x to 3.x. Unfortunately mate doesn't work on wayland. My next task will be to swap the EGL stuff to use the binary blob instead of those of mesa, any idea on an easy way to do that? The eselect approach might have been a solution but the new way woudl make that impossible, or could I easily modify that program to use the binary blobs from ARM? Odroid tells us that ARM has decided to no longer support xorg so on those embedded boards wayland is the only way. Same happened last year with TI about the imagination GPU. If I enable mesa none of the GPU stuff would work. Is there a way to completely disable xorg and still be able to run gnome or kde on Funtoo? That can be very important for my Beagleboard X15 and Beaglebone-AI so I can use the EGL from Imagination. With yocto I have to disable mesa to get that to work. On funtoo mesa is called and if I try to uninstall it I get tons of error messages claiming that it is needed. Michel
  11. I have added info for using the same stage3 for the Beagleboard X15. You just need to add the missing device tree files. It uses the u-boot and kernel from digi-key eewiki which doesn't seem to support EGL from imagination When I get some time I will update it with one that does, beagleboard group seems to only want free stuff. The problem like with most arm board, if you only want that you are giving up on all the power of the video processors. I have been busy with my odroid boards so it will take a few weeks before I implement that. Note that if you use the free driver for the 2D GPU you can get a decent xorg. If you do that and want lazarus you can use my overlay to compile free pascal and lazarus. Give me a message if you go that route. I haven't it documented yet.
  12. I have two Corsair coolers, an H110i and H115i PRO. I was thinking that my H110i was on the way out because it makes so much noise so I got an H115i PRO. As I read on the net, this one may just be just as loud. Apparently you need to run some windows software to run this. Is it possible to run this from Virtual Box? Better yet, is there some software for Linux that I can install? I used to have a few systems on my linux computer, gentoo, funtoo, fedora, SuSE, Arch Linux, Mint, Ubuntu and Debian. Now I only have Funtoo and use the space on the other hard disks for video and my embedded Linux stuff. Every time I create a yocto tree, it takes an awful lot of space. I have OS/2, e-comstation and windows 10 installed with VirtualBox. I rarely ever use windows, when I need to do graphics or CAD, the Mac is a better choice. The only reason I have windows is when I need to do some work with Cypress, they do not support the MAC or Linux, only windows. They are afraid to be copied by TI which seems to be working on similar stuff. Michel
  13. How do I set funtoo so I would be able to run 32 bit arm applications on 64 bit arm OS? Target is Odroid N2. Michel
  14. I have published on my web site a Stage3 for Funtoo for the BeagleBone-AI, the AI stands for Artificial Intelligence. This board uses an AM5729 processor which is similar to the DRA752 and AM5728. The main difference with the AM5728 is the added coprocessor that is used for artificial intelligence It has a similar connector to the one from the beaglebone black. I use the kernel 4.14.108-ti-r114, I compiled it with the Linaro compiler as done on EEWIKI because it won't compile with the Funtoo gcc 9.1.1 I had no problem compiling u-boot with the funtoo gcc I will be creating several ebuilds for support that is missing for this board. I will publish those on my site. I haven't updated my funtoo page yet, when I get time I will put some information there as well. http://suzielinux.com
  15. I found the solution in a gentoo discussion # emerge sys-apps/rng-tools # rc-update add rngd default [ 11.353675] udevd[667]: starting version 3.2.8 [ 11.398055] random: udevd: uninitialized urandom read (16 bytes read) [ 11.400429] random: udevd: uninitialized urandom read (16 bytes read) [ 11.400590] random: udevd: uninitialized urandom read (16 bytes read) [ 11.438452] udevd[667]: starting eudev-3.2.8 [ 15.731347] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null) [ 16.219868] urandom_read: 2 callbacks suppressed [ 16.219879] random: ln: uninitialized urandom read (6 bytes read) [ 17.513190] random: mktemp: uninitialized urandom read (10 bytes read) [ 21.147488] random: dd: uninitialized urandom read (512 bytes read) [ 22.085539] net eth0: initializing cpsw version 1.15 (0) [ 22.168397] Atheros 8035 ethernet 48485000.mdio:04: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=48485000.mdio:04, irq=POLL) [ 22.178415] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 22.249628] random: dhcpcd: uninitialized urandom read (120 bytes read) [ 22.562686] random: crng init done [ 24.231767] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 24.231842] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready I will document details when I publish my stage3 for The beaglebone AI and Beagleboard A15. I will eventually have one for the Beaglebone Black and Blue as well as the Odroid N2 and H2, and Jetson Nano Michel
  • Create New...