Go to advanced search

by hippy
Wed Feb 20, 2019 10:03 pm
Forum: Troubleshooting
Topic: 7 minutes boot time
Replies: 4
Views: 127

Re: 7 minutes boot time

Boot a standard Raspbian Linux on your Pi and see how that compares. If it is also incredibly slow to boot then it would seem you may have an issue with your Pi or perhaps SD Card.

If that boots fine but Kali boots slow, I'd agree; head for the Kali forum.
by hippy
Wed Feb 20, 2019 12:13 pm
Forum: Off topic discussion
Topic: Design your own 8$-RISC-V (may work with your pi)
Replies: 25
Views: 3859

Re: Design your own 8$-RISC-V (may work with your pi)

Interesting, what kind of processors have you been building? Good old boards covered in TTL? It has only been theoretical designs, software simulations and occasional hardware emulations so far. As with the RISC-V guys it has mostly been effort to discover what the ideal balance is between simplici...
by hippy
Tue Feb 19, 2019 6:32 pm
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 60
Views: 1274

Re: Is ARM doomed?

...is only reaching MCU levels... I rate the SiFive U540 way above MCU's. With it's four 64 bit cores running at 1.5GHz. Memory management, Linux capable and all. That's true. I suppose I should have said are mainly in the 'application domain' rather than 'general purpose computing domain', though ...
by hippy
Tue Feb 19, 2019 3:29 pm
Forum: Off topic discussion
Topic: Design your own 8$-RISC-V (may work with your pi)
Replies: 25
Views: 3859

Re: Design your own 8$-RISC-V (may work with your pi)

I'm not sure there is a CPU much simpler than a basic RISC V. Sure there are, though not necessarily useful or sensible. I should know; I've designed plenty :lol: A 'one instruction computer' appeals to me, especially as some have compilers, but I prefer stack-based architectures with more traditio...
by hippy
Tue Feb 19, 2019 3:02 pm
Forum: Advanced users
Topic: Share files from a raspberry pi to a windows PC
Replies: 4
Views: 122

Re: Share files from a raspberry pi to a windows PC

https://www.raspberrypi.org/forums/view ... 8&t=232152

The configuration I give there work for me but you might want to use a more secure configuration as noted by others.
by hippy
Tue Feb 19, 2019 1:51 pm
Forum: Troubleshooting
Topic: HDMI working different on all RPi3 models [solved]
Replies: 4
Views: 127

Re: HDMI working different on all RPi3 models

Is there a different between the HDMI on the Zero and the 3+? Hard to say from outside the Foundation as full schematics are not available but I believe the H5V signal to the HDMI socket is provided differently. If you can find an original A or B, an A+ or B+, you could try those, as they use the s...
by hippy
Tue Feb 19, 2019 1:24 pm
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 60
Views: 1274

Re: Is ARM doomed?

https://www.sifive.com/boards/hifive1 Afaict that has no FPU, no MMU and very little memory, in other words it's the RISCV equivalent of a fast cortex-M. It's in no way comparable to a cotex-A53 based SoC like the BCM2837. I like the idea of riscv but they have a mountain to climb. They sure do, th...
by hippy
Tue Feb 19, 2019 11:55 am
Forum: Off topic discussion
Topic: Design your own 8$-RISC-V (may work with your pi)
Replies: 25
Views: 3859

Re: Design your own 8$-RISC-V (may work with your pi)

what about trying to build a RISC V? I wounder if it can be done within the confines of the Pi. That's my goal, and I can't see why not. The UPDuino brings FPGA development within the price range of most people, and thanks again to mic_s for bringing that to our attention. But I had somehow got the...
by hippy
Tue Feb 19, 2019 11:18 am
Forum: Media centres
Topic: Mirrorlink
Replies: 5
Views: 159

Re: Mirrorlink

I want to try to organize a media player in a car, but I can’t think how to manage it You need to do all that a smartphone would, support the transport layer, the protocol, and handle that protocol. What is involved should be reasonably straight forward and, given it is an established industry stan...
by hippy
Tue Feb 19, 2019 12:05 am
Forum: Off topic discussion
Topic: Design your own 8$-RISC-V (may work with your pi)
Replies: 25
Views: 3859

Re: Design your own 8$-RISC-V (may work with your pi)

When I got upduino 1.0 I have rebuilt IceStorm toolchain with yosys, arachne-pnr directly on the Pi3. It run over night but finished successfully after many hours (with rootfs on ssd over USB). Having just got back to looking at RISC-V / FPGA I decided to install the same toolchain and that was pre...
by hippy
Mon Feb 18, 2019 10:46 pm
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 60
Views: 1274

Re: Is ARM doomed?

But Raspberry Pi hardware doesn't currently use RISC-V hardware (if it ever will), so is completely off topic for these forums. The Pi does however support running RISC-V simulators and programs used to develop for RISC-V, so not 'entirely nothing to do with a Pi'. And it is quite possible there wi...
by hippy
Mon Feb 18, 2019 3:26 pm
Forum: Android
Topic: Help Android Raspberry pi
Replies: 2
Views: 94

Re: Help Android Raspberry pi

marcavatar wrote:
Mon Feb 18, 2019 12:18 pm
and7_1-rpi2_3-23022017
Assuming that came from the 'android-rpi' developers; they have a Google discussion group which may be able to help -

https://groups.google.com/d/forum/android-rpi
by hippy
Mon Feb 18, 2019 3:08 pm
Forum: Media centres
Topic: Mirrorlink
Replies: 5
Views: 159

Re: Mirrorlink

Сan i connect the raspberry to the car stereo through the mirrorlink? That depends on what connection the car provides, USB, Bluetooth, Wi-Fi, and whether there is anything for the Pi which handles what it's instructed to do, provides for the required interaction. I couldn't find anything when I la...
by hippy
Mon Feb 18, 2019 2:44 pm
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 60
Views: 1274

Re: Is ARM doomed?

As usual the supporters of this new technology (RISC-V) are blinded by their enthusiasm, and predict the "death" of their opponents before even the first real test of strength. Just to point out that not everyone supporting RISC-V is blinded by their enthusiasm for it, nor are they predicting the "...
by hippy
Sun Feb 17, 2019 8:04 pm
Forum: Troubleshooting
Topic: Do we have a way to invert the logic of the GPIO serial port?
Replies: 17
Views: 397

Re: Do we have a way to invert the logic of the GPIO serial port?

As promised. It's not complete as far as what I want to achieve but it should be good enough for your needs. Have soak-tested it for a number of hours in loop-back mode at 9600 baud without any errors, but of course that's no guarantee. I'm not familiar with 'tar' so not brilliantly packaged but see...
by hippy
Sun Feb 17, 2019 9:22 am
Forum: C/C++
Topic: Undefined "__aeabi_ldivmod" issue
Replies: 5
Views: 125

Re: Undefined "__aeabi_ldivmod" issue

do_div(numerator, denominator) is the correct platform independent call to use for 64bit division within the kernel. Aha; could I have actually used "do_div(numerator/denominator)" as I wrote above - used a "/" rather than "," - get an undeclared because of a function signature mismatch, or did I h...
by hippy
Sun Feb 17, 2019 1:06 am
Forum: Troubleshooting
Topic: Do we have a way to invert the logic of the GPIO serial port?
Replies: 17
Views: 397

Re: Do we have a way to invert the logic of the GPIO serial port?

It is surely a huge progress to get this flexibility, not only for my requirements but surely for many other users. The real credit goes to Adriano Marto Reis, the original author. Without having his shoulders to stand on I wouldn't have known where to start. I have wanted a soft UART which could d...
by hippy
Sun Feb 17, 2019 12:43 am
Forum: Python
Topic: Need help understanding this code
Replies: 2
Views: 81

Re: Need help understanding this code

rpiboy wrote:
Sat Feb 16, 2019 11:27 pm
If 2 % 2 which 2 is an even number shouldn't it raise an error since it is true?
I would have written it as ...

if ( integer % 2 ) != 0:

or more likely ...

if ( integer & 1 ) != 0:

They are all the same, but these two help avoid the sort of confusion it has caused you.
by hippy
Sat Feb 16, 2019 8:06 pm
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 60
Views: 1274

Re: Is ARM doomed?

Eben and others have pretty much stated that there will be no new major Pi release this year. The CM3+ was the last of the old line up. I wouldn't consider a RISC-V based HAT to be a "Pi release" as such, so I wouldn't discount it, even if not imminent. We have Atmel / Arduino, Propeller and FPGA H...
by hippy
Sat Feb 16, 2019 6:46 pm
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 60
Views: 1274

Re: Is ARM doomed?

Heater wrote:
Sat Feb 16, 2019 3:27 pm
Who will be the first to make a RISC V Pi HAT?
I would put my money on the LowRisc guys in conjunction with RPT. The launch anniversary and Pi Day are just weeks away. That might however be wishful thinking.
by hippy
Sat Feb 16, 2019 6:33 pm
Forum: C/C++
Topic: Undefined "__aeabi_ldivmod" issue
Replies: 5
Views: 125

Re: Undefined "__aeabi_ldivmod" issue

Sure does. Though not a lot of which seems to apply to my case or makes much sense to me, or appears to indicate what I need to do to get round the problem. One easy suggestion was to use "do_div(period/1000)" but that is of course too easy, gives an undeclared error for "do_div" even with "#include...
by hippy
Sat Feb 16, 2019 1:00 pm
Forum: Troubleshooting
Topic: Cant access share on Pi
Replies: 11
Views: 238

Re: Cant access share on Pi

rpdom wrote:
Sat Feb 16, 2019 6:48 am
Only if the telnet daemon is enabled. Which the default install doesn't do.
Correct; I have to use 'sudo apt-get install telnetd' which works a treat.
by hippy
Sat Feb 16, 2019 12:50 pm
Forum: C/C++
Topic: Undefined "__aeabi_ldivmod" issue
Replies: 5
Views: 125

Undefined "__aeabi_ldivmod" issue

I am trying to do something I thought would be simple. I have an installable tty device driver kernel module which contains a 'ns' variable which is a 'ktime_t' / 'long long int' value representing a value in nanoseconds and I am trying to set an equivalent value in microseconds, effectively - ktime...
by hippy
Sat Feb 16, 2019 12:19 pm
Forum: Troubleshooting
Topic: Do we have a way to invert the logic of the GPIO serial port?
Replies: 17
Views: 397

Re: Do we have a way to invert the logic of the GPIO serial port?

Could you please explain where you changed the code to reverse the signal logic? Four places - Add an "invert" parameter; 0=UART, 1=RS232 polarity Add "IRQF_TRIGGER_RISING" alongside "IRQF_TRIGGER_FALLING" for invert == 1 Add a "^ invert" to all gpio_set_value(gpio_tx, ... ) Change "== 0" to "== in...
by hippy
Sat Feb 16, 2019 1:03 am
Forum: Beginners
Topic: Mini keyboard - buy or make?
Replies: 5
Views: 175

Re: Mini keyboard - buy or make?

I would suggest taking a look at Microsoft XBox Chatpad keypads and existing projects to interface them to the Pi.

Go to advanced search