From: tsndqst <tsndqst@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] rockpro64-uboot: update to 2025.01.
Date: Sat, 11 Jan 2025 02:57:45 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-53925@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1576 bytes --]
There is a new pull request by tsndqst against master on the void-packages repository
https://github.com/tsndqst/void-packages rockpro64-uboot-2025.01
https://github.com/void-linux/void-packages/pull/53925
rockpro64-uboot: update to 2025.01.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
I tested the U-Boot install methods that I documented in the README.voidlinux file.
- Writing U-Boot to eMMC using the `/usr/lib/rockpro64-uboot/u-boot-rockchip.bin` image and booting from eMMC.
- Writing U-Boot to SPI using the `/usr/lib/rockpro64-uboot/u-boot-rockchip-spi.bin` image and booting from USB.
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/53925.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rockpro64-uboot-2025.01-53925.patch --]
[-- Type: text/x-diff, Size: 2621 bytes --]
From bc2ceb2ec0219e2ca8e08974e6e1053524654121 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Wed, 8 Jan 2025 17:32:35 -0600
Subject: [PATCH] rockpro64-uboot: update to 2025.01.
---
srcpkgs/rockpro64-uboot/files/README.voidlinux | 17 +++++++++++++++++
srcpkgs/rockpro64-uboot/template | 6 ++++--
2 files changed, 21 insertions(+), 2 deletions(-)
create mode 100755 srcpkgs/rockpro64-uboot/files/README.voidlinux
diff --git a/srcpkgs/rockpro64-uboot/files/README.voidlinux b/srcpkgs/rockpro64-uboot/files/README.voidlinux
new file mode 100755
index 00000000000000..df252f4c3eec16
--- /dev/null
+++ b/srcpkgs/rockpro64-uboot/files/README.voidlinux
@@ -0,0 +1,17 @@
+There are different options for where to install U-Boot on the RockPro64.
+Below are commands that can be used to write U-Boot to various locations.
+
+# Write U-Boot to SD Card or eMMC
+
+# SD Card
+export target_dev=/dev/mmcblk1
+# eMMC
+export target_dev=/dev/mmcblk2
+dd if=/usr/lib/rockpro64-uboot/u-boot-rockchip.bin of=${target_dev} seek=64
+
+
+# Write U-Boot to SPI
+dd if=/usr/lib/rockpro64-uboot/u-boot-rockchip-spi.bin of=/dev/mtd0
+
+For more information see the U-Boot documentation:
+https://github.com/u-boot/u-boot/blob/v2025.01/doc/board/rockchip/rockchip.rst
diff --git a/srcpkgs/rockpro64-uboot/template b/srcpkgs/rockpro64-uboot/template
index 7ee2af77590733..b2023da47d4776 100644
--- a/srcpkgs/rockpro64-uboot/template
+++ b/srcpkgs/rockpro64-uboot/template
@@ -1,6 +1,6 @@
# Template file for 'rockpro64-uboot'
pkgname=rockpro64-uboot
-version=2024.07
+version=2025.01
revision=1
archs="aarch64*"
hostmakedepends="bison flex bc dtc which python3 swig python3-devel python3-setuptools python3-pyelftools openssl-devel libuuid-devel gnutls-devel ncurses-libtinfo-devel"
@@ -11,7 +11,7 @@ maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
license="GPL-2.0-or-later, BSD-3-Clause"
homepage="https://www.denx.de/wiki/U-Boot/"
distfiles="https://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
-checksum=f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f
+checksum=cdef7d507c93f1bbd9f015ea9bc21fa074268481405501945abc6f854d5b686f
do_configure() {
unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
@@ -31,6 +31,8 @@ do_build() {
do_install() {
vinstall idbloader.img 0644 usr/lib/rockpro64-uboot
vinstall u-boot.itb 0644 usr/lib/rockpro64-uboot
+ vinstall u-boot-rockchip-spi.bin 0644 usr/lib/rockpro64-uboot
+ vinstall u-boot-rockchip.bin 0644 usr/lib/rockpro64-uboot
vlicense Licenses/Exceptions
vlicense Licenses/README
vlicense Licenses/bsd-2-clause.txt
next reply other threads:[~2025-01-11 1:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-11 1:57 tsndqst [this message]
2025-01-11 2:04 ` tsndqst
2025-01-11 2:17 ` [PR PATCH] [Updated] " tsndqst
2025-01-11 11:52 ` Anachron
2025-01-11 13:29 ` tsndqst
2025-01-23 20:58 ` Anachron
2025-01-23 21:12 ` Anachron
2025-01-23 21:22 ` Anachron
2025-02-02 13:08 ` Anachron
2025-02-04 2:07 ` tsndqst
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-53925@inbox.vuxu.org \
--to=tsndqst@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).