El 22/7/25 a las 18:35, Dennis Clarke escribió:
On 7/22/25 12:10, Javier Martinez wrote:
El 22/7/25 a las 17:49, Dennis Clarke escribió:
SiFive RISC-V
P550
USE=dracut emerge blablabla

Or

Create a file called installkernel in /etc/portage/package.use/ that contains:

sys-kernel/installkernel dracut

woo hoo !

Thank you .. that seems to be the magic that works.  See progress log
attached which goes back to yesterday where I was flailing around in
circles with no clue what to do.

Thank you !





I passed some years of my life creating files as this xD

rpi4c /home/jm # ls /etc/portage/package.use/ |wc -l
227

rpi4c /home/jm # ls /etc/portage/package.accept_keywords/ |wc -l
607

And this two are only in the new rockpi 4c+, a cousin of yours.

I'm glad to see that gentoo is nearer to be booted in a shoes box.

I can suggest you to emerge cpuid2cpuflags to optimize your shoes box cpu as this

cpuid2cpuflags > /etc/portage/package.use/00cpu-flags

If you have low RAM in your shoes box, use package.env

rpi4c /home/jm # ls /etc/portage/package.env/ |wc -l
29

ls /etc/portage/env

  ldflagsnodef  nosspnow  singlecpu.conf
  j2.conf    noldflags     notmpfs

to reduce for example the -jN parameter of MAKEOPTS to things as llvm, avoiding swapping to the sd card and get it burnt too soon or to avoid get killed by a OOM , and also use tmpfs to /var/tmp/portage to packages that require few space to be compiled (so, use jobs=1) as to use zram for swapping

rpi4c /home/jm # cat /etc/portage/package.env/llvm
llvm-core/llvm j2.conf

Also try to use distcc to cross compile with third party systems.

With -j2 to avoid out of RAM software like firefox could take near one day to be compiled in the rockpi4c+.

The worst part of you are doing IMO is uboot..

Attachment: OpenPGP_0x57E64E0B7FC3BEDF.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to