Hi everyone, I'm not sure how to enable SPI in openSUSE Leap 43.3. I've changed the config.txt file and added "dtparam=spi=on", this has however no affect on the hardware. The same steps are working in Raspbian. #> cat /proc/device-tree/soc/spi@7e204000/status disabled Any ideas? Ciao, Alex~ -- Alexander Bergmann <abergmann@suse.com>, Security Engineer, GPG:9FFA4886 SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg)
Hi Alex, Am 25.10.2017 um 03:14 schrieb Alexander Bergmann:
I'm not sure how to enable SPI in openSUSE Leap 43.3. I've changed the config.txt file and added "dtparam=spi=on", this has however no affect on the hardware. The same steps are working in Raspbian.
#> cat /proc/device-tree/soc/spi@7e204000/status disabled
Any ideas?
Please see my examples linked from the 40-pin connector on the HCL Wiki page. Since we use U-Boot, such external Raspberry Pi examples won't work and you should use U-Boot's fdt apply command instead. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi Andreas, On Wed, Oct 25, 2017 at 06:06:26AM +0900, Andreas Färber wrote:
Hi Alex,
Am 25.10.2017 um 03:14 schrieb Alexander Bergmann:
I'm not sure how to enable SPI in openSUSE Leap 43.3. I've changed the config.txt file and added "dtparam=spi=on", this has however no affect on the hardware. The same steps are working in Raspbian.
#> cat /proc/device-tree/soc/spi@7e204000/status disabled
Any ideas?
Please see my examples linked from the 40-pin connector on the HCL Wiki page.
Hmmm, I've digged through the wiki last night, but I was unable to find it. Could you post the link here?
Since we use U-Boot, such external Raspberry Pi examples won't work and you should use U-Boot's fdt apply command instead.
Intressting, I'm still trying to understand the whole boot process and at which time which component is loaded and can be modified. I thought the config.txt is loaded directly before u-boot and therefore SPI gets activated via that dtparam switch. So I have to get my head around the whole EFI boot. Thanks, Alex~ -- Alexander Bergmann <abergmann@suse.com>, Security Engineer, GPG:9FFA4886 SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg)
Am 25.10.2017 um 16:15 schrieb Alexander Bergmann:
Hi Andreas,
On Wed, Oct 25, 2017 at 06:06:26AM +0900, Andreas Färber wrote:
Hi Alex,
Am 25.10.2017 um 03:14 schrieb Alexander Bergmann:
I'm not sure how to enable SPI in openSUSE Leap 43.3. I've changed the config.txt file and added "dtparam=spi=on", this has however no affect on the hardware. The same steps are working in Raspbian.
#> cat /proc/device-tree/soc/spi@7e204000/status disabled
Any ideas?
Please see my examples linked from the 40-pin connector on the HCL Wiki page.
Hmmm, I've digged through the wiki last night, but I was unable to find it. Could you post the link here?
https://en.opensuse.org/HCL:Raspberry_Pi3 -> https://en.opensuse.org/Category:Raspberry_Pi_40-pin_connector -> https://en.opensuse.org/HCL:Chistera_Pi Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am 25.10.2017 um 09:15 schrieb Alexander Bergmann <abergmann@suse.com>:
Hi Andreas,
On Wed, Oct 25, 2017 at 06:06:26AM +0900, Andreas Färber wrote: Hi Alex,
Am 25.10.2017 um 03:14 schrieb Alexander Bergmann: I'm not sure how to enable SPI in openSUSE Leap 43.3. I've changed the config.txt file and added "dtparam=spi=on", this has however no affect on the hardware. The same steps are working in Raspbian.
#> cat /proc/device-tree/soc/spi@7e204000/status disabled
Any ideas?
Please see my examples linked from the 40-pin connector on the HCL Wiki page.
Hmmm, I've digged through the wiki last night, but I was unable to find it. Could you post the link here?
Since we use U-Boot, such external Raspberry Pi examples won't work and you should use U-Boot's fdt apply command instead.
Intressting, I'm still trying to understand the whole boot process and at which time which component is loaded and can be modified. I thought the config.txt is loaded directly before u-boot and therefore SPI gets activated via that dtparam switch.
So I have to get my head around the whole EFI boot.
I have work in progress that would allow you to modify config.txt and see the dt changes populated to Linux, but we‘re not fully there yet. Today we simply ignore the device tree we get generated by start.elf (which includes config.txt changes) and replace it with a built-in one in U-Boot. So today you need to then modify that one again. Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (3)
-
Alexander Bergmann
-
Alexander Graf
-
Andreas Färber