Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - IDE4.6.0 can not create EFS files: (13 Items)
   
IDE4.6.0 can not create EFS files  
I have an efs project from 4.5 (with patches as 4.5 was not able to create efs images as well but with different 
problems) and tried to create the efs image with the new version and it just says:
Building Image: filesystem
C:\QNX641\host\win32\x86\usr\bin\mkefs.exe -vvv C:/subversion/alexa/.metadata/.plugins/com.qnx.tools.ide.builder.core/.
projects/filesystem/filesystem.mkxfs C:/subversion/alexa/HwDependent/Jade/Images/filesystem/Images/filesystem.efs 
Line 12: Unknown attribute: data=copy.

Dos no one (except me) use that feature? Or am I doing something wrong?

Thanks,
Thomas
Re: IDE4.6.0 can not create EFS files  
Hi, Thomas,

It appears that the [data] attribute is not permitted in EFS images, but
only in IFS (bootable) images.  This makes sense, because since EFSes
are not bootable, they cannot execute programs, so specifying the
uip/copy attributes for data and code segments isn't relevant.

Although, this may not be the case if you first *combine* the EFS image
with an IFS.

HTH,

Christian


On Thu, 2009-06-04 at 09:20 -0400, Thomas Wihl wrote:

> I have an efs project from 4.5 (with patches as 4.5 was not able to create efs images as well but with different 
problems) and tried to create the efs image with the new version and it just says:
> Building Image: filesystem
> C:\QNX641\host\win32\x86\usr\bin\mkefs.exe -vvv C:/subversion/alexa/.metadata/.plugins/com.qnx.tools.ide.builder.core/
.projects/filesystem/filesystem.mkxfs C:/subversion/alexa/HwDependent/Jade/Images/filesystem/Images/filesystem.efs 
> Line 12: Unknown attribute: data=copy.
> 
> Dos no one (except me) use that feature? Or am I doing something wrong?
> 
> Thanks,
> Thomas
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post30792
> 


________________________________________________________________________

Christian W. Damus
Software Developer, IDE Team
QNX Software Systems
Re: IDE4.6.0 can not create EFS files  
Hi Christian!

I totally agree, so why does the IDE create them? There is no choice for me in the properties....

Thanks,
Thomas
Re: IDE4.6.0 can not create EFS files  
Hi, Thomas,

Indeed, I can reproduce this problem.  I shall follow this up in our bug tracking system.

For now, it looks like your work-around is to export the system builder project to *.efs using the "Export... -> QNX -> 
System Builder Project to Mkxfs Build File(s)" wizard.  Next, remove the "data=copy" attribute from the defaults near 
the top of the file (there should only be the one; the System Builder editor doesn't provide access to it on a per-file 
basis).  Then, run the mkefs tool.

Thanks for the report!

Cheers,

Christian


On Thu, 2009-06-04 at 10:01 -0400, Thomas Wihl wrote:

> Hi Christian!
> 
> I totally agree, so why does the IDE create them? There is no choice for me in the properties....
> 
> Thanks,
> Thomas
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post30803
> 


Re: IDE4.6.0 can not create EFS files  
Hi, Thomas,

I have another work-around for you.

This problem seems to be happening because the System Builder detects
that you have binaries in your image, so it tries to set the default
"data=copy" attribute.

If, instead, you add your binaries as "Other Files", then you will get a
build file that successfully creates the image.  This may require
tweaking the "Other Files" search path in your project properties, to
add the usual bin folders from your $QNX_TARGET.

HTH,

Christian


On Thu, 2009-06-04 at 10:01 -0400, Thomas Wihl wrote:

> Hi Christian!
> 
> I totally agree, so why does the IDE create them? There is no choice for me in the properties....
> 
> Thanks,
> Thomas
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post30803
> 


Re: IDE4.6.0 can not create EFS files  
Hi Christian,

Thanks for your help, but I think that's not an option right now, we have a lot of binaries and for 
the moment the image will not change very often. So I will stick to the manual version.
Any chance to see an updated plugin in the near future?

Thank you,
Thomas
Re: IDE4.6.0 can not create EFS files  
Hi, Thomas,

It's too early, as yet, to be able to suggest when you might see a fix.
Sorry.

I will try to remember to reply on this thread when I know that a fix
will be available (the PR that I raised links back to the forum).

Cheers,

Christian

On Fri, 2009-06-05 at 04:05 -0400, Thomas Wihl wrote:

> Hi Christian,
> 
> Thanks for your help, but I think that's not an option right now, we have a lot of binaries and for 
> the moment the image will not change very often. So I will stick to the manual version.
> Any chance to see an updated plugin in the near future?
> 
> Thank you,
> Thomas
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post30928
> 


________________________________________________________________________

Christian W. Damus
Software Developer, IDE Team
QNX Software Systems
Re: IDE4.6.0 can not create EFS files  
Hi, Thomas,

I am happy to be able to tell you that a fix for this problem will be posted later today, or perhaps tomorrow, on the 
IDE downloads page on Foundry27.  Watch for it!

Cheers,

Christian
Re: IDE4.6.0 can not create EFS files  
Hi Christian!

Just tried the update and it works like charm!

Thank you,
Thomas
Re: IDE4.6.0 can not create EFS files  
Where can I get this patch?

I looked under http://community.qnx.com/sf/frs/do/viewRelease/projects.ide/frs.binary_patches_for_ide.6_4_1_patches

but found only librcheck patch.

Running the updater from inside IDE didn't yield any results, either.

I know that this issue is fixed in IDE 4.7 but we have to backport a 6.5-BSP to 6.4.1

Thanks,
Albrecht
Re: IDE4.6.0 can not create EFS files  
Hi, Albrecht,

There isn't an IDE patch, as such.  If you update to or install IDE 4.7, you can still target the 6.4.1 SDP.  The IDE 
lets you choose which SDP install to use.

HTH,

Christian


On 2011-11-23, at 10:21 AM, Albrecht Uhlmann wrote:

> Where can I get this patch?
> 
> I looked under http://community.qnx.com/sf/frs/do/viewRelease/projects.ide/frs.binary_patches_for_ide.6_4_1_patches
> 
> but found only librcheck patch.
> 
> Running the updater from inside IDE didn't yield any results, either.
> 
> I know that this issue is fixed in IDE 4.7 but we have to backport a 6.5-BSP to 6.4.1
> 
> Thanks,
> Albrecht
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post90262
> 
Re: IDE4.6.0 can not create EFS files  
It does work for now, thanks. I wonder why there is no patch for IDE 4.6 since it is explicitly referred to in this very
 article.

-Albrecht
Re: IDE4.6.0 can not create EFS files  
Ide "path" is a new IDE, you just replace one ide with another, consider it "patched"

On 11/23/2011 06:01 PM, Albrecht Uhlmann wrote:
> It does work for now, thanks. I wonder why there is no patch for IDE 4.6 since it is explicitly referred to in this 
very article.
> 
> -Albrecht
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post90270
>