pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/u-boot-pocketchip Add U-Boot package for Next...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2770680e12f3
branches:  trunk
changeset: 367269:2770680e12f3
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sun Aug 27 19:24:55 2017 +0000

description:
Add U-Boot package for NextThingCo PocketC.H.I.P. The config is derived
from CHIP_defconfig, and adds support for enabling the display.

diffstat:

 sysutils/u-boot-pocketchip/DESCR                      |   5 ++
 sysutils/u-boot-pocketchip/Makefile                   |  10 +++++
 sysutils/u-boot-pocketchip/PLIST                      |   2 +
 sysutils/u-boot-pocketchip/files/PocketCHIP_defconfig |  38 +++++++++++++++++++
 4 files changed, 55 insertions(+), 0 deletions(-)

diffs (71 lines):

diff -r 1b10a94aec75 -r 2770680e12f3 sysutils/u-boot-pocketchip/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-pocketchip/DESCR  Sun Aug 27 19:24:55 2017 +0000
@@ -0,0 +1,5 @@
+U-Boot is a bootloader for embedded boards based on PowerPC, ARM, MIPS and
+several other processors, which can be installed in a boot ROM and used to
+initialize and test the hardware or to download and run application code.
+
+This package provides U-Boot for the NextThing PocketC.H.I.P.
diff -r 1b10a94aec75 -r 2770680e12f3 sysutils/u-boot-pocketchip/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-pocketchip/Makefile       Sun Aug 27 19:24:55 2017 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1 2017/08/27 19:24:55 jmcneill Exp $
+
+UBOOT_TARGET=          pocketchip
+UBOOT_CONFIG=          PocketCHIP_defconfig
+UBOOT_BIN=             u-boot-sunxi-with-spl.bin
+
+post-extract:
+       cp ${FILESDIR}/${UBOOT_CONFIG} ${WRKSRC}/configs
+
+.include "../../sysutils/u-boot/u-boot-arm.mk"
diff -r 1b10a94aec75 -r 2770680e12f3 sysutils/u-boot-pocketchip/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-pocketchip/PLIST  Sun Aug 27 19:24:55 2017 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/27 19:24:55 jmcneill Exp $
+share/u-boot/pocketchip/u-boot-sunxi-with-spl.bin
diff -r 1b10a94aec75 -r 2770680e12f3 sysutils/u-boot-pocketchip/files/PocketCHIP_defconfig
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-pocketchip/files/PocketCHIP_defconfig     Sun Aug 27 19:24:55 2017 +0000
@@ -0,0 +1,38 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN5I=y
+CONFIG_DRAM_TIMINGS_DDR3_800E_1066G_1333J=y
+CONFIG_USB0_VBUS_PIN="PB10"
+CONFIG_VIDEO_COMPOSITE=y
+CONFIG_DEFAULT_DEVICE_TREE="sun5i-r8-chip"
+CONFIG_SPL=y
+CONFIG_SPL_I2C_SUPPORT=y
+# CONFIG_CMD_IMLS is not set
+CONFIG_CMD_DFU=y
+CONFIG_CMD_USB_MASS_STORAGE=y
+# CONFIG_SPL_DOS_PARTITION is not set
+# CONFIG_SPL_ISO_PARTITION is not set
+# CONFIG_SPL_EFI_PARTITION is not set
+CONFIG_DFU_RAM=y
+# CONFIG_MMC is not set
+CONFIG_AXP_ALDO3_VOLT=3300
+CONFIG_AXP_ALDO4_VOLT=3300
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_MUSB_GADGET=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_DOWNLOAD=y
+CONFIG_G_DNL_MANUFACTURER="Allwinner Technology"
+CONFIG_G_DNL_VENDOR_NUM=0x1f3a
+CONFIG_G_DNL_PRODUCT_NUM=0x1010
+CONFIG_OF_LIBFDT_OVERLAY=y
+
+CONFIG_I2C1_ENABLE=y
+CONFIG_AXP_GPIO=y
+CONFIG_VIDEO=y
+CONFIG_VIDEO_VGA_VIA_LCD=y
+CONFIG_VIDEO_LCD_MODE="x:480,y:272,depth:18,pclk_khz:9000,le:10,ri:5,up:3,lo:8,hs:30,vs:5,sync:3,vmode:0"
+CONFIG_VIDEO_LCD_POWER="AXP0-1"
+CONFIG_VIDEO_LCD_BL_EN="PD18"
+CONFIG_VIDEO_LCD_BL_PWM="PB2"
+CONFIG_VIDEO_CHRONTEL_CH7033=y
+CONFIG_VIDEO_CHRONTEL_CH7033_I2C_BUS=1



Home | Main Index | Thread Index | Old Index