Example uEnv

This commit is contained in:
Bob Mottram 2014-08-24 09:41:00 +01:00
parent 11eaba7e33
commit d823b6479d
1 changed files with 20 additions and 2 deletions

View File

@ -143,7 +143,7 @@ sudo apt-get install u-boot-tools dosfstools git-core kpartx wget parted
sudo ./setup_sdcard.sh --mmc /dev/sdX --dtb beaglebone sudo ./setup_sdcard.sh --mmc /dev/sdX --dtb beaglebone
#+END_SRC #+END_SRC
Once that is completed we need to copy a boot file to enable the system to boot correctly: 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]].
#+BEGIN_SRC: bash #+BEGIN_SRC: bash
sudo cp /media/$USER/BOOT/bbb-uEnv.txt /media/$USER/BOOT/uEnv.txt 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
| Convergence | 8432..8433 | | Convergence | 8432..8433 |
* Hints and Tips * Hints and Tips
** Example software sources ** Example configurations
*** Software sources
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* 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*
*** Beaglebone Black *** Beaglebone Black
@ -7524,6 +7525,23 @@ deb http://packages.cubian.org/ wheezy main non-free
deb http://repo.ajenti.org/debian main main debian deb http://repo.ajenti.org/debian main main debian
#+END_SRC #+END_SRC
*** Emacs
*** Boot (uEnv.txt)
An example of the uEnv.txt file within the BOOT partition on the microSD card of the BBB.
#+BEGIN_SRC: bash
##These are needed to be compliant with Debian 2014-05-14 u-boot.
loadximage=load mmc 0:2 ${loadaddr} /boot/vmlinuz-${uname_r}
loadxfdt=load mmc 0:2 ${fdtaddr} /boot/dtbs/${uname_r}/${fdtfile}
loadxrd=load mmc 0:2 ${rdaddr} /boot/initrd.img-${uname_r}; setenv rdsize ${filesize}
loaduEnvtxt=load mmc 0:2 ${loadaddr} /boot/uEnv.txt ; env import -t ${loadaddr} ${filesize};
loadall=run loaduEnvtxt; run loadximage; run loadxrd; run loadxfdt;
mmcargs=setenv bootargs console=tty0 console=${console} ${optargs} ${cape_disable} ${cape_enable} root=${mmcroot} rootfstype=${mmcrootfstype} ${cmdline}
uenvcmd=run loadall; run mmcargs; bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr};
#+END_SRC
** Messaging security ** Messaging security
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. 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.
** Moving Domains ** Moving Domains