-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.htm
More file actions
114 lines (77 loc) · 3.48 KB
/
index.htm
File metadata and controls
114 lines (77 loc) · 3.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta name="description" content="Update uBoot on your Dockstar, GoFlex or Pogoplug NAS">
<meta name="keywords" content="uBoot,Dockstar,GoFlex,Pogoplug,Seagate">
<title>Update uBoot on your Dockstar, GoFlex, or Pogoplug NAS</title>
<style type="text/css">
.code
{
-moz-border-radius:6px 6px 6px 6px;
background-color:#F2F2F2;
border:1px solid black;
margin:1em;
padding:14px 20px;
white-space:pre;
}
.warn
{
color: red;
}
</style>
</head>
<body>
<h2>Update uBoot on your Dockstar, GoFlex, or Pogoplug NAS</h2>
<p class="warn">Disclaimer: Flashing mtd0 carries a risk of breaking your device.</p>
<p>Remove any USB devices and reboot your device. After connecting to it with SSH, run the following commands:</p>
<div class="code">cd /tmp
wget http://projects.doozan.com/uboot/install_uboot_mtd0.sh
chmod +x install_uboot_mtd0.sh
./install_uboot_mtd0.sh
</div>
<h4>Changes from the default uBoot</h4>
<ul>
<li>Based on the latest uBoot source code.</li>
<li>Support for booting from USB drives.</li>
<li>Support for UBIFS partitions on NAND.</li>
<li>Support for complex boot scripts using the HUSH shell.</li>
<li>Configurable environment variables for customized boot commands.</li>
</ul>
<h2>Configuring the uBoot Environment</h2>
<p>The new uBoot supports two new command line tools for configuring the environment: <em>fw_printenv</em> and <em>fw_setenv</em>,
which work exactly like their internal <em>printenv</em> and <em>setenv</em> commands.</p>
<p>The script will install these utilities in /usr/bin in your Pogoplug environment:</p>
<div class="code">fw_printenv
fw_setenv <param> <value>
</div>
<h2>Compiling uBoot</h2>
<p>See my <a href="build_uboot.htm">notes on compiling uBoot</a> if you're interesting in building your own uBoot.</p>
<h2>Netconsole</h2>
<p>If you don't have a serial cable, you can still connect to uBoot using <a href="http://forum.doozan.com/read.php?3,14,14">netconsole.</a>
<h2>Forum</h2>
<p>Please visit the <a href="http://forum.doozan.com">forum</a> for additional uBoot information and support.</p>
<h2>Old: Install chained uBoot on mtd3</h2>
<p>This section is for reference only. You should probably install uBoot to mtd0 as described
above, unless you have a good reason not to.</p>
<p>This is the old 'chained' bootloader method. Don't run this if you have already upgraded uBoot on mtd0.</p>
<p>Remove your USB drive, boot into the default Pogoplug environment, and run the following commands:</p>
<div class="code">cd /tmp
wget http://projects.doozan.com/uboot/install_uboot_mtd3.sh
chmod +x install_uboot_mtd3.sh
./install_uboot_mtd3.sh
</div>
<p>You can boot to the Pogoplug environment with the 'run bootcmd_pogo' command in the new uBoot. By default, the new uBoot will attempt to boot from a USB drive
and, failing that, it will boot the original Pogoplug installation.</p>
<h2>Old: Restore old uBoot on mtd0</h2>
<p>This section is for reference only. You should not run this unless you have a very good reason.</p>
<p>If, for some reason, you want to revert back to the original bootloader, you can use the following instructions to restore the original bootloader:</p>
<div class="code"># Restore original uBoot
wget http://download.doozan.com/uboot/files/uboot/uboot.mtd0.dockstar.original.kwb
flash_erase /dev/mtd0 0 4
nandwrite /dev/mtd0 uboot.mtd0.dockstar.original.kwb
</div>
<p>Enjoy!</p>
<p>-- Jeff</p>
</body>
</html>