9
0
Fork 0
Commit Graph

11293 Commits

Author SHA1 Message Date
Sascha Hauer b48241aabb scripts/setupmbr: remove doxygen docs
This text is now in Documentation/boards/x86.rst.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-03 09:08:05 +02:00
Robert P. J. Day aac1b35c88 Documentation: Numerous typoes/fixes in first few chapters of user manual.
Doc fixes such as:

 * font changes
 * spelling
 * punctuation
 * capitalization

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-03 08:32:29 +02:00
Robert P. J. Day 009e5365d0 Documentation: User manual, "barebox" section
Various grammar/font fixes to that section, including adding an
additional section describing how to properly do "out of tree"
configuration and building.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-02 07:50:50 +02:00
Robert P. J. Day 42b936ba58 Makefile: Add missing closing quote for "make help"
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-02 07:50:50 +02:00
Robert P. J. Day 37b2195545 Documentation: Fix glossary entry, "FTD" -> "FDT"
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-02 07:50:50 +02:00
Robert P. J. Day f0333dda0e Documentation: device tree bindings.
Adjusted Sphinx markup for devicetree bindings pages.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-02 07:50:50 +02:00
Robert P. J. Day feacb774a8 Documentation: Minor editing changes to filesystems content.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-02 07:50:50 +02:00
Robert P. J. Day d12f62829e Documentation: Clean up sandbox.rst, use definition list.
Some minor cleanup to the sandbox.rst documentation file, mostly
involving using a definition list for the options.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-02 07:50:49 +02:00
Robert P. J. Day 0bee49e72c Documentation/boards/: Numerous grammar/typo/rendering fixes.
Various fixes related to fonts, rendering, grammar, etc., such as:

* spelling mistakes
* hyphenation
* capitalization for proper names
* proper bullet list formatting
* sentence structure

and so on.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-02 07:50:49 +02:00
Antony Pavlov baebac06f3 Documentation: add mips boards files
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-02 07:50:49 +02:00
Holger Schurig 3332609187 doc: link back from variables to device parameters
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-27 21:46:59 +02:00
Holger Schurig 5a18d484f2 doc: move variables near device parameters
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-27 21:46:59 +02:00
Holger Schurig 7d8c09a630 doc: reformat overly long lines
Lines over 120 are just too long :-)

Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-27 21:46:59 +02:00
Holger Schurig 4845d8e354 doc: remove board type from barebox prompt examples
I kept however the one example that directly demos the bootup on an
Efika board.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-27 21:46:58 +02:00
Holger Schurig 0b293a5397 doc: add hint on how to calculate in hush
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-27 21:46:58 +02:00
Holger Schurig d4efb42f80 doc: add colon after NOTE and HINT
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-27 21:45:34 +02:00
Holger Schurig ce9d79cc4f doc: mention "make xconfig"
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-27 21:45:34 +02:00
Holger Schurig 421657aab4 doc: filesystemtype -> filesystem type
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-27 21:45:34 +02:00
Holger Schurig 22c0ee7fe3 doc: only include own download chapter
Also make this download chapter note the next branch.

Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-27 21:45:34 +02:00
Holger Schurig cbd9947fe0 doc: start (almost) all headlines with a capital
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-27 21:45:34 +02:00
Holger Schurig 70e49ff162 doc: make "System setup" an appendix
Note that I used "Appendix: " as text, because it looks like
python-sphinx doesn't know about appendices.

Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-27 21:45:34 +02:00
Holger Schurig 4251f46ea5 doc: .gitignore generated files
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-27 21:45:34 +02:00
Sascha Hauer 3fef396bb4 Documentation: Add new sphinxs docs
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.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-26 11:07:10 +02:00
Sascha Hauer 7e65163b91 Documentation: remove devicetree docs
Remove the barebox devicetree documentation. It will
be replaced with sphinx based documentation later.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-26 10:12:04 +02:00
Sascha Hauer fb619a75fd Documentation: remove remaining documentation
This removes the documentation texts in Documentation/. It will
be replaced with sphinx based documentation later.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-26 10:11:10 +02:00
Sascha Hauer 98360be0fe Documentation: remove doxygen documentation
The doxygen documentation is long outdated. Remove it. It will
be replaced with sphinx based documentation later.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-26 10:09:52 +02:00
Sascha Hauer 7b82f54858 commands: addpart: Improve description
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-26 09:45:14 +02:00
Jan Luebbe 5bda5b7764 automount: fix description typo
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
2014-06-26 09:45:14 +02:00
Jan Luebbe e195321a03 ubiformat: avoid macros in help text
To simplify parsing of the help strings, we need to avoid using
macros there.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
2014-06-26 09:45:14 +02:00
Sascha Hauer bbc70303c7 kernel-install: fix return value check for getline
getline returns the number of characters read, so check for
ret < 0 instead of ret.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-26 09:44:47 +02:00
Sascha Hauer 40d89c4977 ifup: Add comment why xxx-discover files have to be skipped
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-23 10:05:40 +02:00
Sascha Hauer b61f924334 ARM: i.MX efika-sb: switch otg port to utmi mode
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-23 09:29:53 +02:00
Sascha Hauer 7aa5486aa0 ARM: imx_v7_defconfig: update
Enable blspec and menutree support which was lost.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-23 09:14:46 +02:00
Sascha Hauer 096e5c856b net: ifup: skip *-discover files for ifup -a
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-23 09:14:31 +02:00
Sascha Hauer 429717b48c boot: Fix boot -m
We have to continue when bootentries_collect succeeds, not when it fails.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-19 09:43:09 +02:00
Antony Pavlov 636052ce1d commands: gpio_direction_output: add missed VALUE parameter to help message
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-17 20:35:40 +02:00
Philipp Zabel cfd028800e ARM: AM335x: Beaglebone: Fix memory setup for Beaglebone black
Commit 0d6392de4a introduced a stripped
down device tree used for both white and black Beaglebone variants
that included the 256 MiB memory node from am335x-bone-common.dtsi.
This leads to the following error in the MLO:

    mmu: Critical Error: Can't request SDRAM region for ttb at 9fff4000

This patch removes the (for the Beaglebone black) invalid memory size
from the common device tree and instead registers the memory bank
manually in the board file.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-17 20:33:53 +02:00
Herve Codina 3ee907d89e mtd: use long long dev param for size
Signed-off-by: Herve Codina <Herve.CODINA@celad.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-13 06:27:34 +02:00
Herve Codina f2e86a2964 param: Add support for long long read only dev param
Signed-off-by: Herve Codina <Herve.CODINA@celad.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-13 06:27:34 +02:00
Sascha Hauer aca00bb719 ARM: Phytec-phyCARD-imx27: Add missing compatible check
Only run pca100 code when it's actually a pca100. While at it
consolidate two initcalls.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-12 08:33:55 +02:00
Sascha Hauer 693b92d58a Merge branch 'pu/mii-tool' 2014-06-11 08:48:45 +02:00
Sascha Hauer 40a1897e88 mips: Fix dtb build rules
Add intermediate .S files to .SECONDARY. Otherwise make deletes them
and regenerates them each build.
Also remove KBUILD_DTBS since the make system descends in dts/ anyway.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-11 08:48:39 +02:00
Sascha Hauer 7eb8f2a59c mii-tool: Fix gigabit advertise / link partner ability mixup
bmcr2 contains the gigabit advertise bits and lpa2 contains the gigabit
link partner ability bits, not the other way round.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-11 08:47:40 +02:00
Sascha Hauer e5a0223b9e mii-tool: Fix gigabit link test
media_list tests for gigabit phys like this:

if (mask & BMCR_SPEED1000)

mask does not contain the value of the BMCR register though, so the
test is completely bogus. Test for mask2 instead which is only
nonzero when the phy has gigabit capabilities.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-11 08:47:40 +02:00
Sascha Hauer 68376f82e8 mii-tool: Fix string length
media_list writes into a static string. Worst case length of this string
is 125 bytes, but the function only allocates 100 bytes. Use 256 bytes which
is long enough for some extensions.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-11 08:47:40 +02:00
Antony Pavlov 8e89bc594a treewide: remove address of the Free Software Foundation
The FSF address has changed; The FSF site says that
address is

  Free Software Foundation
  51 Franklin Street, Fifth Floor
  Boston, MA 02110-1301
  USA

(see http://www.fsf.org/about/contact/)

Instead of updating it each time the address changes,
just drop it completely treewide.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-11 08:35:25 +02:00
Sascha Hauer 70579ca94f mtd: partition: implement lock/unlock
CFI Nor flashes need lock/unlock which is not implemented for partitions.
Fix this.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-10 13:55:23 +02:00
Sascha Hauer 02fed023e1 mtd: partition: Fix multi eraseregion chips
The current code counts the eraseregions a new partition spans and
sets the partitions number of eraseregions accordingly, but the code
forgets to allocate and fill in the eraseregions for the partition
mtd device. This makes the erase operation crash with a NULL pointer
exception.
This patch fixes this with the same approach the kernel uses: Set
the number of eraseregions to 1 unconditionally and the eraseregion
size to the maximum of the eraseregions found in the partition.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-10 13:52:03 +02:00
Antony Pavlov 436ea81f52 MIPS: dts: add .gitignore for generated files
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-10 09:08:57 +02:00
Antony Pavlov 6af1781bbb make .gitignore files visible to git
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-10 09:08:57 +02:00