Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
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:47:04
Message-Id: 4f7714bf-46a4-7cdf-ec49-7fabafb254f6@gmail.com
In Reply to: Re: [gentoo-user] Re: [OT] Small and dirty 32 bit environment just to flash my Bus Pirate by tuxic@posteo.de
1 tuxic@××××××.de wrote:
2 > On 07/20 04:51, Nikos Chantziaras wrote:
3 >> On 19/07/17 19:57, tuxic@××××××.de wrote:
4 >>> Hi,
5 >>>
6 >>> My Buspirate v36a needs a newer firmware.
7 >>> Unfortunately the flasher software is only
8 >>> available in 32bit and I run a 64bit modern
9 >>> Gentoo.
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 > Now it this case changes from "weird" to "mysterious":
33 >
34 > I downloaded that file. Here it has the checksum (md5)
35 >
36 > 97122ea9062bbabcd04b2ffdee7b1bb8 pirate-loader_lnx
37 >
38 > "file pirate-loader_lnx"says:
39 > 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
40 >
41 > but "ldd" states:
42 > ldd ./pirate-loader_lnx
43 > not a dynamic executable
44 >
45 >
46 > How can "dynamically linked" and "not a dynamic executable" can be
47 > true simultanously?
48 >
49 > By the way: Executing that version prints
50 > zsh: no such file or directory: ./pirate-loader_lnx
51 > [1] 13112 exit 127 ./pirate-loader_lnx
52 >
53 > (I tried this bash with the same rsult. Seems not to be a shell
54 > interference here...)
55 >
56 > Now it looks like a problem on my system...but everything works fine
57 > here (beside the already reported problems while compiling
58 > screen/lynx)....
59 >
60 >
61 > Cheers
62 > Meino
63 >
64
65 First, I'm pretty clueless on what you are doing but notice something
66 that just may be related. Do you have zsh installed on your system? It
67 says zsh can't be found basically so perhaps it needs to be
68 installed??? I checked, I don't have it installed here but Nikos may
69 have it installed on his rig for some reason.
70
71 * app-shells/zsh
72 Available versions: 5.0.5 5.2 ~5.2-r1 ~5.3 ~5.3.1 **9999 {caps
73 debug doc examples gdbm maildir pcre static unicode}
74 Homepage: http://www.zsh.org/
75 Description: UNIX Shell similar to the Korn shell
76
77 Again, I'm pretty clueless on this but thought maybe it might help. If
78 not related, ignore me. lol I have no clue what I'm talking about. ROFL
79
80 Dale
81
82 :-) :-)

Replies

Subject Author
[gentoo-user] Re: [OT] Small and dirty 32 bit environment just to flash my Bus Pirate Nikos Chantziaras <realnc@×××××.com>