Bob Mottram 10 anni fa
parent
commit
d823b6479d
1 ha cambiato i file con 20 aggiunte e 2 eliminazioni
  1. 20
    2
      beaglebone.txt

+ 20
- 2
beaglebone.txt Vedi File

@@ -143,7 +143,7 @@ sudo apt-get install u-boot-tools dosfstools git-core kpartx wget parted
143 143
 sudo ./setup_sdcard.sh --mmc /dev/sdX --dtb beaglebone
144 144
 #+END_SRC
145 145
 
146
-Once that is completed we need to copy a boot file to enable the system to boot correctly:
146
+Once that is completed we need to copy a boot file to enable the system to boot correctly. An example /uEnv.txt/ file can also be [[Boot (uEnv.txt)][seen here]].
147 147
 
148 148
 #+BEGIN_SRC: bash
149 149
 sudo cp /media/$USER/BOOT/bbb-uEnv.txt /media/$USER/BOOT/uEnv.txt
@@ -7487,7 +7487,8 @@ The following ports on your internet router/firewall should be forwarded to the
7487 7487
 | Convergence   | 8432..8433 |
7488 7488
 
7489 7489
 * Hints and Tips
7490
-** Example software sources
7490
+** Example configurations
7491
+*** Software sources
7491 7492
 If you get errors when running *apt-get update* then you may need to check your repositories list.  Here are examples of repositories within */etc/apt/sources.list*
7492 7493
 
7493 7494
 *** Beaglebone Black
@@ -7524,6 +7525,23 @@ deb http://packages.cubian.org/ wheezy main non-free
7524 7525
 deb http://repo.ajenti.org/debian main main debian
7525 7526
 #+END_SRC
7526 7527
 
7528
+*** Emacs
7529
+*** Boot (uEnv.txt)
7530
+An example of the uEnv.txt file within the BOOT partition on the microSD card of the BBB.
7531
+
7532
+#+BEGIN_SRC: bash
7533
+##These are needed to be compliant with Debian 2014-05-14 u-boot.
7534
+
7535
+loadximage=load mmc 0:2 ${loadaddr} /boot/vmlinuz-${uname_r}
7536
+loadxfdt=load mmc 0:2 ${fdtaddr} /boot/dtbs/${uname_r}/${fdtfile}
7537
+loadxrd=load mmc 0:2 ${rdaddr} /boot/initrd.img-${uname_r}; setenv rdsize ${filesize}
7538
+loaduEnvtxt=load mmc 0:2 ${loadaddr} /boot/uEnv.txt ; env import -t ${loadaddr} ${filesize};
7539
+loadall=run loaduEnvtxt; run loadximage; run loadxrd; run loadxfdt;
7540
+
7541
+mmcargs=setenv bootargs console=tty0 console=${console} ${optargs} ${cape_disable} ${cape_enable} root=${mmcroot} rootfstype=${mmcrootfstype} ${cmdline}
7542
+
7543
+uenvcmd=run loadall; run mmcargs; bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr};
7544
+#+END_SRC
7527 7545
 ** Messaging security
7528 7546
 If you're connected to other friends via Friendica then the preferred way to send private messages is via Friendica's built-in messaging system.  This is a lot more convenient than using GPG with ordinary email and yet still provides a similar level of protection from unwarranted interception.
7529 7547
 ** Moving Domains