Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: [OT] Small and dirty 32 bit environment just to flash my Bus Pirate
Date: Thu, 20 Jul 2017 03:11:20
Message-Id: 20170720031109.n2h2ebugp4rccyf4@solfire
In Reply to: [gentoo-user] Re: [OT] Small and dirty 32 bit environment just to flash my Bus Pirate by Nikos Chantziaras
1 On 07/20 04:51, Nikos Chantziaras wrote:
2 > On 19/07/17 19:57, tuxic@××××××.de wrote:
3 > > Hi,
4 > >
5 > > My Buspirate v36a needs a newer firmware.
6 > > Unfortunately the flasher software is only
7 > > available in 32bit and I run a 64bit modern
8 > > Gentoo.
9 >
10 > Is this the tool?
11 >
12 > https://github.com/DangerousPrototypes/Bus_Pirate/blob/master/package/BPv3-firmware/pirate-loader_lnx
13 >
14 > That is a dynamically linked executable. I just ran it on my 64-bit Gentoo:
15 >
16 >
17 > $ ./pirate-loader_lnx
18 > +++++++++++++++++++++++++++++++++++++++++++
19 > Pirate-Loader for BP with Bootloader v4+
20 > Loader version: 1.0.2 OS: Linux
21 > +++++++++++++++++++++++++++++++++++++++++++
22 >
23 > pirate-loader usage:
24 >
25 > ./pirate-loader --dev=/path/to/device --hello
26 > ./pirate-loader --dev=/path/to/device --hex=/path/to/hexfile.hex [
27 > --verbose
28 > ./pirate-loader --simulate --hex=/path/to/hexfile.hex [ --verbose
29 >
30 >
31
32
33 Now it this case changes from "weird" to "mysterious":
34
35 I downloaded that file. Here it has the checksum (md5)
36
37 97122ea9062bbabcd04b2ffdee7b1bb8 pirate-loader_lnx
38
39 "file pirate-loader_lnx"says:
40 pirate-loader_lnx: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.8, with debug_info, not stripped
41
42 but "ldd" states:
43 ldd ./pirate-loader_lnx
44 not a dynamic executable
45
46
47 How can "dynamically linked" and "not a dynamic executable" can be
48 true simultanously?
49
50 By the way: Executing that version prints
51 zsh: no such file or directory: ./pirate-loader_lnx
52 [1] 13112 exit 127 ./pirate-loader_lnx
53
54 (I tried this bash with the same rsult. Seems not to be a shell
55 interference here...)
56
57 Now it looks like a problem on my system...but everything works fine
58 here (beside the already reported problems while compiling
59 screen/lynx)....
60
61
62 Cheers
63 Meino

Replies