[opensuse-arm] Tests of latest images for RPi1

2015-09-01 Thread Freek de Kruijf
Build336.2 from 
repositories/devel:/ARM:/Factory:/Contrib:/RaspberryPi:/upstream/ boots, the 
SD is partitioned and the resulting system boots. However the Ethernet 
connection does not become active. The lights stay off. I could not find a 
method to list the journal on the SD partition on a system where the SD is 
mounted.

Build325.2 from repositories/devel:/ARM:/Factory:/Contrib:/RaspberryPi/ does 
the low level boot, but after that, like before, can't find the boot image on 
the 3rd partition.

Upgrading a system build earlier with a working image works OK. Finally the 
problem using the command "yast lan" is solved.

-- 
fr.gr.

member openSUSE
Freek de Kruijf

-- 
To unsubscribe, e-mail: opensuse-arm+unsubscr...@opensuse.org
To contact the owner, e-mail: opensuse-arm+ow...@opensuse.org



Re: [opensuse-arm] Samsung Chromebook current tumbleweed images

2015-09-01 Thread Guillaume Gardet



Le 31/08/2015 16:39, Misha Komarovskiy a écrit :

Hello Guillaume,

On Mon, Aug 31, 2015 at 5:08 PM, Guillaume Gardet
 wrote:

Hi,

Le 17/08/2015 17:41, Guillaume Gardet a écrit :

Yes, this the way to do.

Please patch lpae, default and vanilla to be consistent across configs.



The patched kernel reached Factory/Tumbleweed but there is still a black
screen! :(


Are you sure it is included? I see 4.1.5 version in
http://download.opensuse.org/ports/armv7hl/factory/repo/oss/suse/armv7hl/
And my patch was applied to Kernel:stable after 4.1.6 patch.


Yes, I can see: kernel-lpae-4.1.6-2.1.armv7hl.rpm in this repo and in the build 
log of JeOS-chromebook image, it is the same version.


Guillaume






The boot (and reboot) problem is fixed with latest image.


Guillaume




Guillaume


Le 17/08/2015 17:27, Misha Komarovskiy a écrit :

I can send patch to opensuse-kernel ml if thats suitable, this way is
described on the wiki

https://en.opensuse.org/openSUSE:Kernel_git#Submitting_your_changes_to_the_kernel_team
What do you think is patch for lpae enough or better add default and
vanilla also?
---
Best Regards,
Misha Komarovskiy
zombahatgmaildotcom


On Mon, Aug 17, 2015 at 5:59 PM, Guillaume Gardet
 wrote:

Thanks.

Could you submit your patch to stable branch for default, lpae and
vanilla
flavours, please?

Patches against master branch should follow once git repo fixed.


Guillaume


Le 17/08/2015 16:07, Misha Komarovskiy a écrit :

My patch in attach
---
Best Regards,
Misha Komarovskiy
zombahatgmaildotcom


On Mon, Aug 17, 2015 at 4:13 PM, Guillaume Gardet
 wrote:

Perfect!

I submitted an update request to include it:
https://build.opensuse.org/request/show/323645

We still need to update our kernel config to disable exynos IOMMU. But
kernel repo is currently broken for master.
Could send your config patch against stable kernel (4.1), please?


Guillaume



Le 17/08/2015 14:31, Misha Komarovskiy a écrit :

Adding them with force_drivers do the trick.
---
Best Regards,
Misha Komarovskiy
zombahatgmaildotcom


On Mon, Aug 17, 2015 at 3:09 PM, Guillaume Gardet
 wrote:

You do not need to modify your kernel for that.
Remove your  /etc/modules-load.d/ file to get back in non-auto
loading.

Open the file '/etc/dracut.conf.d/exynos_modules.conf' and add the
following
line:
add_drivers += "cros_ec_devs ptn3460 pwm-samsung"

Then recreate your initrd with:
dracut -f
and reboot.


If it does not help, replace:
add_drivers += "cros_ec_devs ptn3460 pwm-samsung"
by:
force_drivers += "cros_ec_devs ptn3460 pwm-samsung"

Then recreate your initrd with:
dracut -f
and reboot.


Guillaume



Le 17/08/2015 14:04, Misha Komarovskiy a écrit :

I made test on already installed image. Connected with usb network
dongle, cloned kernel-source git, made sequence-patch to 4.1
source,
copied modified lpae kernel config then booted
resulting kernel.
This extra modules i tried to add to /etc/modules-load.d/ and
system
start fine this way without manual modprobing, but this is not same
as
dracut config as i understand.

I never tried to branch kernel-source repo on obs to create custom
config, i can make this test also if you can give me please some
directions on how to properly create modified kernel branch.



---
Best Regards,
Misha Komarovskiy
zombahatgmaildotcom


On Mon, Aug 17, 2015 at 2:53 PM, Guillaume Gardet
 wrote:


Le 17/08/2015 13:30, Misha Komarovskiy a écrit :

Just tested lpae config without CONFIG_EXYNOS_IOMMU on snow,
system
boots with black screen same,
then modprobe cros_ec_devs, ptn3460, pwm-samsung makes panel
start
to
work without kernel panic.


Thanks for your tests.
Could you add thoses modules to
/etc/dracut.conf.d/exynos_modules.conf
with
the new line:
 add_drivers += "cros_ec_devs ptn3460 pwm-samsung"

and recreate initrd with dracut and check if it boots fine?

If it does not work, try 'force_drivers+=' instead of 'add_drivers
+='
and
recreate initrd.


Guillaume



---
Best Regards,
Misha Komarovskiy
zombahatgmaildotcom


On Mon, Aug 17, 2015 at 12:01 PM, Misha Komarovskiy

wrote:

Hello Guillaume,
I tested both exynos_defconfig and multi_v7_defconfig, they work
fine.
But ill test lpae config without EXYNOS_IOMMU today and will
report.
---
Best Regards,
Misha Komarovskiy
zombahatgmaildotcom


On Mon, Aug 17, 2015 at 9:59 AM, Guillaume Gardet
 wrote:

Hi,

Le 16/08/2015 21:59, Misha Komarovskiy a écrit :

Hello,
Maybe we can disable only Exynos IOMMU in configs for now?
Same
way
it
is disabled in current exynos_defconfig here






https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/arch/arm/configs/exynos_defconfig?id=6562f3bd396ab6d2c9b455e95c67e33bab73bff5
As i understand it is broken for all exynos devices not only
snow.


That is exactly what I would like to do since I read this
thread:

Re: [opensuse-arm] Samsung Chromebook current tumbleweed images

2015-09-01 Thread Misha Komarovskiy
Hello Guillaume,

On Tue, Sep 1, 2015 at 11:17 AM, Guillaume Gardet
 wrote:
>
>
> Le 31/08/2015 16:39, Misha Komarovskiy a écrit :
>>
>> Hello Guillaume,
>>
>> On Mon, Aug 31, 2015 at 5:08 PM, Guillaume Gardet
>>  wrote:
>>>
>>> Hi,
>>>
>>> Le 17/08/2015 17:41, Guillaume Gardet a écrit :

 Yes, this the way to do.

 Please patch lpae, default and vanilla to be consistent across configs.
>>>
>>>
>>>
>>> The patched kernel reached Factory/Tumbleweed but there is still a black
>>> screen! :(
>>>
>> Are you sure it is included? I see 4.1.5 version in
>> http://download.opensuse.org/ports/armv7hl/factory/repo/oss/suse/armv7hl/
>> And my patch was applied to Kernel:stable after 4.1.6 patch.
>
>
> Yes, I can see: kernel-lpae-4.1.6-2.1.armv7hl.rpm in this repo and in the
> build log of JeOS-chromebook image, it is the same version.
>

You are right. Kernel is fine now, but but required modules won't auto
load even with force_drivers 8(
If i run dracut -f manually output is: line 2: force_drivers: command not found
but this fix worked for me before, maybe something changed in dracut itself?

>
> Guillaume
>
>
>
>>
>>> The boot (and reboot) problem is fixed with latest image.
>>>
>>>
>>> Guillaume
>>>
>>>

 Guillaume


 Le 17/08/2015 17:27, Misha Komarovskiy a écrit :
>
> I can send patch to opensuse-kernel ml if thats suitable, this way is
> described on the wiki
>
>
> https://en.opensuse.org/openSUSE:Kernel_git#Submitting_your_changes_to_the_kernel_team
> What do you think is patch for lpae enough or better add default and
> vanilla also?
> ---
> Best Regards,
> Misha Komarovskiy
> zombahatgmaildotcom
>
>
> On Mon, Aug 17, 2015 at 5:59 PM, Guillaume Gardet
>  wrote:
>>
>> Thanks.
>>
>> Could you submit your patch to stable branch for default, lpae and
>> vanilla
>> flavours, please?
>>
>> Patches against master branch should follow once git repo fixed.
>>
>>
>> Guillaume
>>
>>
>> Le 17/08/2015 16:07, Misha Komarovskiy a écrit :
>>>
>>> My patch in attach
>>> ---
>>> Best Regards,
>>> Misha Komarovskiy
>>> zombahatgmaildotcom
>>>
>>>
>>> On Mon, Aug 17, 2015 at 4:13 PM, Guillaume Gardet
>>>  wrote:

 Perfect!

 I submitted an update request to include it:
 https://build.opensuse.org/request/show/323645

 We still need to update our kernel config to disable exynos IOMMU.
 But
 kernel repo is currently broken for master.
 Could send your config patch against stable kernel (4.1), please?


 Guillaume



 Le 17/08/2015 14:31, Misha Komarovskiy a écrit :
>
> Adding them with force_drivers do the trick.
> ---
> Best Regards,
> Misha Komarovskiy
> zombahatgmaildotcom
>
>
> On Mon, Aug 17, 2015 at 3:09 PM, Guillaume Gardet
>  wrote:
>>
>> You do not need to modify your kernel for that.
>> Remove your  /etc/modules-load.d/ file to get back in non-auto
>> loading.
>>
>> Open the file '/etc/dracut.conf.d/exynos_modules.conf' and add the
>> following
>> line:
>> add_drivers += "cros_ec_devs ptn3460 pwm-samsung"
>>
>> Then recreate your initrd with:
>> dracut -f
>> and reboot.
>>
>>
>> If it does not help, replace:
>> add_drivers += "cros_ec_devs ptn3460 pwm-samsung"
>> by:
>> force_drivers += "cros_ec_devs ptn3460 pwm-samsung"
>>
>> Then recreate your initrd with:
>> dracut -f
>> and reboot.
>>
>>
>> Guillaume
>>
>>
>>
>> Le 17/08/2015 14:04, Misha Komarovskiy a écrit :
>>>
>>> I made test on already installed image. Connected with usb
>>> network
>>> dongle, cloned kernel-source git, made sequence-patch to 4.1
>>> source,
>>> copied modified lpae kernel config then booted
>>> resulting kernel.
>>> This extra modules i tried to add to /etc/modules-load.d/ and
>>> system
>>> start fine this way without manual modprobing, but this is not
>>> same
>>> as
>>> dracut config as i understand.
>>>
>>> I never tried to branch kernel-source repo on obs to create
>>> custom
>>> config, i can make this test also if you can give me please some
>>> directions on how to properly create modified kernel branch.
>>>
>>>
>>>
>>> ---
>>> Best Regards,
>>> Misha Komarovskiy
>>> 

Re: [opensuse-arm] Samsung Chromebook current tumbleweed images

2015-09-01 Thread Misha Komarovskiy
On Tue, Sep 1, 2015 at 3:35 PM, Misha Komarovskiy  wrote:
> Hello Guillaume,
>
> On Tue, Sep 1, 2015 at 11:17 AM, Guillaume Gardet
>  wrote:
>>
>>
>> Le 31/08/2015 16:39, Misha Komarovskiy a écrit :
>>>
>>> Hello Guillaume,
>>>
>>> On Mon, Aug 31, 2015 at 5:08 PM, Guillaume Gardet
>>>  wrote:

 Hi,

 Le 17/08/2015 17:41, Guillaume Gardet a écrit :
>
> Yes, this the way to do.
>
> Please patch lpae, default and vanilla to be consistent across configs.



 The patched kernel reached Factory/Tumbleweed but there is still a black
 screen! :(

>>> Are you sure it is included? I see 4.1.5 version in
>>> http://download.opensuse.org/ports/armv7hl/factory/repo/oss/suse/armv7hl/
>>> And my patch was applied to Kernel:stable after 4.1.6 patch.
>>
>>
>> Yes, I can see: kernel-lpae-4.1.6-2.1.armv7hl.rpm in this repo and in the
>> build log of JeOS-chromebook image, it is the same version.
>>
>
> You are right. Kernel is fine now, but but required modules won't auto
> load even with force_drivers 8(
> If i run dracut -f manually output is: line 2: force_drivers: command not 
> found
> but this fix worked for me before, maybe something changed in dracut itself?

It seems the problem that force_drivers line must not contain empty
spaces, now it look like:
force_drivers += "cros_ec_devs ptn3460 pwm-samsung"
and correct one is
force_drivers+="cros_ec_devs ptn3460 pwm-samsung"

with such line, dracut parse force_drivers fine.

>
>>
>> Guillaume
>>
>>
>>
>>>
 The boot (and reboot) problem is fixed with latest image.


 Guillaume


>
> Guillaume
>
>
> Le 17/08/2015 17:27, Misha Komarovskiy a écrit :
>>
>> I can send patch to opensuse-kernel ml if thats suitable, this way is
>> described on the wiki
>>
>>
>> https://en.opensuse.org/openSUSE:Kernel_git#Submitting_your_changes_to_the_kernel_team
>> What do you think is patch for lpae enough or better add default and
>> vanilla also?
>> ---
>> Best Regards,
>> Misha Komarovskiy
>> zombahatgmaildotcom
>>
>>
>> On Mon, Aug 17, 2015 at 5:59 PM, Guillaume Gardet
>>  wrote:
>>>
>>> Thanks.
>>>
>>> Could you submit your patch to stable branch for default, lpae and
>>> vanilla
>>> flavours, please?
>>>
>>> Patches against master branch should follow once git repo fixed.
>>>
>>>
>>> Guillaume
>>>
>>>
>>> Le 17/08/2015 16:07, Misha Komarovskiy a écrit :

 My patch in attach
 ---
 Best Regards,
 Misha Komarovskiy
 zombahatgmaildotcom


 On Mon, Aug 17, 2015 at 4:13 PM, Guillaume Gardet
  wrote:
>
> Perfect!
>
> I submitted an update request to include it:
> https://build.opensuse.org/request/show/323645
>
> We still need to update our kernel config to disable exynos IOMMU.
> But
> kernel repo is currently broken for master.
> Could send your config patch against stable kernel (4.1), please?
>
>
> Guillaume
>
>
>
> Le 17/08/2015 14:31, Misha Komarovskiy a écrit :
>>
>> Adding them with force_drivers do the trick.
>> ---
>> Best Regards,
>> Misha Komarovskiy
>> zombahatgmaildotcom
>>
>>
>> On Mon, Aug 17, 2015 at 3:09 PM, Guillaume Gardet
>>  wrote:
>>>
>>> You do not need to modify your kernel for that.
>>> Remove your  /etc/modules-load.d/ file to get back in non-auto
>>> loading.
>>>
>>> Open the file '/etc/dracut.conf.d/exynos_modules.conf' and add the
>>> following
>>> line:
>>> add_drivers += "cros_ec_devs ptn3460 pwm-samsung"
>>>
>>> Then recreate your initrd with:
>>> dracut -f
>>> and reboot.
>>>
>>>
>>> If it does not help, replace:
>>> add_drivers += "cros_ec_devs ptn3460 pwm-samsung"
>>> by:
>>> force_drivers += "cros_ec_devs ptn3460 pwm-samsung"
>>>
>>> Then recreate your initrd with:
>>> dracut -f
>>> and reboot.
>>>
>>>
>>> Guillaume
>>>
>>>
>>>
>>> Le 17/08/2015 14:04, Misha Komarovskiy a écrit :

 I made test on already installed image. Connected with usb
 network
 dongle, cloned kernel-source git, made sequence-patch to 4.1
 source,
 copied modified lpae kernel config then booted
 resulting kernel.
 This extra modules i tried to add to /etc/modules-load.d/ and
 system
 

Re: [opensuse-arm] Samsung Chromebook current tumbleweed images

2015-09-01 Thread Guillaume Gardet



Le 01/09/2015 14:49, Misha Komarovskiy a écrit :

On Tue, Sep 1, 2015 at 3:35 PM, Misha Komarovskiy  wrote:

Hello Guillaume,

On Tue, Sep 1, 2015 at 11:17 AM, Guillaume Gardet
 wrote:


Le 31/08/2015 16:39, Misha Komarovskiy a écrit :

Hello Guillaume,

On Mon, Aug 31, 2015 at 5:08 PM, Guillaume Gardet
 wrote:

Hi,

Le 17/08/2015 17:41, Guillaume Gardet a écrit :

Yes, this the way to do.

Please patch lpae, default and vanilla to be consistent across configs.



The patched kernel reached Factory/Tumbleweed but there is still a black
screen! :(


Are you sure it is included? I see 4.1.5 version in
http://download.opensuse.org/ports/armv7hl/factory/repo/oss/suse/armv7hl/
And my patch was applied to Kernel:stable after 4.1.6 patch.


Yes, I can see: kernel-lpae-4.1.6-2.1.armv7hl.rpm in this repo and in the
build log of JeOS-chromebook image, it is the same version.


You are right. Kernel is fine now, but but required modules won't auto
load even with force_drivers 8(
If i run dracut -f manually output is: line 2: force_drivers: command not found
but this fix worked for me before, maybe something changed in dracut itself?

It seems the problem that force_drivers line must not contain empty
spaces, now it look like:
force_drivers += "cros_ec_devs ptn3460 pwm-samsung"
and correct one is
force_drivers+="cros_ec_devs ptn3460 pwm-samsung"

with such line, dracut parse force_drivers fine.


Indded. Just tried it and I get the display! :D
Thanks a lot!

SR #328325 is pending: https://build.opensuse.org/request/show/328325


Guillaume





Guillaume




The boot (and reboot) problem is fixed with latest image.


Guillaume



Guillaume


Le 17/08/2015 17:27, Misha Komarovskiy a écrit :

I can send patch to opensuse-kernel ml if thats suitable, this way is
described on the wiki


https://en.opensuse.org/openSUSE:Kernel_git#Submitting_your_changes_to_the_kernel_team
What do you think is patch for lpae enough or better add default and
vanilla also?
---
Best Regards,
Misha Komarovskiy
zombahatgmaildotcom


On Mon, Aug 17, 2015 at 5:59 PM, Guillaume Gardet
 wrote:

Thanks.

Could you submit your patch to stable branch for default, lpae and
vanilla
flavours, please?

Patches against master branch should follow once git repo fixed.


Guillaume


Le 17/08/2015 16:07, Misha Komarovskiy a écrit :

My patch in attach
---
Best Regards,
Misha Komarovskiy
zombahatgmaildotcom


On Mon, Aug 17, 2015 at 4:13 PM, Guillaume Gardet
 wrote:

Perfect!

I submitted an update request to include it:
https://build.opensuse.org/request/show/323645

We still need to update our kernel config to disable exynos IOMMU.
But
kernel repo is currently broken for master.
Could send your config patch against stable kernel (4.1), please?


Guillaume



Le 17/08/2015 14:31, Misha Komarovskiy a écrit :

Adding them with force_drivers do the trick.
---
Best Regards,
Misha Komarovskiy
zombahatgmaildotcom


On Mon, Aug 17, 2015 at 3:09 PM, Guillaume Gardet
 wrote:

You do not need to modify your kernel for that.
Remove your  /etc/modules-load.d/ file to get back in non-auto
loading.

Open the file '/etc/dracut.conf.d/exynos_modules.conf' and add the
following
line:
add_drivers += "cros_ec_devs ptn3460 pwm-samsung"

Then recreate your initrd with:
dracut -f
and reboot.


If it does not help, replace:
add_drivers += "cros_ec_devs ptn3460 pwm-samsung"
by:
force_drivers += "cros_ec_devs ptn3460 pwm-samsung"

Then recreate your initrd with:
dracut -f
and reboot.


Guillaume



Le 17/08/2015 14:04, Misha Komarovskiy a écrit :

I made test on already installed image. Connected with usb
network
dongle, cloned kernel-source git, made sequence-patch to 4.1
source,
copied modified lpae kernel config then booted
resulting kernel.
This extra modules i tried to add to /etc/modules-load.d/ and
system
start fine this way without manual modprobing, but this is not
same
as
dracut config as i understand.

I never tried to branch kernel-source repo on obs to create
custom
config, i can make this test also if you can give me please some
directions on how to properly create modified kernel branch.



---
Best Regards,
Misha Komarovskiy
zombahatgmaildotcom


On Mon, Aug 17, 2015 at 2:53 PM, Guillaume Gardet
 wrote:


Le 17/08/2015 13:30, Misha Komarovskiy a écrit :

Just tested lpae config without CONFIG_EXYNOS_IOMMU on snow,
system
boots with black screen same,
then modprobe cros_ec_devs, ptn3460, pwm-samsung makes panel
start
to
work without kernel panic.


Thanks for your tests.
Could you add thoses modules to
/etc/dracut.conf.d/exynos_modules.conf
with
the new line:
  add_drivers += "cros_ec_devs ptn3460 pwm-samsung"

and recreate initrd with dracut and check if it boots fine?

If it does not work, try 'force_drivers+=' instead of
'add_drivers
+='
and
recreate initrd.


Guillaume



---
Best 

Re: [opensuse-arm] Samsung Chromebook current tumbleweed images

2015-09-01 Thread Andreas Färber
Am 01.09.2015 um 15:37 schrieb Guillaume Gardet:
> Le 01/09/2015 14:49, Misha Komarovskiy a écrit :
>> On Tue, Sep 1, 2015 at 3:35 PM, Misha Komarovskiy 
>> wrote:
>>> Kernel is fine now, but but required modules won't auto
>>> load even with force_drivers 8(
>>> If i run dracut -f manually output is: line 2: force_drivers: command
>>> not found
>>> but this fix worked for me before, maybe something changed in dracut
>>> itself?
>> It seems the problem that force_drivers line must not contain empty
>> spaces, now it look like:
>> force_drivers += "cros_ec_devs ptn3460 pwm-samsung"
>> and correct one is
>> force_drivers+="cros_ec_devs ptn3460 pwm-samsung"
>>
>> with such line, dracut parse force_drivers fine.
> 
> Indded. Just tried it and I get the display! :D
> Thanks a lot!
> 
> SR #328325 is pending: https://build.opensuse.org/request/show/328325

Guillaume, I'm pretty sure I saw a comment in the JeOS script that says
that add_drivers (or so) needs the string to start with a space, to
avoid that being concatenated to a previously added driver. I imagine
the same applies to force_drivers as well then.

Regards,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg)
-- 
To unsubscribe, e-mail: opensuse-arm+unsubscr...@opensuse.org
To contact the owner, e-mail: opensuse-arm+ow...@opensuse.org