Commit Graph
100 Commits
Author SHA1 Message Date
Alexander von Gluck IV 3065fd47a0 MediaPlayer: Relicense to MIT
* The GPL license here was a relic from the past to help
  control YellowTab's use of Haiku source code. The intent
  at the time was to relicense MIT.  Some GPL parts remained.
* This is going to get harder and harder to correct over time.
* This code makes Haiku *not* MIT. Lets correct that.
* I reached out to everyone who made changes to these files and
  got personal approvals to relicense MIT.
* If I missed somebody, *and* you feel as though the MIT license
  doesn't meet your needs, please contact Haiku, Inc. and we will
  work to revert your changes.

  Marcus Overhagen      EMAIL   - MIT OK 11/29/17
  Stephan Aßmus         EMAIL   - MIT OK 11/28/17
  Axel Dörfler          IRC     - MIT OK 11/29/17
  Ryan Leavengood       KEYBASE - MIT OK 11/28/17
  Michael Lotz          IRC     - MIT OK 11/29/17
  Adrien Destugues      EMAIL   - MIT OK 11/28/17
  Joachim Seemer        EMAIL   - MIT OK 11/28/17
  Jonas Sundström       EMAIL   - MIT OK 11/29/17
  François Revol        IRC     - MIT OK 11/29/17
  Jérôme Duval          EMAIL   - MIT OK 11/29/17
  Oliver Tappe          EMAIL   - MIT OK 11/29/17
  Dziadek               EMAIL   - MIT OK 11/29/17
  Philippe Saint-Pierre EMAIL   - MIT OK 12/6/17
  Philippe Houdoin      EMAIL   - MIT OK 12/8/17
  Dario Casalinuovo     IRC     - MIT OK 12/13/17
2017-12-13 14:40:11 -06:00
Alexander von Gluck IV ccfffc0f6d docker/cross-compiler: Updates + improvements 2017-12-13 14:40:11 -06:00
Alexander von Gluck IV 453dc171ae 3rdparty/kallisti5: Tool to compress running sysroot into a tar.gz 2017-12-13 08:36:33 -06:00
Alexander von Gluck IV 2028f6e7fa repo/arm: Correct repo url 2017-11-28 18:33:28 -06:00
Alexander von Gluck IV 5ec3b742e9 repo/arm: One more commit for good luck
* Update repository file to hardlink_packages modified one.
* Add some basic process overview to directory.
* We don't normally document in paths, but this stuff is complex.
* Documentation improvements welcome.
2017-11-28 18:20:31 -06:00
Alexander von Gluck IV 2694b5d602 repo/arm: Drop non-required missing any arch packages 2017-11-28 17:46:24 -06:00
Alexander von Gluck IV 0674e71ca5 3rdparty/kallisti5/licenseReport: Add FSF check for GPL 2017-11-28 17:13:38 -06:00
Alexander von Gluck IV a0c92d9e9e repo/arm: Update url to new location 2017-11-28 17:13:38 -06:00
Alexander von Gluck IV 272510c371 bfs_tools/bfsinfo: Cleanup output, use human sizes
* Correct some warnings on 64-bit
2017-11-28 14:57:09 -06:00
Alexander von Gluck IV ef854aff3a 3rdparty/kallisti5: License Guess Tool
* Pair it with a find, and pretty handy to
  highlight sources which have a non-standard,
  missing, or incompatible license.
2017-11-28 10:25:54 -06:00
Alexander von Gluck IV 8f087d87f9 bfs_tools: License clarification to MIT.
* Consulted with Axel D. via IRC to confirm license desires.
2017-11-28 09:26:04 -06:00
Alexander von Gluck IV eb81dec460 kernel/u-boot: Add a few missed fdt compat's for omap uart 2017-11-23 10:25:18 -06:00
Alexander von Gluck IV 2dce5eecef build/arm: Correct missing sources in search
* Group into local var to prevent recurrence.
2017-11-20 09:36:56 -06:00
Alexander von Gluck IV a42249db2d arm: Add 8250 omap variant uart driver
* Untested, someone with an omap3,4,5 could though.
2017-11-20 09:16:58 -06:00
Alexander von Gluck IV f6c47144a6 kernel/uart: Refinements to irq and FIFO management 2017-11-18 13:20:53 -06:00
Alexander von Gluck IV dc9cdc37d0 dtb/rpi2: Correct UART base frequency.
* https://github.com/raspberrypi/firmware/issues/643
* Mimics what the RaspberryPi guys adjusted it to in
  the firmware.
* Solves corrupted UART serial on the RaspberryPi 2
* I think linux live-probes this frequency via dt-bindings.
2017-11-18 13:20:52 -06:00
Alexander von Gluck IV 1d3d336a97 libbsd: Move lutimes to bsd compat
* Rework be149e8ccf since lutimes isn't posix
2017-11-17 14:27:26 -06:00
Alexander von Gluck IV be149e8ccf libroot/posix: Add lutimes for better posix compatibility
* Didn't exist on BeOS, but exists most other places.
* Update times of a file, not following symbolic links.
2017-11-16 00:38:54 -06:00
Alexander von Gluck IV 7e2d856556 dts: Rename bbb to boneblack to match u-boot 2017-10-20 13:12:14 -05:00
Alexander von Gluck IV 403baf656d u-boot: mmc single case volume label
* Makes parsing slightly easier in tools like rune-image.
* Mixed case introduces some extra encoding the WIP Rust
  FAT driver doesn't support (yet)
2017-10-18 11:43:54 -05:00
Alexander von Gluck IV 2da9ebb7f3 radeon_hd: Drop dp config array from dp_info
* Caching these values could result in missed
  state changes.
* We may want to re-implement later.
* Highlights that all DP AUX communication is broken
  during my testing.
2017-09-29 11:10:56 -05:00
Alexander von Gluck IV 52c8f61419 editorconfig: Add new config file around our unique style
* (whispers) github honors it when viewing sources.
2017-09-26 14:22:32 -05:00
Alexander von Gluck IV acf75a66d6 3rdparty/kallisti5: Update iommu guide for vfio 2017-09-25 18:37:20 -05:00
Alexander von Gluck IV 1a472d01fd servers/app: html5/remote drawing 64-bit fixes
* Still doesn't seem to work anymore.
* Documentation: TARGET_SCREEN="html5:127.0.0.1:80" DeskCalc
2017-09-23 08:46:12 -05:00
Alexander von Gluck IV 4bcba8a84f radeon_hd: Add missing FirePro, Add vega, cleanup names.
* Vega is 100% untested.
* I think AMD is doing away with the DCE version numbers.
2017-09-22 15:58:49 -05:00
Alexander von Gluck IV b82657abfb radeon_hd: Improve tracing; implement older DCE3 DP training.
* Implement older DCE 3 DisplayPort Training Service.
2017-09-12 10:15:59 -05:00
Alexander von Gluck IV ce1ac42908 radeon_hd: Fix logic bug in transmitter init.
* Don't use any functions requiring knowledge of
  attached displays before they are probed.
* ucDigMode un-needed on INIT action.
2017-09-11 22:24:20 -05:00
Alexander von Gluck IV e5f5c3c4ce radeon_hd: Cosmetic cleanups. No functional change 2017-09-11 22:24:20 -05:00
Alexander von Gluck IV 1121a23254 radeon_hd: Improve external/dce PLL programming
* Bug fix around pll_external_set. We prepared all the args,
  but never actually executed the AtomBIOS table.
* Add new AtomBIOS methods in Polaris to set external PLL
  clock frequencies.
* Implement new 1.7 PLL set table on Polaris.
2017-09-08 21:05:43 -05:00
Alexander von Gluck IV 66a16010b7 radeon_hd: Add missing DP STATUS request type
* Name change inline with DP specifications.
2017-09-08 18:02:32 -05:00
Alexander von Gluck IV 807f4d4d5e radeon_hd: Add FirePro W4100 per #13693
* Thanks moochris!
2017-09-08 17:27:51 -05:00
Alexander von Gluck IV 25ef6f0bb7 radeon_hd: Implement AtomBIOS debug op 2017-09-08 17:22:40 -05:00
Alexander von Gluck IV f806447f52 aarch64: Add aarch64 build host support
* Maybe it will be a target someday.
* 64-bit ARMv8 for those not in the know.
2017-07-27 18:45:54 -05:00
Alexander von Gluck IV 0cc293cf32 raspberrypi_arm: Drop old Raspberry Pi 1 boot loader.
* We transitioned to u-boot quite some time ago
* We also are dropping < ARMv7 support
2017-07-11 14:39:13 -05:00
Alexander von Gluck IV be3bb60b4c Merge branch 'arm-noboards'
* Remove the target-board system.
* From now on, we target generic non-x86 architectures
  while leveraging fdt when needed.
* ARM mmc images will likely need some post-processing to make
  them bootable on individual hardware. (This is actually how
  distros like Fedora handle ARM now. The image 'writer' application
  is told what hardware the image is for and adds a vendor bootloader
  / SPL / u-boot / etc)
2017-07-10 15:19:31 -05:00
Alexander von Gluck IV a01d0e5ae5 arm: Enable mmu tracing. (We're going to need it for a while) 2017-07-10 15:16:55 -05:00
Alexander von Gluck IV f2ed9d80f6 configure: Drop target-board for arm/ppc 2017-07-10 15:16:09 -05:00
Alexander von Gluck IV f642e558e8 arm: Drop board_config headers 2017-07-10 15:13:49 -05:00
Alexander von Gluck IV aba7320584 u-boot/arm: Add missing floppyboot to mmc 2017-07-10 14:53:04 -05:00
Alexander von Gluck IV f5d7446b5b u-boot: Correct loader base naming 2017-07-10 13:34:29 -05:00
Alexander von Gluck IV 1b3c81feeb u-boot: Fix mmc build without target boards 2017-07-10 09:02:56 -05:00
Alexander von Gluck IV 1e82d7bd25 kernel/arm: Work out more board_config's via fdt 2017-07-10 08:19:44 -05:00
Alexander von Gluck IV e40cea64bd u-boot/arm: Initial steps to drop target board requirements 2017-07-09 22:51:50 -05:00
Alexander von Gluck IV 855fc5a0d3 platform/u-boot: Build all fdt's and include in u-boot mmc
* Eventually BoardSetups and target boards will go away.
* Include all known fdt's in the mmc image
* This gets us closer to target board-less arm
* Changing hardware is as simple as plugging a new fdt
  into u-boot's startup script.
* Drop my original rpi1 work.  We're targetting ARMv7
  minimum.
2017-07-09 22:19:51 -05:00
Alexander von Gluck IV 144e404b2d libroot/ppc: Add missing stack_trace 2017-07-04 19:28:13 -05:00
Alexander von Gluck IV b3d3ee5a2f libroot/ppc: Stub out emitted GCC atomics on ppc32
* gcc will emit 64-bit (_8) atomic functions on 32-bit
  powerpc architectures. This stubs them out for now
  with a warning.
* We could do more here, but i'm just getting PPC
  bootstrapped to get the nightly builds going again.
* We could also just completely drop PPC.. but it was
  pretty close pre-pm... so I'd hate to lose that work.
2017-07-03 13:05:47 -05:00
Alexander von Gluck IV 49a2540f47 ppc/atomic.h: Readd arch atomic improperly removed in hrev51254 2017-07-03 09:55:51 -05:00
Alexander von Gluck IV 9c8119e02c kernel/smp: Add a comment for some obsecure knowledge
* I was ready to rip this out until PulkoMandy set me stright.
* Add a comment so others understand the impact here.
2017-07-03 09:43:07 -05:00
Alexander von Gluck IV 913d4886fe kernel/arch/ppc: Add missing cpu reference for PAGE_SIZE 2017-07-02 23:01:25 -05:00
Alexander von Gluck IV 7f47ae44c2 openfirmware: Fix build post get_boot_partitions changes
* Thanks jessicah!
2017-07-02 22:57:53 -05:00
Alexander von Gluck IV 6bb1cecaaa bootstrap: Bump findutils to 4.6.0 for some ppc fixes 2017-07-02 19:40:26 -05:00
Alexander von Gluck IV afc9e8047d bootstrap: Bump zlib version
* zlib 1.2.8 missing, and bootstrap haiku-ports mirror not working
2017-07-02 19:31:36 -05:00
Alexander von Gluck IV 50c891839a bootstrap: Fix behaviour after default haikuporter mode change 2017-07-02 18:23:30 -05:00
Alexander von Gluck IV 9f87633edd bootstrap: Fix arm/ppc compiler package
* This is used around bootstrap and seems to hard-code
  paths to extracted hpkgs
* Helps #10240
2017-07-02 17:43:38 -05:00
Alexander von Gluck IV 402ec26eda ide: Remove last ide fragments.
* Missed in previous commit.
2017-06-28 08:51:24 -05:00
Alexander von Gluck IV 7600fdd8e2 ide: Remove old IDE bus + stack.
* Hasn't been used for quite some time
* Everything was ported over to a new ATA stack
  some time ago.
* No huge regressions were seen from the new ATA
  stack.
2017-06-28 08:13:37 -05:00
Alexander von Gluck IV 2f0ca6974e anyboot: Add EFI partition support
* Enables us to add an optional EFI filesystem
  to the anyboot image.
* All existing anyboot behaviour is preserved.
* We still need to figure out how to build bios
  and EFI loaders at the same time on x86.
* The tiny "fake ISO" still needs el-torito
  alt-boot for the EFI loader to work when burned
  to a CD. This makes the EFI loader work when
  written to a hard disk / flash drive.
2017-05-26 16:13:44 -05:00
Alexander von Gluck IV d8219f96da bootloader/bios: Add tracing of real-mode bios interrupt calls 2017-05-24 08:18:54 -05:00
Alexander von Gluck IV 9d9f76edff bootloader/hpet: Fix tracing on x86_64 2017-05-23 21:54:10 -05:00
Alexander von Gluck IV a2be272b55 xhci: Clean up command register defines
* Ensure their naming match Intel xhci datasheets
2017-04-27 18:24:46 -05:00
Alexander von Gluck IV fb19c096da ppp/modem: Style cleanup 2017-04-26 22:13:02 +00:00
Alexander von Gluck IV a1c76b3ef7 ppp/modem: Fix gcc5 build 2017-04-26 22:05:38 +00:00
Alexander von Gluck IV 859d401d4f libkernelppp: Report fatal problems deep in ppp to syslog 2017-04-26 21:56:21 +00:00
Alexander von Gluck IV 85a56a9d8e network/ppp_manager: Misc cleanup + tracing improvements 2017-04-26 20:28:57 +00:00
Alexander von Gluck IV facf05b93c network/ppp_mananger: Rename to match rest of stack 2017-04-26 20:06:03 +00:00
Alexander von Gluck IV 61c3b8c1e7 usb_serial: Fix quirky usb unions on ACM generic 2017-04-24 17:34:39 +00:00
Alexander von Gluck IV a4655eb8f9 SoftwareUpdater: Add to regular image
* Great work Brian!
2017-04-24 09:25:00 -05:00
Alexander von Gluck IV 162bb429e5 network/ppp: debug trace fixes on x86_64 2017-04-23 17:19:09 +00:00
Alexander von Gluck IV ff028bd553 ppp: Add install-ppp target
* Enables rapid non-packaged test of the full ppp stack on the
  current Haiku system.
2017-04-23 16:49:54 +00:00
Alexander von Gluck IV 11c835a176 network_settings/dialup: Add missing libbsd.so for libppp.a 2017-04-23 16:19:47 +00:00
Alexander von Gluck IV bba4f90605 bin/ppp_up: undefined new stdlibc++ jamfile fix 2017-04-23 16:14:50 +00:00
Alexander von Gluck IV 740fa31b25 bin/ppp_up: x86_64 type fixes 2017-04-23 16:14:22 +00:00
Alexander von Gluck IV e58f2c44ad bin/pppconfig: undefined new stdlibc++ jamfile fix 2017-04-23 16:09:40 +00:00
Alexander von Gluck IV 0b00d855e1 bin/pppconfig: x86_64 type fixes 2017-04-23 16:08:46 +00:00
Alexander von Gluck IV fadb6952af network_settings/dialup: gcc5 fixes. I don't even use max() 2017-04-23 15:37:21 +00:00
Alexander von Gluck IV ceff2b88ae ppp: Basic build fixes on x86_64 2017-04-05 19:33:07 +00:00
Alexander von Gluck IV dfe2d34fcb network preflet: Fix OpenVPN resource def 2017-04-05 18:55:37 +00:00
Alexander von Gluck IV 5c08c83412 network preflet: Introduce early OpenVPN add-on
* Not included in image... will likely be quite some
  time until it is :-)
2017-04-05 18:50:00 +00:00
Alexander von Gluck IV 6516aed58b network preflet: Make InterfaceListItem dumber
* Allows us to use InterfaceListItem for non-physical
  interface things (like a VPN connection)
2017-04-05 18:46:10 +00:00
Alexander von Gluck IV 476da4a52f network preflet: Fix interface icon spacing 2017-04-05 17:34:44 +00:00
Alexander von Gluck IV 5fbe0dd4d7 haikuporter: Update to 1.2.0 on x86_gcc2 2017-04-03 15:58:04 +00:00
Alexander von Gluck IV e42501663a haikuporter: Update to 1.2.0-1 on x86_64 2017-04-03 15:55:58 +00:00
Alexander von Gluck IV ad7a5be908 x86_64: Update sdl2_ttf to 2.0.14-5
* Fixes broken shared library symlink
2017-04-01 13:59:54 -05:00
Alexander von Gluck IV deb50a898c xhci: Cleanup tracing, add trb ring dump
* Cleanup trace output. Don't print hex without 0x prefix.
2017-03-28 15:47:54 -05:00
Alexander von Gluck IV 45ce7ea829 xhci: Improve No-Op tracing 2017-03-27 16:51:07 -05:00
Alexander von Gluck IV 8629d82e17 xhci: Cleanup double endian conversions
* The previous xhci endian fixes performed some double
  conversions.
* Tighten down conversions to only where the driver interacts
  with raw trb3 data in the ring buffer
* No impact to x86*
2017-03-27 15:41:10 -05:00
Alexander von Gluck IV d8ce1a9fad x86/irq_routing: Convert panic into warning. Solves #13388
* Solves #13388 and likely a bunch of other bug reports.
* While this *is* an issue that can potentially be serious,
  there really isn't a risk of data loss or a system
  instability, only broken PCI devices. Show warning and
  keep going.
2017-03-20 14:10:14 -05:00
Alexander von Gluck IV 8eee7007cf x86/irq_routing: More tracing around fill_pci_info_for_entry 2017-03-19 17:44:11 -05:00
Alexander von Gluck IV acdfec1189 x86/irq_routing: Improve trace information 2017-03-19 16:29:11 -05:00
Alexander von Gluck IV d78cf60aca acpica: Return semaphores to glorious signed integers
* Reintroduce change in last 2016 acpica upgrade
* Our semaphores are int's. This is the only change needed
  to the acpica source code to get it to function under
  Haiku.
* We could also disable this int-conversion warning,
  however lets go with the "more correct" behaviour in
  something that pretty much controls how our kernel finds
  PCI devices, CPU's, etc :-|
2017-03-18 23:41:54 -05:00
Alexander von Gluck IV 0bc647d605 acpica: Upgrade to 20170303
Notable changes since 20160729:
  * Will be dual licensed going forward. We choose the Intel License.
  * Fixed two issues with auto-repair double-delete an internal object
  * New hook for sleep support (AcpiOsEnterSleep)
  * Fixed a regression introduced in 20160729, "FADT support cleanup"
    around early 64-bit address support.
  * Fixed a problem where runtime implicit conversion was
    incorrectly disabled for the ASL operators below. This brings the
    behavior into compliance with the ACPI specification:
    FromBCD,ToBCD,ToDecimalString,ToHexString,ToInteger,ToBuffer
  * Fixed a regression in the internal AcpiTbFindTable function where
    a non AE_OK exception could inadvertently be returned even if the
    function did not fail. This problem affects the following operators:
    DataTableRegion,LoadTable
2017-03-18 23:16:13 -05:00
Alexander von Gluck IV 8cc5325ad5 agg: Pull in updated scanline + basics header from 2.4
* Resolves #13382
2017-03-18 18:59:30 -05:00
Alexander von Gluck IV 63863c9849 cpu_type.h: Fix missing ;, sorry for spam 2017-03-12 15:11:02 -05:00
Alexander von Gluck IV 54066ddbb7 OS.h: Add AMD Ryzen CPU name identification.
* Update cpuidtool.c to new post-smp rework name
  calculation
2017-03-12 14:46:02 -05:00
Alexander von Gluck IV b3a29dbdb2 xhci: Ensure trb3 is correct endian 2017-02-24 10:58:42 -06:00
Alexander von Gluck IV 85f64f9049 sysinfo: Refactor CPU feature flag display
* Remove duplicated code
* Add new feature flag field introduced with Ryzen
* Add a few missing Intel cache descriptors
* Don't show 80000007 on Intel. Reserved.
* Clean up language to not show "AMD" flags on Intel
2017-02-23 17:47:25 +00:00
Alexander von Gluck IV deb1a31972 Revert "configure: Add host as valid build target in help."
This hack is no longer needed.

This reverts commit ea74aafd98.
2017-02-17 13:12:51 -06:00
Alexander von Gluck IV 2be19c58e9 build: Prevent recursive jam loops on host-only #13309
* When --host-only is used, HAIKU_*ARCH is undefined.
* Various architecture variables are undefined resulting
  in architecture dependant code paths getting called
  recursively.
  (blah/Jamfile loads blah//Jamfile vs blah/x86/Jamfile)
* Another option is setting HAIKU_*ARCH to the host arch
  if undefined, but that might have unintended impacts.
2017-02-17 13:01:31 -06:00
Alexander von Gluck IV db1dfaf891 Revert "Add SoftwareUpdater to regular image"
This reverts commit 19d8d9fa39.
2016-12-21 13:16:26 -06:00
Alexander von Gluck IV 015754479e softwareupdater: Start filling in package kit code 2016-12-12 20:52:46 +00:00