The CONFIG_PS3_VRAM kernel parameter is turned off by default in T2, see: http://svn.exactcode.de/t2/trunk/architecture/powerpc64/linux-disable.lst
I could compile on the PS3 itself, but I don't want to spend 2 days, hence my trying to cross compile. On Wed, May 26, 2021 at 6:25 AM René Rebe <r...@exactcode.com> wrote: > > Hey, > > well, I guess the PS3 could compile the kernel in a day or two? > > You need to build a whole new target, I guess you mis-use t2 > by trying to cross compile into your running system (Build-Pkg / > Emerge vs. Build-Target). > > The vram size might be setable by a kernel parameter, no? > Do you want to set something smaller or bigger? > > René > > > On 25. May 2021, at 10:16, Michael McAllister <m...@michaelmcallister.org> > > wrote: > > > > I wonder if it's pointing to a wrong GCC, I don't see powerpc or > > "cell" as valid mtune values > > > > cc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead > > cc1: error: bad value ('cell') for '-mtune=' switch > > cc1: note: valid arguments to '-mtune=' switch are: nocona core2 > > nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i > > haswell core-avx2 broadwell skylake skylake-avx512 cannonlake > > icelake-client rocketlake icelake-server cascadelake tigerlake > > cooperlake sapphirerapids alderlake bonnell atom silvermont slm > > goldmont goldmont-plus tremont knl knm intel x86-64 eden-x2 nano > > nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 > > opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 > > barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1 > > btver2 generic native > > > > ---------- Forwarded message --------- > > From: Michael McAllister <m...@michaelmcallister.org> > > Date: Mon, May 24, 2021 at 9:43 PM > > Subject: cross compiling for ppc64 (cell/PS3) > > To: <t2@t2-project.org> > > > > > > Hi All, > > > > I've successfully got my PS3 running the latest version of T2, however > > I would like to build a new kernel and set some particular kernel > > params (specifically PS3_VRAM) > > > > Obviously the PS3 itself is too slow to compile a kernel on, so I'm > > using another machine (x86) that has more processor and memory and > > attempting to cross compile. > > > > However, I keep running into the following error: > > > > !> > > /usr/lib64/gcc/x86_64-t2-linux-gnu/11.1.0/../../../../x86_64-t2-linux-gnu/bin/as: > > unrecognized option '-mpower4' > > > > I'm simply running "./scripts/Emerge-Pkg -cfg ps3x linux" (which I > > think is correct) > > > > I believe the likely culprit is my config (attached) does anyone have > > a known "sane" config that will help me successfully build? > > > > Apologies for such a basic question, I've spent all day trying to make > > this work! > > <config>----------------------------------------------------------- > > If you wish to unsubscribe from this mailing, send mail to > > li...@t2-project.org with a subject of: unsubscribe t2 > > -- > ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin, https://exactcode.com > https://exactscan.com | https://ocrkit.com | https://t2sde.org | > https://rene.rebe.de >
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to li...@t2-project.org with a subject of: unsubscribe t2