Go to advanced search

by rpdom
Sat Jun 21, 2014 9:44 pm
Forum: Raspberry Pi OS
Topic: Debian vs Rasbian
Replies: 12
Views: 3259

Re: Debian vs Rasbian

What ghans said. But Debian armel won't make the best use of the ARM core on the Pi. It doesn't support the Hardware Floating Point instructions. That's what the "hf" in armhf means. As stated, Debian armhf is targeted at later ARM versions and will cause errors on teh Pi. Raspbian is Debian armhf c...
by rpdom
Sat Jun 21, 2014 5:17 pm
Forum: Bare metal, Assembly language
Topic: Coding in HEX
Replies: 41
Views: 11281

Re: Coding in HEX

I remember a colleague that could read a hex-dump of ZX80 code, as if it was assembler. Me, I never remembered more than that "C9" was the return instruction and "CD xx yy" was the call instruction (if memory serves me well). Ah, those were the days. Yes, CD was the call instruction and C3 was the ...
by rpdom
Sat Jun 21, 2014 9:29 am
Forum: Bare metal, Assembly language
Topic: Coding in HEX
Replies: 41
Views: 11281

Re: Coding in HEX

The only thing I find for boot is this: "After the Raspberry Pi boot sequence loads the kernel.img and jumps to the address 0x8000, the Raspberry Pi bootloader has served its purpose and the control is given to the Linux kernel." This is exactly what you need to know. Encode your "HEX" stuff to run...
by rpdom
Sat Jun 21, 2014 8:58 am
Forum: General discussion
Topic: Date of manufacture
Replies: 3
Views: 1972

Re: Date of manufacture

Thank you. Near the card is a white field on which is stamped(?) 14/02. Other info, I didn't find. I'm not sure about that field. My Pi's have got all sorts of numbers there. However they also have another field next to D17 which looks like a digital calculator display sort of numbers and they have...
by rpdom
Sat Jun 21, 2014 6:00 am
Forum: Bare metal, Assembly language
Topic: Coding in HEX
Replies: 41
Views: 11281

Re: Coding in HEX

Actually, sector 0 contains an MS-DOS style MBR and partition table. It can be used to boot quite a few OSen on a PC, but the boot block isn't used at all on the Pi, apart from possible to identify the fact that it is an MS-DOS type MBR and has a valid partition table. The only bit that the Pi needs...
by rpdom
Sat Jun 21, 2014 5:53 am
Forum: Troubleshooting
Topic: rca output not working
Replies: 7
Views: 1697

Re: rca output not working

Edit your config.txt file using "sudo nano /boot/config.txt". Disable the line "hdmi_force_hotplug=1" by putting a "#" in front of it like this #hdmi_force_hotplug=1 Save the file and exit nano editor. Shutdown and unplug your hdmi and plug in RCA. Now you should have working RCA. If you want hdmi, ...
by rpdom
Sat Jun 21, 2014 5:47 am
Forum: Beginners
Topic: Dist-upgrade takes ages and fills SD
Replies: 5
Views: 1979

Re: Dist-upgrade takes ages and fills SD

You can see how much space you have used and allocated with "df -h /" If apt-get looks like it's going to do any big updates I try to break it down into smaller steps where possible. First I run "apt-get clean", which will delete any old install downloads to free up space. They're not needed once th...
by rpdom
Fri Jun 20, 2014 5:13 pm
Forum: Compute Module
Topic: About the MAC address
Replies: 4
Views: 2071

Re: About the MAC address

So one way to get that MAC address would be pi@raspi2 ~ $ sed -n "s/Serial.*: 00000000..\(..\)\(..\)\(..\)/b8:27:eb:\1:\2:\3/p" /proc/cpuinfo b8:27:eb:6f:26:c1 (which was actually done on a model B, but will produce similar results on the A and CM) The sed code can probably be tidied up a bit, but i...
by rpdom
Fri Jun 20, 2014 3:42 pm
Forum: Compute Module
Topic: About the MAC address
Replies: 4
Views: 2071

Re: About the MAC address

However, neither does the Model A, and that still has a MAC address allocated to it even if it doesn't get used. Using the Mailbox call to "Get board MAC address" returns exactly what you would expect on a Model B with the first half being the Raspberry Pi address and the second half being the seria...
by rpdom
Fri Jun 20, 2014 12:44 pm
Forum: Compute Module
Topic: Compute Module Toolchain
Replies: 19
Views: 5035

Re: Compute Module Toolchain

I agree with jamesh. I said the image provided can be used to give access to the emmc memory. Theoretically other images would be able to do other things, such as boot a full Linux system. However the USB mode would have to be switched from OTG to Master at some point for a lot of peripherals to be ...
by rpdom
Fri Jun 20, 2014 3:52 am
Forum: Raspberry Pi OS
Topic: mountall / libc dependencies broken on testing (jessie)
Replies: 10
Views: 1766

Re: mountall / libc dependencies broken on testing (jessie)

All looks good to me. Thanks! :)
by rpdom
Thu Jun 19, 2014 8:34 pm
Forum: Troubleshooting
Topic: SSH login attempts
Replies: 4
Views: 4124

Re: SSH login attempts

Yes. Presumably you have your Pi exposed to the Internet via a router with ssh port forwarding set, or it has a direct connection. Hopefully you have at least changed the password for the "pi" user and ideally got rid of that user altogether and put another one in its place, after all the "pi" user ...
by rpdom
Thu Jun 19, 2014 7:28 pm
Forum: Troubleshooting
Topic: SSH secure key "Server rejected our key" Error
Replies: 10
Views: 3675

Re: SSH secure key "Server rejected our key" Error

Well, firstly the file name should be authorized_keys, not autherized_keys2, and the owner/group should be pi and pi.

Use sudo chown pi:pi autherized_keys2 then mv autherized_keys2 authorized_keys to fix that.

The rw and rwx permissions are correct.
by rpdom
Thu Jun 19, 2014 7:23 pm
Forum: Off topic discussion
Topic: something big on the front page?
Replies: 16
Views: 2863

Re: something big on the front page?

jamesh wrote:We've actually squeezed it in to 32K, to match the original BBC Micro.
Will it run Android in Mode 7?
by rpdom
Thu Jun 19, 2014 4:19 pm
Forum: Advanced users
Topic: sh script question-part 2
Replies: 6
Views: 1338

Re: sh script question-part 2

Putting in the invalid choice check is a wonderful thing. All too often programmers leave that check out. It is the reason that Microsoft has had so many problems with security over the years. Thank you. It's is an ingrained habit of mine. I used to write menus and front-ends to various commands fo...
by rpdom
Thu Jun 19, 2014 3:01 pm
Forum: Raspberry Pi OS
Topic: mountall / libc dependencies broken on testing (jessie)
Replies: 10
Views: 1766

Re: mountall / libc dependencies broken on testing (jessie)

I was going to say that I've just started up my "Jessie" Pi and hit exactly the same problem.

But I see that plugwash is on the case now, so everything will be fixed soonish :)
by rpdom
Thu Jun 19, 2014 12:57 pm
Forum: Compute Module
Topic: Compute Module Toolchain
Replies: 19
Views: 5035

Re: Compute Module Toolchain

To rephrase the question, if I have a usb stick formatted with boot and root partitions, can the compute module boot from this or not? No, it can't. The CM is only capable of reading a bootable image from a USB master device (Like a PC, or another Pi running Linux). The image that has been provided...
by rpdom
Thu Jun 19, 2014 5:06 am
Forum: Advanced users
Topic: sh script question-part 2
Replies: 6
Views: 1338

Re: sh script question-part 2

You seem to have some confusion with the "read" command. The format is "read variablename". Variables cannot start with numbers. Try #!bin/sh echo "Pi Mail v1.1" echo echo "Choose Email Service:" echo "Press "1" to send a plain email" echo "Press "2" to send an email with an attachment" echo "Enter ...
by rpdom
Thu Jun 19, 2014 4:49 am
Forum: Raspberry Pi OS
Topic: mountall / libc dependencies broken on testing (jessie)
Replies: 10
Views: 1766

Re: mountall / libc dependencies broken on testing (jessie)

It looks like something is out of step on the repos.
Give it a day or so and then try again with apt-get update and apt-get dist-upgrade.
Only say "Y" if it doesn't want to remove any packages.
by rpdom
Wed Jun 18, 2014 7:10 pm
Forum: Troubleshooting
Topic: External HDD Woes
Replies: 20
Views: 5309

Re: External HDD Woes

I can't see anything in the lsusb -t reports that might indicate a USB1.x hub. Everything is showing as working at 480mbs which is USB2.0.
by rpdom
Wed Jun 18, 2014 7:07 pm
Forum: General discussion
Topic: Heartbleed
Replies: 4
Views: 1192

Re: Heartbleed

As long as you have done sudo apt-get update and sudo apt-get upgrade recently, yes.
by rpdom
Wed Jun 18, 2014 3:38 pm
Forum: Compute Module
Topic: When the compute module start selling? (now! june 20, 2014)
Replies: 35
Views: 7079

Re: When the compute module start selling?

Anyone that is buying a commercial industrial dev kit should be VAT registered (~£80 turnover VAT threshold) and have a trade account with one of those component suppliers that means free postage on most orders over £30. Heh, for some reason I have a trade account with CPC/Farnell. Not quite sure h...
by rpdom
Wed Jun 18, 2014 3:27 pm
Forum: General discussion
Topic: command to stop writing to SD card immediatelly
Replies: 9
Views: 1627

Re: command to stop writing to SD card immediatelly

Any idea how to solve this? Not really possible. You need more time and do a proper shutdown. It will often take more than 1 second to write all the cached data out to the card and then, as mentioned above, the card will take some time to write the data to the flash memory and do wear-levelling fun...
by rpdom
Wed Jun 18, 2014 9:42 am
Forum: General discussion
Topic: Can the Pi act as a print server for HP Laserjet CP1215
Replies: 36
Views: 10599

Re: Can the Pi act as a print server for HP Laserjet CP1215

One strange thing: Nothing strange about that. It's due to how he Debian release system works. You are running Raspbian "Wheezy" which has the same package levels as Debian "Wheezy" also known as "Stable". It is called Stable because it is using thoroughly tested versions of software which will not...
by rpdom
Wed Jun 18, 2014 8:14 am
Forum: Python
Topic: Python process is killed
Replies: 7
Views: 2441

Re: Python process is killed

When you end a session all processes started in that session are sent the "HUP" signal (HangUp, which refers to the old days of dial-up modems), which will usually end the processes. Some ways around this are to trap the HUP signal in the process and ignore it, or run the process using "nohup" which...

Go to advanced search