Go to advanced search

by ayu5h
Thu Sep 15, 2016 4:11 pm
Forum: C/C++
Topic: Cross Compiling Pi kernel using arch linux
Replies: 2
Views: 3181

Cross Compiling Pi kernel using arch linux

I am trying to use cross compilation to build kernel for raspberry pi on my x86 laptop having manjaro. In the official Pi site ( https://www.raspberrypi.org/documentation/linux/kernel/building.md ) it is given to use arm-linux-gnueabihf-gcc as the preferred x-compiler. On using the I am getting this...
by ayu5h
Thu Jul 28, 2016 5:07 pm
Forum: C/C++
Topic: GPIO port Un-Mapping
Replies: 3
Views: 718

Re: GPIO port Un-Mapping

Don't I need to disable the default GPIO port addresses before using my custom made address? I am trying to build a driver to control GPIO pins. I am referring this link http://www.codeproject.com/Articles/1032794/Simple-I-O-device-driver-for-RaspberryPi and updated the PORT address to 3f000000. The...
by ayu5h
Thu Jul 28, 2016 4:20 pm
Forum: C/C++
Topic: GPIO port Un-Mapping
Replies: 3
Views: 718

GPIO port Un-Mapping

Is there any way to un-map the GPIO ports of Raspberry Pi 2 B. I am trying to build a driver to control the GPIO pins using the GPIO registers. The GPIO ports are mapped to (from cat /proc/iomem) 3f200000-3f2000b3 : /soc/gpio@7e200000. Now I tried to create a new mapping from 3f000000-3f00003f, but ...
by ayu5h
Wed Jul 20, 2016 9:39 am
Forum: Compute Module
Topic: Error loading modules
Replies: 0
Views: 579

Error loading modules

Hello, I am following http://www.codeproject.com/Articles/1032794/Simple-I-O-device-driver-for-RaspberryPi for building a small GPIO controlling driver for RPi 2 B+ model. I have build the kernel image again to add all header files and also updated the Pi kernel (sudo raspi-update). /lib/modules/4.4...
by ayu5h
Sat Feb 06, 2016 4:20 pm
Forum: Beginners
Topic: startx not working
Replies: 1
Views: 784

startx not working

I am trying to get the gui by typing startx but it is throwing errors: X: user not authorized to run the X server, aborting. xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error Couldn't get a file descriptor referring to the console I have changed the Xorg X...

Go to advanced search