Oleksandr Tymoshenko
99629fa36d
- Populate dump_avail with proper values from phys_avail
2010-12-09 07:01:03 +00:00
Andrew Thompson
08e58cc093
Make a note of which platforms the mac strings come from.
...
Suggested by: adrian
2010-09-17 01:13:48 +00:00
Andrew Thompson
3441a301f2
Use getenv to find the mac address since it could be in the bootloader
...
environment or command line and under different names.
2010-09-17 01:09:12 +00:00
Adrian Chadd
292899c376
Remove now unused 'reg'.
2010-08-19 02:15:39 +00:00
Adrian Chadd
6f96ebf309
Initialise the USB system using cpuops rather than the AR71XX specific method.
2010-08-19 02:14:53 +00:00
Adrian Chadd
1d11005672
Migrate the CPU reset path to use the new cpuops.
2010-08-19 02:12:04 +00:00
Adrian Chadd
70bd9230d1
Preparation work for supporting the AR91xx and AR724x.
...
* Implement a SoC probe function, from Linux, which determines the
SoC family, type and revision. This only probes the AR71xx series
SoC and (currently) panics on others.
* Migrate some of the AR71XX specific hardware init (USB device, determining
system frequencies) into using the cpuops introduced in an earlier commit.
Other SoC specific hardware stuff (per-device flush/WB, GPIO pin wiring,
Ethernet PLL setup, other things I've likely missed) will be introduced in
subsequent commits.
Reviewed by: imp@
Obtained from: (partially) Linux
2010-08-19 02:03:12 +00:00
Oleksandr Tymoshenko
d86043b594
- Call post-boot fixup function in order to get proper static
...
symbols resolving in DDB
- When zeroing .bss/.sbss do not round end address to page boundary,
it's not neccessary and might destroy data pased by trampoline or
boot loader
2010-01-25 00:44:05 +00:00
Warner Losh
657a57d730
Update from old DDB convetion to initialize debugger to new KDB way.
...
Always call kdb_init(). If we have KDB enabled, then provide a handy
place to break to the debugger.
2010-01-23 00:18:12 +00:00
Warner Losh
3ad9e328b8
Rename mips_pcpu_init to mips_pcpu0_init since it applies only to the
...
BSP. Provide a missing prototype.
2010-01-09 03:08:22 +00:00
Warner Losh
a096e4b36b
Centralize initialization of pcpu, and set curthread early...
2010-01-08 22:48:21 +00:00
Randall Stewart
8fae280afb
With this commit our friend RMI will now compile. I have
...
not tested it and the chances of it running yet are about
ZERO.. but it will now compile. The hard part now begins,
making it run ;-)
2009-10-30 08:53:11 +00:00
Andrew Thompson
3c2330f2e4
Parse and save the command line passed in from RedBoot (exec -c "xxx") and also
...
the board specific environment variables.
This is not ar71xx specific and should be shared better.
2009-10-28 21:27:56 +00:00
Oleksandr Tymoshenko
61bfa4ba5d
- Move CPU/AHB frequency calculations to functions to
...
prevent code duplication
2009-07-09 20:11:26 +00:00
Oleksandr Tymoshenko
f92ba06830
- ar71xx increases Count value every two cycles
2009-05-19 02:51:30 +00:00
Oleksandr Tymoshenko
89616da3f5
- Get memory size and base MAC address from RedBoot (if available)
2009-05-16 02:43:24 +00:00
Oleksandr Tymoshenko
b31707c849
- Calculate CPU frequency using dividers from PLL registers
2009-05-15 01:53:09 +00:00
Oleksandr Tymoshenko
fd7391fc0c
- Revert changes accidentally killed by merge operation
2009-04-14 22:53:22 +00:00