aboutsummaryrefslogtreecommitdiff
path: root/board/orangepi
Commit message (Collapse)AuthorAgeFilesLines
* configs/orangepi_r1_defconfig: fix typo in commentGravatar Yann E. MORIN2021-02-031-1/+1
| | | | | | | | | | In commit 38d04e6b1341, I did a last-minute change by adding the comment to explain where the PARTLABEL was coming from, and introduced a typo in that comment. Fix it. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* board/orangepi-zero-plus2: switch to GPT for PARTLABEL supportGravatar Sergey Matyukevich2021-02-033-35/+9
| | | | | | | | | | | Patch that pins mmc indexes was not accepted to mainline kernel. Drop that patch and switch to GPT to use partition labels. For GPT the name of the partition in genimage.cfg is used as the label for that partition. Note that the default GPT partition table location conflicts with the SPL location, so move GPT table after bootloaders. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* configs/orangepi_zero_plus2_defconfig: bump BSP versionsGravatar Sergey Matyukevich2021-01-281-0/+33
| | | | | | | | | | Bump Linux to 5.10.10 and U-Boot to 2020.10. In the new kernel sunxi-mmc driver has been switched to asynchronous probe. As a result, mmc indexes can be shuffled breaking board boot. Add patch that pins mmc indexes to their original ordered values. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/orangepi_r1_defconfig: change to GPT partitions for root=PARTLABEL ↵Gravatar Peter Korsgaard2021-01-252-4/+8
| | | | | | | | | | | | | | | | | | support GPT provides partition labels, which can be used to tell the kernel to find the rootfs based on it (root=PARTLABEL=rootfs) as a nicer/more extensible solution than the MBR disk signature / PARTUUID. When using GPT, the name of the partition in genimage.cfg is used as the label for that partition. The default GPT partition table location unfortunately conflicts with the SPL location, so move the 16KB GPT table after it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> [yann.morin.1998@free.fr: add the comment about 'rootfs'] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* configs/orangepi_r1_defconfig: bump kernel to 5.10.10, u-boot to 2020.10Gravatar Peter Korsgaard2021-01-242-1/+3
| | | | | | | | | | | The probing order of the two mmc controllers (sdcard and sdio wifi) has changed in kernel 5.10 since commit 21b2cec61c04bd1 (mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.4), so change to root=PARTUUID=.. instead of hardcoding /dev/mmcblkXp2. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> [yann.morin.1998@free.fr: use feedc0de as magic] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* configs/orangepi_pc_defconfig: bump kernel to 5.10.9, u-boot to 2020.10Gravatar Peter Korsgaard2021-01-231-1/+0
| | | | | | | | | HDMI support is enabled by default in sunxi_defconfig since commit c822a3ec17 (ARM: configs: sunxi: Add DRM output-related options), so drop from fragment. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board: add Orangepi Zero Plus supportGravatar Marcin Niestroj2020-11-033-0/+79
| | | | | | | | | | | | | | | Add initial support for Orangepi Zero Plus board: - U-Boot 2020.10 - Linux 5.7.19 - Default packages from buildroot This patch is based on Orangepi Zero Plus2 board support, so genimage configuration and description is copy pasted. One difference is that newer Linux and U-Boot are selected. Another difference is Ethernet support (Plus) instead of WiFi (Plus2). Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/orangepi_pc_defconfig: bump kernel to 5.8.10, u-boot to 2020.07Gravatar Peter Korsgaard2020-09-171-1/+0
| | | | | | | | Analog audio is enabled by default in sunxi_defconfig since commit 5d2408c6 (ARM: configs: sunxi: Add sun8i analog codec), so drop from fragment. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/orangepi_rk3399: new defconfigGravatar Suniel Mahesh2020-09-024-0/+104
| | | | | | | | | | | | | Add initial support for Orangepi RK3399 target with below features: - U-Boot 2020.07 - Linux 5.8.2 - Default packages from buildroot Signed-off-by: Suniel Mahesh <sunil@amarulasolutions.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [Arnout: fixate U-Boot version; remove blind BR2_TARGET_UBOOT_NEEDS_PYTHON]
* config: add defconfig for orangepi-r1Gravatar Peter Korsgaard2019-05-054-0/+84
| | | | | | | | Very similar to orangepi-zero, except that the board has a 16MB SPI flash, a 2nd ethernet port is provided through a Realtek RTL8152 and wifi is provided through a Realtek RTL8189FTV (no mainline driver, not supported). Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/orangepi_lite2: add WiFi supportGravatar Jagan Teki2018-12-162-0/+91
| | | | | | | | | | | | | | Orangepi lite2 board has AP6356S WiFi/BT combo, but does not have ethernet port. So it makes sense to enable wireless networking by default: - add broadcom wireless firmware package to image - add basic wireless tools to image - add rootfs overlay with proper NVRAM file for on-board AP6356S chip - add mdev to image to enable module autoloading - update readme.txt to test wifi Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/orangepi_lite2: new defconfigGravatar Jagan Teki2018-12-164-0/+76
| | | | | | | | | | | Add initial support for Orangepi Lite2 board with below features: - U-Boot 2018.09 - Linux 4.19.0-rc8 - Default packages from buildroot Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/orangepi_one_plus: new defconfigGravatar Jagan Teki2018-12-164-0/+78
| | | | | | | | | | | Add initial support for Orangepi One Plus board with below features: - U-Boot 2018.09 - Linux 4.19.0-rc8 - Default packages from buildroot Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* orangepi_zero_defconfig: bump linux to 4.19.3, u-boot to 2018.11Gravatar Peter Korsgaard2018-11-231-0/+3
| | | | | | | | | 4.18 brought cpufreq support for H3, but sunxi_defconfig does not enable the ondemand cpufreq govenor so the frequency is dynamically adjusted - So enable it in linux-extra.config. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* orangepi_pc_defconfig: bump linux to 4.19.3, u-boot to 2018.11Gravatar Peter Korsgaard2018-11-231-0/+2
| | | | | | | | | | 4.18 brought cpufreq support for H3, but sunxi_defconfig does not enable the driver for the sy8106a regulator used on the board or enable the ondemand cpufreq govenor so the frequency is dynamically adjusted - So enable these in linux.fragment. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/orangepi_lite: Enable HDMI and analog audio in Linux configGravatar Jan Kraval2018-06-111-0/+7
| | | | | Signed-off-by: Jan Kraval <jan.kraval@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* orangepi_pc_defconfig: bump linux to 4.17, u-boot to 2018.05Gravatar Peter Korsgaard2018-06-111-0/+3
| | | | | | | | | | 4.17 brings support for HDMI out, but sunxi_defconfig hasn't been updated to enable the drivers - So add a kernel fragment to enable them. Likewise, analog audio has been supported since 4.10, but the driver isn't enabled in sunxi_defconfig, so enable it in the fragment. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/orangepi_zero_plus2: bump linux to v4.16Gravatar Jagan Teki2018-06-051-73/+0
| | | | | | | | Bump linux as well headers to v4.16 version, this eventually drop the wifi patch since it has been merged to Linux v4.16. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/orange-pi-zero-plus2: enable WiFi supportGravatar Sergey Matyukevich2018-02-143-0/+137
| | | | | | | | | | | | | | | | | | Orange-Pi Zero Plus2 board has AP6212 WiFi/BT combo, but does not have ethernet port. So it makes sense to enable wireless networking by default: - add DTS patch enabling AP6212 WiFi/BT combo support -- this patch is on its way to mainline Linux v4.16 - enable WiFi support in kernel config - enable Broadcom brcmfmac kernel driver in kernel config - add Broadcom wireless firmware package to image - add basic wireless tools to image - add mdev to image to enable module autoloading - add rootfs overlay with proper NVRAM file for on-board AP6212 chip Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/orange-pi-zero-plus2: bump kernel and u-boot versionsGravatar Sergey Matyukevich2018-02-141-30/+0
| | | | | | | | | | | | Bump versions: - use U-Boot 2008.01 - use Linux kernel v4.15.2 Drop patch with dts sdcard fix since it has been merged to Linux v4.15. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* orangepi: drop custom post-build and post-image scriptsGravatar Sergey Matyukevich2018-01-0712-35/+0
| | | | | | | | | | | | | | | Currently in Orange Pi boards post-build script is used only to generate U-Boot boot script and post-image script is used only to generate sdcard image according to genimage configuration. However both those tasks can now be handled by generic Buildroot tools: - BR2_TARGET_UBOOT_BOOT_SCRIPT config options - support/scripts/genimage.sh script This patch drops custom scripts replacing them by generic Buildroot tools. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* board: Add Orangepi PC2 supportGravatar Jagan Teki2017-12-203-0/+82
| | | | | | | | | | | Add initial support for Orangepi PC2 board with below features: - U-Boot 2017.11 - Linux 4.14 - Default packages from buildroot Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* board: Add Orangepi Zero Plus2 supportGravatar Jagan Teki2017-12-204-0/+112
| | | | | | | | | | | | Add initial support for Orangepi Zero Plus2 board with below features: - U-Boot 2017.11 - Linux 4.14 - Default packages from buildroot Cc: zhaoyifan <zhao_steven@263.net> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* board: Add Orangepi Prime supportGravatar Jagan Teki2017-12-203-0/+82
| | | | | | | | | | | | Add initial support for Orangepi Prime board with below features: - U-Boot 2017.11 - Linux 4.14 - Default packages from buildroot Cc: zhaoyifan <zhao_steven@263.net> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* board: Add Orangepi Win/Win Plus supportGravatar Jagan Teki2017-12-203-0/+82
| | | | | | | | | | | | Add initial support for Orangepi Win/Win Plus board with below features: - U-Boot 2017.11 - Linux 4.14 - Default packages from buildroot Cc: zhaoyifan <zhao_steven@263.net> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* board/orangepi: add support for orangepi-lite boardGravatar Jan Kraval2017-12-076-0/+83
| | | | | | | | | | | | This board is quite similar to orangepi-one board. Instead of ethernet, it has RTL8189FTV SDIO WiFi chip. Board support package includes the following components: - mainline u-boot 2017.09 - mainline kernel 4.13.11 Signed-off-by: Jan Kraval <jan.kraval@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* board/orangepi: add support for orangepi-pc-plus boardGravatar Sergey Matyukevich2017-12-036-0/+83
| | | | | | | | | | | | | | | This board is a variant of orangepi-pc board. It adds 8GB eMMC and Realtek RTL8189FTV SDIO WiFi chip. This variant has a separate support in U-Boot and kernel. So it makes sense to create a separate entry for this board in buildroot. Board support package includes the following components: - mainline u-boot 2017.09 - mainline kernel 4.13.11 Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> [Thomas: add entry to DEVELOPERS file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boards: replace $HOST_DIR/usr/ with $HOST_DIR/ in scriptsGravatar Arnout Vandecappelle2017-07-051-1/+1
| | | | | | | | | | | 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>
* board: add orangepi-plus supportGravatar Chakra Divi2017-07-013-0/+72
| | | | | | | 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>
* board/orangepi: add basic support for orangepi-zero boardGravatar Sergey Matyukevich2017-06-089-0/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* board/orangepi: drop redundant filesGravatar Peter Korsgaard2016-12-156-50/+29
| | | | | | | | 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>
* orangepi: add basic support for orangepi-one boardGravatar Sergey Matyukevich2016-12-155-0/+98
| | | | | | | | | 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>
* orangepipc: rename to orangepi-pcGravatar Sergey Matyukevich2016-12-155-1/+1
| | | | | | | | | | | | 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>
* configs/orangepipc: Use Linux 4.7.3Gravatar Peter Korsgaard2016-09-131-8/+0
| | | | | | | | 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>
* orangepipc: Accommodate U-Boot environment on SD-cardGravatar Peter Korsgaard2016-07-021-0/+1
| | | | | | | | | 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>
* configs/orangepi: Changing Linux kernel to v4.5-rc1Gravatar Eelco Chaudron2016-01-292-5/+7
| | | | | | [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>
* orangepipc: readme.txt: fix typoGravatar Peter Korsgaard2016-01-171-1/+1
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs: add readme.txt for the orangepipc defconfigGravatar Eelco Chaudron2015-12-291-0/+33
| | | | | | | [Thomas: minor tweaks.] Signed-off-by: Eelco Chaudron <echaudron@xiot.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* configs: new orangepipc_defconfigGravatar Eelco Chaudron2015-12-284-0/+70
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>