Skip to content

Commit

Permalink
meta-lxatac-software: rkdeveloptool: Add recipe for version 1.32
Browse files Browse the repository at this point in the history
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
hnez committed Nov 12, 2024
1 parent 8ac553f commit f9497a8
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
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 \
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

0 comments on commit f9497a8

Please sign in to comment.