[b2g] How to mount yaffs on NAND

2014-03-28 Thread Jose Vidal
Hi everyone,
 
I have a iMX6Q processor whit NAND flash.
The NAND uses ubifs like file system.
 
According the source code, I have two methods to mount a system.img
 
Used for NAND: device/fsl/imx6/etc/fstab_nand.freescale
--
ubi0:system /system ubifs   ro  
wait
ubi0:data   /data   ubifs   nosuid,nodev,nodiratime,noatime 
wait
ubi0:cache  /cache  ubifs   nosuid,nodev
wait
ubi0:device /device ubifs   nosuid,nodev 
wait
 
 
Used for SD-card: device/fsl/imx6/etc/fstab.freescale
---
/dev/block/mmcblk0p5/system  ext4ro 
  wait
/dev/block/mmcblk0p4/dataext4
nosuid,nodev,nodiratime,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic   
 wait,encryptable=footer
/dev/block/mmcblk0p6/cache   ext4nosuid,nodev,nomblk_io_submit  
wait
/dev/block/mmcblk0p7/device  ext4ro,nosuid,nodev
 
 
 
The build process creates the system.img file with yaffs like file system.
 
How I make to mount the system.img file to mount point. I mean, to  "/system" ?
 


I hope for your help.
 
Thanks in advance.
 
Best regards.
 
 
jvidalsm
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] question regarding realtime performance guarantees

2014-03-28 Thread Dave Hylands
Since Android and FxOS are both based on linux, and linux can't guarantee 
realtime performance, neither can guarantee realtime performance.

Both Android and FxOS use garbage collected languages (Java for Android, 
JavaScript for FxOS) which don't use realtime garbage collectors, so even if 
the OS were realtime, it still wouldn't help unless the portions of interest 
were written in languages which don't need GC (like C or C++).

Dave Hylands

- Original Message -
> From: debami...@gmail.com
> To: dev-b2g@lists.mozilla.org
> Sent: Thursday, March 27, 2014 9:29:31 PM
> Subject: [b2g] question regarding realtime performance guarantees
> 
> Hello,
> 
> Not sure if this is the right forum, but asking anyway as this is the next
> smartphone OS after Android, as I see it. Is there anyway to ensure
> guaranteed realtime performance for some parts of the phone OS? I want this
> for ensuring that basic telephony services (making/receiving a call/text)
> work with a realtime guarantee regardless of the state of the OS (i.e., even
> if it is sluggish or hanging due to some heavy apps). I feel this is an
> important design consideration for a mobile OS. Any inputs regarding
> something done on these lines in b2g, or something that can be done?
> 
> Regards,
> Debamitro Chakraborti
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
> 
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Mesh networking

2014-03-28 Thread Thomas Zimmermann
Hi

On 27.03.2014 21:51, Dietrich Ayala wrote:
> One of the biggest problems in the markets that Firefox OS has shipped is 
> connectivity - it's usually some combination of rare, slow, unreliable and 
> expensive.
> 
> Now that we're looking at shipping millions of extremely low-cost smartphones 
> to larger markets with similar conditions, these problems will likely 
> increase before they get better.
> 
> Should we look to mesh networking to fill this gap?

YES! :D

> Someone in the Serval project drafted some ideas on integrating their mesh 
> network approach into Firefox OS:
> 
> http://developer.servalproject.org/dokuwiki/doku.php?id=content:tech:serval_mesh_for_firefoxos

Is this just one single app, which implements mesh networking for its
own services?

If we want to support mesh networking, we might want to look for
something more general. An option would be the BATMAN protocol and tools
[1]. It operates on OSI layers 2 and 3 and is supported by Linux kernel
natively.

Best regards
Thomas

[1] http://www.open-mesh.org/projects/open-mesh/wiki

> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
> 

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] How to mount yaffs on NAND

2014-03-28 Thread Kai-Zhen Li
Hi Jose,

I think you will need to build system.img, userdata.img in ubifs format.
This is for you reference:
1. patch platform/build and 
2. add the related flags in device config
3. mkfs.ubifs (out/host/linux-x86/bin/mkfs.ubifs)

How to patch platform/build, 
https://github.com/Seinlin/platform_build/commit/583929fee564268612ebb41b59aee5a3df0b157e


--
Kai-Zhen Li (Seinlin)
Mozilla Taiwan

- Original Message -
From: "Jose Vidal" 
To: dev-b2g@lists.mozilla.org
Sent: Friday, March 28, 2014 3:01:28 PM
Subject: [b2g] How to mount yaffs on NAND

Hi everyone,
 
I have a iMX6Q processor whit NAND flash.
The NAND uses ubifs like file system.
 
According the source code, I have two methods to mount a system.img
 
Used for NAND: device/fsl/imx6/etc/fstab_nand.freescale
--
ubi0:system /system ubifs   ro  
wait
ubi0:data   /data   ubifs   nosuid,nodev,nodiratime,noatime 
wait
ubi0:cache  /cache  ubifs   nosuid,nodev
wait
ubi0:device /device ubifs   nosuid,nodev 
wait
 
 
Used for SD-card: device/fsl/imx6/etc/fstab.freescale
---
/dev/block/mmcblk0p5/system  ext4ro 
  wait
/dev/block/mmcblk0p4/dataext4
nosuid,nodev,nodiratime,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic   
 wait,encryptable=footer
/dev/block/mmcblk0p6/cache   ext4nosuid,nodev,nomblk_io_submit  
wait
/dev/block/mmcblk0p7/device  ext4ro,nosuid,nodev
 
 
 
The build process creates the system.img file with yaffs like file system.
 
How I make to mount the system.img file to mount point. I mean, to  "/system" ?
 


I hope for your help.
 
Thanks in advance.
 
Best regards.
 
 
jvidalsm
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] How to mount yaffs on NAND

2014-03-28 Thread Thomas Zimmermann
Hi Jose,

You can set

  TARGET_USERIMAGES_USE_EXT4 := true

in the file

  device//BoardConfig.mk

to create ext4-based images. If you have eMMC-based storage, you also
need to run 'rmt_storage' on the device AFAIK.

Best regards
Thomas

On 28.03.2014 08:01, Jose Vidal wrote:
> Hi everyone,
>  
> I have a iMX6Q processor whit NAND flash.
> The NAND uses ubifs like file system.
>  
> According the source code, I have two methods to mount a system.img
>  
> Used for NAND: device/fsl/imx6/etc/fstab_nand.freescale
> --
> ubi0:system   /system ubifs   ro  
> wait
> ubi0:data   /data   ubifs   nosuid,nodev,nodiratime,noatime   
>   wait
> ubi0:cache  /cache  ubifs   nosuid,nodev  
>   wait
> ubi0:device /device ubifs   nosuid,nodev 
> wait
>  
>  
> Used for SD-card: device/fsl/imx6/etc/fstab.freescale
> ---
> /dev/block/mmcblk0p5/system  ext4ro   
> wait
> /dev/block/mmcblk0p4/dataext4
> nosuid,nodev,nodiratime,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic 
>wait,encryptable=footer
> /dev/block/mmcblk0p6/cache   ext4nosuid,nodev,nomblk_io_submit
>   wait
> /dev/block/mmcblk0p7/device  ext4ro,nosuid,nodev
>  
>  
>  
> The build process creates the system.img file with yaffs like file system.
>  
> How I make to mount the system.img file to mount point. I mean, to  "/system" 
> ?
>  
> 
> 
> I hope for your help.
>  
> Thanks in advance.
>  
> Best regards.
>  
>  
> jvidalsm
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
> 

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] How to mount yaffs on NAND

2014-03-28 Thread Jose Vidal
Hi Kai,

Thanks.

Let me try your recommendation.

Best regards.

jvidalsm


2014-03-28 3:30 GMT-05:00 Kai-Zhen Li :

> Hi Jose,
>
> I think you will need to build system.img, userdata.img in ubifs format.
> This is for you reference:
> 1. patch platform/build and
> 2. add the related flags in device config
> 3. mkfs.ubifs (out/host/linux-x86/bin/mkfs.ubifs)
>
> How to patch platform/build,
>
> https://github.com/Seinlin/platform_build/commit/583929fee564268612ebb41b59aee5a3df0b157e
>
>
> --
> Kai-Zhen Li (Seinlin)
> Mozilla Taiwan
>
> - Original Message -
> From: "Jose Vidal" 
> To: dev-b2g@lists.mozilla.org
> Sent: Friday, March 28, 2014 3:01:28 PM
> Subject: [b2g] How to mount yaffs on NAND
>
> Hi everyone,
>
> I have a iMX6Q processor whit NAND flash.
> The NAND uses ubifs like file system.
>
> According the source code, I have two methods to mount a system.img
>
> Used for NAND: device/fsl/imx6/etc/fstab_nand.freescale
>
> --
> ubi0:system /system ubifs   ro
>  wait
> ubi0:data   /data   ubifs   nosuid,nodev,nodiratime,noatime
>   wait
> ubi0:cache  /cache  ubifs   nosuid,nodev
>  wait
> ubi0:device /device ubifs   nosuid,nodev
>   wait
>
>
> Used for SD-card: device/fsl/imx6/etc/fstab.freescale
>
> ---
> /dev/block/mmcblk0p5/system  ext4ro
> wait
> /dev/block/mmcblk0p4/dataext4
>  nosuid,nodev,nodiratime,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic
>wait,encryptable=footer
> /dev/block/mmcblk0p6/cache   ext4nosuid,nodev,nomblk_io_submit
>  wait
> /dev/block/mmcblk0p7/device  ext4ro,nosuid,nodev
>
>
>
> The build process creates the system.img file with yaffs like file system.
>
> How I make to mount the system.img file to mount point. I mean, to
>  "/system" ?
>
>
>
> I hope for your help.
>
> Thanks in advance.
>
> Best regards.
>
>
> jvidalsm
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] How to mount yaffs on NAND

2014-03-28 Thread Jose Vidal
Hi Thomas,

Thanks,

I think that ext4 file system is used only with sd-card.
Or maybe I'm confused.

My target is to use the NAND Flash memory.

What do you think ?

Best regards.

jvidalsm


2014-03-28 3:38 GMT-05:00 Thomas Zimmermann :

> Hi Jose,
>
> You can set
>
>   TARGET_USERIMAGES_USE_EXT4 := true
>
> in the file
>
>   device//BoardConfig.mk
>
> to create ext4-based images. If you have eMMC-based storage, you also
> need to run 'rmt_storage' on the device AFAIK.
>
> Best regards
> Thomas
>
> On 28.03.2014 08:01, Jose Vidal wrote:
> > Hi everyone,
> >
> > I have a iMX6Q processor whit NAND flash.
> > The NAND uses ubifs like file system.
> >
> > According the source code, I have two methods to mount a system.img
> >
> > Used for NAND: device/fsl/imx6/etc/fstab_nand.freescale
> >
> --
> > ubi0:system   /system ubifs   ro
>  wait
> > ubi0:data   /data   ubifs   nosuid,nodev,nodiratime,noatime
> wait
> > ubi0:cache  /cache  ubifs   nosuid,nodev
>wait
> > ubi0:device /device ubifs   nosuid,nodev
> wait
> >
> >
> > Used for SD-card: device/fsl/imx6/etc/fstab.freescale
> >
> ---
> > /dev/block/mmcblk0p5/system  ext4ro
>   wait
> > /dev/block/mmcblk0p4/dataext4
>  nosuid,nodev,nodiratime,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic
>wait,encryptable=footer
> > /dev/block/mmcblk0p6/cache   ext4nosuid,nodev,nomblk_io_submit
>wait
> > /dev/block/mmcblk0p7/device  ext4ro,nosuid,nodev
> >
> >
> >
> > The build process creates the system.img file with yaffs like file
> system.
> >
> > How I make to mount the system.img file to mount point. I mean, to
>  "/system" ?
> >
> >
> >
> > I hope for your help.
> >
> > Thanks in advance.
> >
> > Best regards.
> >
> >
> > jvidalsm
> > ___
> > dev-b2g mailing list
> > dev-b2g@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-b2g
> >
>
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] How to mount yaffs on NAND

2014-03-28 Thread Thomas Zimmermann
Oh, I see, you have NAND. Sorry for the confusion.

On 28.03.2014 09:50, Jose Vidal wrote:
> Hi Thomas,
> 
> Thanks,
> 
> I think that ext4 file system is used only with sd-card.
> Or maybe I'm confused.
> 
> My target is to use the NAND Flash memory.
> 
> What do you think ?
> 
> Best regards.
> 
> jvidalsm
> 
> 
> 2014-03-28 3:38 GMT-05:00 Thomas Zimmermann  >:
> 
> Hi Jose,
> 
> You can set
> 
>   TARGET_USERIMAGES_USE_EXT4 := true
> 
> in the file
> 
>   device//BoardConfig.mk
> 
> to create ext4-based images. If you have eMMC-based storage, you also
> need to run 'rmt_storage' on the device AFAIK.
> 
> Best regards
> Thomas
> 
> On 28.03.2014 08:01, Jose Vidal wrote:
> > Hi everyone,
> >
> > I have a iMX6Q processor whit NAND flash.
> > The NAND uses ubifs like file system.
> >
> > According the source code, I have two methods to mount a system.img
> >
> > Used for NAND: device/fsl/imx6/etc/fstab_nand.freescale
> >
> 
> --
> > ubi0:system   /system ubifs   ro  
>wait
> > ubi0:data   /data   ubifs  
> nosuid,nodev,nodiratime,noatime wait
> > ubi0:cache  /cache  ubifs   nosuid,nodev  
>  wait
> > ubi0:device /device ubifs   nosuid,nodev  
>   wait
> >
> >
> > Used for SD-card: device/fsl/imx6/etc/fstab.freescale
> >
> 
> ---
> > /dev/block/mmcblk0p5/system  ext4ro  
> wait
> > /dev/block/mmcblk0p4/dataext4  
>  
> nosuid,nodev,nodiratime,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic
>wait,encryptable=footer
> > /dev/block/mmcblk0p6/cache   ext4  
>  nosuid,nodev,nomblk_io_submit  wait
> > /dev/block/mmcblk0p7/device  ext4ro,nosuid,nodev
> >
> >
> >
> > The build process creates the system.img file with yaffs like file
> system.
> >
> > How I make to mount the system.img file to mount point. I mean, to
>  "/system" ?
> >
> >
> >
> > I hope for your help.
> >
> > Thanks in advance.
> >
> > Best regards.
> >
> >
> > jvidalsm
> > ___
> > dev-b2g mailing list
> > dev-b2g@lists.mozilla.org 
> > https://lists.mozilla.org/listinfo/dev-b2g
> >
> 
> 

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] How to mount yaffs on NAND

2014-03-28 Thread Jose Vidal
Hi Kai,

I have two questions:

1. What is the platform_build version which you have patched?
2. When you say: add the related flags in device config, you mean to

$ ./build.sh BUILD_TARGET_FS=ubifs

The BUILD_TARGET_FS variable works with the imx6_target_fs.mk file

--imx6_target_fs.mk--

ifeq ($(BUILD_TARGET_FS),ubifs)
# build ubifs for nand devices
TARGET_USERIMAGES_USE_UBIFS := true
TARGET_USERIMAGES_USE_EXT4 := false
PRODUCT_COPY_FILES += \
device/fsl/imx6/etc/fstab_nand.freescale:root/fstab.freescale
else
# build for ext4
TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_USE_UBIFS := false
PRODUCT_COPY_FILES += \
device/fsl/imx6/etc/fstab.freescale:root/fstab.freescale
endif # BUILD_TARGET_FS

-


I have out/host/linux-x86/bin/mkfs.ubifs.

Thanks in advance.


Best regards.


jvidalsm


2014-03-28 3:30 GMT-05:00 Kai-Zhen Li :

> Hi Jose,
>
> I think you will need to build system.img, userdata.img in ubifs format.
> This is for you reference:
> 1. patch platform/build and
> 2. add the related flags in device config
> 3. mkfs.ubifs (out/host/linux-x86/bin/mkfs.ubifs)
>
> How to patch platform/build,
>
> https://github.com/Seinlin/platform_build/commit/583929fee564268612ebb41b59aee5a3df0b157e
>
>
> --
> Kai-Zhen Li (Seinlin)
> Mozilla Taiwan
>
> - Original Message -
> From: "Jose Vidal" 
> To: dev-b2g@lists.mozilla.org
> Sent: Friday, March 28, 2014 3:01:28 PM
> Subject: [b2g] How to mount yaffs on NAND
>
> Hi everyone,
>
> I have a iMX6Q processor whit NAND flash.
> The NAND uses ubifs like file system.
>
> According the source code, I have two methods to mount a system.img
>
> Used for NAND: device/fsl/imx6/etc/fstab_nand.freescale
>
> --
> ubi0:system /system ubifs   ro
>  wait
> ubi0:data   /data   ubifs   nosuid,nodev,nodiratime,noatime
>   wait
> ubi0:cache  /cache  ubifs   nosuid,nodev
>  wait
> ubi0:device /device ubifs   nosuid,nodev
>   wait
>
>
> Used for SD-card: device/fsl/imx6/etc/fstab.freescale
>
> ---
> /dev/block/mmcblk0p5/system  ext4ro
> wait
> /dev/block/mmcblk0p4/dataext4
>  nosuid,nodev,nodiratime,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic
>wait,encryptable=footer
> /dev/block/mmcblk0p6/cache   ext4nosuid,nodev,nomblk_io_submit
>  wait
> /dev/block/mmcblk0p7/device  ext4ro,nosuid,nodev
>
>
>
> The build process creates the system.img file with yaffs like file system.
>
> How I make to mount the system.img file to mount point. I mean, to
>  "/system" ?
>
>
>
> I hope for your help.
>
> Thanks in advance.
>
> Best regards.
>
>
> jvidalsm
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] How to mount yaffs on NAND

2014-03-28 Thread Kai-Zhen Li
Hi Joes,

1. I patched to branch b2g-4.4.2_r1 of 
git://github.com/mozilla-b2g/platform_build
2. Yes, need to make sure ubifs is trigger during build.


--
Kai-Zhen Li (Seinlin)
Mozilla Taiwan

- Original Message -
From: "Jose Vidal" 
To: "Kai-Zhen Li" 
Cc: "Mozilla" 
Sent: Friday, March 28, 2014 5:13:18 PM
Subject: Re: [b2g] How to mount yaffs on NAND

Hi Kai,

I have two questions:

1. What is the platform_build version which you have patched?
2. When you say: add the related flags in device config, you mean to

$ ./build.sh BUILD_TARGET_FS=ubifs

The BUILD_TARGET_FS variable works with the imx6_target_fs.mk file

--imx6_target_fs.mk--

ifeq ($(BUILD_TARGET_FS),ubifs)
# build ubifs for nand devices
TARGET_USERIMAGES_USE_UBIFS := true
TARGET_USERIMAGES_USE_EXT4 := false
PRODUCT_COPY_FILES += \
device/fsl/imx6/etc/fstab_nand.freescale:root/fstab.freescale
else
# build for ext4
TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_USE_UBIFS := false
PRODUCT_COPY_FILES += \
device/fsl/imx6/etc/fstab.freescale:root/fstab.freescale
endif # BUILD_TARGET_FS

-


I have out/host/linux-x86/bin/mkfs.ubifs.

Thanks in advance.


Best regards.


jvidalsm


2014-03-28 3:30 GMT-05:00 Kai-Zhen Li :

> Hi Jose,
>
> I think you will need to build system.img, userdata.img in ubifs format.
> This is for you reference:
> 1. patch platform/build and
> 2. add the related flags in device config
> 3. mkfs.ubifs (out/host/linux-x86/bin/mkfs.ubifs)
>
> How to patch platform/build,
>
> https://github.com/Seinlin/platform_build/commit/583929fee564268612ebb41b59aee5a3df0b157e
>
>
> --
> Kai-Zhen Li (Seinlin)
> Mozilla Taiwan
>
> - Original Message -
> From: "Jose Vidal" 
> To: dev-b2g@lists.mozilla.org
> Sent: Friday, March 28, 2014 3:01:28 PM
> Subject: [b2g] How to mount yaffs on NAND
>
> Hi everyone,
>
> I have a iMX6Q processor whit NAND flash.
> The NAND uses ubifs like file system.
>
> According the source code, I have two methods to mount a system.img
>
> Used for NAND: device/fsl/imx6/etc/fstab_nand.freescale
>
> --
> ubi0:system /system ubifs   ro
>  wait
> ubi0:data   /data   ubifs   nosuid,nodev,nodiratime,noatime
>   wait
> ubi0:cache  /cache  ubifs   nosuid,nodev
>  wait
> ubi0:device /device ubifs   nosuid,nodev
>   wait
>
>
> Used for SD-card: device/fsl/imx6/etc/fstab.freescale
>
> ---
> /dev/block/mmcblk0p5/system  ext4ro
> wait
> /dev/block/mmcblk0p4/dataext4
>  nosuid,nodev,nodiratime,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic
>wait,encryptable=footer
> /dev/block/mmcblk0p6/cache   ext4nosuid,nodev,nomblk_io_submit
>  wait
> /dev/block/mmcblk0p7/device  ext4ro,nosuid,nodev
>
>
>
> The build process creates the system.img file with yaffs like file system.
>
> How I make to mount the system.img file to mount point. I mean, to
>  "/system" ?
>
>
>
> I hope for your help.
>
> Thanks in advance.
>
> Best regards.
>
>
> jvidalsm
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] 03/28/2014 TPE Hamachi Gaia-ui Automation v1.5.0 Mozilla RIL Build - 124/130 tests

2014-03-28 Thread Askeing Yen
130 tests ran in 8621 seconds. 
121 passed, 5 skipped, 1 failed, 5 errors. 
3 expected failures, 0 unexpected passes. 

Test failures: 
test_camera_capture_video.py - Bug 989247 - modify the gaiatest camera app for 
gaia camera change 
test_lockscreen_unlock_to_camera.py - Bug 989247 - modify the gaiatest camera 
app for gaia camera change 
test_call_contact.py - Bug 988754 - Fix test_call_contact.py 
test_settings_cell_data.py - cannot reproduce. 
test_settings_airplane_mode.py - Bug 987145 - Investigate failure in 
test_settings_airplane_mode.py 
test_play_ogg_video.py - Bug 976028 - test_play_ogg_video failing on TPE CI 

Build under test: 
Gaia-ui-tests 287195d1fed2e6c883745d7091a4c05e56c4dbb7 
Base Build V1.2_US_20131115.cfg 
Gaia 287195d1fed2e6c883745d7091a4c05e56c4dbb7 
Gecko https://hg.mozilla.org/mozilla-central/rev/bb4dd9872236 
BuildID 20140327160202 
Version 31.0a1 
ro.build.version.incremental=eng.archermind.20131114.105818 
ro.build.date=Thu Nov 14 10:58:33 CST 2013 

Tests blocked by existing bugs : 
test_cards_view_with_two_apps.py - Bug 946130 - Flick and other actions not 
working on System app 
test_import_contacts_from_gmail.py - Bug 932804 - Tapping on select all button 
doesn't work on Gmail or Outlook frame, before importing contacts 
test_sms_with_attachments.py - Bug 987809 - Shift key is still enabled after we 
tap the first letter in message box 

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] How to mount yaffs on NAND

2014-03-28 Thread Jose Vidal
Hi Kai,

After the patch, I get the next error during the build:

===

Target userdata fs image: out/target/product/var_som_mx6q/userdata.img
Traceback (most recent call last):
  File "./build/tools/releasetools/build_image.py", line 193, in 
main(sys.argv[1:])
  File "./build/tools/releasetools/build_image.py", line 187, in main
if not BuildImage(in_dir, image_properties, out_file):
  File "./build/tools/releasetools/build_image.py", line 78, in BuildImage
build_command.append(str(int(prop_dict["partition_size"])/int(253952)))
KeyError: 'partition_size'
make: *** [out/target/product/var_som_mx6q/userdata.img] Error 1
make: *** Waiting for unfinished jobs

===

What do you think is the problem ?


Thanks in advance


Regards

jvidalsm


2014-03-28 4:26 GMT-05:00 Kai-Zhen Li :

> Hi Joes,
>
> 1. I patched to branch b2g-4.4.2_r1 of git://
> github.com/mozilla-b2g/platform_build
> 2. Yes, need to make sure ubifs is trigger during build.
>
>
> --
> Kai-Zhen Li (Seinlin)
> Mozilla Taiwan
>
> - Original Message -
> From: "Jose Vidal" 
> To: "Kai-Zhen Li" 
> Cc: "Mozilla" 
> Sent: Friday, March 28, 2014 5:13:18 PM
> Subject: Re: [b2g] How to mount yaffs on NAND
>
> Hi Kai,
>
> I have two questions:
>
> 1. What is the platform_build version which you have patched?
> 2. When you say: add the related flags in device config, you mean to
>
> $ ./build.sh BUILD_TARGET_FS=ubifs
>
> The BUILD_TARGET_FS variable works with the imx6_target_fs.mk file
>
> --imx6_target_fs.mk--
>
> ifeq ($(BUILD_TARGET_FS),ubifs)
> # build ubifs for nand devices
> TARGET_USERIMAGES_USE_UBIFS := true
> TARGET_USERIMAGES_USE_EXT4 := false
> PRODUCT_COPY_FILES += \
> device/fsl/imx6/etc/fstab_nand.freescale:root/fstab.freescale
> else
> # build for ext4
> TARGET_USERIMAGES_USE_EXT4 := true
> TARGET_USERIMAGES_USE_UBIFS := false
> PRODUCT_COPY_FILES += \
> device/fsl/imx6/etc/fstab.freescale:root/fstab.freescale
> endif # BUILD_TARGET_FS
>
> -
>
>
> I have out/host/linux-x86/bin/mkfs.ubifs.
>
> Thanks in advance.
>
>
> Best regards.
>
>
> jvidalsm
>
>
> 2014-03-28 3:30 GMT-05:00 Kai-Zhen Li :
>
> > Hi Jose,
> >
> > I think you will need to build system.img, userdata.img in ubifs format.
> > This is for you reference:
> > 1. patch platform/build and
> > 2. add the related flags in device config
> > 3. mkfs.ubifs (out/host/linux-x86/bin/mkfs.ubifs)
> >
> > How to patch platform/build,
> >
> >
> https://github.com/Seinlin/platform_build/commit/583929fee564268612ebb41b59aee5a3df0b157e
> >
> >
> > --
> > Kai-Zhen Li (Seinlin)
> > Mozilla Taiwan
> >
> > - Original Message -
> > From: "Jose Vidal" 
> > To: dev-b2g@lists.mozilla.org
> > Sent: Friday, March 28, 2014 3:01:28 PM
> > Subject: [b2g] How to mount yaffs on NAND
> >
> > Hi everyone,
> >
> > I have a iMX6Q processor whit NAND flash.
> > The NAND uses ubifs like file system.
> >
> > According the source code, I have two methods to mount a system.img
> >
> > Used for NAND: device/fsl/imx6/etc/fstab_nand.freescale
> >
> >
> --
> > ubi0:system /system ubifs   ro
> >  wait
> > ubi0:data   /data   ubifs   nosuid,nodev,nodiratime,noatime
> >   wait
> > ubi0:cache  /cache  ubifs   nosuid,nodev
> >  wait
> > ubi0:device /device ubifs   nosuid,nodev
> >   wait
> >
> >
> > Used for SD-card: device/fsl/imx6/etc/fstab.freescale
> >
> >
> ---
> > /dev/block/mmcblk0p5/system  ext4ro
> > wait
> > /dev/block/mmcblk0p4/dataext4
> >
>  nosuid,nodev,nodiratime,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic
> >wait,encryptable=footer
> > /dev/block/mmcblk0p6/cache   ext4nosuid,nodev,nomblk_io_submit
> >  wait
> > /dev/block/mmcblk0p7/device  ext4ro,nosuid,nodev
> >
> >
> >
> > The build process creates the system.img file with yaffs like file
> system.
> >
> > How I make to mount the system.img file to mount point. I mean, to
> >  "/system" ?
> >
> >
> >
> > I hope for your help.
> >
> > Thanks in advance.
> >
> > Best regards.
> >
> >
> > jvidalsm
> > ___
> > dev-b2g mailing list
> > dev-b2g@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-b2g
> >
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Making User Stories Obvious in Bugzilla

2014-03-28 Thread Julien Wajsberg
Le 28/03/2014 04:38, Fabrice Desré a écrit :
> On 03/26/2014 06:09 AM, Gareth Aye wrote:
>>  When we answer these
>> questions for ourselves, we are /being open/ when we mirror our answers
>> to bugzilla.
>>
>> - Is this a good idea?
>> - What problem does it solve (and for whom)?
>> - Is it high priority?
> I strongly disagree on this one. Any issue, even if it's a priori low
> priority deserves to be filed. This is especially important to have a
> pool of bugs that can be tackled by community members, where time
> commitment can't be expected.
>

I think that Gareth was saying that these informations needs to be in
the bug's description. He was not saying it's a condition to open the
bug in the first place.

-- 
Julien



signature.asc
Description: OpenPGP digital signature
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Making User Stories Obvious in Bugzilla

2014-03-28 Thread Julien Wajsberg
Hey Gareth,

While I understand this whole mail was meant to enforce good practices
(and that's good!), I think it went out quite wrong and agressive, and
that's quite unnecessary.

Don't forget we have people from different languages and cultures in
this project, and sometimes misunderstandings can happen.

Keep the good work!
-- 
Julien


Le 26/03/2014 14:09, Gareth Aye a écrit :
> Hi Gaia,
>
> tl;dr Please make a habit of explaining what the high-level goals of a
> bug are when you file one. If you do one thing well as a software
> developer, please make it communication.
>
> /* The longer version */
>
> Sometimes our software doesn't work like we would like for it to. When
> this happens at Mozilla, it's protocol to file a bug. Why is that? We
> file bugs because we're /open/ and being open means being
> /transparent/ about the work we're doing and /why/ /we're doing it/.
> Often (and regrettably), I see bugs filed like this one
> .
>
> In bug 970138, Greg suggests that we should add a git pre-commit hook
> to prevent patch authors from changing the file permissions on code
> that gets checked into gaia. This is not commentary on whether or not
> that should be done. This is commentary on how some folks /came to the
> decision/ that it should be done and /how they/ /communicated it/ with
> the organization and community.
>
> What was the rationale for this being prioritized and fixed? Greg's
> and John's initial justification is that it "should be [fixed]". Is
> this justification sufficient? :waynux and :yurenju seemed to think so
> since they (respectively) patched and reviewed the bug.
>
> Interestingly, the pre-commit hook prevented me from making changes to
> the scripts in $GAIA/tests/travis_ci/. I had to go back and in the
> history to see where the pre-commit hook was introduced and then back
> it out. Then I asked *three times* for explicit, high-level
> justification for the work that was being done.
>
> The first time I asked, the patch author promptly made modifications
> to the pre-commit hook and the reviewer made some more /code-level/
> suggestions.
>
> The second time I asked, Greg told me that the "broken part" of the
> patch had been fixed by the update.
>
> The third time I asked, I was accused of not recognizing that the
> problem I reported had been fixed by modifications to the pre-commit hook.
>
> By this point, I am feeling like/you had one job/*^(TM)* and let me be
> super explicit. You are doing it all wrong! Your most important job as
> a software developer is /to communicate/. This gets conflated by the
> fact that we have lots of responsibilities at Mozilla. Amongst other
> things, I have to know which css selectors are performant, write
> robust tests, understand the caldav protocol, know the codenames for
> about 8 releases and 20 phones, and /never ever ever use
> localStorage/. All of those things come second to communication.
>
> Good communication takes several forms. Sometimes, it means /writing a
> test/ so that you can express to readers and coders (present and
> future) what your software is supposed to do. Sometimes it means
> estimating the risk associated with introducing a new feature into our
> unstable codebases. Below I've compiled a short list of questions we
> should all ask ourselves when we file, fix, and review bugs. When we
> answer these questions for ourselves, we are /being open/ when we
> mirror our answers to bugzilla.
>
> - Is this a good idea?
> - What problem does it solve (and for whom)?
> - Is it high priority?
> - Are there any risks involved in doing this?
> - Who should I ask for input?
> - Who should at least know that this is happening?
>
> Best,
> Gareth
>
>
> ___
> dev-gaia mailing list
> dev-g...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-gaia



signature.asc
Description: OpenPGP digital signature
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] 03/28/2014 Tarako 1.3t Mozilla RIL Smoke Test Results - 48/49 tests passed, 1 new blocker

2014-03-28 Thread Peipei Cheng
48 out of 49 tests passed for the 2014-03-28 Tarako v1.3t Mozilla RIL
Build. 1 new blocker was found.

Mozilla RIL Build Smoketest Results:

Moztrap test result link:  
https://moztrap.mozilla.org/results/cases/?filter-run=3710

Moztrap test run link:  https://moztrap.mozilla.org/runtests/run/3710/env/27694/

 

Tests Were Performed With:

Build ID: *20140328060053*

Gecko: *f23735074dc673457426afa5d87a67f934a18a9b*

Gaia: *ecbd79aab76e119a7987092b59cbafc97f7ba72f*

Gonk: *575204d5d39f8b9329fb47a80db616c2362bf488*

3 reboots

0 crashes

New Bugs Breaking the Smoketests:

*Bug 989218
*-[tarako] unable
to take video

Existing Bugs Breaking the Smoketests:

None.

New Issues Not Breaking the Smoketests:

*Bug 989286*  -
[Tarako][Keyboard][Personas] It takes more than 5 seconds for keyboard
to get ready

*Bug 989280*  -
[tarako][FM] it took more than 30s to switch the sound from speaker to
headphone

*Bug 989225* 
-[tarako][Dual SIM] Cancel "set Data SIM" does not work when changing
data SIM

Sincerely,

Mozilla QA Team

___

Qa-b2g mailing list

qa-...@mozilla.org

https://mail.mozilla.org/listinfo/qa-b2g

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] question regarding realtime performance guarantees

2014-03-28 Thread Debamitro Chakraborti
Hi Dave,

On Fri, Mar 28, 2014 at 12:36 PM, Dave Hylands  wrote:

> Both Android and FxOS use garbage collected languages (Java for Android,
> JavaScript for FxOS) which don't use realtime garbage collectors, so even
> if the OS were realtime, it still wouldn't help unless the portions of
> interest were written in languages which don't need GC (like C or C++).
>

This is exactly what I had in mind. Possible approaches might be:
1. Allow some apps to be written at a lower level and not use dynamic
memory management and GC
2. Handle telephony operations by an interrupt, so that calling/texting
always overrides the rest of the app framework
I think we'll build a better mobile OS this way. My humble opinion only.

Regards,
Debamitro
-- 
http://about.me/debamitro
*don't polish your ignorance, it will shine*
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Flash without debug flag

2014-03-28 Thread Armen Zambrano G.
I was lucky that after rebooting I receive a new update.

I'm nevertheless trying to flash the device and I can't see it listed
under adb devices even after enabling:
* "Settings->Developer-> Remote debugging dropdown and check "ADB and
devtools"

I also added this:
SUBSYSTEM=="usb", ATTR{idVendor}=="05c6", MODE="0666", GROUP="plugdev"
to /etc/udev/rules.d/51-android.rules

regards,
Armen

On 14-03-28 10:53 AM, Armen Zambrano G. wrote:
> Hello,
> I'm trying to flash my Keon device, however, last week the Settings app
> broke and I did not have the remote debug flag on at that moment.
> 
> As part of the flashing process I need to have that flag on [1]
> How can I fix the device?
> 
> For the record, updates stopped working so I can't get back into good shape.
> 
> cheers,
> Armen
> 
> [1]
> https://developer.mozilla.org/en-US/Firefox_OS/Installing_on_a_mobile_device
> 

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] 03/28/2014 Hamachi Gaia-ui Automation v1.5 Mozilla RIL Build 130/112 tests

2014-03-28 Thread Viorela Ioia

Hi all,

Here is the automation report on Hamachi for today.
Our build was a little busted today, we had several failing tests.
First time user tests are failing because FTU app is busted, see Bug 
989306.
Also test call_contact is failing when we try to hangup the call. It is 
breaking the Phone app, see Bug 989328.

The unlock to camera test is returning a black screen, see Bug 988610.
We are unable to import contacts from sdcard, details in Bug 989346.
We still have issues with the test_settings_airplane_mode, see 
*Bug 987145*  and 
*Bug 988316* .


Cheers,
Viorela


*Summary*
130 tests ran in 8935 seconds.
112 passed, 5 skipped, 0 failed, 15 errors.
3 expected failures, 0 unexpected passes.


*Test failures:*
test_ftu_XXX.py - Bug 989306 - First Time Use app fails to launch

test_call_log_all_calls.py - Bug 989328 - User can't properly hang up 
phone call

test_call_contact.py - Bug 989328 - User can't properly hang up phone call

test_lockscreen_unlock_to_camera.py - Bug 988610 - [Camera][Madai] Black 
screen when opening camera from lockscreen and camera app isn't open
test_import_contacts_from_sdcard - Bug 989346 - Importing contacts from 
memory card hangs on Reading from memory card screen


test_settings_airplane_mode.py - Bug 987145 - Investigate failure in 
test_settings_airplane_mode.py
test_settings_cell_data.py - *Bug 989358* 
 -Tests are failing 
if wifi is enabled when trying to connect to cell data
test_cost_control_data_alert_mobile.py - *Bug 989358* 
 -Tests are failing 
if wifi is enabled when trying to connect to cell data


test_email_XXX.py - the commit with the changes is not included in the 
current build: 
https://github.com/mozilla-b2g/gaia/commit/35b347bc0948b082ecd29d49ff28807ad942345b
test_lockscreen_unlock_to_emergency_call_screen.py - the commit with the 
changes is not included in the current build: 
https://github.com/mozilla-b2g/gaia/commit/cf3b0bebef758b05b4a86f211192f62da5062436 



test_settings_power_save_mode.py - the phone did not connect to wifi 
before timeout

test_sms_contact_match.py - Cannot reproduce manually or with automation.


*Build under test:
*Gaia  9da1b9c11bf518bce882be305ae121c44c5d1e05
Gecko https://hg.mozilla.org/mozilla-central/rev/9afe2a1145bd
BuildID   20140327040202
Version   31.0a1
ro.build.version.incremental=eng.tclxa.20131223.163538
ro.build.date=Mon Dec 23 16:36:04 CST 2013


*Expected fails:*
test_cards_view_with_two_apps.TestCardsView - Bug 946130 
 -  Flick and other 
actions not working on System app
test_import_contacts_from_gmail.TestImportContactsFromGmail - Bug 932804 
 - Tapping on 
select all button doesn't work on Gmail or Outlook frame, before 
importing contacts
test_sms_with_attachments - Bug 987809 - Shift key is still enabled 
after we tap the first letter in message box



*Disabled tests:*
test_homescreen_delete_app - *Bug 985498* 
 -Investigate and 
fix test_delete_app fail on Travis
test_system_message.py - *Bug 980814* 
 
-test_system_message.py, JavaScript Error

test_ftu_skip_tour desktopb2g - Runs only on desktop b2g
test_settings_sim_manager.py - Requires 2 SIM devices
test-camera_flash_modes - Requires camera flash

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Flash without debug flag

2014-03-28 Thread Armen Zambrano G.
Hello,
I'm trying to flash my Keon device, however, last week the Settings app
broke and I did not have the remote debug flag on at that moment.

As part of the flashing process I need to have that flag on [1]
How can I fix the device?

For the record, updates stopped working so I can't get back into good shape.

cheers,
Armen

[1]
https://developer.mozilla.org/en-US/Firefox_OS/Installing_on_a_mobile_device
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] question regarding realtime performance guarantees

2014-03-28 Thread Thomas Zimmermann
Hi,

Just out of interest, is there any actual use case here?

>From a technical POV, phones are short on resources and the software is
mostly driven by user input. RT, in contrast, is often bad for resource
usage and interactive workloads, because you have to expect WCET for
many components. So you have to allocate resources for RT tasks,
although you probably won't actually need them. In the end you'll
achieve the opposite of what you intended.

And please note that telephony runs on a separate CPU, which comes with
an RT-enabled OS.

Best regards
Thomas

On 28.03.2014 08:35, Debamitro Chakraborti wrote:
> Hi Dave,
> 
> On Fri, Mar 28, 2014 at 12:36 PM, Dave Hylands  > wrote:
> 
> Both Android and FxOS use garbage collected languages (Java for
> Android, JavaScript for FxOS) which don't use realtime garbage
> collectors, so even if the OS were realtime, it still wouldn't help
> unless the portions of interest were written in languages which
> don't need GC (like C or C++).
> 
> 
> This is exactly what I had in mind. Possible approaches might be:
> 1. Allow some apps to be written at a lower level and not use dynamic
> memory management and GC
> 2. Handle telephony operations by an interrupt, so that calling/texting
> always overrides the rest of the app framework
> I think we'll build a better mobile OS this way. My humble opinion only.
> 
> Regards,
> Debamitro
> -- 
> http://about.me/debamitro
> /don't polish your ignorance, it will shine/
> 
> 
> 
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
> 

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Flash without debug flag

2014-03-28 Thread Andreas Pehrson
Hold volume up as you boot and it should boot into recovery mode.

Adb is enabled in recovery on the keon, so you should be able to run
flash.sh there.
If not, reboot into fastboot mode manually (adb reboot bootloader) and then
run flash.sh.

If you only want to flash gecko or gaia, I am not sure if that works in
recovery - if /system is mounted or not. A full flash should work though.

*Andreas Pehrson *--- Software Engineer

(+47) 959 60 374   |   pehr...@comoyo.com   |   www.comoyo.com


On Fri, Mar 28, 2014 at 3:53 PM, Armen Zambrano G. wrote:

> Hello,
> I'm trying to flash my Keon device, however, last week the Settings app
> broke and I did not have the remote debug flag on at that moment.
>
> As part of the flashing process I need to have that flag on [1]
> How can I fix the device?
>
> For the record, updates stopped working so I can't get back into good
> shape.
>
> cheers,
> Armen
>
> [1]
>
> https://developer.mozilla.org/en-US/Firefox_OS/Installing_on_a_mobile_device
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] 03/28/2014 Hamachi Gaia-ui Automation v1.4 Mozilla RIL Build

2014-03-28 Thread Robert Chira

Hi all,

Here is the automation report on v1.4 branch for today.
We had a couple of failures. There are bugs open for both of them.

Cheers,
Robert


*Summary*

134 tests ran in 8565 seconds.
129 passed, 23 skipped, 0 failed, 2 errors.
3 expected failures, 0 unexpected passes.

*
Test failure**s:*
test_call_contact.TestContacts - *Bug 989262* 
 -[v1.4] Uplift fix 
for test_call_contact.py
test_settings_airplane_mode.TestAirplaneMode - *Bug 987145* 
 -Investigate 
failure in test_settings_airplane_mode.py


*Unexpected pass:*

*Build under test:
*Gaia  e07a5915737727ba22c06f270ee7af6572f746f3
Gecko https://hg.mozilla.org/releases/mozilla-aurora/rev/33e7fd745c1b
BuildID   20140328000202
Version   30.0a2
ro.build.version.incremental=eng.tclxa.20131223.163538
ro.build.date=Mon Dec 23 16:36:04 CST 2013


*Expected fails:*
test_sms_to_dialer.TestDialerFromMessage - *Bug 983070* 
 -[Message][UI 
Test] The received message should not causes message thread to open in 
the thread list view
test_cards_view_with_two_apps.TestCardsView - *Bug 946130* 
 -Flick and other 
actions not working on System app
test_import_contacts_from_gmail.TestImportContactsFromGmail - Bug 932804 
 - Tapping on 
select all button doesn't work on Gmail or Outlook frame, before 
importing contacts



___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] I have chmod 0755 /system/b2g/b2g error = -30

2014-03-28 Thread Jose Vidal
Hi everyone,

I have the loglevel 8 in init.rc and I have the next error messages: 



init: processing action 0x351f0 (fs)
ehci_fsl_bus_suspend begins, Host 1
ehci_fsl_bus_suspend ends, Host 1
UBIFS: mounted UBI device 0, volume 0, name "system"
UBIFS: mounted read-only
UBIFS: file system size:   229318656 bytes (223944 KiB, 218 MiB, 1806 LEBs)
UBIFS: journal size:   9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
UBIFS: media format:   w4/r0 (latest is w4/r0)
UBIFS: default compressor: none
UBIFS: reserved for root:  0 bytes (0 KiB)
UBIFS: start fixing up free space
UBIFS: free space fixup complete
UBIFS: mounted UBI device 0, volume 3, name "data"
UBIFS: file system size:   143990784 bytes (140616 KiB, 137 MiB, 1134 LEBs)
UBIFS: journal size:   9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
UBIFS: media format:   w4/r0 (latest is w4/r0)
UBIFS: default compressor: none
UBIFS: reserved for root:  0 bytes (0 KiB)
UBIFS: default file-system created
UBIFS: mounted UBI device 0, volume 1, name "cache"
UBIFS: file system size:   61837312 bytes (60388 KiB, 58 MiB, 487 LEBs)
UBIFS: journal size:   3047424 bytes (2976 KiB, 2 MiB, 24 LEBs)
UBIFS: media format:   w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  2920728 bytes (2852 KiB)
UBIFS: default file-system created
UBIFS: mounted UBI device 0, volume 2, name "device"
UBIFS: file system size:   9396224 bytes (9176 KiB, 8 MiB, 74 LEBs)
UBIFS: journal size:   1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:   w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  443806 bytes (433 KiB)
init: command 'mount_all' r=0
init: command 'chmod' r=-30
init: command 'chmod' r=-2
init: command 'chmod' r=-30



Mainly, my question is about 

===

init: command 'chmod' r=-30
init: command 'chmod' r=-2
init: command 'chmod' r=-30

===

This is caused by


on fs
# mount ubifs partitions
mount_all /fstab.freescale
chmod 0755 /system/b2g/b2g
chmod 0755 /system/b2g/updater
chmod 0755 /system/b2g/plugin-container



Why I have these error messages?


I hope for your help.


Thanks in advance


Best regards.

jvidalsm
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] b2g is not running during init process

2014-03-28 Thread Jose Vidal
Hi everyone,

I'm porting B2G on freescale device.

I stopped the /system/bin/b2g.sh process during init. This process is running 
in infinite loop.

When I try run the b2g.sh manually, I have the next error message:



root@android:/ # ./system/bin/b2g.sh   
soinfo_link_image(linker.cpp:1635): could not load library 
"libhardware_legacy.so" needed by "/system/b2g/b2g"; caused by 
soinfo_link_image(linkE
255|root@android:/ #



I checked the libhardware_legacy.so lib inside the /system/lib



root@android:/ # ls -l system/lib/libhardware_legacy.so
-rwxrwxr-x system   system  21764 2014-03-28 12:36 libhardware_legacy.so
root@android:/ #




Any idea which one is the problem?

I hope for your help,

Thanks in advance.

Best regards.


jvidalsm
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] unlock screen in B2G Desktop

2014-03-28 Thread Saulo
Hi,

   I am trying to build B2G for my desktop following the instruction described 
here: 
https://developer.mozilla.org/en-US/Firefox_OS/Using_the_B2G_desktop_client but 
after the build when I execute b2g it is showing a locked screen where I am not 
able to unlock using the mouse cursor.

  So described in the Mozilla's tutorial the topic "Creating a 
custom-settings.json" tells me how to fix it creating a file called 
custom-settings.json and setting "lockscreen.enabled" and "lockscreen.locked" 
to false.

  But Gaia source code already have a file called "common-settings.json" with 
"lockscreen.enabled" and "lockscreen.locked" option so I am not sure if it is 
really necessary to create a new file called custom-settings... and even when 
using lockscreen as false it is showing a locked screen.

  Is someone building Gaia for desktop here? How can I solve this problem?

thx
S4ul0
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] I have chmod 0755 /system/b2g/b2g error = -30

2014-03-28 Thread Dave Hylands
errno 30 = EROFS  - Read-only file system
errno  2 = ENOENT - No such file or directory

- Original Message -
> From: "Jose Vidal" 
> To: mozilla-dev-...@lists.mozilla.org
> Sent: Friday, March 28, 2014 11:28:38 AM
> Subject: [b2g] I have chmod 0755 /system/b2g/b2g error = -30
> 
> Hi everyone,
> 
> I have the loglevel 8 in init.rc and I have the next error messages:
> 
> 
> 
> init: processing action 0x351f0 (fs)
> ehci_fsl_bus_suspend begins, Host 1
> ehci_fsl_bus_suspend ends, Host 1
> UBIFS: mounted UBI device 0, volume 0, name "system"
> UBIFS: mounted read-only
> UBIFS: file system size:   229318656 bytes (223944 KiB, 218 MiB, 1806 LEBs)
> UBIFS: journal size:   9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
> UBIFS: media format:   w4/r0 (latest is w4/r0)
> UBIFS: default compressor: none
> UBIFS: reserved for root:  0 bytes (0 KiB)
> UBIFS: start fixing up free space
> UBIFS: free space fixup complete
> UBIFS: mounted UBI device 0, volume 3, name "data"
> UBIFS: file system size:   143990784 bytes (140616 KiB, 137 MiB, 1134 LEBs)
> UBIFS: journal size:   9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
> UBIFS: media format:   w4/r0 (latest is w4/r0)
> UBIFS: default compressor: none
> UBIFS: reserved for root:  0 bytes (0 KiB)
> UBIFS: default file-system created
> UBIFS: mounted UBI device 0, volume 1, name "cache"
> UBIFS: file system size:   61837312 bytes (60388 KiB, 58 MiB, 487 LEBs)
> UBIFS: journal size:   3047424 bytes (2976 KiB, 2 MiB, 24 LEBs)
> UBIFS: media format:   w4/r0 (latest is w4/r0)
> UBIFS: default compressor: lzo
> UBIFS: reserved for root:  2920728 bytes (2852 KiB)
> UBIFS: default file-system created
> UBIFS: mounted UBI device 0, volume 2, name "device"
> UBIFS: file system size:   9396224 bytes (9176 KiB, 8 MiB, 74 LEBs)
> UBIFS: journal size:   1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
> UBIFS: media format:   w4/r0 (latest is w4/r0)
> UBIFS: default compressor: lzo
> UBIFS: reserved for root:  443806 bytes (433 KiB)
> init: command 'mount_all' r=0
> init: command 'chmod' r=-30
> init: command 'chmod' r=-2
> init: command 'chmod' r=-30
> 
> 
> 
> Mainly, my question is about
> 
> ===
> 
> init: command 'chmod' r=-30
> init: command 'chmod' r=-2
> init: command 'chmod' r=-30
> 
> ===
> 
> This is caused by
> 
> 
> on fs
> # mount ubifs partitions
> mount_all /fstab.freescale
> chmod 0755 /system/b2g/b2g
> chmod 0755 /system/b2g/updater
> chmod 0755 /system/b2g/plugin-container
> 
> 
> 
> Why I have these error messages?
> 
> 
> I hope for your help.
> 
> 
> Thanks in advance
> 
> 
> Best regards.
> 
> jvidalsm
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
> 
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] b2g is not running during init process

2014-03-28 Thread Dave Hylands
Hi Jose,

- Original Message -
> From: "Jose Vidal" 
> To: mozilla-dev-...@lists.mozilla.org
> Sent: Friday, March 28, 2014 11:38:08 AM
> Subject: [b2g] b2g is not running during init process
> 
> Hi everyone,
> 
> I'm porting B2G on freescale device.
> 
> I stopped the /system/bin/b2g.sh process during init. This process is running
> in infinite loop.
> 
> When I try run the b2g.sh manually, I have the next error message:
> 
> 
> 
> root@android:/ # ./system/bin/b2g.sh
> soinfo_link_image(linker.cpp:1635): could not load library
> "libhardware_legacy.so" needed by "/system/b2g/b2g"; caused by
> soinfo_link_image(linkE
> 255|root@android:/ #
> 
> 
> 
> I checked the libhardware_legacy.so lib inside the /system/lib
> 
> 
> 
> root@android:/ # ls -l system/lib/libhardware_legacy.so
> -rwxrwxr-x system   system  21764 2014-03-28 12:36 libhardware_legacy.so
> root@android:/ #
> 
> 
> 
> 
> Any idea which one is the problem?

Probably one of the libraries that libhardware_legacy.so needs is missing.

On your host machine you can go do:

cd out/target/product/DEVICE-NAME/system/lib
readelf -d libhardware_legacy.so

and it will print out what libraries are needed to load libhardware_legacy.so

Repeat readelf for each of the libraries to find out what libraries they need 
etc. Verify that ALL of the needed libraries are in your /system/lib

Dave Hylands
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] 03/28/2014 Buri v1.4 MOZ RIL Smoke Test Results - 47/48 tests passed, no new blockers

2014-03-28 Thread Marcia Knous
47 out of 48 tests passed for the 2014-03-28 Buri v1.4.0 MOZ RIL Build. 
There is one existing issue that kept the smoketests from fully passing.


MOZ RIL Build Smoketest Results:
Daily Smoke Test Logs:
https://docs.google.com/a/qanalydocs.com/spreadsheet/ccc?key=0AjRc6aVFoOW9dGZLdVdiWGZLbVdORlFpUGt5XzZ3Znc&usp=drive_web#gid=6 


Moztrap link: https://moztrap.mozilla.org/runtests/run/3714/env/347/

Tests Were Performed With:
Build ID: 20140328000202
Gecko: 33e7fd745c1b
Gaia: e07a5915737727ba22c06f270ee7af6572f746f3
Base Image: V1.2-device.cfg
1 reboot
1 crash - bug https://bugzilla.mozilla.org/show_bug.cgi?id=989408

New Bugs Breaking the Smoketests:
- None reported.

Existing Bugs Breaking the Smoketests:
- [B2G][General] After restarting or resetting device does not detect 
SIM card

https://bugzilla.mozilla.org/show_bug.cgi?id=988979

New Issues Not Breaking the Smoketests:
- [B2G][Camera] 'file not found' icon briefly flashes when panning to a 
video in filmstrip

https://bugzilla.mozilla.org/show_bug.cgi?id=989396

Sincerely,

Mozilla QA Team

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Installing Marionette on production builds

2014-03-28 Thread Malini Das
If you happen to have a production build and need to use Marionette 
against it (say you want to run gaia integration tests or gaia-ui-tests, 
etc.), you can now install Marionette as an extension:


https://github.com/mozilla-b2g/marionette-extension

This only works for 1.3 builds currently. I'll have to add 1.4 support 
soon. If you need any extra features/support, file github issues, thanks.


--
Malini Das
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] 03/28/2014 Open_C v1.3 MOZ RIL Smoke Test Results - 48/48 tests passed, no new blockers

2014-03-28 Thread Marcia Knous
48 out of 48 tests passed for the 2014-03-28 Open_C v1.3.0 MOZ RIL 
Build. There are no major issues preventing the smoketest from passing.


MOZ RIL Build Smoketest Results:
Daily Smoke Test Logs:
https://docs.google.com/a/qanalydocs.com/spreadsheet/ccc?key=0AjRc6aVFoOW9dGZLdVdiWGZLbVdORlFpUGt5XzZ3Znc&usp=drive_web#gid=5 


Moztrap link: https://moztrap.mozilla.org/runtests/run/3715/env/347/

Tests Were Performed With:
Build ID: 20140328040052
Gecko: 36972a7b932d2f651e5c3af7204deadc40c1e765
Gaia: 8d159066289fdb4651e13e838fb91fb9226a2cd5
Base Image: P821A10-ENG_20140321
0 reboots
0 crashes

New Bugs Breaking the Smoketests:
- None reported.

Existing Bugs Breaking the Smoketests:
- None reported.

New Issues Not Breaking the Smoketests:
- [B2G][FM Radio]Seek buttons do not function while radio is paused/stopped
https://bugzilla.mozilla.org/show_bug.cgi?id=989495

Sincerely,

Mozilla QA Team

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] 1.4 Landed, Disabled, or Backed-Out Feature List

2014-03-28 Thread Candice Serran
Hello, 

Below is the comprehensive list of features that were landed, preff'ed off, 
backed out, and not-yet landed features for 1.4. If you have questions or 
concerns, please reach out to respective teams for details. 

Thanks, 
Candice 


What landed? 


* [Systemsfe] App Errors : Hide regular Offline Error Screen When 
Connectivity Resumes: 964724 
* [Systemsfe] Download Manager : 926955 
* [Systemsfe] Single Variant - Network Display Indicator customization by 
SIM : 923449 
* [Systemsfe] Single Variant - Predictive text configurable by SIM : 923455 
* [System-Platform] LockScreen -Make LockScreen as an instantiable 
function: 960901 
* [System-Platform] Settings - marionette tests and panel refactor for 1.4: 
969265 
* [System-Platform] App-makefile refactoring on gaia build system : 975964 
* [Multimedia Platform] Video P2P: 923364 
* [Multimedia Platform] Video Recording - Record video clip from standard 
API (OmxEncoder + MP4): 923038 
* [Networking/Connectivity] CDMA - support conference (3-way) call: 881174 
* [Networking/Connectivity] APN Settings - parse apn type 'dun' and 'ims' 
from apn.json database: 968092 
* [Networking/Connectivity] Gaia - Need to add setting menus for 'dun' and 
'ims' apn types: 969298 
* [Networking/Connectivity] IPv6 -To support IPv6 in network manager: 
975813 
* [Networking/Connectivity] IPv6 - To support IPv6 in RIL: 957917 
* [Networking/Connectivity] LTE - Add bearer data to APN settings : 951764 
* [Networking/Connectivity] Single Variant - Set commercial name used for a 
specific network mode technology : 952026 
* [Networking/Connectivity] Automatic selection of APN relying on the IMSI 
code in the ICC card: 947855 
* [Networking/Connectivity] S upport dun apn type: 960865 
* [Networking/Connectivity] S upport ims apn type: 961571 
* [Networking/Connectivity] fugu DSDS - follow-up for radio control: radio 
of slot 2 is not on even there's a sim card: 963054 
* [Networking/Connectivity] Airplane mode - Cannot turn on Airplane mode 
from Notification center during an active call: 964974 
* [Networking/Connectivity] RTSP - audio-only streaming cannot be played by 
video app: 963565 
* [Comms] DSDS Meta: 945641 

What was Backed out? 

* [Systemsfe] FTE Tutorial - Add edge gestures: 924624 
* [Networking/Connectivity] NFC - Support sharing of Contacts 894676 
* [Networking/Connectivity] Gecko Bluetooth always receives a blob but not 
a file while using NFC to do BT file transfer 964693 
* [Networking/Connectivity] RTSP fix the cycle reference in 
RtpsMediaResource: 964132 
* [FxOS Accts] FxA - Sign up for Firefox Accounts in Settings 949051 

What was preff'ed off? 


* [Systemsfe] Rocketbar Search App: 946452 
* [Systemsfe] System Browser : 945259 
* [Systemsfe] Notifications : 945938 
* [System-Platform] Keyboard - Enable 3rd party keyboard framework with OOP 
: 964670 
* [Media] Video - Video application: handle data transfer : 903253 
* [Media] Gallery - gallery application: handle data transfer : 948362 
* [Media] Music - music application: handle data transfer: 948363 
* [Networking/Connectivity] NFC - readNDEF failed : 960473 
* [Networking/Connectivity] NFC - Improvement for function of sharing URLs: 
969217 
* [Networking/Connectivity] Gaia - Support sharing of URLs: 903250 
* [FxOS Accts] FTU - Sign In To Firefox on First Run : 897600 


What still has to land for 1.4? 


* [Productivity] Email - quasi-infinite scroll: 796474 (ETA: 3/28 - update 
to come) 




Candice Serran 
Sr Program Manager - Firefox OS 
cand...@mozilla.com 
303.588.1101 
irc: cserran 




___ 
b2g-internal mailing list 
b2g-inter...@mozilla.org 
https://mail.mozilla.org/listinfo/b2g-internal 

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Introducing Mulet

2014-03-28 Thread Jonas Sicking
Mulet, french, noun. Half horse, half donkey.
Mullet, english, noun. Business in the front, party in the back.

Alexandre Poirot and Alexandre Lissy have been working hard on a new
development environment that should be a big improvement over both
what we use internally for Gaia development, and what we are asking
3rd party app developers to use when developing apps for FirefoxOS.

The basic idea behind this environment is to take Firefox Desktop as
it exists today (including its support for both internal and external
dev tools) and then run it using the same Gecko that we use for
FirefoxOS. So the backend half is FirefoxOS, the frontend part is
Firefox desktop.

This means that we'll have the exact same great development experience
that we have for Firefox desktop today, but we can use the real
implementation of various FirefoxOS specific APIs that we use on
devices.

One nice example of this is that we can keep the app: protocol working
in Mulet. So we don't need to rely on running a local http server and
run gaia through special http urls. Ultimately the goal is to enable
the app: protocol in Mulet to either load from a compressed zip file,
or directly from your gaia source tree.

Once Mulet is ready, it will *replace* the following development environments:
* B2G Desktop
* Gaia-on-Firefox-desktop
* Simulator

So it will be one tool that is usable for gaia developers, gecko
developers and 3rd party app developers.

The name "simulator" might still be around since it's something that
we've been evangelizing to developers a lot. But it will eventually be
based on Mulet.

The goal is to make this tool have nightly releases which works just
like firefox desktop. Or you will be able to build it yourself if you
need to depend on tip. This will require the help of the releng team
though.

Making all of this play well together is a lot of work. So any help
you can provide to Alexandre and Alexandre is very appreciated. We
want this environment to fit your needs, so we can build in whatever
features or tools that will make development better for you. But to
make that happen we'll both need your feedback and your help.

I'd like to extend a big thanks to both Alexandre Poirot and Alexandre
Lissy for working on this!

/ Jonas
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Introducing Mulet

2014-03-28 Thread Josh Matthews

On 03/28/2014 07:40 PM, Jonas Sicking wrote:

Mulet, french, noun. Half horse, half donkey.
Mullet, english, noun. Business in the front, party in the back.

Alexandre Poirot and Alexandre Lissy have been working hard on a new
development environment that should be a big improvement over both
what we use internally for Gaia development, and what we are asking
3rd party app developers to use when developing apps for FirefoxOS.

The basic idea behind this environment is to take Firefox Desktop as
it exists today (including its support for both internal and external
dev tools) and then run it using the same Gecko that we use for
FirefoxOS. So the backend half is FirefoxOS, the frontend part is
Firefox desktop.

This means that we'll have the exact same great development experience
that we have for Firefox desktop today, but we can use the real
implementation of various FirefoxOS specific APIs that we use on
devices.

One nice example of this is that we can keep the app: protocol working
in Mulet. So we don't need to rely on running a local http server and
run gaia through special http urls. Ultimately the goal is to enable
the app: protocol in Mulet to either load from a compressed zip file,
or directly from your gaia source tree.

Once Mulet is ready, it will *replace* the following development environments:
* B2G Desktop
* Gaia-on-Firefox-desktop
* Simulator

So it will be one tool that is usable for gaia developers, gecko
developers and 3rd party app developers.

The name "simulator" might still be around since it's something that
we've been evangelizing to developers a lot. But it will eventually be
based on Mulet.

The goal is to make this tool have nightly releases which works just
like firefox desktop. Or you will be able to build it yourself if you
need to depend on tip. This will require the help of the releng team
though.

Making all of this play well together is a lot of work. So any help
you can provide to Alexandre and Alexandre is very appreciated. We
want this environment to fit your needs, so we can build in whatever
features or tools that will make development better for you. But to
make that happen we'll both need your feedback and your help.

I'd like to extend a big thanks to both Alexandre Poirot and Alexandre
Lissy for working on this!

/ Jonas



Any information on how to take it for a spin today? Where to file bugs, 
patches, see a TODO list, etc?


Cheers,
Josh
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] B2G Release scheduling and tree rules

2014-03-28 Thread Jonas Sicking
[This is a slightly cropped version of an email that went out on
internal lists. The only thing removed is a few partner-related
dates.]

Hi All,

First off, we've decided to call the next FirefoxOS release
(previously called v1.5) our v2.0 release. Note that this in and of
itself doesn't mean any process changes, it's mainly a naming thing.
There will be a follow-up email discussing the feature set we're
targetting which hopefully will make it clear why we're calling the
release 2.0.

We'll be discussing this schedule on 9am PST gaia meeting on tuesday,
as well  as the coordination meeting 5pm PST meeting also on tuesday.
Feedback there is very much encouraged.

Here's the schedule that we've discussed and cleared internally and
with partners:

Mar 17 - April 28: Stabilization for 1.3T/1.3/1.4
April 29: Official "dev start" for 2.0
April 29 - June 8: 2.0 development
June 9: 2.0 branch date
June 9 - July 21: Stabilization for 2.0
July 22: Official "dev start" for 2.1

Since it's important to understand what these various dates mean,
here's a more detailed explanation:

Mar 17 - April 28: Stabilization for 1.3T/1.3/1.4

This time is intended for fixing any critical bugs that come up. I.e.
bugs that we find during our and partner testing.

If you don't get any 1.3T/1.3/1.4 bugs assigned to you in this time
period, please do start on 2.0 work. This can either be new features,
or working on the "top 25" backlog items of technical debt. It's up to
each team to do the tradeoff between technical debt, polish and
creating a product that's joyful to use vs. adding new features.

However since we know that we will be finding plenty of 1.3T/1.3/1.4
issues, keeping this time scheduled for those releases allows us to
keep a more realistic schedule.

April 29: Official "dev start" for 2.0

This date mostly exists to help our planning. No actual rule changes
happening on this date. The rules both before and after April 29th is
that 1.3/1.4 bugfixing is highest priority, and 2.0 development comes
after that.

This date also works as a useful checkpoint. If your team still has a
long list of blockers for 1.3T/1.3/1.4 then we should immediately
reasses if we should move some of the 2.0 targetted features to a
later release.

The flip side of this is of course that we need to get better at
finding bugs earlier. Bugs that we don't find until after this date is
problematic. We're working with QA and partners to try to get bugs to
developers earlier.

April 29 - June 8: 2.0 development

Development happens on m-c and gaia-master.

Throughout this we should aim to have a policy of "no known
regressions". I.e. if a patch to implement a new feature lands, but
the feature is buggy or it breaks other things, then it should be
immediately backed out or disabled.

The goal is that by the end of this period the 2.0 development should
be done. I.e. it's not enough to have landed enough patches to get the
feature mostly working. We should aim to always keep m-c/gaia-master
to be of release quality as best we can. Whenever something isn't
working quite as it should, it slows down other developers.

When landing big new features, please consider landing them turned off
by default until they have gotten wider testing and are of sufficient
quality to be turned on.

This also means that you'll want to have your initial feature landings
happening a week or two before June 8 so that any followup work can be
done before June 8th.

If you have a big new feature or refactoring patch that's ready just a
few days before June 8th, consider waiting to land it, or waiting to
turn it on, until after June 8th so that it goes into the next release
instead. It's better to make big changes early in the next release,
than late in this one.

June 9: 2.0 branch date

Gaia 2.0 branch created. Mozilla-central goes to aurora branch.
Actual branching happens sometime during the 9th pacific timezone, so
if you want to make sure to have your patches in the 2.0 release it
needs to land on the 8th or before that.
Joint triages begin.
Soft String freeze, try to get all strings landed before this date.
Anything beyond this should have the "late-l10n" keyword.

Beyond this date we will be restrictive about what gets uplifted to
the 2.0 release. So don't count on your patches getting uplifted if
it's not for a blocker. This applies both to gaia and gecko patches.

June 9 - July 21: Stabilization for 2.0

The top priority is to help out with the 2.0 release. That doesn't
just include bugs that for sure are in your code. It also includes
helping out with understanding bugs that we don't know what they are
caused by. And of course if you can spend time on helping other teams
that are overwhelmed with blockers, then that will help the project a
lot.

However if you don't have any blockers, and you can't effectively help
if you don't have any critical bug work to do, then feel free to start
on 2.1 development, or do code maintenance, or write more tests.

July 22: Official "de

[b2g] ZTE Open - Twitter crashing / slow sometimes slow to respond

2014-03-28 Thread markkadamplant
Hi,

Using a ZTE Open from the Ebay UK store - phone came wih 
OPEN_EU_DEV_FOS_V1.0.0B02 and I haven't upgraded or rooted the phone

Has anyone else experienced issues with twitter? Crashes almost every time I 
use it,

And sometimes the phone is slow to respond - while I know the phone isnt using 
lightning fast specs - I wondered if this is the software and updates fix this?

Thanks,

Mark
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Making a call - number vanishes from display?

2014-03-28 Thread markkadamplant
Had an issue whereby sometimes when making a call, select a recent number from 
the calls list and it makes the call but instead of displaying the number 
there's nothing there ? anyone else had this?
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Introducing Mulet

2014-03-28 Thread Kartikaya Gupta
Cool! Are there any technical docs on this? In particular I'm interested 
to know if it uses the gonk widget backend and APZC code. I have a patch 
that might potentially be breaking input in Mulet, depending on what 
it's doing.


Cheers,
kats

On 28/3/2014, 19:40, Jonas Sicking wrote:

Mulet, french, noun. Half horse, half donkey.
Mullet, english, noun. Business in the front, party in the back.

Alexandre Poirot and Alexandre Lissy have been working hard on a new
development environment that should be a big improvement over both
what we use internally for Gaia development, and what we are asking
3rd party app developers to use when developing apps for FirefoxOS.

The basic idea behind this environment is to take Firefox Desktop as
it exists today (including its support for both internal and external
dev tools) and then run it using the same Gecko that we use for
FirefoxOS. So the backend half is FirefoxOS, the frontend part is
Firefox desktop.

This means that we'll have the exact same great development experience
that we have for Firefox desktop today, but we can use the real
implementation of various FirefoxOS specific APIs that we use on
devices.

One nice example of this is that we can keep the app: protocol working
in Mulet. So we don't need to rely on running a local http server and
run gaia through special http urls. Ultimately the goal is to enable
the app: protocol in Mulet to either load from a compressed zip file,
or directly from your gaia source tree.

Once Mulet is ready, it will *replace* the following development environments:
* B2G Desktop
* Gaia-on-Firefox-desktop
* Simulator

So it will be one tool that is usable for gaia developers, gecko
developers and 3rd party app developers.

The name "simulator" might still be around since it's something that
we've been evangelizing to developers a lot. But it will eventually be
based on Mulet.

The goal is to make this tool have nightly releases which works just
like firefox desktop. Or you will be able to build it yourself if you
need to depend on tip. This will require the help of the releng team
though.

Making all of this play well together is a lot of work. So any help
you can provide to Alexandre and Alexandre is very appreciated. We
want this environment to fit your needs, so we can build in whatever
features or tools that will make development better for you. But to
make that happen we'll both need your feedback and your help.

I'd like to extend a big thanks to both Alexandre Poirot and Alexandre
Lissy for working on this!

/ Jonas



___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Introducing Mulet

2014-03-28 Thread Fabrice Desré
On 03/28/2014 08:57 PM, Kartikaya Gupta wrote:
> Cool! Are there any technical docs on this? In particular I'm interested
> to know if it uses the gonk widget backend and APZC code. I have a patch
> that might potentially be breaking input in Mulet, depending on what
> it's doing.

No, it's a desktop build, so it's using the linux/mac/windows widgetry.

Fabrice
-- 
Fabrice Desré
b2g team
Mozilla Corporation
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] question regarding realtime performance guarantees

2014-03-28 Thread Debamitro Chakraborti
Hi Thomas,

Just out of interest, is there any actual use case here?
>
> Nope, so far purely hypothetical. I started the conversation inspired by
research like 
this,
and from my personal experience of my smartphone being unable to allow fast
calling when I needed it.

>From a technical POV, phones are short on resources and the software is
> mostly driven by user input. RT, in contrast, is often bad for resource
> usage and interactive workloads, because you have to expect WCET for
> many components. So you have to allocate resources for RT tasks,
> although you probably won't actually need them. In the end you'll
> achieve the opposite of what you intended.
>
> okay, I had no idea of this aspect!


> And please note that telephony runs on a separate CPU, which comes with
> an RT-enabled OS.
>
> Yes I am aware of this -- you mean the baseband processor, right? I was
thinking about possible modifications to how the telephony app works, to
ensure better performance. Anyway I am not much knowledgeable in OS
architecture so might need to dig around a little more to see if what I am
thinking makes sense!
Thanks for the replies

Regards,
Debamitro

> Best regards
> Thomas
>
> On 28.03.2014 08:35, Debamitro Chakraborti wrote:
> > Hi Dave,
> >
> > On Fri, Mar 28, 2014 at 12:36 PM, Dave Hylands  > > wrote:
> >
> > Both Android and FxOS use garbage collected languages (Java for
> > Android, JavaScript for FxOS) which don't use realtime garbage
> > collectors, so even if the OS were realtime, it still wouldn't help
> > unless the portions of interest were written in languages which
> > don't need GC (like C or C++).
> >
> >
> > This is exactly what I had in mind. Possible approaches might be:
> > 1. Allow some apps to be written at a lower level and not use dynamic
> > memory management and GC
> > 2. Handle telephony operations by an interrupt, so that calling/texting
> > always overrides the rest of the app framework
> > I think we'll build a better mobile OS this way. My humble opinion only.
> >
> > Regards,
> > Debamitro
> > --
> > http://about.me/debamitro
> > /don't polish your ignorance, it will shine/
> > 
> >
> >
> > ___
> > dev-b2g mailing list
> > dev-b2g@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-b2g
> >
>
>


-- 
http://about.me/debamitro
*don't polish your ignorance, it will shine*
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g