浏览代码

Power supply

Bob Mottram 11 年前
父节点
当前提交
56fe9984b5
共有 1 个文件被更改,包括 13 次插入2 次删除
  1. 13
    2
      beaglebone.txt

+ 13
- 2
beaglebone.txt 查看文件

@@ -82,9 +82,17 @@ To use as the main storage for the BBB.  16 or 32GB is fine, and can be obtained
82 82
 
83 83
 You may also need an SD card adaptor or USB card reader in order to flash the operating image to the microSD card.  For instance, many laptops have an SD card slot but not a microSD slot.
84 84
 
85
-** 5V/1A power supply
85
+** 5V/2A power supply
86 86
 
87
-With a plug suitable for powering the BBB.  If you have some device with a USB socket nearby you may also be able to just use that for electrical power.  However, powering from the USB cable alone might result in crashes when the system is under load, depending upon how many milliamps can be supplied by the USB hub/socket.  If the system crashes due to running out of power then you will see that the LEDs on the BBB are continuously on, rather than flashing.
87
+With a plug suitable for powering the BBB.  If you have some device with a USB socket nearby you may also be able to just use that for electrical power.  However, powering from the USB cable alone might result in crashes when the system is under load, depending upon how many milliamps can be supplied by the USB hub/socket.  If the system crashes due to running out of power then you will see that the LEDs on the BBB are continuously on, rather than flashing.  One way to test whether the board has enough power is to try compiling a Linux kernel on it, but any CPU and disk intensive program will also suffice as a test.
88
+
89
+[[http://beagleboard.org/Support/FAQ][beagleboard.org]] gives the following advice on power supplies:
90
+
91
+#+BEGIN_VERSE
92
+/Power over USB is sufficient as long as the software and system running perform some management to keep it under the USB current limit threshold. For simplicity and maximum capability, powering over the 5V barrel connector is typically recommended./
93
+
94
+/The power adapter is required to provide 5V over a 5.5mm outer diameter and 2.1mm inner diameter barrel connector (a barrel connector length of 9.5mm is more than sufficient). The recommended supply current is at least 1.2A (or 6W), but at least 2A (or 10W) is recommended if you are going to connect up anything over the USB./
95
+#+END_VERSE
88 96
 
89 97
 ** An ethernet patch cable
90 98
 
@@ -491,6 +499,9 @@ Enter the following:
491 499
 #+BEGIN_SRC: bash
492 500
 #!/bin/bash
493 501
 
502
+# Don't fear the oom-killer
503
+echo 2 > /proc/sys/vm/overcommit_memory
504
+
494 505
 # Enable syn cookies
495 506
 echo 1 > /proc/sys/net/ipv4/tcp_syncookies
496 507