pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils



Module Name:    pkgsrc
Committed By:   rxg
Date:           Mon Jun  1 08:56:17 UTC 2026

Modified Files:
        pkgsrc/sysutils: Makefile
        pkgsrc/sysutils/u-boot: distinfo-2022.01
Added Files:
        pkgsrc/sysutils/u-boot-imx8mq-phanbell: DESCR Makefile PLIST
        pkgsrc/sysutils/u-boot-imx8mq-phanbell/files: installboot.plist
        pkgsrc/sysutils/u-boot/patches-2022.01:
            patch-arch_arm_dts_imx8mq-phanbell.dts
            patch-include_configs_imx8mq__phanbell.h

Log Message:
sysutils/u-boot-imx8mq-phanbell: add 2022.01

This package provides U-Boot for the Google's Coral Dev Board.


To generate a diff of this commit:
cvs rdiff -u -r1.1193 -r1.1194 pkgsrc/sysutils/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/sysutils/u-boot/distinfo-2022.01
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/u-boot-imx8mq-phanbell/DESCR \
    pkgsrc/sysutils/u-boot-imx8mq-phanbell/Makefile \
    pkgsrc/sysutils/u-boot-imx8mq-phanbell/PLIST
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/u-boot-imx8mq-phanbell/files/installboot.plist
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/u-boot/patches-2022.01/patch-arch_arm_dts_imx8mq-phanbell.dts \
    pkgsrc/sysutils/u-boot/patches-2022.01/patch-include_configs_imx8mq__phanbell.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/Makefile
diff -u pkgsrc/sysutils/Makefile:1.1193 pkgsrc/sysutils/Makefile:1.1194
--- pkgsrc/sysutils/Makefile:1.1193     Mon Jun  1 02:36:12 2026
+++ pkgsrc/sysutils/Makefile    Mon Jun  1 08:56:16 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1193 2026/06/01 02:36:12 rxg Exp $
+# $NetBSD: Makefile,v 1.1194 2026/06/01 08:56:16 rxg Exp $
 #
 
 COMMENT=       System utilities
@@ -838,6 +838,7 @@ SUBDIR+=    u-boot-d1-nezha
 SUBDIR+=       u-boot-de0-nanosoc
 SUBDIR+=       u-boot-hifive-unleashed
 SUBDIR+=       u-boot-hummingbird-a31
+SUBDIR+=       u-boot-imx8mq-phanbell
 SUBDIR+=       u-boot-jetson-nano
 SUBDIR+=       u-boot-jetson-tk1
 SUBDIR+=       u-boot-jetson-tx1

Index: pkgsrc/sysutils/u-boot/distinfo-2022.01
diff -u pkgsrc/sysutils/u-boot/distinfo-2022.01:1.7 pkgsrc/sysutils/u-boot/distinfo-2022.01:1.8
--- pkgsrc/sysutils/u-boot/distinfo-2022.01:1.7 Sat Dec 13 01:10:23 2025
+++ pkgsrc/sysutils/u-boot/distinfo-2022.01     Mon Jun  1 08:56:16 2026
@@ -1,8 +1,9 @@
-$NetBSD: distinfo-2022.01,v 1.7 2025/12/13 01:10:23 gutteridge Exp $
+$NetBSD: distinfo-2022.01,v 1.8 2026/06/01 08:56:16 rxg Exp $
 
 BLAKE2s (u-boot-2022.01.tar.bz2) = 54855aa008e78886dd48a25042eebedb1aee301571e578325131ed93d248c329
 SHA512 (u-boot-2022.01.tar.bz2) = d83c62bd8f0f51664d2aca329a3ce1379cfd1dfff439dccd6cfc2cb33cfef89a2b01855c97716f591b5550bfdf99e2f3aef7efa33f2e7834c820648f9eef3825
 Size (u-boot-2022.01.tar.bz2) = 17449627 bytes
+SHA1 (patch-arch_arm_dts_imx8mq-phanbell.dts) = e6c825a2bb3da2751d84f120fb8e6ff9a346965c
 SHA1 (patch-arch_arm_dts_rk3399-nanopi-r4s-u-boot.dtsi) = b7897443ab3800c1dfd2eeb32d6f155a87bd8776
 SHA1 (patch-arch_arm_lib_interrupts__64.c) = 09100688f4ba5848de5c3ed301a36d9e66a1fab7
 SHA1 (patch-arch_arm_mach-rockchip_rk3399_rk3399.c) = caa4068c635eaef5997501e154ec5cb11dcbf490
@@ -15,6 +16,7 @@ SHA1 (patch-configs_rockpro64-rk3399_def
 SHA1 (patch-drivers_pci_pcie__rockchip.c) = 5ead0933261b2cef81cd317df478e47ecc0382d4
 SHA1 (patch-drivers_usb_host_usb-uclass.c) = 754504a9dc08f888a4ef09f5ccc3cb56b5ce297a
 SHA1 (patch-include_config_distro_bootcmd.h) = d37da930903d9d80829ac3cd0da98334057b6188
+SHA1 (patch-include_configs_imx8mq__phanbell.h) = 9b4fda48dcb22c0491cbf746e69d4ea908a0dcdd
 SHA1 (patch-include_configs_rockchip-common.h) = d9aa111ec38f2f8ad64c45d42d3bc5519e27382d
 SHA1 (patch-include_configs_rockpro64_rk3399.h) = 7efd0b09cbf627dc59d2a23a76dd6506c9efc4c9
 SHA1 (patch-scripts_dtc_pylibfdt_Makefile) = fc3fb6c2aa6ad8e71aecb30839c9e474adcf5229

Added files:

Index: pkgsrc/sysutils/u-boot-imx8mq-phanbell/DESCR
diff -u /dev/null pkgsrc/sysutils/u-boot-imx8mq-phanbell/DESCR:1.1
--- /dev/null   Mon Jun  1 08:56:17 2026
+++ pkgsrc/sysutils/u-boot-imx8mq-phanbell/DESCR        Mon Jun  1 08:56:17 2026
@@ -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 Google's Coral Dev Board.
Index: pkgsrc/sysutils/u-boot-imx8mq-phanbell/Makefile
diff -u /dev/null pkgsrc/sysutils/u-boot-imx8mq-phanbell/Makefile:1.1
--- /dev/null   Mon Jun  1 08:56:17 2026
+++ pkgsrc/sysutils/u-boot-imx8mq-phanbell/Makefile     Mon Jun  1 08:56:17 2026
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2026/06/01 08:56:17 rxg Exp $
+
+UBOOT_TARGET=          imx8mq-phanbell
+UBOOT_CONFIG=          imx8mq_phanbell_defconfig
+UBOOT_BIN=             flash.bin
+
+UBOOT_VERSION=         2022.01
+
+BUILD_DEPENDS+=                firmware-imx>=8.31:../../sysutils/firmware-imx
+
+UBOOT_INSTALLBOOT_PLIST=       installboot.plist
+
+BIN_FILES=     ddr/synopsys/lpddr4_pmu_train_1d_dmem.bin \
+               ddr/synopsys/lpddr4_pmu_train_1d_imem.bin \
+               ddr/synopsys/lpddr4_pmu_train_2d_dmem.bin \
+               ddr/synopsys/lpddr4_pmu_train_2d_imem.bin \
+               hdmi/cadence/signed_hdmi_imx8m.bin
+
+post-extract:
+       ${CP} ${PREFIX}/share/trusted-firmware-a/imx8mq/bl31.bin ${WRKSRC}
+       cd ${PREFIX}/libdata/firmware/imx && ${CP} ${BIN_FILES} ${WRKSRC}
+
+.include "../../sysutils/trusted-firmware-a-imx8mq/buildlink3.mk"
+.include "../../sysutils/u-boot/u-boot-arm64.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/u-boot-imx8mq-phanbell/PLIST
diff -u /dev/null pkgsrc/sysutils/u-boot-imx8mq-phanbell/PLIST:1.1
--- /dev/null   Mon Jun  1 08:56:17 2026
+++ pkgsrc/sysutils/u-boot-imx8mq-phanbell/PLIST        Mon Jun  1 08:56:17 2026
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2026/06/01 08:56:17 rxg Exp $
+share/u-boot/imx8mq-phanbell/flash.bin
+share/u-boot/imx8mq-phanbell/installboot.plist

Index: pkgsrc/sysutils/u-boot-imx8mq-phanbell/files/installboot.plist
diff -u /dev/null pkgsrc/sysutils/u-boot-imx8mq-phanbell/files/installboot.plist:1.1
--- /dev/null   Mon Jun  1 08:56:17 2026
+++ pkgsrc/sysutils/u-boot-imx8mq-phanbell/files/installboot.plist      Mon Jun  1 08:56:17 2026
@@ -0,0 +1,47 @@
+<!-- $NetBSD: installboot.plist,v 1.1 2026/06/01 08:56:17 rxg Exp $ -->
+<!--
+  Copyright (c) 2021 The NetBSD Foundation, Inc.
+  All rights reserved.
+ 
+  This code is derived from software contributed to The NetBSD Foundation
+  by Jason R. Thorpe.
+ 
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions
+  are met:
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in the
+     documentation and/or other materials provided with the distribution.
+ 
+  THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+  ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+  TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+  PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+  BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+  POSSIBILITY OF SUCH DAMAGE.
+-->
+<plist>
+<dict>
+       <key>google,imx8mq-phanbell</key>
+       <dict>
+               <key>description</key>
+               <string>Google i.MX8MQ Phanbell</string>
+               <key>u-boot-install</key>
+               <array>
+                       <dict>
+                               <key>file-name</key>
+                               <string>flash.bin</string>
+                               <key>image-offset</key>
+                               <integer>33792</integer>
+                       </dict>
+               </array>
+       </dict>
+</dict>
+</plist>

Index: pkgsrc/sysutils/u-boot/patches-2022.01/patch-arch_arm_dts_imx8mq-phanbell.dts
diff -u /dev/null pkgsrc/sysutils/u-boot/patches-2022.01/patch-arch_arm_dts_imx8mq-phanbell.dts:1.1
--- /dev/null   Mon Jun  1 08:56:17 2026
+++ pkgsrc/sysutils/u-boot/patches-2022.01/patch-arch_arm_dts_imx8mq-phanbell.dts       Mon Jun  1 08:56:16 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-arch_arm_dts_imx8mq-phanbell.dts,v 1.1 2026/06/01 08:56:16 rxg Exp $
+
+MMC... *** Warning - No block device
+
+--- arch/arm/dts/imx8mq-phanbell.dts.orig      2026-05-28 09:11:12.836643690 +0000
++++ arch/arm/dts/imx8mq-phanbell.dts
+@@ -34,6 +34,7 @@
+               regulator-max-microvolt = <3300000>;
+               gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
++              startup-delay-us = <2000>;
+       };
+ };
+ 
Index: pkgsrc/sysutils/u-boot/patches-2022.01/patch-include_configs_imx8mq__phanbell.h
diff -u /dev/null pkgsrc/sysutils/u-boot/patches-2022.01/patch-include_configs_imx8mq__phanbell.h:1.1
--- /dev/null   Mon Jun  1 08:56:17 2026
+++ pkgsrc/sysutils/u-boot/patches-2022.01/patch-include_configs_imx8mq__phanbell.h     Mon Jun  1 08:56:16 2026
@@ -0,0 +1,16 @@
+$NetBSD: patch-include_configs_imx8mq__phanbell.h,v 1.1 2026/06/01 08:56:16 rxg Exp $
+
+Could not get FIT buffer of 592896 bytes
+        check CONFIG_SYS_SPL_MALLOC_SIZE
+
+--- include/configs/imx8mq_phanbell.h.orig     2026-05-28 09:02:01.159862213 +0000
++++ include/configs/imx8mq_phanbell.h
+@@ -20,7 +20,7 @@
+ #define CONFIG_SPL_BSS_START_ADDR      0x00180000
+ #define CONFIG_SPL_BSS_MAX_SIZE        0x2000 /* 8 KB */
+ #define CONFIG_SYS_SPL_MALLOC_START    0x42200000
+-#define CONFIG_SYS_SPL_MALLOC_SIZE    0x80000 /* 512 KB */
++#define CONFIG_SYS_SPL_MALLOC_SIZE     0x100000       /* 1 MB */
+ #define CONFIG_SYS_SPL_PTE_RAM_BASE    0x41580000
+ 
+ /* malloc f used before GD_FLG_FULL_MALLOC_INIT set */



Home | Main Index | Thread Index | Old Index