History log of /haiku/src/system/boot/platform/u-boot/video.cpp
Revision Date Author Comments
# 04cbc258 02-Aug-2018 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Use fast clearing of visible screen for splash

memset uses rep stosb on x86 during boot, with memory
not set to write-combining, which makes it slow.

Instead we do aligned writes of 2 x four bytes at once.
Only clear the minimum of size and width * height * 4
UEFI framebuffer size can be huge, upto 512MB here,
and rep stosb seems to be around 25-30MB/s

This is written as generic as possible to work on
old compilers and different platforms, without
expecting boot memset to be optimized.

This makes it almost unnoticable compared to not
clearing.


# 15db6949 01-Aug-2018 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Don't clear video mem on UEFI, efi video mode refactor

Writes to videomem is slow without memory remapping
Can't do the mapping without leaving UEFI, so skipping
the clear. Afaict it should always be cleared by UEFI

This saves ~10 seconds of booting on my machine
(1920*1080*4 bytes)

EFI video mode (should have been it's own commit)
* Only do strcmp if there are enough params
* break when found


# 9642f770 31-Jul-2018 Alexander von Gluck IV <kallisti5@unixzen.com>

arch: Cleanup of __ARM__ checks

* gcc 7.x defines __arm__ and __ARM__ (and others)
* clang defines __arm__ and __arm
* cleanup a few related ifdef vs if macros

Change-Id: I5da4bafac590f6fa3e10e543688001c2449f840d


# e40cea64 09-Jul-2017 Alexander von Gluck IV <kallisti5@unixzen.com>

u-boot/arm: Initial steps to drop target board requirements


# 91c87884 10-Mar-2015 Alexander von Gluck IV <kallisti5@unixzen.com>

u-boot: Improve error checking on framebuffer


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

arm: Rename BCM2835 SoC header to bcm283X.h

* Fix a few typos in hrev48873


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

arm: Rename BCM2708 to BCM2805

* To while there was some compatibility between
BCM2708 and BCM2805, it makes the BCM2806 changes
more confusing. We don't have any valueable BCM2708
targets.


# 5906dbb4 06-Mar-2015 Alexander von Gluck IV <kallisti5@unixzen.com>

platform/u-boot: Work towards using arm mailbox driver

* Reference bcm2708 framebuffer when it makes sense
* Add bcm2708 define to Raspberry Pi board_config.h


# 9c71c671 25-Oct-2014 Ithamar R. Adema <ithamar@upgrade-android.com>

ARM: Fix OMAP3 framebuffer divider setting

QEMU was crashing since when setting the DSS divider we were _clearing_
the TV divider, and QEMU did not check for a divide by zero.

This "fixes" the QEMU crash and gets us a working framebuffer on Beagle ;)


# 7749faf6 28-Jul-2014 Arvind S Raj <sraj.arvind@gmail.com>

Disable frame buffer for now since it's not essential. Fix involves correcting fault when writing to CM_CLKSEL_DSS during frame buffer initialisation.


# 03e2e071 02-Nov-2012 Ithamar R. Adema <ithamar@upgrade-android.com>

bring back framebuffer support in haiku_loader on ARM/u-boot

* General fixes to get the refactored framebuffer code to work
(across all 3 supported architectures)
* PXA (verdex) specific fixes to framebuffer code.

Now properly displays the (greyed) icons on the framebuffer!

Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>


# 8eeafbce 15-Sep-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

arm framebuffer: Convert arm arch_video code into classes

* Proper framebuffer code is chosen based on hardware
* This change could extend into other arch code as well
* François gave permission to update his copyrights
* Minimal functional change


# 386671b4 17-May-2012 François Revol <revol@free.fr>

U-Boot: Guard ARM-specific stuff

* those must be cleaned up and moved away
* allows building U-Boot loader for ppc


# 98a35452 14-Aug-2009 François Revol <revol@free.fr>

[ARM]
Add support for boot splash, only for PXA.
Disabled for now as it forces the framebuffer onto some useful data.


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


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

[ARM]
Start of framebuffer initialization for the Verdex board.
For now it points to the data section as framebuffer for testing and shows an RGB pattern.


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


# 20cbef82 27-Jul-2009 François Revol <revol@free.fr>

[GSoC] [ARM] Patch by Johannes Wischert.
Stubbed u-boot platform code. Mostly copied from other platforms.


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


# 91c878846b9f2634dae12e3fb858ac13033a1755 10-Mar-2015 Alexander von Gluck IV <kallisti5@unixzen.com>

u-boot: Improve error checking on framebuffer


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

arm: Rename BCM2835 SoC header to bcm283X.h

* Fix a few typos in hrev48873


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

arm: Rename BCM2708 to BCM2805

* To while there was some compatibility between
BCM2708 and BCM2805, it makes the BCM2806 changes
more confusing. We don't have any valueable BCM2708
targets.


# 5906dbb4d4656919daaf375510132107b0af6a8a 06-Mar-2015 Alexander von Gluck IV <kallisti5@unixzen.com>

platform/u-boot: Work towards using arm mailbox driver

* Reference bcm2708 framebuffer when it makes sense
* Add bcm2708 define to Raspberry Pi board_config.h


# 9c71c67140feacfa7b3c5b27bcfa1eda122ba590 25-Oct-2014 Ithamar R. Adema <ithamar@upgrade-android.com>

ARM: Fix OMAP3 framebuffer divider setting

QEMU was crashing since when setting the DSS divider we were _clearing_
the TV divider, and QEMU did not check for a divide by zero.

This "fixes" the QEMU crash and gets us a working framebuffer on Beagle ;)


# 7749faf602bd12b598d72322524f7dc567f5fc5b 28-Jul-2014 Arvind S Raj <sraj.arvind@gmail.com>

Disable frame buffer for now since it's not essential. Fix involves correcting fault when writing to CM_CLKSEL_DSS during frame buffer initialisation.


# 03e2e071fd006ea8d8fe0ca0fd9e909aa42ce4ea 02-Nov-2012 Ithamar R. Adema <ithamar@upgrade-android.com>

bring back framebuffer support in haiku_loader on ARM/u-boot

* General fixes to get the refactored framebuffer code to work
(across all 3 supported architectures)
* PXA (verdex) specific fixes to framebuffer code.

Now properly displays the (greyed) icons on the framebuffer!

Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>


# 8eeafbce5f491129c36c8d1cb42a207816b9f3af 15-Sep-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

arm framebuffer: Convert arm arch_video code into classes

* Proper framebuffer code is chosen based on hardware
* This change could extend into other arch code as well
* François gave permission to update his copyrights
* Minimal functional change


# 386671b4d0397c0d2778832f96a1eff7c7c924d5 17-May-2012 François Revol <revol@free.fr>

U-Boot: Guard ARM-specific stuff

* those must be cleaned up and moved away
* allows building U-Boot loader for ppc


# 98a35452957d4339948b357cea1d339a107d5fdc 14-Aug-2009 François Revol <revol@free.fr>

[ARM]
Add support for boot splash, only for PXA.
Disabled for now as it forces the framebuffer onto some useful data.


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


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

[ARM]
Start of framebuffer initialization for the Verdex board.
For now it points to the data section as framebuffer for testing and shows an RGB pattern.


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


# 20cbef82a43cbb7eeeaac16c85f4de15bcf9ef47 27-Jul-2009 François Revol <revol@free.fr>

[GSoC] [ARM] Patch by Johannes Wischert.
Stubbed u-boot platform code. Mostly copied from other platforms.


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