[opensuse-arm] New 8250 OMAP serial driver
Hello, First test with CONFIG_SERIAL_8250_OMAP=y has been failed. However, you are welcome to try: http://download.opensuse.org/repositories/home:/matwey:/JeOS-omap-serial/ima... Now, I don't see any output from console. However, the system is successfully booted and available by ssh. In dmesg I see авг 17 02:03:08 linux kernel: WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' авг 17 02:03:08 linux kernel: This ensures that you still see kernel messages. Please авг 17 02:03:08 linux kernel: update your kernel commandline. and that is how it should to be. Serial device seems to be here: linux:/ # head /proc/tty/driver/serial serinfo:1.0 driver revision: 0: uart:8250 mmio:0x44E09000 irq:154 tx:7266 rx:0 RTS|CTS|DTR|DSR agetty is started on /dev/ttyS0 but no communication here. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hello Matwey, Am 17.08.2015 um 18:14 schrieb Matwey V. Kornilov:
First test with CONFIG_SERIAL_8250_OMAP=y has been failed. However, you are welcome to try:
http://download.opensuse.org/repositories/home:/matwey:/JeOS-omap-serial/ima...
Now, I don't see any output from console.
I'm guessing that is due to Jeff's revert of my serial fixes for 8250 - the arm64 commit had been re-applied but not yet the armv7hl commit. Please try: commit 373b6dbcb30cdcf014b9a99102248517d1fb152b Author: Andreas Färber <afaerber@suse.de> Date: Mon Aug 3 17:40:07 2015 +0200 config: armv7hl: Clean up serial options Fix SERIAL_OF_PLATFORM to be =y. This unbreaks AC100 serial. SERIAL_STM32 is for armv7ml and thus irrelevant for armv7hl, disable it. SERIAL_8250_INGENIC is for MIPS SoCs, so disable it for armv7hl. Fix CONFIG_SERIAL_CONEXANT_DIGICOLOR from =m to =y and enable CONFIG_SERIAL_CONEXANT_DIGICOLOR_CONSOLE=y, but only for default and vanilla, as it is a Cortex-A8. Fix SERIAL_AMBA_PL010 from =m to =y for lpae, matching default, and enable CONFIG_SERIAL_AMBA_PL010_CONSOLE=y for lpae, too. Disable SERIAL_ST_ASC for lpae, as STi are Cortex-A9 only. Tested-by: Misha Komarovskiy <zombah@gmail.com> (AC100) Signed-off-by: Andreas Färber <afaerber@suse.de> (cherry picked from commit 5f5dbd3a9cd58bfb803b83459a564d06eb1e1a37) [AF: Accidentally reverted in 4a2cf4a409b54e75f8ac4cd7a19fa8e8bc516aca] Signed-off-by: Andreas Färber <afaerber@suse.de> Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hello, Thanks for pointing. I've just rebase it on top of your first commit. https://github.com/matwey/kernel-source/tree/omap_serial 2015-08-17 19:55 GMT+03:00 Andreas Färber <afaerber@suse.de>:
Hello Matwey,
Am 17.08.2015 um 18:14 schrieb Matwey V. Kornilov:
First test with CONFIG_SERIAL_8250_OMAP=y has been failed. However, you are welcome to try:
http://download.opensuse.org/repositories/home:/matwey:/JeOS-omap-serial/ima...
Now, I don't see any output from console.
I'm guessing that is due to Jeff's revert of my serial fixes for 8250 - the arm64 commit had been re-applied but not yet the armv7hl commit. Please try:
commit 373b6dbcb30cdcf014b9a99102248517d1fb152b Author: Andreas Färber <afaerber@suse.de> Date: Mon Aug 3 17:40:07 2015 +0200
config: armv7hl: Clean up serial options
Fix SERIAL_OF_PLATFORM to be =y. This unbreaks AC100 serial.
SERIAL_STM32 is for armv7ml and thus irrelevant for armv7hl, disable it.
SERIAL_8250_INGENIC is for MIPS SoCs, so disable it for armv7hl.
Fix CONFIG_SERIAL_CONEXANT_DIGICOLOR from =m to =y and enable CONFIG_SERIAL_CONEXANT_DIGICOLOR_CONSOLE=y, but only for default and vanilla, as it is a Cortex-A8.
Fix SERIAL_AMBA_PL010 from =m to =y for lpae, matching default, and enable CONFIG_SERIAL_AMBA_PL010_CONSOLE=y for lpae, too.
Disable SERIAL_ST_ASC for lpae, as STi are Cortex-A9 only.
Tested-by: Misha Komarovskiy <zombah@gmail.com> (AC100) Signed-off-by: Andreas Färber <afaerber@suse.de> (cherry picked from commit 5f5dbd3a9cd58bfb803b83459a564d06eb1e1a37) [AF: Accidentally reverted in 4a2cf4a409b54e75f8ac4cd7a19fa8e8bc516aca] Signed-off-by: Andreas Färber <afaerber@suse.de>
Regards, Andreas
-- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg)
-- With best regards, Matwey V. Kornilov http://blog.matwey.name xmpp://0x2207@jabber.ru -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Still no luck. 2015-08-17 20:27 GMT+03:00 Matwey V. Kornilov <matwey.kornilov@gmail.com>:
Hello,
Thanks for pointing. I've just rebase it on top of your first commit.
https://github.com/matwey/kernel-source/tree/omap_serial
2015-08-17 19:55 GMT+03:00 Andreas Färber <afaerber@suse.de>:
Hello Matwey,
Am 17.08.2015 um 18:14 schrieb Matwey V. Kornilov:
First test with CONFIG_SERIAL_8250_OMAP=y has been failed. However, you are welcome to try:
http://download.opensuse.org/repositories/home:/matwey:/JeOS-omap-serial/ima...
Now, I don't see any output from console.
I'm guessing that is due to Jeff's revert of my serial fixes for 8250 - the arm64 commit had been re-applied but not yet the armv7hl commit. Please try:
commit 373b6dbcb30cdcf014b9a99102248517d1fb152b Author: Andreas Färber <afaerber@suse.de> Date: Mon Aug 3 17:40:07 2015 +0200
config: armv7hl: Clean up serial options
Fix SERIAL_OF_PLATFORM to be =y. This unbreaks AC100 serial.
SERIAL_STM32 is for armv7ml and thus irrelevant for armv7hl, disable it.
SERIAL_8250_INGENIC is for MIPS SoCs, so disable it for armv7hl.
Fix CONFIG_SERIAL_CONEXANT_DIGICOLOR from =m to =y and enable CONFIG_SERIAL_CONEXANT_DIGICOLOR_CONSOLE=y, but only for default and vanilla, as it is a Cortex-A8.
Fix SERIAL_AMBA_PL010 from =m to =y for lpae, matching default, and enable CONFIG_SERIAL_AMBA_PL010_CONSOLE=y for lpae, too.
Disable SERIAL_ST_ASC for lpae, as STi are Cortex-A9 only.
Tested-by: Misha Komarovskiy <zombah@gmail.com> (AC100) Signed-off-by: Andreas Färber <afaerber@suse.de> (cherry picked from commit 5f5dbd3a9cd58bfb803b83459a564d06eb1e1a37) [AF: Accidentally reverted in 4a2cf4a409b54e75f8ac4cd7a19fa8e8bc516aca] Signed-off-by: Andreas Färber <afaerber@suse.de>
Regards, Andreas
-- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg)
-- With best regards, Matwey V. Kornilov http://blog.matwey.name xmpp://0x2207@jabber.ru
-- With best regards, Matwey V. Kornilov http://blog.matwey.name xmpp://0x2207@jabber.ru -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (2)
-
Andreas Färber
-
Matwey V. Kornilov