Skip to contentSkip to conversation

New Documentation for barebox

PATCH New Sascha Hauer 5 participants 19 messages Jun 26, 2014

Subsystems (14)
lore
Share & tools
lore
author maintainer
#2 lore raw

PATCH 2/7 automount: fix description typo

In reply to Sascha Hauer

From: Jan Luebbe <[email protected]>

---
 commands/automount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
commands/automount.c +1 -1
index 0afe4d2..a29f286 100644
@@ -65,7 +65,7 @@ BAREBOX_CMD_HELP_END
 
 BAREBOX_CMD_START(automount)
 	.cmd		= do_automount,
-	BAREBOX_CMD_DESC("execute (mount) COMMAND when PATH ist first accessed")
+	BAREBOX_CMD_DESC("execute (mount) COMMAND when PATH is first accessed")
 	BAREBOX_CMD_OPTS("[-ldr] PATH [COMMAND]")
 	BAREBOX_CMD_GROUP(CMD_GRP_PART)
 	BAREBOX_CMD_HELP(cmd_automount_help)
Signature · 7 lines
2.0.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
author maintainer
#5 lore raw

PATCH 5/7 Documentation: remove remaining documentation

In reply to Sascha Hauer

This removes the documentation texts in Documentation/. It will be replaced with sphinx based documentation later.

---
 Documentation/console.txt           |  13 ----
 Documentation/devices_drivers.txt   |  72 ----------------------
 Documentation/omap4_usb_booting.txt |  27 ---------
 Documentation/porting.txt           | 115 ------------------------------------
 Documentation/timekeeping.txt       |  13 ----
 5 files changed, 240 deletions(-)
 delete mode 100644 Documentation/console.txt
 delete mode 100644 Documentation/devices_drivers.txt
 delete mode 100644 Documentation/omap4_usb_booting.txt
 delete mode 100644 Documentation/porting.txt
 delete mode 100644 Documentation/timekeeping.txt
Documentation/console.txt deleted +0 -0
deleted file mode 100644
index 76b6107..0000000
Documentation/devices_drivers.txt deleted +0 -0
deleted file mode 100644
index e13b13a..0000000
Documentation/omap4_usb_booting.txt deleted +0 -0
deleted file mode 100644
index f0d45a2..0000000
Documentation/porting.txt deleted +0 -0
deleted file mode 100644
index bd807a3..0000000
Documentation/timekeeping.txt deleted +0 -0
deleted file mode 100644
index ed5ef62..0000000
Signature · 7 lines
2.0.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
author maintainer
#1 lore raw

PATCH 1/7 ubiformat: avoid macros in help text

In reply to Sascha Hauer

From: Jan Luebbe <[email protected]>

To simplify parsing of the help strings, we need to avoid using macros there.

---
 commands/ubiformat.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
commands/ubiformat.c +5 -5
index 5c8a363..443d645 100644
@@ -26,7 +26,7 @@
  */
 #define MAX_CONSECUTIVE_BAD_BLOCKS 4
 
-#define PROGRAM_NAME    "ubiformat"
+#define PROGRAM_NAME	"ubiformat"
 
 #include <common.h>
 #include <command.h>
@@ -337,7 +337,7 @@ static int flash_image(const struct mtd_dev_info *mtd,
 		long long ec;
 
 		if (!args.quiet && !args.verbose) {
-			printf("\r" PROGRAM_NAME ": flashing eraseblock %d -- %2u %% complete  ",
+			printf("\rubiformat: flashing eraseblock %d -- %2u %% complete  ",
 			       eb, (eb + 1) * 100 / mtd->eb_cnt);
 		}
 
@@ -447,7 +447,7 @@ static int format(const struct mtd_dev_info *mtd,
 		long long ec;
 
 		if (!args.quiet && !args.verbose) {
-			printf("\r" PROGRAM_NAME ": formatting eraseblock %d -- %2u %% complete  ",
+			printf("\rubiformat: formatting eraseblock %d -- %2u %% complete  ",
 			       eb, (eb + 1 - start_eb) * 100 / (mtd->eb_cnt - start_eb));
 		}
 
@@ -781,8 +781,8 @@ BAREBOX_CMD_HELP_OPT("-Q NUM\t", "32-bit UBI image sequence number to use")
 BAREBOX_CMD_HELP_OPT("-q\t", "suppress progress percentage information")
 BAREBOX_CMD_HELP_OPT("-v\t", "be verbose")
 BAREBOX_CMD_HELP_TEXT("")
-BAREBOX_CMD_HELP_TEXT("Example 1: " PROGRAM_NAME " /dev/nand0 -y - format nand0 and assume yes")
-BAREBOX_CMD_HELP_TEXT("Example 2: " PROGRAM_NAME " /dev/nand0 -q -e 0 - format nand0,")
+BAREBOX_CMD_HELP_TEXT("Example 1: ubiformat /dev/nand0 -y - format nand0 and assume yes")
+BAREBOX_CMD_HELP_TEXT("Example 2: ubiformat /dev/nand0 -q -e 0 - format nand0,")
 BAREBOX_CMD_HELP_TEXT("\tbe quiet and force erase counter value 0.")
 BAREBOX_CMD_HELP_END
 
Signature · 7 lines
2.0.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
author maintainer
#3 lore raw

PATCH 3/7 commands: addpart: Improve description

In reply to Sascha Hauer
---
 commands/partition.c | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
commands/partition.c +9 -7
index 946cf2d..51988df 100644
@@ -166,16 +166,18 @@ static int do_addpart(int argc, char *argv[])
 
 BAREBOX_CMD_HELP_START(addpart)
 
+BAREBOX_CMD_HELP_TEXT("Options:")
+BAREBOX_CMD_HELP_OPT ("-n", "do not use the device name as prefix of the partition name")
+BAREBOX_CMD_HELP_TEXT("")
+BAREBOX_CMD_HELP_TEXT("Create partitions on device DEVICE using the partition description")
+BAREBOX_CMD_HELP_TEXT("from PART.")
+BAREBOX_CMD_HELP_TEXT("PART contains a partition description compatible to the Kernel mtd")
+BAREBOX_CMD_HELP_TEXT("commandline partition description:")
+BAREBOX_CMD_HELP_TEXT("SIZE1[@OFFSET1](NAME1)[RO],SIZE2[@OFFSET2](NAME2)[RO],...")
 BAREBOX_CMD_HELP_TEXT("The size and the offset can be given in decimal (without any prefix) and")
 BAREBOX_CMD_HELP_TEXT("in hex (prefixed with 0x). Both can have an optional suffix K, M or G.")
 BAREBOX_CMD_HELP_TEXT("The size of the last partition can be specified as '-' for the remaining")
-BAREBOX_CMD_HELP_TEXT("space on the device.  This format is the same as used by the Linux")
-BAREBOX_CMD_HELP_TEXT("kernel or cmdline mtd partitions.")
-BAREBOX_CMD_HELP_TEXT("")
-BAREBOX_CMD_HELP_TEXT("Options:")
-BAREBOX_CMD_HELP_OPT ("-n", "do not use the device name as prefix of the partition name")
-BAREBOX_CMD_HELP_OPT ("DEVICE",    "device being worked on")
-BAREBOX_CMD_HELP_OPT ("PART", "SIZE1[@OFFSET1](NAME1)[RO],SIZE2[@OFFSET2](NAME2)[RO],...")
+BAREBOX_CMD_HELP_TEXT("space on the device.")
 BAREBOX_CMD_HELP_END
 
 /**
Signature · 7 lines
2.0.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
author maintainer
#6 lore raw

PATCH 6/7 Documentation: remove devicetree docs

In reply to Sascha Hauer

Remove the barebox devicetree documentation. It will be replaced with sphinx based documentation later.

---
 Documentation/devicetree/bindings/README           |  6 ------
 Documentation/devicetree/bindings/barebox.txt      | 10 ---------
 .../bindings/barebox/barebox,environment.txt       | 25 ----------------------
 Documentation/devicetree/bindings/leds/common.txt  |  8 -------
 .../devicetree/bindings/misc/fsl,imx-iim.txt       | 20 -----------------
 .../devicetree/bindings/misc/fsl,imx-ocotp.txt     | 20 -----------------
 6 files changed, 89 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/README
 delete mode 100644 Documentation/devicetree/bindings/barebox.txt
 delete mode 100644 Documentation/devicetree/bindings/barebox/barebox,environment.txt
 delete mode 100644 Documentation/devicetree/bindings/leds/common.txt
 delete mode 100644 Documentation/devicetree/bindings/misc/fsl,imx-iim.txt
 delete mode 100644 Documentation/devicetree/bindings/misc/fsl,imx-ocotp.txt
Documentation/devicetree/bindings/README deleted +0 -0
deleted file mode 100644
index b818ee8..0000000
Documentation/devicetree/bindings/barebox.txt deleted +0 -0
deleted file mode 100644
index 5e8d461..0000000
Documentation/devicetree/bindings/barebox/barebox,environment.txt deleted +0 -0
deleted file mode 100644
index 5a8bf9c..0000000
Documentation/devicetree/bindings/leds/common.txt deleted +0 -0
deleted file mode 100644
index db264b3..0000000
Documentation/devicetree/bindings/misc/fsl,imx-iim.txt deleted +0 -0
deleted file mode 100644
index 9759210..0000000
Documentation/devicetree/bindings/misc/fsl,imx-ocotp.txt deleted +0 -0
deleted file mode 100644
index b7a3ee5..0000000
Signature · 7 lines
2.0.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Sascha Hauer

author maintainer
#0 lore raw

Hi all,

I am happy to announce new documentation for barebox.

The following series removes the in-tree documentation and replaces it with completely rewritten sphinxs based documentation. As of now we have a more or less complete user manual. There surely is room for improvements but we think that it is good enough already and surely better than what we have now.

The documentation is written with Sphinx. Sphinx is the Python Documentation Generator, see http://sphinx-doc.org/.
The files are written in reStructuredText, a format which is sufficiently easy to write and nice to read even in sourcecode format.

Thank you Jan, Lukas and Jochen for help writing documentation and fixing typos.

make docs will generate static html files. The plan is to replace the existing Wiki Documentation with these files. Florian is currently writing template files to make the pages look nice and not-so-standard.

Comments and reviews are very welcome.

Sascha

The following changes since commit bbc70303c7166dbe8e72ea12fdc486c28a60c302:

kernel-install: fix return value check for getline (2014-06-26 09:44:47 +0200)

are available in the git repository at:

git://git.pengutronix.de/git/barebox.git doc

for you to fetch changes up to f77fa0cc6de9c9a26e492016e67b0fdfc2039f91:

Documentation: Add new sphinxs docs (2014-06-26 10:12:32 +0200)

----------------------------------------------------------------
Jan Luebbe (2):
ubiformat: avoid macros in help text
automount: fix description typo

Sascha Hauer (5):
commands: addpart: Improve description
Documentation: remove doxygen documentation
Documentation: remove remaining documentation
Documentation: remove devicetree docs
Documentation: Add new sphinxs docs

 Documentation/.gitignore                           |    1 +
 Documentation/barebox-main.dox                     |  126 --
 Documentation/board.dox                            |   94 --
 Documentation/boards.dox                           |   74 --
 Documentation/boards.rst                           |   10 +
 Documentation/boards/cirrus-logic.rst              |    9 +
 .../boards/edb9xxx/cirrus_logic_edb9301.rst        |   10 +
 .../boards/edb9xxx/cirrus_logic_edb9302.rst        |   10 +
 .../boards/edb9xxx/cirrus_logic_edb9302a.rst       |   10 +
 .../boards/edb9xxx/cirrus_logic_edb9307.rst        |   13 +
 .../boards/edb9xxx/cirrus_logic_edb9307a.rst       |   13 +
 .../boards/edb9xxx/cirrus_logic_edb9312.rst        |   13 +
 .../boards/edb9xxx/cirrus_logic_edb9315.rst        |   13 +
 .../boards/edb9xxx/cirrus_logic_edb9315a.rst       |   12 +
 Documentation/boards/imx.rst                       |  103 ++
 Documentation/boards/imx/Garz-Fricke-Cupid.rst     |    9 +
 Documentation/boards/imx/Phytec-phyCORE-i.MX31.rst |   38 +
 Documentation/boards/imx/eukrea_cpuimx27.rst       |   11 +
 Documentation/boards/imx/synertronixx_scb9328.rst  |   12 +
 Documentation/boards/mxs/Chumby-Falconwing.rst     |   46 +
 Documentation/boards/mxs/Freescale-i.MX23-evk.rst  |   28 +
 Documentation/boards/mxs/KaRo-TX28.rst             |   48 +
 Documentation/boards/omap.rst                      |   40 +
 Documentation/boards/s3c/Digi-a9m2440.rst          |   67 +
 Documentation/boards/samsung.rst                   |    9 +
 Documentation/boards/sandbox.rst                   |   67 +
 Documentation/boards/tegra.rst                     |  102 ++
 Documentation/boards/x86.rst                       |  128 ++
 Documentation/building.dox                         |   60 -
 Documentation/commands.dox                         |  111 --
 Documentation/commands.rst                         |    9 +
 Documentation/conf.py                              |  262 ++++
 Documentation/console.txt                          |   13 -
 Documentation/developers_manual.dox                |   24 -
 Documentation/devices_drivers.txt                  |   72 --
 Documentation/devicetree/bindings/barebox.txt      |   10 -
 .../bindings/barebox/barebox,environment.txt       |   25 -
 .../bindings/leds/{common.txt => common.rst}       |    3 +-
 .../misc/{fsl,imx-iim.txt => fsl,imx-iim.rst}      |   13 +-
 .../misc/{fsl,imx-ocotp.txt => fsl,imx-ocotp.rst}  |   13 +-
 Documentation/devicetree/index.rst                 |   13 +
 Documentation/download.rst                         |   16 +
 Documentation/filesystems.rst                      |   10 +
 Documentation/filesystems/fat.rst                  |   15 +
 Documentation/filesystems/nfs.rst                  |   12 +
 Documentation/filesystems/ramfs.rst                |   10 +
 Documentation/filesystems/tftp.rst                 |   16 +
 Documentation/first_steps.dox                      |   61 -
 Documentation/gen_commands.py                      |  164 +++
 Documentation/glossary.rst                         |   18 +
 Documentation/index.rst                            |   26 +
 Documentation/manual_org.dox                       |   27 -
 Documentation/omap4_usb_booting.txt                |   27 -
 Documentation/porting.txt                          |  115 --
 Documentation/timekeeping.txt                      |   13 -
 Documentation/user/automount.rst                   |   34 +
 Documentation/user/barebox.rst                     |  178 +++
 Documentation/user/booting-linux.rst               |  267 ++++
 Documentation/user/defaultenv-2.rst                |  113 ++
 Documentation/user/devicetree.rst                  |   84 ++
 Documentation/user/driver-model.rst                |   91 ++
 Documentation/user/framebuffer.rst                 |   43 +
 Documentation/user/hush.rst                        |   52 +
 Documentation/user/introduction.rst                |   27 +
 Documentation/user/memory-areas.rst                |   27 +
 Documentation/user/multi-image.rst                 |   54 +
 Documentation/user/networking.rst                  |   81 ++
 Documentation/user/pbl.rst                         |   31 +
 Documentation/user/system-setup.rst                |   64 +
 Documentation/user/ubi.rst                         |  138 +++
 Documentation/user/updating.rst                    |   29 +
 Documentation/user/usb.rst                         |   65 +
 Documentation/user/user-manual.rst                 |   33 +
 Documentation/user/variables.rst                   |   49 +
 Documentation/users_manual.dox                     |   18 -
 Doxyfile                                           | 1310 --------------------
 Makefile                                           |   21 +-
 arch/architecture.dox                              |  175 ---
 arch/arm/boards/a9m2410/a9m2410.c                  |   68 -
 arch/arm/boards/a9m2440/a9m2440.c                  |   79 --
 arch/arm/boards/beagle/board.c                     |   31 -
 arch/arm/boards/ccxmx51/ccxmx51.dox                |    7 -
 arch/arm/boards/chumby_falconwing/falconwing.c     |  138 ---
 arch/arm/boards/edb93xx/edb93xx.dox                |  108 --
 .../arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.dox |   11 -
 .../arm/boards/eukrea_cpuimx35/eukrea_cpuimx35.dox |    4 -
 .../arm/boards/eukrea_cpuimx51/eukrea_cpuimx51.dox |    4 -
 arch/arm/boards/freescale-mx21-ads/imx21ads.dox    |    5 -
 arch/arm/boards/freescale-mx23-evk/mx23-evk.c      |   32 -
 arch/arm/boards/freescale-mx27-ads/imx27ads.dox    |    5 -
 arch/arm/boards/freescale-mx35-3ds/3stack.dox      |    4 -
 .../arm/boards/freescale-mx51-babbage/mx51-pdk.dox |    4 -
 arch/arm/boards/freescale-mx53-qsb/mx53-pdk.dox    |    4 -
 arch/arm/boards/freescale-mx53-smd/mx53-smd.dox    |    4 -
 arch/arm/boards/friendlyarm-mini2440/mini2440.c    |  159 ---
 arch/arm/boards/guf-cupid/cupid.dox                |    9 -
 arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c |   59 -
 arch/arm/boards/karo-tx28/tx28.c                   |   52 -
 arch/arm/boards/karo-tx51/tx51.dox                 |   50 -
 arch/arm/boards/module-mb7707/module-mb7707.dox    |   29 -
 arch/arm/boards/mx31moboard/mx31moboard.dox        |   10 -
 arch/arm/boards/netx/netx.dox                      |    9 -
 arch/arm/boards/omap343xdsp/board.c                |   26 -
 arch/arm/boards/phytec-phycard-imx27/pca100.dox    |    8 -
 arch/arm/boards/phytec-phycard-omap3/pca-a-l1.dox  |   16 -
 arch/arm/boards/phytec-phycore-imx27/pcm038.dox    |    9 -
 arch/arm/boards/phytec-phycore-imx31/pcm037.dox    |   11 -
 arch/arm/boards/phytec-phycore-imx35/pcm043.dox    |   28 -
 arch/arm/boards/qil-a926x/qil-a9260.dox            |   22 -
 arch/arm/boards/scb9328/scb9328.dox                |    9 -
 arch/arm/boards/tny-a926x/tny-a9263.dox            |   33 -
 arch/arm/boards/tny-a926x/tny-a9g20-lpw.dox        |   37 -
 arch/arm/boards/toshiba-ac100/toshiba-ac100.dox    |   37 -
 arch/arm/boards/usb-a926x/usb-a9263.dox            |   30 -
 arch/arm/boards/usb-a926x/usb-a9g20-lpw.dox        |   33 -
 arch/arm/boards/virt2real/virt2real.dox            |   41 -
 arch/arm/mach-arm.dox                              |   67 -
 arch/arm/mach-davinci/mach-davinci.dox             |    7 -
 arch/arm/mach-omap/arch-omap.dox                   |   96 --
 arch/arm/mach-samsung/lowlevel-s3c24x0.S           |    8 -
 arch/arm/mach-samsung/mem-s3c24x0.c                |   57 -
 arch/blackfin/boards/ipe337/ipe337.dox             |   10 -
 arch/blackfin/mach-bf.dox                          |    9 -
 arch/mips/boards/dlink-dir-320/dlink-dir-320.dox   |   38 -
 arch/mips/boards/loongson-ls1b/loongson_ls1b.dox   |   47 -
 arch/mips/boards/qemu-malta/qemu-malta.dox         |   20 -
 arch/mips/boards/ritmix-rzx50/ritmix-rzx50.dox     |   46 -
 arch/mips/boards/tplink-mr3020/tplink-mr3020.dox   |   64 -
 arch/mips/mach-bcm47xx/mach-bcm47xx.dox            |    7 -
 arch/mips/mach-loongson/mach-loongson.dox          |    7 -
 arch/mips/mach-malta/mach-malta.dox                |    7 -
 arch/mips/mach-mips.dox                            |   69 --
 arch/mips/mach-xburst/mach-xburst.dox              |    7 -
 arch/ppc/boards/pcm030/pcm030.dox                  |    8 -
 arch/ppc/mach-ppc.dox                              |    9 -
 arch/sandbox/os/common.c                           |   55 -
 arch/x86/boards/x86_generic/generic_pc.c           |   34 -
 arch/x86/boot/bioscall.S                           |    4 -
 arch/x86/lib/bios_disk.S                           |    3 -
 arch/x86/lib/linux_start.S                         |    3 -
 arch/x86/mach-x86.dox                              |  128 --
 commands/automount.c                               |    2 +-
 commands/bootm.c                                   |   17 -
 commands/cp.c                                      |   14 -
 commands/devinfo.c                                 |   28 -
 commands/dfu.c                                     |   10 -
 commands/echo.c                                    |    8 -
 commands/edit.c                                    |   16 -
 commands/flash.c                                   |   52 -
 commands/gpio.c                                    |   62 -
 commands/led.c                                     |    9 -
 commands/linux16.c                                 |   66 -
 commands/loadenv.c                                 |    9 -
 commands/miitool.c                                 |    6 -
 commands/mount.c                                   |   36 -
 commands/partition.c                               |   40 +-
 commands/printenv.c                                |   14 -
 commands/saveenv.c                                 |   18 -
 commands/setenv.c                                  |   13 -
 commands/splash.c                                  |   11 -
 commands/ubiformat.c                               |   10 +-
 commands/usbserial.c                               |    4 -
 common/kallsyms.c                                  |    4 -
 include/command.h                                  |    4 -
 include/driver.h                                   |   26 -
 include/i2c/i2c.h                                  |    4 -
 include/linux/mtd/mtd-abi.h                        |    4 -
 include/linux/mtd/mtd.h                            |    4 -
 include/spi/spi.h                                  |    4 -
 include/usb/ch9.h                                  |    4 -
 include/usb/composite.h                            |    4 -
 include/usb/gadget.h                               |    4 -
 include/usb/usb.h                                  |    4 -
 net/netconsole.c                                   |   28 -
 scripts/doxy_filter.awk                            |  103 --
 175 files changed, 2893 insertions(+), 5042 deletions(-)
 delete mode 100644 Documentation/barebox-main.dox
 delete mode 100644 Documentation/board.dox
 delete mode 100644 Documentation/boards.dox
 create mode 100644 Documentation/boards.rst
 create mode 100644 Documentation/boards/cirrus-logic.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9301.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9302.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9302a.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9307.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9307a.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9312.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9315.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9315a.rst
 create mode 100644 Documentation/boards/imx.rst
 create mode 100644 Documentation/boards/imx/Garz-Fricke-Cupid.rst
 create mode 100644 Documentation/boards/imx/Phytec-phyCORE-i.MX31.rst
 create mode 100644 Documentation/boards/imx/eukrea_cpuimx27.rst
 create mode 100644 Documentation/boards/imx/synertronixx_scb9328.rst
 create mode 100644 Documentation/boards/mxs/Chumby-Falconwing.rst
 create mode 100644 Documentation/boards/mxs/Freescale-i.MX23-evk.rst
 create mode 100644 Documentation/boards/mxs/KaRo-TX28.rst
 create mode 100644 Documentation/boards/omap.rst
 create mode 100644 Documentation/boards/s3c/Digi-a9m2440.rst
 create mode 100644 Documentation/boards/samsung.rst
 create mode 100644 Documentation/boards/sandbox.rst
 create mode 100644 Documentation/boards/tegra.rst
 create mode 100644 Documentation/boards/x86.rst
 delete mode 100644 Documentation/building.dox
 delete mode 100644 Documentation/commands.dox
 create mode 100644 Documentation/commands.rst
 create mode 100644 Documentation/conf.py
 delete mode 100644 Documentation/console.txt
 delete mode 100644 Documentation/developers_manual.dox
 delete mode 100644 Documentation/devices_drivers.txt
 delete mode 100644 Documentation/devicetree/bindings/barebox.txt
 delete mode 100644 Documentation/devicetree/bindings/barebox/barebox,environment.txt
 rename Documentation/devicetree/bindings/leds/{common.txt => common.rst} (86%)
 rename Documentation/devicetree/bindings/misc/{fsl,imx-iim.txt => fsl,imx-iim.rst} (62%)
 rename Documentation/devicetree/bindings/misc/{fsl,imx-ocotp.txt => fsl,imx-ocotp.rst} (64%)
 create mode 100644 Documentation/devicetree/index.rst
 create mode 100644 Documentation/download.rst
 create mode 100644 Documentation/filesystems.rst
 create mode 100644 Documentation/filesystems/fat.rst
 create mode 100644 Documentation/filesystems/nfs.rst
 create mode 100644 Documentation/filesystems/ramfs.rst
 create mode 100644 Documentation/filesystems/tftp.rst
 delete mode 100644 Documentation/first_steps.dox
 create mode 100755 Documentation/gen_commands.py
 create mode 100644 Documentation/glossary.rst
 create mode 100644 Documentation/index.rst
 delete mode 100644 Documentation/manual_org.dox
 delete mode 100644 Documentation/omap4_usb_booting.txt
 delete mode 100644 Documentation/porting.txt
 delete mode 100644 Documentation/timekeeping.txt
 create mode 100644 Documentation/user/automount.rst
 create mode 100644 Documentation/user/barebox.rst
 create mode 100644 Documentation/user/booting-linux.rst
 create mode 100644 Documentation/user/defaultenv-2.rst
 create mode 100644 Documentation/user/devicetree.rst
 create mode 100644 Documentation/user/driver-model.rst
 create mode 100644 Documentation/user/framebuffer.rst
 create mode 100644 Documentation/user/hush.rst
 create mode 100644 Documentation/user/introduction.rst
 create mode 100644 Documentation/user/memory-areas.rst
 create mode 100644 Documentation/user/multi-image.rst
 create mode 100644 Documentation/user/networking.rst
 create mode 100644 Documentation/user/pbl.rst
 create mode 100644 Documentation/user/system-setup.rst
 create mode 100644 Documentation/user/ubi.rst
 create mode 100644 Documentation/user/updating.rst
 create mode 100644 Documentation/user/usb.rst
 create mode 100644 Documentation/user/user-manual.rst
 create mode 100644 Documentation/user/variables.rst
 delete mode 100644 Documentation/users_manual.dox
 delete mode 100644 Doxyfile
 delete mode 100644 arch/architecture.dox
 delete mode 100644 arch/arm/boards/ccxmx51/ccxmx51.dox
 delete mode 100644 arch/arm/boards/edb93xx/edb93xx.dox
 delete mode 100644 arch/arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.dox
 delete mode 100644 arch/arm/boards/eukrea_cpuimx35/eukrea_cpuimx35.dox
 delete mode 100644 arch/arm/boards/eukrea_cpuimx51/eukrea_cpuimx51.dox
 delete mode 100644 arch/arm/boards/freescale-mx21-ads/imx21ads.dox
 delete mode 100644 arch/arm/boards/freescale-mx27-ads/imx27ads.dox
 delete mode 100644 arch/arm/boards/freescale-mx35-3ds/3stack.dox
 delete mode 100644 arch/arm/boards/freescale-mx51-babbage/mx51-pdk.dox
 delete mode 100644 arch/arm/boards/freescale-mx53-qsb/mx53-pdk.dox
 delete mode 100644 arch/arm/boards/freescale-mx53-smd/mx53-smd.dox
 delete mode 100644 arch/arm/boards/guf-cupid/cupid.dox
 delete mode 100644 arch/arm/boards/karo-tx51/tx51.dox
 delete mode 100644 arch/arm/boards/module-mb7707/module-mb7707.dox
 delete mode 100644 arch/arm/boards/mx31moboard/mx31moboard.dox
 delete mode 100644 arch/arm/boards/netx/netx.dox
 delete mode 100644 arch/arm/boards/phytec-phycard-imx27/pca100.dox
 delete mode 100644 arch/arm/boards/phytec-phycard-omap3/pca-a-l1.dox
 delete mode 100644 arch/arm/boards/phytec-phycore-imx27/pcm038.dox
 delete mode 100644 arch/arm/boards/phytec-phycore-imx31/pcm037.dox
 delete mode 100644 arch/arm/boards/phytec-phycore-imx35/pcm043.dox
 delete mode 100644 arch/arm/boards/qil-a926x/qil-a9260.dox
 delete mode 100644 arch/arm/boards/scb9328/scb9328.dox
 delete mode 100644 arch/arm/boards/tny-a926x/tny-a9263.dox
 delete mode 100644 arch/arm/boards/tny-a926x/tny-a9g20-lpw.dox
 delete mode 100644 arch/arm/boards/toshiba-ac100/toshiba-ac100.dox
 delete mode 100644 arch/arm/boards/usb-a926x/usb-a9263.dox
 delete mode 100644 arch/arm/boards/usb-a926x/usb-a9g20-lpw.dox
 delete mode 100644 arch/arm/boards/virt2real/virt2real.dox
 delete mode 100644 arch/arm/mach-arm.dox
 delete mode 100644 arch/arm/mach-davinci/mach-davinci.dox
 delete mode 100644 arch/arm/mach-omap/arch-omap.dox
 delete mode 100644 arch/blackfin/boards/ipe337/ipe337.dox
 delete mode 100644 arch/blackfin/mach-bf.dox
 delete mode 100644 arch/mips/boards/dlink-dir-320/dlink-dir-320.dox
 delete mode 100644 arch/mips/boards/loongson-ls1b/loongson_ls1b.dox
 delete mode 100644 arch/mips/boards/qemu-malta/qemu-malta.dox
 delete mode 100644 arch/mips/boards/ritmix-rzx50/ritmix-rzx50.dox
 delete mode 100644 arch/mips/boards/tplink-mr3020/tplink-mr3020.dox
 delete mode 100644 arch/mips/mach-bcm47xx/mach-bcm47xx.dox
 delete mode 100644 arch/mips/mach-loongson/mach-loongson.dox
 delete mode 100644 arch/mips/mach-malta/mach-malta.dox
 delete mode 100644 arch/mips/mach-mips.dox
 delete mode 100644 arch/mips/mach-xburst/mach-xburst.dox
 delete mode 100644 arch/ppc/boards/pcm030/pcm030.dox
 delete mode 100644 arch/ppc/mach-ppc.dox
 delete mode 100644 arch/x86/mach-x86.dox
 delete mode 100644 scripts/doxy_filter.awk

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

author maintainer
#4 lore raw

PATCH 4/7 Documentation: remove doxygen documentation

The doxygen documentation is long outdated. Remove it. It will be replaced with sphinx based documentation later.

---
 Documentation/barebox-main.dox                     |  126 --
 Documentation/board.dox                            |   94 --
 Documentation/boards.dox                           |   74 --
 Documentation/building.dox                         |   60 -
 Documentation/commands.dox                         |  111 --
 Documentation/developers_manual.dox                |   24 -
 Documentation/first_steps.dox                      |   61 -
 Documentation/manual_org.dox                       |   27 -
 Documentation/users_manual.dox                     |   18 -
 Doxyfile                                           | 1310 --------------------
 Makefile                                           |   10 -
 arch/architecture.dox                              |  175 ---
 arch/arm/boards/a9m2410/a9m2410.c                  |   68 -
 arch/arm/boards/a9m2440/a9m2440.c                  |   79 --
 arch/arm/boards/beagle/board.c                     |   31 -
 arch/arm/boards/ccxmx51/ccxmx51.dox                |    7 -
 arch/arm/boards/chumby_falconwing/falconwing.c     |  138 ---
 arch/arm/boards/edb93xx/edb93xx.dox                |  108 --
 .../arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.dox |   11 -
 .../arm/boards/eukrea_cpuimx35/eukrea_cpuimx35.dox |    4 -
 .../arm/boards/eukrea_cpuimx51/eukrea_cpuimx51.dox |    4 -
 arch/arm/boards/freescale-mx21-ads/imx21ads.dox    |    5 -
 arch/arm/boards/freescale-mx23-evk/mx23-evk.c      |   32 -
 arch/arm/boards/freescale-mx27-ads/imx27ads.dox    |    5 -
 arch/arm/boards/freescale-mx35-3ds/3stack.dox      |    4 -
 .../arm/boards/freescale-mx51-babbage/mx51-pdk.dox |    4 -
 arch/arm/boards/freescale-mx53-qsb/mx53-pdk.dox    |    4 -
 arch/arm/boards/freescale-mx53-smd/mx53-smd.dox    |    4 -
 arch/arm/boards/friendlyarm-mini2440/mini2440.c    |  159 ---
 arch/arm/boards/guf-cupid/cupid.dox                |    9 -
 arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c |   59 -
 arch/arm/boards/karo-tx28/tx28.c                   |   52 -
 arch/arm/boards/karo-tx51/tx51.dox                 |   50 -
 arch/arm/boards/module-mb7707/module-mb7707.dox    |   29 -
 arch/arm/boards/mx31moboard/mx31moboard.dox        |   10 -
 arch/arm/boards/netx/netx.dox                      |    9 -
 arch/arm/boards/omap343xdsp/board.c                |   26 -
 arch/arm/boards/phytec-phycard-imx27/pca100.dox    |    8 -
 arch/arm/boards/phytec-phycard-omap3/pca-a-l1.dox  |   16 -
 arch/arm/boards/phytec-phycore-imx27/pcm038.dox    |    9 -
 arch/arm/boards/phytec-phycore-imx31/pcm037.dox    |   11 -
 arch/arm/boards/phytec-phycore-imx35/pcm043.dox    |   28 -
 arch/arm/boards/qil-a926x/qil-a9260.dox            |   22 -
 arch/arm/boards/scb9328/scb9328.dox                |    9 -
 arch/arm/boards/tny-a926x/tny-a9263.dox            |   33 -
 arch/arm/boards/tny-a926x/tny-a9g20-lpw.dox        |   37 -
 arch/arm/boards/toshiba-ac100/toshiba-ac100.dox    |   37 -
 arch/arm/boards/usb-a926x/usb-a9263.dox            |   30 -
 arch/arm/boards/usb-a926x/usb-a9g20-lpw.dox        |   33 -
 arch/arm/boards/virt2real/virt2real.dox            |   41 -
 arch/arm/mach-arm.dox                              |   67 -
 arch/arm/mach-davinci/mach-davinci.dox             |    7 -
 arch/arm/mach-omap/arch-omap.dox                   |   96 --
 arch/arm/mach-samsung/lowlevel-s3c24x0.S           |    8 -
 arch/arm/mach-samsung/mem-s3c24x0.c                |   57 -
 arch/blackfin/boards/ipe337/ipe337.dox             |   10 -
 arch/blackfin/mach-bf.dox                          |    9 -
 arch/mips/boards/dlink-dir-320/dlink-dir-320.dox   |   38 -
 arch/mips/boards/loongson-ls1b/loongson_ls1b.dox   |   47 -
 arch/mips/boards/qemu-malta/qemu-malta.dox         |   20 -
 arch/mips/boards/ritmix-rzx50/ritmix-rzx50.dox     |   46 -
 arch/mips/boards/tplink-mr3020/tplink-mr3020.dox   |   64 -
 arch/mips/mach-bcm47xx/mach-bcm47xx.dox            |    7 -
 arch/mips/mach-loongson/mach-loongson.dox          |    7 -
 arch/mips/mach-malta/mach-malta.dox                |    7 -
 arch/mips/mach-mips.dox                            |   69 --
 arch/mips/mach-xburst/mach-xburst.dox              |    7 -
 arch/ppc/boards/pcm030/pcm030.dox                  |    8 -
 arch/ppc/mach-ppc.dox                              |    9 -
 arch/sandbox/os/common.c                           |   55 -
 arch/x86/boards/x86_generic/generic_pc.c           |   34 -
 arch/x86/boot/bioscall.S                           |    4 -
 arch/x86/lib/bios_disk.S                           |    3 -
 arch/x86/lib/linux_start.S                         |    3 -
 arch/x86/mach-x86.dox                              |  128 --
 commands/bootm.c                                   |   17 -
 commands/cp.c                                      |   14 -
 commands/devinfo.c                                 |   28 -
 commands/dfu.c                                     |   10 -
 commands/echo.c                                    |    8 -
 commands/edit.c                                    |   16 -
 commands/flash.c                                   |   52 -
 commands/gpio.c                                    |   62 -
 commands/led.c                                     |    9 -
 commands/linux16.c                                 |   66 -
 commands/loadenv.c                                 |    9 -
 commands/miitool.c                                 |    6 -
 commands/mount.c                                   |   36 -
 commands/partition.c                               |   24 -
 commands/printenv.c                                |   14 -
 commands/saveenv.c                                 |   18 -
 commands/setenv.c                                  |   13 -
 commands/splash.c                                  |   11 -
 commands/usbserial.c                               |    4 -
 common/kallsyms.c                                  |    4 -
 include/command.h                                  |    4 -
 include/driver.h                                   |   26 -
 include/i2c/i2c.h                                  |    4 -
 include/linux/mtd/mtd-abi.h                        |    4 -
 include/linux/mtd/mtd.h                            |    4 -
 include/spi/spi.h                                  |    4 -
 include/usb/ch9.h                                  |    4 -
 include/usb/composite.h                            |    4 -
 include/usb/gadget.h                               |    4 -
 include/usb/usb.h                                  |    4 -
 net/netconsole.c                                   |   28 -
 scripts/doxy_filter.awk                            |  103 --
 107 files changed, 4739 deletions(-)
 delete mode 100644 Documentation/barebox-main.dox
 delete mode 100644 Documentation/board.dox
 delete mode 100644 Documentation/boards.dox
 delete mode 100644 Documentation/building.dox
 delete mode 100644 Documentation/commands.dox
 delete mode 100644 Documentation/developers_manual.dox
 delete mode 100644 Documentation/first_steps.dox
 delete mode 100644 Documentation/manual_org.dox
 delete mode 100644 Documentation/users_manual.dox
 delete mode 100644 Doxyfile
 delete mode 100644 arch/architecture.dox
 delete mode 100644 arch/arm/boards/ccxmx51/ccxmx51.dox
 delete mode 100644 arch/arm/boards/edb93xx/edb93xx.dox
 delete mode 100644 arch/arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.dox
 delete mode 100644 arch/arm/boards/eukrea_cpuimx35/eukrea_cpuimx35.dox
 delete mode 100644 arch/arm/boards/eukrea_cpuimx51/eukrea_cpuimx51.dox
 delete mode 100644 arch/arm/boards/freescale-mx21-ads/imx21ads.dox
 delete mode 100644 arch/arm/boards/freescale-mx27-ads/imx27ads.dox
 delete mode 100644 arch/arm/boards/freescale-mx35-3ds/3stack.dox
 delete mode 100644 arch/arm/boards/freescale-mx51-babbage/mx51-pdk.dox
 delete mode 100644 arch/arm/boards/freescale-mx53-qsb/mx53-pdk.dox
 delete mode 100644 arch/arm/boards/freescale-mx53-smd/mx53-smd.dox
 delete mode 100644 arch/arm/boards/guf-cupid/cupid.dox
 delete mode 100644 arch/arm/boards/karo-tx51/tx51.dox
 delete mode 100644 arch/arm/boards/module-mb7707/module-mb7707.dox
 delete mode 100644 arch/arm/boards/mx31moboard/mx31moboard.dox
 delete mode 100644 arch/arm/boards/netx/netx.dox
 delete mode 100644 arch/arm/boards/phytec-phycard-imx27/pca100.dox
 delete mode 100644 arch/arm/boards/phytec-phycard-omap3/pca-a-l1.dox
 delete mode 100644 arch/arm/boards/phytec-phycore-imx27/pcm038.dox
 delete mode 100644 arch/arm/boards/phytec-phycore-imx31/pcm037.dox
 delete mode 100644 arch/arm/boards/phytec-phycore-imx35/pcm043.dox
 delete mode 100644 arch/arm/boards/qil-a926x/qil-a9260.dox
 delete mode 100644 arch/arm/boards/scb9328/scb9328.dox
 delete mode 100644 arch/arm/boards/tny-a926x/tny-a9263.dox
 delete mode 100644 arch/arm/boards/tny-a926x/tny-a9g20-lpw.dox
 delete mode 100644 arch/arm/boards/toshiba-ac100/toshiba-ac100.dox
 delete mode 100644 arch/arm/boards/usb-a926x/usb-a9263.dox
 delete mode 100644 arch/arm/boards/usb-a926x/usb-a9g20-lpw.dox
 delete mode 100644 arch/arm/boards/virt2real/virt2real.dox
 delete mode 100644 arch/arm/mach-arm.dox
 delete mode 100644 arch/arm/mach-davinci/mach-davinci.dox
 delete mode 100644 arch/arm/mach-omap/arch-omap.dox
 delete mode 100644 arch/blackfin/boards/ipe337/ipe337.dox
 delete mode 100644 arch/blackfin/mach-bf.dox
 delete mode 100644 arch/mips/boards/dlink-dir-320/dlink-dir-320.dox
 delete mode 100644 arch/mips/boards/loongson-ls1b/loongson_ls1b.dox
 delete mode 100644 arch/mips/boards/qemu-malta/qemu-malta.dox
 delete mode 100644 arch/mips/boards/ritmix-rzx50/ritmix-rzx50.dox
 delete mode 100644 arch/mips/boards/tplink-mr3020/tplink-mr3020.dox
 delete mode 100644 arch/mips/mach-bcm47xx/mach-bcm47xx.dox
 delete mode 100644 arch/mips/mach-loongson/mach-loongson.dox
 delete mode 100644 arch/mips/mach-malta/mach-malta.dox
 delete mode 100644 arch/mips/mach-mips.dox
 delete mode 100644 arch/mips/mach-xburst/mach-xburst.dox
 delete mode 100644 arch/ppc/boards/pcm030/pcm030.dox
 delete mode 100644 arch/ppc/mach-ppc.dox
 delete mode 100644 arch/x86/mach-x86.dox
 delete mode 100644 scripts/doxy_filter.awk
Documentation/barebox-main.dox deleted +0 -0
deleted file mode 100644
index c98c75f..0000000
Documentation/board.dox deleted +0 -0
deleted file mode 100644
index e545709..0000000
Documentation/boards.dox deleted +0 -0
deleted file mode 100644
index 8d4fabb..0000000
Documentation/building.dox deleted +0 -0
deleted file mode 100644
index 527ca45..0000000
Documentation/commands.dox deleted +0 -0
deleted file mode 100644
index d8cfa6b..0000000
Documentation/developers_manual.dox deleted +0 -0
deleted file mode 100644
index 2f7d360..0000000
Documentation/first_steps.dox deleted +0 -0
deleted file mode 100644
index 17fdf37..0000000
Documentation/manual_org.dox deleted +0 -0
deleted file mode 100644
index 17238f0..0000000
Documentation/users_manual.dox deleted +0 -0
deleted file mode 100644
index ea47b18..0000000
Doxyfile deleted +0 -0
deleted file mode 100644
index 89151e3..0000000
Makefile +0 -10
index 746f412..e7e1679 100644
@@ -1117,16 +1117,6 @@ help:
 	@echo  'Execute "make" or "make all" to build all targets marked with [*] '
 	@echo  'For further info see the ./README file'
 
-# Generate doxygen docs
-# ---------------------------------------------------------------------------
-.PHONY += docs htmldocs
-
-docs : htmldocs
-
-htmldocs: Doxyfile.version
-	@echo  'Running doxygen with local Doxyfile'
-	$(Q)doxygen Doxyfile
-
 # Generate tags for editors
 # ---------------------------------------------------------------------------
 quiet_cmd_tags = GEN     $@
arch/architecture.dox deleted +0 -0
deleted file mode 100644
index 2d2cf05..0000000
arch/arm/boards/a9m2410/a9m2410.c +0 -68

77 lines not on this page · raw message

arch/arm/boards/a9m2440/a9m2440.c +0 -79

88 lines not on this page · raw message

arch/arm/boards/beagle/board.c +0 -31
index 1899b1d..4054960 100644
@@ -15,37 +15,6 @@
  *
  */
 
-/**
- * @file
- * @brief Beagle Specific Board Initialization routines
- */
-
-/**
- * @page ti_beagle Texas Instruments Beagle Board
- *
- * Beagle Board from Texas Instruments as described here:
- * http://www.beagleboard.org
- *
- * This board is based on OMAP3530.
- * More on OMAP3530 (including documentation can be found here):
- * http://focus.ti.com/docs/prod/folders/print/omap3530.html
- *
- * This file provides initialization in two stages:
- * @li boot time initialization - do basics required to get SDRAM working.
- * This is run from SRAM - so no case constructs and global vars can be used.
- * @li run time initialization - this is for the rest of the initializations
- * such as flash, uart etc.
- *
- * Boot time initialization includes:
- * @li SDRAM initialization.
- * @li Pin Muxing relevant for Beagle.
- *
- * Run time initialization includes
- * @li serial @ref serial_ns16550.c driver device definition
- *
- * Originally from arch/arm/boards/omap/board-sdp343x.c
- */
-
 #include <common.h>
 #include <console.h>
 #include <init.h>
arch/arm/boards/ccxmx51/ccxmx51.dox deleted +0 -0
deleted file mode 100644
index cc28e8d..0000000
arch/arm/boards/chumby_falconwing/falconwing.c +0 -138

141 lines not on this page · raw message

arch/arm/boards/edb93xx/edb93xx.dox deleted +0 -0
deleted file mode 100644
index 3964d55..0000000
arch/arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.dox deleted +0 -0
deleted file mode 100644
index 6c2bfed..0000000
arch/arm/boards/eukrea_cpuimx35/eukrea_cpuimx35.dox deleted +0 -0
deleted file mode 100644
index cbdf69d..0000000
arch/arm/boards/eukrea_cpuimx51/eukrea_cpuimx51.dox deleted +0 -0
deleted file mode 100644
index 0f35e17..0000000
arch/arm/boards/freescale-mx21-ads/imx21ads.dox deleted +0 -0
deleted file mode 100644
index 9f11ffa..0000000
arch/arm/boards/freescale-mx23-evk/mx23-evk.c +0 -32
index 1eae377..9f13fac 100644
@@ -144,35 +144,3 @@ static int mx23_evk_console_init(void)
 }
 
 console_initcall(mx23_evk_console_init);
-
-/** @page mx23_evk Freescale's i.MX23 evaluation kit
-
-This CPU card is based on an i.MX23 CPU. The card is shipped with:
-
-- 32 MiB synchronous dynamic RAM (mobile DDR type)
-- ENC28j60 based network (over SPI)
-
-Memory layout when @b barebox is running:
-
-- 0x40000000 start of SDRAM
-- 0x40000100 start of kernel's boot parameters
-  - below malloc area: stack area
-  - below barebox: malloc area
-- 0x41000000 start of @b barebox
-
-@section get_imx23evk_binary How to get the bootloader binary image:
-
-Using the default configuration:
-
-@verbatim
-make ARCH=arm imx23evk_defconfig
-@endverbatim
-
-Build the bootloader binary image:
-
-@verbatim
-make ARCH=arm CROSS_COMPILE=armv5compiler
-@endverbatim
-
-@note replace the armv5compiler with your ARM v5 cross compiler.
-*/
arch/arm/boards/freescale-mx27-ads/imx27ads.dox deleted +0 -0
deleted file mode 100644
index e14d8e3..0000000
arch/arm/boards/freescale-mx35-3ds/3stack.dox deleted +0 -0
deleted file mode 100644
index 15c5b6e..0000000
arch/arm/boards/freescale-mx51-babbage/mx51-pdk.dox deleted +0 -0
deleted file mode 100644
index d9ea823..0000000
arch/arm/boards/freescale-mx53-qsb/mx53-pdk.dox deleted +0 -0
deleted file mode 100644
index 3a2c84f..0000000
arch/arm/boards/freescale-mx53-smd/mx53-smd.dox deleted +0 -0
deleted file mode 100644
index 1960508..0000000
arch/arm/boards/friendlyarm-mini2440/mini2440.c +0 -159

168 lines not on this page · raw message

arch/arm/boards/guf-cupid/cupid.dox deleted +0 -0
deleted file mode 100644
index 45f0e0c..0000000
arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c +0 -59

62 lines not on this page · raw message

arch/arm/boards/karo-tx28/tx28.c +0 -52

55 lines not on this page · raw message

arch/arm/boards/karo-tx51/tx51.dox deleted +0 -0
deleted file mode 100644
index 08268e0..0000000
arch/arm/boards/module-mb7707/module-mb7707.dox deleted +0 -0
deleted file mode 100644
index c0dbc8a..0000000
arch/arm/boards/mx31moboard/mx31moboard.dox deleted +0 -0
deleted file mode 100644
index 41c8bbb..0000000
arch/arm/boards/netx/netx.dox deleted +0 -0
deleted file mode 100644
index e22c5e8..0000000
arch/arm/boards/omap343xdsp/board.c +0 -26
index 8329ace..1b1cb79 100644
@@ -15,32 +15,6 @@
  *
  */
 
-/**
- * @file
- * @brief SDP3430 Specific Board Initialization routines
- */
-
-/**
- * @page ti_SDP3430 Texas Instruments SDP3430
- *
- * SDP3430 from Texas Instruments as described here:
- * http://www.ti.com/omap3430_devplatform
- * This file provides initialization in two stages:
- * @li boot time initialization - do basics required to get SDRAM working.
- * This is run from SRAM - so no case constructs and global vars can be used.
- * @li run time initialization - this is for the rest of the initializations
- * such as flash, uart etc.
- *
- * Boot time initialization includes:
- * @li SDRAM initialization.
- * @li Pin Muxing relevant for SDP3430.
- *
- * Run time initialization includes
- * @li serial @ref serial_ns16550.c driver device definition
- *
- * Originally from http://linux.omap.com/pub/bootloader/3430sdp/u-boot-v1.tar.gz
- */
-
 #include <common.h>
 #include <console.h>
 #include <init.h>
arch/arm/boards/phytec-phycard-imx27/pca100.dox deleted +0 -0
deleted file mode 100644
index 9b17674..0000000
arch/arm/boards/phytec-phycard-omap3/pca-a-l1.dox deleted +0 -0
deleted file mode 100644
index d93c574..0000000
arch/arm/boards/phytec-phycore-imx27/pcm038.dox deleted +0 -0
deleted file mode 100644
index 85177d2..0000000
arch/arm/boards/phytec-phycore-imx31/pcm037.dox deleted +0 -0
deleted file mode 100644
index b2afdd6..0000000
arch/arm/boards/phytec-phycore-imx35/pcm043.dox deleted +0 -0
deleted file mode 100644
index c6715ff..0000000
arch/arm/boards/qil-a926x/qil-a9260.dox deleted +0 -0
deleted file mode 100644
index da5c197..0000000
arch/arm/boards/scb9328/scb9328.dox deleted +0 -0
deleted file mode 100644
index 75bc7c8..0000000
arch/arm/boards/tny-a926x/tny-a9263.dox deleted +0 -0
deleted file mode 100644
index 68fcdd1..0000000
arch/arm/boards/tny-a926x/tny-a9g20-lpw.dox deleted +0 -0
deleted file mode 100644
index e002107..0000000
arch/arm/boards/toshiba-ac100/toshiba-ac100.dox deleted +0 -0
deleted file mode 100644
index 7c50f3c..0000000
arch/arm/boards/usb-a926x/usb-a9263.dox deleted +0 -0
deleted file mode 100644
index 380a8e2..0000000
arch/arm/boards/usb-a926x/usb-a9g20-lpw.dox deleted +0 -0
deleted file mode 100644
index 024a3ce..0000000
arch/arm/boards/virt2real/virt2real.dox deleted +0 -0
deleted file mode 100644
index fc38321..0000000
arch/arm/mach-arm.dox deleted +0 -0
deleted file mode 100644
index 1d2de48..0000000
arch/arm/mach-davinci/mach-davinci.dox deleted +0 -0
deleted file mode 100644
index 789eacc..0000000
arch/arm/mach-omap/arch-omap.dox deleted +0 -0
deleted file mode 100644
index 8c2b47d..0000000
arch/arm/mach-samsung/lowlevel-s3c24x0.S +0 -8
index e2efd86..52079ff 100644
@@ -31,14 +31,6 @@ s3c24x0_disable_wd:
 	str r1, [r0]
 	mov pc, lr
 
-/**
-@page dev_s3c24xx_wd_handling Watchdog handling
-
-The watchdog must be disabled very early, because if it resets the system
-it is still active and will continue to reset the system. So, call this
-routine very early in your board_init_lowlevel routine.
-*/
-
 /*
  * S3C2410 PLL configuration
  * -------------------------
arch/arm/mach-samsung/mem-s3c24x0.c +0 -57

60 lines not on this page · raw message

arch/blackfin/boards/ipe337/ipe337.dox deleted +0 -0
deleted file mode 100644
index 4d7925a..0000000
arch/blackfin/mach-bf.dox deleted +0 -0
deleted file mode 100644
index 4b3a3c1..0000000
arch/mips/boards/dlink-dir-320/dlink-dir-320.dox deleted +0 -0
deleted file mode 100644
index d0f5869..0000000
arch/mips/boards/loongson-ls1b/loongson_ls1b.dox deleted +0 -0
deleted file mode 100644
index f96a3f8..0000000
arch/mips/boards/qemu-malta/qemu-malta.dox deleted +0 -0
deleted file mode 100644
index bf10244..0000000
arch/mips/boards/ritmix-rzx50/ritmix-rzx50.dox deleted +0 -0
deleted file mode 100644
index 5ec8194..0000000
arch/mips/boards/tplink-mr3020/tplink-mr3020.dox deleted +0 -0
deleted file mode 100644
index 16fe465..0000000
arch/mips/mach-bcm47xx/mach-bcm47xx.dox deleted +0 -0
deleted file mode 100644
index 04ccf03..0000000
arch/mips/mach-loongson/mach-loongson.dox deleted +0 -0
deleted file mode 100644
index 7838ce5..0000000
arch/mips/mach-malta/mach-malta.dox deleted +0 -0
deleted file mode 100644
index 85351e1..0000000
arch/mips/mach-mips.dox deleted +0 -0
deleted file mode 100644
index 1002b16..0000000
arch/mips/mach-xburst/mach-xburst.dox deleted +0 -0
deleted file mode 100644
index 052c05e..0000000
arch/ppc/boards/pcm030/pcm030.dox deleted +0 -0
deleted file mode 100644
index b9ada83..0000000
arch/ppc/mach-ppc.dox deleted +0 -0
deleted file mode 100644
index f7191b9..0000000
arch/sandbox/os/common.c +0 -55

64 lines not on this page · raw message

arch/x86/boards/x86_generic/generic_pc.c +0 -34
index 5560efc..482889f 100644
@@ -14,11 +14,6 @@
  *
  */
 
-/**
- * @file
- * @brief Generic PC support to let barebox acting as a boot loader
- */
-
 #include <common.h>
 #include <types.h>
 #include <driver.h>
@@ -34,32 +29,3 @@ static int devices_init(void)
 	return 0;
 }
 device_initcall(devices_init);
-
-/** @page generic_pc Generic PC based bootloader
-
-This platform acts as a generic PC based bootloader. It depends on at least
-one boot media that is connected locally (no network boot) and can be
-handled by the regular BIOS (any kind of hard disks for example).
-
-The created @a barebox image can be used to boot a standard x86 bzImage
-Linux kernel.
-
-Refer section @ref x86_bootloader_preparations how to do so.
-
-How to get the binary image:
-
-Using the default configuration:
-
-@code
-make ARCH=x86 generic_defconfig
-@endcode
-
-Build the binary image:
-
-@code
-make ARCH=x86 CROSS_COMPILE=x86compiler
-@endcode
-
-@note replace the 'x86compiler' with your x86 (cross) compiler.
-
-*/
arch/x86/boot/bioscall.S +0 -4
index 84d2577..e600729 100644
@@ -13,8 +13,6 @@
  * touching registers they shouldn't be.
  */
 
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
-
 	.file	"bioscall.S"
 	.code16
 	.section .boot.text.intcall, "ax"
@@ -95,5 +93,3 @@ die:
         hlt
         jmp     die
 	.size	die, .-die
-
-#endif /* DOXYGEN_SHOULD_SKIP_THIS */
arch/x86/lib/bios_disk.S +0 -3
index 121f440..cce33e6 100644
@@ -26,7 +26,6 @@
  * space below 0x10000
  */
 
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
 /*
  *   int bios_disk_rw_int13_extensions (int ah, int drive, void *dap)
  *
@@ -69,5 +68,3 @@ bios_disk_rw_int13_extensions:
 	popl %ebp
 
 	ret
-
-#endif
arch/x86/lib/linux_start.S +0 -3
index f74e4e9..b9489b8 100644
@@ -30,7 +30,6 @@
  *   void bios_start_linux(unsigned segment)
  *
  */
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
 
 	.section .boot.text.bios_start_linux, "ax"
 	.code32
@@ -67,5 +66,3 @@ setup_seg:
 	.word	0
 
 	.code32
-
-#endif
arch/x86/mach-x86.dox deleted +0 -0
deleted file mode 100644
index 661e905..0000000
commands/bootm.c +0 -17
index d6625df..617acd6 100644
@@ -194,20 +194,3 @@ static int binfmt_uimage_init(void)
 	return binfmt_register(&binfmt_uimage_hook);
 }
 fs_initcall(binfmt_uimage_init);
-
-/**
- * @file
- * @brief Boot support for Linux
- */
-
-/**
- * @page boot_preparation Preparing for Boot
- *
- * This chapter describes what's to be done to forward the control from
- * barebox to Linux. This part describes the generic part, below you can find
- * the architecture specific part.
- *
- * - @subpage arm_boot_preparation
- * - @subpage ppc_boot_preparation
- * - @subpage x86_boot_preparation
- */
commands/cp.c +0 -14
index 8ecde91..1a56754 100644
@@ -17,10 +17,6 @@
  *
  */
 
-/**
- * @file
- * @brief cp: copy file command
- */
 #include <common.h>
 #include <command.h>
 #include <xfuncs.h>
@@ -95,15 +91,6 @@ BAREBOX_CMD_HELP_TEXT("Options:")
 BAREBOX_CMD_HELP_OPT ("-v", "verbose")
 BAREBOX_CMD_HELP_END
 
-/**
- * @page cp_command
-This command operates on files.
-
-If you want to copy between memory blocks, use 'memcpy'.
-
-\todo What does this mean? Add examples.
- */
-
 BAREBOX_CMD_START(cp)
 	.cmd		= do_cp,
 	BAREBOX_CMD_DESC("copy files")
@@ -111,4 +98,3 @@ BAREBOX_CMD_START(cp)
 	BAREBOX_CMD_GROUP(CMD_GRP_FILE)
 	BAREBOX_CMD_HELP(cmd_cp_help)
 BAREBOX_CMD_END
-
commands/devinfo.c +0 -28
index 052a4a0..e61aaa2 100644
@@ -118,34 +118,6 @@ static int do_devinfo(int argc, char *argv[])
 	return 0;
 }
 
-
-/**
- * @page devinfo_command
-
-If called without arguments, devinfo shows a summary of the known
-devices and drivers.
-
-If called with a device path being the argument, devinfo shows more
-default information about this device and its parameters.
-
-Example from an MPC5200 based system:
-
-@verbatim
-  barebox:/ devinfo /dev/eth0
-  base  : 0x1002b000
-  size  : 0x00000000
-  driver: fec_mpc5xxx
-
-  no info available for eth0
-  Parameters:
-      ipaddr = 192.168.23.197
-     ethaddr = 80:81:82:83:84:86
-     gateway = 192.168.23.1
-     netmask = 255.255.255.0
-    serverip = 192.168.23.2
-@endverbatim
- */
-
 BAREBOX_CMD_HELP_START(devinfo)
 BAREBOX_CMD_HELP_TEXT("If called without arguments, devinfo shows a summary of the known")
 BAREBOX_CMD_HELP_TEXT("devices.")
commands/dfu.c +0 -10
index b71cc16..3546252 100644
@@ -186,16 +186,6 @@ BAREBOX_CMD_HELP_OPT ("-V ID",  "vendor id")
 BAREBOX_CMD_HELP_OPT ("-P ID",  "product id")
 BAREBOX_CMD_HELP_END
 
-/**
- * @page dfu_command
-\<description> has the following form:
-device1(name1)[sr],device2(name2)[sr]
-'s' means 'safe mode' (download the complete image before flashing) and
-'r' that readback of the firmware is allowed.
-
-\todo Add example, how to use dfu from a Linux or Windows host.
- */
-
 BAREBOX_CMD_START(dfu)
 	.cmd		= do_dfu,
 	BAREBOX_CMD_DESC("device firmware update")
commands/echo.c +0 -8
index 9b3e21e..7d47ab7 100644
@@ -113,13 +113,6 @@ BAREBOX_CMD_HELP_OPT ("-a FILE", "append to FILE instead of using stdout")
 BAREBOX_CMD_HELP_OPT ("-o FILE", "overwrite FILE instead of using stdout")
 BAREBOX_CMD_HELP_END
 
-/**
- * @page echo_command
-
-\todo Add documentation for -a, -o and -e.
-
- */
-
 BAREBOX_CMD_START(echo)
 	.cmd		= do_echo,
 	BAREBOX_CMD_DESC("echo args to console")
@@ -127,4 +120,3 @@ BAREBOX_CMD_START(echo)
 	BAREBOX_CMD_GROUP(CMD_GRP_CONSOLE)
 	BAREBOX_CMD_HELP(cmd_echo_help)
 BAREBOX_CMD_END
-
commands/edit.c +0 -16
index f6b9d40..5a2da7d 100644
@@ -15,11 +15,6 @@
  *
  */
 
-/**
- * @file
- * @brief A tiny editor implementation
- */
-
 #include <common.h>
 #include <command.h>
 #include <malloc.h>
@@ -550,16 +545,6 @@ BAREBOX_CMD_HELP_START(edit)
 BAREBOX_CMD_HELP_TEXT("Use cursor keys, Ctrl-C to exit and Ctrl-D to exit-with-save.")
 BAREBOX_CMD_HELP_END
 
-/**
- * @page edit_command
-
-<p> Barebox contains a small text editor which can be used to edit
-config files in /env. You can move the cursor around with the arrow keys
-and type characters. </p>
-
-If called as sedit, the editor uses ansi codes to scroll the screen.
- */
-
 BAREBOX_CMD_START(edit)
 	.cmd		= do_edit,
 	.aliases	= edit_aliases,
@@ -568,4 +553,3 @@ BAREBOX_CMD_START(edit)
 	BAREBOX_CMD_GROUP(CMD_GRP_CONSOLE)
 	BAREBOX_CMD_HELP(cmd_edit_help)
 BAREBOX_CMD_END
-
commands/flash.c +0 -52

73 lines not on this page · raw message

commands/gpio.c +0 -62

65 lines not on this page · raw message

commands/led.c +0 -9
index 62c72a3..354f74d 100644
@@ -70,15 +70,6 @@ static int do_led(int argc, char *argv[])
 	return 0;
 }
 
-/**
- * @page led_command
-
-The exact meaning of <value> is unspecified. It can be a color in case of rgb
-LEDs or a brightness if this is controllable. In most cases only 1 for enabled
-is allowed.
-
-*/
-
 BAREBOX_CMD_HELP_START(led)
 BAREBOX_CMD_HELP_TEXT("Control the value of a LED. The exact meaning of VALUE is unspecified,")
 BAREBOX_CMD_HELP_TEXT("it can be a brightness, or a color. Most often a value of '1' means on")
commands/linux16.c +0 -66

75 lines not on this page · raw message

commands/loadenv.c +0 -9
index ba92613..8b15af4 100644
@@ -112,15 +112,6 @@ BAREBOX_CMD_HELP_OPT("-s", "scrub old environment")
 BAREBOX_CMD_HELP_OPT("-d", "load default environment")
 BAREBOX_CMD_HELP_END
 
-/**
- * @page loadenv_command
-
-ENVFS can only handle files, directories are skipped silently.
-
-\todo This needs proper documentation. What is ENVFS, why is it FS etc. Explain the concepts.
-
- */
-
 BAREBOX_CMD_START(loadenv)
 	.cmd		= do_loadenv,
 	BAREBOX_CMD_DESC("load environment from ENVFS")
commands/miitool.c +0 -6
index b08be9c..40e34e9 100644
@@ -293,12 +293,6 @@ BAREBOX_CMD_HELP_TEXT("Options:")
 BAREBOX_CMD_HELP_OPT("-v", "increase verbosity")
 BAREBOX_CMD_HELP_END
 
-/**
- * @page miitool_command
-This utility checks or sets the status of a network interface's
-Media Independent Interface (MII) unit. Most fast ethernet
-adapters use an MII to autonegotiate link speed and duplex setting.
- */
 BAREBOX_CMD_START(miitool)
 	.cmd		= do_miitool,
 	BAREBOX_CMD_DESC("view media-independent interface status")
commands/mount.c +0 -36
index 7aa155e..939e9bc 100644
@@ -17,11 +17,6 @@
  *
  */
 
-/**
- * @file
- * @brief Filesystem mounting support
- */
-
 #include <common.h>
 #include <command.h>
 #include <fs.h>
@@ -130,37 +125,6 @@ BAREBOX_CMD_HELP_OPT("-o OPTIONS", "set file system OPTIONS")
 BAREBOX_CMD_HELP_OPT("-v\t", "verbose")
 BAREBOX_CMD_HELP_END
 
-/**
- * @page mount_command
-
-<ul>
-<li>\<device> can be a device in /dev or some arbitrary string if no
-    device is needed for this driver, i.e. on ramfs. </li>
-<li>\<fstype> is the filesystem driver. A list of available drivers can
-    be shown with the \ref devinfo_command command.</li>
-<li>\<mountpoint> must be an empty directory, one level below the /
-    directory.</li>
-</ul>
-
- */
-
-/**
- * @page how_mount_works How mount works in barebox
-
-Mounting a filesystem ontop of a device is working like devices and
-drivers are finding together.
-
-The mount command creates a new device with the filesystem name as the
-driver for this "device". So the framework is able to merge both parts
-together.
-
-By the way: With this feature its impossible to accidentely remove
-partitions in use. A partition is internally also a device. If its
-mounted it will be marked as busy, so an delpart command fails, until
-the filesystem has been unmounted.
-
- */
-
 BAREBOX_CMD_START(mount)
 	.cmd		= do_mount,
 	BAREBOX_CMD_DESC("mount a filesystem or list mounted filesystems")
commands/partition.c +0 -24
index 51988df..ef6d9c9 100644
@@ -180,18 +180,6 @@ BAREBOX_CMD_HELP_TEXT("The size of the last partition can be specified as '-' fo
 BAREBOX_CMD_HELP_TEXT("space on the device.")
 BAREBOX_CMD_HELP_END
 
-/**
- * @page addpart_command
-
-The size and the offset can be given in decimal (without any prefix) and
-in hex (prefixed with 0x). Both can have an optional suffix K, M or G.
-The size of the last partition can be specified as '-' for the remaining
-space on the device.  This format is the same as used by the Linux
-kernel or cmdline mtd partitions.
-
-\todo This command has to be reworked and will probably change it's API.
-*/
-
 BAREBOX_CMD_START(addpart)
 	.cmd = do_addpart,
 	BAREBOX_CMD_DESC("add a partition description to a device")
@@ -219,17 +207,6 @@ BAREBOX_CMD_HELP_START(delpart)
 BAREBOX_CMD_HELP_TEXT("Delete partitions previously added to a device with addpart.")
 BAREBOX_CMD_HELP_END
 
-/**
- * @page delpart_command
-
-Partitions are created by adding their description with the addpart
-command. If you want to get rid of a partition again, use delpart. The
-argument list is taken as a list of partitions to be deleted.
-
-\todo Add an example
-
- */
-
 BAREBOX_CMD_START(delpart)
 	.cmd = do_delpart,
 	BAREBOX_CMD_DESC("delete partition(s)")
@@ -238,4 +215,3 @@ BAREBOX_CMD_START(delpart)
 	BAREBOX_CMD_HELP(cmd_delpart_help)
 	BAREBOX_CMD_COMPLETE(devfs_partition_complete)
 BAREBOX_CMD_END
-
commands/printenv.c +0 -14
index 83353ae..161c214 100644
@@ -15,11 +15,6 @@
  *
  */
 
-/**
- * @file
- * @brief printenv: Print out environment variables
- */
-
 #include <common.h>
 #include <command.h>
 #include <errno.h>
@@ -62,15 +57,6 @@ BAREBOX_CMD_HELP_TEXT("variable to the terminal. If no argument is specified, al
 BAREBOX_CMD_HELP_TEXT("printed.")
 BAREBOX_CMD_HELP_END
 
-/**
- * @page printenv_command
-
-<p>If an argument is given, printenv prints the content of an environment
-variable to the terminal. If no argument is specified, all variables are
-printed.</p>
-
- */
-
 BAREBOX_CMD_START(printenv)
 	.cmd		= do_printenv,
 	BAREBOX_CMD_DESC("print value of environment variables")
commands/saveenv.c +0 -18
index d629a94..54b6fa1 100644
@@ -15,11 +15,6 @@
  *
  */
 
-/**
- * @file
- * @brief saveenv: Make the environment persistent
- */
-
 #include <common.h>
 #include <command.h>
 #include <errno.h>
@@ -64,16 +59,3 @@ BAREBOX_CMD_START(saveenv)
 	BAREBOX_CMD_GROUP(CMD_GRP_ENV)
 	BAREBOX_CMD_HELP(cmd_saveenv_help)
 BAREBOX_CMD_END
-
-/**
- * @page saveenv_command
-
-<p>\<envfs> is usually a block in flash but can be any other file. If
-omitted, \<directory> defaults to /env and \<envfs> defaults to
-/dev/env0. Note that envfs can only handle files, directories are being
-skipped silently.</p>
-
-\todo What does 'block in flash' mean? Add example.
-
- */
-
commands/setenv.c +0 -13
index 9e21cce..af4dd29 100644
@@ -15,11 +15,6 @@
  *
  */
 
-/**
- * @file
- * @brief setenv: Set an environment variables
- */
-
 #include <common.h>
 #include <command.h>
 #include <errno.h>
@@ -40,14 +35,6 @@ BAREBOX_CMD_HELP_TEXT("Set environment variable NAME to VALUE.")
 BAREBOX_CMD_HELP_TEXT("If VALUE is ommitted, then the variable is deleted.")
 BAREBOX_CMD_HELP_END
 
-/**
- * @page setenv_command
-
-<p> This command is only available if the simple command line parser is
-in use. Within the hush shell, \c setenv is not required.</p>
-
- */
-
 BAREBOX_CMD_START(setenv)
 	.cmd		= do_setenv,
 	BAREBOX_CMD_DESC("set environment variable")
commands/splash.c +0 -11
index c61a1d7..5d0c0ad 100644
@@ -89,17 +89,6 @@ BAREBOX_CMD_HELP_OPT ("-b COLOR", "background color in 0xttrrggbb")
 BAREBOX_CMD_HELP_OPT ("-o\t",       "render offscreen")
 BAREBOX_CMD_HELP_END
 
-/**
- * @page bmp_command
-
-This command displays a graphics in the bitmap (.bmp) format on the
-framebuffer. Currently the bmp command supports images with 8 and 24 bit
-color depth.
-
-\todo What does the -o (offscreen) option do?
-
- */
-
 BAREBOX_CMD_START(splash)
 	.cmd		= do_splash,
 	BAREBOX_CMD_DESC("display a BMP image")
commands/usbserial.c +0 -4
index 1c26246..e4c2f18 100644
@@ -92,10 +92,6 @@ BAREBOX_CMD_HELP_OPT ("-s",   "Generic Serial")
 BAREBOX_CMD_HELP_OPT ("-d",   "Disable the serial gadget")
 BAREBOX_CMD_HELP_END
 
-/**
- * @page usbserial_command
- */
-
 BAREBOX_CMD_START(usbserial)
 	.cmd		= do_usbserial,
 	BAREBOX_CMD_DESC("serial gadget enable/disable")
common/kallsyms.c +0 -4
index 121b77c..53e22cd 100644
@@ -3,8 +3,6 @@
 #include <kallsyms.h>
 #include <asm/sections.h>
 
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
-
 /* These will be re-linked against their real values during the second link stage */
 extern const unsigned long kallsyms_addresses[] __attribute__((weak));
 extern const unsigned long kallsyms_num_syms __attribute__((weak));
@@ -15,8 +13,6 @@ extern const u16 kallsyms_token_index[] __attribute__((weak));
 
 extern const unsigned long kallsyms_markers[] __attribute__((weak));
 
-#endif /* DOXYGEN_SHOULD_SKIP_THIS */
-
 static inline int is_kernel_text(unsigned long addr)
 {
 	if ((addr >= (unsigned long)_stext && addr <= (unsigned long)_etext))
include/command.h +0 -4
index 347ad2f..5d5bf53 100644
@@ -90,8 +90,6 @@ void barebox_cmd_usage(struct command *cmdtp);
 
 #endif	/* __ASSEMBLY__ */
 
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
-
 #define Struct_Section  __attribute__ ((unused,section (".barebox_cmd")))
 
 #define BAREBOX_CMD_START(_name)							\
@@ -127,8 +125,6 @@ static const __maybe_unused char cmd_##_name##_help[] =
 
 #define BAREBOX_CMD_OPTS(text)	.opts = text,
 
-#endif /* DOXYGEN_SHOULD_SKIP_THIS */
-
 int register_command(struct command *);
 
 #endif	/* __COMMAND_H */
include/driver.h +0 -26
index ffc0cba..53e1000 100644
@@ -28,32 +28,6 @@
 
 #include <param.h>
 
-/**
- * @file
- * @brief Main description of the device/driver model
- */
-
-/** @page driver_model Main description of the device/driver model
- *
- * We follow a rather simplistic driver model here. There is a
- * @code struct device_d @endcode
- * which describes a particular device present in the system.
- *
- * On the other side a
- * @code struct driver_d @endcode
- * represents a driver present in the system.
- *
- * Both structs find together via the members 'type' (int) and 'name' (char *).
- * If both members match, the driver's probe function is called with the
- * struct device_d as argument.
- *
- * People familiar with the Linux platform bus will recognize this behaviour
- * and in fact many things were stolen from there. Some selected members of the
- * structs will be described in this document.
- */
-
-/*@{*/	/* do not delete, doxygen relevant */
-
 struct filep;
 struct bus_type;
 
include/i2c/i2c.h +0 -4
index f89fefb..a107f5e 100644
@@ -19,8 +19,6 @@
 #include <driver.h>
 #include <linux/types.h>
 
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
-
 /*
  * struct i2c_platform_data - structure of platform data for MXC I2C driver
  * @param	bitrate	Bus speed measured in Hz
@@ -153,8 +151,6 @@ extern int i2c_master_recv(struct i2c_client *client, char *buf, int count);
 extern int i2c_read_reg(struct i2c_client *client, u32 addr, u8 *buf, u16 count);
 extern int i2c_write_reg(struct i2c_client *client, u32 addr, const u8 *buf, u16 count);
 
-#endif /* DOXYGEN_SHOULD_SKIP_THIS */
-
 extern struct bus_type i2c_bus;
 
 static inline int i2c_driver_register(struct driver_d *drv)
include/linux/mtd/mtd-abi.h +0 -4
index c1ba55b..c46605d 100644
@@ -7,8 +7,6 @@
 #ifndef __MTD_ABI_H__
 #define __MTD_ABI_H__
 
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
-
 #include <asm-generic/div64.h>
 
 struct erase_info_user {
@@ -183,6 +181,4 @@ static inline uint32_t mtd_user_div_by_eb(uint64_t sz,
 	return sz;
 }
 
-#endif /* DOXYGEN_SHOULD_SKIP_THIS */
-
 #endif /* __MTD_ABI_H__ */
include/linux/mtd/mtd.h +0 -4
index 5f02aee..1d33592 100644
@@ -9,8 +9,6 @@
 #ifndef __MTD_MTD_H__
 #define __MTD_MTD_H__
 
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
-
 #include <driver.h>
 #include <errno.h>
 #include <linux/types.h>
@@ -325,8 +323,6 @@ int mtd_all_ff(const void *buf, unsigned int len);
 
 #endif /* CONFIG_MTD_DEBUG */
 
-#endif /* DOXYGEN_SHOULD_SKIP_THIS */
-
 static inline int mtd_is_bitflip(int err) {
 	return err == -EUCLEAN;
 }
include/spi/spi.h +0 -4
index b4358a8..620e5e5 100644
@@ -1,8 +1,6 @@
 #ifndef __INCLUDE_SPI_H
 #define __INCLUDE_SPI_H
 
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
-
 #include <driver.h>
 #include <linux/string.h>
 
@@ -431,8 +429,6 @@ static inline ssize_t spi_w8r8(struct spi_device *spi, u8 cmd)
 	return (status < 0) ? status : result;
 }
 
-#endif /* DOXYGEN_SHOULD_SKIP_THIS */
-
 extern struct bus_type spi_bus;
 
 struct spi_master *spi_get_master(int bus);
include/usb/ch9.h +0 -4
index adbe533..9322363 100644
@@ -33,8 +33,6 @@
 #ifndef __LINUX_USB_CH9_H
 #define __LINUX_USB_CH9_H
 
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
-
 #include <linux/types.h>	/* __u8 etc */
 
 /*-------------------------------------------------------------------------*/
@@ -798,6 +796,4 @@ enum usb_device_state {
 	 */
 };
 
-#endif /* DOXYGEN_SHOULD_SKIP_THIS */
-
 #endif /* __LINUX_USB_CH9_H */
include/usb/composite.h +0 -4
index 798fa11..379927a 100644
@@ -17,8 +17,6 @@
 #ifndef	__LINUX_USB_COMPOSITE_H
 #define	__LINUX_USB_COMPOSITE_H
 
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
-
 /*
  * This framework is an optional layer on top of the USB Gadget interface,
  * making it easier to build (a) Composite devices, supporting multiple
@@ -343,6 +341,4 @@ extern int usb_string_id(struct usb_composite_dev *c);
 #define WARNING(d, fmt, args...)
 #define INFO(d, fmt, args...)
 
-#endif /* DOXYGEN_SHOULD_SKIP_THIS */
-
 #endif	/* __LINUX_USB_COMPOSITE_H */
include/usb/gadget.h +0 -4
index ff1509c..798b51b 100644
@@ -15,8 +15,6 @@
 #ifndef __LINUX_USB_GADGET_H
 #define __LINUX_USB_GADGET_H
 
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
-
 #include <usb/ch9.h>
 #include <malloc.h>
 #include <errno.h>
@@ -899,6 +897,4 @@ extern struct usb_ep *usb_ep_autoconfig(struct usb_gadget *,
 
 extern void usb_ep_autoconfig_reset(struct usb_gadget *);
 
-#endif /* DOXYGEN_SHOULD_SKIP_THIS */
-
 #endif /* __LINUX_USB_GADGET_H */
include/usb/usb.h +0 -4
index 1a369d2..4877e32 100644
@@ -22,8 +22,6 @@
 #ifndef _USB_H_
 #define _USB_H_
 
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
-
 #include <driver.h>
 #include <usb/usb_defs.h>
 #include <asm/byteorder.h>
@@ -516,8 +514,6 @@ struct usb_device_id {
 #define USB_CTRL_SET_TIMEOUT   5000
 #define USB_CTRL_GET_TIMEOUT   5000
 
-#endif /* DOXYGEN_SHOULD_SKIP_THIS */
-
 enum usb_dr_mode of_usb_get_dr_mode(struct device_node *np,
 		const char *propname);
 
net/netconsole.c +0 -28
index 86a68e1..021820b 100644
@@ -32,11 +32,6 @@
 #include <init.h>
 #include <linux/err.h>
 
-/**
- * @file
- * @brief Network console support
- */
-
 struct nc_priv {
 	struct console_device cdev;
 	struct kfifo *fifo;
@@ -169,26 +164,3 @@ static int netconsole_init(void)
 }
 
 device_initcall(netconsole_init);
-
-/** @page net_netconsole Network console
-
-@section net_netconsole Using an UDP based network console
-
-If enabled barebox supports a console via udp networking. There is only
-one network console supported registered during init time. It is deactivated
-by default because it opens great security holes, so use with care.
-
-To use the network console you have to configure the remote ip and the local
-and remote ports. Assuming the network console is registered as cs1, it can be
-configured with:
-
-@code
-cs1.ip=<remotehost>
-cs1.port=<port>
-cs1.active=ioe
-@endcode
-
-On the remote host call scripts/netconsole with bareboxes ip and port as
-parameters. port is initialized to 6666 by default.
-
-*/
scripts/doxy_filter.awk deleted +0 -0
deleted file mode 100644
index 5ec0406..0000000
Signature · 1 line
2.0.0

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

author maintainer
#7 lore raw

PATCH 7/7 Documentation: Add new sphinxs docs

In reply to Sascha Hauer

This is a rewrite of the Documentation in reStructuredText format using Sphinx as build system, see http://sphinx-doc.org/.

The documentation is built into static html pages with 'make docs'. The pages can be found under Documentation/html after building.

---
 Documentation/.gitignore                           |   1 +
 Documentation/boards.rst                           |  10 +
 Documentation/boards/cirrus-logic.rst              |   9 +
 .../boards/edb9xxx/cirrus_logic_edb9301.rst        |  10 +
 .../boards/edb9xxx/cirrus_logic_edb9302.rst        |  10 +
 .../boards/edb9xxx/cirrus_logic_edb9302a.rst       |  10 +
 .../boards/edb9xxx/cirrus_logic_edb9307.rst        |  13 +
 .../boards/edb9xxx/cirrus_logic_edb9307a.rst       |  13 +
 .../boards/edb9xxx/cirrus_logic_edb9312.rst        |  13 +
 .../boards/edb9xxx/cirrus_logic_edb9315.rst        |  13 +
 .../boards/edb9xxx/cirrus_logic_edb9315a.rst       |  12 +
 Documentation/boards/imx.rst                       | 103 ++++++++
 Documentation/boards/imx/Garz-Fricke-Cupid.rst     |   9 +
 Documentation/boards/imx/Phytec-phyCORE-i.MX31.rst |  38 +++
 Documentation/boards/imx/eukrea_cpuimx27.rst       |  11 +
 Documentation/boards/imx/synertronixx_scb9328.rst  |  12 +
 Documentation/boards/mxs/Chumby-Falconwing.rst     |  46 ++++
 Documentation/boards/mxs/Freescale-i.MX23-evk.rst  |  28 +++
 Documentation/boards/mxs/KaRo-TX28.rst             |  48 ++++
 Documentation/boards/omap.rst                      |  40 +++
 Documentation/boards/s3c/Digi-a9m2440.rst          |  67 ++++++
 Documentation/boards/samsung.rst                   |   9 +
 Documentation/boards/sandbox.rst                   |  67 ++++++
 Documentation/boards/tegra.rst                     | 102 ++++++++
 Documentation/boards/x86.rst                       | 128 ++++++++++
 Documentation/commands.rst                         |   9 +
 Documentation/conf.py                              | 262 ++++++++++++++++++++
 Documentation/devicetree/bindings/README           |   6 +
 Documentation/devicetree/bindings/leds/common.rst  |   9 +
 .../devicetree/bindings/misc/fsl,imx-iim.rst       |  21 ++
 .../devicetree/bindings/misc/fsl,imx-ocotp.rst     |  21 ++
 Documentation/devicetree/index.rst                 |  13 +
 Documentation/download.rst                         |  16 ++
 Documentation/filesystems.rst                      |  10 +
 Documentation/filesystems/fat.rst                  |  15 ++
 Documentation/filesystems/nfs.rst                  |  12 +
 Documentation/filesystems/ramfs.rst                |  10 +
 Documentation/filesystems/tftp.rst                 |  16 ++
 Documentation/gen_commands.py                      | 164 +++++++++++++
 Documentation/glossary.rst                         |  18 ++
 Documentation/index.rst                            |  26 ++
 Documentation/user/automount.rst                   |  34 +++
 Documentation/user/barebox.rst                     | 178 ++++++++++++++
 Documentation/user/booting-linux.rst               | 267 +++++++++++++++++++++
 Documentation/user/defaultenv-2.rst                | 113 +++++++++
 Documentation/user/devicetree.rst                  |  84 +++++++
 Documentation/user/driver-model.rst                |  91 +++++++
 Documentation/user/framebuffer.rst                 |  43 ++++
 Documentation/user/hush.rst                        |  52 ++++
 Documentation/user/introduction.rst                |  27 +++
 Documentation/user/memory-areas.rst                |  27 +++
 Documentation/user/multi-image.rst                 |  54 +++++
 Documentation/user/networking.rst                  |  81 +++++++
 Documentation/user/pbl.rst                         |  31 +++
 Documentation/user/system-setup.rst                |  64 +++++
 Documentation/user/ubi.rst                         | 138 +++++++++++
 Documentation/user/updating.rst                    |  29 +++
 Documentation/user/usb.rst                         |  65 +++++
 Documentation/user/user-manual.rst                 |  33 +++
 Documentation/user/variables.rst                   |  49 ++++
 Makefile                                           |  11 +-
 61 files changed, 2919 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/boards.rst
 create mode 100644 Documentation/boards/cirrus-logic.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9301.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9302.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9302a.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9307.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9307a.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9312.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9315.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9315a.rst
 create mode 100644 Documentation/boards/imx.rst
 create mode 100644 Documentation/boards/imx/Garz-Fricke-Cupid.rst
 create mode 100644 Documentation/boards/imx/Phytec-phyCORE-i.MX31.rst
 create mode 100644 Documentation/boards/imx/eukrea_cpuimx27.rst
 create mode 100644 Documentation/boards/imx/synertronixx_scb9328.rst
 create mode 100644 Documentation/boards/mxs/Chumby-Falconwing.rst
 create mode 100644 Documentation/boards/mxs/Freescale-i.MX23-evk.rst
 create mode 100644 Documentation/boards/mxs/KaRo-TX28.rst
 create mode 100644 Documentation/boards/omap.rst
 create mode 100644 Documentation/boards/s3c/Digi-a9m2440.rst
 create mode 100644 Documentation/boards/samsung.rst
 create mode 100644 Documentation/boards/sandbox.rst
 create mode 100644 Documentation/boards/tegra.rst
 create mode 100644 Documentation/boards/x86.rst
 create mode 100644 Documentation/commands.rst
 create mode 100644 Documentation/conf.py
 create mode 100644 Documentation/devicetree/bindings/README
 create mode 100644 Documentation/devicetree/bindings/leds/common.rst
 create mode 100644 Documentation/devicetree/bindings/misc/fsl,imx-iim.rst
 create mode 100644 Documentation/devicetree/bindings/misc/fsl,imx-ocotp.rst
 create mode 100644 Documentation/devicetree/index.rst
 create mode 100644 Documentation/download.rst
 create mode 100644 Documentation/filesystems.rst
 create mode 100644 Documentation/filesystems/fat.rst
 create mode 100644 Documentation/filesystems/nfs.rst
 create mode 100644 Documentation/filesystems/ramfs.rst
 create mode 100644 Documentation/filesystems/tftp.rst
 create mode 100755 Documentation/gen_commands.py
 create mode 100644 Documentation/glossary.rst
 create mode 100644 Documentation/index.rst
 create mode 100644 Documentation/user/automount.rst
 create mode 100644 Documentation/user/barebox.rst
 create mode 100644 Documentation/user/booting-linux.rst
 create mode 100644 Documentation/user/defaultenv-2.rst
 create mode 100644 Documentation/user/devicetree.rst
 create mode 100644 Documentation/user/driver-model.rst
 create mode 100644 Documentation/user/framebuffer.rst
 create mode 100644 Documentation/user/hush.rst
 create mode 100644 Documentation/user/introduction.rst
 create mode 100644 Documentation/user/memory-areas.rst
 create mode 100644 Documentation/user/multi-image.rst
 create mode 100644 Documentation/user/networking.rst
 create mode 100644 Documentation/user/pbl.rst
 create mode 100644 Documentation/user/system-setup.rst
 create mode 100644 Documentation/user/ubi.rst
 create mode 100644 Documentation/user/updating.rst
 create mode 100644 Documentation/user/usb.rst
 create mode 100644 Documentation/user/user-manual.rst
 create mode 100644 Documentation/user/variables.rst
Documentation/.gitignore +1 -0
index 1936cc1..1454566 100644
@@ -1 +1,2 @@
+build
 html
Documentation/boards.rst new file +10 -0
new file mode 100644
index 0000000..78e4951
@@ -0,0 +1,10 @@
+.. _boards:
+
+Board support
+=============
+
+.. toctree::
+   :glob:
+   :maxdepth: 2
+
+   boards/*
Documentation/boards/cirrus-logic.rst new file +9 -0
new file mode 100644
index 0000000..95a961e
@@ -0,0 +1,9 @@
+Cirrus Logic edb9xxx
+====================
+
+.. toctree::
+  :glob:
+  :numbered:
+  :maxdepth: 1
+
+  edb9xxx/*
Documentation/boards/edb9xxx/cirrus_logic_edb9301.rst new file +10 -0
new file mode 100644
index 0000000..78c2d30
@@ -0,0 +1,10 @@
+Cirrus Logic EP9301
+===================
+
+This boards is based on a Cirrus Logic EP9301 CPU. The board is shipped with:
+
+  * 16MiB NOR type Flash Memory
+  * 32MiB synchronous dynamic RAM on CS3
+  * 128kiB serial EEPROM
+  * MII 10/100 Ethernet PHY
+  * Stereo audio codec
Documentation/boards/edb9xxx/cirrus_logic_edb9302.rst new file +10 -0
new file mode 100644
index 0000000..43dfb83
@@ -0,0 +1,10 @@
+Cirrus Logic EDB9302
+====================
+
+This board is based on a Cirrus Logic EP9302 CPU. The board is shipped with:
+
+  * 16MiB NOR type Flash Memory
+  * 32MiB synchronous dynamic RAM on CS3
+  * 128kiB serial EEPROM
+  * MII 10/100 Ethernet PHY
+  * Stereo audio codec
Documentation/boards/edb9xxx/cirrus_logic_edb9302a.rst new file +10 -0
new file mode 100644
index 0000000..7283536
@@ -0,0 +1,10 @@
+Cirrus Logic EDB9302A
+=====================
+
+This board is based on a Cirrus Logic EP9302 CPU. The board is shipped with:
+
+  * 16MiB NOR type Flash Memory
+  * 32MiB synchronous dynamic RAM on CS0
+  * 512kiB serial EEPROM
+  * MII 10/100 Ethernet PHY
+  * Stereo audio codec
Documentation/boards/edb9xxx/cirrus_logic_edb9307.rst new file +13 -0
new file mode 100644
index 0000000..9006f2c
@@ -0,0 +1,13 @@
+Cirrus Logic EDB9307
+====================
+
+This board is based on a Cirrus Logic EP9307 CPU. The board is shipped with:
+
+  * 32MiB NOR type Flash Memory
+  * 64MiB synchronous dynamic RAM on CS3
+  * 512kiB asynchronous SRAM
+  * 128kiB serial EEPROM
+  * MII 10/100 Ethernet PHY
+  * Stereo audio codec
+  * Real-Time Clock
+  * IR receiver
Documentation/boards/edb9xxx/cirrus_logic_edb9307a.rst new file +13 -0
new file mode 100644
index 0000000..ba3763c
@@ -0,0 +1,13 @@
+Cirrus Logic EDB9307A
+=====================
+
+This board is based on a Cirrus Logic EP9307 CPU. The board is shipped with:
+
+  * 32MiB NOR type Flash Memory
+  * 64MiB synchronous dynamic RAM on CS0
+  * 512kiB serial EEPROM
+  * MII 10/100 Ethernet PHY
+  * Stereo audio codec
+  * Real-Time Clock
+  * IR receiver
+
Documentation/boards/edb9xxx/cirrus_logic_edb9312.rst new file +13 -0
new file mode 100644
index 0000000..16ad7fb
@@ -0,0 +1,13 @@
+Cirrus Logic EDB9312
+====================
+
+This board is based on a Cirrus Logic EP9312 CPU. The board is shipped with:
+
+  * 32MiB NOR type Flash Memory
+  * 64MiB synchronous dynamic RAM on CS3
+  * 512kiB asynchronous SRAM
+  * 128kiB serial EEPROM
+  * MII 10/100 Ethernet PHY
+  * Stereo audio codec
+  * Real-Time Clock
+  * IR receiver
Documentation/boards/edb9xxx/cirrus_logic_edb9315.rst new file +13 -0
new file mode 100644
index 0000000..5adb966
@@ -0,0 +1,13 @@
+Cirrus Logic EDB9315
+====================
+
+This board is based on a Cirrus Logic EP9315 CPU. The board is shipped with:
+
+  * 32MiB NOR type Flash Memory
+  * 64MiB synchronous dynamic RAM on CS3
+  * 512kiB asynchronous SRAM
+  * 128kiB serial EEPROM
+  * MII 10/100 Ethernet PHY
+  * Stereo audio codec
+  * Real-Time Clock
+  * IR receiver
Documentation/boards/edb9xxx/cirrus_logic_edb9315a.rst new file +12 -0
new file mode 100644
index 0000000..c44f873
@@ -0,0 +1,12 @@
+Cirrus Logic EDB9315A
+=====================
+
+This board is based on a Cirrus Logic EP9315 CPU. The board is shipped with:
+
+  * 32MiB NOR type Flash Memory
+  * 64MiB synchronous dynamic RAM on CS0
+  * 128kiB serial EEPROM
+  * MII 10/100 Ethernet PHY
+  * Stereo audio codec
+  * Real-Time Clock
+  * IR receiver
Documentation/boards/imx.rst new file +103 -0

103 lines not on this page · raw message

Documentation/boards/imx/Garz-Fricke-Cupid.rst new file +9 -0
new file mode 100644
index 0000000..1328810
@@ -0,0 +1,9 @@
+Garz+Fricke Cupid
+=================
+
+This CPU card is based on a Freescale i.MX35 CPU. The card is shipped with:
+
+  * 256MiB Nand flash
+  * 128MiB synchronous dynamic RAM
+
+see http://www.garz-fricke.com/cupid-core_de.html for more information
Documentation/boards/imx/Phytec-phyCORE-i.MX31.rst new file +38 -0
new file mode 100644
index 0000000..527c490
@@ -0,0 +1,38 @@
+Phytec phyCORE-i.MX31 CPU module PCM-037
+========================================
+
+The CPU module
+--------------
+
+http://www.phytec.eu/europe/products/modules-overview/phycore/produktdetails/p/phycore-imx31-2.html
+
+This CPU card is based on a Freescale i.MX31 CPU. The card in configuration -0000REU is shipped with:
+
+  * 128 MiB synchronous dynamic RAM (DDR type)
+  * 64 MiB NAND flash
+  * 32 MiB NOR flash
+  * 512 kiB SRAM
+  * 4kiB EEPROM
+  * MMU, FPU
+  * Serial, Ethernet, USB (OTG), I2C, SPI, MMC/SD/SDIO, PCMCIA/CF, RTC
+
+Supported baseboards
+--------------------
+
+Supported baseboards are:
+  * Silica / Phytec PCM-970 via phyMAP-i.MX31, PMA-001
+
+How to get barebox for 'Phytec's phyCORE-i.MX31'
+------------------------------------------------
+
+Using the default configuration::
+
+  make ARCH=arm pcm037_defconfig
+
+Build the binary image::
+
+  make ARCH=arm CROSS_COMPILE=armv5compiler
+
+**NOTE** Replace ''armv5compiler'' with your ARM v5 cross compiler, e.g.: ''arm-1136jfs-linux-gnueabi-''
+
+The resulting binary image to be flashed will be barebox.bin, whereas the file named just barebox is an ELF executable for ARM.
Documentation/boards/imx/eukrea_cpuimx27.rst new file +11 -0
new file mode 100644
index 0000000..c5ab4b9
@@ -0,0 +1,11 @@
+Eukrea CPUIMX27
+===============
+
+This CPU card is based on a Freescale i.MX27 CPU. The card is shipped with:
+
+  * up to 64MiB NOR type Flash Memory
+  * up to 256MiB synchronous dynamic RAM
+  * up to 512MiB NAND type Flash Memory
+  * MII 10/100 ethernet PHY
+  * optional 16554 Quad UART on CS3
+
Documentation/boards/imx/synertronixx_scb9328.rst new file +12 -0
new file mode 100644
index 0000000..229b3d0
@@ -0,0 +1,12 @@
+Synertronixx scb9328
+====================
+
+See http://www.synertronixx.de/produkte/scb9328/scb9328.htm
+
+This CPU card is based on a Freescale i.MX1 CPU. The card is shipped with:
+
+  * 16MiB NOR type Flash Memory
+  * 16MiB synchronous dynamic RAM
+  * DM9000 network controller
+
+It's the first i.MX board sha has ever ported Linux to.
Documentation/boards/mxs/Chumby-Falconwing.rst new file +46 -0

46 lines not on this page · raw message

Documentation/boards/mxs/Freescale-i.MX23-evk.rst new file +28 -0
new file mode 100644
index 0000000..b03508c
@@ -0,0 +1,28 @@
+Freescale i.MX23 evaluation kit
+===============================
+
+This CPU card is based on an i.MX23 CPU. The card is shipped with:
+
+  * 32 MiB synchronous dynamic RAM (mobile DDR type)
+  * ENC28j60 based network (over SPI)
+
+Memory layout when @b barebox is running:
+
+  * 0x40000000 start of SDRAM
+  * 0x40000100 start of kernel's boot parameters
+    * below malloc area: stack area
+    * below barebox: malloc area
+  * 0x41000000 start of @b barebox
+
+How to get the bootloader binary image
+--------------------------------------
+
+Using the default configuration::
+
+  make ARCH=arm imx23evk_defconfig
+
+Build the bootloader binary image::
+
+  make ARCH=arm CROSS_COMPILE=armv5compiler
+
+**NOTE** replace the armv5compiler with your ARM v5 cross compiler.
Documentation/boards/mxs/KaRo-TX28.rst new file +48 -0

48 lines not on this page · raw message

Documentation/boards/omap.rst new file +40 -0
new file mode 100644
index 0000000..63caf66
@@ -0,0 +1,40 @@
+Texas Instruments OMAP/AM335x
+=============================
+
+Texas Intruments OMAP SoCs have a two staged boot process. The first stage is
+known as Xload which only loads the second stage bootloader. barebox can act as
+both the first and the second stage loader. To build as a first stage loader
+build the \*_xload_defconfig for your board, for second stage build the normal
+\*_defconfig for your board.
+
+bootstrapping a panda board
+---------------------------
+
+The Panda board boots from SD card. The OMAP Boot ROM code loads a file named
+'MLO' on a bootable FAT partition on this card. There are several howtos and
+scripts on the net which describe how to prepare such a card (it needs a
+special partitioning). The same procedure can be used for barebox. With such a
+card (assumed to be at /dev/sdc) the following can be used to build and install
+barebox::
+
+  # mount -t fat /dev/sdc1 /mnt
+  # make panda_xload_defconfig
+  # make
+  # cp barebox.bin.ift /mnt/MLO
+  # make panda_defconfig
+  # make
+  # cp barebox.bin /mnt/barebox.bin
+  # umount /mnt
+
+Bootstrapping a Beagle board is the same with the corresponding Beagle board defconfigs
+
+Networking
+----------
+
+The Beagle board does not have ethernet, but a USB ethernet dongle can be used
+for networking. the Panda board has an integrated USB ethernet converter which
+exactly behaves like an external dongle. Barebox does not automatically detect
+USB devices as this would have bad effects on boot time when USB is not needed.
+So you have to use the [[commands:usb|usb]] command to trigger USB detection.
+After this a network device should be present which can be used with the normal
+[[commands:dhcp|dhcp]] and [[commands:tftp|tftp]] commands.
Documentation/boards/s3c/Digi-a9m2440.rst new file +67 -0

67 lines not on this page · raw message

Documentation/boards/samsung.rst new file +9 -0
new file mode 100644
index 0000000..d75224f
@@ -0,0 +1,9 @@
+Samsung S3C/S5P
+===============
+
+.. toctree::
+  :glob:
+  :numbered:
+  :maxdepth: 1
+
+  s3c/*
Documentation/boards/sandbox.rst new file +67 -0

67 lines not on this page · raw message

Documentation/boards/tegra.rst new file +102 -0

102 lines not on this page · raw message

Documentation/boards/x86.rst new file +128 -0

128 lines not on this page · raw message

Documentation/commands.rst new file +9 -0
new file mode 100644
index 0000000..a649209
@@ -0,0 +1,9 @@
+barebox command reference
+=========================
+
+.. toctree::
+   :glob:
+   :maxdepth: 1
+
+   commands/*
+
Documentation/conf.py new file +262 -0

262 lines not on this page · raw message

Documentation/devicetree/bindings/README new file +6 -0
new file mode 100644
index 0000000..b818ee8
@@ -0,0 +1,6 @@
+
+barebox uses the same devicetree bindings as the kernel. For
+the bindings derived from the kernel look in the kernel sources
+for reference.
+
+barebox specific bindings are documented here.
Documentation/devicetree/bindings/leds/common.rst new file +9 -0
new file mode 100644
index 0000000..63a45bd
@@ -0,0 +1,9 @@
+Common leds properties
+======================
+
+- linux,default-trigger barebox,default-trigger:  This parameter, if present, is a
+    string defining the trigger assigned to the LED.  Current triggers are:
+     "heartbeat" - LED flashes at a constant rate
+     "panic" - LED turns on when barebox panics
+     "net" - LED indicates network activity
+
Documentation/devicetree/bindings/misc/fsl,imx-iim.rst new file +21 -0
new file mode 100644
index 0000000..a067579
@@ -0,0 +1,21 @@
+Freescale i.MX IIM (Ic Identification Module)
+=============================================
+
+Required properties:
+
+- compatible: fsl,imx27-iim
+- reg: physical register base and size
+
+Optional properties:
+
+- barebox,provide-mac-address: Provide MAC addresses for ethernet devices. This
+  can be multiple entries in the form <&phandle bankno fuseofs> to specify a MAC
+  address to a ethernet device.
+
+Example::
+
+  iim: iim@83f98000 {
+  	compatible = "fsl,imx51-iim", "fsl,imx27-iim";
+  	reg = <0x83f98000 0x4000>;
+  	barebox,provide-mac-address = <&fec 1 9>;
+  };
Documentation/devicetree/bindings/misc/fsl,imx-ocotp.rst new file +21 -0
new file mode 100644
index 0000000..472b9e2
@@ -0,0 +1,21 @@
+Freescale i.MX OCOTP (On-Chip OTP)
+==================================
+
+Required properties:
+
+- compatible: fsl,imx6q-ocotp
+- reg: physical register base and size
+
+Optional properties:
+
+- barebox,provide-mac-address: Provide MAC addresses for ethernet devices. This
+  can be multiple entries in the form <&phandle regofs> to specify a MAC
+  address to a ethernet device.
+
+Example::
+
+  ocotp1: ocotp@021bc000 {
+  	compatible = "fsl,imx6q-ocotp";
+  	reg = <0x021bc000 0x4000>;
+  	barebox,provide-mac-address = <&fec 0x620>;
+  };
Documentation/devicetree/index.rst new file +13 -0
new file mode 100644
index 0000000..a24d635
@@ -0,0 +1,13 @@
+barebox specific devicetree bindings
+====================================
+
+Contents:
+
+.. toctree::
+   :glob:
+   :numbered:
+   :maxdepth: 1
+
+   bindings/barebox/*
+   bindings/leds/*
+   bindings/misc/*
Documentation/download.rst new file +16 -0
new file mode 100644
index 0000000..9e30efe
@@ -0,0 +1,16 @@
+:: _download:
+
+Getting barebox
+===============
+
+Releases of barebox can be downloaded here:
+
+http://barebox.org/download/
+
+git
+---
+
+The barebox development repository is available via `git <http://git-scm.com/>`_ here:
+
+  * clone address git://git.pengutronix.de/git/barebox.git
+  * git web http://git.pengutronix.de/?p=barebox.git;a=summary
Documentation/filesystems.rst new file +10 -0
new file mode 100644
index 0000000..3bb1edf
@@ -0,0 +1,10 @@
+.. _filesystems:
+
+filesystems
+===========
+
+.. toctree::
+   :maxdepth: 2
+   :glob:
+
+   filesystems/*
Documentation/filesystems/fat.rst new file +15 -0
new file mode 100644
index 0000000..2138328
@@ -0,0 +1,15 @@
+.. index:: fat (filesystem)
+
+FAT filesystem
+==============
+
+barebox supports FAT filesystems in both read and write modes with optional
+support for long filenames. A FAT filesystem can be mounted using the
+:ref:`command_mount` command::
+
+  mkdir /mnt
+  mount /dev/disk0.0 fat /mnt
+  ls /mnt
+  zImage barebox.bin
+  umount /mnt
+
Documentation/filesystems/nfs.rst new file +12 -0
new file mode 100644
index 0000000..b8ad4f3
@@ -0,0 +1,12 @@
+.. index:: nfs (filesystem)
+
+.. _filesystems_nfs:
+
+NFS Support
+===========
+
+barebox has readonly support for NFSv3 un UDP mode.
+
+Example::
+
+   mount -t nfs 192.168.23.4:/home/user/nfsroot /mnt/nfs
Documentation/filesystems/ramfs.rst new file +10 -0
new file mode 100644
index 0000000..37d6ffc
@@ -0,0 +1,10 @@
+.. index:: ramfs (filesystem)
+
+ram filesystem
+==============
+
+ramfs is a simple malloc based filesystem. An instance of ramfs is mounted during startup on /. The filesystemtype passed to mount is 'ramfs'
+
+example::
+
+  mount none ramfs /somedir
Documentation/filesystems/tftp.rst new file +16 -0
new file mode 100644
index 0000000..273be5e
@@ -0,0 +1,16 @@
+.. index:: tftp (filesystem)
+
+.. _filesystems_tftp:
+
+TFTP support
+============
+
+barebox has read/write support for the Trivial File Transfer Protocol.
+
+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.
+
+Example::
+
+  mount -t tftp 192.168.23.4 /mnt/tftp
Documentation/gen_commands.py new file +164 -0

164 lines not on this page · raw message

Documentation/glossary.rst new file +18 -0
new file mode 100644
index 0000000..a702859
@@ -0,0 +1,18 @@
+.. _glossary:
+
+Glossary
+========
+
+.. glossary:: :sorted:
+
+   FTD
+      Flattened Device Tree
+
+   DTB
+      Device Tree Blob (or Binary)
+
+   DTS
+      Device Tree Source
+
+   PBL
+      Pre BootLoader image
Documentation/index.rst new file +26 -0
new file mode 100644
index 0000000..aff450a
@@ -0,0 +1,26 @@
+.. barebox documentation master file, created by
+   sphinx-quickstart on Tue Jun 17 11:45:57 2014.
+   You can adapt this file completely to your liking, but it should at least
+   contain the root `toctree` directive.
+
+Welcome to barebox
+==================
+
+Contents:
+
+.. toctree::
+   :glob:
+   :numbered:
+   :maxdepth: 1
+
+   download
+   user/user-manual
+   filesystems
+   commands
+   boards
+   glossary
+   devicetree/*
+
+* :ref:`search`
+* :ref:`genindex`
+
Documentation/user/automount.rst new file +34 -0
new file mode 100644
index 0000000..d13eaf1
@@ -0,0 +1,34 @@
+.. _automount:
+
+Automount
+=========
+
+barebox supports automatically mounting filesystems when a path is first
+accessed. This is handled with the :ref:`command_automount` command. With automounting
+it is possible to separate the configuration of a board from actually using
+filesystems. The filesystems (and the devices they are on) are only probed
+when necessary, so barebox does not lose time probing unused devices.
+
+Typical usage is for accessing the TFTP server. To set up an automount for a
+TFTP server, the following is required::
+
+  mkdir -p /mnt/tftp
+  automount /mnt/tftp 'ifup eth0 && mount -t tftp $eth0.serverip /mnt/tftp'
+
+This creates an automountpoint on /mnt/tftp. Whenever this directory is accessed,
+the command ``ifup eth0 && mount -t tftp $eth0.serverip /mnt/tftp`` is executed.
+It will bring up the network device using :ref:`command_ifup` and mount a TFTP filesystem
+using :ref:`command_mount`.
+
+Usually the above automount command is executed from an init script in /env/init/automount.
+With the above, files on the TFTP server can be accessed without configuration::
+
+  cp /mnt/tftp/linuximage /image
+
+This automatically detects a USB mass storage device and mounts the first
+partition to /mnt/fat::
+
+  mkdir -p /mnt/fat
+  automount -d /mnt/fat 'usb && [ -e /dev/disk0.0 ] && mount /dev/disk0.0 /mnt/fat'
+
+To see a list of currently registered automountpoints use ``automount -l``.
Documentation/user/barebox.rst new file +178 -0

178 lines not on this page · raw message

Documentation/user/booting-linux.rst new file +267 -0

267 lines not on this page · raw message

Documentation/user/defaultenv-2.rst new file +113 -0

113 lines not on this page · raw message

Documentation/user/devicetree.rst new file +84 -0

84 lines not on this page · raw message

Documentation/user/driver-model.rst new file +91 -0

91 lines not on this page · raw message

Documentation/user/framebuffer.rst new file +43 -0

43 lines not on this page · raw message

Documentation/user/hush.rst new file +52 -0

52 lines not on this page · raw message

Documentation/user/introduction.rst new file +27 -0
new file mode 100644
index 0000000..8eb5860
@@ -0,0 +1,27 @@
+Introduction
+============
+
+This is the barebox user manual. It describes how to configure, compile
+and run barebox on Embedded Systems.
+
+barebox (just barebox, not *the* barebox) is a bootloader designed for
+Embedded Systems. It runs on a variety of ARM, MIPS, PowerPC based SoCs.
+barebox aims to be a versatile and flexible bootloader, not only for
+booting Embedded Linux Systems but also for initial hardware bringup and
+development. barebox is highly configurable to be suitable as a full featured
+development binary to a lean production system. Just like busybox is the swiss
+army knife for Embedded Linux, barebox is the swiss army knife for bare metal,
+hence the name.
+
+Feedback
+--------
+
+For sending patches, asking for help and giving general feedback you are
+always welcome to write a mail to the barebox mailing list. Most of the
+discussion of barebox takes place here:
+
+http://lists.infradead.org/mailman/listinfo/barebox/
+
+There's also an IRC channel:
+
+IRC: #barebox (Freenode)
Documentation/user/memory-areas.rst new file +27 -0
new file mode 100644
index 0000000..dd1db9e
@@ -0,0 +1,27 @@
+memory areas
+============
+
+Several barebox commands like :ref:`command_md`, erase or crc work on an area
+of memory. Areas have the following form::
+
+  <start>-<end>
+
+or::
+
+  <start>+<count>
+
+start, end and count are interpreted as decimal values if not prefixed with 0x.
+Additionally these can be postfixed with K, M or G for kilobyte, megabyte or
+gigabyte.
+
+Examples
+--------
+
+Display a hexdump from 0x80000000 to 0x80001000 (inclusive)::
+
+  md 0x80000000-0x80001000
+
+Display 1 kilobyte of memory starting at 0x80000000::
+
+  md 0x80000000+1k
+
Documentation/user/multi-image.rst new file +54 -0

54 lines not on this page · raw message

Documentation/user/networking.rst new file +81 -0

81 lines not on this page · raw message

Documentation/user/pbl.rst new file +31 -0
new file mode 100644
index 0000000..a08d6c9
@@ -0,0 +1,31 @@
+.. _pbl:
+
+PreBootLoader images (PBL)
+==========================
+
+Traditionally barebox generates a raw uncompressed binary. PBL is an effort to
+create self extracting compressed images instead. This helps on some boards
+where storage space is sparse. Another usecase of PBL is on SoCs on which the
+ROM code loads the initial bootloader to (limited) SRAM. With self extracting
+binaries, more binary space becomes available.
+
+PBL is available for ARM and MIPS. It can be enabled in ``make menuconfig`` with
+the ``[*] Pre-Bootloader image`` option.
+
+The user visible difference is that with PBL support ``barebox.bin`` is no longer
+the final binary image, but instead ``arch/$ARCH/pbl/zbarebox.bin``. Use the
+``barebox-flash-image`` link which always points to the correct image.
+
+Technical background
+--------------------
+
+Normal object files are added to the make system using ``obj-y += file.o``.
+With PBL the build system recurses into the source directories a second
+time, this time all files specified with ``pbl-y += file.o`` are compiled.
+This way source code can be shared between regular barebox and PBL. A special
+case is ``lwl-y += file.o`` which expands to ``obj-y`` when PBL is disabled
+and to ``pbl-y`` when PBL is enabled.
+
+**HINT** For getting an overview over the binaries, disassemble barebox.bin
+(``make barebox.S``) with or without PBL support and also disassemble the
+PBL (``make arch/$ARCH/pbl/zbarebox.S``)
Documentation/user/system-setup.rst new file +64 -0

64 lines not on this page · raw message

Documentation/user/ubi.rst new file +138 -0

138 lines not on this page · raw message

Documentation/user/updating.rst new file +29 -0
new file mode 100644
index 0000000..0503e7d
@@ -0,0 +1,29 @@
+
+.. _update:
+
+Updating barebox
+================
+
+Updating barebox is potentially a dangerous task. When the update fails,
+the board may not start anymore and must be recovered. barebox has a special
+command to make updating barebox easier and safer: :ref:`command_barebox_update`.
+A board can register an update handler to the update command. The handler can
+do additional checks before trying an update, e.g. it's possible
+to check whether the new image actually is a barebox image.
+
+Updating barebox can be as easy as::
+
+  barebox_update /path/to/new/barebox.img
+
+Multiple handlers can be registered to the update mechanism. Usually the device
+barebox has been started from is registered as default (marked with a ``*``)::
+
+  barebox@Genesi Efika MX Smartbook:/ barebox_update -l
+  registered update handlers:
+  * mmc         -> /dev/mmc1
+    spinor	-> /dev/m25p0
+
+:ref:`command_barebox_update` requires board support, so it may not be
+available for your board. It is recommended to implement it, but you can also
+update barebox manually using :ref:`command_erase` and :ref:`command_cp`
+commands. The exact commands are board specific.
Documentation/user/usb.rst new file +65 -0

65 lines not on this page · raw message

Documentation/user/user-manual.rst new file +33 -0
new file mode 100644
index 0000000..4e2a250
@@ -0,0 +1,33 @@
+.. highlight:: console
+
+barebox user manual
+===================
+
+Contents:
+
+.. toctree::
+   :numbered:
+   :maxdepth: 2
+
+   introduction
+   system-setup
+   barebox
+   networking
+   automount
+   memory-areas
+   driver-model
+   hush
+   defaultenv-2
+   variables
+   updating
+   devicetree
+   pbl
+   multi-image
+   framebuffer
+   usb
+   ubi
+   booting-linux
+
+* :ref:`search`
+* :ref:`genindex`
+
Documentation/user/variables.rst new file +49 -0

49 lines not on this page · raw message

Makefile +9 -2
index e7e1679..6dad637 100644
@@ -1076,8 +1076,7 @@ help:
 	@echo  '                    enough build support to build external modules'
 	@echo  '  mrproper	  - Remove all generated files + config + various backup files'
 	@echo  '  distclean	  - mrproper + remove editor backup and patch files'
-	@echo  '  docs            - start doxygen for all output types (only HTML - FIXME)'
-	@echo  '    htmldocs      - create documentation in HTML format'
+	@echo  '  docs            - build documentation
 	@echo  ''
 	@echo  'Configuration targets:'
 	@$(MAKE) -f $(srctree)/scripts/kconfig/Makefile help
@@ -1125,6 +1124,14 @@ quiet_cmd_tags = GEN     $@
 tags TAGS cscope: FORCE
 	$(call cmd,tags)
 
+SPHINXBUILD   = sphinx-build
+ALLSPHINXOPTS   =  source
+
+docs: FORCE
+	@mkdir -p $(srctree)/Documentation/commands
+	@$(srctree)/Documentation/gen_commands.py $(srctree) $(srctree)/Documentation/commands
+	@$(SPHINXBUILD) -b html -d $(objtree)/doctrees $(srctree)/Documentation \
+		$(objtree)/Documentation/html
 
 endif #ifeq ($(config-targets),1)
 endif #ifeq ($(mixed-targets),1)
Signature · 7 lines
2.0.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#8 lore raw
In reply to Sascha Hauer

Hi,

nice !

I merged remotes/origin/doc into my local checkout of remotes/origin/next and did "make docs". I got one warning:

schurig@laptop:~/d/mkarm/barebox$ make docs
Making output directory...
Running Sphinx v1.1.2
loading pickled environment... not yet created
building [html]: targets for 204 source files that are out of date
updating environment: 204 added, 0 changed, 0 removed
reading sources... [100%] user/variables
/home/schurig/d/mkarm/barebox/Documentation/devicetree/index.rst:6:
WARNING: toctree glob pattern u'bindings/barebox/*' didn't match any
documents
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] user/variables
writing additional files... genindex search
copying static files... done
dumping search index... done
dumping object inventory... done
build succeeded, 1 warning.

and in fact, there is no Documentation/devicetree/bindings/barebox

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

author maintainer
#9 lore raw
Quoted 8 lines · Holger Schurig

Hi,

nice !

I merged remotes/origin/doc into my local checkout of remotes/origin/next and did "make docs". I got one warning:

Quoted 9 lines
schurig@laptop:~/d/mkarm/barebox$ make docs
Making output directory...
Running Sphinx v1.1.2
loading pickled environment... not yet created
building [html]: targets for 204 source files that are out of date
updating environment: 204 added, 0 changed, 0 removed
reading sources... [100%] user/variables
/home/schurig/d/mkarm/barebox/Documentation/devicetree/index.rst:6:
WARNING: toctree glob pattern u'bindings/barebox/*' didn't match any

Oops, it was ignored because it matches a pattern in .gitignore. Try again, I just fixed it.

Sascha

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#10 lore raw
In reply to Sascha Hauer

Some random annotations. Please comment, after feedback I'll provide a bunch of patches for this. I don't do the patches right away, because you may still work currently in that area, so it would only produce conflicts.

User manuel "2. System setup" should be in an appendix. Nothing here is really related to barebox itself. It contains just helpful hints.

I would capitalize some headlines, e.g. in the user manual "3.
Barebox", "4. Networking", "6. Memory areas" etc The same for the
two headlines starting in lower-case in the main index.html. Maybe "3. barebox" can stay lowercase, because barebox is an "Eigenname", dunno. It looks however a bit ugly when it's lowercase.

After getting barebox there should be a brief mention of the branches, e.g. difference between next & master.

Configuration: at "make menuconfig" also "make xconfig" should be mentioned.

"3.3. Compilation", shouldn't it be "make ARCH=xxx" ? Ha, maybe it's just an old habit of me ...

"3.4 Starting Barebox" could get a link to the i.MX USB downloader. Very fine tool!

"4.2. Network filesystems": hinting on automount for tftp-file system is a bit moot. Because at the "mount -t tftp AAA BBB" nothing happens, tftp is, so to say, an automount by itself. I haven't yet used NFS from barebox, but I guess it is the same there. So I'd remove the automount reference from this place completely.

"5. Automount", the same, better use sdcard as an example,. not tftp.

"7.2. Device parameters": Better write "HINT: barebox has ..." (e.g. with a colon). The same applies to the "NOTE" annotations.

"8.1 Hush features" should "let X=$A/2" be there? Many people (ok, it was just me) look there if they need to calculate in the shell after finding out that X=$(($A/2)) doesn't work ...

"10. Configuration variable": this should be neared the device parameters. I'd add a hint that with "devinfo global" one can see all defined global variables.

several places: the "barebox@Genesi Efika MX Smartbook:/" should be reduced to "barebox:/", as it is usually irrelevant if that example was done on an Efika board or not.

"11. Updating barebox", it says that a board can register an update handler, but doesn't have an example or a link to where / how this could be done. Or even a link directly to the git tree with a working example.

"13. Prebootloader": the sentence "Use the barebox-flash-image link which always points to the correct image" doesn't sound like proper english.

Abbreviation should be capizalized as well, therefore headline "ram filesystem" -> "RAM filesystem"

I think that in english one should write "file systems", not "filesystems". But i may be wrong. But I'm quite sure that the word "filesystemtype" (in the RAM file system chapter) is too long for any englishman :-)

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#13 lore raw

Am Donnerstag, den 26.06.2014, 11:54 +0200 schrieb Holger Schurig:

Quoted 9 lines

Oh, and I just noticed that two chapters "Getting barebox" are contained:

1. Getting barebox
3.1. Getting barebox

I'd also think that long-term the "user manual" thingy inside the documention could vanish. Everything could/should/is the user manual, or?

No, we would like to clearly separate user docs as in how to get barebox running on a board and what to do in the shell from developer docs that explain some of the concepts and design decisions of the actual code.

Regards,
Lucas

Signature · 8 lines
Pengutronix e.K.             | Lucas Stach                 |
Industrial Linux Solutions   | http://www.pengutronix.de/  |


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#14 lore raw
Quoted 1 line

No, we would like to clearly separate user docs

But still it is unfortunate that two "Getting Barebox" chapters are there at all, and that they are very near to each.

Also, I think that (necessarily!) the design desicions are now mostly in the user manual, e.g. device parameters. In the non-user-manual parts there is hardly contents at all. And most, e.g. the file system descriptions or the glossary, could very well be moved into the user manual. Which will lead us to ... the user-manual containing all of the current HTML docs.

So, let me rephrase it: I also think that long term the whole current (!) HTML documentation should be part of the user manual.

Simply because there's no developer documentation in the current (!) HTML, e.g. "How to start a new board" type docs, or an introduction into the file system structure.

Maybe the PBL chapter is developer documentation, but that is (sic!) in the user manual ...

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#15 lore raw
In reply to Sascha Hauer
Quoted 3 lines · On Thu, 26 Jun 2014 10:51:31 +0200 Sascha Hauer <[email protected]> wrote:

Hi all,

I am happy to announce new documentation for barebox.

Aghhhh!

All my mips documentation have gone away!

I'm ready to convert old dox-files to new rst-files by myself, but I need some recomendations.

Could I put rst mips files into Documentation/boards/mips?

Quoted 352 lines

The following series removes the in-tree documentation and replaces it with completely rewritten sphinxs based documentation. As of now we have a more or less complete user manual. There surely is room for improvements but we think that it is good enough already and surely better than what we have now.

The documentation is written with Sphinx. Sphinx is the Python Documentation Generator, see http://sphinx-doc.org/.
The files are written in reStructuredText, a format which is sufficiently easy to write and nice to read even in sourcecode format.

Thank you Jan, Lukas and Jochen for help writing documentation and fixing typos.

make docs will generate static html files. The plan is to replace the existing Wiki Documentation with these files. Florian is currently writing template files to make the pages look nice and not-so-standard.

Comments and reviews are very welcome.

Sascha

The following changes since commit bbc70303c7166dbe8e72ea12fdc486c28a60c302:

kernel-install: fix return value check for getline (2014-06-26 09:44:47 +0200)

are available in the git repository at:

git://git.pengutronix.de/git/barebox.git doc

for you to fetch changes up to f77fa0cc6de9c9a26e492016e67b0fdfc2039f91:

Documentation: Add new sphinxs docs (2014-06-26 10:12:32 +0200)

----------------------------------------------------------------
Jan Luebbe (2):
ubiformat: avoid macros in help text
automount: fix description typo

Sascha Hauer (5):
commands: addpart: Improve description
Documentation: remove doxygen documentation
Documentation: remove remaining documentation
Documentation: remove devicetree docs
Documentation: Add new sphinxs docs

 Documentation/.gitignore                           |    1 +
 Documentation/barebox-main.dox                     |  126 --
 Documentation/board.dox                            |   94 --
 Documentation/boards.dox                           |   74 --
 Documentation/boards.rst                           |   10 +
 Documentation/boards/cirrus-logic.rst              |    9 +
 .../boards/edb9xxx/cirrus_logic_edb9301.rst        |   10 +
 .../boards/edb9xxx/cirrus_logic_edb9302.rst        |   10 +
 .../boards/edb9xxx/cirrus_logic_edb9302a.rst       |   10 +
 .../boards/edb9xxx/cirrus_logic_edb9307.rst        |   13 +
 .../boards/edb9xxx/cirrus_logic_edb9307a.rst       |   13 +
 .../boards/edb9xxx/cirrus_logic_edb9312.rst        |   13 +
 .../boards/edb9xxx/cirrus_logic_edb9315.rst        |   13 +
 .../boards/edb9xxx/cirrus_logic_edb9315a.rst       |   12 +
 Documentation/boards/imx.rst                       |  103 ++
 Documentation/boards/imx/Garz-Fricke-Cupid.rst     |    9 +
 Documentation/boards/imx/Phytec-phyCORE-i.MX31.rst |   38 +
 Documentation/boards/imx/eukrea_cpuimx27.rst       |   11 +
 Documentation/boards/imx/synertronixx_scb9328.rst  |   12 +
 Documentation/boards/mxs/Chumby-Falconwing.rst     |   46 +
 Documentation/boards/mxs/Freescale-i.MX23-evk.rst  |   28 +
 Documentation/boards/mxs/KaRo-TX28.rst             |   48 +
 Documentation/boards/omap.rst                      |   40 +
 Documentation/boards/s3c/Digi-a9m2440.rst          |   67 +
 Documentation/boards/samsung.rst                   |    9 +
 Documentation/boards/sandbox.rst                   |   67 +
 Documentation/boards/tegra.rst                     |  102 ++
 Documentation/boards/x86.rst                       |  128 ++
 Documentation/building.dox                         |   60 -
 Documentation/commands.dox                         |  111 --
 Documentation/commands.rst                         |    9 +
 Documentation/conf.py                              |  262 ++++
 Documentation/console.txt                          |   13 -
 Documentation/developers_manual.dox                |   24 -
 Documentation/devices_drivers.txt                  |   72 --
 Documentation/devicetree/bindings/barebox.txt      |   10 -
 .../bindings/barebox/barebox,environment.txt       |   25 -
 .../bindings/leds/{common.txt => common.rst}       |    3 +-
 .../misc/{fsl,imx-iim.txt => fsl,imx-iim.rst}      |   13 +-
 .../misc/{fsl,imx-ocotp.txt => fsl,imx-ocotp.rst}  |   13 +-
 Documentation/devicetree/index.rst                 |   13 +
 Documentation/download.rst                         |   16 +
 Documentation/filesystems.rst                      |   10 +
 Documentation/filesystems/fat.rst                  |   15 +
 Documentation/filesystems/nfs.rst                  |   12 +
 Documentation/filesystems/ramfs.rst                |   10 +
 Documentation/filesystems/tftp.rst                 |   16 +
 Documentation/first_steps.dox                      |   61 -
 Documentation/gen_commands.py                      |  164 +++
 Documentation/glossary.rst                         |   18 +
 Documentation/index.rst                            |   26 +
 Documentation/manual_org.dox                       |   27 -
 Documentation/omap4_usb_booting.txt                |   27 -
 Documentation/porting.txt                          |  115 --
 Documentation/timekeeping.txt                      |   13 -
 Documentation/user/automount.rst                   |   34 +
 Documentation/user/barebox.rst                     |  178 +++
 Documentation/user/booting-linux.rst               |  267 ++++
 Documentation/user/defaultenv-2.rst                |  113 ++
 Documentation/user/devicetree.rst                  |   84 ++
 Documentation/user/driver-model.rst                |   91 ++
 Documentation/user/framebuffer.rst                 |   43 +
 Documentation/user/hush.rst                        |   52 +
 Documentation/user/introduction.rst                |   27 +
 Documentation/user/memory-areas.rst                |   27 +
 Documentation/user/multi-image.rst                 |   54 +
 Documentation/user/networking.rst                  |   81 ++
 Documentation/user/pbl.rst                         |   31 +
 Documentation/user/system-setup.rst                |   64 +
 Documentation/user/ubi.rst                         |  138 +++
 Documentation/user/updating.rst                    |   29 +
 Documentation/user/usb.rst                         |   65 +
 Documentation/user/user-manual.rst                 |   33 +
 Documentation/user/variables.rst                   |   49 +
 Documentation/users_manual.dox                     |   18 -
 Doxyfile                                           | 1310 --------------------
 Makefile                                           |   21 +-
 arch/architecture.dox                              |  175 ---
 arch/arm/boards/a9m2410/a9m2410.c                  |   68 -
 arch/arm/boards/a9m2440/a9m2440.c                  |   79 --
 arch/arm/boards/beagle/board.c                     |   31 -
 arch/arm/boards/ccxmx51/ccxmx51.dox                |    7 -
 arch/arm/boards/chumby_falconwing/falconwing.c     |  138 ---
 arch/arm/boards/edb93xx/edb93xx.dox                |  108 --
 .../arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.dox |   11 -
 .../arm/boards/eukrea_cpuimx35/eukrea_cpuimx35.dox |    4 -
 .../arm/boards/eukrea_cpuimx51/eukrea_cpuimx51.dox |    4 -
 arch/arm/boards/freescale-mx21-ads/imx21ads.dox    |    5 -
 arch/arm/boards/freescale-mx23-evk/mx23-evk.c      |   32 -
 arch/arm/boards/freescale-mx27-ads/imx27ads.dox    |    5 -
 arch/arm/boards/freescale-mx35-3ds/3stack.dox      |    4 -
 .../arm/boards/freescale-mx51-babbage/mx51-pdk.dox |    4 -
 arch/arm/boards/freescale-mx53-qsb/mx53-pdk.dox    |    4 -
 arch/arm/boards/freescale-mx53-smd/mx53-smd.dox    |    4 -
 arch/arm/boards/friendlyarm-mini2440/mini2440.c    |  159 ---
 arch/arm/boards/guf-cupid/cupid.dox                |    9 -
 arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c |   59 -
 arch/arm/boards/karo-tx28/tx28.c                   |   52 -
 arch/arm/boards/karo-tx51/tx51.dox                 |   50 -
 arch/arm/boards/module-mb7707/module-mb7707.dox    |   29 -
 arch/arm/boards/mx31moboard/mx31moboard.dox        |   10 -
 arch/arm/boards/netx/netx.dox                      |    9 -
 arch/arm/boards/omap343xdsp/board.c                |   26 -
 arch/arm/boards/phytec-phycard-imx27/pca100.dox    |    8 -
 arch/arm/boards/phytec-phycard-omap3/pca-a-l1.dox  |   16 -
 arch/arm/boards/phytec-phycore-imx27/pcm038.dox    |    9 -
 arch/arm/boards/phytec-phycore-imx31/pcm037.dox    |   11 -
 arch/arm/boards/phytec-phycore-imx35/pcm043.dox    |   28 -
 arch/arm/boards/qil-a926x/qil-a9260.dox            |   22 -
 arch/arm/boards/scb9328/scb9328.dox                |    9 -
 arch/arm/boards/tny-a926x/tny-a9263.dox            |   33 -
 arch/arm/boards/tny-a926x/tny-a9g20-lpw.dox        |   37 -
 arch/arm/boards/toshiba-ac100/toshiba-ac100.dox    |   37 -
 arch/arm/boards/usb-a926x/usb-a9263.dox            |   30 -
 arch/arm/boards/usb-a926x/usb-a9g20-lpw.dox        |   33 -
 arch/arm/boards/virt2real/virt2real.dox            |   41 -
 arch/arm/mach-arm.dox                              |   67 -
 arch/arm/mach-davinci/mach-davinci.dox             |    7 -
 arch/arm/mach-omap/arch-omap.dox                   |   96 --
 arch/arm/mach-samsung/lowlevel-s3c24x0.S           |    8 -
 arch/arm/mach-samsung/mem-s3c24x0.c                |   57 -
 arch/blackfin/boards/ipe337/ipe337.dox             |   10 -
 arch/blackfin/mach-bf.dox                          |    9 -
 arch/mips/boards/dlink-dir-320/dlink-dir-320.dox   |   38 -
 arch/mips/boards/loongson-ls1b/loongson_ls1b.dox   |   47 -
 arch/mips/boards/qemu-malta/qemu-malta.dox         |   20 -
 arch/mips/boards/ritmix-rzx50/ritmix-rzx50.dox     |   46 -
 arch/mips/boards/tplink-mr3020/tplink-mr3020.dox   |   64 -
 arch/mips/mach-bcm47xx/mach-bcm47xx.dox            |    7 -
 arch/mips/mach-loongson/mach-loongson.dox          |    7 -
 arch/mips/mach-malta/mach-malta.dox                |    7 -
 arch/mips/mach-mips.dox                            |   69 --
 arch/mips/mach-xburst/mach-xburst.dox              |    7 -
 arch/ppc/boards/pcm030/pcm030.dox                  |    8 -
 arch/ppc/mach-ppc.dox                              |    9 -
 arch/sandbox/os/common.c                           |   55 -
 arch/x86/boards/x86_generic/generic_pc.c           |   34 -
 arch/x86/boot/bioscall.S                           |    4 -
 arch/x86/lib/bios_disk.S                           |    3 -
 arch/x86/lib/linux_start.S                         |    3 -
 arch/x86/mach-x86.dox                              |  128 --
 commands/automount.c                               |    2 +-
 commands/bootm.c                                   |   17 -
 commands/cp.c                                      |   14 -
 commands/devinfo.c                                 |   28 -
 commands/dfu.c                                     |   10 -
 commands/echo.c                                    |    8 -
 commands/edit.c                                    |   16 -
 commands/flash.c                                   |   52 -
 commands/gpio.c                                    |   62 -
 commands/led.c                                     |    9 -
 commands/linux16.c                                 |   66 -
 commands/loadenv.c                                 |    9 -
 commands/miitool.c                                 |    6 -
 commands/mount.c                                   |   36 -
 commands/partition.c                               |   40 +-
 commands/printenv.c                                |   14 -
 commands/saveenv.c                                 |   18 -
 commands/setenv.c                                  |   13 -
 commands/splash.c                                  |   11 -
 commands/ubiformat.c                               |   10 +-
 commands/usbserial.c                               |    4 -
 common/kallsyms.c                                  |    4 -
 include/command.h                                  |    4 -
 include/driver.h                                   |   26 -
 include/i2c/i2c.h                                  |    4 -
 include/linux/mtd/mtd-abi.h                        |    4 -
 include/linux/mtd/mtd.h                            |    4 -
 include/spi/spi.h                                  |    4 -
 include/usb/ch9.h                                  |    4 -
 include/usb/composite.h                            |    4 -
 include/usb/gadget.h                               |    4 -
 include/usb/usb.h                                  |    4 -
 net/netconsole.c                                   |   28 -
 scripts/doxy_filter.awk                            |  103 --
 175 files changed, 2893 insertions(+), 5042 deletions(-)
 delete mode 100644 Documentation/barebox-main.dox
 delete mode 100644 Documentation/board.dox
 delete mode 100644 Documentation/boards.dox
 create mode 100644 Documentation/boards.rst
 create mode 100644 Documentation/boards/cirrus-logic.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9301.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9302.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9302a.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9307.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9307a.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9312.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9315.rst
 create mode 100644 Documentation/boards/edb9xxx/cirrus_logic_edb9315a.rst
 create mode 100644 Documentation/boards/imx.rst
 create mode 100644 Documentation/boards/imx/Garz-Fricke-Cupid.rst
 create mode 100644 Documentation/boards/imx/Phytec-phyCORE-i.MX31.rst
 create mode 100644 Documentation/boards/imx/eukrea_cpuimx27.rst
 create mode 100644 Documentation/boards/imx/synertronixx_scb9328.rst
 create mode 100644 Documentation/boards/mxs/Chumby-Falconwing.rst
 create mode 100644 Documentation/boards/mxs/Freescale-i.MX23-evk.rst
 create mode 100644 Documentation/boards/mxs/KaRo-TX28.rst
 create mode 100644 Documentation/boards/omap.rst
 create mode 100644 Documentation/boards/s3c/Digi-a9m2440.rst
 create mode 100644 Documentation/boards/samsung.rst
 create mode 100644 Documentation/boards/sandbox.rst
 create mode 100644 Documentation/boards/tegra.rst
 create mode 100644 Documentation/boards/x86.rst
 delete mode 100644 Documentation/building.dox
 delete mode 100644 Documentation/commands.dox
 create mode 100644 Documentation/commands.rst
 create mode 100644 Documentation/conf.py
 delete mode 100644 Documentation/console.txt
 delete mode 100644 Documentation/developers_manual.dox
 delete mode 100644 Documentation/devices_drivers.txt
 delete mode 100644 Documentation/devicetree/bindings/barebox.txt
 delete mode 100644 Documentation/devicetree/bindings/barebox/barebox,environment.txt
 rename Documentation/devicetree/bindings/leds/{common.txt => common.rst} (86%)
 rename Documentation/devicetree/bindings/misc/{fsl,imx-iim.txt => fsl,imx-iim.rst} (62%)
 rename Documentation/devicetree/bindings/misc/{fsl,imx-ocotp.txt => fsl,imx-ocotp.rst} (64%)
 create mode 100644 Documentation/devicetree/index.rst
 create mode 100644 Documentation/download.rst
 create mode 100644 Documentation/filesystems.rst
 create mode 100644 Documentation/filesystems/fat.rst
 create mode 100644 Documentation/filesystems/nfs.rst
 create mode 100644 Documentation/filesystems/ramfs.rst
 create mode 100644 Documentation/filesystems/tftp.rst
 delete mode 100644 Documentation/first_steps.dox
 create mode 100755 Documentation/gen_commands.py
 create mode 100644 Documentation/glossary.rst
 create mode 100644 Documentation/index.rst
 delete mode 100644 Documentation/manual_org.dox
 delete mode 100644 Documentation/omap4_usb_booting.txt
 delete mode 100644 Documentation/porting.txt
 delete mode 100644 Documentation/timekeeping.txt
 create mode 100644 Documentation/user/automount.rst
 create mode 100644 Documentation/user/barebox.rst
 create mode 100644 Documentation/user/booting-linux.rst
 create mode 100644 Documentation/user/defaultenv-2.rst
 create mode 100644 Documentation/user/devicetree.rst
 create mode 100644 Documentation/user/driver-model.rst
 create mode 100644 Documentation/user/framebuffer.rst
 create mode 100644 Documentation/user/hush.rst
 create mode 100644 Documentation/user/introduction.rst
 create mode 100644 Documentation/user/memory-areas.rst
 create mode 100644 Documentation/user/multi-image.rst
 create mode 100644 Documentation/user/networking.rst
 create mode 100644 Documentation/user/pbl.rst
 create mode 100644 Documentation/user/system-setup.rst
 create mode 100644 Documentation/user/ubi.rst
 create mode 100644 Documentation/user/updating.rst
 create mode 100644 Documentation/user/usb.rst
 create mode 100644 Documentation/user/user-manual.rst
 create mode 100644 Documentation/user/variables.rst
 delete mode 100644 Documentation/users_manual.dox
 delete mode 100644 Doxyfile
 delete mode 100644 arch/architecture.dox
 delete mode 100644 arch/arm/boards/ccxmx51/ccxmx51.dox
 delete mode 100644 arch/arm/boards/edb93xx/edb93xx.dox
 delete mode 100644 arch/arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.dox
 delete mode 100644 arch/arm/boards/eukrea_cpuimx35/eukrea_cpuimx35.dox
 delete mode 100644 arch/arm/boards/eukrea_cpuimx51/eukrea_cpuimx51.dox
 delete mode 100644 arch/arm/boards/freescale-mx21-ads/imx21ads.dox
 delete mode 100644 arch/arm/boards/freescale-mx27-ads/imx27ads.dox
 delete mode 100644 arch/arm/boards/freescale-mx35-3ds/3stack.dox
 delete mode 100644 arch/arm/boards/freescale-mx51-babbage/mx51-pdk.dox
 delete mode 100644 arch/arm/boards/freescale-mx53-qsb/mx53-pdk.dox
 delete mode 100644 arch/arm/boards/freescale-mx53-smd/mx53-smd.dox
 delete mode 100644 arch/arm/boards/guf-cupid/cupid.dox
 delete mode 100644 arch/arm/boards/karo-tx51/tx51.dox
 delete mode 100644 arch/arm/boards/module-mb7707/module-mb7707.dox
 delete mode 100644 arch/arm/boards/mx31moboard/mx31moboard.dox
 delete mode 100644 arch/arm/boards/netx/netx.dox
 delete mode 100644 arch/arm/boards/phytec-phycard-imx27/pca100.dox
 delete mode 100644 arch/arm/boards/phytec-phycard-omap3/pca-a-l1.dox
 delete mode 100644 arch/arm/boards/phytec-phycore-imx27/pcm038.dox
 delete mode 100644 arch/arm/boards/phytec-phycore-imx31/pcm037.dox
 delete mode 100644 arch/arm/boards/phytec-phycore-imx35/pcm043.dox
 delete mode 100644 arch/arm/boards/qil-a926x/qil-a9260.dox
 delete mode 100644 arch/arm/boards/scb9328/scb9328.dox
 delete mode 100644 arch/arm/boards/tny-a926x/tny-a9263.dox
 delete mode 100644 arch/arm/boards/tny-a926x/tny-a9g20-lpw.dox
 delete mode 100644 arch/arm/boards/toshiba-ac100/toshiba-ac100.dox
 delete mode 100644 arch/arm/boards/usb-a926x/usb-a9263.dox
 delete mode 100644 arch/arm/boards/usb-a926x/usb-a9g20-lpw.dox
 delete mode 100644 arch/arm/boards/virt2real/virt2real.dox
 delete mode 100644 arch/arm/mach-arm.dox
 delete mode 100644 arch/arm/mach-davinci/mach-davinci.dox
 delete mode 100644 arch/arm/mach-omap/arch-omap.dox
 delete mode 100644 arch/blackfin/boards/ipe337/ipe337.dox
 delete mode 100644 arch/blackfin/mach-bf.dox
 delete mode 100644 arch/mips/boards/dlink-dir-320/dlink-dir-320.dox
 delete mode 100644 arch/mips/boards/loongson-ls1b/loongson_ls1b.dox
 delete mode 100644 arch/mips/boards/qemu-malta/qemu-malta.dox
 delete mode 100644 arch/mips/boards/ritmix-rzx50/ritmix-rzx50.dox
 delete mode 100644 arch/mips/boards/tplink-mr3020/tplink-mr3020.dox
 delete mode 100644 arch/mips/mach-bcm47xx/mach-bcm47xx.dox
 delete mode 100644 arch/mips/mach-loongson/mach-loongson.dox
 delete mode 100644 arch/mips/mach-malta/mach-malta.dox
 delete mode 100644 arch/mips/mach-mips.dox
 delete mode 100644 arch/mips/mach-xburst/mach-xburst.dox
 delete mode 100644 arch/ppc/boards/pcm030/pcm030.dox
 delete mode 100644 arch/ppc/mach-ppc.dox
 delete mode 100644 arch/x86/mach-x86.dox
 delete mode 100644 scripts/doxy_filter.awk

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Signature · 8 lines
-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#17 lore raw
In reply to Sascha Hauer
Quoted 16 lines · Sascha Hauer

Hi all,

I am happy to announce new documentation for barebox.

The following series removes the in-tree documentation and replaces it with completely rewritten sphinxs based documentation. As of now we have a more or less complete user manual. There surely is room for improvements but we think that it is good enough already and surely better than what we have now.

The documentation is written with Sphinx. Sphinx is the Python Documentation Generator, see http://sphinx-doc.org/.
The files are written in reStructuredText, a format which is sufficiently easy to write and nice to read even in sourcecode format.

Quoted 4 lines

Thank you Jan, Lukas and Jochen for help writing documentation and fixing typos.

make docs will generate static html files.

... snip ...

couple quick observations before i put on my editor hat and go
through all this. first, on my fedora rawhide system, running "make docs" generates quite a few warnings, although the HTML is eventually built. is it worth digging into the doc generation warnings and trying to clean them up? anyone else building the docs on fedora rawhide and see what i'm talking about?

and just from the main page, a couple very pedantic questions:

* should the name "Barebox" be italicized or not? it seems even that single page bounces back and forth using and not using "@a" in front of the word "Barebox".

* the "Directory layout" section inserts a space on either side of the "/" in directory names, as in:

arch / * /

that just looks ... weird.

* oh, final note regarding name "Barebox", i notice some pages (like the x86_bootloader page) use the uncapitalized name "barebox" -- this really should be consistent throughout all the docs.

more later after i read more ...

rday

Signature · 12 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
author maintainer
#16 lore raw
In reply to Antony Pavlov
Quoted 10 lines · Antony Pavlov
Quoted 3 lines · On Thu, 26 Jun 2014 10:51:31 +0200 Sascha Hauer <[email protected]> wrote:

Hi all,

I am happy to announce new documentation for barebox.

Aghhhh!

All my mips documentation have gone away!

Sorry, that was not intentional. I won't merge the branch until the mips documentation is back.

Quoted 5 lines

I'm ready to convert old dox-files to new rst-files by myself, but I need some recomendations.

Could I put rst mips files into Documentation/boards/mips?

Sure, whatever suits best for you. For i.MX it makes sense to have some i.MX document describing the common i.MX stuff. I don't know enough about MIPS to know if it's best to have SoC type or generic MIPS docs.

Sascha

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
author maintainer
#11 lore raw
In reply to Holger Schurig
Quoted 8 lines · Holger Schurig

Some random annotations. Please comment, after feedback I'll provide a bunch of patches for this. I don't do the patches right away, because you may still work currently in that area, so it would only produce conflicts.

User manuel "2. System setup" should be in an appendix. Nothing here is really related to barebox itself. It contains just helpful hints.

Ok.

Quoted 6 lines

I would capitalize some headlines, e.g. in the user manual "3.
Barebox", "4. Networking", "6. Memory areas" etc The same for the
two headlines starting in lower-case in the main index.html. Maybe "3. barebox" can stay lowercase, because barebox is an "Eigenname", dunno. It looks however a bit ugly when it's lowercase.

I usually write barebox with a small 'b' even at the beginning of a sentence, but you're right with the other headlines, they should start with a capital letter.

Quoted 3 lines

After getting barebox there should be a brief mention of the branches, e.g. difference between next & master.

Very good. I thought that aswell, but forgot to write it.

Quoted 2 lines

Configuration: at "make menuconfig" also "make xconfig" should be mentioned.

make nconfig aswell?

Quoted 6 lines

"3.3. Compilation", shouldn't it be "make ARCH=xxx" ? Ha, maybe it's just an old habit of me ...

"3.4 Starting Barebox" could get a link to the i.MX USB downloader. Very fine tool!

This is already in Documentation/boards/imx.rst where I think is a better place.

Quoted 6 lines

"4.2. Network filesystems": hinting on automount for tftp-file system is a bit moot. Because at the "mount -t tftp AAA BBB" nothing happens, tftp is, so to say, an automount by itself. I haven't yet used NFS from barebox, but I guess it is the same there. So I'd remove the automount reference from this place completely.

I never thought about tftp being an automount by itself, but you are right. NFS is different though, it really does network transfers during mounting.

Quoted 2 lines

"5. Automount", the same, better use sdcard as an example,. not tftp.

Ok.

Quoted 3 lines

"7.2. Device parameters": Better write "HINT: barebox has ..." (e.g. with a colon). The same applies to the "NOTE" annotations.

Have you looked what is rendered with a colon? (I haven't)

Quoted 4 lines

"8.1 Hush features" should "let X=$A/2" be there? Many people (ok, it was just me) look there if they need to calculate in the shell after finding out that X=$(($A/2)) doesn't work ...

Sounds good.

Quoted 8 lines

"10. Configuration variable": this should be neared the device parameters. I'd add a hint that with "devinfo global" one can see all defined global variables.

several places: the "barebox@Genesi Efika MX Smartbook:/" should be reduced to "barebox:/", as it is usually irrelevant if that example was done on an Efika board or not.

Agreed. That was just the prompt I copy/pasted, but right, it should be reduced.

Quoted 5 lines

"11. Updating barebox", it says that a board can register an update handler, but doesn't have an example or a link to where / how this could be done. Or even a link directly to the git tree with a working example.

That would be something for a developer manual, but ok, a git link should do it for now.

Quoted 4 lines

"13. Prebootloader": the sentence "Use the barebox-flash-image link which always points to the correct image" doesn't sound like proper english.

I am open for better suggestions. I tend to stand in my own way when I think about a sentence for too long ;)

Quoted 4 lines

Abbreviation should be capizalized as well, therefore headline "ram filesystem" -> "RAM filesystem"

Yes.

Quoted 5 lines

I think that in english one should write "file systems", not "filesystems". But i may be wrong. But I'm quite sure that the word "filesystemtype" (in the RAM file system chapter) is too long for any englishman :-)

You're probably right ;)

Sascha

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
author maintainer
#18 lore raw
In reply to Robert P. J. Day
Quoted 21 lines · Robert P. J. Day

On Thu, 26 Jun 2014, Sascha Hauer wrote:

... snip ...

couple quick observations before i put on my editor hat and go
through all this. first, on my fedora rawhide system, running "make docs" generates quite a few warnings, although the HTML is eventually built. is it worth digging into the doc generation warnings and trying to clean them up? anyone else building the docs on fedora rawhide and see what i'm talking about?

and just from the main page, a couple very pedantic questions:

* should the name "Barebox" be italicized or not? it seems even that single page bounces back and forth using and not using "@a" in front of the word "Barebox".

* the "Directory layout" section inserts a space on either side of the "/" in directory names, as in:

Quoted 7 lines

arch / * /

that just looks ... weird.

* oh, final note regarding name "Barebox", i notice some pages (like the x86_bootloader page) use the uncapitalized name "barebox" -- this really should be consistent throughout all the docs.

It seems you are talking about the old doxygen docs. Please checkout the doc branch on:

git://git.pengutronix.de/git/barebox.git

There should be only one match for Barebox with a capital 'B' in

Documentation/boards/omap.rst:36:exactly behaves like an external dongle. Barebox does not automatically detect

All others are lowercase.

Sascha

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox