Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.9.19 can't start with CONFIG_DWCOTG=y #1939

Closed
10robinho opened this issue Mar 31, 2017 · 5 comments
Closed

4.9.19 can't start with CONFIG_DWCOTG=y #1939

10robinho opened this issue Mar 31, 2017 · 5 comments

Comments

@10robinho
Copy link

As title says, latest kernel from 4.9.y can't start (hanging on rainbow screen) when CONFIG_DWCOTG=y. If I disable this option everything works normal.

There is no output on console, I have no idea how to debug it.

Am I missing something or this is a bug?

@popcornmix
Copy link
Collaborator

I'm running latest rpi-update kernel and:

pi@domnfs:~ $ uname -a
Linux domnfs 4.9.19-v7+ #983 SMP Thu Mar 30 14:46:28 BST 2017 armv7l GNU/Linux
pi@domnfs:~ $ sudo modprobe configs
pi@domnfs:~ $ zgrep DWCOTG /proc/config.gz 
CONFIG_USB_DWCOTG=y

So it is certainly possible to boot with CONFIG_USB_DWCOTG=y.

What type of pi are you running on?
Does latest rpi-update kernel boot for you?
Does it work if you build the kernel using rpi2709_defconfig?

@10robinho
Copy link
Author

So it is certainly possible to boot with CONFIG_USB_DWCOTG=y.

Sure it is, but I think there is something wrong with kernel configuration.

I build kernel from sources using rpi2835_defconfig (that should be correct one for reference, right?).
I just added few options that are unrelated to USB_DWCOTG but config is basically the same and very short/clean.
It's for RPI3.

I will investigate more and post here.
It may be:

  • my mistake somewhere
  • something wrong with bcm2835_defconfig
  • something wrong with other kernel options required for USB_DWCOTG but not auto-selected or required

You mentioned rpi2709_defconfig, I will check it. (it is bcm2709_defconfig in sources but I guess it's the same thing).

@popcornmix
Copy link
Collaborator

popcornmix commented Mar 31, 2017

No, use bcm2709_defconfig for pi2/pi3.
bcm2835_defconfig is for building an upstream kernel which supports far fewer drivers (no fiq and so no dwcotg).

@popcornmix
Copy link
Collaborator

@10robinho
Copy link
Author

@popcornmix thanks for helping out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants