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

Re: The Raspberry Pi 3 Model B Q&A thread

Sat Mar 05, 2016 12:18 am

gregeric wrote:
fourdee4d wrote:I feel like an idiot for asking this question, but here goes:

How do we enable the onboard Wifi?

Is it a module we need to enable?

Code: Select all

[email protected]:~# lsmod
Module                  Size  Used by
brcmfmac              177546  0
brcmutil                5501  1 brcmfmac
cfg80211              389253  1 brcmfmac
rfkill                 16036  1 cfg80211
sg                     18023  0
bcm2835_gpiomem         2860  0
bcm2835_rng             1763  0
uio_pdrv_genirq         2944  0
uio                     7753  1 uio_pdrv_genirq
snd_bcm2835            19802  0
snd_pcm                73442  1 snd_bcm2835
snd_timer              18792  1 snd_pcm
snd                    50779  3 snd_bcm2835,snd_timer,snd_pcm
fuse                   80694  1
ipv6                  338574  20
Doesnt seem to run through USB bus:

Code: Select all

[email protected]:~# lsusb
Bus 001 Device 004: ID 0781:5583 SanDisk Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Can we control it in config.txt?

I cant find any documentation anywhere regarding wifi/bluetooth enable/control.
What is it you are running, DietPi, not the latest Raspbian Jessie image?

All the same, the driver seems to be loaded, witness the brcmfmac module etc in lsmod.

There is no lssdio equivalent of lsusb. Instead, you can

Code: Select all

sudo cat /sys/kernel/debug/mmc1/ios
to see how the sdio bus is configured.

And

Code: Select all

ls -R /sys/bus/sdio
to see what devices are hanging off it.

Did an answer come about for this issue?

I too cannot get the wifi enabled.

Lsmod shows that brcmfmac and brcmutil are loaded but wlan0 does not appear in ifconfig.

Hammy3000
Posts: 1
Joined: Sat Mar 05, 2016 12:18 am

Re: The Raspberry Pi 3 Model B Q&A thread

Sat Mar 05, 2016 12:22 am

Only bummer is GPU is relatively the same. Amazing the tech crammed in there

User avatar
richardski
Posts: 13
Joined: Fri Mar 22, 2013 1:51 am
Location: MARLBOROUGH, Wiltshire, UK
Contact: Website

Re: The Raspberry Pi 3 Model B Q&A thread

Sat Mar 05, 2016 12:29 am

dom wrote:
richardski wrote:Anyone else having reboot issues after getting the latest firmware update via sudo rpi-update?
I ave tried latest version of firmware with a clean install on 2 Pi3s and both are failing to reboot after the update appearing to indicate SD card removed.
Can you try updating again? I've pushed a possible fix.
Hi dom,

I did two rpi-updates on clean installs on both Pi3s and they booted up correctly and now appear to be running stable.

dmesg shows:

[ 0.000000] Linux version 4.1.18-v7+ ([email protected]) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #848 SMP Mon Feb 29 14:19:45 GMT 2016
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2

[ 0.052642] Brought up 4 CPUs
[ 0.052740] SMP: Total of 4 processors activated (153.60 BogoMIPS).

Seems CPU is identified as ARMv7 also by cat /proc/cpuinfo:
processor : 3
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture : 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

Hardware : BCM2709
Revision : a02082
Serial : 00000000d2cd3426

The BogoMIPS results with 153.60 and 38.40 per core are as per RasPi 2:(

Thanks for the fix.

Richard

hippy
Posts: 6068
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: The Raspberry Pi 3 Model B Q&A thread

Sat Mar 05, 2016 11:30 am

gregeric wrote:The LEDs (and others) seem now to hang off a GPIO expander - the WiFi/BT combo chip gobbled up so many there weren't enough left. No idea about the details yet.
I don't know the details either but was surprised to read of a GPIO expander, and apparent loss of other previously used control lines, when the LAN9514 has a number of GPIO lines which could be used for LED and other purposes. Though obviously one would not want to hang frequently updated LED's or signals off the LAN914 as that would impact on the USB bus.

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: The Raspberry Pi 3 Model B Q&A thread

Sat Mar 05, 2016 1:43 pm

Trixster wrote:Lsmod shows that brcmfmac and brcmutil are loaded but wlan0 does not appear in ifconfig.
Does it appear in?

Code: Select all

ifconfig -a
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

9pi
Posts: 46
Joined: Sat Aug 11, 2012 6:14 pm

Re: The Raspberry Pi 3 Model B Q&A thread

Sat Mar 05, 2016 1:44 pm

9pi wrote: Is there register-level documentation available for programming the SDHOST interface? ... It would be useful to be able to adapt Plan 9 to run on the Pi3 without losing access to the SD card.
It turns out that the Arasan eMMC interface can still be used with the SD card, so Plan 9 works fine on the Pi3. There will be no need to deal with the SDHOST interface until we have a wifi driver.

gregeric
Posts: 1509
Joined: Mon Nov 28, 2011 10:08 am

Re: The Raspberry Pi 3 Model B Q&A thread

Sat Mar 05, 2016 4:14 pm

Trixster wrote: Did an answer come about for this issue?

I too cannot get the wifi enabled.

Lsmod shows that brcmfmac and brcmutil are loaded but wlan0 does not appear in ifconfig.
I think I read somewhere on here that files were missing from /lib/firmware/brcm, namely the freshest ones added here: https://github.com/RPi-Distro/firmware- ... 80211/brcm brcmfmac43430-sdio.bin & .txt

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

Re: The Raspberry Pi 3 Model B Q&A thread

Sat Mar 05, 2016 4:35 pm

fourdee4d wrote:
Trixster wrote:Lsmod shows that brcmfmac and brcmutil are loaded but wlan0 does not appear in ifconfig.
Does it appear in?

Code: Select all

ifconfig -a
ifconfig -a shows:

Code: Select all

[email protected] ~ $ ifconfig -a
eth0      Link encap:Ethernet  HWaddr b8:27:eb:d3:ce:31
          inet addr:192.168.0.187  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::5b00:7780:9a99:bd0c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:45500 errors:0 dropped:1 overruns:0 frame:0
          TX packets:25120 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:13456915 (12.8 MiB)  TX bytes:5326730 (5.0 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2907 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2907 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:198612 (193.9 KiB)  TX bytes:198612 (193.9 KiB)
lsmod shows:

Code: Select all

[email protected] ~ $ lsmod
Module                  Size  Used by
hid_sony               12331  0
rpcsec_gss_krb5        21204  0
bnep                   10336  2
hci_uart               13533  1
btbcm                   4196  1 hci_uart
bluetooth             317981  22 bnep,btbcm,hci_uart
xpad                   12312  0
ff_memless              4646  1 xpad
spi_bcm2835             7074  0
i2c_bcm2708             4920  0
bcm2835_gpiomem         2860  0
bcm2835_rng             1763  0
evdev                  10278  2
lirc_rpi                6422  0
lirc_dev                8110  1 lirc_rpi
rc_core                16220  1 lirc_dev
uio_pdrv_genirq         2944  0
uio                     7753  1 uio_pdrv_genirq
brcmfmac              177546  0
brcmutil                5501  1 brcmfmac
cfg80211              389253  1 brcmfmac
rfkill                 16036  3 cfg80211,bluetooth
i2c_dev                 5671  0
snd_bcm2835            19802  0
snd_pcm                73442  1 snd_bcm2835
snd_timer              18792  1 snd_pcm
snd                    50779  3 snd_bcm2835,snd_timer,snd_pcm
joydev                  9024  0
uinput                  7246  0
fuse                   80694  1
ipv6                  338574  56
[email protected] ~ $
This is the content of /etc/network/interfaces

Code: Select all

# interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

iface eth0 inet manual

#auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

allow-hotplug wlan1
iface wlan1 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Last edited by Trixster on Sat Mar 05, 2016 4:49 pm, edited 2 times in total.

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

Re: The Raspberry Pi 3 Model B Q&A thread

Sat Mar 05, 2016 4:39 pm

gregeric wrote:
Trixster wrote: Did an answer come about for this issue?

I too cannot get the wifi enabled.

Lsmod shows that brcmfmac and brcmutil are loaded but wlan0 does not appear in ifconfig.
I think I read somewhere on here that files were missing from /lib/firmware/brcm, namely the freshest ones added here: https://github.com/RPi-Distro/firmware- ... 80211/brcm brcmfmac43430-sdio.bin & .txt
This is the contents of /lib/firmare/brcm, im pretty sure everything's there:
http://1drv.ms/1TWvQLC

Just to add, this is an sd card upgraded from wheezy to jessie a few months ago, to this date with no issue whatsoever. Before transferring from rpi2 to rpi3 i did sudo apt-get update, sudo apt-get upgrade and sudo apt-get dist-upgrade to ensure I'm on the latest firmware. I've also tried rpi-update to see if that fixed the wlan0 issue but it doesn't. Also, it's my retropie sd card (with a bunch of other stuff running in the background), so I do not want to go down the route of downloading the latest image from the foundation website and starting from scratch.

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: The Raspberry Pi 3 Model B Q&A thread

Sat Mar 05, 2016 4:52 pm

Trixster wrote:This is the contents of /lib/firmare/brcm, im pretty sure everything's there:
http://1drv.ms/1TWvQLC
I tried copying the following from the latest Raspbian Lite, on a previous installed image:

Code: Select all

/lib/modules/*
/boot/*
lib/firmware/*
Which bumped up kernel to 4.1.18 and added RPiv3 support.

Still couldn't get the wifi to appear. Maybe I missed a few files. Either way, there's a complete lack of documentation for the bcm43438.
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

zarkov
Posts: 6
Joined: Wed Dec 25, 2013 2:47 pm

Re: The Raspberry Pi 3 Model B Q&A thread

Sat Mar 05, 2016 5:26 pm

mob-i-l wrote:
bonterra wrote: Everywhere but in Sweden that is. The MSRP is 499 SEK or the equivalent of $58.50. Taking the British MSRP and adjusting it for Swedish VAT we'd end up at 390 SEK so that's a good $12 or so difference :(

(The RPi2 is still available at some retailers for the same 399 SEK as when it was introduced)
One solution is to order from e.g. Pimoroni and with the exchange rate that VISA had it's 440 SEK including shipping (£4). I used £1= 12.2471 SEK, because VISA adds 1.65% to the exchange rate. Last time I ordered it took a week to Sweden. If you order more things you save even more because the shipping is fixed.
Yeah, that's what I'll do (as soon as either Zero or the black pibow case is back in stock).

I'm just annoyed that all Swedish retailers more or less seem to have agreed to not selling the Pi3 below 499 SEK.

User avatar
Kratos
Posts: 394
Joined: Sun Apr 12, 2015 12:41 pm

Re: The Raspberry Pi 3 Model B Q&A thread

Sat Mar 05, 2016 6:26 pm

RZX wrote:Hi guys,

My question is simple i would like to know if the PI3 can play 60 fps 720p videos on YouTube ?

Thx for the answer!
On an unchanged Raspbian Jessie OS install on a Raspberry Pi 2, I can play this video https://www.youtube.com/watch?v=QwoghxwETng, at 720p with silky smooth playback using Epiphany. It is really just amazing how good Epiphany web browser is.

Kratos
I have posted mostly with a Pi 2 running either Ubuntu MATE, or Raspbian.

biomed12
Posts: 8
Joined: Mon Dec 28, 2015 1:41 am

Re: The Raspberry Pi 3 Model B Q&A thread

Sun Mar 06, 2016 12:36 am

Hello everyone,

I am engineering student and i am going to by new pi3 nowadays. I wonder what is the complete meaning of 64 bit cpu? This will be my first pi. What is the advantages of 64bit for me?

Best Regards...

knarfboy
Posts: 4
Joined: Sat Feb 27, 2016 11:27 pm

Re: The Raspberry Pi 3 Model B Q&A thread

Sun Mar 06, 2016 12:51 am

Is it possible, in a new board Revision, to connect FM antenna port of BCM 43438 +3.3 volts? Many Mobiel phone manufacturers connect this pin to the headphones around to use it as an antenna. This may be sufficient for a reception.
In a new board revision the attempt should be made to make the antenna connection available, or to connect it to the audio connector via a capacitor. Then, a headphone or audio cable could serve as an antenna.

Question: How many transistors includes the BCM2837 roughly?

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

Re: The Raspberry Pi 3 Model B Q&A thread

Sun Mar 06, 2016 8:55 am

fourdee4d wrote:
Trixster wrote:This is the contents of /lib/firmare/brcm, im pretty sure everything's there:
http://1drv.ms/1TWvQLC
I tried copying the following from the latest Raspbian Lite, on a previous installed image:

Code: Select all

/lib/modules/*
/boot/*
lib/firmware/*
Which bumped up kernel to 4.1.18 and added RPiv3 support.

Still couldn't get the wifi to appear. Maybe I missed a few files. Either way, there's a complete lack of documentation for the bcm43438.
Fixed it. I had "dtoverlay=sdhost,overclock_50=100" in config.txt. It should have been "sdtweak". wlan0 comes up now.

gregeric
Posts: 1509
Joined: Mon Nov 28, 2011 10:08 am

Re: The Raspberry Pi 3 Model B Q&A thread

Sun Mar 06, 2016 9:05 am

Yes, using sdhost overlay would disconnnect the 43438's client sdio i/f for WiFi & re-map the mmc peripheral to the 40-pin header.

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: The Raspberry Pi 3 Model B Q&A thread

Sun Mar 06, 2016 2:23 pm

Trixster wrote:Fixed it. I had "dtoverlay=sdhost,overclock_50=100" in config.txt. It should have been "sdtweak". wlan0 comes up now.
Intresting. Overclocking the SDcard IO to 100mhz? does it make much difference to IO bandwidth, and, is it stable?
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

User avatar
GTR2Fan
Posts: 1601
Joined: Sun Feb 23, 2014 9:20 pm
Location: South East UK

Re: The Raspberry Pi 3 Model B Q&A thread

Sun Mar 06, 2016 2:48 pm

fourdee4d wrote:Intresting. Overclocking the SDcard IO to 100mhz? does it make much difference to IO bandwidth, and, is it stable?
Up to double the I/O (21MB/s vs 42MB/s large reads with mine) and completely stable here on a Sandisk Ultra HC-I microSD card. Don't attempt to use it unless your microSD card is at least HC-I rated, preferably UHS-I or above rated as the Pi will probably either refuse to boot, be unstable, or may even scramble the contents of the card. YMMV.
Pi2B Mini-PC/Media Centre: ARM=1GHz (+3), Core=500MHz, v3d=500MHz, h264=333MHz, RAM=DDR2-1200 (+6/+4/+4+schmoo). Sandisk Ultra HC-I 32GB microSD card on '50=100' OCed slot (42MB/s read) running Raspbian/KODI16, Seagate 3.5" 1.5TB HDD mass storage.

maughanorama
Posts: 5
Joined: Fri Jan 08, 2016 4:00 pm

Re: The Raspberry Pi 3 Model B Q&A thread

Sun Mar 06, 2016 6:08 pm

GPIOS.

can i use ANY ( 1,2,4 14,15,17) gpios as an input now ? or is there only 26 usable inputs (a basic push to make switch is going to be used )
basically can we now re-assign all gpios in RP3 ?

Thanks

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: The Raspberry Pi 3 Model B Q&A thread

Sun Mar 06, 2016 6:41 pm

GTR2Fan wrote:Up to double the I/O (21MB/s vs 42MB/s large reads with mine) and completely stable here on a Sandisk Ultra HC-I microSD card. Don't attempt to use it unless your microSD card is at least HC-I rated, preferably UHS-I or above rated as the Pi will probably either refuse to boot, be unstable, or may even scramble the contents of the card. YMMV.
Interesting, thanks for the info.

I'am surprised RPi haven't attempted to support 50mhz+ with uhs-1 cards. If its stable, they could really promote this feature.

Odroid C1 has a flag for UHS-1 capability which bumps up the bandwidth.
One of my major gripes with all RPi's is the sluggish 17.5mb/s SD IO limit. If 100mhz is stable on my Sandisk extreme UHS-3, I may add it to DietPi-Config for users as an option.

ps. GTR2 was awesome :)
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

Lordanubis
Posts: 10
Joined: Mon Dec 23, 2013 8:13 pm

Re: The Raspberry Pi 3 Model B Q&A thread

Sun Mar 06, 2016 7:09 pm

Great job done with the RPi3B
Everything did go smooth.

Q1)
I did read something about the green led is flashing when the Raspberry 2 is shutdown. But how can I see or know if the Raspberry 3 is finished with shutting down? Is this a bug?

I have no screen attached and vnc is already disconnected. I did see the green led flashes only one very short time. But it could be anything. Any save solution? This because I want a SSD connecting to the USB bus.

Q2)
VNC is working well from my MacBookPro. However, is there a way that I can look/connect at an HDMI connected screen?
So that the HDMI mirrors the vnc screen.

gregeric
Posts: 1509
Joined: Mon Nov 28, 2011 10:08 am

Re: The Raspberry Pi 3 Model B Q&A thread

Sun Mar 06, 2016 7:15 pm

fourdee4d wrote:One of my major gripes with all RPi's is the sluggish 17.5mb/s SD IO limit.
A bonus from the work done by PhilE to free up the Arasan hardware block for SDIO duties is that the sdhost peripheral can hit 50MHz when requested in high-speed mode. Previously high-speed was 41.7MHz as standard on the mmc driver, so you should now see a 20% boost to that figure without overclocking.

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

Re: The Raspberry Pi 3 Model B Q&A thread

Sun Mar 06, 2016 7:21 pm

Lordanubis wrote:I did read something about the green led is flashing when the Raspberry 2 is shutdown. But how can I see or know if the Raspberry 3 is finished with shutting down? Is this a bug?
When shutdown is finished I see 10 regular flashes and then the LED stays on. So I would say that a solid green LED means that it is safe to cut the power.
VNC is working well from my MacBookPro. However, is there a way that I can look/connect at an HDMI connected screen?
So that the HDMI mirrors the vnc screen.
Use x11vnc instead of tightvncserver on the Pi.

User avatar
GTR2Fan
Posts: 1601
Joined: Sun Feb 23, 2014 9:20 pm
Location: South East UK

Re: The Raspberry Pi 3 Model B Q&A thread

Sun Mar 06, 2016 7:23 pm

fourdee4d wrote:I'am surprised RPi haven't attempted to support 50mhz+ with uhs-1 cards. If its stable, they could really promote this feature.
I think it's still at the experimental stage right now, but as the Pi doesn't seem to support (AFAIK) the 1.8V signalling required for 100MHz operation, it may never progress to being an official feature. Many HC-I/UHS-I cards are fine at 100MHz with 3.3V signalling, but some may not be.
Odroid C1 has a flag for UHS-1 capability which bumps up the bandwidth.
One of my major gripes with all RPi's is the sluggish 17.5mb/s SD IO limit. If 100mhz is stable on my Sandisk extreme UHS-3, I may add it to DietPi-Config for users as an option.
With an appropriate warning that it may trash the contents of their card. ;) It outperforms my USB-attached 3.5" HDD by a factor of 3 in most respects, so I'm happy.
ps. GTR2 was awesome :)
It still is with hi-res textures at 1920x1080. Yeehah! :D
Pi2B Mini-PC/Media Centre: ARM=1GHz (+3), Core=500MHz, v3d=500MHz, h264=333MHz, RAM=DDR2-1200 (+6/+4/+4+schmoo). Sandisk Ultra HC-I 32GB microSD card on '50=100' OCed slot (42MB/s read) running Raspbian/KODI16, Seagate 3.5" 1.5TB HDD mass storage.

User avatar
jsidebottom
Posts: 19
Joined: Wed Mar 07, 2012 12:34 am

Re: The Raspberry Pi 3 Model B Q&A thread

Mon Mar 07, 2016 4:06 am

biomed12 wrote:I wonder what is the complete meaning of 64 bit cpu?
The third and fourth paragraphs of https://en.wikipedia.org/wiki/64-bit_computing explain it quite well.
You may also need to look up terms like "register", "word size", "address bus" and "address space" to understand what it means.
biomed12 wrote:This will be my first pi. What is the advantages of 64bit for me?
Probably none, though the processor is faster than the one in the Raspberry Pi 2 and you will notice that.

Return to “General discussion”