Michael Brown
37fa9a8706
Split the objcopy stage out of final image preparation to a separate
...
bin/%.bin target.
2007-07-16 13:41:27 +01:00
Michael Brown
6d2e4e719c
Move uninitialised .data16 variables to .bss16; saves around 2000
...
bytes of useless zeroes in the final image.
2007-07-16 13:22:12 +01:00
Michael Brown
389204713f
Kill off some long-redundant CFLAGS
2007-07-16 13:15:12 +01:00
Michael Brown
833d6cc8ec
Add __bss16() macro, and allow use of .bss16 section by removing
...
link-time check for section overlaps. (In order to avoid wasting
space in the executable image, .bss16 will overlap with the following
section, which is .text).
2007-07-16 13:10:49 +01:00
Michael Brown
c482fc90fb
Revert "no need for depending on build library ("blib")"
...
This reverts commit 9dc2515d7e
.
I want "make" to actually build something.
2007-07-16 13:06:58 +01:00
Michael Brown
a8780a4fe4
Added nrv2b binary to ignore list
2007-07-15 13:31:31 +01:00
Michael Brown
ab859a5355
Use a single _payload_offset linker-defined variable to locate the
...
start of the non-prefix blocks in the loaded image, and rely on the
image ordering. This should make introducing compression much easier.
2007-07-15 02:52:02 +01:00
Michael Brown
aa729d2d10
Reverting unintended change caused by merge of indolent/natsemi branch.
2007-07-15 02:22:49 +01:00
Michael Brown
c27b06fc4d
Merge commit 'indolent/natsemi'
2007-07-15 02:21:55 +01:00
Udayan Kumar
37517f7752
removed type casting from DBG statements.
2007-07-14 21:08:07 -04:00
Udayan Kumar
fc47f2a4ce
replaces printf with dbg
2007-07-14 21:08:07 -04:00
Udayan Kumar
04962a0b31
added natsemi.h
2007-07-14 21:08:06 -04:00
Udayan Kumar
ecfa8f41e8
mdc's+nvs
2007-07-14 21:08:06 -04:00
Udayan Kumar
008bfb6e85
more debugging
2007-07-14 21:08:06 -04:00
Udayan Kumar
f58c8511a0
more debugging
2007-07-14 21:08:06 -04:00
Udayan Kumar
d6ceb8bbd7
added silicon revision number
2007-07-14 21:08:06 -04:00
Udayan Kumar
334abbde83
init_fix_up
2007-07-14 21:08:06 -04:00
Udayan Kumar
751cb2e450
added cable magic for 100Mps in natsemi
2007-07-14 21:08:06 -04:00
Udayan Kumar
11d246f3b5
duplex setting added to natsemi.c
2007-07-14 21:08:06 -04:00
Udayan Kumar
621f6fb503
more indentation and styling done
2007-07-14 21:08:06 -04:00
Udayan Kumar
bfa322bb19
:x
2007-07-14 21:08:06 -04:00
Udayan Kumar
f213f6a1a3
no changes
2007-07-14 21:08:06 -04:00
Udayan Kumar
a8c2a4fa11
added nat_irq to natsemi.c
2007-07-14 21:08:06 -04:00
Udayan Kumar
132d0fb70c
stopped memory leak in natsemi::nat_open()
2007-07-14 21:08:06 -04:00
Udayan Kumar
83dd194330
Natsemi commented and almost done
2007-07-14 21:08:05 -04:00
Udayan Kumar
4f2fab2e14
natsemi.c is workin
2007-07-14 21:08:05 -04:00
Udayan Kumar
a86b12728a
irq still not working will have to remove it
2007-07-14 21:08:05 -04:00
Udayan Kumar
2383a070d8
natsemi
2007-07-14 21:08:05 -04:00
Udayan Kumar
5e91a38269
interrupt in natsemi
2007-07-14 21:08:05 -04:00
Udayan Kumar
0d4ecfa63c
enabled interrupt in natsemi.c
2007-07-14 21:08:05 -04:00
Udayan Kumar
9ad59b60c5
added change log to natsemi.c
2007-07-14 21:08:05 -04:00
Udayan Kumar
6d4dafdc6e
added netdev_tx_complete to natsemi.c
2007-07-14 21:08:05 -04:00
Udayan Kumar
c6d0ef3478
added endianness to natsemi.
2007-07-14 21:08:05 -04:00
Udayan Kumar
0c324caecf
free_netdev -> netdev_put
2007-07-14 21:08:05 -04:00
Udayan Kumar
623d10c66f
debugging natsemi.c
2007-07-14 21:08:05 -04:00
Udayan Kumar
4a73631106
added eeprom from rtl8139 but not working
2007-07-14 21:08:05 -04:00
Udayan Kumar
9e962c3a01
natsemi now needs eeprom access
2007-07-14 21:08:05 -04:00
Udayan Kumar
99c680f743
same as before, but now compiling natsemi
2007-07-14 21:08:05 -04:00
Udayan Kumar
c8f6207e7e
added polling and transmit. eeprom access still remaining
2007-07-14 21:08:05 -04:00
Udayan Kumar
97efdbe9d7
skel of new natsemi driver (still in developments)
2007-07-14 21:08:05 -04:00
Udayan Kumar
4cea792470
testing if it works
2007-07-14 21:08:05 -04:00
Michael Brown
208ff0d42e
Revert mdc's warnings purge on natsemi.c, to allow for a clean rebase.
2007-07-14 21:08:05 -04:00
Michael Brown
0b5059c40b
Skip the length field prepended by util/nrv2b.c
2007-07-15 02:01:17 +01:00
Michael Brown
b37e267d1b
Modified calling convention: we now update %esi and %edi just like a
...
"rep movsb".
2007-07-15 01:51:32 +01:00
Michael Brown
3feac9465e
"not" doesn't affect flags, "xor $-1" does.
2007-07-15 01:25:13 +01:00
Michael Brown
7e3a8f5e10
Remove more obsolete files
2007-07-14 23:16:01 +01:00
Michael Brown
26473105cd
On advice of hpa: be more patient with the KBC and SCPA methods; retry
...
in a long loop before giving up on them. Record method which worked
and default to that method on next attempt.
2007-07-14 20:56:12 +01:00
Michael Brown
adf192f566
Shrink cpu.c and render it useful for our purposes.
2007-07-14 19:12:13 +01:00
Michael Brown
25fd42ca87
Reduced etherboot.h dependencies to avoid unnecessary rebuilds.
...
etherboot.h is only now used by drivers that have not been updated to
the new API.
2007-07-14 15:52:23 +01:00
Michael Brown
e330db3c74
Dead code removal.
...
Kill off use of etherboot.h outside drivers/net.
2007-07-14 15:42:26 +01:00