Modify

Opened 10 years ago

Closed 10 years ago

#3273 closed defect (fixed)

kmod-spi is not created

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: kernel Version:
Keywords: Cc:

Description

When i select the SPI module in menuconfig and build OpenWRT, i have no kmod-spi*.ipk
I can reproduce it every time.

Attachments (2)

openwrt-spi-module.patch (1.5 KB) - added by Axel Gembe 10 years ago.
Create packages for the SPI modules
openwrt-mmc-gpio-later-init.patch (565 bytes) - added by Axel Gembe 10 years ago.
Initialize MMC-GPIO after SPI

Download all attachments as: .zip

Change History (11)

comment:1 Changed 10 years ago by Acinonyx <acinonyxs@…>

I confirm the same on x86 target.

comment:2 Changed 10 years ago by Axel Gembe

I see that in package/kernel/modules/other.mk there are no files defined for the SPI package...

comment:3 Changed 10 years ago by anonymous

I think I fixed the problem... also the dependencies for bitbang didnt include spi. Gonna submit a patch any minute now...

comment:4 Changed 10 years ago by Axel Gembe

Here are the patches... I've also attached a patch that makes the mmc-gpio module load after the spi stuff (Any suggestions on how to do this properly are welcome, what I did is what seemed like the best way to me, but I still dislike it)

Changed 10 years ago by Axel Gembe

Create packages for the SPI modules

Changed 10 years ago by Axel Gembe

Initialize MMC-GPIO after SPI

comment:5 Changed 10 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Applied in [10675], thanks !

comment:6 Changed 10 years ago by carl@…

  • Resolution fixed deleted
  • Status changed from closed to reopened

I am building 11058 for broadcom 47xx and it appears that kmod-spi is still not being built. I am not able to find it in the bin/packages/ directory after compiling.

Thanks,
Carl

comment:7 Changed 10 years ago by anonymous

This is a bit misleading. The stuff gets built, but there is no real package cause it gets compiled into the kernel and the package does not define any files. I guess this is a problem if packages depend on kmod-spi, isn't it ?

comment:8 Changed 10 years ago by carl@…

Yes it is a problem with that. I was trying to install kmod-mmc-over-gpio which depended on kmod-mmc-spi which depends on kmod-spi.

comment:9 Changed 10 years ago by blogic

  • Resolution set to fixed
  • Status changed from reopened to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.