diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2017-09-26 22:41:56 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2017-10-01 17:10:33 +0200 |
commit | 5508510e744ce9dfaba23cb8639977f021bd29f9 (patch) | |
tree | 97030cac2a65c0f9c1821a9d043f16a9986f1a91 /package/boot/uboot-sunxi/patches/301-sunxi-add-orangepi-R1-defconfig.patch | |
parent | ba1aedafebcb5cb577c69d412ee3d4de262ccc32 (diff) | |
download | upstream-5508510e744ce9dfaba23cb8639977f021bd29f9.tar.gz upstream-5508510e744ce9dfaba23cb8639977f021bd29f9.tar.bz2 upstream-5508510e744ce9dfaba23cb8639977f021bd29f9.zip |
sunxi: add Orange Pi R1 support
The following features are working and tested:
* both Ethernet ports
* MMC
* LED
The following features are not working:
* Wifi (There is a crappy driver we could port)
* SPI flash (I haven't looked into this)
I haven't tried out the rest.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/boot/uboot-sunxi/patches/301-sunxi-add-orangepi-R1-defconfig.patch')
-rw-r--r-- | package/boot/uboot-sunxi/patches/301-sunxi-add-orangepi-R1-defconfig.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/package/boot/uboot-sunxi/patches/301-sunxi-add-orangepi-R1-defconfig.patch b/package/boot/uboot-sunxi/patches/301-sunxi-add-orangepi-R1-defconfig.patch new file mode 100644 index 0000000000..6240fe3f57 --- /dev/null +++ b/package/boot/uboot-sunxi/patches/301-sunxi-add-orangepi-R1-defconfig.patch @@ -0,0 +1,48 @@ +From 231201c71b902b5999ed9b143f2a54674cfae88a Mon Sep 17 00:00:00 2001 +From: Hauke Mehrtens <hauke@hauke-m.de> +Date: Tue, 26 Sep 2017 22:17:33 +0200 +Subject: sunxi: add orangepi R1 defconfig + +Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> +--- + board/sunxi/MAINTAINERS | 5 +++++ + configs/orangepi_r1_defconfig | 19 +++++++++++++++++++ + 2 files changed, 24 insertions(+) + create mode 100644 configs/orangepi_r1_defconfig + +--- a/board/sunxi/MAINTAINERS ++++ b/board/sunxi/MAINTAINERS +@@ -302,6 +302,11 @@ M: Jagan Teki <jagan@amarulasolutions.co + S: Maintained + F: configs/orangepi_prime_defconfig + ++ORANGEPI R1 BOARD ++M: Hauke Mehrtens <hauke@hauke-m.de> ++S: Maintained ++F: configs/orangepi_r1_defconfig ++ + PINE64 BOARDS + M: Andre Przywara <andre.przywara@arm.com> + S: Maintained +--- /dev/null ++++ b/configs/orangepi_r1_defconfig +@@ -0,0 +1,19 @@ ++CONFIG_ARM=y ++CONFIG_ARCH_SUNXI=y ++CONFIG_SPL_SPI_FLASH_SUPPORT=y ++CONFIG_MACH_SUN8I_H3=y ++CONFIG_DRAM_CLK=624 ++CONFIG_DRAM_ZQ=3881979 ++CONFIG_DRAM_ODT_EN=y ++# CONFIG_VIDEO_DE2 is not set ++CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-orangepi-r1" ++# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set ++CONFIG_CONSOLE_MUX=y ++CONFIG_SPL=y ++# CONFIG_CMD_IMLS is not set ++# CONFIG_CMD_FLASH is not set ++# CONFIG_CMD_FPGA is not set ++CONFIG_SPL_SPI_SUNXI=y ++CONFIG_SUN8I_EMAC=y ++CONFIG_USB_EHCI_HCD=y ++CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y |