guzunty
Posts: 276
Joined: Mon Jan 14, 2013 10:13 am

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 4:45 pm

jdb wrote:
guzunty wrote:
RaTTuS wrote:thread locking via different CPU cores ?
Can you run the same test on a Pi1 that is fully up to date?
Done. Fully updated B+ shows expected 1ms delay.

I can supply LA images if you need them.
Guzunty: A fully programmable peripheral you build yourself! https://github.com/Guzunty/Pi/wiki

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 5:00 pm

pi-man-uk wrote:Hi, just a question on the upgrade process, I’m planning to transition my main server from a model b to my new pi2 tonight. I’ve just apt-get updated/upgraded and noticed /boot got full up of new kernels etc on the pi1, rebooted it and it came back - so I figure I’m good to go. Sooooo, next step, I plan tonight to shut it down, stick the 4 gig full size SD card in my macbook and use dd to create an image file from it on the mac, then I plan to use dd again to write that image file to a 4 gig class 10 *micro SD* card – stick this in the new pi2, boto and it’s off to the races. Will it work?


Have you run a dist-upgrade or just upgrade? I think you need to dist-upgrade but I'd suggest copying the card first.

With dist-upgrade it should work, I'd try the new card in an adaptor in the pi1 first.
Doug.
Building Management Systems Engineer.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6194
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 5:12 pm

jamesh wrote: Did we mention it was faster?
Other way around. Right now, when DT is enabled, the delay only counts in jiffies (100 Hz). It catches an extra tick, so the minimum delay ends up being 20ms (*1000=20s).

pi-man-uk
Posts: 62
Joined: Tue May 08, 2012 1:41 pm

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 5:37 pm

BMS Doug wrote:
pi-man-uk wrote:Hi, just a question on the upgrade process, I’m planning to transition my main server from a model b to my new pi2 tonight. I’ve just apt-get updated/upgraded and noticed /boot got full up of new kernels etc on the pi1, rebooted it and it came back - so I figure I’m good to go. Sooooo, next step, I plan tonight to shut it down, stick the 4 gig full size SD card in my macbook and use dd to create an image file from it on the mac, then I plan to use dd again to write that image file to a 4 gig class 10 *micro SD* card – stick this in the new pi2, boto and it’s off to the races. Will it work?

Have you run a dist-upgrade or just upgrade? I think you need to dist-upgrade but I'd suggest copying the card first.

With dist-upgrade it should work, I'd try the new card in an adaptor in the pi1 first.
I just went for upgrade - always been a bit curious as to the difference, I'll run a dist-upgrade also for good measure - I've also taken a backup of /home/pi .... thanks for tips.

juppiter89
Posts: 91
Joined: Fri Jan 04, 2013 10:50 pm

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 5:42 pm

Did anyone already try to overclock Rpi2? I would like to know if it's possible to bring it fairly easily to 1200 mhz.
Thanks :)

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5408
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 6:13 pm

juppiter89 wrote:Did anyone already try to overclock Rpi2? I would like to know if it's possible to bring it fairly easily to 1200 mhz.
It overclocks to a similar level as Pi1.
I'd say most (but not all) Pi2's can run at 1000MHz, a minorty at 1100Mhz, and 1200MHz is possible but rare.

User avatar
joan
Posts: 14751
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 6:16 pm

In the earlier Pi models the peripherals were at bus address 0x7E000000 and ARM physical memory address X was at bus address 0x40000000 + X.

Are the peripherals still at bus address 0x7E000000?

User avatar
Trixster
Posts: 261
Joined: Sat Jul 07, 2012 3:53 pm

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 6:17 pm

Mine's running at 1000MHz, core and sdram at 500MHz, overvolt at 2, no problems whatsoever. That'll do nicely!

ThePolo
Posts: 5
Joined: Tue Dec 23, 2014 2:53 pm

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 6:43 pm

Now that pi 2 offer 1.2A over USB, is it possible to connect a 2.5inch USB hard disk without external power? Thanks :D

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5408
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 6:46 pm

joan wrote:In the earlier Pi models the peripherals were at bus address 0x7E000000 and ARM physical memory address X was at bus address 0x40000000 + X.

Are the peripherals still at bus address 0x7E000000?
Bus addresses are unchanged (they are in the GPU world which is unchanged), so peripherals are at 0x7e000000. L2 cached sdram is at 0x40000000 and uncached sdram is at 0xc0000000 as before.

The arm side physical to bus mapping has changed.
Pi1 maps 0 to 0x40000000 (as GPU L2 cache is used for normal memory accesses).
Pi2 maps 0 to 0xc0000000 (as GPU L2 cache is not used for normal memory accesses).

Pi1 maps 0x20000000 to 0x7E000000 (for peripherals).
Pi2 maps 0x3f000000 to 0x7E000000 (needed bumping to allow > 512M of RAM).

gkreidl
Posts: 6219
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 6:52 pm

ThePolo wrote:Now that pi 2 offer 1.2A over USB, is it possible to connect a 2.5inch USB hard disk without external power? Thanks :D
Yes, same as B+. You need a good 2A power supply.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
Paul Webster
Posts: 818
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 7:44 pm

The 3rd Pi1 in Dom's post above should be Pi2.

Done
Last edited by Paul Webster on Thu Feb 05, 2015 7:54 am, edited 1 time in total.

lingon
Posts: 130
Joined: Fri Aug 26, 2011 7:31 am

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 7:51 pm

tvjon wrote: [email protected] ~ $ sudo hdparm -Tt /dev/mmcblk0p2

/dev/mmcblk0p2:
Timing cached reads: 974 MB in 2.00 seconds = 486.81 MB/sec
Timing buffered disk reads: 56 MB in 3.09 seconds = 18.11 MB/sec
[email protected] ~ $

[email protected] ~ $ sudo hdparm -Tt /dev/sda2

/dev/sda2:
Timing cached reads: 960 MB in 2.00 seconds = 480.20 MB/sec
Timing buffered disk reads: 86 MB in 3.01 seconds = 28.61 MB/sec
[email protected] ~ $
Thanks! Was this done with or without over clocking?

Redfez
Posts: 18
Joined: Tue Feb 03, 2015 2:19 am

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 8:46 pm

I can't get mine to boot beyond the dreaded rainbow screen of death. :?

Tried updating the card beforehand on my other Pi in preparation. Good quality 2A power supply from reputable dealer. Micro SD card is branded one that works fine in other Pis...stumped as to what is going wrong. Is there a step in preparation I've missed?

DirkS
Posts: 10195
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 8:58 pm

Redfez wrote:I can't get mine to boot beyond the dreaded rainbow screen of death. :?

Tried updating the card beforehand on my other Pi in preparation. Good quality 2A power supply from reputable dealer. Micro SD card is branded one that works fine in other Pis...stumped as to what is going wrong. Is there a step in preparation I've missed?
If you have a spare SD card download the latest Raspbian and see if that works with your hardware.
If it does it's time to troubleshoot your old SD card

BTW: did you run 'upgrade' or 'dist-upgrade'?

paulie
Posts: 264
Joined: Thu Jan 19, 2012 6:51 pm

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 9:03 pm

jdb wrote: To use an existing card on Pi2 you need
- Recent firmware
- kernel7.img
- ARMv7 kernel modules.

To upgrade an SD card for Pi 2 use:
sudo apt-get update && sudo apt-get upgrade
I have one or two Pi2 on order. If I do the update/upgrade, will I still be able to use the microsd card in my model B v1 ?
Or is it a one-way process? ( still have to source a 300mm 40 to 26-way gpio cable, to use TNC-Pi inside HDMIPi this weekend * so may have to revert)

* thanks to those who suggested where...
It has been my custom to use Xeyes

User avatar
Mequa
Posts: 172
Joined: Sun Sep 09, 2012 9:54 pm
Location: England
Contact: Website

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 9:05 pm

dom wrote:
juppiter89 wrote:Did anyone already try to overclock Rpi2? I would like to know if it's possible to bring it fairly easily to 1200 mhz.
It overclocks to a similar level as Pi1.
I'd say most (but not all) Pi2's can run at 1000MHz, a minorty at 1100Mhz, and 1200MHz is possible but rare.
I've had no problem with overclock to 1000MHz using a 1.2A power supply, even with USB wireless keyboard and mouse. I'll probably need a more powerful supply if I add Wi-Fi.

Trying this overclock with a puny 1A power supply (most likely inadequate for the Pi 2 Model B, so I'll keep that for charging my Kindle) leads to freeze-ups in Raspbian, and a small rainbow-coloured square in the top-right of the screen, which I suspect is an inadequate power notification.

Redfez
Posts: 18
Joined: Tue Feb 03, 2015 2:19 am

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 9:06 pm

DirkS wrote:
Redfez wrote:I can't get mine to boot beyond the dreaded rainbow screen of death. :?

Tried updating the card beforehand on my other Pi in preparation. Good quality 2A power supply from reputable dealer. Micro SD card is branded one that works fine in other Pis...stumped as to what is going wrong. Is there a step in preparation I've missed?
If you have a spare SD card download the latest Raspbian and see if that works with your hardware.
If it does it's time to troubleshoot your old SD card

BTW: did you run 'upgrade' or 'dist-upgrade'?
I tried upgrade first, when that didn't work I tried it with dist-upgrade and got the same results. The SD card still works fine in a B+ though so it doesn't seem to be the card. I've tried 2 SD cards in the Pi2 so far using the previously mentioned approach. I'm downloading the latest one now from this site to put on another card and I'll see if that makes any difference.

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2237
Joined: Thu Jul 11, 2013 2:37 pm

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 9:33 pm

This is a Q&A thread, not individual support. Start a new thread in Troubleshooting.
Rockets are loud.
https://astro-pi.org

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2237
Joined: Thu Jul 11, 2013 2:37 pm

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 9:34 pm

paulie wrote:
jdb wrote: To use an existing card on Pi2 you need
- Recent firmware
- kernel7.img
- ARMv7 kernel modules.

To upgrade an SD card for Pi 2 use:
sudo apt-get update && sudo apt-get upgrade
I have one or two Pi2 on order. If I do the update/upgrade, will I still be able to use the microsd card in my model B v1 ?
Or is it a one-way process? ( still have to source a 300mm 40 to 26-way gpio cable, to use TNC-Pi inside HDMIPi this weekend * so may have to revert)

* thanks to those who suggested where...
Updated/upgraded SD cards retain compatibility with Pi 1 models.
Rockets are loud.
https://astro-pi.org

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5408
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 10:56 pm

Paul Webster wrote:The 3rd Pi1 in Dom's post above should be Pi2.
Corrected.

User avatar
Greg Erskine
Posts: 126
Joined: Sat Sep 15, 2012 4:20 am

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 11:38 pm

Hi all,

Just fired up my Pi2 and checked the Revision number.

Got: a21041, I was expecting 0013.

Is this the official revision number or an error?

EDIT: Just found this information http://wiringpi.com/wiringpi-updated-for-the-new-pi-v2/

regards
Greg
* Raspberry Pi is a trademark of the Raspberry Pi Foundation

User avatar
AndyD
Posts: 2334
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: The Raspberry Pi 2 Q&A thread

Thu Feb 05, 2015 12:14 am

Greg Erskine wrote:Hi all,

Just fired up my Pi2 and checked the Revision number.

Got: a21041, I was expecting 0013.

Is this the official revision number or an error?

EDIT: Just found this information http://wiringpi.com/wiringpi-updated-for-the-new-pi-v2/

regards
Greg
On that page Gordon says "the foundation has actually encoded a lot more information into the Revision field". Does anybody know what information is encoded in the Revision field of /proc/cpuinfo on the Pi2?

macbreak
Posts: 38
Joined: Tue Jan 27, 2015 7:15 pm

Re: The Raspberry Pi 2 Q&A thread

Thu Feb 05, 2015 12:16 am

Greg Erskine wrote:Hi all,

Just fired up my Pi2 and checked the Revision number.

Got: a21041, I was expecting 0013.

Is this the official revision number or an error?

EDIT: Just found this information http://wiringpi.com/wiringpi-updated-for-the-new-pi-v2/

regards
Greg

Shhhh! You've accidentally been sent a Pi 3 prototype with Intel Atom Z3735G CPU and 4GB DDR3... :lol:

PuppetHoundZ
Posts: 170
Joined: Wed Jan 21, 2015 2:57 am

Re: The Raspberry Pi 2 Q&A thread

Thu Feb 05, 2015 2:23 am

What's the Performance comparisions of a Raspberry Pi 1 B+ in turbo mode vs a Raspberry Pi 2 B on default clock? That would be a interesting piece of info! :geek:

Return to “General discussion”