forked from linux-automation/meta-lxatac
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meta-lxatac-software: rkdeveloptool: Add recipe for version 1.32
The rkdeveloptool enables communication with the Boot ROM of various Rockchip SoCs. It allows uploading software, writing/reading memory and resetting the CPU/running code. Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
...devtools/rkdeveloptool/rkdeveloptool/0001-Makefile-disable-format-truncation-errors.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 99795f8cc8137fef62ca72707df972bf7c787027 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Leonard=20G=C3=B6hrs?= <l.goehrs@pengutronix.de> | ||
Date: Tue, 12 Nov 2024 11:32:52 +0100 | ||
Subject: [PATCH] Makefile: disable format-truncation errors | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
The build fails with current compilers due to format-truncation errors. | ||
Ignore them for now. | ||
|
||
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de> | ||
--- | ||
Makefile.am | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/Makefile.am b/Makefile.am | ||
index 1b6385d..81aebf6 100644 | ||
--- a/Makefile.am | ||
+++ b/Makefile.am | ||
@@ -3,7 +3,7 @@ | ||
SUBDIRS = | ||
DIST_SUBDIRS = cfg | ||
|
||
-AM_CPPFLAGS = -Wall -Werror -Wextra -Wreturn-type -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_LARGE_FILE $(LIBUSB1_CFLAGS) | ||
+AM_CPPFLAGS = -Wall -Werror -Wno-format-truncation -Wextra -Wreturn-type -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_LARGE_FILE $(LIBUSB1_CFLAGS) | ||
|
||
bin_PROGRAMS = rkdeveloptool | ||
rkdeveloptool_SOURCES = main.cpp \ |
19 changes: 19 additions & 0 deletions
19
meta-lxatac-software/recipes-devtools/rkdeveloptool/rkdeveloptool_1.32.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
SUMMARY = "Rockchip Development Tool" | ||
DESCRIPTION = "Communicate with the Rockchip Boot ROM to upload new software \ | ||
read/write to memory locations and reset the device." | ||
HOMEPAGE = "https://github.com/rockchip-linux/rkdeveloptool" | ||
SECTION = "devel" | ||
LICENSE = "GPL-2.0-only" | ||
LIC_FILES_CHKSUM = "file://license.txt;md5=ea9445d9cc03d508cf6bb769d15a54ef" | ||
|
||
SRC_URI = "git://github.com/rockchip-linux/rkdeveloptool.git;protocol=https;branch=master \ | ||
file://0001-Makefile-disable-format-truncation-errors.patch \ | ||
" | ||
|
||
SRCREV = "46bb4c073624226c3f05b37b9ecc50bbcf543f5a" | ||
|
||
S = "${WORKDIR}/git" | ||
|
||
DEPENDS = "libusb1 udev" | ||
|
||
inherit autotools pkgconfig |