aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-sunxi/patches/251-sun8i-h3-zeropi-add-defconfig.patch
diff options
context:
space:
mode:
authorArturas Moskvinas <arturas.moskvinas@gmail.com>2020-08-11 23:03:53 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2020-10-11 18:29:26 +0200
commit679db02b10474e8a685baeecc37ddd511f1d4808 (patch)
treec7a0602059950aee8bb4dfe927cf0d59f2ce9ef1 /package/boot/uboot-sunxi/patches/251-sun8i-h3-zeropi-add-defconfig.patch
parent37e62ec4ec811cb6d2c8c0b25202ad551e035413 (diff)
downloadupstream-679db02b10474e8a685baeecc37ddd511f1d4808.tar.gz
upstream-679db02b10474e8a685baeecc37ddd511f1d4808.tar.bz2
upstream-679db02b10474e8a685baeecc37ddd511f1d4808.zip
sunxi: add support for FriendlyArm Zeropi
Specification CPU: Allwinner H3, Quad-core Cortex-A7 Up to 1.2GHz DDR3 RAM: 256MB/512MB Connectivity: 10/100/1000Mbps Ethernet USB Host: Type-A x 1 MicroSD Slot x 1 MicroUSB: for power input only Debug Serial Port: 4Pin, 2.54 mm pitch pin header Power Supply: DC 5V/2A PCB Dimension: 40 x 40 x 1.2mm Installation: Burn the image file to an SD Card with dd or any image burning tool Boot ZeroPi from the SD Card The following features are working and tested: Ethernet port 10/100/1000M Ethernet Remarks: SBC is mostly compatible and boots with FriendlyARM NanoPI M1 plus DTS also (zeropi has no working hdmi) Signed-off-by: Arturas Moskvinas <arturas.moskvinas@gmail.com>
Diffstat (limited to 'package/boot/uboot-sunxi/patches/251-sun8i-h3-zeropi-add-defconfig.patch')
-rw-r--r--package/boot/uboot-sunxi/patches/251-sun8i-h3-zeropi-add-defconfig.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/boot/uboot-sunxi/patches/251-sun8i-h3-zeropi-add-defconfig.patch b/package/boot/uboot-sunxi/patches/251-sun8i-h3-zeropi-add-defconfig.patch
new file mode 100644
index 0000000000..76e333298e
--- /dev/null
+++ b/package/boot/uboot-sunxi/patches/251-sun8i-h3-zeropi-add-defconfig.patch
@@ -0,0 +1,24 @@
+--- /dev/null
++++ b/configs/zeropi_defconfig
+@@ -0,0 +1,21 @@
++CONFIG_ARM=y
++CONFIG_ARCH_SUNXI=y
++CONFIG_MACH_SUN8I_H3=y
++CONFIG_DRAM_CLK=408
++CONFIG_DRAM_ZQ=3881979
++CONFIG_DRAM_ODT_EN=y
++CONFIG_MACPWR="PD6"
++# CONFIG_VIDEO_DE2 is not set
++CONFIG_NR_DRAM_BANKS=1
++CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-zeropi"
++# 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_SUN8I_EMAC=y
++CONFIG_USB_EHCI_HCD=y
++CONFIG_USB_EHCI_HCD=y
++CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y