On Wed, Oct 25, 2017 at 06:06:26AM +0900, Andreas Färber wrote:
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
Please see my examples linked from the 40-pin connector on the HCL Wiki
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.
Alexander Bergmann <abergmann(a)suse.com>om>, Security Engineer, GPG:9FFA4886
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)