-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
64 bit Kernel compile issue #3885
Comments
Unfortunately a recently merged patch (#3151) breaks the gadget abstraction by adding references to gadget-specific state into the mainline code. I tried replacing the original Any ideas, @sn00pster and @mdevaev? |
This reverts commit c397485. See: #3885 Signed-off-by: Phil Elwell <[email protected]>
I've reverted c397485 in the meantime. |
* fixes: raspberrypi/linux#3885 Signed-off-by: Martin Jansa <[email protected]>
Thanks @pelwell That fixed my issue here. I will leave it up to you to close this issue as it looks like other related things are going on. |
@pelwell Thank you for letting me know about the revert. I've skimmed the code and maybe (I haven't tested it yet, I'll do it in the next few hours) that the correct way is to use linux/drivers/usb/dwc2/gadget.c Line 3258 in 1c64f4b
As far as I can see, this function sets @fizzyade (@sn00pster), why did you remove |
Continued here to avoid offtop |
kernel: configs: Add MEMCG_SWAP support initially disabled See: raspberrypi/linux#3886 kernel: configs: Restore SND_PCM_OSS=m See: raspberrypi/linux#3883 kernel: overlays: Add sd3078 to the i2c-rtc overlay kernel: configs: Add CONFIG_RTC_DRV_SD3078=m See: raspberrypi/linux#3881 kernel: Revert usb/dwc2: Set correct state on gadget disconnect See: raspberrypi/linux#3885
kernel: configs: Add MEMCG_SWAP support initially disabled See: raspberrypi/linux#3886 kernel: configs: Restore SND_PCM_OSS=m See: raspberrypi/linux#3883 kernel: overlays: Add sd3078 to the i2c-rtc overlay kernel: configs: Add CONFIG_RTC_DRV_SD3078=m See: raspberrypi/linux#3881 kernel: Revert usb/dwc2: Set correct state on gadget disconnect See: raspberrypi/linux#3885
This reverts commit c397485. See: #3885 Signed-off-by: Phil Elwell <[email protected]>
* fixes: raspberrypi/linux#3885 Signed-off-by: Martin Jansa <[email protected]>
* fixes: raspberrypi/linux#3885 Signed-off-by: Martin Jansa <[email protected]>
Can you also revert this in 5.8? |
This reverts commit c397485. See: #3885 Signed-off-by: Phil Elwell <[email protected]>
That's done, but once 5.9 goes final I wouldn't expect rpi-5.8.y to be maintained much longer. |
This reverts commit c397485. See: #3885 Signed-off-by: Phil Elwell <[email protected]>
This reverts commit c397485. See: #3885 Signed-off-by: Phil Elwell <[email protected]>
This reverts commit c397485. See: #3885 Signed-off-by: Phil Elwell <[email protected]>
This reverts commit c397485. See: #3885 Signed-off-by: Phil Elwell <[email protected]>
* fixes: raspberrypi/linux#3885 Signed-off-by: Martin Jansa <[email protected]>
This reverts commit c397485. See: #3885 Signed-off-by: Phil Elwell <[email protected]>
* fixes: raspberrypi/linux#3885 Signed-off-by: Martin Jansa <[email protected]>
* fixes: raspberrypi/linux#3885 Signed-off-by: Martin Jansa <[email protected]>
This reverts commit c397485. See: #3885 Signed-off-by: Phil Elwell <[email protected]>
This reverts commit c397485. See: #3885 Signed-off-by: Phil Elwell <[email protected]>
* fixes: raspberrypi/linux#3885 Signed-off-by: Martin Jansa <[email protected]>
This reverts commit c397485. See: #3885 Signed-off-by: Phil Elwell <[email protected]>
This reverts commit c397485. See: #3885 Signed-off-by: Phil Elwell <[email protected]>
This reverts commit c397485. See: #3885 Signed-off-by: Phil Elwell <[email protected]>
This reverts commit c397485. See: #3885 Signed-off-by: Phil Elwell <[email protected]>
This reverts commit c397485. See: #3885 Signed-off-by: Phil Elwell <[email protected]>
This reverts commit c397485. See: #3885 Signed-off-by: Phil Elwell <[email protected]>
…rrypi3-64 builds * fixes: raspberrypi/linux#3885 Signed-off-by: Martin Jansa <[email protected]>
…rrypi3-64 builds * fixes: raspberrypi/linux#3885 Signed-off-by: Martin Jansa <[email protected]>
I would change the title to reflect the kernel version but I can not see how to.
I get a compile error trying to compile 64 bit for the pi3 for kernel 5.4.69.
Compiler: aarch64-linux-gnu-gcc (GCC) 10.2.0 cross compiler
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- bcmrpi3_defconfig
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-
I have compiled 32bit kernels for the pi1-pi4 and they did ok. I have not gotten to the 64bit pi4 kernel yet so I do not know how it will go.
The text was updated successfully, but these errors were encountered: