Skip to content

Commit

Permalink
rockpro64-uboot: update to 2025.01.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsndqst committed Jan 11, 2025
1 parent de143a1 commit 6885e11
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
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

0 comments on commit 6885e11

Please sign in to comment.