All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Továbbítás: u-boot
@ 2016-06-08 19:50 krichy
  2016-06-09  4:38 ` Heiko Schocher
  0 siblings, 1 reply; 4+ messages in thread
From: krichy @ 2016-06-08 19:50 UTC (permalink / raw)
  To: u-boot

K?ldve az ?n HTC-mr?l

----- Tov?bb?tott ?zenet -----
Felad?: krichy at nmdps.net
C?mzett: <sjoerd.simons@collabora.co.uk>
T?rgy: u-boot
D?tum: Sze, j?n. 8, 2016 19:12

Dear developer,

I own a bananapi m2, on which u-boot does not boot up since commit 
90b7fc924adfe7f1745dcf6a1dabb9e77aa762a7.

The console is repeating:

U-Boot 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34 +0200) Allwinner 
Technology

CPU:   Allwinner A31s (SUN6I)
Model: Sinovoip BPI-M2
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   data abort
pc : [<7ef5f6f4>]          lr : [<7ef80b94>]
reloc pc : [<4a0016f4>]    lr : [<4a022b94>]
sp : 7af36f80  ip : 00000000     fp : 00000017
r10: 7efab5e8  r9 : 7af3dee8     r8 : 000040a0
r7 : 7ef9ee0c  r6 : 00000000     r5 : 00000001  r4 : 00000000
r3 : 7ef80b70  r2 : 00000001     r1 : 00000000  r0 : ea00000e
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

resetting ...

U-Boot SPL 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34)
DRAM: 1024 MiB
Trying to boot from MMC1


U-Boot 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34 +0200) Allwinner 
Technology

CPU:   Allwinner A31s (SUN6I)
Model: Sinovoip BPI-M2
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   data abort
pc : [<7ef5f6f4>]          lr : [<7ef80b94>]
reloc pc : [<4a0016f4>]    lr : [<4a022b94>]
sp : 7af36f80  ip : 00000000     fp : 00000017
r10: 7efab5e8  r9 : 7af3dee8     r8 : 000040a0
r7 : 7ef9ee0c  r6 : 00000000     r5 : 00000001  r4 : 00000000
r3 : 7ef80b70  r2 : 00000001     r1 : 00000000  r0 : ea00000e
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

resetting ...

U-Boot SPL 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34)
DRAM: 1024 MiB
Trying to boot from MMC1


U-Boot 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34 +0200) Allwinner 
Technology

CPU:   Allwinner A31s (SUN6I)
Model: Sinovoip BPI-M2
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   data abort
pc : [<7ef5f6f4>]          lr : [<7ef80b94>]
reloc pc : [<4a0016f4>]    lr : [<4a022b94>]
sp : 7af36f80  ip : 00000000     fp : 00000017
r10: 7efab5e8  r9 : 7af3dee8     r8 : 000040a0
r7 : 7ef9ee0c  r6 : 00000000     r5 : 00000001  r4 : 00000000
r3 : 7ef80b70  r2 : 00000001     r1 : 00000000  r0 : ea00000e
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32

and so on.

How could I help debugging, resolving this issue?

Regards,
Richard Kojedzinszky

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] Továbbítás: u-boot
  2016-06-08 19:50 [U-Boot] Továbbítás: u-boot krichy
@ 2016-06-09  4:38 ` Heiko Schocher
  2016-06-21 21:03   ` krichy at nmdps.net
  0 siblings, 1 reply; 4+ messages in thread
From: Heiko Schocher @ 2016-06-09  4:38 UTC (permalink / raw)
  To: u-boot

Hello,

Am 08.06.2016 um 21:50 schrieb krichy at nmdps.net:
> K?ldve az ?n HTC-mr?l
>
> ----- Tov?bb?tott ?zenet -----
> Felad?: krichy at nmdps.net
> C?mzett: <sjoerd.simons@collabora.co.uk>
> T?rgy: u-boot
> D?tum: Sze, j?n. 8, 2016 19:12
>
> Dear developer,
>
> I own a bananapi m2, on which u-boot does not boot up since commit
> 90b7fc924adfe7f1745dcf6a1dabb9e77aa762a7.
>
> The console is repeating:
>
> U-Boot 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34 +0200) Allwinner
> Technology
>
> CPU:   Allwinner A31s (SUN6I)
> Model: Sinovoip BPI-M2
> DRAM:  1 GiB
> MMC:   SUNXI SD/MMC: 0
> *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> Net:   data abort
> pc : [<7ef5f6f4>]          lr : [<7ef80b94>]
> reloc pc : [<4a0016f4>]    lr : [<4a022b94>]

It seems its in the network init ...

Do you have the System.map file for the image? Then you can
look into it and find out, which function crashes @0x4a0016f4.

bye,
Heiko
> sp : 7af36f80  ip : 00000000     fp : 00000017
> r10: 7efab5e8  r9 : 7af3dee8     r8 : 000040a0
> r7 : 7ef9ee0c  r6 : 00000000     r5 : 00000001  r4 : 00000000
> r3 : 7ef80b70  r2 : 00000001     r1 : 00000000  r0 : ea00000e
> Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
> Resetting CPU ...
>
> resetting ...
>
> U-Boot SPL 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34)
> DRAM: 1024 MiB
> Trying to boot from MMC1
>
>
> U-Boot 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34 +0200) Allwinner
> Technology
>
> CPU:   Allwinner A31s (SUN6I)
> Model: Sinovoip BPI-M2
> DRAM:  1 GiB
> MMC:   SUNXI SD/MMC: 0
> *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> Net:   data abort
> pc : [<7ef5f6f4>]          lr : [<7ef80b94>]
> reloc pc : [<4a0016f4>]    lr : [<4a022b94>]
> sp : 7af36f80  ip : 00000000     fp : 00000017
> r10: 7efab5e8  r9 : 7af3dee8     r8 : 000040a0
> r7 : 7ef9ee0c  r6 : 00000000     r5 : 00000001  r4 : 00000000
> r3 : 7ef80b70  r2 : 00000001     r1 : 00000000  r0 : ea00000e
> Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
> Resetting CPU ...
>
> resetting ...
>
> U-Boot SPL 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34)
> DRAM: 1024 MiB
> Trying to boot from MMC1
>
>
> U-Boot 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34 +0200) Allwinner
> Technology
>
> CPU:   Allwinner A31s (SUN6I)
> Model: Sinovoip BPI-M2
> DRAM:  1 GiB
> MMC:   SUNXI SD/MMC: 0
> *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> Net:   data abort
> pc : [<7ef5f6f4>]          lr : [<7ef80b94>]
> reloc pc : [<4a0016f4>]    lr : [<4a022b94>]
> sp : 7af36f80  ip : 00000000     fp : 00000017
> r10: 7efab5e8  r9 : 7af3dee8     r8 : 000040a0
> r7 : 7ef9ee0c  r6 : 00000000     r5 : 00000001  r4 : 00000000
> r3 : 7ef80b70  r2 : 00000001     r1 : 00000000  r0 : ea00000e
> Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
>
> and so on.
>
> How could I help debugging, resolving this issue?
>
> Regards,
> Richard Kojedzinszky
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] Továbbítás: u-boot
  2016-06-09  4:38 ` Heiko Schocher
@ 2016-06-21 21:03   ` krichy at nmdps.net
  2016-06-22  6:01     ` Heiko Schocher
  0 siblings, 1 reply; 4+ messages in thread
From: krichy at nmdps.net @ 2016-06-21 21:03 UTC (permalink / raw)
  To: u-boot

Dear Heiko,

Sorry for being late.

It seems that code in sunxi_gpio_set_cfgbank is causing the panic.

regards,

2016-06-09 06:38 id?pontban Heiko Schocher ezt ?rta:
> Hello,
> 
> Am 08.06.2016 um 21:50 schrieb krichy at nmdps.net:
>> K?ldve az ?n HTC-mr?l
>> 
>> ----- Tov?bb?tott ?zenet -----
>> Felad?: krichy at nmdps.net
>> C?mzett: <sjoerd.simons@collabora.co.uk>
>> T?rgy: u-boot
>> D?tum: Sze, j?n. 8, 2016 19:12
>> 
>> Dear developer,
>> 
>> I own a bananapi m2, on which u-boot does not boot up since commit
>> 90b7fc924adfe7f1745dcf6a1dabb9e77aa762a7.
>> 
>> The console is repeating:
>> 
>> U-Boot 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34 +0200) Allwinner
>> Technology
>> 
>> CPU:   Allwinner A31s (SUN6I)
>> Model: Sinovoip BPI-M2
>> DRAM:  1 GiB
>> MMC:   SUNXI SD/MMC: 0
>> *** Warning - bad CRC, using default environment
>> 
>> In:    serial
>> Out:   serial
>> Err:   serial
>> Net:   data abort
>> pc : [<7ef5f6f4>]          lr : [<7ef80b94>]
>> reloc pc : [<4a0016f4>]    lr : [<4a022b94>]
> 
> It seems its in the network init ...
> 
> Do you have the System.map file for the image? Then you can
> look into it and find out, which function crashes @0x4a0016f4.
> 
> bye,
> Heiko
>> sp : 7af36f80  ip : 00000000     fp : 00000017
>> r10: 7efab5e8  r9 : 7af3dee8     r8 : 000040a0
>> r7 : 7ef9ee0c  r6 : 00000000     r5 : 00000001  r4 : 00000000
>> r3 : 7ef80b70  r2 : 00000001     r1 : 00000000  r0 : ea00000e
>> Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
>> Resetting CPU ...
>> 
>> resetting ...
>> 
>> U-Boot SPL 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34)
>> DRAM: 1024 MiB
>> Trying to boot from MMC1
>> 
>> 
>> U-Boot 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34 +0200) Allwinner
>> Technology
>> 
>> CPU:   Allwinner A31s (SUN6I)
>> Model: Sinovoip BPI-M2
>> DRAM:  1 GiB
>> MMC:   SUNXI SD/MMC: 0
>> *** Warning - bad CRC, using default environment
>> 
>> In:    serial
>> Out:   serial
>> Err:   serial
>> Net:   data abort
>> pc : [<7ef5f6f4>]          lr : [<7ef80b94>]
>> reloc pc : [<4a0016f4>]    lr : [<4a022b94>]
>> sp : 7af36f80  ip : 00000000     fp : 00000017
>> r10: 7efab5e8  r9 : 7af3dee8     r8 : 000040a0
>> r7 : 7ef9ee0c  r6 : 00000000     r5 : 00000001  r4 : 00000000
>> r3 : 7ef80b70  r2 : 00000001     r1 : 00000000  r0 : ea00000e
>> Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
>> Resetting CPU ...
>> 
>> resetting ...
>> 
>> U-Boot SPL 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34)
>> DRAM: 1024 MiB
>> Trying to boot from MMC1
>> 
>> 
>> U-Boot 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34 +0200) Allwinner
>> Technology
>> 
>> CPU:   Allwinner A31s (SUN6I)
>> Model: Sinovoip BPI-M2
>> DRAM:  1 GiB
>> MMC:   SUNXI SD/MMC: 0
>> *** Warning - bad CRC, using default environment
>> 
>> In:    serial
>> Out:   serial
>> Err:   serial
>> Net:   data abort
>> pc : [<7ef5f6f4>]          lr : [<7ef80b94>]
>> reloc pc : [<4a0016f4>]    lr : [<4a022b94>]
>> sp : 7af36f80  ip : 00000000     fp : 00000017
>> r10: 7efab5e8  r9 : 7af3dee8     r8 : 000040a0
>> r7 : 7ef9ee0c  r6 : 00000000     r5 : 00000001  r4 : 00000000
>> r3 : 7ef80b70  r2 : 00000001     r1 : 00000000  r0 : ea00000e
>> Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
>> 
>> and so on.
>> 
>> How could I help debugging, resolving this issue?
>> 
>> Regards,
>> Richard Kojedzinszky
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
>> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] Továbbítás: u-boot
  2016-06-21 21:03   ` krichy at nmdps.net
@ 2016-06-22  6:01     ` Heiko Schocher
  0 siblings, 0 replies; 4+ messages in thread
From: Heiko Schocher @ 2016-06-22  6:01 UTC (permalink / raw)
  To: u-boot

Hello Richard,

Am 21.06.2016 um 23:03 schrieb krichy at nmdps.net:
> Dear Heiko,
>
> Sorry for being late.
>
> It seems that code in sunxi_gpio_set_cfgbank is causing the panic.

Hmm.. I see no reason here ... can you debug into it?
I have no bananapi m2, so I could not help much.

you wrote:
 >>> I own a bananapi m2, on which u-boot does not boot up since commit
 >>> 90b7fc924adfe7f1745dcf6a1dabb9e77aa762a7.

How did you find out, that this commit broke your hw?
If this commit is the reason, can you try to revert this patch?

bye,
Heiko
>
> regards,
>
> 2016-06-09 06:38 id?pontban Heiko Schocher ezt ?rta:
>> Hello,
>>
>> Am 08.06.2016 um 21:50 schrieb krichy at nmdps.net:
>>> K?ldve az ?n HTC-mr?l
>>>
>>> ----- Tov?bb?tott ?zenet -----
>>> Felad?: krichy at nmdps.net
>>> C?mzett: <sjoerd.simons@collabora.co.uk>
>>> T?rgy: u-boot
>>> D?tum: Sze, j?n. 8, 2016 19:12
>>>
>>> Dear developer,
>>>
>>> I own a bananapi m2, on which u-boot does not boot up since commit
>>> 90b7fc924adfe7f1745dcf6a1dabb9e77aa762a7.
>>>
>>> The console is repeating:
>>>
>>> U-Boot 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34 +0200) Allwinner
>>> Technology
>>>
>>> CPU:   Allwinner A31s (SUN6I)
>>> Model: Sinovoip BPI-M2
>>> DRAM:  1 GiB
>>> MMC:   SUNXI SD/MMC: 0
>>> *** Warning - bad CRC, using default environment
>>>
>>> In:    serial
>>> Out:   serial
>>> Err:   serial
>>> Net:   data abort
>>> pc : [<7ef5f6f4>]          lr : [<7ef80b94>]
>>> reloc pc : [<4a0016f4>]    lr : [<4a022b94>]
>>
>> It seems its in the network init ...
>>
>> Do you have the System.map file for the image? Then you can
>> look into it and find out, which function crashes @0x4a0016f4.
>>
>> bye,
>> Heiko
>>> sp : 7af36f80  ip : 00000000     fp : 00000017
>>> r10: 7efab5e8  r9 : 7af3dee8     r8 : 000040a0
>>> r7 : 7ef9ee0c  r6 : 00000000     r5 : 00000001  r4 : 00000000
>>> r3 : 7ef80b70  r2 : 00000001     r1 : 00000000  r0 : ea00000e
>>> Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
>>> Resetting CPU ...
>>>
>>> resetting ...
>>>
>>> U-Boot SPL 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34)
>>> DRAM: 1024 MiB
>>> Trying to boot from MMC1
>>>
>>>
>>> U-Boot 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34 +0200) Allwinner
>>> Technology
>>>
>>> CPU:   Allwinner A31s (SUN6I)
>>> Model: Sinovoip BPI-M2
>>> DRAM:  1 GiB
>>> MMC:   SUNXI SD/MMC: 0
>>> *** Warning - bad CRC, using default environment
>>>
>>> In:    serial
>>> Out:   serial
>>> Err:   serial
>>> Net:   data abort
>>> pc : [<7ef5f6f4>]          lr : [<7ef80b94>]
>>> reloc pc : [<4a0016f4>]    lr : [<4a022b94>]
>>> sp : 7af36f80  ip : 00000000     fp : 00000017
>>> r10: 7efab5e8  r9 : 7af3dee8     r8 : 000040a0
>>> r7 : 7ef9ee0c  r6 : 00000000     r5 : 00000001  r4 : 00000000
>>> r3 : 7ef80b70  r2 : 00000001     r1 : 00000000  r0 : ea00000e
>>> Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
>>> Resetting CPU ...
>>>
>>> resetting ...
>>>
>>> U-Boot SPL 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34)
>>> DRAM: 1024 MiB
>>> Trying to boot from MMC1
>>>
>>>
>>> U-Boot 2016.05-00393-g90b7fc9 (Jun 08 2016 - 18:57:34 +0200) Allwinner
>>> Technology
>>>
>>> CPU:   Allwinner A31s (SUN6I)
>>> Model: Sinovoip BPI-M2
>>> DRAM:  1 GiB
>>> MMC:   SUNXI SD/MMC: 0
>>> *** Warning - bad CRC, using default environment
>>>
>>> In:    serial
>>> Out:   serial
>>> Err:   serial
>>> Net:   data abort
>>> pc : [<7ef5f6f4>]          lr : [<7ef80b94>]
>>> reloc pc : [<4a0016f4>]    lr : [<4a022b94>]
>>> sp : 7af36f80  ip : 00000000     fp : 00000017
>>> r10: 7efab5e8  r9 : 7af3dee8     r8 : 000040a0
>>> r7 : 7ef9ee0c  r6 : 00000000     r5 : 00000001  r4 : 00000000
>>> r3 : 7ef80b70  r2 : 00000001     r1 : 00000000  r0 : ea00000e
>>> Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
>>>
>>> and so on.
>>>
>>> How could I help debugging, resolving this issue?
>>>
>>> Regards,
>>> Richard Kojedzinszky
>>> _______________________________________________
>>> U-Boot mailing list
>>> U-Boot at lists.denx.de
>>> http://lists.denx.de/mailman/listinfo/u-boot
>>>
>

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-22  6:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-08 19:50 [U-Boot] Továbbítás: u-boot krichy
2016-06-09  4:38 ` Heiko Schocher
2016-06-21 21:03   ` krichy at nmdps.net
2016-06-22  6:01     ` Heiko Schocher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.