Alexander von Gluck IV
635fe4746d
network: Add missing hosts configuration file
...
* Provides localhost define to the network kit
* Resolves #12260 and others
2015-09-09 09:30:38 -05:00
Alexander von Gluck IV
8248d96a06
AHCI: Begin simulating SCSI Inquiry with VPD data
...
* Needed for SCSI level access to trim maximum block sizes.
2015-09-04 19:30:34 -05:00
Alexander von Gluck IV
0cd624b89c
AHCI: Begin adding SCSI VPD query support.
2015-09-01 17:13:04 -05:00
Alexander von Gluck IV
5d91a421b9
glibc/arm: More generic math functions
2015-08-15 00:00:26 -05:00
Alexander von Gluck IV
76cc2d8f45
glibc/arm: Filling in more ARM gaps
2015-08-14 21:06:40 -05:00
Alexander von Gluck IV
17ddd6c09d
libroot/arm: Add in some missing math functions
...
* Using native assembly functions would be a lot faster,
but would require quite a bit of changes to glibc.
* This gets arm linking for now... I'd personally like
to see musl in here in the future for gcc4 images. (pre-R2)
2015-08-14 13:46:05 -05:00
Alexander von Gluck IV
ab341b9d63
kernel/arm: Correct platform id on ARM
2015-08-14 12:50:05 -05:00
Alexander von Gluck IV
89de782660
test/kits/net: Fix build of cookie_test
2015-07-26 09:55:45 -05:00
Alexander von Gluck IV
eef1c442a3
test/kits/net: Fix build of NetEndpointTest
2015-07-26 09:47:50 -05:00
Alexander von Gluck IV
739e7bdb66
launch_daemon: Fix missing logic parentheses
...
* These are not superfluous on gcc4+ :-)
2015-07-22 16:39:27 -05:00
Alexander von Gluck IV
e34f263837
haikudepot: Fix style issues in hrev49418
2015-07-19 09:56:54 -05:00
Alexander von Gluck IV
d52bb3081c
bin/fdinfo: Fix format strings through B_PRI macros
2015-07-19 09:43:17 -05:00
Alexander von Gluck IV
0469da76ba
bin/iroster: Fix format strings through B_PRI macros
2015-07-19 09:31:22 -05:00
Alexander von Gluck IV
46e1214196
bin/hd: Fix format strings through B_PRI macros
2015-07-19 09:31:03 -05:00
Alexander von Gluck IV
3f06c69ed4
bin/fstrim: Fix format strings through B_PRI macros
2015-07-19 09:25:41 -05:00
Alexander von Gluck IV
ec4e0aea76
bin/driveinfo: Fix format strings through B_PRI macros
2015-07-19 09:23:54 -05:00
Alexander von Gluck IV
f783542c1b
bin/diskimage: Fix format strings through B_PRI macros
2015-07-19 09:19:11 -05:00
Alexander von Gluck IV
deb9fbcb85
bin/df: Fix format strings through B_PRI macros
2015-07-19 09:12:19 -05:00
Alexander von Gluck IV
1b69f3394b
radeon_hd: Properly and consistently pick HPD ID
2015-07-14 20:38:15 -05:00
Alexander von Gluck IV
991710be39
radeon_hd: Reduce DisplayPort Tracing
2015-07-13 23:26:35 -05:00
Alexander von Gluck IV
f1b29809bd
radeon_hd: Fix missing DP link status request flag
2015-07-13 23:26:31 -05:00
Alexander von Gluck IV
80a0d0da5a
radeon_hd: Fix missing subtraction of MOT in case.
...
* DP i2c edid byte-bang working again
2015-07-13 23:26:29 -05:00
Alexander von Gluck IV
408e616e05
radeon_hd: Sanitize dp_aux messages before use
2015-07-13 23:26:26 -05:00
Alexander von Gluck IV
7ea1ad1028
radeon_hd: Fix dp aux request / response shifts
2015-07-13 23:26:24 -05:00
Alexander von Gluck IV
8611df9d0b
radeon_hd: Move i2c to dp aux transaction function.
...
* WIP: EDID version 255.255 found
2015-07-13 23:26:18 -05:00
Alexander von Gluck IV
8a5884f561
radeon_hd: Improve aux transaction tracing
2015-07-13 23:26:15 -05:00
Alexander von Gluck IV
9cfe6f909d
radeon_hd: Fix missing TRACE connector id
2015-07-13 23:26:13 -05:00
Alexander von Gluck IV
9816a89ade
radeon_hd: Move to a unified dp aux transaction function.
...
* Leverage a single common dp aux message struct.
* Likely lots of obvious bugs that need fixed still.
* Untested.
2015-07-13 23:26:10 -05:00
Alexander von Gluck IV
63b02c37d4
accelerants/common: Add displayport aux message struct
2015-07-08 00:03:38 -05:00
Alexander von Gluck IV
0de3a59590
radeon_hd: ss_probe reads the pixel clock; set before calling.
...
* CID 743876
2015-07-07 15:16:36 -05:00
Alexander von Gluck IV
7e24b659c4
build: Convert to external libedit build package
...
* Drop lib/edit and matching bsd header
* Convert Debugger to libedit build package
* Should solve problems with libedit consumers
not defining _BSD_SOURCE
* Progress on #10267
2015-07-04 15:29:05 -05:00
Alexander von Gluck IV
d1620177b9
x86_gcc2: Update libedit packages to 2015_03_21_3.1-2
2015-07-04 15:09:57 -05:00
Alexander von Gluck IV
3847e19f7f
jam: Make DownloadLocatedFile1 more aggressive. 10s timeout == retry
2015-07-04 14:01:00 -05:00
Alexander von Gluck IV
f3d8d34616
Updated libedit package for x86_64
2015-06-29 21:52:21 -05:00
Alexander von Gluck IV
cc8f1d2ffd
headers/os: Add gcc 5 to BeBuild.h
...
* While we still use gcc 4, the host tools won't
build on gcc 5 systems without this.
* x86_64 compiles under gcc 5.10 successfully
2015-06-24 23:06:23 -05:00
Alexander von Gluck IV
b5c4af8ba8
GPT: Expand our known GUID's
...
* Try to standardize between the names
to make them easier to understand
* Avoid terms like "File system" as it can
confuse users (these are just partitions)
* We don't want to list *every* GUID here,
just the ones most desktop users *might* see
(we skip things like cepf)
2015-06-19 09:09:06 -05:00
Alexander von Gluck IV
5bca1dd7af
GPT: Fix creation of GPT disk systems; resolves #10298
...
* The alternate / backup block wasn't defined
leading to an invalid configuration.
* This was compounded with another issue that
was resolved a while back with GPT
* gdisk now identifies GPT systems created with
Haiku as valid
2015-06-18 16:09:48 -05:00
Alexander von Gluck IV
f11d3df9aa
radeon_hd: DP encoder. Fix PVS 2022 to 2025
...
* Don't overload uint8 dpClock with 27k
* This might be causing a lot of DP issues
as the DP clock rate is pretty important
2015-04-28 21:02:54 -05:00
Alexander von Gluck IV
f178e4a248
arm: bcm2835 framebuffer
...
* Drop some messy mmu externs
* Set proper page flags
2015-04-19 20:13:24 -05:00
Alexander von Gluck IV
f427a82d48
arm: Add debug function to dump mmu state
...
* We don't change the data cache (and other) settings.
Interesting to know their state on each platform.
* Not used by default as it needs called after
serial-init in u-boot
2015-04-19 20:13:23 -05:00
Alexander von Gluck IV
d3d976b08c
cubieboard4: Add 32k alignment fix
...
* haiku_loader now starts on the cubieboard4
with a working uart!
2015-04-18 10:38:02 -05:00
Alexander von Gluck IV
c0af54cc3b
cubieboard4: Update SPL bin url to official source
...
* Our pull request was accepted
2015-04-13 09:15:38 -05:00
Alexander von Gluck IV
9c5e234cb3
arm: Initial Cubieboard4 work
...
* SD cards are "blessed" with a boot0 spl and boot1 u-boot
at fixed locations.
* Allwinner's u-boot is lacking a lot.
* Upstream u-boot should be better at some point. WIP:
http://lists.denx.de/pipermail/u-boot/2015-January/201537.html
2015-04-11 16:53:04 -05:00
Alexander von Gluck IV
b1ad5660b2
arm: Prevent bcm283X inclusion from breaking other boards
...
* Move *_BASE into board_config.h to prevent conflicts
2015-04-04 17:44:32 -05:00
Alexander von Gluck IV
59ce662464
repo: Bump Mesa to 10.5.2 on x86_64
2015-04-04 17:17:50 -05:00
Alexander von Gluck IV
e0bf43c16b
serialconnect: Really fix baudrate menu
...
* Re-add removed baudrates in bc02619755
* Re-aligns menu values and *really* fixes
baudrate selection.
2015-04-04 09:21:05 -05:00
Alexander von Gluck IV
bc02619755
serialconnect: Fix baudrate submenu
...
* kBaudrates is an int not a char
* Just look at first kBaudrates member to figure out array size.
* Drop a few *extremely* uncommon speeds that you'll never see to
shorten the list.
2015-03-30 17:48:44 -05:00
Alexander von Gluck IV
3f80e2801f
loader/fatfs: Fix tracing
2015-03-28 17:36:53 -05:00
Alexander von Gluck IV
115ac6bcae
arm/mailbox: Load mailbox base from FDT in loader
2015-03-28 16:56:50 -05:00
Alexander von Gluck IV
c6a4fee579
loader/u-boot: Use FDT serial info to create uart
...
* drop my fdt tests
* we have to call fdt parsing code *after* cpu_init (why?)
* pass fdt pointer to all FDT support calls to avoid confusion
once we get into the kernel land
* look for PL011 compatible uart and use it
* Add some saftey checks to serial putc code to avoid null*
* fdt_node_check_compatible returns 0 on success not 1
* fdt_get_device_reg needs to add the SOC base to the result
* fdt_get_device_reg might need to add the second range cell
instead of reg?
2015-03-28 15:52:16 -05:00
Alexander von Gluck IV
3d02d66b03
rpi2: Begin using internal FDT
2015-03-28 14:33:58 -05:00
Alexander von Gluck IV
7b1ea45c34
FDT: Add dts for Raspberry Pi 2 from upstream FreeBSD
...
* Next steps are to begin using reg-addresses instead of
hard coding them at build time.
2015-03-28 08:39:57 -05:00
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