~increscent/rkdeveloptool

2fa97502 — Robert Williams 3 months ago main
Messing around with rkdeveloptool
v1.32:
1.support to upgrade 356x loader

Signed-off-by: liuyi <liuyi@rock-chips.com>
1.fix erase ubi bug
2.fix download ubi bug

Signed-off-by: liuyi <liuyi@rock-chips.com>
1.support erase block forcely
2.fix create gpt bug

Signed-off-by: liuyi <liuyi@rock-chips.com>
fix compile notes in the readme.txt

Signed-off-by: liuyi <liuyi@rock-chips.com>
0dcb0a4c — liuyi 2 years ago
1.support to write ubi image
2.cut off iconv reference

Signed-off-by: liuyi <liuyi@rock-chips.com>
468237fe — liuyi 2 years ago
1.support to write ubi image
2.cut off iconv reference

Signed-off-by: liuyi <liuyi@rock-chips.com>
6e92ebcf — Open Source Software for Rockchip SoCs(moved to https://github.com/rockchip-linux/) 3 years ago
Merge pull request #42 from nullr0ute/gcc9-fixes

Use signed char for variable
aca206f7 — Peter Robinson 3 years ago
Use signed char for variable

Architectures other than x86 don't by default treat char as signed so
be explicit so the build doesn't fail when building on other arches
such as Arm.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
c49bf47e — Kever Yang 3 years ago
fix array boundry error

g++ -DHAVE_CONFIG_H -I. -I./cfg  -Wall -Werror -Wextra -Wreturn-type
-fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_LARGE_FILE
-I/usr/include/libusb-1.0    -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c
-o main.o main.cpp
main.cpp: In function 'bool unpackBoot(char*)':
main.cpp:1734:11: error: array subscript 20 is outside array bounds of
'char [20]' [-Werror=array-bounds]1734 |  str[len] = 0;|  ~~~~~~~~~^~~
main.cpp:1772:7: note: while referencing 'name'1772 |  char name[MAX_NAME_LEN];|       ^~~~
cc1plus: all warnings being treated as errors
make[1]: *** [Makefile:475: main.o] Error 1

Reported-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
5e44dcd9 — Open Source Software for Rockchip SoCs(moved to https://github.com/rockchip-linux/) 3 years ago
Merge pull request #39 from cmuellner/compilation

Fix compilation issue in split_item().
cd6053d2 — Caesar Wang 3 years ago
Revert "Fixed Build Failed - gcc 8.2.0"

This reverts commit c43947cfb1e6cbd1a4bdf163bec449cde8bdc777.
04dfeff1 — Open Source Software for Rockchip SoCs(moved to https://github.com/rockchip-linux/) 3 years ago
Merge pull request #38 from cmuellner/parser

parse_parameter: Continue parsing after 'mtdparts'.
cb608d88 — Open Source Software for Rockchip SoCs(moved to https://github.com/rockchip-linux/) 3 years ago
Merge pull request #31 from KL-Yang/master

Fixed Build Failure - gcc 8.2.0
02bc7763 — Christoph Muellner 3 years ago
Fix compilation issue in split_item().

Recent compilers complain with the following message:

  main.cpp: In function ‘void split_item(STRING_VECTOR&, char*)’:
  main.cpp:2840:10: error: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying as many bytes from a string as its length

This patch addresses this issue.

Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
8be0e034 — Christoph Muellner 3 years ago
parse_parameter: Continue parsing after 'mtdparts'.

The parse_paramter loop iterates over a parameter.txt file's contents
and parses that line-by-line. However, the current implementation
silently stops after parsing 'mtdparts'. This is problematic if
a 'uuid' token is found in one of the following lines.

This patch addresses the problem, by simply continue to iterate
over the next lines after 'mtdparts'.

Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
c43947cf — yangkunlun 3 years ago
Fixed Build Failed - gcc 8.2.0

ERROR:

main.cpp:2841:10: error: ‘char* strncpy(char*, const char*, size_t)’
output truncated before terminating nul copying as many bytes from
a string as its length [-Werror=stringop-truncation]

Since the allocation is only 100*char, the reasonable fix would be
limit the strncpy to only (100-1)*char.
72c04fec — Open Source Software for Rockchip SoCs(moved to https://github.com/rockchip-linux/) 4 years ago
Merge pull request #27 from gonzoua/freebsd_support

Fix iconv detection for FreeBSD
610bb714 — Oleksandr Tymoshenko 4 years ago
Fix iconv detection for FreeBSD

Signed-off-by: Oleksandr Tymoshenko <gonzo@bluezbox.com>
Next