BBB: Difference between revisions

From DaqWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 51: Line 51:
http://www.digikey.ca/product-detail/en/ftdi-future-technology-devices-international-ltd/TTL-232R-3V3/768-1015-ND/1836393
http://www.digikey.ca/product-detail/en/ftdi-future-technology-devices-international-ltd/TTL-232R-3V3/768-1015-ND/1836393


The 5-pin plug mates with the 5 pin header on the BBB. The "black" wire is the ground, connects to header pin 1.
Figure 4.1 TTL-232R-5V and TTL-232R-3V3, 6 Way Header Pin Out https://www.digikey.ca/en/datasheets/ftdifuturetechnologydevicesinternationalltd/ftdi-future-technology-devices-international-ltddsttl232rcables
 
 
The 5-pin plug mates with the 5 pin header on the BBB. The "black" wire is the ground, connects to header pin J1.


== Benchmarks ==
== Benchmarks ==

Revision as of 14:27, 12 September 2019

Beagle Bone Black

Links

On-board hardware

  • AM3358BZCZ100 CPU
  • 512MB DDR3 memory
  • 4GB eMMC (MMC1, 8bit)
  • uSD slot (MMC0, 4 bit)
  • 100Mbit/s ethernet (MII1)
  • USB host (USB1)
  • USB slave (USB serial, USB network) (USB0)
  • 24LC32A 32Kb I2C EEPROM (8kibytes) (I2C0)
  • S1 Reset button
  • S2 Boot switch button
  • S3 Power button

Serial console

AM3359 UART0 is connected to header J1. Use "USB to TTL serial cable 3.3V". Pinout:

Header J1 (J1 = black wire):

1 - GND - (Black)
2 - nc - (Brown)
3 - nc - (Red)
4 - UART0 - RX (Orange)
5 - UART0 - TX (Yellow)
6 - nc - (Green)
The default serial port settings for the board are:

Baud: 115,200
Bits: 8
Parity: N
Stop Bits: 1
Flow control: None

Use this one: http://www.digikey.ca/product-detail/en/ftdi-future-technology-devices-international-ltd/TTL-232R-3V3/768-1015-ND/1836393

Figure 4.1 TTL-232R-5V and TTL-232R-3V3, 6 Way Header Pin Out https://www.digikey.ca/en/datasheets/ftdifuturetechnologydevicesinternationalltd/ftdi-future-technology-devices-international-ltddsttl232rcables


The 5-pin plug mates with the 5 pin header on the BBB. The "black" wire is the ground, connects to header pin J1.

Benchmarks

root@beaglebone:~# uname -a
Linux beaglebone 3.8.13-bone47 #1 SMP Fri Apr 11 01:36:09 UTC 2014 armv7l GNU/Linux
root@beaglebone:~# cat /proc/cpu
cat: /proc/cpu: Is a directory
root@beaglebone:~# cat /proc/cpu
cpu/     cpuinfo  
root@beaglebone:~# cat /proc/cpuinfo 
processor	: 0
model name	: ARMv7 Processor rev 2 (v7l)
BogoMIPS	: 298.24
Features	: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x3
CPU part	: 0xc08
CPU revision	: 2

Hardware	: Generic AM33XX (Flattened Device Tree)
Revision	: 0000
Serial		: 0000000000000000
root@beaglebone:~# 
root@beaglebone:~# ./memcpy_arm 
memcpy       1 KiBytes:    417 MB/sec
memcpy       2 KiBytes:    960 MB/sec
memcpy       4 KiBytes:   1199 MB/sec
memcpy       8 KiBytes:   1338 MB/sec
memcpy      16 KiBytes:   1412 MB/sec
memcpy      32 KiBytes:   1453 MB/sec
memcpy      64 KiBytes:   1313 MB/sec
memcpy     128 KiBytes:   1394 MB/sec
memcpy     256 KiBytes:    516 MB/sec
memcpy     512 KiBytes:    261 MB/sec
memcpy    1024 KiBytes:    210 MB/sec
memcpy    2048 KiBytes:    203 MB/sec
memcpy    4096 KiBytes:    201 MB/sec
memcpy    8192 KiBytes:    205 MB/sec
memcpy   16384 KiBytes:    205 MB/sec
memcpy   32768 KiBytes:    189 MB/sec
memcpy   65536 KiBytes:    203 MB/sec
memcpy  131072 KiBytes:    202 MB/sec
root@beaglebone:~# 

2014 image

root@beaglebone:~# blkid
/dev/mmcblk1p2: LABEL="rootfs" UUID="e884e88d-ea6e-40f2-8521-0a68832c5978" TYPE="ext4" 
/dev/mmcblk1p1: SEC_TYPE="msdos" LABEL="boot" UUID="0BDD-F792" TYPE="vfat" 
/dev/mmcblk0p1: LABEL="BBB_LAUREN" UUID="82A6-7DA7" TYPE="vfat" 
root@beaglebone:~# 
root@beaglebone:~# fdisk -l

Disk /dev/mmcblk0: 15.7 GB, 15707668480 bytes
255 heads, 63 sectors/track, 1909 cylinders, total 30679040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1   *        8192    30679039    15335424    c  W95 FAT32 (LBA)

Disk /dev/mmcblk1: 3925 MB, 3925868544 bytes
4 heads, 16 sectors/track, 119808 cylinders, total 7667712 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk1p1   *        2048      198655       98304    e  W95 FAT16 (LBA)
/dev/mmcblk1p2          198656     7667711     3734528   83  Linux

Disk /dev/mmcblk1boot1: 1 MB, 1048576 bytes
4 heads, 16 sectors/track, 32 cylinders, total 2048 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mmcblk1boot1 doesn't contain a valid partition table

Disk /dev/mmcblk1boot0: 1 MB, 1048576 bytes
4 heads, 16 sectors/track, 32 cylinders, total 2048 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mmcblk1boot0 doesn't contain a valid partition table
root@beaglebone:~# 
root@beaglebone:~# df -kl
Filesystem                                             1K-blocks    Used Available Use% Mounted on
rootfs                                                   3610232 1760200   1663308  52% /
udev                                                       10240       0     10240   0% /dev
tmpfs                                                     101804    2084     99720   3% /run
/dev/disk/by-uuid/e884e88d-ea6e-40f2-8521-0a68832c5978   3610232 1760200   1663308  52% /
tmpfs                                                     254508       0    254508   0% /dev/shm
tmpfs                                                     254508       0    254508   0% /sys/fs/cgroup
tmpfs                                                     102400       0    102400   0% /run/user
tmpfs                                                       5120       0      5120   0% /run/lock
/dev/mmcblk1p1                                             98094   73336     24758  75% /boot/uboot
/dev/mmcblk0p1                                          15319040 2045576  13273464  14% /media/BBB_LAUREN
root@beaglebone:~# 

Copy of all files here:

/daq/daqshare/olchansk/BBB/2014-image

2018-01-05 image

Images of working system built by Keith Ong from Pierre 2018-01-05. To move mirrors, run ~debian/Programming/mems.c.

All the blkid, fdisk partitions, etc is same as before. OS is "Debian GNU/Linux 7.8 (wheezy)".

root@beaglebone:~# uname -a
Linux beaglebone 3.8.13-bone70 #1 SMP Fri Jan 23 02:15:42 UTC 2015 armv7l GNU/Linux

Images in /daq/daqshare/olchansk/BBB/2018-01-05.