Go to advanced search

by dhruvvyas90
Wed Jul 11, 2018 1:18 am
Forum: Troubleshooting
Topic: RPi Freezes at booting.
Replies: 1
Views: 284

RPi Freezes at booting.

Hello All, I'm working on a project where I have a couple of RPis recording some audio. Recently the devices stopped working and after probing I found out that devices stops at this screen while booting, and it needs input from keyboard to proceed with booting. https://i.imgur.com/QIj71ZE.jpg Since ...
by dhruvvyas90
Tue Jul 10, 2018 4:51 pm
Forum: Troubleshooting
Topic: Raspberry Pi 3 B fails to boot into Raspbian full
Replies: 4
Views: 2544

Re: Raspberry Pi 3 B fails to boot into Raspbian full

I'm facing the same error messages. It seems that RPi gets stuck there but when I press enter, it just recovers from it and boots up. Has anyone found a solution to that error message ?
by dhruvvyas90
Mon Nov 23, 2015 4:41 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57953

Re: QEMU patches for RPi emulation - Initial release

Hello,

Here, someone has mentioned that it doesn't work well post 09-09-2014 wheezy images and respective kernel and I verified it myself. Is there any particular reason what changed in kernel so that it's working anymore ?
by dhruvvyas90
Mon Nov 23, 2015 6:22 am
Forum: Beginners
Topic: Emulating raspbian with QEMU
Replies: 19
Views: 25019

Re: Emulating raspbian with QEMU

@dhruvvyas90 Hi. Watching this thread, I've been getting the same result as yourself. su - pi and startx seems to work relatively well from that point, but I still don't seem to get a clean boot ... Mounting the image and checking issues: mount -t auto -o loop,offset=$((122880*512)) 2015-09-24-rasp...
by dhruvvyas90
Tue Nov 17, 2015 11:47 am
Forum: Beginners
Topic: Emulating raspbian with QEMU
Replies: 19
Views: 25019

Re: Emulating raspbian with QEMU

I have built a custom qemu kernel for raspbian Jessie. You can get a sources and a precompiled version on my github page: https://github.com/polaco1782/raspberry-qemu Thanks @polaco1782: I tried to emulate but it enters into emergency mode giving me `[email protected]` prompt every time I try to boo...
by dhruvvyas90
Tue Nov 17, 2015 11:43 am
Forum: Beginners
Topic: Emulating raspbian with QEMU
Replies: 19
Views: 25019

Re: Emulating raspbian with QEMU

I have built a custom qemu kernel for raspbian Jessie. You can get a sources and a precompiled version on my github page: https://github.com/polaco1782/raspberry-qemu Thanks Is there any way to get Qemu running with more than 256MB of RAM or multiple cores? I heard that torlus' qemu allows you to e...
by dhruvvyas90
Tue Jul 14, 2015 12:53 pm
Forum: Troubleshooting
Topic: Raspberry Pi 2 resolv.conf edit does not take.
Replies: 5
Views: 887

Re: Raspberry Pi 2 resolv.conf edit does not take.

Also post results of

Code: Select all

cat /etc/resolv.conf
and

Code: Select all

ifconfig
commands. This info will help ppl in diagnosing your problem.
by dhruvvyas90
Tue Jun 30, 2015 12:14 pm
Forum: Beginners
Topic: Problems with 2 USB Cameras and Rpi 2
Replies: 0
Views: 329

Problems with 2 USB Cameras and Rpi 2

I'm running a Ubuntu 14.04 LTS on my RPi 2. I've OpenCV 2.4.9 installed on it. While running a simple camera capture program works fine. Here is a code for it. import numpy as np import cv2 from time import time cap = cv2.VideoCapture(0) cap2 = cv2.VideoCapture(1) frame_count = 0 while(True): # Capt...
by dhruvvyas90
Mon Jun 08, 2015 7:14 am
Forum: Beginners
Topic: Emulating raspbian with QEMU
Replies: 19
Views: 25019

Re: Emulating raspbian with QEMU

Meanwhile, I have made it available on this link. https://github.com/dhruvvyas90/qemu-rpi-kernel Hope it helps someone who stumbles across this thread. (Thanks to the Sandor Megyari for his answer [and link :) ] on http://raspberrypi.stackexchange.com/qu ... -with-qemu)
by dhruvvyas90
Mon Jun 08, 2015 4:28 am
Forum: Beginners
Topic: Emulating raspbian with QEMU
Replies: 19
Views: 25019

Re: Emulating raspbian with QEMU

I found cached webpages. Hope it would be useful to someone following the same track as mine. https://web.archive.org/web/20131210001638/http://xecdesign.com/compiling-a-kernel/ https://web.archive.org/web/20131209235952/http://xecdesign.com/compiling-qemu/ https://web.archive.org/web/20131210001407...
by dhruvvyas90
Sun Jun 07, 2015 5:50 am
Forum: Beginners
Topic: Emulating raspbian with QEMU
Replies: 19
Views: 25019

Re: Emulating raspbian with QEMU

I plan to bring the site back up over the weekend. Thanks a lot. I really appreciate it. However, out of curiosity, if someone were to compile his own kernel for rpi for qemu, is there any technical difference ? In other words, can I just take a working pi and use its kernel zImage to emulate rpi i...
by dhruvvyas90
Wed Jun 03, 2015 5:02 am
Forum: Beginners
Topic: Emulating raspbian with QEMU
Replies: 19
Views: 25019

Emulating raspbian with QEMU

Hello, I'm trying to emulate raspbian on QEMU and there're plenty of guides available on internet. However, every guide points to download qemu-linux kernel from link https://xecdesign.com/downloads/linux-qemu/kernel-qemu however, this link is dead and I was unable to find an alternative link. Is th...
by dhruvvyas90
Tue May 19, 2015 5:41 pm
Forum: Troubleshooting
Topic: Unable to Login Anymore
Replies: 59
Views: 121836

Re: Unable to Login Anymore

I just changed the owner of .Xauthority to the 'pi' user, and it booted back into the GUI without a login screen. I tried that and it booted to a black screen with a mouse cursor. From there I could get a GUI started, but it didn't boot right into it. Was there anything else you did? I got the same...
by dhruvvyas90
Wed Mar 04, 2015 1:07 pm
Forum: Beginners
Topic: Determining Rpi revision in kernel driver module.
Replies: 1
Views: 305

Determining Rpi revision in kernel driver module.

Hi, I am sort of new to driver development in Linux. I'm trying to write a driver for an I2C device and as it turns out, Rpi revision 1 uses i2c bus 0 and revision 2 uses i2c bus 1. I was wondering if there is a way to determine Rpi revision run time or compile time in a kernel module (both are fine...
by dhruvvyas90
Sun Oct 12, 2014 10:39 am
Forum: Beginners
Topic: Remote access using ISPs with NAT.
Replies: 4
Views: 958

Re: Remote access using ISPs with NAT.

Hi, I just tried the method mentioned by ghans. It works like a charm. Also, there is a blog post that addresses the same question. http://www.tunnelsup.com/raspberry-pi-phoning-home-using-a-reverse-remote-ssh-tunnel Hope it helps for others who are trying to achieve the same. Thanks again, ghans. :)
by dhruvvyas90
Sat Oct 11, 2014 8:07 am
Forum: Beginners
Topic: Remote access using ISPs with NAT.
Replies: 4
Views: 958

Re: Remote access using ISPs with NAT.

Hi OP can you give more details - where the target Pis are (all in the same remote place, scattered), what sort of access you want (ssh/desktop) and where you are connecting from. Targeted Rpis are scattered, of course. Just SSH is fine, ie I don't need remote desktop currently. I will be connectin...
by dhruvvyas90
Wed Oct 08, 2014 6:34 am
Forum: Beginners
Topic: Remote access using ISPs with NAT.
Replies: 4
Views: 958

Remote access using ISPs with NAT.

Hi, I have deployed quite a few embedded products based on Raspberry pi and now to provide them support I would like to introduce remote access in my products. I have experimented with a few ISPs that provides static IPs and it works like a charm however, a few ISPs use NAT and don't provide static ...
by dhruvvyas90
Fri Jul 18, 2014 12:02 pm
Forum: Beginners
Topic: Good distro for QT app + basic linux functions.
Replies: 2
Views: 606

Good distro for QT app + basic linux functions.

Hi,

I'm comparatively new to Rpi and I am currently developing a Qt app for a product based on Rpi. I was wondering out of all the distros available for Rpi, which one is suitable for running a Qt app.

Thanks.
by dhruvvyas90
Sun Apr 06, 2014 6:21 am
Forum: Beginners
Topic: Problems in multi casting on an ad hoc wireless network
Replies: 8
Views: 1376

Re: Problems in multi casting on an ad hoc wireless network

Unfortunately, it didn't work with 25-09 image. :-|
by dhruvvyas90
Mon Mar 03, 2014 3:40 am
Forum: Beginners
Topic: Problems in multi casting on an ad hoc wireless network
Replies: 8
Views: 1376

Re: Problems in multi casting on an ad hoc wireless network

Interesting.

Is there any way to turn it on or something in new kernels ?

Anyway, I will give it a shot with the image that you posted and will post my results here.

Thanks again.
by dhruvvyas90
Mon Feb 10, 2014 5:41 am
Forum: General programming discussion
Topic: Encrypt SD card content
Replies: 41
Views: 40846

Re: Encrypt SD card content

Interesting topic and replies. :-) Well, I don't see any provision by which you can link an SD card with a particular pi which will result in locking. And hence you might not be able to stop someone using your product if they succeed copying your system exactly. But if your product is an interactive...
by dhruvvyas90
Sun Feb 09, 2014 8:03 am
Forum: Beginners
Topic: Wifi to Wifi Pi Router... Need help to config 2nd Wifi
Replies: 1
Views: 374

Re: Wifi to Wifi Pi Router... Need help to config 2nd Wifi

Can u post "/etc/network/interfaces" ?

You will have to add a few lines in it to configure new device (in your case wlan1) to get it up.
by dhruvvyas90
Sat Feb 08, 2014 3:51 am
Forum: Beginners
Topic: Problems in multi casting on an ad hoc wireless network
Replies: 8
Views: 1376

Re: Problems in multi casting on an ad hoc wireless network

Hi, I was trying to figure out what's wrong in multicasting on ad hoc network and I noticed that Mcast receiver on Rpi works fine ie (i've a setup of two Rpi and 1 pc and all are connected to each other on an ad hoc network). If i send data using PC over multicast ip, both the rpis receive it. Howev...
by dhruvvyas90
Sat Jan 18, 2014 4:11 am
Forum: Beginners
Topic: Problems in multi casting on an ad hoc wireless network
Replies: 8
Views: 1376

Re: Problems in multi casting on an ad hoc wireless network

Hi, For me, even in ad hoc network Ping works fine ie i'm able to ping all 2 machines with another (in my case, 1 pc and 2 Rpi). May be a print shot of /etc/networks/inferfaces file will help you. It is as follows: auto wlan0 iface wlan0 inet static address 192.168.12.10 netmask 255.255.255.0 wirele...
by dhruvvyas90
Fri Jan 17, 2014 9:48 am
Forum: Beginners
Topic: Problems in multi casting on an ad hoc wireless network
Replies: 8
Views: 1376

Problems in multi casting on an ad hoc wireless network

I want to establish an ad-hoc wifi network to connect more than 2 Raspberry pis and exchange information. I've written a sample unicast (TCP) and multicast (UDP) client~server programs which work perfectly fine when all the devices are connected via router / AP. However, the same multicast program d...

Go to advanced search