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 Fix build after 2017.09 upd...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/361283ce89ef
branches:  trunk
changeset: 370050:361283ce89ef
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Tue Oct 10 10:24:25 2017 +0000

description:
Fix build after 2017.09 update.

diffstat:

 sysutils/u-boot-pocketchip/Makefile                   |  16 ++++++--
 sysutils/u-boot-pocketchip/files/PocketCHIP_defconfig |  38 -------------------
 2 files changed, 12 insertions(+), 42 deletions(-)

diffs (68 lines):

diff -r 50b398fc6c73 -r 361283ce89ef sysutils/u-boot-pocketchip/Makefile
--- a/sysutils/u-boot-pocketchip/Makefile       Tue Oct 10 10:15:28 2017 +0000
+++ b/sysutils/u-boot-pocketchip/Makefile       Tue Oct 10 10:24:25 2017 +0000
@@ -1,10 +1,18 @@
-# $NetBSD: Makefile,v 1.1 2017/08/27 19:24:55 jmcneill Exp $
+# $NetBSD: Makefile,v 1.2 2017/10/10 10:24:25 jmcneill Exp $
 
 UBOOT_TARGET=          pocketchip
-UBOOT_CONFIG=          PocketCHIP_defconfig
+UBOOT_CONFIG=          CHIP_defconfig
 UBOOT_BIN=             u-boot-sunxi-with-spl.bin
 
-post-extract:
-       cp ${FILESDIR}/${UBOOT_CONFIG} ${WRKSRC}/configs
+UBOOT_OPTIONS+=                CONFIG_I2C1_ENABLE=y
+UBOOT_OPTIONS+=                CONFIG_AXP_GPIO=y
+UBOOT_OPTIONS+=                CONFIG_VIDEO=y
+UBOOT_OPTIONS+=                CONFIG_VIDEO_VGA_VIA_LCD=y
+UBOOT_OPTIONS+=                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\"
+UBOOT_OPTIONS+=                CONFIG_VIDEO_LCD_POWER=\"AXP0-1\"
+UBOOT_OPTIONS+=                CONFIG_VIDEO_LCD_BL_EN=\"PD18\"
+UBOOT_OPTIONS+=                CONFIG_VIDEO_LCD_BL_PWM=\"PB2\"
+UBOOT_OPTIONS+=                CONFIG_VIDEO_CHRONTEL_CH7033=y
+UBOOT_OPTIONS+=                CONFIG_VIDEO_CHRONTEL_CH7033_I2C_BUS=1
 
 .include "../../sysutils/u-boot/u-boot-arm.mk"
diff -r 50b398fc6c73 -r 361283ce89ef sysutils/u-boot-pocketchip/files/PocketCHIP_defconfig
--- a/sysutils/u-boot-pocketchip/files/PocketCHIP_defconfig     Tue Oct 10 10:15:28 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-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