Gene, Hello,
Andy Pugh has written up the hal_pi_gpio.c for branch 2.8.
||/||/
On 10/28/19 1:58 PM, Gene Heskett wrote:
On Sunday 27 October 2019 07:08:30 Andy Pugh wrote:
On 27 Oct 2019, at 05:39, Tim March <[email protected]> wrote:
The revision # can be different depending on where it was
manufactured.
I will run it with my own Pi4 to get some numbers, but if you have
more?
Andy, I ran the stuff TomP referred to in a PM with a link, and got this
from a 2 gig rpi4:pinout
pi@rpi4:/etc/apt/sources.list.d $ pinout
,--------------------------------.
| oooooooooooooooooooo J8 +======
| 1ooooooooooooooooooo PoE | Net
| Wi oo +======
| Fi Pi Model 4B V1.1 oo |
| ,----. +====
| |D| |SoC | |USB3
| |S| | | +====
| |I| `----' |
| |C| +====
| |S| |USB2
| pwr |HD| |HD| |I||A| +====
`-| |---|MI|---|MI|----|V|-------'
Revision : b03111
SoC : BCM2711
RAM : 2048Mb
Storage : MicroSD
USB ports : 4 (excluding power)
Ethernet ports : 1
Wi-fi : True
Bluetooth : True
Camera ports (CSI) : 1
Display ports (DSI): 1
J8:
3V3 (1) (2) 5V
GPIO2 (3) (4) 5V
GPIO3 (5) (6) GND
GPIO4 (7) (8) GPIO14
GND (9) (10) GPIO15
GPIO17 (11) (12) GPIO18
GPIO27 (13) (14) GND
GPIO22 (15) (16) GPIO23
3V3 (17) (18) GPIO24
GPIO10 (19) (20) GND
GPIO9 (21) (22) GPIO25
GPIO11 (23) (24) GPIO8
GND (25) (26) GPIO7
GPIO0 (27) (28) GPIO1
GPIO5 (29) (30) GND
GPIO6 (31) (32) GPIO12
GPIO13 (33) (34) GND
GPIO19 (35) (36) GPIO16
GPIO26 (37) (38) GPIO20
GND (39) (40) GPIO21
For further information, please refer to https://pinout.xyz/
At the bottom of /proc/cpuinfo:
Hardware : BCM2835
Revision : b03111
Serial : 100000004adfced0
Model : Raspberry Pi 4 Model B Rev 1.1
Note that one command identifies your RPi4 SOC as BCM2835
and another reports BCM2711 ( the correct answer ).
And I got a repeat of the last line above for
cat /proc/device-tree/model. That doesn't contain memory provided in the
revision number though.
Is this data that you are looking for?
Are you working on making a gpio parport? If you are, are you intending
to make it work with the 7i76 and its cousins sserial expansions? That
would be kewl if its fast enough to pull that off. I didn't find that
even a 1 gig pi3 has problems building linuxcnc after I'd made a 10 gig
swap on a 120gb ssd and added it to /etc/fstab. Building linuxcnc on the
pi3 ran it around 85 megs into swap, and when that ssd was moved to the
pi4 with 2 gigs, it used about 50 megs to build the rs274 interpreter.
But the faster usb-3 interface on the pi4 sped up the build
considerably. Well under an hour.
Cheers, Gene Heskett
In your build and in your boot command, is there any mention of the dto
or dtb?
( device tree overlay / device tree binary )
Did you build for 32 or 64bit?
The boot command might mention the dtb.
The dtb for RPi4 would be *the 64 bit version of bcm2711-rpi-4-b.dtb*
I think the build command would likely have '|bcm2711_defconfig' in it,
not 'bcm2835'.|
oh, to make things even easier to understand , BCM2838 is another name
for BCM2711 (groan).
I am still chewing on https://andrei.gherzan.ro/linux/raspbian-rpi4-64/
Also, for users wanting to use stepgens connected to gpio pins,
we dont have the 'double-step' trick thats inside hal_parport.
(hal_parport’s auto-resetting pins)
I think I was told it's possible to get higher step-rates using a
different stepgen type,
that this other stepgen type was effectively same as Jepler's 'double-step'.
but I haven't found that email yet.
TomP
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users