[uClinux-dev] user apps and SourceryG++
Gavin Lambert
gavinl at compacsort.com
Wed Nov 14 16:48:58 EST 2007
Quoth David van Geest:
> 1. What are the options for including custom user software on the board?
> Is it necessary to re-compile the kernel with your app included every time
> you make a change to your program(s)?
Depends on how you've written the program :)
For compiled-in-kernel changes, yes, you'll need to rebuild the kernel
(obviously).
For kernel modules, you can rmmod the old module and insmod the new one.
For user apps, you can just run the new app from a different location.
For these last two, you'll obviously need some other means to get the
updated software onto your board. The easiest way to do this is with a
network connection and TFTP/FTP; another option would be to use a network
share. When using (T)FTP you'll only be able to upload to ramdisk (ramfs)
folders, so you can't replace anything that relies on a hard-coded path.
More information about the uClinux-dev
mailing list