Commit Graph
100 Commits
Author SHA1 Message Date
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
Alexander von Gluck IV 1e8a560196 SoftwareUpdater: Handle message events, Exit on cancel press. 2016-12-11 10:19:06 -06:00
Alexander von Gluck IV b4ad45f630 SoftwareUpdater: Align to our style guidelines 2016-12-09 00:35:30 +00:00
Alexander von Gluck IV 8789541f9c SoftwareUpdater: Add some glue to buttons to slide them over 2016-12-09 00:26:09 +00:00
Alexander von Gluck IV 8ee9900d37 SoftwareUpdater: Change text based on number of updates avail 2016-12-09 00:13:36 +00:00
Alexander von Gluck IV 2f5a0addde SoftwareUpdater: Add some details on what's available
* Just example text for now to be filled in with
  data from our package kit.
2016-12-08 23:38:27 +00:00
Alexander von Gluck IV c5867c77cc SoftwareUpdater: Add a fancy looking stripe view 2016-12-08 23:22:39 +00:00
Alexander von Gluck IV f7d9c0110d SoftwareUpdater: Initial work on a GUI software updater
* Planning on having a notification box when updates
  available.
* Clicking the notification box will pop up the
  SoftwareUpdater with a simple "Apply Updates" button
* Currently users need to know to 'pkgman update'
2016-12-08 18:43:39 +00:00
Alexander von Gluck IV a2b2f4d642 repo rework: Re-add compatibility url field
* We saw 3rd party repos break as well oddly.
* Reintroduces the url field in a little bit cleaner
  way.
* Should solve "Failed to open repository file" errors
* Once everyone updates beyond hrev50723 this is
  no longer needed.
2016-12-08 07:57:47 -06:00
Alexander von Gluck IV 602076ef82 repo rework: Remove stubs; Breaks repo compat.
* These stubbs satisfied older Haiku releases that
  required the URL
* Users running nightly images will need to upgrade
  to hrev50723 - hrev50744 before upgrading further
* Getting this out of the way now before the beta
  comes out.
* New installations shouldn't suffer any problems.
2016-12-07 21:27:56 -06:00
Alexander von Gluck IV 5ffaf72c8a repo rework: Remove need for repos to be self-aware
* See #12917 for details.
* Squashed to one commit to make revert easy if we
  run into any issues.
* pkgman is now pre-attached to the 'current' repo
  version within nightly images so they can be updated
  by default.
* This shouldn't impact us keeping older sets of package
  versions by commit hash for building older hrevs.
* There are XXX stubs with "Kill me". These will need
  to be dropped after users are given sufficent time to
  upgrade. We're dropping a previously required field (url)
  so making this a slowish roll out.
* Makes the repos a lot less restrictive which should
  help PM package building automation be a bit easier.
* Once this stuff smooths out, we'll add UUID's to the
  repo definitions for duplicate repo detection.
2016-12-02 00:41:06 -06:00
Alexander von Gluck IV 738ca0a3a3 build: Change anyboot output from image to iso
* Re ML discussions, this should make a lot more
  sense to users as it is inline with what most
  linux distros ship.
* This will require a tweak to the buildbot.
* First step to shipping anyboot instead of plain iso.
2016-11-29 09:41:55 -06:00
Alexander von Gluck IV d676701752 Merge branch 'master' of ssh://git.haiku-os.org/haiku
Merge split commit between two repos. tcp stack comments
2016-11-24 19:32:38 -06:00
Alexander von Gluck IV 7dffccc308 tcp: Update comment to reflect we support window scaling
* No functional change
2016-11-24 19:31:05 -06:00
Alexander von Gluck IV c6bd5d1ea5 xhci: Use 64-bit pci addresses when requested
* My skylake requests 64-bit addressing.. so I think
  Intel might start leveraging this soon.
* Hopefully won't break any builds, might have to wrap
  that << 32 shift if phys_addr_t is 32-bits anywhere.
2016-11-02 10:08:05 -05:00
Alexander von Gluck IV 8950e6dc9a radeon_hd: Add missing HD 7570. Clean up some PCI names
* Should resolve #12977. There isn't much info in the
  wild about the HD 7570.
* Clean up naming of some cards per updated AMD pci
  naming table.
2016-10-30 08:39:57 -05:00
Alexander von Gluck IV 06bb9887b4 xhci: Check and report interface version
* We could also check to make sure it isn't 0xffff and
  bail if it is... not really a solution but helps
  prevent kdl's if our mapped memory is corrupted.
* That seems like more of a hack though, i'd like to
  solve the real problem.
2016-10-30 08:39:57 -05:00
Alexander von Gluck IV 59e331631f xhci: Trace eecp register before access, not after 2016-10-29 17:49:36 -05:00
Alexander von Gluck IV 273c3bc497 usb: Bump max USB_MAX_PORTS to 255
* Seems more common to have > 16 USB ports on xHCI
  hubs (18 on my XPS 13 root hub)
* This fixes 'hub supports more ports than we do' error
* The FreeBSD USB driver works a lot like ours and
  sets the maximum USB ports on a hub to 255
* Doesn't solve #12885 but fixes one of the errors
2016-10-27 12:43:54 -05:00
Alexander von Gluck IV f4f6b874bf arm: Use new firmware repo for u-boot 2016-10-20 21:45:34 -05:00
Alexander von Gluck IV b2bdabc797 arm: Add beaglebone target, rename beagle
* beaglebone vs beagleboard
* While the boards are almost the same, they have
  diff. FDT's now (more memory, different layout etc)
* Make u-boot script more rpi-like
  (depend on u-boot for initial addresses)
* Wasn't working, still doesn't.
2016-10-20 11:05:46 -05:00
Alexander von Gluck IV d068622c37 arm: Update Raspberry Pi 1/2 fdts from FreeBSD 2016-10-09 13:29:22 -05:00
Alexander von Gluck IV b3be20cada radeon_hd: Polaris hpd is still the same as DCE 11 2016-10-05 16:00:10 -05:00
Alexander von Gluck IV 1925e1deec radeon_hd: Add new dig v5 table minor code.
* Radeon RX 480 working over DisplayPort active dongle (!!)
2016-10-05 15:40:04 -05:00
Alexander von Gluck IV 25a087bc7c radeon_hd: AtomBIOS version bump. Encoder work.
* Now pulling in latest amdgpu atombios.h headers
* Lots of DisplayPort cleanup and removal of legacy stuff
* Add obsolete atombios header for things that disappear
  (amdgpu doesn't support older cards like we do)
* Introduce new code to support later encoder tables
* Drop radeon-specific encoder service from common dp_info
* Tested on HD 5450 hdmi
2016-10-05 13:54:24 -05:00
Alexander von Gluck IV 38f17b01ce radeon_hd: Polaris10 power distribution fix
* Helps prevent mainboard explosions and other bad stuff.
* ...maybe not explosions, but bad things.
* The RX 480 reference design can pull as much as 90W
  from its PCIe slot at load. PCIe is rated for 75W.
* This change overloads the PCIe power cables vs the PCIe
  slot. The PCIe power cables can handle going over spec.
* Untested since we really can't come close to loading a
  RX 480 without hardware OpenGL ^_^
* Should be able to test on real hardware within a week.
2016-09-28 15:46:14 -05:00
Alexander von Gluck IV 6c12ba4014 radeon_hd: Add RX 460. Rename 480 to include 470. 2016-09-27 16:17:50 -05:00
Alexander von Gluck IV bccc693277 BeDecorator: Reintroduce to image 2016-09-18 14:44:18 -05:00
Alexander von Gluck IV d60b3b1b98 BeDecorator: Fix build post S&T 2016-09-18 14:38:43 -05:00
Alexander von Gluck IV 95b6439eec intel_extreme: Implement Snb PCH FDI link training 2016-07-29 17:49:59 -05:00
Alexander von Gluck IV c0d4def4e4 intel_extreme: Implement Ilk PCH FDI link training
* IronLake tested and FDI says it trains successfully
* Still no LVDS video on Ilk
2016-07-29 16:04:40 -05:00
Alexander von Gluck IV a933bb4cbc intel_extreme: IronLake reference clock activation 2016-07-17 15:25:08 -05:00
Alexander von Gluck IV 49cabb0d5d intel_extreme: Fix regression from hrev50410; #12855 2016-07-12 10:04:50 -05:00
Alexander von Gluck IV 17ecf642b5 intel_extreme: LVDS pipe only *has* to be B when gen < 4 2016-07-11 21:49:00 -05:00
Alexander von Gluck IV 92e254d047 intel_extreme: Improve PCH detection
* Detect PCH model based on ISA bridge and save
  into shared info for later use.
* On CougarPoint PCH systems, assign pipes via
  special CPT registers
* Drop HasPlatformControlHub as PCH should be
  based on more than just generation.
2016-07-10 21:02:01 -05:00