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