VM dedicated to compiling Deviation

More
21 Jun 2013 08:15 - 21 Jun 2013 08:18 #11186 by sbstnp
Replied by sbstnp on topic VM dedicated to compiling Deviation
Please make sure you have ran:
deviation self-update

I'll have a look anyway at how the lib is built if there's anything wrong. Stay tuned.

How do you flash the lib, using Upload or Upgrade? Most probably this is your problem.

Devo 10 + 4in1
Spektrum Dx9
FrSky Taranis + TBS Crossfire
Last edit: 21 Jun 2013 08:18 by sbstnp.

Please Log in or Create an account to join the conversation.

More
21 Jun 2013 08:27 #11187 by Wene001
Replied by Wene001 on topic VM dedicated to compiling Deviation
Thats exact the problem i had in Post #9730 in this thread.
Whats the size of your devo12_lib.dfu

Please Log in or Create an account to join the conversation.

More
21 Jun 2013 16:03 #11203 by adabman
Replied by adabman on topic VM dedicated to compiling Deviation
I have run deviation self-update.

I Flash the Lib using upgrade not upload, which seems to be correct since I can flash other ppl's dfu/lib files and the Devo12 works.

Lib size is 2.00 MB (2,098,485 bytes) when I build reg deviation 3.0 or using RBE's repo.


:(

Deviation :) 1 TX to rule them all...

Please Log in or Create an account to join the conversation.

More
21 Jun 2013 16:34 #11207 by adabman
Replied by adabman on topic VM dedicated to compiling Deviation
Did a test. Flashed the lib from RBE's repo download section. Left that lib in the Devo12.

Built Reg 3.0 repo, RBE's repo, and PB-newgui repo. In all cases upgraded only the devo12-v3.0.0-xxx.dfu to the TX and the "font" issue dissapeared.

Deviation :) 1 TX to rule them all...

Please Log in or Create an account to join the conversation.

More
21 Jun 2013 17:49 #11210 by adabman
Replied by adabman on topic VM dedicated to compiling Deviation
Installed RugWarriors mingw www.deviationtx.com/forum/7-development/...tx-build-environment

Same issue on several repo's. No visable text. I must be doing something wrong :S

After a build (reg deviation repo), I do these steps:









and I get this:


Deviation :) 1 TX to rule them all...
Attachments:

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
21 Jun 2013 18:30 - 21 Jun 2013 18:30 #11216 by rbe2012
Replied by rbe2012 on topic VM dedicated to compiling Deviation
Yes, something is going wrong there. I just downloaded my own files and installed them to my devo12 and everything is fine.
I downloaded PBs repo and built the version visible in your pictures (9a3467, the last) - not nice ;) , but with text and fully functional.

Everything you have done seems to be correct. I have no idea where the fonts go.
Maybe you have some previously built files in the tree which are confusing. Try
make distclean && make TARGET=devo12
- this will give you a fresh build.
If this does not work: I assume you did not change a single line in the sources? Did you see any error messages when building (try "make TARGET=devo12 --debug")?
Last edit: 21 Jun 2013 18:30 by rbe2012.

Please Log in or Create an account to join the conversation.

More
21 Jun 2013 18:47 #11218 by adabman
Replied by adabman on topic VM dedicated to compiling Deviation
Thanks for helping. Some more info. I start from scratch for you to see:

In the VM:

Warning: Spoiler! [ Click to expand ]


RBE, can you please zip and post the 2 dfu files for your built version 9a3467 and i will byte compare them with my 9a3467 build.

Deviation :) 1 TX to rule them all...

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
21 Jun 2013 19:02 #11221 by rbe2012
Replied by rbe2012 on topic VM dedicated to compiling Deviation
Here they are:

File Attachment:

File Name: devo12.dfu.zip
File Size:99 KB


File Attachment:

File Name: devo12-lib.dfu.zip
File Size:400 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
21 Jun 2013 19:16 - 21 Jun 2013 19:19 #11223 by adabman
Replied by adabman on topic VM dedicated to compiling Deviation
Thanks RBE. Were your files built with the vm? Prob not. Anyway the byte compare shows very different files. Different toolchain I assume..

Perhaps the OP,or someone else who has the vm, can build the current deviation repo for devo12 and post the dfu files.

Here are my files for version 9a3467


File Attachment:

File Name: VM-BUILD-OUTPUT.zip
File Size:337 KB

Deviation :) 1 TX to rule them all...
Attachments:
Last edit: 21 Jun 2013 19:19 by adabman.

Please Log in or Create an account to join the conversation.

More
21 Jun 2013 19:25 - 21 Jun 2013 19:29 #11224 by sbstnp
Replied by sbstnp on topic VM dedicated to compiling Deviation
You can post the md5 sums, like this:
md5sum file_name

Here are mine from official repo:
98e698632052e15854a8cb26ef95964f  lib-devo12-v3.0.0-9a3467.dfu
30dd737d18ac1087f98ad3b69911f1aa  devo12-v3.0.0-9a3467.dfu
0453b7934f0c0195100a39e75850de48  filesystem-devo12-v3.0.0-9a3467.zip

7a543aa6a2bd89ecfd24282b96c86050  lib-devo12-v3.0.0-9a3467.dfu
30dd737d18ac1087f98ad3b69911f1aa  devo12-v3.0.0-9a3467.dfu
8a808bc975e72927b5b20a1919275a34  filesystem-devo12-v3.0.0-9a3467.zip

78be4024494678b4622f343f9c63b80b  lib-devo12-v3.0.0-9a3467.dfu
30dd737d18ac1087f98ad3b69911f1aa  devo12-v3.0.0-9a3467.dfu
d7d98bea5d94c17d18ec788e934b0d8b  filesystem-devo12-v3.0.0-9a3467.zip


ff8ec88bed1eebb2b36474f6fa7aeb74  lib-devo12-v3.0.0-9a3467.dfu
30dd737d18ac1087f98ad3b69911f1aa  devo12-v3.0.0-9a3467.dfu
a1119985a12e82cd79ee1c435efc7a62  filesystem-devo12-v3.0.0-9a3467.zip

EDIT: I seem to get different files from build to build. Same size but different md5. Probably has to do with how PB packages the lib DFU.

Firmware DFU has the same sum everytime.

Devo 10 + 4in1
Spektrum Dx9
FrSky Taranis + TBS Crossfire
Last edit: 21 Jun 2013 19:29 by sbstnp.

Please Log in or Create an account to join the conversation.

More
21 Jun 2013 19:29 #11225 by adabman
Replied by adabman on topic VM dedicated to compiling Deviation
Good idea. Here are mine:

dev@deviation-build-station-32 /media/deviation % md5sum *
30dd737d18ac1087f98ad3b69911f1aa devo12-v3.0.0-9a3467.dfu
b462b04ceefe69fe089341c561dbe40a filesystem-devo12-v3.0.0-9a3467.zip
b44d4411bf13fe1d61428157c14c1e4c lib-devo12-v3.0.0-9a3467.dfu

Only the main dfu matches .. hmmmm

Deviation :) 1 TX to rule them all...

Please Log in or Create an account to join the conversation.

More
21 Jun 2013 19:34 - 21 Jun 2013 19:38 #11226 by sbstnp
Replied by sbstnp on topic VM dedicated to compiling Deviation
Try the attached build, I think I spotted a problem.

EDIT:
The Lib DFU is different between
make TARGET=devo12

and
make TARGET=devo12 fs

meaning between main DFU and filesystem. Dunno why and I admit I haven't spent much time keeping up with what's going on on dev side.

Could be there are things I haven't considered.

Since it's already 11PM here I'll work on the issues tomorrow morning and keep you posted.

Devo 10 + 4in1
Spektrum Dx9
FrSky Taranis + TBS Crossfire
Attachments:
Last edit: 21 Jun 2013 19:38 by sbstnp.

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
21 Jun 2013 19:39 #11227 by rbe2012
Replied by rbe2012 on topic VM dedicated to compiling Deviation
Here are mine:
adc86ce48bbe0a99bfbbd04372d4b2dd devo12-lib.dfu
3ebdf3d84057a68ae54b7605ff8a5afd devo12.dfu

Strange: When I only remove the dfu-files and make them new, the devo12.dfu has always the same md5sum while the library differs each time.

They are build from a Win7-64 with MinGW-Toolchain.

I am curious what sbstnp has found...

Please Log in or Create an account to join the conversation.

More
21 Jun 2013 19:44 #11228 by adabman
Replied by adabman on topic VM dedicated to compiling Deviation
sbstnp, I loaded the files on the devo12 .. seems fine ..

Deviation :) 1 TX to rule them all...

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
21 Jun 2013 19:46 #11229 by rbe2012
Replied by rbe2012 on topic VM dedicated to compiling Deviation
(While I am writing somebody else responds... too fast for me).

"make ... fs" should only build the filesystem and not touch the library... at least it does not change the md5sum.
I tried some other things but nothing changed the library while each make creates one wit another checksum.

It's too late here too...

Please Log in or Create an account to join the conversation.

More
27 Sep 2013 10:33 #14090 by Rand__
Replied by Rand__ on topic VM dedicated to compiling Deviation

richardclli wrote: I use VMware workstation to input the VM, it works, only the shared folder failed to connect. Seems need to install VMware drivers for this to work.


Just wanted to let you know that it didn't work out of the box with my older Workstation 8 installation...
A viable workaround is creating a new dummy linux vm (I used linux26other for OS) and then simply add the existing Deviation VM Disk to it...

To install the vmware tools i had to cheat a bit -
-at some point its looking for the rcX.d directories (0-6) which are not present on this vm so i manually created them (under /sbin/rc.d) (i can always join the init scripts later)
-Its looking for ifconfig which is /usr/sbin/ifcfg here

Unfortunately now i am stuck :(
-it needs kernel headers to compile the module; and i cant seem to find the ones matching the old version used in this vm...

So does someone have:
linux-3.6.10-1-i686.pkg.tar.xz
And can share it?

And all that because i wanted to have some nice icons for my multicopters in the devo12s :p

--not working with newer headers just for reminders
Get them from here www.archlinux.org/packages/core/i686/linux-headers/
And installed them with
sudo pacman -U <name>.pkg.tar.xz

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
28 Sep 2013 07:23 #14113 by rbe2012
Replied by rbe2012 on topic VM dedicated to compiling Deviation
I have made some changes to the Devo12 version so you can use your own toggle icons without recompiling the whole deviation, simply via USB file system like with the other transmitters. I have published a build here:
Devo12 with MAV (don't care that it is untested - I fly with it since I published it)
With this version if you create a directory in the USB drive called "mytoggle" (in the root) and put your own toggle3.bmp into this will be used instead of the libary-integrated file.

Please Log in or Create an account to join the conversation.

More
28 Sep 2013 07:56 #14115 by sbstnp
Replied by sbstnp on topic VM dedicated to compiling Deviation
It seems now's a good time to work on a v2, using Ubuntu and full graphic environment (for the emus). I've been thinking about this for a while and it looks to be the best option for people not experienced with Linux at all, and will probably make the lives of those wanting to build Deviation a little easier.

Stay tuned.

Devo 10 + 4in1
Spektrum Dx9
FrSky Taranis + TBS Crossfire

Please Log in or Create an account to join the conversation.

More
28 Sep 2013 22:05 - 28 Sep 2013 22:14 #14124 by Rand__
Replied by Rand__ on topic VM dedicated to compiling Deviation

rbe2012 wrote: With this version if you create a directory in the USB drive called "mytoggle" (in the root) and put your own toggle3.bmp into this will be used instead of the libary-integrated file.


Well I am not entirely sure what the toggle icons are used for but maybe its what i want (eg Ladybird icon instead of generic heli.bmp).
Anyhow it did not work as expected or I am missing something -
I flashed it (mav version), no issues, calibrated the touchscreen and then nothing - all the existing model layouts where gone ...
I assume thats intendend?
How do i proceed?

Thx,
Thomas

p.s. Ok i found how to re-add all the boxes but i'd prefer to simply reuse the layout i already had (basically default with minor modifications) ...
The actual models are there but the control/information view is gone

p.p.s. i reflashed to latest nightly but still all gone...
I do find the model icons from modeliccons directory are (now?) usable? Is that due MAV version or did that work ootb? I thought it wouldnt for 12/s - i never tried...
Last edit: 28 Sep 2013 22:14 by Rand__.

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
29 Sep 2013 09:14 #14131 by rbe2012
Replied by rbe2012 on topic VM dedicated to compiling Deviation
I misunderstood. I thought you need toggle icons which are in the library for Devo12.
The model icons are usable for Devo12 from the beginning of Devo12-support so I could not imagine that you have problems with them.
Just put the *.bmp-files in the modelico-folder (via USB file system) and select the icon in the model config.

My MAV version as well as the actual nightlies have another user interface than the 3.0.0 has. It is fully configurable and makes use of the full screen size. The bad thing: it is not compatible to the old gui so only a template is loaded if you load a model which has no config for the new gui. When the model is written (and this is done automatically in the background if something changes) the old gui information is gone and replaced by the new one (even if the template is used unchanged).
You have three ways to go back to your old main screen config:
- re-install 3.0.0 and use your (hopefully made) backups
- re-install 3.0.0 and rebuild your screen
- take the chance to build a screen design you like with the actual build (mine or nightly) - you will have to do it once since you can use it as template for other models without saving it as a template. The next deviation version will include the new gui and you will not have disadvantages using the actual versions. Both are stated as quite stable.

Please Log in or Create an account to join the conversation.

Time to create page: 0.226 seconds
Powered by Kunena Forum