Commit Graph

62 Commits

Author SHA1 Message Date
Arnout Vandecappelle
31be2ec220 boards: replace $HOST_DIR/usr/ with $HOST_DIR/ in scripts
Since things are no longer installed in $(HOST_DIR)/usr, the callers
should also not refer to it.

This is a mechanical change with
git grep -l 'HOST_DIR}\?/usr/' board | xargs sed -i 's%\(HOST_DIR}\?\)/usr/%\1/%g'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-05 15:23:13 +02:00
Chakra Divi
bd22ae58fa board: add orangepi-plus support
Signed-off-by: Chakra Divi <chakra@openedev.com>
[Thomas: remove host-uboot-tools from defconfig, already pulled by
BR2_TARGET_UBOOT_BOOT_SCRIPT, remove trailing whitespace.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-01 16:52:40 +02:00
Sergey Matyukevich
e3c1c6e41e board/orangepi: add basic support for orangepi-zero board
This patch adds basic support for orangepi-zero board.
Board support package includes the following components:

- mainline kernel v4.11
- mainline u-boot v2017.03
- extra kernel config options: spidev, spi nor flash, wifi
- dts patches to enable SPI NOR and spidev

More details about this board are available here:
- http://linux-sunxi.org/Orange_Pi_Zero

Note that at the moment networking is not supported right out of the box.
Ethernet submission to mainline kernel is a work in progress, see the
latest dwmac-sun8i branches at https://github.com/montjoie/linux

On-board SDIO WiFi chip XR819 is supported by off-the-tree wireless
driver available at https://github.com/fifteenhex/xradio

Changes from v1:

* Send patch using proper subject
* Update xr819 kernel dts patch: add compatible property

[Peter: fix s/PC/Zero/ typo]
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-06-08 21:23:38 +02:00
Peter Korsgaard
c1a9fb9ddb board/orangepi: drop redundant files
The orangepi board variants use identical post-build and post-image scripts,
so move them up to board/orangepi and add symlinks in the variant
subdirectories, similary to how we handle it for the raspberry pi variants.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-12-15 17:24:45 +01:00
Sergey Matyukevich
a1f33e0591 orangepi: add basic support for orangepi-one board
Board support package includes the following components:
- mainline u-boot 2016.09.01
- mainline kernel 4.9

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-12-15 17:11:03 +01:00
Sergey Matyukevich
d63e26e527 orangepipc: rename to orangepi-pc
Rename orangepipc files, configs, and directories:
- oragepipc_defconfig -> orangepi_pc_defconfig
- board/orangepi/orangepipc -> board/orangepi/orangepi-pc

The purpose of the patch is to improve readability before
adding other boards of orangepi family.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-12-15 17:11:00 +01:00
Peter Korsgaard
327c985ce1 configs/orangepipc: Use Linux 4.7.3
There's now an sun8i-h3-orangepi-pc dts, so we can use that and drop the
hack in the post-image script.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-09-13 17:33:02 +02:00
Peter Korsgaard
42c882ba21 orangepipc: Accommodate U-Boot environment on SD-card
As described by http://linux-sunxi.org/Bootable_SD_card#SD_Card_Layout

The space betweem 544KB..1MB is reserved / used for the u-boot environment,
so mark it as such to make sure genimage doesn't put other partitions here.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-07-02 13:19:12 +02:00
Eelco Chaudron
dbae4d1e04 configs/orangepi: Changing Linux kernel to v4.5-rc1
[Peter: use tarball for Linux kernel, use 4.4 kernel headers]
Signed-off-by: Eelco Chaudron <echaudron@xiot.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-29 17:50:11 +01:00
Peter Korsgaard
34d25ae735 orangepipc: readme.txt: fix typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-17 22:55:25 +01:00
Eelco Chaudron
1354803789 configs: add readme.txt for the orangepipc defconfig
[Thomas: minor tweaks.]

Signed-off-by: Eelco Chaudron <echaudron@xiot.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-12-29 18:05:15 +01:00
Eelco Chaudron
d7327c69c8 configs: new orangepipc_defconfig
This commit adds a configuration for the Orange Pi PC board,
<http://www.orangepi.org/orangepipc/>.

Signed-off-by: Eelco Chaudron <echaudron@xiot.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-12-28 18:05:14 +01:00