Re: [linux-sunxi] [PATCH 3.4 0/4] Various fixes to make linux-sunxi work with new u-boot

2015-10-22 Thread Siarhei Siamashka
Hello,

On Sat, 21 Feb 2015 16:47:20 +0100
Hans de Goede  wrote:

> Note that sunxi-3.4/staging currently does not work for me (on sun5i at least)
> (*) so these patches have only been tested on the sunxi-3.4 branch.
> 
> Regards,
> 
> Hans
> 
> *) It does not boot at all for some reason, not a single message is printed
> on the serial console after u-boot has loaded the kernel. I'm afraid I do not
> have the time to investigate this.

I'm afraid that we have no other choice but to finally dismiss this
bugreport as invalid. Nobody was ever able to confirm this problem
yet and your report lacks even the most basic information (such as
the type of hardware that you were using for testing, the exact FEX
file, a confirmation that you used unmodified default kernel config,
etc.)

Thanks.

-- 
Best regards,
Siarhei Siamashka

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


Re: [linux-sunxi] [PATCH 3.4 0/4] Various fixes to make linux-sunxi work with new u-boot

2015-03-20 Thread Paul Kocialkowski
Le mercredi 18 mars 2015 à 10:24 +0200, Siarhei Siamashka a écrit :
 On Sun, 15 Mar 2015 15:05:42 +0100
 Paul Kocialkowski cont...@paulk.fr wrote:
 
  Le dimanche 15 mars 2015 à 14:10 +0200, Siarhei Siamashka a écrit :
   On Sun, 15 Mar 2015 12:12:00 +0100
   Paul Kocialkowski cont...@paulk.fr wrote:
   
Le mardi 24 février 2015 à 11:58 +0200, Siarhei Siamashka a écrit :
 On Sat, 21 Feb 2015 16:47:20 +0100
 Hans de Goede hdego...@redhat.com wrote:
 
  Hi all,
  
  Newer u-boot versions may chose a different (better) PLL6 / PLL5 
  setting
  and/or different voltage settings. Unfortunately the old 
  linux-sunxi-3.4
  kernels have a number of hardcoded assumptions about PLL5 speed, 
  and in some
  cases override the bootloader chosen PLL6 / voltages in a bad way.
  
  This patch series fixes this and is intended for the sunxi-3.4 
  branch. The
  first 2 patches are already in sunxi-3.4/staging, but they should 
  really also
  be added to the sunxi-3.4 branch. The 2 new patches should be added 
  to both.
  
  Note that sunxi-3.4/staging currently does not work for me (on 
  sun5i at least)
  (*) so these patches have only been tested on the sunxi-3.4 branch.
  
  Regards,
  
  Hans
  
  *) It does not boot at all for some reason, not a single message is 
  printed
  on the serial console after u-boot has loaded the kernel. I'm 
  afraid I do not
  have the time to investigate this.
 
 Thanks. I will allocate the next few days of my time on checking 
 what's
 up with sunxi-3.4 and maybe we can make the final graduation release
 for it.

Any news on that front?
   
   Thanks for reminding.
   
   Well, the news is that I could not reproduce the alleged sun5i problem
   with the stage/sunxi-3.4 branch on my A13-OLinuXino-Micro board. Which
   obviously means that I can't debug it.
  
  Well, last time I checked, I didn't experience any particular problem
  with mainline U-Boot and sunxi-3.4 on sun5i/A13 but I probably lack
  context on this.
 
 There was just a report that the current sunxi-3.4 branch is good and
 the stage/sunxi-3.4 is bad on sun5i hardware. But I could not confirm
 this myself.
 
 Now we have a kind of The Three Musketeers scenario :-) Some users had
 been lost along the way just because they have settled with some old
 sunxi-3.4 release, which worked good enough for them. And these users
 don't have any motivation for upgrading further. For example, this is
 exactly what Olimex is doing with the 3.4 kernel:
 
 https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A20/A20-build
 
 Apparently they settled with 36080eb05e9a1e96d58e3168631d3cc9c612a0e3
 revision and also carry some extra patches of their own.
 
 Then Olimex discovered the interoperability problem with the mainline
 u-boot (in a hard way, because the failure was non-obvious) and
 complained in the mailing list. This thread is exactly a response
 to the Olimex problem. However we have not heard from them back. And
 this probably means that they just made their legacy snapshot work
 correctly but could not care less about the fixes in the up to date
 sunxi-3.4 and stage/sunxi-3.4 branches.
 
 Effectively, we have no real testers for the newest fixes. To add an
 insult to injury, there is also a vague report about the problems on
 sun5i hardware in the stage/sunxi-3.4 branch. Very nice, isn't it?
 
 Anyway, the patches are now in the stage/sunxi-3.4 branch and the
 relevant information is available in the linux-sunxi wiki:
 
 http://linux-sunxi.org/Mainline_U-boot#Troubleshooting
 
 This should cover all the use cases. And I think that the problem is
 basically resolved now.

Thanks for pushing this. As I stated already, I didn't have much trouble
with sun5i nor do I have any of the problems experienced by Olimex
related to the PLLs rate (or maybe I do and didn't notice).

Anyway, I understand that you're not in a comfortable situation
regarding this and I understand the position of not investigating if the
concerned people are not around nor willing to see the issues resolved.

   Combined with Tsvetan's lack of any sign of response or any indications
   that anyone else could be interested, I don't feel very much motivated
   to do the communication part of the job, which is required to clarify
   the status of these 3.4 branches and move them forward.
  
  Still, I would be interested in having a sunxi-3.4 branch that can
  actually be used on all the supported chips and devices.
 
 Well, the idea is that it already can be used on all the supported
 chips and devices.
 
 And nobody needs to touch it anymore unless users report real problems.
 There is simply no time to do this work. There is even no time to review
 patches, which do not address important problems.

I am starting to see that, I have submitted the same series for the
third time a few days 

Re: [linux-sunxi] [PATCH 3.4 0/4] Various fixes to make linux-sunxi work with new u-boot

2015-03-18 Thread Siarhei Siamashka
On Sun, 15 Mar 2015 15:05:42 +0100
Paul Kocialkowski cont...@paulk.fr wrote:

 Le dimanche 15 mars 2015 à 14:10 +0200, Siarhei Siamashka a écrit :
  On Sun, 15 Mar 2015 12:12:00 +0100
  Paul Kocialkowski cont...@paulk.fr wrote:
  
   Le mardi 24 février 2015 à 11:58 +0200, Siarhei Siamashka a écrit :
On Sat, 21 Feb 2015 16:47:20 +0100
Hans de Goede hdego...@redhat.com wrote:

 Hi all,
 
 Newer u-boot versions may chose a different (better) PLL6 / PLL5 
 setting
 and/or different voltage settings. Unfortunately the old 
 linux-sunxi-3.4
 kernels have a number of hardcoded assumptions about PLL5 speed, and 
 in some
 cases override the bootloader chosen PLL6 / voltages in a bad way.
 
 This patch series fixes this and is intended for the sunxi-3.4 
 branch. The
 first 2 patches are already in sunxi-3.4/staging, but they should 
 really also
 be added to the sunxi-3.4 branch. The 2 new patches should be added 
 to both.
 
 Note that sunxi-3.4/staging currently does not work for me (on sun5i 
 at least)
 (*) so these patches have only been tested on the sunxi-3.4 branch.
 
 Regards,
 
 Hans
 
 *) It does not boot at all for some reason, not a single message is 
 printed
 on the serial console after u-boot has loaded the kernel. I'm afraid 
 I do not
 have the time to investigate this.

Thanks. I will allocate the next few days of my time on checking what's
up with sunxi-3.4 and maybe we can make the final graduation release
for it.
   
   Any news on that front?
  
  Thanks for reminding.
  
  Well, the news is that I could not reproduce the alleged sun5i problem
  with the stage/sunxi-3.4 branch on my A13-OLinuXino-Micro board. Which
  obviously means that I can't debug it.
 
 Well, last time I checked, I didn't experience any particular problem
 with mainline U-Boot and sunxi-3.4 on sun5i/A13 but I probably lack
 context on this.

There was just a report that the current sunxi-3.4 branch is good and
the stage/sunxi-3.4 is bad on sun5i hardware. But I could not confirm
this myself.

Now we have a kind of The Three Musketeers scenario :-) Some users had
been lost along the way just because they have settled with some old
sunxi-3.4 release, which worked good enough for them. And these users
don't have any motivation for upgrading further. For example, this is
exactly what Olimex is doing with the 3.4 kernel:

https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A20/A20-build

Apparently they settled with 36080eb05e9a1e96d58e3168631d3cc9c612a0e3
revision and also carry some extra patches of their own.

Then Olimex discovered the interoperability problem with the mainline
u-boot (in a hard way, because the failure was non-obvious) and
complained in the mailing list. This thread is exactly a response
to the Olimex problem. However we have not heard from them back. And
this probably means that they just made their legacy snapshot work
correctly but could not care less about the fixes in the up to date
sunxi-3.4 and stage/sunxi-3.4 branches.

Effectively, we have no real testers for the newest fixes. To add an
insult to injury, there is also a vague report about the problems on
sun5i hardware in the stage/sunxi-3.4 branch. Very nice, isn't it?

Anyway, the patches are now in the stage/sunxi-3.4 branch and the
relevant information is available in the linux-sunxi wiki:

http://linux-sunxi.org/Mainline_U-boot#Troubleshooting

This should cover all the use cases. And I think that the problem is
basically resolved now.

  Combined with Tsvetan's lack of any sign of response or any indications
  that anyone else could be interested, I don't feel very much motivated
  to do the communication part of the job, which is required to clarify
  the status of these 3.4 branches and move them forward.
 
 Still, I would be interested in having a sunxi-3.4 branch that can
 actually be used on all the supported chips and devices.

Well, the idea is that it already can be used on all the supported
chips and devices.

And nobody needs to touch it anymore unless users report real problems.
There is simply no time to do this work. There is even no time to review
patches, which do not address important problems.

   I have been trying to boot sunxi-3.4 on sun7i/A20 using upstream U-Boot,
   with no success. I tried the current sunxi-3.4 branch and stage/sunxi-3.4,
   with and without these patches.
   
   It never prints anything on serial.
  
  Most likely you are missing the setenv bootm_boot_mode sec line in
  your boot.cmd (otherwise the PSCI code in u-boot drops the CPU into
  the non-secure mode and the sunxi-3.4 kernel can't handle it).
 
 That could be it, I'll investigate.

Thanks.

  The documentation in the wiki about the mainline u-boot is in a
  pretty much bad shape, but at least this should be covered:
  
  http://linux-sunxi.org/Mainline_U-boot#Boot
  
  

Re: [linux-sunxi] [PATCH 3.4 0/4] Various fixes to make linux-sunxi work with new u-boot

2015-03-15 Thread Code Kipper
On 15 March 2015 at 12:12, Paul Kocialkowski cont...@paulk.fr wrote:
 Le mardi 24 février 2015 à 11:58 +0200, Siarhei Siamashka a écrit :
 On Sat, 21 Feb 2015 16:47:20 +0100
 Hans de Goede hdego...@redhat.com wrote:

  Hi all,
 
  Newer u-boot versions may chose a different (better) PLL6 / PLL5 setting
  and/or different voltage settings. Unfortunately the old linux-sunxi-3.4
  kernels have a number of hardcoded assumptions about PLL5 speed, and in 
  some
  cases override the bootloader chosen PLL6 / voltages in a bad way.
 
  This patch series fixes this and is intended for the sunxi-3.4 branch. The
  first 2 patches are already in sunxi-3.4/staging, but they should really 
  also
  be added to the sunxi-3.4 branch. The 2 new patches should be added to 
  both.
 
  Note that sunxi-3.4/staging currently does not work for me (on sun5i at 
  least)
  (*) so these patches have only been tested on the sunxi-3.4 branch.
 
  Regards,
 
  Hans
 
  *) It does not boot at all for some reason, not a single message is printed
  on the serial console after u-boot has loaded the kernel. I'm afraid I do 
  not
  have the time to investigate this.

 Thanks. I will allocate the next few days of my time on checking what's
 up with sunxi-3.4 and maybe we can make the final graduation release
 for it.

 Any news on that front? I have been trying to boot sunxi-3.4 on
 sun7i/A20 using upstream U-Boot, with no success. I tried the current
 sunxi-3.4 branch and stage/sunxi-3.4, with and without these patches.

Hi Paul,
Pinged you on irc. I've been booting stage/sunxi-3.4 with mainline over fel
using this script and boot.cmd
http://pastebin.com/EneW2jgA http://pastebin.com/BfCUVAgB
I will try sticking it on an sdcard unfortunately at the moment all my serial
to usb converters seem dead so I've got no way of getting a log.
Good luck,
CK
 It never prints anything on serial. On the other hand, I was able to
 boot mainline Linux (3.19) just fine.

 --
 Paul Kocialkowski, Replicant developer

 Replicant is a fully free Android distribution running on several
 devices, a free software mobile operating system putting the emphasis on
 freedom and privacy/security.

 Website: http://www.replicant.us/
 Blog: http://blog.replicant.us/
 Wiki/tracker/forums: http://redmine.replicant.us/

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

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


Re: [linux-sunxi] [PATCH 3.4 0/4] Various fixes to make linux-sunxi work with new u-boot

2015-03-15 Thread Code Kipper
On 15 March 2015 at 12:23, Code Kipper codekip...@gmail.com wrote:
 On 15 March 2015 at 12:12, Paul Kocialkowski cont...@paulk.fr wrote:
 Le mardi 24 février 2015 à 11:58 +0200, Siarhei Siamashka a écrit :
 On Sat, 21 Feb 2015 16:47:20 +0100
 Hans de Goede hdego...@redhat.com wrote:

  Hi all,
 
  Newer u-boot versions may chose a different (better) PLL6 / PLL5 setting
  and/or different voltage settings. Unfortunately the old linux-sunxi-3.4
  kernels have a number of hardcoded assumptions about PLL5 speed, and in 
  some
  cases override the bootloader chosen PLL6 / voltages in a bad way.
 
  This patch series fixes this and is intended for the sunxi-3.4 branch. The
  first 2 patches are already in sunxi-3.4/staging, but they should really 
  also
  be added to the sunxi-3.4 branch. The 2 new patches should be added to 
  both.
 
  Note that sunxi-3.4/staging currently does not work for me (on sun5i at 
  least)
  (*) so these patches have only been tested on the sunxi-3.4 branch.
 
  Regards,
 
  Hans
 
  *) It does not boot at all for some reason, not a single message is 
  printed
  on the serial console after u-boot has loaded the kernel. I'm afraid I do 
  not
  have the time to investigate this.

 Thanks. I will allocate the next few days of my time on checking what's
 up with sunxi-3.4 and maybe we can make the final graduation release
 for it.

 Any news on that front? I have been trying to boot sunxi-3.4 on
 sun7i/A20 using upstream U-Boot, with no success. I tried the current
 sunxi-3.4 branch and stage/sunxi-3.4, with and without these patches.

 Hi Paul,
 Pinged you on irc. I've been booting stage/sunxi-3.4 with mainline over fel
 using this script and boot.cmd
 http://pastebin.com/EneW2jgA http://pastebin.com/BfCUVAgB
 I will try sticking it on an sdcard unfortunately at the moment all my serial
 to usb converters seem dead so I've got no way of getting a log.
 Good luck,
 CK
Oopsforgot to add that needed to set legacy kernel in u-boot.
CK
 It never prints anything on serial. On the other hand, I was able to
 boot mainline Linux (3.19) just fine.

 --
 Paul Kocialkowski, Replicant developer

 Replicant is a fully free Android distribution running on several
 devices, a free software mobile operating system putting the emphasis on
 freedom and privacy/security.

 Website: http://www.replicant.us/
 Blog: http://blog.replicant.us/
 Wiki/tracker/forums: http://redmine.replicant.us/

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

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


Re: [linux-sunxi] [PATCH 3.4 0/4] Various fixes to make linux-sunxi work with new u-boot

2015-03-15 Thread Paul Kocialkowski
Le dimanche 15 mars 2015 à 12:25 +0100, Code Kipper a écrit :
 On 15 March 2015 at 12:23, Code Kipper codekip...@gmail.com wrote:
  On 15 March 2015 at 12:12, Paul Kocialkowski cont...@paulk.fr wrote:
  Le mardi 24 février 2015 à 11:58 +0200, Siarhei Siamashka a écrit :
  On Sat, 21 Feb 2015 16:47:20 +0100
  Hans de Goede hdego...@redhat.com wrote:
 
   Hi all,
  
   Newer u-boot versions may chose a different (better) PLL6 / PLL5 setting
   and/or different voltage settings. Unfortunately the old linux-sunxi-3.4
   kernels have a number of hardcoded assumptions about PLL5 speed, and in 
   some
   cases override the bootloader chosen PLL6 / voltages in a bad way.
  
   This patch series fixes this and is intended for the sunxi-3.4 branch. 
   The
   first 2 patches are already in sunxi-3.4/staging, but they should 
   really also
   be added to the sunxi-3.4 branch. The 2 new patches should be added to 
   both.
  
   Note that sunxi-3.4/staging currently does not work for me (on sun5i at 
   least)
   (*) so these patches have only been tested on the sunxi-3.4 branch.
  
   Regards,
  
   Hans
  
   *) It does not boot at all for some reason, not a single message is 
   printed
   on the serial console after u-boot has loaded the kernel. I'm afraid I 
   do not
   have the time to investigate this.
 
  Thanks. I will allocate the next few days of my time on checking what's
  up with sunxi-3.4 and maybe we can make the final graduation release
  for it.
 
  Any news on that front? I have been trying to boot sunxi-3.4 on
  sun7i/A20 using upstream U-Boot, with no success. I tried the current
  sunxi-3.4 branch and stage/sunxi-3.4, with and without these patches.
 
  Hi Paul,
  Pinged you on irc. I've been booting stage/sunxi-3.4 with mainline over fel
  using this script and boot.cmd
  http://pastebin.com/EneW2jgA http://pastebin.com/BfCUVAgB
  I will try sticking it on an sdcard unfortunately at the moment all my 
  serial
  to usb converters seem dead so I've got no way of getting a log.
  Good luck,
  CK
 Oopsforgot to add that needed to set legacy kernel in u-boot.
 CK

Well, I did include the patches you linked to, enabled compat for old
kernels in U-Boot but it still didn't do. I'll try again in a few days.

  It never prints anything on serial. On the other hand, I was able to
  boot mainline Linux (3.19) just fine.
 
  --
  Paul Kocialkowski, Replicant developer
 
  Replicant is a fully free Android distribution running on several
  devices, a free software mobile operating system putting the emphasis on
  freedom and privacy/security.
 
  Website: http://www.replicant.us/
  Blog: http://blog.replicant.us/
  Wiki/tracker/forums: http://redmine.replicant.us/
 
  --
  You received this message because you are subscribed to the Google Groups 
  linux-sunxi group.
  To unsubscribe from this group and stop receiving emails from it, send an 
  email to linux-sunxi+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.
 

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


signature.asc
Description: This is a digitally signed message part


Re: [linux-sunxi] [PATCH 3.4 0/4] Various fixes to make linux-sunxi work with new u-boot

2015-03-15 Thread Siarhei Siamashka
On Sun, 15 Mar 2015 12:12:00 +0100
Paul Kocialkowski cont...@paulk.fr wrote:

 Le mardi 24 février 2015 à 11:58 +0200, Siarhei Siamashka a écrit :
  On Sat, 21 Feb 2015 16:47:20 +0100
  Hans de Goede hdego...@redhat.com wrote:
  
   Hi all,
   
   Newer u-boot versions may chose a different (better) PLL6 / PLL5 setting
   and/or different voltage settings. Unfortunately the old linux-sunxi-3.4
   kernels have a number of hardcoded assumptions about PLL5 speed, and in 
   some
   cases override the bootloader chosen PLL6 / voltages in a bad way.
   
   This patch series fixes this and is intended for the sunxi-3.4 branch. The
   first 2 patches are already in sunxi-3.4/staging, but they should really 
   also
   be added to the sunxi-3.4 branch. The 2 new patches should be added to 
   both.
   
   Note that sunxi-3.4/staging currently does not work for me (on sun5i at 
   least)
   (*) so these patches have only been tested on the sunxi-3.4 branch.
   
   Regards,
   
   Hans
   
   *) It does not boot at all for some reason, not a single message is 
   printed
   on the serial console after u-boot has loaded the kernel. I'm afraid I do 
   not
   have the time to investigate this.
  
  Thanks. I will allocate the next few days of my time on checking what's
  up with sunxi-3.4 and maybe we can make the final graduation release
  for it.
 
 Any news on that front?

Thanks for reminding.

Well, the news is that I could not reproduce the alleged sun5i problem
with the stage/sunxi-3.4 branch on my A13-OLinuXino-Micro board. Which
obviously means that I can't debug it.

Combined with Tsvetan's lack of any sign of response or any indications
that anyone else could be interested, I don't feel very much motivated
to do the communication part of the job, which is required to clarify
the status of these 3.4 branches and move them forward.

 I have been trying to boot sunxi-3.4 on sun7i/A20 using upstream U-Boot,
 with no success. I tried the current sunxi-3.4 branch and stage/sunxi-3.4,
 with and without these patches.
 
 It never prints anything on serial.

Most likely you are missing the setenv bootm_boot_mode sec line in
your boot.cmd (otherwise the PSCI code in u-boot drops the CPU into
the non-secure mode and the sunxi-3.4 kernel can't handle it).

The documentation in the wiki about the mainline u-boot is in a
pretty much bad shape, but at least this should be covered:

http://linux-sunxi.org/Mainline_U-boot#Boot

Alternatively, there is the old kernel compatibility mode in
u-boot, which can be selected in menuconfig. It should work
with any old sunxi-3.4 kernels.

 On the other hand, I was able to boot mainline Linux (3.19) just fine.

Right. That's what everyone should be using now.

-- 
Best regards,
Siarhei Siamashka

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


Re: [linux-sunxi] [PATCH 3.4 0/4] Various fixes to make linux-sunxi work with new u-boot

2015-03-15 Thread Paul Kocialkowski
Le dimanche 15 mars 2015 à 14:10 +0200, Siarhei Siamashka a écrit :
 On Sun, 15 Mar 2015 12:12:00 +0100
 Paul Kocialkowski cont...@paulk.fr wrote:
 
  Le mardi 24 février 2015 à 11:58 +0200, Siarhei Siamashka a écrit :
   On Sat, 21 Feb 2015 16:47:20 +0100
   Hans de Goede hdego...@redhat.com wrote:
   
Hi all,

Newer u-boot versions may chose a different (better) PLL6 / PLL5 setting
and/or different voltage settings. Unfortunately the old linux-sunxi-3.4
kernels have a number of hardcoded assumptions about PLL5 speed, and in 
some
cases override the bootloader chosen PLL6 / voltages in a bad way.

This patch series fixes this and is intended for the sunxi-3.4 branch. 
The
first 2 patches are already in sunxi-3.4/staging, but they should 
really also
be added to the sunxi-3.4 branch. The 2 new patches should be added to 
both.

Note that sunxi-3.4/staging currently does not work for me (on sun5i at 
least)
(*) so these patches have only been tested on the sunxi-3.4 branch.

Regards,

Hans

*) It does not boot at all for some reason, not a single message is 
printed
on the serial console after u-boot has loaded the kernel. I'm afraid I 
do not
have the time to investigate this.
   
   Thanks. I will allocate the next few days of my time on checking what's
   up with sunxi-3.4 and maybe we can make the final graduation release
   for it.
  
  Any news on that front?
 
 Thanks for reminding.
 
 Well, the news is that I could not reproduce the alleged sun5i problem
 with the stage/sunxi-3.4 branch on my A13-OLinuXino-Micro board. Which
 obviously means that I can't debug it.

Well, last time I checked, I didn't experience any particular problem
with mainline U-Boot and sunxi-3.4 on sun5i/A13 but I probably lack
context on this.

 Combined with Tsvetan's lack of any sign of response or any indications
 that anyone else could be interested, I don't feel very much motivated
 to do the communication part of the job, which is required to clarify
 the status of these 3.4 branches and move them forward.

Still, I would be interested in having a sunxi-3.4 branch that can
actually be used on all the supported chips and devices.

  I have been trying to boot sunxi-3.4 on sun7i/A20 using upstream U-Boot,
  with no success. I tried the current sunxi-3.4 branch and stage/sunxi-3.4,
  with and without these patches.
  
  It never prints anything on serial.
 
 Most likely you are missing the setenv bootm_boot_mode sec line in
 your boot.cmd (otherwise the PSCI code in u-boot drops the CPU into
 the non-secure mode and the sunxi-3.4 kernel can't handle it).

That could be it, I'll investigate.

 The documentation in the wiki about the mainline u-boot is in a
 pretty much bad shape, but at least this should be covered:
 
 http://linux-sunxi.org/Mainline_U-boot#Boot
 
 Alternatively, there is the old kernel compatibility mode in
 u-boot, which can be selected in menuconfig. It should work
 with any old sunxi-3.4 kernels.
 
  On the other hand, I was able to boot mainline Linux (3.19) just fine.
 
 Right. That's what everyone should be using now.

Well, it doesn't fit every use case yet and I will (sadly) have to use
sunxi-3.4 for Replicant, so I need something that actually works.

Thanks,
-- 
Paul Kocialkowski, Replicant developer

Replicant is a fully free Android distribution running on several
devices, a free software mobile operating system putting the emphasis on
freedom and privacy/security.

Website: http://www.replicant.us/
Blog: http://blog.replicant.us/
Wiki/tracker/forums: http://redmine.replicant.us/

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


signature.asc
Description: This is a digitally signed message part


Re: [linux-sunxi] [PATCH 3.4 0/4] Various fixes to make linux-sunxi work with new u-boot

2015-03-15 Thread Paul Kocialkowski
Le mardi 24 février 2015 à 11:58 +0200, Siarhei Siamashka a écrit :
 On Sat, 21 Feb 2015 16:47:20 +0100
 Hans de Goede hdego...@redhat.com wrote:
 
  Hi all,
  
  Newer u-boot versions may chose a different (better) PLL6 / PLL5 setting
  and/or different voltage settings. Unfortunately the old linux-sunxi-3.4
  kernels have a number of hardcoded assumptions about PLL5 speed, and in some
  cases override the bootloader chosen PLL6 / voltages in a bad way.
  
  This patch series fixes this and is intended for the sunxi-3.4 branch. The
  first 2 patches are already in sunxi-3.4/staging, but they should really 
  also
  be added to the sunxi-3.4 branch. The 2 new patches should be added to both.
  
  Note that sunxi-3.4/staging currently does not work for me (on sun5i at 
  least)
  (*) so these patches have only been tested on the sunxi-3.4 branch.
  
  Regards,
  
  Hans
  
  *) It does not boot at all for some reason, not a single message is printed
  on the serial console after u-boot has loaded the kernel. I'm afraid I do 
  not
  have the time to investigate this.
 
 Thanks. I will allocate the next few days of my time on checking what's
 up with sunxi-3.4 and maybe we can make the final graduation release
 for it.

Any news on that front? I have been trying to boot sunxi-3.4 on
sun7i/A20 using upstream U-Boot, with no success. I tried the current
sunxi-3.4 branch and stage/sunxi-3.4, with and without these patches.

It never prints anything on serial. On the other hand, I was able to
boot mainline Linux (3.19) just fine.

-- 
Paul Kocialkowski, Replicant developer

Replicant is a fully free Android distribution running on several
devices, a free software mobile operating system putting the emphasis on
freedom and privacy/security.

Website: http://www.replicant.us/
Blog: http://blog.replicant.us/
Wiki/tracker/forums: http://redmine.replicant.us/

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


signature.asc
Description: This is a digitally signed message part


Re: [linux-sunxi] [PATCH 3.4 0/4] Various fixes to make linux-sunxi work with new u-boot

2015-02-24 Thread Siarhei Siamashka
On Sat, 21 Feb 2015 16:47:20 +0100
Hans de Goede hdego...@redhat.com wrote:

 Hi all,
 
 Newer u-boot versions may chose a different (better) PLL6 / PLL5 setting
 and/or different voltage settings. Unfortunately the old linux-sunxi-3.4
 kernels have a number of hardcoded assumptions about PLL5 speed, and in some
 cases override the bootloader chosen PLL6 / voltages in a bad way.
 
 This patch series fixes this and is intended for the sunxi-3.4 branch. The
 first 2 patches are already in sunxi-3.4/staging, but they should really also
 be added to the sunxi-3.4 branch. The 2 new patches should be added to both.
 
 Note that sunxi-3.4/staging currently does not work for me (on sun5i at least)
 (*) so these patches have only been tested on the sunxi-3.4 branch.
 
 Regards,
 
 Hans
 
 *) It does not boot at all for some reason, not a single message is printed
 on the serial console after u-boot has loaded the kernel. I'm afraid I do not
 have the time to investigate this.

Thanks. I will allocate the next few days of my time on checking what's
up with sunxi-3.4 and maybe we can make the final graduation release
for it.

-- 
Best regards,
Siarhei Siamashka

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