Go to advanced search

by guerlando
Mon Apr 13, 2020 10:57 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: How can I find the peripheral base address for a raspberry?
Replies: 6
Views: 359

Re: How can I find the peripheral base address for a raspberry?

Look at /opt/vc/lib/libbcm_host.so It drives this code: https://github.com/raspberrypi/userland/blob/master/host_applications/linux/libs/bcm_host/bcm_host.c that uses /proc/device-tree/soc/ranges to get the base address and others. Thank you, but why such crucial information is not in the datasheet...
by guerlando
Mon Apr 13, 2020 10:37 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: How can I find the peripheral base address for a raspberry?
Replies: 6
Views: 359

Re: How can I find the peripheral base address for a raspberry?

rpdom wrote:
Mon Apr 13, 2020 7:56 pm
There are two different memory address ranges on the Pi. One for the ARM CPUs and one for the hardware controller in the GPU.

That is why you see two different addresses.
Can you tell me more about these ranges? Do I need to use the CPU or GPU one?
by guerlando
Mon Apr 13, 2020 7:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: How can I find the peripheral base address for a raspberry?
Replies: 6
Views: 359

How can I find the peripheral base address for a raspberry?

According to https://www.raspberrypi.org/forums/viewtopic.php?t=244031, the base address for gpio on BCM2711 is 0xFE000000 However if we look at bage 83 of https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711/rpi_DATA_2711_1p0.pdf it says The GPIO register base address is 0x7E21500...
by guerlando
Fri Feb 07, 2020 9:29 pm
Forum: Windows 10 for IoT
Topic: How to install Windows 10 IoT core on B3+?
Replies: 4
Views: 1109

How to install Windows 10 IoT core on B3+?

I tried downloading the Windows 10 IoT core ISO and dd'ing it to an SD card but it won't even boot. The image is ARM32 but I guess it should run on ARM64. I don't have access to Windows 10 to use the Windows 10 dashboard. So how can I flash the ISO to an SD card?
by guerlando
Sun Oct 01, 2017 12:35 am
Forum: Troubleshooting
Topic: What are raspberry's shadow file crypto functions?
Replies: 1
Views: 404

What are raspberry's shadow file crypto functions?

The shadow file at /etc/shadow is where I can change a user's password without any binary tool. If I edit that file, it works. I need to change that file, but I've read that different distributions uses different cryptographic hash functions. So which one raspbian uses and how to use it? If it's sha...
by guerlando
Sat Sep 30, 2017 1:39 am
Forum: Troubleshooting
Topic: Rpi Zero W interface not found when edit wpa_supplicant.conf
Replies: 1
Views: 516

Rpi Zero W interface not found when edit wpa_supplicant.conf

When I burn the image on the SD and do nothing, I can see the wifi list in the raspbian desktop widget. When I burn the image and edit just the file wpa_supplicant erasing its content and adding: network={ ssid="MySSID" psk=my_psk } then I get "no interfaces found" when I click on the widget. What i...
by guerlando
Thu Aug 31, 2017 3:45 am
Forum: General discussion
Topic: I need to edit files that are generated on first boot, but before its generation
Replies: 1
Views: 447

I need to edit files that are generated on first boot, but before its generation

I'm writing a script to edit some files, like authorized_keys, wpa_supplicant.conf, etc. Some of this files may be generated only after the first boot. I thought of using the script to run QEMU to make the first boot on raspbian and then turn it off and continue editing the files, but i'd be cpu int...
by guerlando
Wed Oct 12, 2016 10:54 pm
Forum: Raspberry Pi OS
Topic: Raspbian Pixel passwordless SSH - autogenerated keys?
Replies: 1
Views: 516

Raspbian Pixel passwordless SSH - autogenerated keys?

I've just installed the new Raspbian Pixel and in the process of installing new SSH keys into it, I noticed that /etc/ssh already has some keys, what are them? Are them auto-generated? Also, the file sshd_config points to all these keys by: Protocol 2 # HostKeys for protocol version 2 HostKey /etc/s...
by guerlando
Wed Mar 16, 2016 2:18 am
Forum: Troubleshooting
Topic: Forever blinking "-" after boot
Replies: 2
Views: 811

Re: Forever blinking "-" after boot

So using the same SD card works in one Pi and fails in another? Is the red power led on at all times? changed the SD to another raspberry pi, it booted and I could use the terminal. Then, placed the SD into my raspberry pi again, and it booted normally without errors, but when I typed startx, I got...
by guerlando
Tue Mar 15, 2016 12:44 am
Forum: Troubleshooting
Topic: Forever blinking "-" after boot
Replies: 2
Views: 811

Forever blinking "-" after boot

I've had this problem with one of my rpi's, I formated the SD card and installed raspibian again. Now, the problem is in the other one. After the boot, the graphical enrivonment won't open, I can only see a - character blinking on the black screen, and nothing more happens. However, I can still SSH ...

Go to advanced search