Talk:Raspberry Pi/Installation

CFLAGS
Nothing about the /etc/make.conf CFLAGS... same as the stage3???


 * I added some processor specific CFLAGS --Chithanh 02:46, 23 June 2012 (UTC)

Note: With stage3-armv6j_hardfp-20120603.tar.bz2 and this cli for QEMU: /usr/bin/qemu-system-arm -kernel zImage -M versatilepb -cpu arm1176 -hda debian6-19-04-2012.img -m 256 -append "root=/dev/sda2 loglevel=7 debug" -serial stdio -hdb gentoo-raspberry-pi.img -hdc swap.img I have a big illegal instruction, official debian provided work.

Links
Possibly add some links to the embedded handbook and external resources? — yngwin 14:34, 3 July 2012 (UTC)


 * added some Chithanh 14:04, 20 July 2012 (UTC)

sdformat script
A simple script to prepare the card

= crossdev / march / cflags=


 * The correct crossdev toolchain should be armv6zk-hardfloat-linux-gnueabi :
 * http://www.raspberrypi.org/faqs says the soc is based on ARM1176JZFS with vfp (see also http://dev.gentoo.org/~armin76/arm/armhw.xml)
 * arm1176jzf-s is an armv6zk see http://dev.gentoo.org/~armin76/arm/chost.xml
 * So the CFLAGS should contains "-mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard" (no -march switch as it would conflict with -mcpu)

As i'm waiting for receiving my raspberry pi, i cannot test this for now... Can someone confirm? Would it work with distcc?