RTEMS 4.9.1 Available

Gene Smith gds at chartertn.net
Mon Dec 15 23:35:24 UTC 2008


Joel Sherrill wrote, On 12/12/2008 01:38 PM:
> If you have questions or issues, feel free to bring them up on the RTEMS
> mailing list.
> 

Patch for Dummies*:

I want to upgrade my existing 4.9.0 to 4.9.1 without a complete 
re-download and merging in my custom files (bsp, cpu specific code etc). 
Here's the steps I did to do the upgrade:

 From http://www.rtems.org/ftp/pub/rtems/4.9.1/ download 
rtems-4.9.0-4.9.1.diff to (for me) ~/4.9.0-rtems/tools/.

cd ~/4.9.0-rtems/tools

This patches ./rtems-4.9.0 in place. First make a backup if this bothers 
you.
patch -p0 < rtems-4.9.0-4.9.1.diff

Check for rejects or conflicts.
find . -name "*.rej" -print

If any found, manually resolve conflicts. I had none.
Return to tools dir.

Delete the rej files if needed
find ./rtems-4.9.0 -name "*.rej" -exec rm {} \;

Rename to 4.9.1
mv rtems-4.9.0 rtems-4.9.1

Reconfigure and rebuild.
cd build-rtems
rm -rf *    (careful!)
../rtems-4.9.1/configure <your previous configure options>
make all install

Rename top level if desired:
cd ../../..
mv 4.9.0-rtems 4.9.1-rtems

*That would be me




More information about the users mailing list