瀏覽代碼

Example uEnv

Bob Mottram 10 年之前
父節點
當前提交
d823b6479d
共有 1 個檔案被更改,包括 20 行新增2 行删除
  1. 20
    2
      beaglebone.txt

+ 20
- 2
beaglebone.txt 查看文件

143
 sudo ./setup_sdcard.sh --mmc /dev/sdX --dtb beaglebone
143
 sudo ./setup_sdcard.sh --mmc /dev/sdX --dtb beaglebone
144
 #+END_SRC
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
 #+BEGIN_SRC: bash
148
 #+BEGIN_SRC: bash
149
 sudo cp /media/$USER/BOOT/bbb-uEnv.txt /media/$USER/BOOT/uEnv.txt
149
 sudo cp /media/$USER/BOOT/bbb-uEnv.txt /media/$USER/BOOT/uEnv.txt
7487
 | Convergence   | 8432..8433 |
7487
 | Convergence   | 8432..8433 |
7488
 
7488
 
7489
 * Hints and Tips
7489
 * Hints and Tips
7490
-** Example software sources
7490
+** Example configurations
7491
+*** Software sources
7491
 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
 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
 *** Beaglebone Black
7494
 *** Beaglebone Black
7524
 deb http://repo.ajenti.org/debian main main debian
7525
 deb http://repo.ajenti.org/debian main main debian
7525
 #+END_SRC
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
 ** Messaging security
7545
 ** Messaging security
7528
 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.
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
 ** Moving Domains
7547
 ** Moving Domains