mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/4] Documentation: user manual: clarify kconfig+kbuild
@ 2016-02-10 10:07 Robert Schwebel
  2016-02-10 10:07 ` [PATCH 2/4] Documentation: filesystems: tftp: bring in line with other filesystem docs Robert Schwebel
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Robert Schwebel @ 2016-02-10 10:07 UTC (permalink / raw)
  To: barebox

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
 Documentation/user/barebox.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/user/barebox.rst b/Documentation/user/barebox.rst
index 00ceabb..b1f06b0 100644
--- a/Documentation/user/barebox.rst
+++ b/Documentation/user/barebox.rst
@@ -113,9 +113,9 @@ with the most popular being ``menuconfig``::
 
   make menuconfig
 
-barebox uses the same (Kbuild) configuration system as Linux, so you can use
-all the kernel config targets you already know, e.g. ``make xconfig``,
-``make allyesconfig`` etc.
+barebox uses the same configuration and build system as Linux (Kconfig,
+Kbuild), so you can use all the kernel config targets you already know, e.g.
+``make xconfig``, ``make allyesconfig`` etc.
 
 Configuring and compiling "out-of-tree"
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-- 
2.7.0.rc3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 2/4] Documentation: filesystems: tftp: bring in line with other filesystem docs
  2016-02-10 10:07 [PATCH 1/4] Documentation: user manual: clarify kconfig+kbuild Robert Schwebel
@ 2016-02-10 10:07 ` Robert Schwebel
  2016-02-10 10:07 ` [PATCH 3/4] Documentation: user manual: improve tftp description Robert Schwebel
  2016-02-10 10:07 ` [PATCH 4/4] Documentation: networking: improve docs Robert Schwebel
  2 siblings, 0 replies; 6+ messages in thread
From: Robert Schwebel @ 2016-02-10 10:07 UTC (permalink / raw)
  To: barebox

Clarify that this is about the TFTP filesystem implementation, in
contrast to the tftp command.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
 Documentation/filesystems/tftp.rst | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/Documentation/filesystems/tftp.rst b/Documentation/filesystems/tftp.rst
index e0a1159..b5bb1b3 100644
--- a/Documentation/filesystems/tftp.rst
+++ b/Documentation/filesystems/tftp.rst
@@ -2,15 +2,19 @@
 
 .. _filesystems_tftp:
 
-TFTP support
-============
+TFTP filesystem
+===============
 
-barebox has read/write support for the Trivial File Transfer Protocol.
+barebox has read/write support for the Trivial File Transfer Protocol (TFTP,
+`RFC1350 <https://tools.ietf.org/html/rfc1350>`_).
 
 TFTP is not designed as a filesystem. It does not have support for listing
-directories. This means a :ref:`command_ls` to a TFTP-mounted path will show an empty
-directory. Nevertheless, the files are there.
+directories. This means a :ref:`ls <command_ls>` to a TFTP-mounted path will
+show an empty directory. Nevertheless, the files are there.
 
 Example::
 
   mount -t tftp 192.168.23.4 /mnt/tftp
+
+In addition to the TFTP filesystem implementation, barebox does also have a
+:ref:`tftp command <command_tftp>`.
-- 
2.7.0.rc3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 3/4] Documentation: user manual: improve tftp description
  2016-02-10 10:07 [PATCH 1/4] Documentation: user manual: clarify kconfig+kbuild Robert Schwebel
  2016-02-10 10:07 ` [PATCH 2/4] Documentation: filesystems: tftp: bring in line with other filesystem docs Robert Schwebel
@ 2016-02-10 10:07 ` Robert Schwebel
  2016-02-10 10:07 ` [PATCH 4/4] Documentation: networking: improve docs Robert Schwebel
  2 siblings, 0 replies; 6+ messages in thread
From: Robert Schwebel @ 2016-02-10 10:07 UTC (permalink / raw)
  To: barebox

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
 Documentation/user/barebox.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/user/barebox.rst b/Documentation/user/barebox.rst
index b1f06b0..530693d 100644
--- a/Documentation/user/barebox.rst
+++ b/Documentation/user/barebox.rst
@@ -186,7 +186,9 @@ with U-Boot's 'go' command::
   U-Boot: tftp $load_addr barebox.bin
   U-Boot: go $load_addr
 
-With barebox already running on your board, this can be used to chainload another barebox::
+With barebox already running on your board, this can be used to chainload
+another barebox. For instance, if you mounted a TFTP server to ``/mnt/tftp``
+(see :ref:`filesystems_tftp` for how to do that), chainload barebox with::
 
   bootm /mnt/tftp/barebox.bin
 
-- 
2.7.0.rc3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 4/4] Documentation: networking: improve docs
  2016-02-10 10:07 [PATCH 1/4] Documentation: user manual: clarify kconfig+kbuild Robert Schwebel
  2016-02-10 10:07 ` [PATCH 2/4] Documentation: filesystems: tftp: bring in line with other filesystem docs Robert Schwebel
  2016-02-10 10:07 ` [PATCH 3/4] Documentation: user manual: improve tftp description Robert Schwebel
@ 2016-02-10 10:07 ` Robert Schwebel
  2016-02-10 10:15   ` Steffen Trumtrar
  2 siblings, 1 reply; 6+ messages in thread
From: Robert Schwebel @ 2016-02-10 10:07 UTC (permalink / raw)
  To: barebox

Add the following improvements:

- clarify commands vs. filesystems for network file transport protocols
- Beautify links with prosa text instead of standard headlines
- adapt 'devinfo eth0' parameter output to current code
- improve console texts
- add docs for netconsole.active

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
 Documentation/user/networking.rst | 44 ++++++++++++++++++++++++---------------
 1 file changed, 27 insertions(+), 17 deletions(-)

diff --git a/Documentation/user/networking.rst b/Documentation/user/networking.rst
index 6eeb93d..c1b1857 100644
--- a/Documentation/user/networking.rst
+++ b/Documentation/user/networking.rst
@@ -1,26 +1,25 @@
 Networking
 ==========
 
-barebox has IPv4 networking support. Several protocols such as
-:ref:`command_dhcp`, :ref:`filesystems_nfs`, :ref:`command_tftp` are
-supported.
+barebox has IPv4 networking support. Several protocols such as :ref:`DHCP
+<command_dhcp>`, NFS and TFTP are supported.
 
 Network configuration
 ---------------------
 
 The first step for networking is configuring the network device. The network
 device is usually ``eth0``. The current configuration can be viewed with the
-:ref:`command_devinfo` command:
+:ref:`devinfo <command_devinfo>` command:
 
 .. code-block:: sh
 
   barebox:/ devinfo eth0
   Parameters:
-    ipaddr: 192.168.23.197
-    serverip: 192.168.23.1
+    ethaddr: 00:1c:49:01:03:4b
     gateway: 192.168.23.1
+    ipaddr: 192.168.23.197
     netmask: 255.255.0.0
-    ethaddr: 00:1c:49:01:03:4b
+    serverip: 192.168.23.1
 
 The configuration can be changed on the command line with:
 
@@ -28,19 +27,21 @@ The configuration can be changed on the command line with:
 
   eth0.ipaddr=172.0.0.10
 
-The :ref:`command_dhcp` command will change the settings based on the answer
+The :ref:`dhcp command <command_dhcp>` will change the settings based on the answer
 from the DHCP server.
 
 This low-level configuration of the network interface is often not necessary. Normally
 the network settings should be edited in ``/env/network/eth0``, then the network interface
-can be brought up using the :ref:`command_ifup` command.
+can be brought up using the :ref:`ifup command <command_ifup>`.
 
 Network filesystems
 -------------------
 
-barebox supports NFS and TFTP as filesystem implementations. See :ref:`filesystems_nfs`
-and :ref:`filesystems_tftp` for more information. After the network device has been
-brought up a network filesystem can be mounted with:
+barebox supports NFS and TFTP both with commands (:ref:`nfs <command_nfs>` and
+:ref:`tftp <command_tftp>`) and as filesystem implementations; see
+:ref:`filesystems_nfs` and :ref:`filesystems_tftp` for more information. After
+the network device has been brought up, a network filesystem can be mounted
+with:
 
 .. code-block:: sh
 
@@ -52,8 +53,9 @@ or
 
   mount -t nfs 192.168.2.1:/export none /mnt
 
-**NOTE:** this can often be hidden behind the :ref:`command_automount` command to make
-mounting transparent to the user.
+**NOTE:** The execution of the mount command can often be hidden behind the
+:ref:`automount command <command_automount>`, to make mounting transparent to
+the user.
 
 Network console
 ---------------
@@ -71,11 +73,19 @@ risks. It can be enabled using:
   netconsole.ip=192.168.23.2
   netconsole.active=ioe
 
-This will send UDP packets to 192.168.23.2 on port 6666. On 192.168.23.2 the
-scripts/netconsole script can be used to control barebox:
+This will send UDP packets to a PC with IP address 192.168.23.2 and port 6666.
+
+The ``netconsole.active`` parameter consists of the fields "input" (i),
+"output" (o) and "error" (e); if the fields are set, the respective channel is
+activated on the network console.
+
+On the PC side, the ``scripts/netconsole`` script can be used to remote control
+barebox:
 
 .. code-block:: sh
 
   scripts/netconsole <board IP> 6666
 
-The netconsole can be used just like any other console.
+The netconsole can be used just like any other console. Note, however, that the
+simple console protocol is is UDP based, so there is no guarantee about packet
+loss.
-- 
2.7.0.rc3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 4/4] Documentation: networking: improve docs
  2016-02-10 10:07 ` [PATCH 4/4] Documentation: networking: improve docs Robert Schwebel
@ 2016-02-10 10:15   ` Steffen Trumtrar
  2016-02-11 12:53     ` Sascha Hauer
  0 siblings, 1 reply; 6+ messages in thread
From: Steffen Trumtrar @ 2016-02-10 10:15 UTC (permalink / raw)
  To: Robert Schwebel; +Cc: barebox

On Wed, Feb 10, 2016 at 11:07:37AM +0100, Robert Schwebel wrote:
> Add the following improvements:
> 
> - clarify commands vs. filesystems for network file transport protocols
> - Beautify links with prosa text instead of standard headlines
> - adapt 'devinfo eth0' parameter output to current code
> - improve console texts
> - add docs for netconsole.active
> 
> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
> ---
>  Documentation/user/networking.rst | 44 ++++++++++++++++++++++++---------------
>  1 file changed, 27 insertions(+), 17 deletions(-)
> 
> diff --git a/Documentation/user/networking.rst b/Documentation/user/networking.rst
> index 6eeb93d..c1b1857 100644
> --- a/Documentation/user/networking.rst
> +++ b/Documentation/user/networking.rst
> @@ -1,26 +1,25 @@
>  Networking
>  ==========
>  
> -barebox has IPv4 networking support. Several protocols such as
> -:ref:`command_dhcp`, :ref:`filesystems_nfs`, :ref:`command_tftp` are
> -supported.
> +barebox has IPv4 networking support. Several protocols such as :ref:`DHCP
> +<command_dhcp>`, NFS and TFTP are supported.
>  
>  Network configuration
>  ---------------------
>  
>  The first step for networking is configuring the network device. The network
>  device is usually ``eth0``. The current configuration can be viewed with the
> -:ref:`command_devinfo` command:
> +:ref:`devinfo <command_devinfo>` command:
>  
>  .. code-block:: sh
>  
>    barebox:/ devinfo eth0
>    Parameters:
> -    ipaddr: 192.168.23.197
> -    serverip: 192.168.23.1
> +    ethaddr: 00:1c:49:01:03:4b
>      gateway: 192.168.23.1
> +    ipaddr: 192.168.23.197
>      netmask: 255.255.0.0
> -    ethaddr: 00:1c:49:01:03:4b
> +    serverip: 192.168.23.1
>  
>  The configuration can be changed on the command line with:
>  
> @@ -28,19 +27,21 @@ The configuration can be changed on the command line with:
>  
>    eth0.ipaddr=172.0.0.10
>  
> -The :ref:`command_dhcp` command will change the settings based on the answer
> +The :ref:`dhcp command <command_dhcp>` will change the settings based on the answer
>  from the DHCP server.
>  
>  This low-level configuration of the network interface is often not necessary. Normally
>  the network settings should be edited in ``/env/network/eth0``, then the network interface
> -can be brought up using the :ref:`command_ifup` command.
> +can be brought up using the :ref:`ifup command <command_ifup>`.
>  
>  Network filesystems
>  -------------------
>  
> -barebox supports NFS and TFTP as filesystem implementations. See :ref:`filesystems_nfs`
> -and :ref:`filesystems_tftp` for more information. After the network device has been
> -brought up a network filesystem can be mounted with:
> +barebox supports NFS and TFTP both with commands (:ref:`nfs <command_nfs>` and
> +:ref:`tftp <command_tftp>`) and as filesystem implementations; see
> +:ref:`filesystems_nfs` and :ref:`filesystems_tftp` for more information. After
> +the network device has been brought up, a network filesystem can be mounted
> +with:
>  
>  .. code-block:: sh
>  
> @@ -52,8 +53,9 @@ or
>  
>    mount -t nfs 192.168.2.1:/export none /mnt
>  
> -**NOTE:** this can often be hidden behind the :ref:`command_automount` command to make
> -mounting transparent to the user.
> +**NOTE:** The execution of the mount command can often be hidden behind the
> +:ref:`automount command <command_automount>`, to make mounting transparent to
> +the user.
>  
>  Network console
>  ---------------
> @@ -71,11 +73,19 @@ risks. It can be enabled using:
>    netconsole.ip=192.168.23.2
>    netconsole.active=ioe
>  
> -This will send UDP packets to 192.168.23.2 on port 6666. On 192.168.23.2 the
> -scripts/netconsole script can be used to control barebox:
> +This will send UDP packets to a PC with IP address 192.168.23.2 and port 6666.
> +
> +The ``netconsole.active`` parameter consists of the fields "input" (i),
> +"output" (o) and "error" (e); if the fields are set, the respective channel is
> +activated on the network console.
> +
> +On the PC side, the ``scripts/netconsole`` script can be used to remote control
> +barebox:
>  
>  .. code-block:: sh
>  
>    scripts/netconsole <board IP> 6666
>  
> -The netconsole can be used just like any other console.
> +The netconsole can be used just like any other console. Note, however, that the
> +simple console protocol is is UDP based, so there is no guarantee about packet
			   ^^^^^

Regards,
Steffen Trumtrar

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 4/4] Documentation: networking: improve docs
  2016-02-10 10:15   ` Steffen Trumtrar
@ 2016-02-11 12:53     ` Sascha Hauer
  0 siblings, 0 replies; 6+ messages in thread
From: Sascha Hauer @ 2016-02-11 12:53 UTC (permalink / raw)
  To: Steffen Trumtrar; +Cc: barebox

On Wed, Feb 10, 2016 at 11:15:06AM +0100, Steffen Trumtrar wrote:
> On Wed, Feb 10, 2016 at 11:07:37AM +0100, Robert Schwebel wrote:
> > Add the following improvements:
> > 
> > - clarify commands vs. filesystems for network file transport protocols
> > - Beautify links with prosa text instead of standard headlines
> > - adapt 'devinfo eth0' parameter output to current code
> > - improve console texts
> > - add docs for netconsole.active
> > 
> > Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
> > ---
> >  Documentation/user/networking.rst | 44 ++++++++++++++++++++++++---------------
> >  1 file changed, 27 insertions(+), 17 deletions(-)
> > 
> > diff --git a/Documentation/user/networking.rst b/Documentation/user/networking.rst
> > index 6eeb93d..c1b1857 100644
> > --- a/Documentation/user/networking.rst
> > +++ b/Documentation/user/networking.rst
> > @@ -1,26 +1,25 @@
> >  Networking
> >  ==========
> >  
> > -barebox has IPv4 networking support. Several protocols such as
> > -:ref:`command_dhcp`, :ref:`filesystems_nfs`, :ref:`command_tftp` are
> > -supported.
> > +barebox has IPv4 networking support. Several protocols such as :ref:`DHCP
> > +<command_dhcp>`, NFS and TFTP are supported.
> >  
> >  Network configuration
> >  ---------------------
> >  
> >  The first step for networking is configuring the network device. The network
> >  device is usually ``eth0``. The current configuration can be viewed with the
> > -:ref:`command_devinfo` command:
> > +:ref:`devinfo <command_devinfo>` command:
> >  
> >  .. code-block:: sh
> >  
> >    barebox:/ devinfo eth0
> >    Parameters:
> > -    ipaddr: 192.168.23.197
> > -    serverip: 192.168.23.1
> > +    ethaddr: 00:1c:49:01:03:4b
> >      gateway: 192.168.23.1
> > +    ipaddr: 192.168.23.197
> >      netmask: 255.255.0.0
> > -    ethaddr: 00:1c:49:01:03:4b
> > +    serverip: 192.168.23.1
> >  
> >  The configuration can be changed on the command line with:
> >  
> > @@ -28,19 +27,21 @@ The configuration can be changed on the command line with:
> >  
> >    eth0.ipaddr=172.0.0.10
> >  
> > -The :ref:`command_dhcp` command will change the settings based on the answer
> > +The :ref:`dhcp command <command_dhcp>` will change the settings based on the answer
> >  from the DHCP server.
> >  
> >  This low-level configuration of the network interface is often not necessary. Normally
> >  the network settings should be edited in ``/env/network/eth0``, then the network interface
> > -can be brought up using the :ref:`command_ifup` command.
> > +can be brought up using the :ref:`ifup command <command_ifup>`.
> >  
> >  Network filesystems
> >  -------------------
> >  
> > -barebox supports NFS and TFTP as filesystem implementations. See :ref:`filesystems_nfs`
> > -and :ref:`filesystems_tftp` for more information. After the network device has been
> > -brought up a network filesystem can be mounted with:
> > +barebox supports NFS and TFTP both with commands (:ref:`nfs <command_nfs>` and
> > +:ref:`tftp <command_tftp>`) and as filesystem implementations; see
> > +:ref:`filesystems_nfs` and :ref:`filesystems_tftp` for more information. After
> > +the network device has been brought up, a network filesystem can be mounted
> > +with:
> >  
> >  .. code-block:: sh
> >  
> > @@ -52,8 +53,9 @@ or
> >  
> >    mount -t nfs 192.168.2.1:/export none /mnt
> >  
> > -**NOTE:** this can often be hidden behind the :ref:`command_automount` command to make
> > -mounting transparent to the user.
> > +**NOTE:** The execution of the mount command can often be hidden behind the
> > +:ref:`automount command <command_automount>`, to make mounting transparent to
> > +the user.
> >  
> >  Network console
> >  ---------------
> > @@ -71,11 +73,19 @@ risks. It can be enabled using:
> >    netconsole.ip=192.168.23.2
> >    netconsole.active=ioe
> >  
> > -This will send UDP packets to 192.168.23.2 on port 6666. On 192.168.23.2 the
> > -scripts/netconsole script can be used to control barebox:
> > +This will send UDP packets to a PC with IP address 192.168.23.2 and port 6666.
> > +
> > +The ``netconsole.active`` parameter consists of the fields "input" (i),
> > +"output" (o) and "error" (e); if the fields are set, the respective channel is
> > +activated on the network console.
> > +
> > +On the PC side, the ``scripts/netconsole`` script can be used to remote control
> > +barebox:
> >  
> >  .. code-block:: sh
> >  
> >    scripts/netconsole <board IP> 6666
> >  
> > -The netconsole can be used just like any other console.
> > +The netconsole can be used just like any other console. Note, however, that the
> > +simple console protocol is is UDP based, so there is no guarantee about packet
> 			   ^^^^^

Fixed while applying.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-11 12:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-10 10:07 [PATCH 1/4] Documentation: user manual: clarify kconfig+kbuild Robert Schwebel
2016-02-10 10:07 ` [PATCH 2/4] Documentation: filesystems: tftp: bring in line with other filesystem docs Robert Schwebel
2016-02-10 10:07 ` [PATCH 3/4] Documentation: user manual: improve tftp description Robert Schwebel
2016-02-10 10:07 ` [PATCH 4/4] Documentation: networking: improve docs Robert Schwebel
2016-02-10 10:15   ` Steffen Trumtrar
2016-02-11 12:53     ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox