BUG Community

Welcome! Log In

Forums Recent Posts

Subscribe to Recent Posts 12,449 posts found

Mar 22, 2008 1:57am
Medium finsprings 268 posts

Topic: BUG SDK / OS-level development for the Bug

Sounds great Ken, thanks for the reply. I can see it being pretty handy to wrap drivers for common peripherals (at least USB, and perhaps on vonHippel once we find out what ports are on the vonHippel), via JNI, into modules that standard Bug applications can grab the interfaces for and use like the existing modules.

Mar 22, 2008 1:49am
Medium kgilmer 215 posts

Topic: BUG SDK / OS-level development for the Bug

Dave,

Great question :). Sorry for my late response. All driver development can be done with our LTIB build system with additional BUG specific kernel patches. We will release this build system via our public CVS server shortly, and begin with some basic docs on how to build the base root filesystem. In terms of user-created drivers and low-level modifications, we are certainly very interested in getting this to other people. We are working on a contributor program now so that people like yourself can contribute this work (if you want to) back to us for inclusion in a future release.

Mar 22, 2008 1:44am
Medium kgilmer 215 posts

Topic: Applications / JNI

Hi finsprings,

Since JNI is generally non-portable, what should I use as my starting point?


There are bundles in our cvs tree (which are out of date, I'll work on pushing a snapshot to our external CVS server next week) that begin with com.buglabs.bug.jni. These bundles contain all the JNI code (C and Java) to access BUG base and module functionality.

Any JNI-related limitations of PhoneME of note?


Not that I'm aware of :)

What C library did you choose for the bug?


The BUG rootfs is glibc-4.1.1 based. We also use LTIB to build our rootfs. We simply use the default target configuration for the iMX31 with some additional patches to the kernel. All of this will be available on the public CVS server shortly.

Any compiler or linker flags of note?


Not really. Our JNI projects include makefiles to build the jni target libraries. You can call them from LTIB to generate the BUG (target) files. If you are familiar with how LTIB works you have a head start.

Is there any point in doing JNI stuff in the VirtualBug in the meantime?


Well, you could validate that you can build the JNI libraries on your FC VM. Once I publish the projects check them out and try building them.

Great questions, hope that helps.
[/code]
Mar 21, 2008 9:40pm
Medium agordon 74 posts

Topic: BUG SDK / Unresponsive Virtual Bug

Tom, please disregard my previous post about moving to Integration. There’s now a new Test build on the updatesite that may work better for you than transitioning over to Integration.

To upgrade:

  • Start Eclipse
  • Go to Help > Software Updates > Find and install…
  • Click Search for new features to install, then click Next
  • Make sure that your BUG SDK field is selected, then click Finish
  • Under "Select features to install", click on Dragonfly. This will select this node and its sub-nodes
  • Make sure to have set "Show the latest version of a feature only", then click Next.
  • Accept the licensing terms and click Next
  • Click Finish

The update to your Test build will be downloaded and applied to your Eclipse installation. You will need to click "Install All".

When asked to restart Eclipse, choose No, then manually quit and restart Eclipse. Following these procedures will have you upgraded to testing build #291.

Mar 21, 2008 8:18pm
kitplummer 7 posts

Topic: BUG SDK / Virtual Bug ... Accelerometer.

Hey. While I’m thinking about it – it’d be kinda cool if I could specify some argument(s) to the motion "command" given in the virtual_bug environment. Maybe a speed and direction, or options for each axis. Just an idea.

Kit

Mar 21, 2008 8:08pm
kitplummer 7 posts

Topic: BUG SDK / Virtual Bug ... Accelerometer.

Thanks.

What I want to do is flash the red LED on the motion module if the BUG exceeds excessive Gs (think a car tracking device that will let me know if my kid spun the tires at the stop light). I’d also like to incorporate the GPS module to track various MPHs. For example if the unit ever exceeds 70, for how long and where.

Without an actual BUG to test my math against I’m kind of stuck. So, it looks like I’ll have to get the company to buy a few (dozen). ;)

Again, thanks for the data.

Kit

Mar 21, 2008 12:53pm
Medium agordon 74 posts

Topic: BUG SDK / Unresponsive Virtual Bug

Do you know which build of the SDK you have installed, Tom? If you followed the installation guide on our wiki you probably have the latest "Test" build.

Perhaps you should, for the moment, try switching to the latest Integration build, which is what our development team runs. To do this, uninstall Eclipse then go through the steps listed on the installation guide again, this time using "http://www.buglabs.net/sdk/integration/current/" in step B5 rather than the "testing" URL that's given on that page. You may want to name your Update Site "BUG Integration" or something like that in step B4, to leave a visual clue for next time you go into the configs.

Currently, our latest Integration build is #1512, built March 19th.
Mar 20, 2008 6:38pm
Medium jconnolly 285 posts

Topic: BUG SDK / Virtual Bug ... Accelerometer.

Hey there Kit,

I'm not sure how you want to tie the physics to the axis numbers, but I've gathered some data for you from the BUG. I can tell you that the numbers below are the result of my rotating the BUG in 3 dimensions: flat, face (with the Status bar) up, flat, face down, flat, right up (hotkey side up), flat, right down. I hope this helps.


02/04/00 06:25:14:220 666 498 488
02/04/00 06:25:14:541 663 502 490
02/04/00 06:25:14:852 662 503 491
02/04/00 06:25:15:171 667 502 491
02/04/00 06:25:15:482 662 503 490
02/04/00 06:25:15:801 663 499 489
02/04/00 06:25:16:112 664 503 489
02/04/00 06:25:16:430 663 503 491
02/04/00 06:25:16:742 666 501 491
02/04/00 06:25:17:234 662 502 488
02/04/00 06:25:17:542 662 501 489
02/04/00 06:25:17:861 663 500 491
02/04/00 06:25:18:172 661 502 492
02/04/00 06:25:18:490 661 500 489
02/04/00 06:25:18:802 663 502 488
02/04/00 06:25:19:122 662 499 490
02/04/00 06:25:19:432 662 503 491
02/04/00 06:25:19:751 661 500 488
02/04/00 06:25:20:62 665 502 489
02/04/00 06:25:20:380 663 500 488
02/04/00 06:25:20:692 664 501 491
02/04/00 06:25:21:11 661 502 491
02/04/00 06:25:21:322 662 500 490
02/04/00 06:25:21:641 663 500 490
02/04/00 06:25:22:4 663 504 489
02/04/00 06:25:22:325 663 503 487
02/04/00 06:25:22:632 664 503 491
02/04/00 06:25:22:956 663 501 491
02/04/00 06:25:23:262 666 502 489
02/04/00 06:25:23:581 662 500 491
02/04/00 06:25:23:892 665 504 487
02/04/00 06:25:24:211 660 502 492
02/04/00 06:25:24:522 659 502 492
02/04/00 06:25:24:841 664 503 492
02/04/00 06:25:25:152 664 500 489
02/04/00 06:25:25:471 661 502 491
02/04/00 06:25:25:782 667 503 490
02/04/00 06:25:26:101 660 501 490
02/04/00 06:25:26:412 658 499 490
02/04/00 06:25:26:731 665 501 488
02/04/00 06:25:27:44 669 500 491
02/04/00 06:25:27:371 663 503 490
02/04/00 06:25:27:682 662 501 488
02/04/00 06:25:28:1 664 501 490
02/04/00 06:25:28:312 665 501 489
02/04/00 06:25:28:634 662 502 491
02/04/00 06:25:28:942 661 501 491
02/04/00 06:25:29:260 663 500 491
02/04/00 06:25:29:572 662 501 489
02/04/00 06:25:29:890 664 503 491
02/04/00 06:25:30:202 662 502 488
02/04/00 06:25:30:521 664 502 491
02/04/00 06:25:30:832 664 502 487
02/04/00 06:25:31:151 664 501 488
02/04/00 06:25:31:462 662 500 489
02/04/00 06:25:31:780 663 501 493
02/04/00 06:25:32:92 663 501 491
02/04/00 06:25:32:410 663 503 489
02/04/00 06:25:32:722 662 501 489
02/04/00 06:25:33:40 663 503 490
02/04/00 06:25:33:352 662 503 489
02/04/00 06:25:33:670 661 502 490
02/04/00 06:25:33:982 664 502 491
02/04/00 06:25:34:300 663 502 489
02/04/00 06:25:34:612 664 503 491
02/04/00 06:25:34:931 663 501 488
02/04/00 06:25:35:242 662 501 489
02/04/00 06:25:35:561 663 502 490
02/04/00 06:25:35:872 663 503 489
02/04/00 06:25:36:191 663 503 490
02/04/00 06:25:36:502 661 503 489
02/04/00 06:25:36:821 663 501 487
02/04/00 06:25:37:132 664 502 492
02/04/00 06:25:37:455 662 498 487
02/04/00 06:25:37:762 662 501 491
02/04/00 06:25:38:80 663 502 491
02/04/00 06:25:38:392 663 501 493
02/04/00 06:25:38:710 663 501 490
02/04/00 06:25:39:22 665 501 488
02/04/00 06:25:39:340 663 501 489
02/04/00 06:25:39:652 663 504 490
02/04/00 06:25:39:970 662 502 490
02/04/00 06:25:40:282 663 501 493
02/04/00 06:25:40:765 663 501 490
02/04/00 06:25:41:72 661 501 492
02/04/00 06:25:41:386 664 502 490
02/04/00 06:25:41:696 664 504 490
02/04/00 06:25:42:90 663 502 490
02/04/00 06:25:42:402 664 504 486
02/04/00 06:25:42:720 661 504 489
02/04/00 06:25:43:32 663 504 493
02/04/00 06:25:43:351 663 503 491
02/04/00 06:25:43:662 663 503 491
02/04/00 06:25:43:981 662 502 491
02/04/00 06:25:44:292 663 503 490
02/04/00 06:25:44:615 664 501 487
02/04/00 06:25:44:922 662 499 490
02/04/00 06:25:45:241 663 500 490
02/04/00 06:25:45:554 666 504 487
02/04/00 06:25:45:871 664 503 490
02/04/00 06:25:46:182 661 502 491
02/04/00 06:25:46:501 661 502 491
02/04/00 06:25:46:812 664 501 493
02/04/00 06:25:47:131 663 502 488
02/04/00 06:25:47:442 663 500 488
02/04/00 06:25:47:760 662 502 490
02/04/00 06:25:48:81 662 502 487
02/04/00 06:25:48:392 663 500 489
02/04/00 06:25:48:710 663 501 489
02/04/00 06:25:49:22 663 503 490
02/04/00 06:25:49:341 664 504 490
02/04/00 06:25:49:652 660 501 488
02/04/00 06:25:49:971 662 503 488
02/04/00 06:25:50:282 663 503 490
02/04/00 06:25:50:601 665 500 486
02/04/00 06:25:50:912 664 503 492
02/04/00 06:25:51:230 663 502 489
02/04/00 06:25:51:542 663 502 489
02/04/00 06:25:51:861 662 501 491
02/04/00 06:25:52:172 663 502 491
02/04/00 06:25:52:491 663 505 490
02/04/00 06:25:52:802 663 503 489
02/04/00 06:25:53:121 663 501 492
02/04/00 06:25:53:432 662 502 489
02/04/00 06:25:53:751 662 503 490
02/04/00 06:25:54:62 663 503 492
02/04/00 06:25:54:381 662 501 488
02/04/00 06:25:54:692 666 502 490
02/04/00 06:25:55:11 665 504 491
02/04/00 06:25:55:322 663 502 488
02/04/00 06:25:55:640 659 504 493
02/04/00 06:25:55:958 668 502 487
02/04/00 06:25:56:270 668 496 489
02/04/00 06:25:56:582 655 498 493
02/04/00 06:25:56:901 688 506 499
02/04/00 06:25:57:212 688 509 500
02/04/00 06:25:57:531 663 508 408
02/04/00 06:25:57:842 667 512 410
02/04/00 06:25:58:161 655 505 491
02/04/00 06:25:58:472 653 504 496
02/04/00 06:25:58:791 647 516 485
02/04/00 06:25:59:102 647 515 484
02/04/00 06:25:59:421 656 516 440
02/04/00 06:25:59:732 657 517 441
02/04/00 06:26:00:51 665 513 547
02/04/00 06:26:00:362 665 512 546
02/04/00 06:26:00:680 649 517 418
02/04/00 06:26:00:992 647 514 416
02/04/00 06:26:01:311 667 500 511
02/04/00 06:26:01:622 667 498 512
02/04/00 06:26:01:941 660 522 500
02/04/00 06:26:02:252 660 522 501
02/04/00 06:26:02:570 661 520 476
02/04/00 06:26:02:882 661 521 477
02/04/00 06:26:03:201 688 511 432
02/04/00 06:26:03:512 688 508 432
02/04/00 06:26:03:831 470 482 343
02/04/00 06:26:04:142 470 480 341
02/04/00 06:26:04:460 472 479 337
02/04/00 06:26:04:772 473 480 337
02/04/00 06:26:05:91 472 478 336
02/04/00 06:26:05:402 472 479 337
02/04/00 06:26:05:721 473 483 332
02/04/00 06:26:06:32 476 484 333
02/04/00 06:26:06:350 475 479 336
02/04/00 06:26:06:662 476 479 333
02/04/00 06:26:07:84 474 481 335
02/04/00 06:26:07:392 475 482 337
02/04/00 06:26:07:710 474 481 334
02/04/00 06:26:08:22 473 482 336
02/04/00 06:26:08:341 474 484 336
02/04/00 06:26:08:652 474 484 336
02/04/00 06:26:08:971 470 480 335
02/04/00 06:26:09:282 473 483 337
02/04/00 06:26:09:601 471 481 336
02/04/00 06:26:09:912 472 479 338
02/04/00 06:26:10:231 478 485 339
02/04/00 06:26:10:542 481 480 335
02/04/00 06:26:10:861 482 483 333
02/04/00 06:26:11:172 484 481 335
02/04/00 06:26:11:491 500 486 330
02/04/00 06:26:11:802 497 485 334
02/04/00 06:26:12:121 487 483 333
02/04/00 06:26:12:432 486 483 335
02/04/00 06:26:12:751 485 483 334
02/04/00 06:26:13:62 486 486 333
02/04/00 06:26:13:381 482 485 334
02/04/00 06:26:13:692 484 481 334
02/04/00 06:26:14:11 486 482 329
02/04/00 06:26:14:322 482 482 330
02/04/00 06:26:14:641 635 482 410
02/04/00 06:26:14:958 634 484 413
02/04/00 06:26:15:271 660 495 468
02/04/00 06:26:15:582 659 495 470
02/04/00 06:26:15:900 657 493 476
02/04/00 06:26:16:212 658 491 475
02/04/00 06:26:16:531 661 499 467
02/04/00 06:26:16:842 662 499 466
02/04/00 06:26:17:161 569 624 465
02/04/00 06:26:17:472 569 626 469
02/04/00 06:26:17:790 514 649 481
02/04/00 06:26:18:102 511 650 480
02/04/00 06:26:18:421 512 648 487
02/04/00 06:26:18:732 513 647 484
02/04/00 06:26:19:51 513 648 486
02/04/00 06:26:19:362 513 649 483
02/04/00 06:26:19:681 512 651 487
02/04/00 06:26:19:992 510 651 485
02/04/00 06:26:20:311 511 648 486
02/04/00 06:26:20:622 514 649 488
02/04/00 06:26:20:941 544 646 489
02/04/00 06:26:21:252 541 645 491
02/04/00 06:26:21:571 654 525 480
02/04/00 06:26:21:882 655 522 480
02/04/00 06:26:22:201 662 482 476
02/04/00 06:26:22:512 665 485 476
02/04/00 06:26:22:831 662 487 477
02/04/00 06:26:23:142 661 487 478
02/04/00 06:26:23:460 601 381 454
02/04/00 06:26:23:772 600 381 455
02/04/00 06:26:24:91 473 354 464
02/04/00 06:26:24:402 472 355 465
02/04/00 06:26:24:720 482 355 472
02/04/00 06:26:25:32 483 352 475
02/04/00 06:26:25:351 486 351 480
02/04/00 06:26:25:662 487 349 479
02/04/00 06:26:25:981 493 356 479
02/04/00 06:26:26:292 491 354 481
02/04/00 06:26:26:611 500 354 474
02/04/00 06:26:26:922 502 349 476
02/04/00 06:26:27:241 498 352 479
02/04/00 06:26:27:552 498 353 481
02/04/00 06:26:27:871 510 352 481
02/04/00 06:26:28:182 509 353 481
02/04/00 06:26:28:501 655 490 483
02/04/00 06:26:28:812 657 491 486
02/04/00 06:26:29:131 664 519 487
02/04/00 06:26:29:442 665 520 479
02/04/00 06:26:29:761 666 512 484
02/04/00 06:26:30:81 669 514 480
02/04/00 06:26:30:392 662 497 485
02/04/00 06:26:30:711 644 496 513
02/04/00 06:26:31:22 651 499 512
02/04/00 06:26:31:340 513 481 643
02/04/00 06:26:31:652 515 481 646
02/04/00 06:26:32:88 479 489 638
02/04/00 06:26:32:392 480 493 639
02/04/00 06:26:32:710 476 493 639
02/04/00 06:26:33:22 475 493 635
02/04/00 06:26:33:341 477 492 639
02/04/00 06:26:33:652 473 493 640
02/04/00 06:26:33:971 470 491 636
02/04/00 06:26:34:282 469 493 637
02/04/00 06:26:34:600 476 489 639
02/04/00 06:26:34:912 475 493 641
02/04/00 06:26:35:231 627 488 558
02/04/00 06:26:35:542 624 492 563
02/04/00 06:26:35:860 663 502 477
02/04/00 06:26:36:172 665 501 475
02/04/00 06:26:36:491 670 495 482
02/04/00 06:26:36:802 667 498 481
02/04/00 06:26:37:121 666 498 483
02/04/00 06:26:37:432 666 499 483
02/04/00 06:26:37:750 666 480 502
02/04/00 06:26:38:62 666 479 503
02/04/00 06:26:38:380 665 494 498
02/04/00 06:26:38:692 667 492 496
02/04/00 06:26:39:10 637 477 496
02/04/00 06:26:39:322 638 478 496
02/04/00 06:26:39:640 652 435 501
02/04/00 06:26:39:958 650 442 501
02/04/00 06:26:40:270 659 468 511
02/04/00 06:26:40:582 651 474 503
02/04/00 06:26:40:901 659 501 514
02/04/00 06:26:41:212 659 502 514
02/04/00 06:26:41:531 662 499 507
02/04/00 06:26:41:842 659 495 504
02/04/00 06:26:42:161 669 498 505
02/04/00 06:26:42:472 665 502 503
02/04/00 06:26:42:791 655 509 514
02/04/00 06:26:43:102 668 503 500
02/04/00 06:26:43:421 663 504 504
02/04/00 06:26:43:732 662 502 506
02/04/00 06:26:44:51 663 503 505
02/04/00 06:26:44:362 662 501 507
02/04/00 06:26:44:681 662 502 507
02/04/00 06:26:44:992 662 501 505
02/04/00 06:26:45:311 660 502 507
02/04/00 06:26:45:622 663 502 504
02/04/00 06:26:45:941 661 501 505
02/04/00 06:26:46:252 661 501 505
02/04/00 06:26:46:571 660 502 506
02/04/00 06:26:46:882 660 502 506
02/04/00 06:26:47:201 661 501 504
02/04/00 06:26:47:512 663 503 508
02/04/00 06:26:47:831 661 501 506
02/04/00 06:26:48:142 660 502 507
02/04/00 06:26:48:461 663 502 505
02/04/00 06:26:48:772 663 502 505
02/04/00 06:26:49:91 661 499 508
02/04/00 06:26:49:402 663 502 509
02/04/00 06:26:49:721 662 498 507
02/04/00 06:26:50:32 662 502 505
02/04/00 06:26:50:351 661 503 506
02/04/00 06:26:50:662 663 502 505
Terminated
Mar 20, 2008 5:35pm
tevslin 16 posts

Topic: BUG SDK / Getting Ap working on real bug

Thanks, Al:

From my experince today, it does seem intermittant. On about half the boots, the BUG seems not to recognize the LCD. I’ve had consistent success (but a small sample size) in getting it to open an app if x windows is up and running at the time of the download. hope that helps.

Mar 20, 2008 5:11pm
Medium finsprings 268 posts

Topic: Suggestion Box / Which do you prefer: Mailing List or Newsgroup?

yes

Powered by Community Engine

Top
Login
Close
Bottom