Commit Graph

51965 Commits

Author SHA1 Message Date
François Revol
c424d9e833 ARM: overo: fix bootscript
We actually now get our boot menu!
2014-11-01 05:42:47 +01:00
François Revol
8874b947cc ARM: overo: fix flash and SD content 2014-11-01 05:38:44 +01:00
François Revol
10255f396b ARM: verdex: keep notes about flash content 2014-11-01 05:37:32 +01:00
François Revol
1309cdade9 U-Boot: rework flash image rule to be more flexible
We can now specify arbitrary content and offsets for each.

Change the default block size to 1k.
2014-11-01 05:37:06 +01:00
François Revol
b1d21fa3e8 ARM: Add URLs for MLO and U-Boot binaries
taken from http://gumstix.org/how-to/70-writing-images-to-flash.html
2014-11-01 02:27:57 +01:00
François Revol
f680a1a723 U-Boot: skip flash-image targets if no U-Boot image is passed
When building flash images we want a U-Boot binary for now.
Testing for it avoids dd waiting for input on stdin
instead leaving no clue.
2014-11-01 02:15:09 +01:00
François Revol
ce8bde949d ARM: set the FDT file to use for Overo 2014-11-01 02:06:06 +01:00
François Revol
7b0ec176cb ARM: add required FDT files for Overo and Tobi board 2014-11-01 02:05:39 +01:00
François Revol
48c3ab96bb ARM: overo has an OMAP3 which supports VFP3...
Also switch the fpu abi to hard since it's the only thing we can use
until we get proper multilib support. It builds but misses an FDT.
2014-11-01 01:18:40 +01:00
François Revol
74f2b62e3c ARM: Mention an interesting page about floating point
There are so many options on ARM...
2014-11-01 01:09:21 +01:00
Humdinger
88c816e36b Add packages copynametoclipboard and pecorename. 2014-10-31 17:43:44 +01:00
Adrien Destugues
f381456740 Fix errors when building with DEBUG=2
Fixes #8306. Please define DEBUG in UserBuildConfig or Jamfiles if
needed.
2014-10-31 16:49:36 +01:00
François Revol
960598d4c3 norflash: Fix warning 2014-10-31 16:28:49 +01:00
François Revol
88d51506d0 Move ARM device tree files to an arch-specific subfolder
FDT are also used on PPC at least, and at least skeleton.dtsi
might clash since there is a different one for PPC.
2014-10-31 16:28:48 +01:00
Michael Lotz
6a80e6889a kernel: Fix missing reference to team/thread in signal events.
The signal to the team/thread is only actually sent in a deferred
procedure. To ensure that the team/thread stays valid between the DPC
being queued and it actually running, we need to acquire a reference.

Fixes #11390, where the DPC was run after the team was already
destroyed.
2014-10-31 16:16:37 +01:00
Adrien Destugues
6109f53bc6 App_server: fix various issues with hardware cursors
* X and Y coordinates of hot point were swapped for 1-bit cursors
* Prefer color cursor over 1-bit one if possible
* Adjust the XOR/AND masks for 1-bit cursors to what the hardware
expects
* Handle switching etween hardware and software cursor.

Patch by Looncraz and Ziusudra, fixes #9261.
2014-10-31 14:54:48 +01:00
Adrien Destugues
d0a662e20a Intel partition: activate the first created partition.
The default MBR relies on at least one partition being active. The first
one sounds like a good choice.

Fixes #7930.
2014-10-31 14:12:44 +01:00
Adrien Destugues
a62c3f918c usb_webcam: fix build. 2014-10-31 13:46:47 +01:00
Adrien Destugues
dff211d8a6 Build media add-ons for secondary arch.
Fixes #10049.
2014-10-31 12:20:52 +01:00
Ithamar R. Adema
5d8ce4733c ARM: u-boot: Generate DTB and include in uImage 2014-10-31 12:08:03 +01:00
Ithamar R. Adema
a52dd58d2d ARM: kernel: introduce SoC abstraction
This introduces InterruptController and HardwareTimer classes to
handle the SoC specific implementations of timers and ints for
the ARM platform.

These could be improved and moved to a more 'generic' level once
we're confident they are 'good enough'.

NOTE: The OMAP timer implementation is fully untested and probably
      completely non-functional....
2014-10-31 11:37:02 +01:00
Ithamar R. Adema
47c5303305 revert accidental adding of xhci to boot floppy
I should not be doing multiple (unrelated) things at the same
time I guess ;)
2014-10-31 11:32:15 +01:00
Ithamar R. Adema
1628632584 ARM: u-boot: fixup FDT handling
If we find an FDT (either from uImage or otherwise) we make sure
we map it after mmu_init() and use kernel_args to pass it to the
kernel (so it is available at all times there).
2014-10-31 11:21:38 +01:00
Ithamar R. Adema
b794d1f947 ARM: platform: grab the FDT from the bootloader 2014-10-31 11:19:00 +01:00
Ithamar R. Adema
7ed3516489 ARM: add FDT bus_manager to floppy disk image 2014-10-31 11:18:52 +01:00
Ithamar R. Adema
778611c7e6 fdt: humble beginnings of Flattened Device Tree
This isn't really a bus_manager yet, but just minimal support so
we can get rid of hardcoded ARM SoC support from the core kernel
code.

Needs lots of work, like proper handling of #address-cells and
the like. Also, generic attribute handling, device_manager
integration, and I could go on for hours ;)
2014-10-31 11:14:05 +01:00
Ithamar R. Adema
c83fab8587 ARM: beagle: specify Beagle-XM DTS file 2014-10-31 10:59:58 +01:00
Ithamar R. Adema
128e69f9e5 CompileDTS: use preprocessor on .dts files
Recent linux behaviour (and also copied by BSD) is to preprocess
DTS files with the C preprpocessor to enable sharing constants between
driver implementation and DTS content for more readability.
2014-10-31 10:57:07 +01:00
Ithamar R. Adema
f4c28fe71f loader: make sure bfs debug output ends up in log
Use dprintf instead of printf so any debug output ends up in
bootloader log instead of only being displayed on-screen.
2014-10-31 10:53:28 +01:00
Jessica Hamilton
47db8ac7d6 pkgman: add missing padding for percentage display 2014-10-31 20:01:29 +13:00
Rene Gollent
b13d824927 Debugger: MarkerView tweaks.
- Draw conditional breakpoints in a different color from regular
  ones for easy visual differentiation.
- Right clicking on an existing breakpoint marker now brings up the
  condition editing window.
2014-10-30 20:59:52 -04:00
Rene Gollent
fe47f15fb4 Debugger: ThreadHandler cleanups.
- Ask the architecture for a stack trace directly, as we only
  need the top frame.
- Properly update thread state before we go into condition
  evaluation. Otherwise, other parts of the debugger potentially
  wouldn't notice that we had continued execution in the case
  where the condition evaluates to false, and would indicate a
  program stop at the breakpoint erroneously.
2014-10-30 20:59:52 -04:00
Henry Harrington
601b2f7eda vm: Try harder to allocate early physical pages.
* On UEFI, pages are allocated top-down; previously,
  VM would fail to allocate early pages due to
  running into pages allocated at the top and
  assume it had run out of pages to map.

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2014-10-31 13:42:48 +13:00
Adrien Destugues
87d0590f60 pkgman: better download progress bar
* Use Unicode block drawing characters to provide sub-character accuracy
* Also display the download progress percentage as a number

When downloading big packages this helps seeing that the bar continues
moving and that the download is not stalled.
2014-10-30 23:21:02 +01:00
Rene Gollent
a5ce4678c0 Debugger: Implement conditional breakpoints.
ThreadHandler:
- When a breakpoint event is hit, we now check if there is an
  associated UserBreakpoint with a condition attached. If so,
  we schedule an evaluation request, and only stop the thread if
  that one evaluates to true (or if evaluation fails in some way).

This implements #9713.
2014-10-30 16:54:33 -04:00
Rene Gollent
43060a58fa Debugger: Minor tweak to ExpressionEvaluationJob.
- ExpressionEvaluationJob now stores the final result value,
  and provides an accessor to it.
2014-10-30 16:54:32 -04:00
Rene Gollent
942226c711 Debugger: Add UI for configuring breakpoint conditions.
General:
- Add message codes for requesting breakpoint configuration.

UserInterfaceListener/TeamDebugger:
- Add/implement hooks for requesting breakpoint condition changes.

BreakpointsView:
- Add button to request editing the currently selected breakpoint's
  condition.

TeamWindow:
- Handle request to show breakpoint edit window.

BreakpointEditWindow:
- Implement simple radio-based UI for modifying the current breakpoint's
  condition.

Still missing: Actually handling/evaluating the breakpoint conditions in
the ThreadHandler when the breakpoint is hit.
2014-10-30 16:54:31 -04:00
Rene Gollent
3dfdc98cd1 Debugger: Show breakpoint conditions in list view.
- Adjust breakpoint table and model to also show breakpoint conditions,
  if set.
2014-10-30 16:54:31 -04:00
Rene Gollent
65a10b5000 Debugger: Add condition expression member to UserBreakpoint.
- UserBreakpoint and its corresponding settings classes now
  store/recall an optional condition expression.
2014-10-30 16:54:30 -04:00
Rene Gollent
854b341612 Debugger: Minor tweak to expression window.
- If the expression result is an integer, display it in both hex and decimal
  format.
2014-10-30 16:54:29 -04:00
Adrien Destugues
a13654e089 Network: add field for setting the domain. 2014-10-30 21:24:23 +01:00
Adrien Destugues
8aaad21dea Change the new net preflet mimetype to match the old one
This lets NetworkStatus and possibly other apps find it again.
2014-10-30 19:52:43 +01:00
Ingo Weinhold
96a321df07 bootstrap image: Add remote command execution script
In order to automate the complete bootstrap build process we need a
mechanism to control the second phase which builds the final packages
on the booted bootstrap Haiku. To avoid additional dependencies
(buildbot slave, ssh, rsh,...) we'd have to cross-build, there's now a
pair of simple python scripts that allows executing commands on a remote
machine. The server script (bootstrap_daemon.py) is added to the
bootstrap image and started automatically during the boot.
2014-10-30 16:43:54 +01:00
Adrien Destugues
c00e34900a Network: 64bit fix. 2014-10-30 16:15:25 +01:00
Adrien Destugues
1508dc5c41 network prefs: fix jamfiles and include into image.
* There are some rough edges, but the functions from the existing
preflet are all available now.
2014-10-30 15:49:08 +01:00
Adrien Destugues
a0c8a64b47 Move the new network preflet at the right place. 2014-10-30 15:49:07 +01:00
Adrien Destugues
446094bcb3 Implement saving DNS server list.
This makes the preflet good enough for replacing the current one.
2014-10-30 15:49:05 +01:00
Rene Gollent
5cd3ae7c0d Debugger: Implement member dereferencing in expressions.
CLanguageExpressionEvaluator:
- Add tokenizer handling for operators . and ->.
- Rework _ParseIdentifier() to work recursively if it sees a deref
  operator immediately following the current token. This allows
  one to refer to the value of structure/class members in an
  expression.
2014-10-30 09:55:08 -04:00
Adrien Destugues
824404e31f NetworkSetup: add the Services tab
* UI still needs some tweaking
* The Services tab has a list of services. This currently include DNS
and will soon also include the services listed in xinetd.
* The DNS tab allows to manage DNS servers (settings can't be saved yet)
2014-10-30 11:27:38 +01:00
Jessica Hamilton
0cf2423cbf Update gcc devtools for x86 on gcc2 to btrev43095 2014-10-30 23:03:32 +13:00