Re: [Server-devel] Two (minimal) goals for a kernel for XO1.5 based upon fc22?

2015-05-28 Thread James Cameron
On Thu, May 28, 2015 at 12:01:10PM +0100, Peter Robinson wrote:
> On Thu, May 28, 2015 at 9:05 AM, James Cameron  wrote:
> > The v4.1-rc5 kernel boots fine on XO-1.5, though there are a few
> > things to be fixed; screen blanks on boot, camera LED stays on and
> > camera doesn't work, temperature of CPU is not accessible, and suspend
> > fails to complete.  Some of these probably my haste.
> 
> Even more awesome, some of these are probably missing or changed
> kernel options. Some of those kernel bits have changed a lot upstream.
> 
> > This meets George's requirements.
> >
> > The patch relative to v4.1-rc5:
> > http://dev.laptop.org/~quozl/y/1YxsfX.txt
> 
> Do we have a 4.1 branch in the olpc-kernel git repo yet?

Yes, I've pulled from Linus master into olpc-kernel master, then
created branch olpc-4.1 and applied my first patch.

http://dev.laptop.org/git/olpc-kernel/
http://dev.laptop.org/git/olpc-kernel/commit/?h=olpc-4.1&id=48f0337b26e80b6fe5df63daf2165af435698000

Added you to group for access to olpc-kernel.

Repository path is crank.laptop.org:/git/olpc-kernel

> Is it worth
> it or would it be worthwhile me setting up one against the Fedora
> upstream to allow us to more easily work there, rebase etc?

Welcome to host a copy there, but I've no idea how to access it.

> > The boot dmesg:
> > http://dev.laptop.org/~quozl/z/1Yxsg9.txt
> >
> > You might take your favourite Fedora 22 kernel, apply that patch,
> > fixing any conflicts, reconfigure the kernel, and build.
> >
> > Or you might compare the xo_1.5_defconfig against the Fedora 22 kernel
> > .config.
> 
> I'm happy to help there.

Great.

> > If you guys can help test and fix these apparently minor problems,
> > then I can pull upstream into olpc-kernel repository and make a later
> > branch.
> 
> Can we setup a git branch sooner rather than later as a central place
> to pull the latest and greatest from.
> 
> > Chances are it would work fine with XO-1 too, with a bit of
> > configuration merging.
> 
> Happy to help there. We likely need to rebase a few patches for camera
> modules etc from the older branches, happy to help there where
> possible.

Yes, there's a siv121c camera in x86-3.3 that will have to be
ported; and maybe upstreamed, though it is an ugly copy.  ;-)

> > However, this doesn't help with XO-1.75 and XO-4, which are still just
> > as large a job as they ever were.  ;-{  x86 is so easy.
> 
> I've got a possible route for the 1.75 as mentioned above, once we get
> a 4.1 branch I can add that and see how much further on we can get
> with that. XO-4 on the other hand, as you mention, is a massive job!
> :-(

On Thu, May 28, 2015 at 12:01:58PM +0100, Peter Robinson wrote:
> BTW is the F-22 + 4.1rc5 kernel image somewhere to pull and test with?

4.1rc5 is now olpc-4.1 on olpc-kernel.  Can't speak for F-22.

-- 
James Cameron
http://quozl.linux.org.au/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Two (minimal) goals for a kernel for XO1.5 based upon fc22?

2015-05-28 Thread Peter Robinson
>> > Given I looked into this before with F22 Beta(*), I ran OLPC OS Builder
>> > tonight, excluding nothing from all repositories, and let it loose.
>>
>> Funny! I was doing exactly the same yesterday for the 1.5!
>>
>> > There were a few more minor issues found with the build process.  But I
>> > managed to build an image with the stock Fedora 4.x kernel, and primarily
>> > F22 parts.
>>
>> Can we create a f22 branch on the o-o-b git repo so we can all
>> collaborate on this from one central place?
>
> Use the master branch, please.  I've moved the Fedora 20 development
> to a v8.0 branch.  So we stick to our existing branch habits.
>
> http://dev.laptop.org/git/projects/olpc-os-builder

Works for me, just didn't want to step on existing work
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Two (minimal) goals for a kernel for XO1.5 based upon fc22?

2015-05-28 Thread James Cameron
On Thu, May 28, 2015 at 11:55:42AM +0100, Peter Robinson wrote:
> On Thu, May 28, 2015 at 4:17 AM, Samuel Greenfeld  
> wrote:
> > Given I looked into this before with F22 Beta(*), I ran OLPC OS Builder
> > tonight, excluding nothing from all repositories, and let it loose.
> 
> Funny! I was doing exactly the same yesterday for the 1.5!
> 
> > There were a few more minor issues found with the build process.  But I
> > managed to build an image with the stock Fedora 4.x kernel, and primarily
> > F22 parts.
> 
> Can we create a f22 branch on the o-o-b git repo so we can all
> collaborate on this from one central place?

Use the master branch, please.  I've moved the Fedora 20 development
to a v8.0 branch.  So we stick to our existing branch habits.

http://dev.laptop.org/git/projects/olpc-os-builder

> > However the stock Fedora kernel does not have a hardcoded kernel command
> > line like OLPC kernels do, and trying to manually provide the command line
> > to boot a Fedora kernel still hung for me after OFW stated the ramdisk was
> > being loaded.
> 
> OK, got the command line or overview of what's required here? I have a
> branch of a multi platform MMP2 (1.75) kernel I was trying to get to
> boot on the 1.75 and having similar issues.
> 
> > I may look into this a bit more before resorting back to OLPC's 3.10 kernel
> > and seeing what works with that.
> >
> > (*) http://lists.sugarlabs.org/archive/sugar-devel/2015-April/050035.html
> >
> > On Wed, May 27, 2015 at 6:28 PM, James Cameron  wrote:
> >>
> >> On Wed, May 27, 2015 at 06:31:28AM -0700, George Hunt wrote:
> >> > If I set just the goals of getting keyboard input, and display output,
> >> > what
> >> > problems will I face trying to use defconfig_xo1.5 from
> >> > [1]dev.laptop.org
> >> > (x86-3.3 branch)?
> >> >
> >> > Does anyone have a config file that works on the XO1.5 on a Fedora
> >> > release
> >> > later than FC18 that I might springboard from?
> >>
> >> We used the olpc-3.10 branch to generate kernels for systems later
> >> than Fedora 18.
> >>
> >> --
> >> James Cameron
> >> http://quozl.linux.org.au/
> >> ___
> >> Devel mailing list
> >> de...@lists.laptop.org
> >> http://lists.laptop.org/listinfo/devel
> >
> >
> >
> > ___
> > Server-devel mailing list
> > Server-devel@lists.laptop.org
> > http://lists.laptop.org/listinfo/server-devel
> >
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel

-- 
James Cameron
http://quozl.linux.org.au/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Two (minimal) goals for a kernel for XO1.5 based upon fc22?

2015-05-28 Thread Peter Robinson
On Thu, May 28, 2015 at 9:05 AM, James Cameron  wrote:
> The v4.1-rc5 kernel boots fine on XO-1.5, though there are a few
> things to be fixed; screen blanks on boot, camera LED stays on and
> camera doesn't work, temperature of CPU is not accessible, and suspend
> fails to complete.  Some of these probably my haste.

Even more awesome, some of these are probably missing or changed
kernel options. Some of those kernel bits have changed a lot upstream.

> This meets George's requirements.
>
> The patch relative to v4.1-rc5:
> http://dev.laptop.org/~quozl/y/1YxsfX.txt

Do we have a 4.1 branch in the olpc-kernel git repo yet? Is it worth
it or would it be worthwhile me setting up one against the Fedora
upstream to allow us to more easily work there, rebase etc?

> The boot dmesg:
> http://dev.laptop.org/~quozl/z/1Yxsg9.txt
>
> You might take your favourite Fedora 22 kernel, apply that patch,
> fixing any conflicts, reconfigure the kernel, and build.
>
> Or you might compare the xo_1.5_defconfig against the Fedora 22 kernel
> .config.

I'm happy to help there.

> If you guys can help test and fix these apparently minor problems,
> then I can pull upstream into olpc-kernel repository and make a later
> branch.

Can we setup a git branch sooner rather than later as a central place
to pull the latest and greatest from.

> Chances are it would work fine with XO-1 too, with a bit of
> configuration merging.

Happy to help there. We likely need to rebase a few patches for camera
modules etc from the older branches, happy to help there where
possible.

> However, this doesn't help with XO-1.75 and XO-4, which are still just
> as large a job as they ever were.  ;-{  x86 is so easy.

I've got a possible route for the 1.75 as mentioned above, once we get
a 4.1 branch I can add that and see how much further on we can get
with that. XO-4 on the other hand, as you mention, is a massive job!
:-(

Peter

> On Wed, May 27, 2015 at 11:17:26PM -0400, Samuel Greenfeld wrote:
>> Given I looked into this before with F22 Beta(*), I ran OLPC OS
>> Builder tonight, excluding nothing from all repositories, and let it
>> loose.
>>
>> There were a few more minor issues found with the build process.
>> But I managed to build an image with the stock Fedora 4.x kernel,
>> and primarily F22 parts.
>>
>> However the stock Fedora kernel does not have a hardcoded kernel
>> command line like OLPC kernels do, and trying to manually provide
>> the command line to boot a Fedora kernel still hung for me after OFW
>> stated the ramdisk was being loaded.
>>
>> I may look into this a bit more before resorting back to OLPC's 3.10
>> kernel and seeing what works with that.
>>
>> (*) [1]http://lists.sugarlabs.org/archive/sugar-devel/2015-April/050035.html
>>
>> On Wed, May 27, 2015 at 6:28 PM, James Cameron <[2]qu...@laptop.org> wrote:
>>
>> On Wed, May 27, 2015 at 06:31:28AM -0700, George Hunt wrote:
>> > If I set just the goals of getting keyboard input, and display output,
>> what
>> > problems will I face trying to use defconfig_xo1.5 from [1][3]
>> dev.laptop.org
>> > (x86-3.3 branch)?
>> >
>> > Does anyone have a config file that works on the XO1.5 on a Fedora
>> release
>> > later than FC18 that I might springboard from?
>>
>> We used the olpc-3.10 branch to generate kernels for systems later
>> than Fedora 18.
>>
>> --
>> James Cameron
>> [4]http://quozl.linux.org.au/
>> ___
>> Devel mailing list
>> [5]de...@lists.laptop.org
>> [6]http://lists.laptop.org/listinfo/devel
>>
>> References:
>>
>> [1] http://lists.sugarlabs.org/archive/sugar-devel/2015-April/050035.html
>> [2] mailto:qu...@laptop.org
>> [3] http://dev.laptop.org/
>> [4] http://quozl.linux.org.au/
>> [5] mailto:de...@lists.laptop.org
>> [6] http://lists.laptop.org/listinfo/devel
>
>> ___
>> Server-devel mailing list
>> Server-devel@lists.laptop.org
>> http://lists.laptop.org/listinfo/server-devel
>
>
> --
> James Cameron
> http://quozl.linux.org.au/
> ___
> Devel mailing list
> de...@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Two (minimal) goals for a kernel for XO1.5 based upon fc22?

2015-05-28 Thread Peter Robinson
On Thu, May 28, 2015 at 4:17 AM, Samuel Greenfeld  wrote:
> Given I looked into this before with F22 Beta(*), I ran OLPC OS Builder
> tonight, excluding nothing from all repositories, and let it loose.

Funny! I was doing exactly the same yesterday for the 1.5!

> There were a few more minor issues found with the build process.  But I
> managed to build an image with the stock Fedora 4.x kernel, and primarily
> F22 parts.

Can we create a f22 branch on the o-o-b git repo so we can all
collaborate on this from one central place?

> However the stock Fedora kernel does not have a hardcoded kernel command
> line like OLPC kernels do, and trying to manually provide the command line
> to boot a Fedora kernel still hung for me after OFW stated the ramdisk was
> being loaded.

OK, got the command line or overview of what's required here? I have a
branch of a multi platform MMP2 (1.75) kernel I was trying to get to
boot on the 1.75 and having similar issues.

> I may look into this a bit more before resorting back to OLPC's 3.10 kernel
> and seeing what works with that.
>
> (*) http://lists.sugarlabs.org/archive/sugar-devel/2015-April/050035.html
>
> On Wed, May 27, 2015 at 6:28 PM, James Cameron  wrote:
>>
>> On Wed, May 27, 2015 at 06:31:28AM -0700, George Hunt wrote:
>> > If I set just the goals of getting keyboard input, and display output,
>> > what
>> > problems will I face trying to use defconfig_xo1.5 from
>> > [1]dev.laptop.org
>> > (x86-3.3 branch)?
>> >
>> > Does anyone have a config file that works on the XO1.5 on a Fedora
>> > release
>> > later than FC18 that I might springboard from?
>>
>> We used the olpc-3.10 branch to generate kernels for systems later
>> than Fedora 18.
>>
>> --
>> James Cameron
>> http://quozl.linux.org.au/
>> ___
>> Devel mailing list
>> de...@lists.laptop.org
>> http://lists.laptop.org/listinfo/devel
>
>
>
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Two (minimal) goals for a kernel for XO1.5 based upon fc22?

2015-05-28 Thread James Cameron
The v4.1-rc5 kernel boots fine on XO-1.5, though there are a few
things to be fixed; screen blanks on boot, camera LED stays on and
camera doesn't work, temperature of CPU is not accessible, and suspend
fails to complete.  Some of these probably my haste.

This meets George's requirements.

The patch relative to v4.1-rc5:
http://dev.laptop.org/~quozl/y/1YxsfX.txt

The boot dmesg:
http://dev.laptop.org/~quozl/z/1Yxsg9.txt

You might take your favourite Fedora 22 kernel, apply that patch,
fixing any conflicts, reconfigure the kernel, and build.

Or you might compare the xo_1.5_defconfig against the Fedora 22 kernel
.config.

If you guys can help test and fix these apparently minor problems,
then I can pull upstream into olpc-kernel repository and make a later
branch.

Chances are it would work fine with XO-1 too, with a bit of
configuration merging.

However, this doesn't help with XO-1.75 and XO-4, which are still just
as large a job as they ever were.  ;-{  x86 is so easy.

On Wed, May 27, 2015 at 11:17:26PM -0400, Samuel Greenfeld wrote:
> Given I looked into this before with F22 Beta(*), I ran OLPC OS
> Builder tonight, excluding nothing from all repositories, and let it
> loose.
> 
> There were a few more minor issues found with the build process. 
> But I managed to build an image with the stock Fedora 4.x kernel,
> and primarily F22 parts.
> 
> However the stock Fedora kernel does not have a hardcoded kernel
> command line like OLPC kernels do, and trying to manually provide
> the command line to boot a Fedora kernel still hung for me after OFW
> stated the ramdisk was being loaded.
> 
> I may look into this a bit more before resorting back to OLPC's 3.10
> kernel and seeing what works with that.
> 
> (*) [1]http://lists.sugarlabs.org/archive/sugar-devel/2015-April/050035.html
> 
> On Wed, May 27, 2015 at 6:28 PM, James Cameron <[2]qu...@laptop.org> wrote:
> 
> On Wed, May 27, 2015 at 06:31:28AM -0700, George Hunt wrote:
> > If I set just the goals of getting keyboard input, and display output,
> what
> > problems will I face trying to use defconfig_xo1.5 from [1][3]
> dev.laptop.org
> > (x86-3.3 branch)?
> >
> > Does anyone have a config file that works on the XO1.5 on a Fedora
> release
> > later than FC18 that I might springboard from?
> 
> We used the olpc-3.10 branch to generate kernels for systems later
> than Fedora 18.
>
> --
> James Cameron
> [4]http://quozl.linux.org.au/
> ___
> Devel mailing list
> [5]de...@lists.laptop.org
> [6]http://lists.laptop.org/listinfo/devel
> 
> References:
> 
> [1] http://lists.sugarlabs.org/archive/sugar-devel/2015-April/050035.html
> [2] mailto:qu...@laptop.org
> [3] http://dev.laptop.org/
> [4] http://quozl.linux.org.au/
> [5] mailto:de...@lists.laptop.org
> [6] http://lists.laptop.org/listinfo/devel

> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel


-- 
James Cameron
http://quozl.linux.org.au/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel