Go to advanced search

by swahren
Sun Jul 07, 2019 10:51 am
Forum: Troubleshooting
Topic: u-boot port on RaspberryPi 4
Replies: 8
Views: 514

Re: u-boot port on RaspberryPi 4

Honestly i didn't expect a u-boot port thread in Troubleshooting. I started to work on the upstream work for the Linux kernel and i hope this helps for the u-boot port: https://github.com/lategoodbye/rpi-zero/issues/43 (Don't ask about the confusing repo name i'm just to lazy to create a new one :mr...
by swahren
Fri Jul 05, 2019 3:04 pm
Forum: Raspbian
Topic: Pi 4 Raspbian Buster PEAP connection failed
Replies: 7
Views: 526

Re: Pi 4 Raspbian Buster PEAP connection failed

Do you have this kernel warning?
What version of wpa_supplicant do you have?
by swahren
Tue Jul 02, 2019 5:04 pm
Forum: Raspbian
Topic: Buster bug report thread
Replies: 120
Views: 9769

Re: Buster bug report thread

Using gpiod / libgpiod, what is reported by the gpiod related commands is not the same as reported by the gpio utility. here the UART (14,15) has been enabled for userland use with enable_uart=1 This is a kernel / pinctrl issue. I cannot promise this will be fixed in mainline, but you can look at t...
by swahren
Tue Jul 02, 2019 4:56 pm
Forum: Raspbian
Topic: Buster bug report thread
Replies: 120
Views: 9769

Re: Buster bug report thread

I found myself needing to re-image an SD that I've been using on a Pi Zero-W yesterday and found that Buster was the current available image. FWIW, I use the "lite" image and after imaging I put my standard wpa_supplicanf.conf file in boot along with and SSH file so I can do a headless setup and on...
by swahren
Wed Jun 26, 2019 9:16 pm
Forum: Troubleshooting
Topic: VCHIQ Not Working
Replies: 3
Views: 605

Re: VCHIQ Not Working

This looks like you are running a upstream DTB with a downstream kernel.
by swahren
Mon Apr 08, 2019 5:42 pm
Forum: General discussion
Topic: GIVE YOUR RASPBERRY PI SD CARD A BREAK: LOG TO RAM
Replies: 19
Views: 3583

Re: GIVE YOUR RASPBERRY PI SD CARD A BREAK: LOG TO RAM

The ext4 file system already provide such a mechanism. As per default the data will be cached for 5 sec before writing. The delay is adjustable via "commit" parameter.

https://www.kernel.org/doc/Documentatio ... s/ext4.txt
by swahren
Sat Apr 06, 2019 5:07 pm
Forum: Troubleshooting
Topic: TP link Archer T2U AC600 not working
Replies: 12
Views: 794

Re: TP link Archer T2U AC600 not working

This may help unless someone comes up with a better fix as it’s a bit old https://askubuntu.com/questions/674116/how-to-install-tp-link-t2uh-wireless-adapter-driver-ralink-mt7610u The usb ID from the report is a solid match though the model is different. No, please don't do this. The driver is avai...
by swahren
Fri Mar 29, 2019 5:23 pm
Forum: Linux Kernel
Topic: Is mainline kernel perfectly good for Raspberry Pi 3 B+?
Replies: 8
Views: 1606

Re: Is mainline kernel perfectly good for Raspberry Pi 3 B+?

Do I still need to use https://github.com/raspberrypi/linux? No, you don't have to, but it isn't perfectly good. At the end this comes to a more philosophical question, what is perfect. The advantage of a vendor tree is to hack a lot of optimizations for your target device, which will never accepta...
by swahren
Mon Mar 25, 2019 8:57 pm
Forum: Advanced users
Topic: GPIO c/c++ static library
Replies: 2
Views: 303

Re: GPIO c/c++ static library

According to the configure help the libgpiod should be able to build static:
https://git.kernel.org/pub/scm/libs/lib ... gpiod.git/

This requires the GPIO character device interface.
by swahren
Tue Feb 26, 2019 8:21 pm
Forum: Advanced users
Topic: Moving Linux kernel to 4.19
Replies: 257
Views: 72547

Re: Moving Linux kernel to 4.19

Because of the many complains about broken AP mode, i want to link to my post from November: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=224931&start=25#p1396409 Since this won't be fixed in mainline, we have two options: 1) update hostapd to a more recent version (e.g. from Buster) 2) r...
by swahren
Sat Jan 26, 2019 1:10 pm
Forum: Advanced users
Topic: Reset i2c bus?
Replies: 1
Views: 661

Re: Reset i2c bus?

Method 1 is called I2C recovery in the Linux kernel. Unfortunately the i2c driver for bcm2835 doesn't implement this feature yet.

https://www.kernel.org/doc/html/v4.19/d ... overy_info
by swahren
Sat Dec 15, 2018 3:26 pm
Forum: Advanced users
Topic: Where is the git repo with commits for VC4 death spiral?
Replies: 3
Views: 630

Re: Where is the git repo with commits for VC4 death spiral?

The author of the DMA pool patch didn't had the time to upstream the patch. But i could prepare a upstream git repo for testing.
by swahren
Fri Dec 14, 2018 6:12 pm
Forum: Device Tree
Topic: Review: Upstream RPI 3 A+ DTS
Replies: 1
Views: 1872

Review: Upstream RPI 3 A+ DTS

Hi,
since the RPI 3 A+ was released to late for Upstream Linux 4.21/5.0, i don't want to miss the next merge window for device tree sources.

So i would be glad to get a short review of this patch:
ARM: dts: add Raspberry Pi 3 A+

Regards Stefan
by swahren
Sun Dec 09, 2018 1:27 pm
Forum: Compute Module
Topic: eMMC flash memory reliability
Replies: 12
Views: 5261

Re: eMMC flash memory reliability

But how can we know for sure that eMMC really uses MLC (or maybe eMLC) and SD cards use TLC? Couldn't find any information about that. Just look at the part number of the eMMC chip and search for the datasheet. Btw there are also SLC SD cards, but they are very expensive and have a very low density...
by swahren
Sun Nov 25, 2018 12:45 pm
Forum: Advanced users
Topic: Moving Linux kernel to 4.19
Replies: 257
Views: 72547

Re: Moving Linux kernel to 4.19

Hi, this weekend i wanted to setup an access point on my Raspberry Pi 3 A+ using builtin wifi with a recent kernel. Unfortunately the hostapd 2.4 shipped with Raspbian Stretch failed with Linux 4.18 and newer: rfkill: initial event: idx=0 type=2 op=0 soft=0 hard=0 rfkill: initial event: idx=1 type=1...
by swahren
Sun Oct 28, 2018 1:30 pm
Forum: Advanced users
Topic: Using available kernel driver instead of user-space driver?
Replies: 5
Views: 1053

Re: Using available kernel driver instead of user-space driver?

Also, how would I proceed for hwmon drivers, for example. INA2xx ? Linux driver are available for that one as well, but there appears to be no dtoverlay for it. Unfortunately usually it isn't that simple. But you already located the most important part: the driver. Devices which doesn't have a plug...
by swahren
Sun Oct 14, 2018 10:13 am
Forum: Debian
Topic: Upstream driver snd-bcm2835
Replies: 8
Views: 6910

Re: Upstream driver snd-bcm2835

Hi evasjo, yes it's true that snd-bcm2835 is in staging, but there are reasons for this. One of them is the question how should the driver be probed. In the Foundation kernel this is done by devicetree, which has been rejected mainline for devices connected via firmware. Im currently working on this...
by swahren
Sat Sep 15, 2018 1:57 pm
Forum: Linux Kernel
Topic: Vanilla 4.14.67 and Raspberry Pi Kernel 4.14.67
Replies: 2
Views: 6168

Re: Vanilla 4.14.67 and Raspberry Pi Kernel 4.14.67

What are the differences between Vanilla Kernel 4.14.67 and current Raspberry Pi Kernel 4.14.67 ? Is there a list ? There is no complete list, because developers are lazy and don't waste their time with such documentation :D But can look at this to get an idea of the differences. Btw it doesn't mak...
by swahren
Thu May 17, 2018 4:16 pm
Forum: Device Tree
Topic: Review: eMMC part on CM1
Replies: 11
Views: 1779

Re: Review: eMMC part on CM1

This statement has nothing to do with changeable voltages.

Regarding to my understanding:
Raspberry Pi 3 B SD IO voltage: fixed 3.3V
Raspberry Pi CM1 MMC IO voltage: fixed 1.8V

Per default MMC core assumes a IO voltage of 3.3V. My devicetree source provides the correct, fixed IO voltage.
by swahren
Thu May 17, 2018 2:10 pm
Forum: Device Tree
Topic: Review: eMMC part on CM1
Replies: 11
Views: 1779

Re: Review: eMMC part on CM1

I never said it's changeable. There are example boards like sun7i-a20-olinuxino-lime2-emmc.dts which uses a fixed regulator as vqmmc-supply.
by swahren
Thu May 17, 2018 1:47 pm
Forum: Device Tree
Topic: Review: eMMC part on CM1
Replies: 11
Views: 1779

Re: Review: eMMC part on CM1

Without providing a fixed regulator the MMC core doesn't have any chance to know the IO line power and assume 3.3 V. This is correct for most of the Raspberry Pis except the Compute Modules.
by swahren
Thu May 17, 2018 1:31 pm
Forum: Device Tree
Topic: Review: eMMC part on CM1
Replies: 11
Views: 1779

Re: Review: eMMC part on CM1

As a software guy i'm not really familiar with reading schematics. But the regulators do match?
by swahren
Thu May 17, 2018 1:09 pm
Forum: Device Tree
Topic: Review: eMMC part on CM1
Replies: 11
Views: 1779

Re: Review: eMMC part on CM1

What is your intention with the EMMC pwrseq support? * The simple eMMC hardware reset provider The purpose of this driver is to perform standard eMMC hw reset procedure, as described by Jedec 4.4 specification. This procedure is performed just after MMC core enabled power to the given mmc host (to ...
by swahren
Thu May 17, 2018 12:41 pm
Forum: Device Tree
Topic: Review: eMMC part on CM1
Replies: 11
Views: 1779

Review: eMMC part on CM1

Hi, i'm working on the DTS for Compute Module 1 + IO board for Linux Mainline. Based on the datasheet and the schematics i created the following source and i would appreciate a review: // SPDX-License-Identifier: GPL-2.0 /dts-v1/; #include "bcm2835.dtsi" #include "bcm2835-rpi.dtsi" / { emmc_pwrseq: ...

Go to advanced search