From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Wed, 22 Jun 2016 08:01:23 +0200 Subject: [U-Boot] =?utf-8?b?VG92w6FiYsOtdMOhczogdS1ib290?= In-Reply-To: <6e06f77b67afe7b19300e1402a072c63@nmdps.net> References: <20160608195712.74E7CA74EE@theia.denx.de> <5758F2D5.3030809@denx.de> <6e06f77b67afe7b19300e1402a072c63@nmdps.net> Message-ID: <576A29B3.5050807@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: >>> 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