Commit Graph
100 Commits
Author SHA1 Message Date
Alexander von Gluck IV 18e7b99797 build: Drop specalized haiku-boot-cd-ppc target
* Now generated via haiku-boot-cd when target ppc

Change-Id: I1d4e83c4d95ebc18b0dab28ffb2af03db5dc9d1d
2018-07-09 09:46:30 -05:00
Alexander von Gluck IV 64d4515abf kernel: Only apply rtl-stv1 hack to x86 & x86_64
Change-Id: I971f7bf3bb95ee466a59ab777c2f6fc56fbcbd43
2018-06-15 13:43:13 +00:00
Alexander von Gluck IV 7d95ab67ad intel_extreme: Update PCH mask to match new bits
* Missed in 87628f17eb
2018-06-12 14:20:34 -05:00
Alexander von Gluck IV 87628f17eb intel_extreme: Add additional more recent PCH devices
Change-Id: Ib9f7dc187300c9f746bca9fd7f721c1954f5be44
2018-06-11 20:34:14 -05:00
Alexander von Gluck IV 7f167d4f4a radeon_hd/dp: Fix bug in lane training. Kudos gcc7
* GCC7's static analysis found this one and it still
  took #gcc and me a while to spot. Nice work gcc7!
* Should help DisplayPort training issues :-)

Change-Id: I9b47f13c95e622a2c08ff329ec9c3fc7e3db493d
2018-05-21 18:02:32 -05:00
Alexander von Gluck IV 20aff1c8ca HaikuPorts/x86: Fix x86 build_packages repo url
Change-Id: Ib8f70f87b70b146c9342890bbff80cd4cc5e9680
2018-05-21 13:32:49 -05:00
Alexander von Gluck IV 172c944a5b kernel/kernel_cpp: Change nothrow_t syntax for gcc6+
* Fix for explicit constructor change.
  https://github.com/gcc-mirror/gcc/commit/a3f25f0f

Change-Id: I330ad9c3bff1d7f3e0284f3dcda86e17d974c57d
2018-05-20 15:44:32 -05:00
Alexander von Gluck IV 95daec1061 u-boot: Generate boot.scr for mmc
* This gives us a solid automatic entry point to u-boot
* A uEnv.txt specifies the fdt file name
* This should work on any modern u-boot for most architectures
* Non-mmc targets will likely need some work

Change-Id: I9a00316a213a15e85d3f2e18574d64920d9bdb76
2018-05-19 20:04:50 -05:00
Alexander von Gluck IV dd485ed444 elf: Add aarch64 and riscv defines
* Add some additional defines as well.

Change-Id: I0a40f6b80a634ddaf83a8c22b9726a6e1f49bd34
2018-05-04 18:32:33 +00:00
Alexander von Gluck IV 3b60bc6b9b openfirmware/ppc: A few minor fixes and extra debugging
* Show old page table location and provide more feedback
* 16 int32 * 0x10000000 > sizeof(int32), fix to uint32

Change-Id: Ib68c34f5d3c6bfa1da53241e6586c07e4e494750
2018-03-13 21:35:22 -05:00
Alexander von Gluck IV 36ea34060a build/ImageRules: rm_attrs doesn't know -R
Change-Id: I3dcd8a1fe117b6b0c2b741fc383df048de8dac8f
2018-03-13 15:51:38 -05:00
Alexander von Gluck IV 40a466d7b8 HaikuPorts/ppc: Add final missing packages
Change-Id: I48391b8a53d7d609c2ee2860c551a773f84b895e
2018-03-08 15:04:29 -06:00
Alexander von Gluck IV 2214edcbc9 ppc,arm: Inline with hrev51157, validate fontconfig feature
Change-Id: I15b33fb40c019e659aef03e561c6bdb40288f91a
2018-03-08 14:58:05 -06:00
Alexander von Gluck IV 8fd650cfdf Haikuports/ppc: Add most* packaged needed for minimum-raw
* There is a new requirement for bootstrap... fontconfig.

Change-Id: Iaa2cb38b0fd925f750d6890e392f946bf42604e7
2018-03-08 14:45:11 -06:00
Alexander von Gluck IV 8b4c84e838 3rdparty/unbootstrap: Correct source packages as well 2018-03-08 10:45:59 -06:00
Alexander von Gluck IV b1da0c3c47 HaikuPortsCross/ppc: Fix bash/bison/icu/make versions
Change-Id: I3fb8ac8059912c0ed5cca7ebeaf07ac0a8ee759c
2018-03-06 21:52:30 -06:00
Alexander von Gluck IV cbad07e314 validateRepoFile: A quick validation of Jam repository definitions
Change-Id: I4e0b23dbb92a8c2377ad6e66cf63c499b66ba3ac
2018-03-06 17:39:46 -06:00
Alexander von Gluck IV e5d446fcc9 configure: Improve toolchain validation
* Seeing an issue on our builders where the toolchain directory
  exists, but the gcc binaries do not.
* Check for the path, as well as the actual compiler binaries
  to improve detection of need to rebuild toolchain.

Change-Id: I54fd5789e3255c8295136bb0614e72c5393718fe
2018-03-01 09:39:26 -06:00
Alexander von Gluck IV 1b1df6828d ReadMe.compiling.md: Add quick lesson on bootstrap in-tree
Change-Id: I416a2e96adc6f34609c3f6ca1aadf892d29c7fd7
2018-02-28 21:48:34 -06:00
Alexander von Gluck IV 82876dc4cb build_cross_tools_gcc4: Disable TLS on PowerPC for now
Change-Id: Ib99a1a4aeeb5d17a301ffd1d9c5fcadd37261ebf
2018-02-28 21:46:24 -06:00
Alexander von Gluck IV 3a747315b2 stdlib: Add common bsd mkstemps function
Change-Id: I8c54f4b42e8b41f9a769b8b53f074a307b1a054c
2018-02-26 21:46:25 +00:00
Alexander von Gluck IV 233af7df05 ReadMe: Add note about infrastructure 2018-02-23 11:40:11 -06:00
Alexander von Gluck IV b152a7d017 gerrit: Add .gitreview config
Change-Id: I6723891ad48b34a6a065581106a3cc648bc270eb
2018-01-04 00:04:02 -06:00
Alexander von Gluck IV 11790e14ef kernel/drivers: Kill Beceem WiMAX driver. RIP
I wrote this back in 2010 as my first driver project.

Reasons to remove it:
  * The license is GPL
  * Current WiMAX hardware is generally WIFI based.
  * It controlled the hardware, but never worked
    for network access since we need SSL certs and stuff
    which vendors weren't too open with.
  * WiMAX kind of died (at least in the US)

I left the wwan directory, it would be a nice spot
for CDMA / GSM dongle drivers.
2017-12-17 09:18:15 -06:00
Alexander von Gluck IV 46f7052c65 3rdparty/licenseReport: Add seperate LGPL checks 2017-12-17 09:08:41 -06:00
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