Re: Raspberry pi 4 recipe and layer issues.
Ed Vidal
Hi Joesf, I did not understand what you meant with "pull". These are the steps that I did. Downloaded the file coreutils_8.31.bb from openemedded to ~/wkg/yocto-zeus Saved the original file poky/meta/recipes-core/coreutils/coreutils_8.31.bb ~/wkg/yocto-zeus/repo120319 Made the chgs below to rpi4-64/poky/meta/recipes-core/coreutils/coreutils_8.31.bb vidal@ws009:~/wkg/yocto-zeus-3.0$ diff coreutils_8.31.bb repo120319/coreutils_8.31.bb 52c52 < sha384sum sha512sum shred shuf sort split sum tac tail tee test timeout \ --- > sha384sum sha512sum shred shuf sort split stdbuf sum tac tail tee test timeout \ 60,63d59 < < PACKAGE_BEFORE_PN_class-target += "coreutils-stdbuf" < FILES_coreutils-stdbuf = "${bindir}/stdbuf ${libdir}/coreutils/libstdbuf.so" < RDEPENDS_coreutils_class-target += "coreutils-stdbuf" Tested with DEPENDS = " icestorm busybox " and DEPENDS = " icestorm busybox coreutils" Still getting error "/bin/sh: 1: sum: not found" with bitbake -DDD arachne-pnr Also tried adding coreutils to inherit line and that failed. Let me know if I can provide additional information. Thanks for you help. Regards Edward Vidal Jr. e-mail develone@... 915-595-1613
On Wednesday, December 18, 2019, 12:00:16 AM MST, Josef Holzmayr <holzmayr@...> wrote:
Howdy! On Wed, Dec 18, 2019 at 12:55:38AM +0000, Ed Vidal wrote:
> Hi All > This is the error that I see bitbake -DDD arachne-pnr in log.do_compile > My recipe is found at https://github.com/develone/meta-yosys-tools/blob/master/recipes-arachne-pnr/arachne-pnr/arachne-pnr_0.1.bb > > I have added to the depends DEPENDS = " icestorm busybox" no help > /bin/sh: 1: sum: not found > I did a search for does busybox provide sumhttps://busybox.net/BusyBox.htmlIt provides both sh & sum > [, [[, acpid, add-shell, addgroup, adduser, adjtimex, ar, arp, arping, awk, base64, basename, bbconfig, beep, blkid, blockdev, bootchartd, brctl, bunzip2, bzcat, bzip2, cal, cat, catv, chat, chattr, chgrp, chmod, chown, chpasswd, chpst, chroot, chrt, chvt, cksum, clear, cmp, comm, conspy, cp, cpio, crond, crontab, cryptpw, cttyhack, cut, date, dc, dd, deallocvt, delgroup, deluser, depmod, devfsd, devmem, df, dhcprelay, diff, dirname, dmesg, dnsd, dnsdomainname, dos2unix, dpkg, dpkg-deb, du, dumpkmap, dumpleases, echo, ed, egrep, eject, env, envdir, envuidgid, ether-wake, expand, expr, fakeidentd, false, fbset, fbsplash, fdflush, fdformat, fdisk, fgconsole, fgrep, find, findfs, flash_eraseall, flash_lock, flash_unlock, flashcp, flock, fold, free, freeramdisk, fsck, fsck.minix, fsync, ftpd, ftpget, ftpput, fuser, getopt, getty, grep, gunzip, gzip, halt, hd, hdparm, head, hexdump, hostid, hostname, httpd, hush, hwclock, id, ifconfig, ifdown, ifenslave, ifplugd, ifup, inetd, init, inotifyd, insmod, install, ionice, iostat, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel, kbd_mode, kill, killall, killall5, klogd, last, length, less, linux32, linux64, linuxrc, ln, loadfont, loadkmap, logger, login, logname, logread, losetup, lpd, lpq, lpr, ls, lsattr, lsmod, lspci, lsusb, lzcat, lzma, lzop, lzopcat, makedevs, makemime, man, md5sum, mdev, mesg, microcom, mkdir, mkdosfs, mke2fs, mkfifo, mkfs.ext2, mkfs.minix, mkfs.reiser, mkfs.vfat, mknod, mkpasswd, mkswap, mktemp, modinfo, modprobe, more, mount, mountpoint, mpstat, msh, mt, mv, nameif, nanddump, nandwrite, nbd-client, nc, netstat, nice, nmeter, nohup, nslookup, ntpd, od, openvt, passwd, patch, pgrep, pidof, ping, ping6, pipe_progress, pivot_root, pkill, pmap, popmaildir, poweroff, powertop, printenv, printf, ps, pscan, pwd, raidautorun, rdate, rdev, readahead, readlink, readprofile, realpath, reboot, reformime, remove-shell, renice, reset, resize, rev, rfkill, rm, rmdir, rmmod, route, rpm, rpm2cpio, rtcwake, run-parts, runlevel, runsv, runsvdir, rx, script, scriptreplay, sed, sendmail, seq, setarch, setconsole, setfont, setkeycodes, setlogcons, setsid, setuidgid, sh, sha1sum, sha256sum, sha512sum, showkey, slattach, sleep, smemcap, softlimit, sort, split, start-stop-daemon, stat, strings, stty, su, sulogin, sum, sv, svlogd, swapoff, swapon, switch_root, sync, sysctl, syslogd, tac, tail, tar, taskset, tcpsvd, tee, telnet, telnetd, test, tftp, tftpd, time, timeout, top, touch, tr, traceroute, traceroute6, true, tty, ttysize, tunctl, tune2fs, ubiattach, ubidetach, udhcpc, udhcpd, udpsvd, umount, uname, uncompress, unexpand, uniq, unix2dos, unlzma, unlzop, unxz, unzip, uptime, usleep, uudecode, uuencode, vconfig, vi, vlock, volname, wall, watch, watchdog, wc, wget, which, who, whoami, xargs, xz, xzcat, yes, zcat, zcip Thats only halfways correct: busybox *CAN* provide sum, if configured accordingly. It obviously is not, in your case. The easiest way to get sum is probably to just pull in coreutils: http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-core/coreutils/coreutils_8.31.bb Greetz -- ——————————————— Josef Holzmayr Software Developer Embedded Systems Tel: +49 8444 9204-48 Fax: +49 8444 9204-50 R-S-I Elektrotechnik GmbH & Co. KG Woelkestrasse 11 D-85301 Schweitenkirchen www.rsi-elektrotechnik.de ——————————————— Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393 Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg Ust-IdNr: DE 128592548 _____________________________________________________________ Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363 Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg USt-IdNr.: DE 128592548 |
|