Go to advanced search

by jahboater
Mon Jan 22, 2018 12:50 pm
Forum: Beginners
Topic: Please Help - Need Assembler for Pi 3b on Mac OS X
Replies: 17
Views: 372

Re: Please Help - Need Assembler for Pi 3b on Mac OS X

I'm curious, what sort of tools will I find in Raspbian that will assist a bare metal/assembler workflow? The title of the thread and subsequent comments such as this: but when every instruction on compiling an assembler involves 20 steps that aren't fully explained, implied that you were having tr...
by jahboater
Mon Jan 22, 2018 8:29 am
Forum: Beginners
Topic: Please Help - Need Assembler for Pi 3b on Mac OS X
Replies: 17
Views: 372

Re: Please Help - Need Assembler for Pi 3b on Mac OS X

I'll try Raspbian. I've had bad experiences with Linux in the past so I'm apprehensive about trying it again but hopefully this time is more productive. I do hope you are pleasantly surprised. In my last job I did systems level programming on all of Windows, Mac, various UNIX, and Linux, and in gen...
by jahboater
Sun Jan 21, 2018 9:12 pm
Forum: Beginners
Topic: Please Help - Need Assembler for Pi 3b on Mac OS X
Replies: 17
Views: 372

Re: Please Help - Need Assembler for Pi 3b on Mac OS X

BitSquad wrote:
Sun Jan 21, 2018 6:21 pm
but I'd like to use my computer as a tool to be creative rather than spending countless hours trying to set up my tool.
That, is exactly the point.
by jahboater
Sun Jan 21, 2018 9:07 pm
Forum: Bare metal
Topic: SOLVED: Assembler question about the stack
Replies: 3
Views: 121

Re: Assembler question

zedrummer wrote:
Sun Jan 21, 2018 8:39 pm
The problem seems to come from "push {lr}/pop {pc}" because if I put "mov r6,lr/mov pc,r6", it works...
Then "mov pc,lr" should work as usual?
by jahboater
Sun Jan 21, 2018 3:12 pm
Forum: Beginners
Topic: good beginners resources?
Replies: 5
Views: 138

Re: good beginners resources?

Google should find masses of stuff. Here are some links to the Raspberry Pi website. General help https://www.raspberrypi.org/help/ Linux https://www.raspberrypi.org/documentation/linux/ Python https://www.raspberrypi.org/documentation/usage/python/README.md .......... Python website https://www.pyt...
by jahboater
Sun Jan 21, 2018 11:46 am
Forum: Beginners
Topic: Please Help - Need Assembler for Pi 3b on Mac OS X
Replies: 17
Views: 372

Re: Please Help - Need Assembler for Pi 3b

Of course not. Raspbian users have a very good assembler pre-installed and ready to go. Just type "as hello.s" If you were using a Pi as your primary computer, I can see where that would be attractive, but I'd much rather assemble on my desktop and export to an SD card than to have to hook up my Pi...
by jahboater
Sun Jan 21, 2018 11:14 am
Forum: Beginners
Topic: Please Help - Need Assembler for Pi 3b on Mac OS X
Replies: 17
Views: 372

Re: Please Help - Need Assembler for Pi 3b

[ Do you know how I would tell? Probably just type "which as" or whatever MacOS uses. If you just type "as" (or perhaps "gas") it will try to read the assembler from the standard input. All of this seems extremely inconvenient. Do users typically have to buy two systems to assemble a simple program...
by jahboater
Sun Jan 21, 2018 10:08 am
Forum: Beginners
Topic: Please Help - Need Assembler for Pi 3b on Mac OS X
Replies: 17
Views: 372

Re: Please Help - Need Assembler for Pi 3b

I have tried numerous tutorials to build a cross compiler for my Pi on Mac OS X and every one has ended in failure. I do not use Linux and I am not an expert on terminal instructions. I can copy/paste commands to terminal, and I can understand enough to type "brew install x", but when every instruc...
by jahboater
Fri Jan 19, 2018 6:25 pm
Forum: Off topic discussion
Topic: Something new
Replies: 7
Views: 524

Re: Something new

It would be great to have some semi-permanent memory on board RasPi. A note of disagreement here. Having no non-volatile memory (modulo a small handful of OTP bits) is ideal for support and troubleshooting. It means that every machine is, prior to power-on, always in the same factory-fresh conditio...
by jahboater
Fri Jan 19, 2018 12:34 pm
Forum: General discussion
Topic: Where do you buy your pis?
Replies: 16
Views: 1041

Re: Where do you buy your pis?

I have found the PiHut to be quick and reliable.
by jahboater
Thu Jan 18, 2018 12:47 pm
Forum: Advanced users
Topic: Does anyone have the time and is willing to risk a Pi to a 170 MB hosts file?
Replies: 2
Views: 213

Re: Does anyone have the time and is willing to risk a Pi to a 170 MB hosts file?

yy502 wrote:
Thu Jan 18, 2018 12:41 pm
You can probably compress it to about 5% of its original size using gzip.
Or xz, much better compression but slower.
by jahboater
Tue Jan 16, 2018 1:33 pm
Forum: Bare metal
Topic: Text mode for Raspberry Pi 3
Replies: 8
Views: 328

Re: Text mode for Raspberry Pi 3

Sorry, went straight to post itself and missed the bare metal bit :-(
Post deleted.
by jahboater
Tue Jan 16, 2018 12:41 pm
Forum: Bare metal
Topic: Text mode for Raspberry Pi 3
Replies: 8
Views: 328

Re: Text mode for Raspberry Pi 3

Deleted.
by jahboater
Tue Jan 16, 2018 10:20 am
Forum: General discussion
Topic: Eben Upton on BBC Radio 4 "The Life Scientific"
Replies: 26
Views: 1169

Re: Eben Upton on BBC Radio 4 "The Life Scientific"

Burngate wrote:
Tue Jan 16, 2018 9:48 am
One thing he didn't mention was how he came to choose the Broadcom chip.
Because he worked for Broadcom.
by jahboater
Tue Jan 16, 2018 8:48 am
Forum: General discussion
Topic: When will Raspberry Foundation admit that the Pi destroys your SD cards?
Replies: 66
Views: 2726

Re: When will Raspberry Foundation admit that the Pi destroys your SD cards?

Consider configuring OS to use a RAM drive for write-intensive work. /etc/fstab on all my Raspberry Pi's look similar this: proc /proc proc defaults 0 0 PARTUUID=9a7e1f59-01 /boot vfat defaults 0 2 PARTUUID=9a7e1f59-02 / ext4 defaults,noatime,commit=600 0 1 tmpfs /tmp tmpfs defaults,noatime,nosuid ...
by jahboater
Tue Jan 16, 2018 7:52 am
Forum: General discussion
Topic: Raspbian Modification
Replies: 15
Views: 651

Re: Raspbian Modification

On the Pi with Linux, the shell is "just a program", you can program it in any language you like!
by jahboater
Mon Jan 15, 2018 4:02 pm
Forum: General discussion
Topic: Failing USB hard drive
Replies: 40
Views: 921

Re: Failing USB hard drive

I just did an apt-cache search and it came up with all these:- $ apt-cache search ddrescue ddrescue - copy data from one file or block device to another ddrescueview - graphical viewer for GNU ddrescue map files gddrescue - GNU data recovery tool myrescue - rescue data from damaged disks safecopy - ...
by jahboater
Mon Jan 15, 2018 8:30 am
Forum: General discussion
Topic: Overclocking...
Replies: 3
Views: 165

Re: Overclocking...

What are your current cooling arrangements? Are you monitoring the the temps and frequencies during the slowdown? I use this tool in a separate window: https://github.com/MilhouseVH/bcmstat/blob/master/bcmstat.sh It could be throttling back, which might drop the frequency down to 600MHz. A sensible ...
by jahboater
Sun Jan 14, 2018 3:56 pm
Forum: Beginners
Topic: In which order does a Python Program run
Replies: 18
Views: 486

Re: In which order does a Python Program run

If you try to define a procedure at the top of the program it will start to execute immediately, and then crash at ENDPROC because there is nowhere to return to. BASIC is a particularly stupid interpreter/language! Especially as its clearly marked by the DEF to say it is a procedure. Why cant the i...
by jahboater
Sun Jan 14, 2018 3:43 pm
Forum: Other
Topic: 64bit Debian OS for Raspberry Pi 2
Replies: 7
Views: 253

Re: 64bit Debian OS for Raspberry Pi 2

It might be possible on the new Pi2 which uses the same ARMv8 soc as the Pi3.
by jahboater
Sun Jan 14, 2018 3:34 pm
Forum: General discussion
Topic: When will Raspberry Foundation admit that the Pi destroys your SD cards?
Replies: 66
Views: 2726

Re: When will Raspberry Foundation admit that the Pi destroys your SD cards?

Of course the trade off is that when the uSD card wears out any user can replace it while most users can not replace a dead eMMC module easily. Yes, I would never buy an SBC with on-board storage for that reason. The Odroid C2 by the way, uses removable eMMC cards as well as uSD cards (you can boot...
by jahboater
Sun Jan 14, 2018 9:17 am
Forum: Advanced users
Topic: Raspberry Pi 3 CPU powersave feature question
Replies: 4
Views: 240

Re: Raspberry Pi 3 CPU powersave feature question

Well, not a very good argument. You could have raspberry pi in a battery powered environment, where every W counts. Or in the case of rpi3, you could increase sustained performance by downclocking the cpu and thus having less heat to deal with. The governor does downclock the CPU's when idle. At id...
by jahboater
Sat Jan 13, 2018 2:26 pm
Forum: General discussion
Topic: When will Raspberry Foundation admit that the Pi destroys your SD cards?
Replies: 66
Views: 2726

Re: When will Raspberry Foundation admit that the Pi destroys your SD cards?

For those running 24/7 Pi's, can you tell me which manufacturer and models you are using? Mostly Samsung EVO, or EVO Plus now. I see these appear to be available with a minimum size of 32GB now (on Amazon anyway). If heavy usage is your problem, you could perhaps:- 1) boot off USB disk (agreed, tha...
by jahboater
Sat Jan 13, 2018 1:55 pm
Forum: Beginners
Topic: I can't modifi my raspberry with ssh
Replies: 6
Views: 215

Re: I can't modifi my raspberry with ssh

Just a guess, try "pi", not "PI" - it is case sensitive.

Have you in the past used "sudo" when working in your home area?
That could leave directories or files owned by root.
by jahboater
Sat Jan 13, 2018 12:23 pm
Forum: General discussion
Topic: When will Raspberry Foundation admit that the Pi destroys your SD cards?
Replies: 66
Views: 2726

Re: When will Raspberry Foundation admit that the Pi destroys your SD cards?

To those who claim to run 24/7 without issues: I'm pretty sure your use-cases are not really write-heavy, am I right? Its true for me, I do take some steps to reduce the writes, for example /tmp and /var/log as tmpfs, commit=600 on the ext4 mounts, noatime. SD cards obviously do not have the expect...

Go to advanced search