[ixp1200] Patch for SDK 2.0 to use all the available memory on bridalveil
Abhijeet Joglekar
abhijeet at cs.utah.edu
Sun Dec 1 20:38:36 EST 2002
Hi,
We are using the Bridalveil board with SDK 2.0 at Utah. SDK 2.0 sets
up the board to use only 128 MB of Sdram and 4 MB of sram. Since we
need more memory for packet buffers and other data structures, we
patched some header and source files to use all the memory on the
board (256 MB of sdram and 8 MB of sram) and to increase the memory
pool allocated to ASL and RM.
So our modified board configuration is:
Sdram (total 256 MB)
--> ASL (96 MB)
--> RM (32 MB)
--> Linux (126 MB)
--> Vmon (2 MB)
(Thus linux is loaded at an offset of 128 MB from the start of Sdram)
Sram (total 8 MB)
--> ASL (6 MB)
--> RM ( 2MB)
If you want to change the default memory configuration of SDK 2.0 on
bridalveil for your application, you might find these changes useful.
If you want a different configuration, you can look up the patch file
and make the relevant changes in your code.
The changes are available at
www.cs.utah.edu/~abhijeet/ixp/utah_bv.tar.gz
There are three files in it:
- README (which explains how to patch your current source
tree, which files to back up, which modules to
recompile and how to test if the patch works)
- bvpatch (the patch file for setting up the board
to use all memory)
- autobootbv (a script for automating boot procedure of bv. This
is independent of the patch above, just bundled
up in the same .tar.gz file, because it might be
useful to automate your card bootup.)
We have done minimal testing by running both the l2bridge and l3forward
designs in workbench and non-workbench mode under the modified board
configuration. They seem to be working fine.
Feel free to mail abhijeet at cs.utah.edu if you have any questions
or want to report any bugs in the patch.
Thanks.
-- abhijeet
More information about the ixp1200
mailing list