Go to advanced search

by jahboater
Sun Sep 25, 2016 2:40 pm
Forum: Other programming languages
Topic: ARMv8 instructions.
Replies: 86
Views: 18918

Re: ARMv8 instructions.

Ok fair enough, if it is used that way. Most people do weard things with GAS, things that GAS allows though makes it harder to read (like using PUSH/POP, LINK/UNLINK, abusing C style comments, etc). They are not gas specific, gas just follows the ARM standards. C style comments for example (from AR...
by jahboater
Sun Sep 25, 2016 1:55 pm
Forum: General discussion
Topic: which PI do I have?
Replies: 15
Views: 2755

Re: which PI do I have?

Or

Code: Select all

cat /sys/firmware/devicetree/base/model
by jahboater
Sun Sep 25, 2016 12:56 pm
Forum: Troubleshooting
Topic: Wipe OS and reinstall OS
Replies: 5
Views: 3734

Re: Wipe OS and reinstall OS

You don't need to "wipe" or reformat the card first of course.
by jahboater
Sun Sep 25, 2016 12:54 pm
Forum: General discussion
Topic: tar.gz insallation
Replies: 4
Views: 3261

Re: tar.gz insallation

Hi how can i download, extract and install the GO v1.5.3 (http://dave.cheney.net/paste/go1.5.3.linux-arm.tar.gz) in one line of code? or with multiple lines but only via command line Download it with wget, then extract it with tar xf. As for installation, take a look at the readme. It might just be...
by jahboater
Sun Sep 25, 2016 12:47 pm
Forum: Other programming languages
Topic: ARMv8 instructions.
Replies: 86
Views: 18918

Re: ARMv8 instructions.

Paeryn wrote:Comments can either be in C format blocks /* ... */ or started with @ - No harder to read than starting with ;
The latest ARM assembler A64 has /* .. */ comments and comments started with // instead of @ - even better!

You also don't need # for literals.
by jahboater
Sun Sep 25, 2016 9:30 am
Forum: Other programming languages
Topic: ARMv8 instructions.
Replies: 86
Views: 18918

Re: ARMv8 instructions.

GCC 6.2 produced this for the half float version:- bl clock_gettime mov r0, r4 mov r1, r5 add r3, r4, #33554432 vmov.f32 s14, #1.0e+1 .L8: vld1.16 {d7[2]}, [r0]! vcvtb.f32.f16 s15, s15 cmp r3, r0 vadd.f32 s15, s15, s14 vcvtb.f16.f32 s15, s15 vst1.16 {d7[2]}, [r1]! bne .L8 and, for interest, much the...
by jahboater
Sun Sep 25, 2016 8:31 am
Forum: Other programming languages
Topic: ARMv8 instructions.
Replies: 86
Views: 18918

Re: ARMv8 instructions.

Don't you need "-ftree-vectorize" to get gcc to vectorize anything? Any comparision's of gcc vs assembler should use the latest gcc version (6.2) as the code generation for arm has improved a lot recently, the default compiler in Rasbian is 4.9 - way out of date. SIMD is the one place where the comp...
by jahboater
Sun Sep 25, 2016 8:26 am
Forum: Other programming languages
Topic: ARMv8 instructions.
Replies: 86
Views: 18918

Re: ARMv8 instructions.

I have no idea what UAL is. What I do know is that the syntax used for gas for labels, sections, immediates, comments and a good bit more is definitely inherited from the old old Unix AS (which makes since as gas was meant to replace as), and that is not nearly as neat or easy to read as ARM assemb...
by jahboater
Sat Sep 24, 2016 1:14 pm
Forum: Troubleshooting
Topic: apt-get install bc not working on pi3 Jessy
Replies: 4
Views: 6697

Re: apt-get install bc not working on pi3 Jessy

sudhir_brahma wrote:
ShiftPlusOne wrote:bc installs fine. If you're having issues, it's a symptom of a larger problem.
ShiftplusOne: are u saying that 'apt-get install bc' just works fine for you with a fresh Jessie installation on raspberry pi 3? regards Sudhir
"sudo apt install bc" worked fine for me on fresh Jessie lite/Pi3.
by jahboater
Sat Sep 24, 2016 8:33 am
Forum: Other programming languages
Topic: ARMv8 instructions.
Replies: 86
Views: 18918

Re: ARMv8 instructions.

Is there a consise readable complete list of what is no longer working with the ARMv8, as well as what is listed as depricated though still working, and what is new with the ARMv8? This does briefly mention what's missing/deprecated in v8, and I found it to be an easy to read introduction (enough t...
by jahboater
Tue Sep 20, 2016 9:57 am
Forum: Networking and servers
Topic: Gigabit ethernet on Raspberry 3
Replies: 15
Views: 69455

Re: Gigabit ethernet on Raspberry 3

Not sure if this helps but I recorded these times for different interfaces. ping -s 64000 -c 10 <host> Average round trip times (lower is better of course):- Pi3 onboard Wifi: 70.4 ms Pi3 Ethernet: 11.4 ms Pi3 GiGe/USB3: 4.4 ms Pi0 Ethernet/USB: 12.9 ms Odroid C2 GiGe: 1.8 ms The Pi3 GiGe was the An...
by jahboater
Mon Sep 19, 2016 3:59 pm
Forum: General discussion
Topic: save a variable in a database
Replies: 18
Views: 2916

Re: save a variable in a database

Pithagoros wrote:Do we need a relational database installing just to hold a counter value?
+1
Could the OP let us know why a database is required for such a basic task?

It sounds to me too, like a simple text file would be fine.
by jahboater
Mon Sep 19, 2016 8:37 am
Forum: Beginners
Topic: SD Memory
Replies: 17
Views: 2449

Re: SD Memory

emeyeraway wrote:If there's a way to "activate" the full capacity of the 64GB SD without formatting it, that would solve my problem.
Formatting the card before running WinDiskImager achieves precisely nothing, it will all be overwritten.

Have you just tried "expand filesystem" in raspi-config?
by jahboater
Thu Sep 15, 2016 5:34 pm
Forum: Raspberry Pi OS
Topic: At Peace With Raspbian.
Replies: 8
Views: 1342

Re: At Peace With Raspbian.

I just tried to install NASM and its now in the repositories!
So is YASM. But neither seem to target ARM sadly.

Code: Select all

sudo apt install nasm yasm
will install both.
Then "man nasm" or "man yasm" for info. Or "man 7 yasm_arch"
by jahboater
Thu Sep 15, 2016 4:02 pm
Forum: Troubleshooting
Topic: change netmask
Replies: 3
Views: 11113

Re: change netmask

poojapandey wrote: But i do not know how to change the subnet mark . I tried adding netmask= 255.255.2.0 in my /etc/network/interfaces file but it had no impact.
Try changing the /24 you gave in the IP addresses.
Its the CIDR notation.
by jahboater
Thu Sep 15, 2016 3:49 pm
Forum: Raspberry Pi OS
Topic: At Peace With Raspbian.
Replies: 8
Views: 1342

Re: At Peace With Raspbian.

Is there a DOS build of the version of FASM that targets the ARM ? Or one of the other NASM style assemblers for the ARM target? If so I could use DOSBox, or maybe DOSBox with HXDOS to run the win32 command line version. I don't know. It might work with HX-DOS as I cant believe it makes any complic...
by jahboater
Thu Sep 15, 2016 3:03 pm
Forum: Raspberry Pi OS
Topic: At Peace With Raspbian.
Replies: 8
Views: 1342

Re: At Peace With Raspbian.

From what I understand the ARM target for NASM is fairly good, though it is hosted only on x86.
I use nasm (or yasm) on x86 for x86 and yes they are both good. Hopefully they will be available on ARM sometime soon.
by jahboater
Thu Sep 15, 2016 2:58 pm
Forum: Raspberry Pi OS
Topic: At Peace With Raspbian.
Replies: 8
Views: 1342

Re: At Peace With Raspbian.

Thank you. Though really would like a list that is inclusive of descriptions, I do not remember Linux calls as automatically as I do RISC OS calls. Its not quite what you want, but nearly all of them have a manual page describing the library wrapper. So for example, for SYS_exit do "man exit" for t...
by jahboater
Thu Sep 15, 2016 8:25 am
Forum: Raspberry Pi OS
Topic: At Peace With Raspbian.
Replies: 8
Views: 1342

Re: At Peace With Raspbian.

What good ARM assemblers are available hosted on ARM Linux targeting ARM? NOT GAS (as) nor AsAsm . If you find one, I'd be interested too. For now, I just use "as". To be fair, it is complete, fast, and reliable. It supports both unified and divided syntaxes. How is GPIO done as fast as possible on...
by jahboater
Wed Sep 14, 2016 3:12 pm
Forum: Off topic discussion
Topic: ARMv8 RPi3
Replies: 20
Views: 3886

Re: ARMv8 RPi3

The following are obsoleted in ARMv8: • A32 SWP and SWPB instructions. • Jazelle (only trivial implementations are supported). • VFP short vectors and asynchronous bounces. • Fast Context Switch Extension (FCSE). The following are deprecated in ARMv8 and may be disabled by privileged software: • A3...
by jahboater
Tue Sep 13, 2016 7:39 pm
Forum: General discussion
Topic: Best filesystem for USB-ssd?
Replies: 3
Views: 2463

Re: Best filesystem for USB-ssd?

Why NTFS with Linux? I think it is better to use ext4 or ext2 in case the contents are not critical ( ext2 does not have journal and wears less the SSD). Yes of course ext4 is better and faster, but it causes problems if the OP ever wants to connect his SSD to a Windows PC (which probably wont even...
by jahboater
Tue Sep 13, 2016 7:15 pm
Forum: C/C++
Topic: c++ IDE in Computer for raspberryPI
Replies: 6
Views: 2399

Re: c++ IDE in Computer for raspberryPI

In fact I want to compile code in laptop and run that in Rsapberry pi with c++ Did you know the Raspberry Pi has an excellent C++ compiler (and other development tools) included within Raspbian? Its almost always far easier to compile on the machine itself rather than cross compile. This especially...
by jahboater
Tue Sep 13, 2016 10:09 am
Forum: C/C++
Topic: 64 Bit C compiler for Raspberry Pi
Replies: 4
Views: 2355

Re: 64 Bit C compiler for Raspberry Pi

There are some 64 bit OS images here: https://www.kraxel.org/repos/rpi2/images/ They are minimal to say the least; the Fedora one (arm64-rpi3-f24...) is best as it has a package installer included. I did "yum install gcc", and got gcc 6.1.1. The .raw file is the same as a .img file, so you dd it in ...
by jahboater
Tue Sep 13, 2016 9:23 am
Forum: General discussion
Topic: Pi 3 Overheating Issue?
Replies: 110
Views: 115837

Re: Pi 3 Overheating Issue?

i486 wrote:I hope the next model (Pi3 B+ or Pi4) will solve the overheat problem.
My guess is the old 40nm lithography is reaching its limit.
Hopefully the Pi sells in large enough numbers now to justify the cost of reducing it.
by jahboater
Tue Sep 13, 2016 7:17 am
Forum: General discussion
Topic: Pi 3 Overheating Issue?
Replies: 110
Views: 115837

Re: Pi 3 Overheating Issue?

I am not sure if there is just a problem with particular RPi's, though I just received a RPi3 today, have been using it for about 6 hours now, took an IR of the SOC, as well as the internal, and it has not yet exceeded 51 degrees C, despite intentionally pushing it with all four cores at 1200MHz. S...

Go to advanced search