Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rockpro64-uboot: update to 2025.01. #53925

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions srcpkgs/rockpro64-uboot/files/README.voidlinux
Original file line number Diff line number Diff line change
@@ -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
7 changes: 5 additions & 2 deletions srcpkgs/rockpro64-uboot/template
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Expand All @@ -31,6 +31,9 @@ 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
vdoc "${FILESDIR}/README.voidlinux"
vlicense Licenses/Exceptions
vlicense Licenses/README
vlicense Licenses/bsd-2-clause.txt
Expand Down