Re: [beagleboard] [OT]: ATMEL AT91SAM9G25/ARM926EJ-S Helpneededforinterpretationofadmesgmessage

2014-12-02 Thread meino . cramer
Robert Nelson robertcnel...@gmail.com [14-12-01 16:56]:
  Hi Robert,
 
  thank you for your posting! :)
 
  THATS really good news: Independance from any specialized
  patches! :)
 
  Only to ensure, that I am not confusing things again:
  I interpret Mainline as: Take a kernel from ftp.kernel.org
  Or does the free-electrons guys took over mach-at91 mean,
  that I should search their site for their kernel sources?
 
 The free-electron guys only work on mainline, so all their patches are
 heading to mainline. (kernel.org) For the last 2 kernel releases's
 they've cleaning up everything in mach-at91 and pushing everything to
 device tree's.
 
 Regards,
 
 -- 
 Robert Nelson
 http://www.rcn-ee.com/
 
 -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google Groups 
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.
 


Hi Robert,


THANK YOU SO MUCH FOR THAT HINT!

:)

The new kernel version and the hint from Acmesystems
mailing list to explicitely set the XTALs clock frequencies
in the dts file are the solutions for both problems -- the
running clock and not being able to poweroff the board!

Now the clock is just *in* time and poweroff powers off the
board.

GREAT!
I am happy!
Thank you VERY much!

Best regards,
Meino

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] [OT]: ATMEL AT91SAM9G25/ARM926EJ-S Helpneededforinterpretationofadmesgmessage

2014-12-01 Thread meino . cramer
Robert Nelson robertcnel...@gmail.com [14-12-01 16:56]:
  Hi Robert,
 
  thank you for your posting! :)
 
  THATS really good news: Independance from any specialized
  patches! :)
 
  Only to ensure, that I am not confusing things again:
  I interpret Mainline as: Take a kernel from ftp.kernel.org
  Or does the free-electrons guys took over mach-at91 mean,
  that I should search their site for their kernel sources?
 
 The free-electron guys only work on mainline, so all their patches are
 heading to mainline. (kernel.org) For the last 2 kernel releases's
 they've cleaning up everything in mach-at91 and pushing everything to
 device tree's.
 
 Regards,
 
 -- 
 Robert Nelson
 http://www.rcn-ee.com/
 
 -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google Groups 
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.
 

Hi Robert,

THANK YOU ! :))

Best regards,
Meino


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] [OT]: ATMEL AT91SAM9G25/ARM926EJ-S Helpneededforinterpretationofadmesgmessage

2014-11-30 Thread meino . cramer
Hi,

I am using a Arietta G25 (http://www.acmesystems.it/arietta) with 
Robert Nelsons Kernel 3.17.3 and the kernel configuration provided
by Acmesystems for their Debian Linux for the Arietta G25 based on 
Linux kernel 3.16.1.
As far as I know the only patches they used are agains dts/dtb files
(I use the same ones) and to configure the kernel without the need of
using makeconfig.

So far so nice...the system boots with a Gentoo stage3 rootfs.

There only two things left:
1.) shuthdown -h -H now (as said to be used by Acmesystems) reboots
the system instead of powering it off (which works with their
image).

2.) The at91 RTC is missing the Real...the difference are several
minutes per hour.

I compared the dmesg output of the Arietta G25 booted with one and
the other system. With the Gentoo system there is one line which
irritates me and may indicate a way to a solution for the RTC problem:

[0.00] Main crystal frequency not set, using approximate value
[0.00] master clk is overclocked
[0.00] sched_clock: 32 bits at 128 Hz, resolution 7812500ns, wraps 
every 167772160ns
[0.00] Console: colour dummy device 80x30
[0.054687] Calibrating delay loop... 220.07 BogoMIPS (lpj=862208)

The clock frequency of the CPU is unknown??? The Debian system does
not have that problem...

Any suggestion how to fix one or (better! :) both problem is VERY 8)
appreciated! Thank you very much in advance for any help!

Best regards,
Meino



-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] [OT]: ATMEL AT91SAM9G25/ARM926EJ-S Helpneededforinterpretationofadmesgmessage

2014-11-30 Thread liyaoshi
About the time clock , as I know , its about the crystal , called jitter ?
You can correct it with NTP client or GPS , ( if you have gps )

2014-11-30 23:55 GMT+08:00 meino.cra...@gmx.de:

 Hi,

 I am using a Arietta G25 (http://www.acmesystems.it/arietta) with
 Robert Nelsons Kernel 3.17.3 and the kernel configuration provided
 by Acmesystems for their Debian Linux for the Arietta G25 based on
 Linux kernel 3.16.1.
 As far as I know the only patches they used are agains dts/dtb files
 (I use the same ones) and to configure the kernel without the need of
 using makeconfig.

 So far so nice...the system boots with a Gentoo stage3 rootfs.

 There only two things left:
 1.) shuthdown -h -H now (as said to be used by Acmesystems) reboots
 the system instead of powering it off (which works with their
 image).

 2.) The at91 RTC is missing the Real...the difference are several
 minutes per hour.

 I compared the dmesg output of the Arietta G25 booted with one and
 the other system. With the Gentoo system there is one line which
 irritates me and may indicate a way to a solution for the RTC problem:

 [0.00] Main crystal frequency not set, using approximate value
 [0.00] master clk is overclocked
 [0.00] sched_clock: 32 bits at 128 Hz, resolution 7812500ns, wraps
 every 167772160ns
 [0.00] Console: colour dummy device 80x30
 [0.054687] Calibrating delay loop... 220.07 BogoMIPS (lpj=862208)

 The clock frequency of the CPU is unknown??? The Debian system does
 not have that problem...

 Any suggestion how to fix one or (better! :) both problem is VERY 8)
 appreciated! Thank you very much in advance for any help!

 Best regards,
 Meino



 --
 For more options, visit http://beagleboard.org/discuss
 ---
 You received this message because you are subscribed to the Google Groups
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] [OT]: ATMEL AT91SAM9G25/ARM926EJ-S Helpneededforinterpretationofadmesgmessage

2014-11-30 Thread meino . cramer
Hi liyaoshi,

thanks for your posting!

I am not searching for workaround -- the small Arietta will
become a mobile device which has no connection to the
internet.

I am searching for the reasons of the two problems and want
to fix the (currently unknown) bugs behind that.

Even without sync an RTC should not become THAT wrong as
the RTC of the Arietta currently.

What does this dump from dmesg mean?

Best regards,
Meino




liyaoshi liyao...@gmail.com [14-12-01 02:57]:
 About the time clock , as I know , its about the crystal , called jitter ?
 You can correct it with NTP client or GPS , ( if you have gps )
 
 2014-11-30 23:55 GMT+08:00 meino.cra...@gmx.de:
 
  Hi,
 
  I am using a Arietta G25 (http://www.acmesystems.it/arietta) with
  Robert Nelsons Kernel 3.17.3 and the kernel configuration provided
  by Acmesystems for their Debian Linux for the Arietta G25 based on
  Linux kernel 3.16.1.
  As far as I know the only patches they used are agains dts/dtb files
  (I use the same ones) and to configure the kernel without the need of
  using makeconfig.
 
  So far so nice...the system boots with a Gentoo stage3 rootfs.
 
  There only two things left:
  1.) shuthdown -h -H now (as said to be used by Acmesystems) reboots
  the system instead of powering it off (which works with their
  image).
 
  2.) The at91 RTC is missing the Real...the difference are several
  minutes per hour.
 
  I compared the dmesg output of the Arietta G25 booted with one and
  the other system. With the Gentoo system there is one line which
  irritates me and may indicate a way to a solution for the RTC problem:
 
  [0.00] Main crystal frequency not set, using approximate value
  [0.00] master clk is overclocked
  [0.00] sched_clock: 32 bits at 128 Hz, resolution 7812500ns, wraps
  every 167772160ns
  [0.00] Console: colour dummy device 80x30
  [0.054687] Calibrating delay loop... 220.07 BogoMIPS (lpj=862208)
 
  The clock frequency of the CPU is unknown??? The Debian system does
  not have that problem...
 
  Any suggestion how to fix one or (better! :) both problem is VERY 8)
  appreciated! Thank you very much in advance for any help!
 
  Best regards,
  Meino
 
 
 
  --
  For more options, visit http://beagleboard.org/discuss
  ---
  You received this message because you are subscribed to the Google Groups
  BeagleBoard group.
  To unsubscribe from this group and stop receiving emails from it, send an
  email to beagleboard+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.
 
 
 -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google Groups 
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] [OT]: ATMEL AT91SAM9G25/ARM926EJ-S Helpneededforinterpretationofadmesgmessage

2014-11-30 Thread liyaoshi
seems dts config file error , but from

http://www.acmesystems.it/compile_linux_3_16

maybe you should try this patch
http://www.acmesystems.it/www/compile_linux_3_16/acme.patch

or can you show up your patch ?

2014-12-01 10:38 GMT+08:00 meino.cra...@gmx.de:

 Hi liyaoshi,

 thanks for your posting!

 I am not searching for workaround -- the small Arietta will
 become a mobile device which has no connection to the
 internet.

 I am searching for the reasons of the two problems and want
 to fix the (currently unknown) bugs behind that.

 Even without sync an RTC should not become THAT wrong as
 the RTC of the Arietta currently.

 What does this dump from dmesg mean?

 Best regards,
 Meino




 liyaoshi liyao...@gmail.com [14-12-01 02:57]:
  About the time clock , as I know , its about the crystal , called jitter
 ?
  You can correct it with NTP client or GPS , ( if you have gps )
 
  2014-11-30 23:55 GMT+08:00 meino.cra...@gmx.de:
 
   Hi,
  
   I am using a Arietta G25 (http://www.acmesystems.it/arietta) with
   Robert Nelsons Kernel 3.17.3 and the kernel configuration provided
   by Acmesystems for their Debian Linux for the Arietta G25 based on
   Linux kernel 3.16.1.
   As far as I know the only patches they used are agains dts/dtb files
   (I use the same ones) and to configure the kernel without the need of
   using makeconfig.
  
   So far so nice...the system boots with a Gentoo stage3 rootfs.
  
   There only two things left:
   1.) shuthdown -h -H now (as said to be used by Acmesystems) reboots
   the system instead of powering it off (which works with their
   image).
  
   2.) The at91 RTC is missing the Real...the difference are several
   minutes per hour.
  
   I compared the dmesg output of the Arietta G25 booted with one and
   the other system. With the Gentoo system there is one line which
   irritates me and may indicate a way to a solution for the RTC problem:
  
   [0.00] Main crystal frequency not set, using approximate value
   [0.00] master clk is overclocked
   [0.00] sched_clock: 32 bits at 128 Hz, resolution 7812500ns,
 wraps
   every 167772160ns
   [0.00] Console: colour dummy device 80x30
   [0.054687] Calibrating delay loop... 220.07 BogoMIPS (lpj=862208)
  
   The clock frequency of the CPU is unknown??? The Debian system does
   not have that problem...
  
   Any suggestion how to fix one or (better! :) both problem is VERY 8)
   appreciated! Thank you very much in advance for any help!
  
   Best regards,
   Meino
  
  
  
   --
   For more options, visit http://beagleboard.org/discuss
   ---
   You received this message because you are subscribed to the Google
 Groups
   BeagleBoard group.
   To unsubscribe from this group and stop receiving emails from it, send
 an
   email to beagleboard+unsubscr...@googlegroups.com.
   For more options, visit https://groups.google.com/d/optout.
  
 
  --
  For more options, visit http://beagleboard.org/discuss
  ---
  You received this message because you are subscribed to the Google
 Groups BeagleBoard group.
  To unsubscribe from this group and stop receiving emails from it, send
 an email to beagleboard+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.

 --
 For more options, visit http://beagleboard.org/discuss
 ---
 You received this message because you are subscribed to the Google Groups
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] [OT]: ATMEL AT91SAM9G25/ARM926EJ-S Helpneededforinterpretationofadmesgmessage

2014-11-30 Thread Robert Nelson
On Sun, Nov 30, 2014 at 8:59 PM, liyaoshi liyao...@gmail.com wrote:
 seems dts config file error , but from

 http://www.acmesystems.it/compile_linux_3_16

 maybe you should try this patch
 http://www.acmesystems.it/www/compile_linux_3_16/acme.patch

That's for the Cortex-A5 from Atmel, the Arietta G25 should be fully
supported on mainline.

There's been lots of rtc changes, you should retry with 3.18-rc7, as
the free-electrons guys took over mach-at91..

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] [OT]: ATMEL AT91SAM9G25/ARM926EJ-S Helpneededforinterpretationofadmesgmessage

2014-11-30 Thread meino . cramer
Hi liyaoshi,

in the meanwhile I digged deeper into the kernel
and found, that in Linux 3.17.3 there is a new
configuration item AT91_USE_OLD_CLK which is set
to n which in turn set USE_OLD_CLK to n.
But last get set when using Linux 3.16.1.
I compiled Linux 3.16.1 with the instructions
of Acmesystems (including the patch, which inserts
some dts files and the kernel configuration itsself)
and it seems (no long period done though) that the
RTC problem is gone.

As Robert mentioned in his mail to this thread,
there were a lot of RTC changes AND (TADA!) 
the Arietta should be supported by the mainline kernel,
which in turn makes me completly independant from any
patches by acmesystems (*NO* inplicite or explicite cirtism
intended here!!!), which are GOOD news.

Gentlemen...start your compilers!
Best regards,
Meino


liyaoshi liyao...@gmail.com [14-12-01 04:04]:
 seems dts config file error , but from
 
 http://www.acmesystems.it/compile_linux_3_16
 
 maybe you should try this patch
 http://www.acmesystems.it/www/compile_linux_3_16/acme.patch
 
 or can you show up your patch ?
 
 2014-12-01 10:38 GMT+08:00 meino.cra...@gmx.de:
 
  Hi liyaoshi,
 
  thanks for your posting!
 
  I am not searching for workaround -- the small Arietta will
  become a mobile device which has no connection to the
  internet.
 
  I am searching for the reasons of the two problems and want
  to fix the (currently unknown) bugs behind that.
 
  Even without sync an RTC should not become THAT wrong as
  the RTC of the Arietta currently.
 
  What does this dump from dmesg mean?
 
  Best regards,
  Meino
 
 
 
 
  liyaoshi liyao...@gmail.com [14-12-01 02:57]:
   About the time clock , as I know , its about the crystal , called jitter
  ?
   You can correct it with NTP client or GPS , ( if you have gps )
  
   2014-11-30 23:55 GMT+08:00 meino.cra...@gmx.de:
  
Hi,
   
I am using a Arietta G25 (http://www.acmesystems.it/arietta) with
Robert Nelsons Kernel 3.17.3 and the kernel configuration provided
by Acmesystems for their Debian Linux for the Arietta G25 based on
Linux kernel 3.16.1.
As far as I know the only patches they used are agains dts/dtb files
(I use the same ones) and to configure the kernel without the need of
using makeconfig.
   
So far so nice...the system boots with a Gentoo stage3 rootfs.
   
There only two things left:
1.) shuthdown -h -H now (as said to be used by Acmesystems) reboots
the system instead of powering it off (which works with their
image).
   
2.) The at91 RTC is missing the Real...the difference are several
minutes per hour.
   
I compared the dmesg output of the Arietta G25 booted with one and
the other system. With the Gentoo system there is one line which
irritates me and may indicate a way to a solution for the RTC problem:
   
[0.00] Main crystal frequency not set, using approximate value
[0.00] master clk is overclocked
[0.00] sched_clock: 32 bits at 128 Hz, resolution 7812500ns,
  wraps
every 167772160ns
[0.00] Console: colour dummy device 80x30
[0.054687] Calibrating delay loop... 220.07 BogoMIPS (lpj=862208)
   
The clock frequency of the CPU is unknown??? The Debian system does
not have that problem...
   
Any suggestion how to fix one or (better! :) both problem is VERY 8)
appreciated! Thank you very much in advance for any help!
   
Best regards,
Meino
   
   
   
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google
  Groups
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send
  an
email to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
   
  
   --
   For more options, visit http://beagleboard.org/discuss
   ---
   You received this message because you are subscribed to the Google
  Groups BeagleBoard group.
   To unsubscribe from this group and stop receiving emails from it, send
  an email to beagleboard+unsubscr...@googlegroups.com.
   For more options, visit https://groups.google.com/d/optout.
 
  --
  For more options, visit http://beagleboard.org/discuss
  ---
  You received this message because you are subscribed to the Google Groups
  BeagleBoard group.
  To unsubscribe from this group and stop receiving emails from it, send an
  email to beagleboard+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.
 
 
 -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google Groups 
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
For more options, visit 

Re: [beagleboard] [OT]: ATMEL AT91SAM9G25/ARM926EJ-S Helpneededforinterpretationofadmesgmessage

2014-11-30 Thread meino . cramer
Robert Nelson robertcnel...@gmail.com [14-12-01 04:04]:
 On Sun, Nov 30, 2014 at 8:59 PM, liyaoshi liyao...@gmail.com wrote:
  seems dts config file error , but from
 
  http://www.acmesystems.it/compile_linux_3_16
 
  maybe you should try this patch
  http://www.acmesystems.it/www/compile_linux_3_16/acme.patch
 
 That's for the Cortex-A5 from Atmel, the Arietta G25 should be fully
 supported on mainline.
 
 There's been lots of rtc changes, you should retry with 3.18-rc7, as
 the free-electrons guys took over mach-at91..
 
 Regards,
 
 -- 
 Robert Nelson
 http://www.rcn-ee.com/
 
 -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google Groups 
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.
 

Hi Robert,

thank you for your posting! :)

THATS really good news: Independance from any specialized
patches! :)

Only to ensure, that I am not confusing things again:
I interpret Mainline as: Take a kernel from ftp.kernel.org
Or does the free-electrons guys took over mach-at91 mean,
that I should search their site for their kernel sources?

Best regards,
Meino





-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] [OT]: ATMEL AT91SAM9G25/ARM926EJ-S Helpneededforinterpretationofadmesgmessage

2014-11-30 Thread Robert Nelson
 Hi Robert,

 thank you for your posting! :)

 THATS really good news: Independance from any specialized
 patches! :)

 Only to ensure, that I am not confusing things again:
 I interpret Mainline as: Take a kernel from ftp.kernel.org
 Or does the free-electrons guys took over mach-at91 mean,
 that I should search their site for their kernel sources?

The free-electron guys only work on mainline, so all their patches are
heading to mainline. (kernel.org) For the last 2 kernel releases's
they've cleaning up everything in mach-at91 and pushing everything to
device tree's.

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.