Bob Mottram 11 лет назад
Родитель
Сommit
56fe9984b5
1 измененных файлов: 13 добавлений и 2 удалений
  1. 13
    2
      beaglebone.txt

+ 13
- 2
beaglebone.txt Просмотреть файл

82
 
82
 
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.
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
 ** An ethernet patch cable
97
 ** An ethernet patch cable
90
 
98
 
491
 #+BEGIN_SRC: bash
499
 #+BEGIN_SRC: bash
492
 #!/bin/bash
500
 #!/bin/bash
493
 
501
 
502
+# Don't fear the oom-killer
503
+echo 2 > /proc/sys/vm/overcommit_memory
504
+
494
 # Enable syn cookies
505
 # Enable syn cookies
495
 echo 1 > /proc/sys/net/ipv4/tcp_syncookies
506
 echo 1 > /proc/sys/net/ipv4/tcp_syncookies
496
 
507