
Code: Select all
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU T9500 @ 2.60GHz
stepping : 6
microcode : 0x60f
cpu MHz : 800.000
cache size : 6144 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm ida dtherm tpr_shadow vnmi flexpriority
bogomips : 5189.68
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU T9500 @ 2.60GHz
stepping : 6
microcode : 0x60f
cpu MHz : 800.000
cache size : 6144 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm ida dtherm tpr_shadow vnmi flexpriority
bogomips : 5189.68
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

Code: Select all
# cat /proc/cpuinfo # without overclocking config
processor : 0
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
processor : 1
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
processor : 2
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
processor : 3
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
Hardware : BCM2709
Revision : a01041
Serial : <snipped>

Code: Select all
crossdev --target armv7a-hardfloat-linux-gnueabiIf you use my CFLAGS with -mtls-dialect=gnu2, then that fails with udev due to systemd configure (which udev uses as it's building out of the systemd tree) forcing the gold linker if it's present. But it fails at linking udev itself (as opposed to the tiny test program they test gold with before forcing its usage) as gold linker doesn't seem to support those tls relocations yet. I workarounded it by adding -Wl,-fuse-ld=bfd to LDFLAGS for udev building. Using the default tls-dialect of gnu should work too, but I use gnu2, which is ARM specific and supposedly a bit faster in relocations, just cause I can and I'm not completely sure if mixing gnu and gnu2 is fine or not. I filed https://bugs.gentoo.org/show_bug.cgi?id=539998 for this.keet wrote:Udev failed to build, so I am curious about that, but I'm not worried about it.
Another odd thing that I noticed is that only about 750MB of R.A.M. are available. I set gpu_mem=16, so that is probably not the problem. Considering that it has four cores, and only 1GB of R.A.M., it would be nice to have more available. A potential fix is at http://www.raspberrypi.org/forums/viewt ... 7&start=25, so I will try that when I have time.

I am stuck right there. The re-merge of glibc fails with the following error:Leio wrote:Setting up distcc is trivial with portage on rpi and crossdev on the helper machine.
Just did a toolchain for rpi2 to my desktop today20 minutes later and all done.Code: Select all
crossdev --target armv7a-hardfloat-linux-gnueabi
Code: Select all
checking for .preinit_array/.init_array/.fini_array support... no
configure: error: Need linker with .init_array/.fini_array support.Code: Select all
~ # eix -I -C cross-armv7a-hardfloat-linux-gnueabi -c
[I] cross-armv7a-hardfloat-linux-gnueabi/binutils [1] (2.25(2.25)@27.02.2015): Tools necessary to build programs
[I] cross-armv7a-hardfloat-linux-gnueabi/gcc [1] (4.9.2(4.9.2)@27.02.2015): The GNU Compiler Collection
[I] cross-armv7a-hardfloat-linux-gnueabi/glibc [1] (2.20-r2(2.2)@27.02.2015): GNU libc6 (also called glibc2) C library
[I] cross-armv7a-hardfloat-linux-gnueabi/linux-headers [1] (3.18@27.02.2015): Linux system headers
Code: Select all
/* The __ARM_ARCH define is provided by gcc 4.8. Construct it otherwise. */Code: Select all
crossdev -t armv7a-hardfloat-linux-gnueabiTry https://wiki.gentoo.org/wiki/CHOST meanwhile.UncleVan wrote:(Somehow this https://www.gentoo.org/proj/en/base/emb ... tuples.xml doesnt work for me)
Which instructions have you followed? Gentoo Wiki is for model 1 (armv6), not the new one. I have tried the Wolfgang steps but keyboard doesn't response after first boot, so I cannot continue with the Gentoo setup.keet wrote:I have mine working so far. I downloaded a stage 3, but took the boot files from a Raspbian installation. After that and other basic configuration, I set up distcc, ran 'emerge -e system', and installed a few world packages.
I got the Raspberry Pi 2 kernel sources from Github and built them within an hour or so, and rebooted successfully.
Udev failed to build, so I am curious about that, but I'm not worried about it.
Another odd thing that I noticed is that only about 750MB of R.A.M. are available. I set gpu_mem=16, so that is probably not the problem. Considering that it has four cores, and only 1GB of R.A.M., it would be nice to have more available. A potential fix is at http://www.raspberrypi.org/forums/viewt ... 7&start=25, so I will try that when I have time.
Code: Select all
git clone --depth 1 git://github.com/raspberrypi/linux.git linux-rpiCode: Select all
cross-armv6j-hardfloat-linux-gnueabi/gcc-4.8.3:4.8Just grab kernel7.img and the matching modules (in the <kernelver>-v7+ modules dir) from git://github.com/raspberrypi/linux.git, boot from that and you can get the config.gz of that.UncleVan wrote:Right know I consider building an armv7a-hardfloat-linux-gnueabi to compile a kernel + modules for the new one, but I still havent got a model 2 board, so someone of you here will have to test it - can someone provide me the original /proc/config.gz ? And the git location, if different ?
