mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-16 10:18:23 +01:00
Merge pull request #350 from jakub-kozlowicz/kirkstone
Add NanoPi Duo2 board support
This commit is contained in:
commit
5f4a85b92b
9
conf/machine/nanopi-duo2.conf
Normal file
9
conf/machine/nanopi-duo2.conf
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#@TYPE: Machine
|
||||||
|
#@NAME: nanopi-duo2
|
||||||
|
#@DESCRIPTION: Machine configuration for the FriendlyARM NanoPi Duo2, based on the Allwinner H3 CPU
|
||||||
|
|
||||||
|
require conf/machine/include/sun8i.inc
|
||||||
|
|
||||||
|
KERNEL_DEVICETREE = "sun8i-h3-nanopi-duo2.dtb"
|
||||||
|
UBOOT_MACHINE = "nanopi_duo2_defconfig"
|
||||||
|
|
@ -0,0 +1,28 @@
|
|||||||
|
diff --git a/configs/nanopi_duo2_defconfig b/configs/nanopi_duo2_defconfig
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..1e51018
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/configs/nanopi_duo2_defconfig
|
||||||
|
@@ -0,0 +1,21 @@
|
||||||
|
+CONFIG_ARM=y
|
||||||
|
+CONFIG_ARCH_SUNXI=y
|
||||||
|
+CONFIG_SYS_TEXT_BASE=0x4a000000
|
||||||
|
+CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
||||||
|
+CONFIG_MACH_SUN8I_H3=y
|
||||||
|
+CONFIG_DRAM_CLK=408
|
||||||
|
+CONFIG_DRAM_ZQ=3881979
|
||||||
|
+CONFIG_DRAM_ODT_EN=y
|
||||||
|
+# CONFIG_VIDEO_DE2 is not set
|
||||||
|
+CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-nanopi-duo2"
|
||||||
|
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||||
|
+CONFIG_CONSOLE_MUX=y
|
||||||
|
+CONFIG_SPL=y
|
||||||
|
+CONFIG_SYS_CLK_FREQ=480000000
|
||||||
|
+# 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
|
||||||
|
|
@ -14,6 +14,7 @@ DEFAULT_PREFERENCE:sun50i = "1"
|
|||||||
SRC_URI:append:sunxi = " \
|
SRC_URI:append:sunxi = " \
|
||||||
file://0001-nanopi_neo_air_defconfig-Enable-eMMC-support.patch \
|
file://0001-nanopi_neo_air_defconfig-Enable-eMMC-support.patch \
|
||||||
file://0002-Added-nanopi-r1-board-support.patch \
|
file://0002-Added-nanopi-r1-board-support.patch \
|
||||||
|
file://0003-Add-nanopi-duo2-board-support.patch \
|
||||||
file://boot.cmd \
|
file://boot.cmd \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user