hypriot / rpi-kernel

Build a Linux kernel for Raspberry Pi 0/1/2/3/3B+
MIT License
134 stars 46 forks source link

Kernel should support 'dtoverlay=pi3-disable-bt' #40

Closed stheine closed 6 years ago

stheine commented 6 years ago

I'm trying to switch the UART (serial ports) using the dtoverlay=pi3-disable-bt flag in /boot/config.txt.

according to the help (dtoverlay -h pi3-disable-bt) this is supposed to link /dev/ttyAMA0 to the GPIO pins using the (non mini) UART. but this is not working the way it's documented using the Hypriot kernel.

it is working ok on a standard raspbian kernel, that I can switch to using rpi-update (eg. 4.9.70-v7+).

my use case is a raspi accessing some home automation system via serial port, and I have the home automation software running as docker container on Hypriot.

StefanScherer commented 6 years ago

@stheine Could you try this with our new release candidate of HypriotOS 1.8.0? You can find the rc1 SD image here: https://github.com/hypriot/image-builder-rpi/releases/tag/v1.8.0-rc1

The new kernel 4.9.80 is very similar to Raspbian kernel, we only have added some features, but all the other kernel modules should be the same. We also have deactivated UART and the kernel debug output, so I think it should work with the next release.

stheine commented 6 years ago

I can confirm that the issue is solved in 1.8.0.

StefanScherer commented 6 years ago

Thanks for testing