Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
08950ccd
Commit
08950ccd
authored
May 02, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tftp script: "#!/bin/sh" is now mandatory
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
6daa034f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
wrboot-dhcp
binaries/wrboot-dhcp
+2
-0
wrboot-static-ip
binaries/wrboot-static-ip
+2
-0
wrs-build.in
doc/wrs-build.in
+4
-0
No files found.
binaries/wrboot-dhcp
View file @
08950ccd
#!/bin/sh
bootargs
=
"quiet console=ttyS0,115200 panic=10 mem=64m"
bootargs
=
"quiet console=ttyS0,115200 panic=10 mem=64m"
bootargs
=
"
$bootargs
root=nfs ip=dhcp"
bootargs
=
"
$bootargs
root=nfs ip=dhcp"
...
...
binaries/wrboot-static-ip
View file @
08950ccd
#!/bin/sh
bootargs
=
"quiet console=ttyS0,115200 panic=10 mem=64m"
bootargs
=
"quiet console=ttyS0,115200 panic=10 mem=64m"
bootargs
=
"
$bootargs
root=nfs ip=192.168.16.9:192.168.16.1:255.255.255.0"
bootargs
=
"
$bootargs
root=nfs ip=192.168.16.9:192.168.16.1:255.255.255.0"
...
...
doc/wrs-build.in
View file @
08950ccd
...
@@ -918,6 +918,10 @@ this is the default place where the NFS-Root filesystem is mounted
...
@@ -918,6 +918,10 @@ this is the default place where the NFS-Root filesystem is mounted
from, as shown in the log excerpt above. So you'
ll
have
your
from, as shown in the log excerpt above. So you'
ll
have
your
@
file
{
wrboot
}
in
the
same
place
@
file
{
wrboot
}
in
the
same
place
@
b
{
Note
:}
recent
@
i
{
barebox
}
versions
require
scripts
to
include
a
leading
@
t
{#
!/bin/sh}. Examples in @i{wr-switch-sw} did not include the
line
until
April
2014
included
.
The
@
file
{
binaries
}
subdirectory
of
this
package
includes
two
known
-
working
The
@
file
{
binaries
}
subdirectory
of
this
package
includes
two
known
-
working
wrboot
scripts
as
examples
;
one
if
for
use
with
static
IP
addresses
and
wrboot
scripts
as
examples
;
one
if
for
use
with
static
IP
addresses
and
the
other
relies
on
DHCP
.
If
you
want
to
override
the
default
NFS
-
Root
the
other
relies
on
DHCP
.
If
you
want
to
override
the
default
NFS
-
Root
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment