History log of /haiku/src/system/kernel/arch/arm/arch_debug_console.cpp
Revision Date Author Comments
# 8e6c16e5 28-Jan-2022 Alexander von Gluck IV <kallisti5@unixzen.com>

arm/debug_console: Ensure we always return before newlines

* Similar to what riscv64 does
* Solves incorrect newlines
in qemu serial.

Change-Id: Ib1179728529dd4bf51c8361fdb6190bd43ccb851
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4895
Reviewed-by: <karolyd577@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>


# a722fbfc 24-Nov-2021 David Karoly <karolyd577@gmail.com>

kernel/arch/arm: enable 8250 generic and OMAP UART drivers

Change-Id: I45396eada2e9088b27df7fb9522d07e8ac223fd5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4741
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 15951db9 24-Nov-2021 David Karoly <karolyd577@gmail.com>

kernel/arch/arm: initialize debug console based on FDT

Change-Id: I759d38185c2f7e75d8ba7120c8d06740720171ec
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4735
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# acd5d4fd 20-Dec-2020 Alexander von Gluck IV <kallisti5@unixzen.com>

kernel/arm: Prevent a uart dereference.

* Make some wild qemu virt uart assumptions as a fallback

Change-Id: If8ff74b6a6f53b6c38515a9bdd5fba2573f21700
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3541
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 0ed9b677 11-Jun-2020 Alexander von Gluck IV <kallisti5@unixzen.com>

arm: switch to EFI, drop FDT in loader

* This should 'fix' the arm build
* No longer parse FDT in bootloader, just pass ptr.
* The EFI loader doesn't load yet on arm
* It compiles though. Ship it!

Change-Id: I7c8ce588298dfaf4fba8054c6b6d9a92733b5943
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2903
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 1e82d7bd 10-Jul-2017 Alexander von Gluck IV <kallisti5@unixzen.com>

kernel/arm: Work out more board_config's via fdt


# deb4929b 07-Mar-2015 Alexander von Gluck IV <kallisti5@unixzen.com>

rpi1/rpi2: Use PL011 UART fallback in loader.

* Adjust UART base locations to reflect ARM pref base.
* We have a working haiku_loader_u-boot on Raspberry Pi 2!:q


# 1f675a7f 17-May-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

uart: Fix arm kernel build

* Make kernel use mmu_man's new UART code
* Remove no longer used uart.cpp / uart.h


# 78004f16 08-May-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

arm uart: Convert new uart code to classes

* This makes things a little more flexible and
the interface to use the uarts cleaner.
* May want to make a generic Uart wrapper
class in uart.h / uart.cpp and call drivers
as needed from there.


# aa7d0707 06-May-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

arm uart: Rename getc/putc to getchar/getchar

* Avoid name collisions
* This uart stuff may work better as a class at
some point, however I didn't want to rock the
u-boot boat *too* much as I don't have the
hardware to test.


# 917e9be1 06-May-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

arm uart: Complete redesign of ARM uart code

* Add nested function wrappers to allow usage of other
uart drivers depending on board. We may want to use this
on other platforms at some point (haha, maybe)


# 258d4ef9 26-Apr-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

kernel arm: Quick style cleanup; No functional change


# 8bcc50c3 12-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added arch_debug_blue_screen_try_getchar() and arch_debug_serial_try_getchar()
which don't wait for a character, but return -1 when no character is
available ATM. Implemented correctly for x86 only.
* Changed the semantics of the debugger_module_info::debugger_getchar() hook.
It is supposed to return immediately now.
* Adjusted usb_keyboard accordingly. Hacked UHCI's debug_process_transfer() to
achieve that. It does now start, check, or cancel a transfer. Split
UHCI::ProcessDebugTransfer() into StartDebugTransfer(), and
CheckDebugTransfer() accordingly, and also added a CancelDebugTransfer().
The latter seems to have issues. Michael, please have a look. I have no clue
what I'm doing. :-)
* Adjusted kgetc() to poll all possible inputs using the new
functions/semantics. This allows to use any input (USB, PS/2, serial) in KDL.
* Removed the no longer needed "serial_input" command.
* read_line(): Also support 0x7f as backspace code. That's what xterm sends.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42126 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cd4265c8 17-Oct-2010 Ithamar R. Adema <ithamar.adema@team-embedded.nl>

* For ARM, we now always read from the serial for KDL input.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38994 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e50cf876 02-Dec-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Moved the VM headers into subdirectory vm/.
* Renamed vm_cache.h/vm_address_space.h to VMCache.h/VMAddressSpace.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34449 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 23eafdaf 13-Aug-2009 François Revol <revol@free.fr>

[GSoC] [ARM] Patch by Johannes Wischert.
- stubbed out many arch kernel functions (borrowed from other archs),
- partially implement ELF relocations code, enough to load the kernel,
- move uart.c to kernel sources and use the same one for the loader,
- default implementation for gensyscalls,
- assembler code functions for interrupt masking (enable/disable/restore/query).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32327 a95241bf-73f2-0310-859d-f6bbb57e9c96


# deb4929b9aa59c3d3af2e920097895eb39e312b9 07-Mar-2015 Alexander von Gluck IV <kallisti5@unixzen.com>

rpi1/rpi2: Use PL011 UART fallback in loader.

* Adjust UART base locations to reflect ARM pref base.
* We have a working haiku_loader_u-boot on Raspberry Pi 2!:q


# 1f675a7fcbc9a2a6177d22c279e6c923d763a6ee 17-May-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

uart: Fix arm kernel build

* Make kernel use mmu_man's new UART code
* Remove no longer used uart.cpp / uart.h


# 78004f1677f78808556a184a5bac9e112fe0165b 08-May-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

arm uart: Convert new uart code to classes

* This makes things a little more flexible and
the interface to use the uarts cleaner.
* May want to make a generic Uart wrapper
class in uart.h / uart.cpp and call drivers
as needed from there.


# aa7d070732908c3ae1d89dd71cefc6f11a719900 06-May-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

arm uart: Rename getc/putc to getchar/getchar

* Avoid name collisions
* This uart stuff may work better as a class at
some point, however I didn't want to rock the
u-boot boat *too* much as I don't have the
hardware to test.


# 917e9be1a62dd45937b68c61cf624197a6210261 06-May-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

arm uart: Complete redesign of ARM uart code

* Add nested function wrappers to allow usage of other
uart drivers depending on board. We may want to use this
on other platforms at some point (haha, maybe)


# 258d4ef93d3f51cef60b05d1c5ae418108b55782 26-Apr-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

kernel arm: Quick style cleanup; No functional change


# 8bcc50c336108e882e215c8c5cec57155464edf4 12-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added arch_debug_blue_screen_try_getchar() and arch_debug_serial_try_getchar()
which don't wait for a character, but return -1 when no character is
available ATM. Implemented correctly for x86 only.
* Changed the semantics of the debugger_module_info::debugger_getchar() hook.
It is supposed to return immediately now.
* Adjusted usb_keyboard accordingly. Hacked UHCI's debug_process_transfer() to
achieve that. It does now start, check, or cancel a transfer. Split
UHCI::ProcessDebugTransfer() into StartDebugTransfer(), and
CheckDebugTransfer() accordingly, and also added a CancelDebugTransfer().
The latter seems to have issues. Michael, please have a look. I have no clue
what I'm doing. :-)
* Adjusted kgetc() to poll all possible inputs using the new
functions/semantics. This allows to use any input (USB, PS/2, serial) in KDL.
* Removed the no longer needed "serial_input" command.
* read_line(): Also support 0x7f as backspace code. That's what xterm sends.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42126 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cd4265c803e1aef3ee9ba306f43ef9e4f40cbff0 17-Oct-2010 Ithamar R. Adema <ithamar.adema@team-embedded.nl>

* For ARM, we now always read from the serial for KDL input.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38994 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e50cf8765be50a7454c9488db38b638cf90805af 02-Dec-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Moved the VM headers into subdirectory vm/.
* Renamed vm_cache.h/vm_address_space.h to VMCache.h/VMAddressSpace.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34449 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 23eafdaf313f2e756170f6a543205311a4d9bc96 13-Aug-2009 François Revol <revol@free.fr>

[GSoC] [ARM] Patch by Johannes Wischert.
- stubbed out many arch kernel functions (borrowed from other archs),
- partially implement ELF relocations code, enough to load the kernel,
- move uart.c to kernel sources and use the same one for the loader,
- default implementation for gensyscalls,
- assembler code functions for interrupt masking (enable/disable/restore/query).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32327 a95241bf-73f2-0310-859d-f6bbb57e9c96