[U-Boot] Továbbítás: u-boot

Küldve az én HTC-mről
----- Továbbított üzenet ----- Feladó: krichy@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

Hello,
Am 08.06.2016 um 21:50 schrieb krichy@nmdps.net:
Küldve az én HTC-mről
----- Továbbított üzenet ----- Feladó: krichy@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@lists.denx.de http://lists.denx.de/mailman/listinfo/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@nmdps.net:
Küldve az én HTC-mről
----- Továbbított üzenet ----- Feladó: krichy@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@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Hello Richard,
Am 21.06.2016 um 23:03 schrieb krichy@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@nmdps.net:
Küldve az én HTC-mről
----- Továbbított üzenet ----- Feladó: krichy@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@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
participants (2)
-
Heiko Schocher
-
krichy@nmdps.net