|
|
Tuesday, September 10, 2002
|
|
Loading Compressed vxWorks Images
Getting the vxWorks bootloader to load a compressed vxWorks image from flash is a piece of cake!
- Add a rule to the makefile to create vxWorks.Z by doing elfToBin and deflate.
- Change bootConfig.c. Add some code that opens, reads, and inflates the compressed file in tffsLoad(). You'll want to inflate to RAM_LOW_ADRS, and pass this address back through pEntry. I check to make sure the file has a ".Z" -- this way you can still load an uncompressed file.
- That's all there are for changes! Rebuild, reflash your bootrom, download the compressed image and let 'er rip.
5:54:39 PM
|
|
|
© Copyright 2002 Brian St. Pierre.
Last update: 9/10/2002; 5:54:48 PM.
|
|
September 2002 |
Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
|
|
|
|
|
Jul Oct |
|
|