From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 6 Feb 2015 10:18:41 -0800 Message-ID: From: Joe Bowers To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a11c2f02847de56050e6f739b Subject: Re: [9fans] Raspberry Pi 2 Model B Topicbox-Message-UUID: 42d72cb4-ead9-11e9-9d60-3106f5b1d025 --001a11c2f02847de56050e6f739b Content-Type: text/plain; charset=UTF-8 FANTASTIC! Thank you so much! That's so cool! On Fri, Feb 6, 2015 at 10:13 AM, Richard Miller <9fans@hamnavoe.com> wrote: > To return to the original subject ... > > /n/sources/contrib/miller/9pi2 is a Plan 9 kernel which runs on the > Raspberry Pi 2 (one core only, so far). I'll put updated source > in contrib/miller/9/bcm later today. mk CONF'='pi2 for the new > model, CONF'='pi for the original model. > > Plan 9 from Bell Labs > firmware: rev 1422642103 > cpu0: 900MHz ARM Cortex-A7 r0p5 > fp: 32 registers, simd > fp: arm arch VFPv3+ with common VFP subarch v2; rev 5 > eMMC external clock 250 Mhz > #u/usb/ep1.0: dwcotg: port 0X0 irq 9 > 992M memory: 200M kernel data, 792M user, 3762M swap > usb/hub... usb/ether... > etherusb smsc: b827eb4f2fbd > usb/kb... usb/kb... root is from (local, tcp)[local]: tcp > > Even with one core activated, the rpi2 is noticeably quicker than > the rpi. Decoding a 1600x1200 jpeg with 'jpg -t' (from ramfs) > takes about 5.8s on rpi, 3.2s on rpi2. > > Note that the publicity says 900Mhz, but the firmware boots at > 600Mhz, and relies on dynamic clock and voltage management in > linux to adjust the speed. To get a fixed 900Mhz speed, I put > this in config.txt: > > kernel=9pi2 > gpu_mem=16 > disable_overscan=1 > arm_freq=900 > force_turbo=1 > > Disclaimer: if you put silly numbers in arm_freq, bad stuff > might happen. Supposedly the firmware detects this and sets > an irreversible bit somewhere that voids your warranty. > > > --001a11c2f02847de56050e6f739b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
FANTASTIC! Thank you so much! That's so cool!

On Fri, Feb 6, 2015 = at 10:13 AM, Richard Miller <9fans@hamnavoe.com> wrote:
=
To return to the original subject ...

/n/sources/contrib/miller/9pi2 is a Plan 9 kernel which runs on the
Raspberry Pi 2 (one core only, so far).=C2=A0 I'll put updated source in contrib/miller/9/bcm later today.=C2=A0 mk CONF'=3D'pi2 for the = new
model, CONF'=3D'pi for the original model.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Plan 9 from Bell Labs
=C2=A0 =C2=A0 =C2=A0 =C2=A0 firmware: rev 1422642103
=C2=A0 =C2=A0 =C2=A0 =C2=A0 cpu0: 900MHz ARM Cortex-A7 r0p5
=C2=A0 =C2=A0 =C2=A0 =C2=A0 fp: 32 registers,=C2=A0 simd
=C2=A0 =C2=A0 =C2=A0 =C2=A0 fp: arm arch VFPv3+ with common VFP subarch v2;= rev 5
=C2=A0 =C2=A0 =C2=A0 =C2=A0 eMMC external clock 250 Mhz
=C2=A0 =C2=A0 =C2=A0 =C2=A0 #u/usb/ep1.0: dwcotg: port 0X0 irq 9
=C2=A0 =C2=A0 =C2=A0 =C2=A0 992M memory: 200M kernel data, 792M user, 3762M= swap
=C2=A0 =C2=A0 =C2=A0 =C2=A0 usb/hub... usb/ether...
=C2=A0 =C2=A0 =C2=A0 =C2=A0 etherusb smsc: b827eb4f2fbd
=C2=A0 =C2=A0 =C2=A0 =C2=A0 usb/kb... usb/kb... root is from (local, tcp)[l= ocal]: tcp

Even with one core activated, the rpi2 is noticeably quicker than
the rpi.=C2=A0 Decoding a 1600x1200 jpeg with 'jpg -t' (from ramfs)=
takes about 5.8s on rpi, 3.2s on rpi2.

Note that the publicity says 900Mhz, but the firmware boots at
600Mhz, and relies on dynamic clock and voltage management in
linux to adjust the speed.=C2=A0 To get a fixed 900Mhz speed, I put
this in config.txt:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 kernel=3D9pi2
=C2=A0 =C2=A0 =C2=A0 =C2=A0 gpu_mem=3D16
=C2=A0 =C2=A0 =C2=A0 =C2=A0 disable_overscan=3D1
=C2=A0 =C2=A0 =C2=A0 =C2=A0 arm_freq=3D900
=C2=A0 =C2=A0 =C2=A0 =C2=A0 force_turbo=3D1

Disclaimer: if you put silly numbers in arm_freq, bad stuff
might happen.=C2=A0 Supposedly the firmware detects this and sets
an irreversible bit somewhere that voids your warranty.



--001a11c2f02847de56050e6f739b--