martin
73f89d772c
Move to standard 2 clause TNF license
2008-05-03 23:52:19 +00:00
martin
912b8073ae
Move to 2 clause TNF license
2008-05-03 23:49:14 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
rafal
3af75740f5
Support for XScale-based (PXA-2x0) iPaqs -- original refactoring / code from
...
Robert Swindells, with addition of serial console, other assorted cleanup
and much headbanging by me. Tested only on a iPaq 3970 so far.
NB: So far this uses the SA-11xx-targetted assembly code (including cache
handling, etc). Fortunately, none of that's required since hpcboot allocs
cache-inhibited pages from WinCE to copy the 2nd-stage loader and kernel
into. I've split the code into SA-11xx and PXA-2x0 bits in my tree, but
that needs help/review from someone with ARM/XScale clue.
2008-03-08 02:26:03 +00:00
rafal
3bf0508cf8
Increment the load-link counter in the right place (once for each link in
...
the tag chain added vs. just once each time load_memory() is called).
2008-03-08 02:17:48 +00:00
rafal
6e46f6378f
Grrr, don't grow the stack *up*, grown it *down* as everything else expects.
...
Fixes a frequent memory stomp of the bootinfo page (the kernel entry address,
no less) that occurrs when you turn the serial-debug code in the ARM 2nd-
stage bootloader.
2008-03-08 01:50:06 +00:00
uwe
24c8a90269
s/u_intN_t/uintN_t/
2006-03-05 04:05:39 +00:00
uwe
de58f0245a
Loader uses ElfLoader::memorySize to determine the number of tagged
...
pages to allocate, as some of those pages are only partially filled
(e.g. last page of loadable segment) we may allocate too few tagged
pages and boot will fail. So lie by reporting extra size for each
partial tagged page.
XXX: This is an ugly hack, but I'm not going to shave this yak.
2006-03-05 04:04:13 +00:00
uwe
7a546fd8c5
Cosmetic. In debug pritnf in ElfLoader::memorySize don't prepend '+'
...
when printing the size of the first loadable segment.
2006-03-02 23:56:58 +00:00
wiz
5d1e8b2745
Fix some typos.
2006-02-25 02:28:55 +00:00
uwe
4f2fba2a61
Use comma in debug message in _load_segment_end to make it more readable.
2006-02-20 03:09:05 +00:00
uwe
ef2734fbd0
Print the size of address translation table in hex.
...
Use plural "pages", "bytes".
2006-02-20 03:07:33 +00:00
peter
ce8dca9281
Fix a typo.
2006-02-19 13:04:42 +00:00
uwe
f60eb26259
Prune CPPDEF_LIST from unnecessary defines.
2006-01-18 01:08:57 +00:00
uwe
2565c191eb
Remove duplicate CPPDEF_LIST.
2006-01-17 23:39:53 +00:00
uwe
4f6e1f3b52
Adjust to new zlib location.
2006-01-17 02:40:55 +00:00
uwe
d619e0824c
Loader::_load_memory - don't give up so easily if memsz > tagged page
...
size. This makes ksyms work, constructed ELF header was too big to
fit into one tagged page.
As a side effect it makes detached miniroot work too, as to locate the
miniroot the symbol table must be correctly skipped. We probably
should just pass that information in bootinfo.
2006-01-15 02:20:35 +00:00
uwe
24aae33317
Add missing \n in a debug printf.
2006-01-15 00:07:49 +00:00
uwe
053de0d06e
Get rid of an unused variable in Loader::_load_memory.
...
Add whitespace between = sign and casts, while there use uint32_t in
those casts.
2006-01-15 00:06:39 +00:00
uwe
dfe0035af2
Prettify debug messages about ksyms block.
2006-01-14 23:23:32 +00:00
uwe
58488e09fe
Make debug message about zeroed areas look like the one for loaded areas.
2006-01-14 23:22:53 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
uwe
75d8bdf000
XXX: kludge around constification fallout.
...
No way I'm dealing with constification of C++ code!
2005-07-12 23:21:54 +00:00
uwe
840914104a
Mark resources as language neutral, so that language is not picked
...
from the complation environment.
2005-05-11 14:19:36 +00:00
uwe
bca43dba34
Use L"" Unicode syntax for Japanese strings, so that Japanese name for
...
"Memory Card" is not mangled when compiling in non-Japanese environment.
2005-05-11 13:59:27 +00:00
uwe
5e3aaf765f
All Jornada 7xx machines have the framebuffer at the same address, so
...
just use a single wildcard entry for them. Should fix the bug, that
7xx machines could be booted only using "Japanese" entry (b/c it was
the only one with the framebuffer info).
2005-02-27 18:35:08 +00:00
uwe
2ddba96151
Take DST into account when computing bi.timezone offset.
2005-02-27 18:25:02 +00:00
uch
986311dca4
add SH7707
2004-08-13 15:50:09 +00:00
uch
e659dc81a4
fix debug print.
2004-08-13 15:49:37 +00:00
uch
7ee4f55250
add SH7707 and HP360LX. add HCAJ and HCVJ group for Sharp Telios
2004-08-13 15:48:51 +00:00
uch
643a469d36
set user specified console as default.
2004-08-13 15:48:21 +00:00
uch
00539717e3
add debug print.
2004-08-13 15:47:53 +00:00
uch
32b3027515
clean up whitespace.
2004-08-06 18:33:09 +00:00
uch
da18fa2c21
progress bar extension. put message to console.
2004-08-06 17:24:00 +00:00
uch
b5f1c4963a
progress bar extension. put message to console.
2004-08-06 17:22:01 +00:00
uch
a28cfcb566
make hpcboot.exe compile on VC5 (H/PC Ver.1.01 for MIPS, H/PC Ver.2.00 for SH).
2004-08-06 17:21:28 +00:00
uch
7782d1dc8c
add HPW200EC entry.
2004-06-28 14:43:42 +00:00
uch
fe28a59378
adjust segment load address to 4byte align.
2004-06-12 12:09:38 +00:00
uch
352d7c06a3
add Multimedia Card entry.
2004-06-10 15:58:33 +00:00
uch
4d7bd279c7
allocate section and program header table dynamicaly.
...
fixed section header table over flow problem.
2004-06-10 15:57:18 +00:00
uwe
bbb41d52d5
Make focusManagerHook a tad more smart, so that it can correctly handle
...
the serial console speed combobox (last item in the kernel tab).
2004-04-27 00:04:38 +00:00
uwe
d4129e7685
Sort the list of supported platforms that we show to the user.
2004-03-28 15:32:35 +00:00
uwe
8c941b849f
Add a few calls to UpdateWindow.
2004-03-16 22:30:36 +00:00
uwe
0ed7ecdd91
G/c unused "hdc" variable.
2004-02-27 04:22:26 +00:00
uwe
c45485b3de
Forgot to call ReleaseDC().
2004-02-27 04:20:38 +00:00
uwe
c23bdf5200
On winder HPC screens use wider Boot/Cancel buttons that looks better.
2004-02-27 03:53:33 +00:00
uwe
6212a368a7
Make sure the root window always has focus, so that hpcboot can be
...
operated using only the keyboard. It should now be possible to boot
NetBSD on HPC devices with broken touchscreens.
2004-02-27 03:23:12 +00:00
uwe
d6be11a58d
Use realsize() to determine the size of the miniroot image.
...
It's now possible to boot from gzipped miniroots.
2004-02-27 02:02:16 +00:00
uwe
318e48690d
Implement realsize() method. For gzipped files it reports the
...
uncompressed file size.
2004-02-27 02:00:32 +00:00
uwe
0294b2b99a
WinCE 2.11 doesn't support keyboard focus traversal for nested
...
dialogs, so implement poor man keyboard focus manager. The goal is to
make it possible to use hpcboot on HPC devices with broken touch
screen. (TODO: Make sure that when the window is activated, there is
a focused control).
2004-02-23 05:20:48 +00:00