MmmPi
Posts: 61
Joined: Sun Aug 21, 2011 4:43 am

Re: The Raspberry Pi 2 Q&A thread

Tue Feb 03, 2015 11:57 pm

What it the unpopulated J5 smd connector on the back?
Image
http://tr1.cbsistatic.com/hub/i/2015/02 ... pi-2-3.jpg
.

User avatar
DougieLawson
Posts: 36316
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 12:04 am

rurwin wrote:
raspberry_user wrote:Anybody knows the exact size and weight of this new product?
I knew I bought that cute digital scale for a reason.

I make it 41.8g
So nearly double the A+ which comes in at 23g.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Aeriuss
Posts: 3
Joined: Wed Feb 04, 2015 12:31 am

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 12:34 am

Hello,

Anyone knows if TeamViewer is compatible with Raspberry Pi 2?

I know that isn't for previous versions, but sins this one has a more powerfull CPU, it might have changed.

Thanks in advance :)

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

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 12:39 am

MmmPi wrote:What it the unpopulated J5 smd connector on the back?
Image
http://tr1.cbsistatic.com/hub/i/2015/02 ... pi-2-3.jpg
Same as on the B+: http://www.raspberrypi.org/forums/viewt ... 22#p584379

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

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 1:09 am

DirkS wrote:
MmmPi wrote:What it the unpopulated J5 smd connector on the back?
Image
http://tr1.cbsistatic.com/hub/i/2015/02 ... pi-2-3.jpg
Same as on the B+: http://www.raspberrypi.org/forums/viewt ... 22#p584379
AKA Videocore JTAG, which was also present as the through-hole connector in the middle of the board on the Model A / B.
Rockets are loud.
https://astro-pi.org

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 3:00 am

Raspbian seems to be stable now with the Pi2 1000MHz overclock on my Raspberry Pi 2 Model B, after I upgraded my power supply from 1A to 1.2A. I am also using a wireless keyboard and mouse via USB, so the increased power supply is necessary to be stable, particularly when using overclock.

I noticed a cool new feature, too. When the power supply is insufficient, a small rainbow-coloured square appears in the top right hand side of the screen, which also becomes translucent as the power reaches its limit. This disappeared when I tried a better power supply, so I strongly suspect it's a warning signal for low power input, although I have not seen any documentation on this.

"Web" seems slightly faster too with the small overclock, which inches the new Pi firmly into the quad-core GHz range.

I also tried Darkplaces Quake. Performance is still slightly underwhelming with frame rates dropping to 40FPS, but there is an improvement on the original Pi (hopefully this can be optimised some more).

User avatar
Paul Webster
Posts: 807
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 4:00 am

croston wrote:@joan - this should help

https://github.com/raspberrypi/userland ... 2ca631f0e9
LCDproc needs similar change (I did a quick hack to use the new base address to get at GPIO).
However, what are the pre-reqs for this call to work and if it requires new firmware to be present then what will happen if that firmware is not there (because the end-user has not upgraded)?
The code also refers to getting the info from device tree ... but will that work if user has DT disabled via config.txt (as I had to do to get GPIO to work in lirc - again as a quick hack as Without forum access it was hard to get to the right info quickly).
Last edited by Paul Webster on Wed Feb 04, 2015 5:18 am, edited 1 time in total.

mustafahaleem
Posts: 1
Joined: Wed Feb 04, 2015 4:49 am

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 4:57 am

It seems the Pi 2 is sold out or awaiting shipments everywhere I've looked.
My question is, is it possible to emulate the Broadcom 900 MHz Processor and 1GB RAM (I was thinking on QEMU) on my main computer, for development purposes? For example, to test out various operating systems and programs on the ARMv7 architecture, etc.

If so, how would this be accomplished?
Thanks!

Nightwing2012
Posts: 47
Joined: Sat Oct 29, 2011 9:19 pm

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 5:04 am

DougieLawson wrote:
Nightwing2012 wrote:Cannot find this item...

Will the RPI 2 handled above 32GB SDHC style cards.

Tnks for any information!
The current Raspberry Pi1s can use SDXC. The only requirement is that NOOBS must run from a FAT16/FAT32 partition starting at the low numbered cylinders/tracks/sectors on the card.
To all that came up with a great answer to solve a size problem for a upcoming project with the PI2

Thank you! ^_^

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

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 6:22 am

It would be nice if someone with a Raspberry Pi 2 would run

Code: Select all

hdparm -Tt /dev/mmcblk0p2
against the micro SD card as well as against a USB-drive

Code: Select all

hdparm -Tt /dev/sda1
and post the results here. The expected improvement in cached reads would be interesting to see.

User avatar
Fidelius
Posts: 459
Joined: Wed Jan 01, 2014 8:40 pm
Location: Germany

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 6:59 am

Mequa wrote:Raspbian seems to be stable now with the Pi2 1000MHz overclock on my Raspberry Pi 2 Model B, after I upgraded my power supply from 1A to 1.2A.
Good news, thanks for the update!
When the power supply is insufficient, a small rainbow-coloured square appears in the top right hand side of the screen, which also becomes translucent as the power reaches its limit. This disappeared when I tried a better power supply, so I strongly suspect it's a warning signal for low power input, although I have not seen any documentation on this.
Very interesting indeed.
PhilE wrote:Even single threaded, at the same clock speed, the more efficient core and large L2 cache will make Pi2 quicker. Plus, having another core to run the things which aren't your application can make quite a difference.
Yes, this sounds promising. However, concerning the Jazelle part from the Pi1's Arm11 which isn't there in the Pi2's Cortex-A7 : Would somebody with the new Pi2 like to run some single-threaded Java Benchmarks to see how the Java Virtual Machine performs on the Pi2's ARM7 (Cortex-A7) without Jazelle compared to the Pi1's ARM7 (Arm1176JZ-FS) with Jazelle? (See my previous post in the same thread please.)

Thanks for the informations, dear Pi2 users. :-)

tvjon
Posts: 710
Joined: Mon Jan 07, 2013 9:11 am

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 8:31 am

lingon wrote:It would be nice if someone with a Raspberry Pi 2 would run

Code: Select all

hdparm -Tt /dev/mmcblk0p2
against the micro SD card as well as against a USB-drive

Code: Select all

hdparm -Tt /dev/sda1
[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] ~ $

User avatar
morphy_richards
Posts: 1603
Joined: Mon Mar 05, 2012 3:26 pm
Location: Epping Forest
Contact: Website

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 8:39 am

Excitedly waiting for my new pi2 to arrive and just wondering...

I'm really fascinated by this new IoT focus thing, although that seemed to be part of the very essence of the original.

Would/could/might there ever be a plan to release the pi2 in a much much smaller form factor, perhaps without USB and network plugs or something? ... Kind of like those little Arduino mini clones?

I remember seeing pictures of the first prototype raspberry pi that basically looked like a little USB pen drive.

With a focus on more embedded computing for IoT stuff, I'm just thinking that there could be a very intersting market for that sort of thing. :?:

(PS. Well done foundation for such an exciting development and for keeping the secret so well)

hayderOICO
Posts: 49
Joined: Thu May 09, 2013 3:40 pm

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 9:17 am

Hi all

got my first 2 rpi2b yesterday.

did a sudo apt update && sudo apt upgrade on an old B+ then inserted the mSD into the rpi2b... it booted up ok... however rpi.gpio is not working... tells me that it works only on raspberry pi.

what to do?

EtonMess
Posts: 51
Joined: Thu Jan 29, 2015 1:32 pm

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 9:24 am

morphy_richards wrote:
Would/could/might there ever be a plan to release the pi2 in a much much smaller form factor, perhaps without USB and network plugs or something? ... Kind of like those little Arduino mini clones?
Like the Compute Module perhaps?

http://www.raspberrypi.org/raspberry-pi ... w-product/
.G6FIR

ktb
Posts: 1380
Joined: Fri Dec 26, 2014 7:53 pm

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 9:26 am

hayderOICO wrote:Hi all

got my first 2 rpi2b yesterday.

did a sudo apt update && sudo apt upgrade on an old B+ then inserted the mSD into the rpi2b... it booted up ok... however rpi.gpio is not working... tells me that it works only on raspberry pi.

what to do?
I think Dougie or somebody else posted this solution:
pip install rpi.gpio

EtonMess
Posts: 51
Joined: Thu Jan 29, 2015 1:32 pm

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 9:32 am

When the new Compute Modules appear, will it only be the SODIMM size processor board that changes, and the IO board remain the same? Or will there need to be a new IO board too?
.G6FIR

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

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 9:33 am

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

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23883
Joined: Sat Jul 30, 2011 7:41 pm

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 9:38 am

Ref: Jazelle on Pi1, afaik, this is not enabled, and therefore unused. I think its a licensing issue rather than anything technical, but not sure.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

arm2
Posts: 253
Joined: Thu Dec 15, 2011 3:46 pm

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 9:46 am

Mequa wrote: I noticed a cool new feature, too. When the power supply is insufficient, a small rainbow-coloured square appears in the top right hand side of the screen, which also becomes translucent as the power reaches its limit.
That came in with the B+ more details at:http://www.raspberrypi.org/forums/viewt ... 29&t=82373

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 9:49 am

@hayder
All the GPIO libs are having to be re-written and since they are all by volunteers/enthusiasts they have to do it in their spare time

WiringPi has been done but RPi.GPIO and Joan's lib not there yet

Patience Padawan :)

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

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

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 9:51 am

Paul Webster wrote: ...
LCDproc needs similar change (I did a quick hack to use the new base address to get at GPIO).
However, what are the pre-reqs for this call to work and if it requires new firmware to be present then what will happen if that firmware is not there (because the end-user has not upgraded)?
The code also refers to getting the info from device tree ... but will that work if user has DT disabled via config.txt (as I had to do to get GPIO to work in lirc - again as a quick hack as Without forum access it was hard to get to the right info quickly).
I'm using this untested code.

Code: Select all

unsigned gpioHardwareRevision(void)
{
   static unsigned rev = 0;

   FILE * filp;
   char buf[512];
   char term;

   DBG(DBG_USER, "");

   if (rev) return rev;

   filp = fopen ("/proc/cpuinfo", "r");

   if (filp != NULL)
   {
      while (fgets(buf, sizeof(buf), filp) != NULL)
      {
         if (!strncmp("model name", buf, 10))
         {
            if (strstr (buf, "ARMv6") != NULL)
            {
               piModel = 1;
               PI_PERI_BASE = 0x20000000;
               DMA_BUS_ADR  = 0x40000000;
            }
            else if (strstr (buf, "ARMv7") != NULL)
            {
               piModel = 2;
               PI_PERI_BASE = 0x3F000000;
               DMA_BUS_ADR  = 0xC0000000;
            }
         }

         if (!strncmp("Revision", buf, 8))
         {
            if (sscanf(buf+strlen(buf)-5, "%x%c", &rev, &term) == 2)
            {
               if (term != '\n') rev = 0;
            }
         }
      }
      fclose(filp);
   }
   return rev;
}

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

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 9:53 am

simplesi wrote:@hayder
All the GPIO libs are having to be re-written and since they are all by volunteers/enthusiasts they have to do it in their spare time

WiringPi has been done but RPi.GPIO and Joan's lib not there yet

Patience Padawan :)

Simon
I updated pigpio (twice) on the 2nd. Version 27 is meant to work (I haven't got a Pi 2 so it is untested).

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23883
Joined: Sat Jul 30, 2011 7:41 pm

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 10:03 am

simplesi wrote:@hayder
All the GPIO libs are having to be re-written and since they are all by volunteers/enthusiasts they have to do it in their spare time

WiringPi has been done but RPi.GPIO and Joan's lib not there yet

Patience Padawan :)

Simon
I'd say that 're-written' doesn't accurately describe changing one number to get programatically recovered rather than hard coded!
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

hayderOICO
Posts: 49
Joined: Thu May 09, 2013 3:40 pm

Re: The Raspberry Pi 2 Q&A thread

Wed Feb 04, 2015 10:05 am

ktb wrote:
hayderOICO wrote:Hi all

got my first 2 rpi2b yesterday.

did a sudo apt update && sudo apt upgrade on an old B+ then inserted the mSD into the rpi2b... it booted up ok... however rpi.gpio is not working... tells me that it works only on raspberry pi.

what to do?
I think Dougie or somebody else posted this solution:
pip install rpi.gpio
when I did that it told me that requirement already satisfied...

Return to “General discussion”