9
0
Fork 0
Commit Graph

11384 Commits

Author SHA1 Message Date
Sascha Hauer 45d593bc5e Merge branch 'for-next/mips' 2014-07-04 17:26:05 +02:00
Sascha Hauer 6724928c69 Merge branch 'for-next/marvell'
Conflicts:
	arch/arm/boards/Makefile
	arch/arm/dts/Makefile
2014-07-04 17:26:02 +02:00
Sascha Hauer 8da9a22b52 Merge branch 'for-next/imx' 2014-07-04 17:19:41 +02:00
Sascha Hauer ca7a800c1f Merge branch 'for-next/dts' 2014-07-04 17:19:41 +02:00
Sascha Hauer ce1b0d4ae3 Merge branch 'for-next/doc' 2014-07-04 17:19:40 +02:00
Sascha Hauer d9e2694a65 Merge branch 'for-next/clps711x' 2014-07-04 17:19:40 +02:00
Sascha Hauer 06b5693bdc Merge branch 'for-next/arm-versatile' 2014-07-04 17:19:40 +02:00
Sascha Hauer 9bcf0bcc06 Merge branch 'for-next/arm-errata'
Conflicts:
	arch/arm/boards/phytec-phyflex-imx6/lowlevel.c
2014-07-04 17:19:38 +02:00
Sascha Hauer 9af0ac86c9 Release v2014.07.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-04 16:58:13 +02:00
Sascha Hauer d44edfe4f9 ARM: i.MX6 Phytec phyFLEX: Add watchdog reset workaround
phyFLEX boards beginning with 1362.2 have a workaround for this
i.MX6 bug:

ERR006282 ROM code uses nonreset PFDs to generate clocks, which may
lead to random boot failures

On these boards the SD4_DAT3 pin os connected to the CMIC. The CMIC
will reset the board after 10s when the pin isn't toggled.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-04 07:44:38 +02:00
Antony Pavlov 988ecf4269 MIPS: qemu-malta_defconfig: enable PCI & network stuff
qemu usage:

  # ifconfig br0:1 172.20.0.1
  # qemu-system-mips -nodefaults -nographic -M malta -m 256 \
    -serial stdio -monitor null \
    -bios ./barebox-flash-image \
    -net nic,vlan=0,model=rtl8139 \
    -net tap,vlan=0,script=net_br0.sh

  ...

  barebox:/ eth0.ipaddr=172.20.0.2
  barebox:/ eth0.serverip=172.20.0.1
  barebox:/ ping 172.20.0.1
  phy0: Link is up - 100/Full
  host 172.20.0.1 is alive
  barebox:/

Sample net_br0.sh (for connecting to br0 interface, so you can
connect barebox to your real network):

  #!/bin/sh

  brctl addif br0 $1
  ifconfig $1 up

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-04 07:36:16 +02:00
Antony Pavlov 657f7eac3f MIPS: add PCI support for GT64120-based Malta board
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-04 07:36:16 +02:00
Antony Pavlov a7c925bf03 net: add RealTek RTL-8139 PCI Ethernet driver
This driver is based on Linux 2.6.39 8139too driver.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-04 07:35:47 +02:00
Antony Pavlov 7a9bfaadab commands: add 'lspci' command
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-04 07:35:47 +02:00
Antony Pavlov 7420866543 PCI: initial commit
used shorten version of linux-2.6.39 pci_ids.h

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-04 07:35:47 +02:00
Antony Pavlov eb062ecbdf MIPS: add dma_alloc_coherent()
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-04 07:35:47 +02:00
Antony Pavlov e829b7c0c8 linux/ioport.h: include missed <linux/list.h>
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-04 07:35:47 +02:00
Robert P. J. Day 0ad478b4c2 splash.c: Add that .png files are suitable as splash images.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-04 07:34:10 +02:00
Robert P. J. Day b7d2e23fe2 Documentation: usb chapter of user manual
A number of minor fixes, and including the help output from the
"dfu-util" command for the benefit of the reader.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-04 07:33:28 +02:00
Robert P. J. Day 1df8c9efbf Documentation: Various tweaks to user manual, device tree chapter.
Grammar, typoes, font, link fixes.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-04 07:32:21 +02:00
Robert P. J. Day 4d62410b74 Documentation: defaultenv chapter from user manual.
A number of grammar fixes, typoes, font changes from the defaultenv-2
chapter.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-04 07:30:37 +02:00
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
Renaud Barbier c8890e057a mtd: delete partition erase size initialisation
Delete the partition erase size initialisation to let the code
that follows determine the biggest partition erase size.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-03 09:00:06 +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
Sascha Hauer 621266d3a4 automount: check for recursive automount
automount_mount calls run_command which may trigger an automount
again. This results in an endless loop. A simple way to trigger
this is:

mkdir /x; automount /x false; cd /x; something

Use a static variable to detect if we are currently in automount_mount()
and bail out if we are.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-03 08:16:42 +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 477199c684 menutree: let it select GLOB and GLOB_SORT
The menutree doesn't select CONFIG_GLOB, but it depends on it. Without
it will just hang. So let it select it automatically. Also remove the
dependency of CONFIG_GLOB on CONFIG_HUSH, because glob() will run with
the simple shell as well.

Also let CONFIG_MENUTREE select on CONFIG_GLOB_SORT. While is not
strictly needed, many people use menu/00-foo menu/10-bar menu/20-barf
to sort their menu entries. So select it out of convenience.

Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-02 07:26:55 +02:00
Lucas Stach f3127d1c1f arm: imx6: rename hummingboard directory to microsom
The rule in barebox is to name the directories after
the modules. As hummingboard is just one of the
carriers for the MicroSOM module, name the directory
accordingly.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-01 08:41:44 +02:00
Lucas Stach 691211c8bb arm: imx6: move imx6_init_lowlevel to single initcall
Instead of repeating the same lowlevel init for every board
move it to it's own initcall.

Avoids code bloat and shaves off almost 1.5kB of uncompressed
barebox size for a default imx_v7_defconfig build.

For boards wherethe hostname setup was done in  the postcore
initcall we move this to a device initcall to get it out of
the way.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-01 08:41:44 +02:00
Christian Hemp 14552dddce imx6: add new chip revisions
Add new chip revisions for the new tap-out TO1.5 (i.MX6Q/D) and TO1.2
(i.MX6DL/S)

Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-30 08:14:26 +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
Antony Pavlov ba9b3bc6b9 MIPS: ritmix-rzx50_defconfig: enable gpio stuff
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-06-27 21:40:07 +02:00