Alexander von Gluck IV
87236c4fb3
jam/arm: Add missing overo target board
2015-03-16 10:38:36 -05:00
Alexander von Gluck IV
620dfc84e9
configure: Fix arm target boards in help
2015-03-15 15:24:23 -05:00
Alexander von Gluck IV
40eb7121b6
arm/fdt: Start using new fdt code in mmu_man's fdt_serial logic
...
* Expose fdt_get_device_reg for others to use
2015-03-14 14:29:30 -05:00
Alexander von Gluck IV
fe19a9b18b
arm/fdt: Add functions to get device bases by name + alias
...
* Move more code into fdt_support
* We now can query FDT registers based on name or alias
* Return addr_t where it makes sense
* Copyright change ok'ed by mmu_man
2015-03-14 13:03:51 -05:00
Alexander von Gluck IV
f121867b87
arm/fdt: Initial reorg of fdt support code
...
* Makes FDT support code useable by everyone
without all of the externs
* Further movement to be non-u-boot centic
may still happen.
2015-03-14 09:50:46 -05:00
Alexander von Gluck IV
de8d2d8957
arm/fdt: Clean up debugging statements
...
* Add some comments
2015-03-13 23:52:37 -05:00
Alexander von Gluck IV
59ef0db249
arm/fdt: Add code to navigate FDT.
...
* This isn't be best long-term place for this code,
will likely move to some generic FDT support code.
* We pass a path like "/soc/gpio" and get back the
base physical register address in memory minus
the range offset.
2015-03-13 23:46:54 -05:00
Alexander von Gluck IV
af056576ea
bcm283X: Don't break all non-bcm arm builds, warn.
...
* Called via arm_mailbox_bcm2835 *and* arm_framebuffer_bcm2835
* This is a bit messy. We really should be getting these
chipset-centric bases from the provided FDT / DTB.
* I can't think of a way to redo this without undoing
work towards FDT.
2015-03-13 17:43:35 -05:00
Alexander von Gluck IV
401afabd40
loader/arm/mmu: Set first available va to KERNEL_LOAD_BASE
...
* The existing code set the first available pa and va to
the end of the page dirctory.
* The arm mmu code was attempting to identity map (va==pa)
the memory, but also wanted memory to be in kernel space.
This allocation method isn't possible on all boards
(including the pi)
* We're adjusting the dynamic ram to KERNEL_LOAD_BASE
plus the max size of the kernel. (which is what most
other platforms are doing)
2015-03-13 16:25:03 -05:00
Alexander von Gluck IV
91c878846b
u-boot: Improve error checking on framebuffer
2015-03-10 22:40:38 -05:00
Alexander von Gluck IV
2ac9acbba4
bcm2835: Improve framebuffer tracing and error trapping
2015-03-10 22:40:07 -05:00
Alexander von Gluck IV
2fc1ec2238
bcm2835: Adjust mailbox base register
2015-03-10 22:07:38 -05:00
Alexander von Gluck IV
f90ec6bffc
bcm2835: Use mailbox calls again
2015-03-07 20:43:41 -06:00
Alexander von Gluck IV
b8dff21b5a
rpi2: Add mmc code to generate SD card images
...
* jam -q haiku-mmc-image
* sudo dd if=haiku-rpi2.mmc of=/dev/...
2015-03-07 20:42:51 -06:00
Alexander von Gluck IV
9f76848eca
doc/rpi1: Fix old reference to old FDT blob
2015-03-07 16:52:43 -06:00
Alexander von Gluck IV
1ac3785a72
doc: Update rpi1/rpi2 documentation.
2015-03-07 16:50:51 -06:00
Alexander von Gluck IV
ed9321d9f7
rpi2: Change BoardConfig to armv7
2015-03-07 16:07:24 -06:00
Alexander von Gluck IV
ed9a0b70f3
u-boot/serial: Only reference pl011 on ARM
...
* This will likely change once we FDT.
2015-03-07 13:50:32 -06:00
Alexander von Gluck IV
deb4929b9a
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
2015-03-07 13:42:18 -06:00
Alexander von Gluck IV
db24244df1
rpi1/rpi2: More sane board loader bases
2015-03-07 13:00:56 -06:00
Alexander von Gluck IV
196479ae96
headers/bcm283X: Don't depend on others to include board_config.h
2015-03-07 12:35:00 -06:00
Alexander von Gluck IV
427d40adb5
arm/targets: Add rpi2, rename raspberry_pi to rpi1
...
* The Raspberry pi 2 uses a new SoC which differs slightly
from the Raspberry Pi 1.
* Someday these two board targets could go away when we get
FDT support.
2015-03-07 12:31:12 -06:00
Alexander von Gluck IV
d05e5f1db6
bcm283X: Add new peripheral base for bcm2836
...
* BCM2836 == Raspberry Pi 2
2015-03-07 11:23:49 -06:00
Alexander von Gluck IV
523c77e052
arm: Rename BCM2835 SoC header to bcm283X.h
...
* Fix a few typos in hrev48873
2015-03-07 11:11:53 -06:00
Alexander von Gluck IV
f8e19d47fb
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.
2015-03-07 11:03:01 -06:00
Alexander von Gluck IV
b8e37b7ba3
board/raspberry_pi: Add missing loader entry addresses
2015-03-06 14:58:46 -06:00
Alexander von Gluck IV
5eeb4163fa
platform/u-boot: Make bcm2708 mailbox code functional
...
* Functional == compiles. Needs tested :-)
2015-03-06 10:17:52 -06:00
Alexander von Gluck IV
5906dbb4d4
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
2015-03-06 07:47:32 -06:00
Alexander von Gluck IV
7ddf9bcf0d
boot/arm: bcm2708 cleanup; no functional change
2015-03-05 22:54:21 -06:00
Alexander von Gluck IV
c798e80b79
raspberry_pi: Move over to u-boot.
...
* The raspberry_pi loader wasn't in great shape anyway,
but could still contain some valueable code.
2015-03-05 22:41:47 -06:00
Alexander von Gluck IV
8a06abf132
bcm2708: Convert framebuffer driver over to new format
...
* Remove from raspberry_pi bootloader (which should die soon)
* Change to use new arm device layout
* Create arch_mailbox to check arm mailboxes (WIP)
2015-03-05 22:41:47 -06:00
Alexander von Gluck IV
e2ec1f2f8e
FDT: Update ARM FDT's based on FreeBSD HEAD
...
* Pull in Beaglebone, Beaglebone Black, and Cubieboard because
those could be targets some day
2015-03-04 20:16:10 -06:00
Alexander von Gluck IV
6f4df461de
HaikuPortsCross: Update some bootstrap packages
...
* Update curl due to some autoconf issues
* Add in mawk for arm as gawk executes itself causing
issues on cross-arch builds.
2015-03-04 20:12:33 -06:00
Alexander von Gluck IV
d222bce874
ipv6: Fix tracing int sizes on non-32-bit systems
2015-02-15 22:17:51 +00:00
Alexander von Gluck IV
1c646c0bcd
tests/posix: Drop bonnie++, recipe exists and not api test
2015-02-02 18:24:01 +00:00
Alexander von Gluck IV
3b8ca9ebdf
tests: math_test, use std:isnan vs isnan
...
* As far as I can tell, you're not supposed to
use cmath isnan from cpp as the std namespace
includes it
* libroot Tests now build again.
2015-02-02 18:06:13 +00:00
Alexander von Gluck IV
a6c2b2fa63
network preflet: On IPv6, show "Automatic" for address mode
...
* IPv6 is "DHCPv6" or "Router Advertisement". Lets just say
automatic to not confuse techie people.
2015-02-02 17:17:29 +00:00
Alexander von Gluck IV
048ffc1b1e
tests: Fix wording of echo. No func change
2015-02-02 16:51:59 +00:00
Alexander von Gluck IV
4a961136b7
tests: add cstring to math_test for str funcs
2015-02-02 16:47:20 +00:00
Alexander von Gluck IV
ad91a99198
tests: The wchar header actually looks for _GNU_SOURCE
...
* We we are pretty mixed here. See #11818
2015-02-02 16:30:23 +00:00
Alexander von Gluck IV
fc8aebca3b
tests: fix signal_in_allocator_test printf type
2015-02-02 16:18:05 +00:00
Alexander von Gluck IV
f6faff8960
tests: check for _USE_GNU and define sighandler_t is not (matching signal.h logic)
2015-02-02 16:17:42 +00:00
Alexander von Gluck IV
2ea35f1cb3
tests: Skip setjmp_test2.S test on non-x86 platforms
...
* We'll need to rewrite this for each arch..
2015-02-02 15:55:10 +00:00
Alexander von Gluck IV
0d5cfeec92
tests: We can no longer open /bin/sh r/w due to PM for flock
...
* Use /etc/passwd
2015-02-02 15:47:23 +00:00
Alexander von Gluck IV
b8be4f7268
tests: Fix libroot flock pointer size on non-32bit platforms
2015-02-02 15:43:16 +00:00
Alexander von Gluck IV
7e8f38e0f5
repo: update llvm to 3.5.1
2015-02-02 02:55:37 +00:00
Alexander von Gluck IV
ab6a085b71
repo: add clang to x86_64
2015-02-01 20:52:20 +00:00
Alexander von Gluck IV
a8ac9faab8
haikuports: Update x86_64 llvm to 3.5.0-1
2015-01-22 03:00:29 +00:00
Alexander von Gluck IV
8495ff9b7a
apps/glteapot: Don't lock, then issue BGLView::Resize
...
* BGLView has it's own locking, this isn't the correct
behaviour as you only lock for gl* calls
* Resolves problems with window not scaling properly
on proper llvmpipe
2014-12-31 21:47:05 +00:00
Alexander von Gluck IV
e2523ea3f2
tests/egl: Add egl test code.
...
* Early EGL support has been pushed into mesa
thanks to the GCI work of Adrián Arroyo Calle.
* No, this isn't hardware rendering :-)
2014-12-23 15:42:02 -05:00
Alexander von Gluck IV
70cc56922e
ResourceEdit: Re-add subdir for clean gci removal
2014-12-07 16:18:00 +00:00
Alexander von Gluck IV
d26095f20f
Cortex: Fix build on x86_64 (and others?)
2014-12-07 16:05:42 +00:00
Alexander von Gluck IV
74349b4ff4
RedEdit: Fix build
2014-12-07 15:49:05 +00:00
Alexander von Gluck IV
bf4b97c694
x86_64: Add libsdl2 2.0.3-1
...
* I think it's ready, working here in a few SDL2
demo apps
2014-12-03 16:30:06 +00:00
Alexander von Gluck IV
2ceafe4ec1
x86_64: Update glu package to 9.0.0-3
2014-12-03 15:38:04 +00:00
Alexander von Gluck IV
2e6421c613
x86_64: Update bash package to 4.3.30-1
2014-12-03 15:23:53 +00:00
Alexander von Gluck IV
f83af26271
data: Kernel settings file
...
* Add example line to always boot using safe
video mode (vesa)
2014-11-28 20:37:02 -06:00
Alexander von Gluck IV
a46669aa1c
radeon_hd: Improve pitch width alignment
2014-11-15 16:19:45 -06:00
Alexander von Gluck IV
a9327b1110
radeon_hd: Add additional sanity checks
...
* Prevents negative array index read (again)
* Clear display_mode struct before lvds read - CID 1108403
2014-11-15 09:25:40 -06:00
Alexander von Gluck IV
6a716f63ae
radeon_hd: Exit on GPIO pin space exhaustion
...
* Prevents negative array index read
* CID 1210885
2014-11-15 08:56:40 -06:00
Alexander von Gluck IV
44b9746039
radeon_hd: Fix Spread Spectrum clock decimal place
...
* As 104Mhz is stores as 10400 on atombios,
and 104000 everywhere else... this conversion
was going the wrong direction.
* Shrink the stored value to 10Khz units to properly
compare to the AtomBIOS value
2014-11-10 22:16:49 -06:00
Alexander von Gluck IV
3de924d06c
radeon_hd: Implement initial DP encoder service
...
* Used on older chipsets. Untested.
2014-11-10 22:01:36 -06:00
Alexander von Gluck IV
6ab4ff112a
accelerants: Fix warning introduced in hrev48265
...
* Align types for compare
* Fixes builds
2014-11-09 15:53:44 -06:00
Alexander von Gluck IV
57bc65034a
Everything: Update lots of code to use B_COUNT_OF macro
...
* Likely not everything, but the obvious uses of B_COUNT_OF
2014-11-09 14:52:19 -06:00
Alexander von Gluck IV
f2b20f8804
SupportDef: Add B_COUNT_OF to get array element count.
...
* We implement this in a lot of places in a lot of
ways. Lets add it to the SupportDef
2014-11-09 14:47:39 -06:00
Alexander von Gluck IV
e0923fddba
radeon_hd: 68f9 was present twice in the driver
...
* Keep older one as I have the card in-hand
2014-11-09 13:04:07 -06:00
Alexander von Gluck IV
91c0454716
3rdparty: Add a quick doc on how to use IOMMU on Linux
...
* Drop my old script, didn't work well anymore.
2014-11-09 12:58:55 -06:00
Alexander von Gluck IV
3f84ea0c7e
ScreenInfo: Include screeninfo in images
...
* Rename from screen_info to screeninfo to match
screenmode
2014-11-09 12:20:04 -06:00
Alexander von Gluck IV
f3ed89bb64
partition/intel: Fix GPT error language.
...
* Yeah, intel shouldn't support GPT :-)
2014-09-01 19:41:19 +00:00
Alexander von Gluck IV
febaef90ec
screen_info: Create BApplication to use BScreen
...
* BScreen uses AppServerLink, thanks PulkoMandy!
2014-08-19 13:28:54 -04:00
Alexander von Gluck IV
be84a96144
bin: Add screen_info command
...
* Provides basic information on attached BScreen's
* Only shows B_MAIN_SCREEN_ID at the moment as that's
all we have available.
2014-08-19 12:50:39 -04:00
Alexander von Gluck IV
ea28139d84
docs: Update opengl readme info
2014-08-19 10:39:23 -04:00
Alexander von Gluck IV
4662c8c0a9
docs: opengl. Add some great documentation provided by Roudolf.
...
* Posted to the haiku-appserver ML, circa 2005.
* Covers a lot of intended uses of Be's accelerant API's in
depth and compares them to moden cards
2014-08-19 10:28:53 -04:00
Alexander von Gluck IV
57891e9363
app_server/html5: Fix CanvasMessage header guard
2014-08-07 21:21:36 +00:00
Alexander von Gluck IV
30bd14fabd
app_server/html5: Fill in uninitalized member; CID 611419
2014-08-07 21:19:34 +00:00
Alexander von Gluck IV
1dc0615477
app_server/html5: Fill in uninitalized members; CID 611418
2014-08-07 21:15:45 +00:00
Alexander von Gluck IV
2a3020ac9d
app_server/html5: Drop unused and uninitalized members
2014-08-07 21:10:17 +00:00
Alexander von Gluck IV
14ed9dd5fc
x86: Update tar package in repo to 1.27.1-2
...
* Tested functional
2014-08-05 18:23:55 +00:00
Alexander von Gluck IV
99f83552ca
radeon_hd: Fix comment typo, no functional change
2014-05-26 22:35:36 -05:00
Alexander von Gluck IV
e938ebdae0
radeon_hd: Rework PLL picking code
...
* Rewrote to be more efficient and more accurate.
* Fix a DP bug where we didn't choose the correct
external PLL.
2014-05-26 22:26:24 -05:00
Alexander von Gluck IV
4bb543e517
radeon_hd: Add in a bunch of missing Trinity/Richland ID's
...
* Add market name to a bunch of Kabini, Mullins cards
after some creative web searches
2014-05-25 12:03:35 -05:00
Alexander von Gluck IV
e321d716e4
radeon_hd: Add latest generation radeon_hd cards
...
* These aren't tested, but since we go off of DCE
versions for a lot of stuff, they may work.
* AMD doens't include market names in their drivers
anymore, so if we want to label them it will take
additional work.
2014-05-25 09:03:03 -05:00
Alexander von Gluck IV
75dcf02ac8
radeon_hd: Add PCIID for Radeon HD 3430
...
* Should resolve #10791
2014-05-24 21:54:54 -05:00
Alexander von Gluck IV
38ec158d2a
radeon_hd: Cleanup atombios parser types
...
* pptable.h now 100% stock
* atombios.h now 99% stock
* Resolves issues with radeon_hd on x86_64 by
making atombios structs match OS typedefs
* Resolves #10614
2014-05-24 21:05:03 -05:00
Alexander von Gluck IV
bc73719d2f
radeon_hd: Add some additional APU's, should resolve #10606
2014-05-24 16:49:03 -05:00
Alexander von Gluck IV
a8307efa46
radeon_hd: Improve pll probing. Let probe calls enable ss
2014-05-24 16:49:03 -05:00
Alexander von Gluck IV
2aaeccd9ec
autoraise: Toggle not toogle; no functional change
2014-05-20 18:36:31 -05:00
Alexander von Gluck IV
cc67216333
kernel: Toggle not toogle; no functional change
2014-05-20 18:36:30 -05:00
Alexander von Gluck IV
a8f9011015
h2: Fix bluetooth driver build, missing PrivateKernelHeaders
...
* We likely should move all of this stuff to normal
atomic test and set operations at some point.
2014-05-18 22:33:56 -05:00
Alexander von Gluck IV
672d1fb48f
glu: Upgrade glu revision to 9.0.0-3
2014-05-12 22:28:39 +00:00
Alexander von Gluck IV
2354b8ac00
radeon_hd: Finish spread spectrum support
...
* This needs testing and is to remain disabled
until we can test on several radeon_hd cards
from multiple families
2014-05-01 09:45:06 -05:00
Alexander von Gluck IV
f01af94ff7
radeon_hd: Don't squash ss status_t into bool
2014-05-01 08:56:55 -05:00
Alexander von Gluck IV
c0b833b10a
build: Fix raspberry_pi target board name. Not pi
2014-04-27 17:03:53 -05:00
Alexander von Gluck IV
1274874d1d
docs: Cleanup beagle documentation a little
2014-04-27 17:03:53 -05:00
Alexander von Gluck IV
5153d5ee57
mesa: Add x86 10.1.1-1 build package based on recipe
2014-04-23 13:51:38 -05:00
Alexander von Gluck IV
1d481eee64
3rdparty: These 3rd party mesa bits are no longer needed
...
* Mesa is completely filled by recipies now
2014-03-23 18:48:34 -05:00
Alexander von Gluck IV
c075da70b6
3rdparty: Add Linux IOMMU script
...
* For use on linux hosts to attach a secondary GPU directly
to a qemu / kvm virtual machine.
* The attached card may be in a limbo state, so the driver will
need to re-post the GPUU
2014-03-23 12:48:30 -05:00
Alexander von Gluck IV
5006aac272
radeon_hd: Clean up DP training
...
* Few tweaks to DP training
* Check for TP3 support and go with TP3 if needed
* Make training more verbose
* Fix DP snoose on ce
2014-02-26 17:17:44 -06:00
Alexander von Gluck IV
d035469704
ARM: Name beagleboneblk back to beagle
...
* Pulkomandy pointed out that all Beagle hardware is
very similar so we could likely get away with a single
ARM target board.
2014-02-26 15:33:40 -06:00
Alexander von Gluck IV
e2c2a5cefe
radeon_hd: Fix app_server bt regression introduced at hrev46862
...
* We adjusted the array of pointers to be larger, but
didn't adjust the malloc to be larger.
* Should solve #10563 and maybe #10536
2014-02-26 15:23:53 -06:00