Re: v2022.05.0
On Thu, May 19, 2022 at 11:11:06AM +0300, Alexander Shiyan wrote: > ср, 18 мая 2022 г. в 16:00, Sascha Hauer : > > Hi All, > > barebox-2022.05.0 is out. > > Hello. > After updating to the new version, I found errors... > This is probably the result of the "gpio: allocate dynamic gpio > numbers top down" patch. > In the gpiochip_find_base function, it seems to me that we should > change the algorithm > if the chip exists, such as: > if (!chip) { > ... > } else { > spare = 0; > i+= chip->ngpio - 1; // Should be: i -= chip->ngpio - 1; ??? > } Yes, indeed :( I just sent a fix. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: v2022.05.0
ср, 18 мая 2022 г. в 16:00, Sascha Hauer : > Hi All, > barebox-2022.05.0 is out. Hello. After updating to the new version, I found errors... This is probably the result of the "gpio: allocate dynamic gpio numbers top down" patch. In the gpiochip_find_base function, it seems to me that we should change the algorithm if the chip exists, such as: if (!chip) { ... } else { spare = 0; i+= chip->ngpio - 1; // Should be: i -= chip->ngpio - 1; ??? } Thanks! barebox 2022.05.0-00506-g1ed17b742ede #59 Thu May 19 09:03:27 MSK 2022 Board: Mega-Milas Informer/Spider AM335x cpsw-mdio 4a101000.m...@1000.of: detected phy mask 0x10 mdio_bus: miibus0: probed eth0: got preset MAC address: d0:03:eb:ef:c2:a6 i2c-omap 44e0b000@0.of: bus 0 rev0.11 at 400 kHz omap-hsmmc 4806@0.of: registered as mmc0 omap_wdt 44e35000@0.of: OMAP Watchdog Timer Rev 0x01 unable to handle paging request at address 0x3e0d0008 pc : [<8fe2b208>]lr : [<8fe2bf3f>] sp : 8ffeff40 ip : fp : 0003f4f4 r10: 0017a4d8 r9 : 8fe7d628 r8 : r7 : 87f59cd0 r6 : r5 : 87f5afbc r4 : 3e0d r3 : 010c r2 : 0001 r1 : 87eff048 r0 : 0008 Flags: nzcv IRQs off FIQs on Mode SVC_32 WARNING: [<8fe2b208>] (gpiochip_add+0x80/0x294) from [<8fe2bf3f>] (pca953x_probe+0x11b/0x158) WARNING: [<8fe2bf3f>] (pca953x_probe+0x11b/0x158) from [<8fe0a901>] (device_probe+0x2d/0xac) WARNING: [<8fe0a901>] (device_probe+0x2d/0xac) from [<8fe0a9a7>] (match+0x27/0x2c) WARNING: [<8fe0a9a7>] (match+0x27/0x2c) from [<8fe0acf3>] (register_driver+0x6b/0x88) WARNING: [<8fe0acf3>] (register_driver+0x6b/0x88) from [<8fe00f09>] (start_barebox+0x35/0x6c) WARNING: [<8fe00f09>] (start_barebox+0x35/0x6c) from [<8fe46aa7>] (barebox_non_pbl_start+0x127/0x16c) WARNING: [<8fe46aa7>] (barebox_non_pbl_start+0x127/0x16c) from [<8fe5>] (__bare_init_start+0x1/0xc) WARNING: [<8fe482dd>] (unwind_backtrace+0x1/0x78) from [<8fe01235>] (panic+0x1d/0x20) WARNING: [<8fe01235>] (panic+0x1d/0x20) from [<8fe46323>] (do_exception+0xf/0x14) WARNING: [<8fe46323>] (do_exception+0xf/0x14) from [<8fe46391>] (do_data_abort+0x21/0x34) WARNING: [<8fe46391>] (do_data_abort+0x21/0x34) from [<8fe460d4>] (do_abort_6+0x48/0x54) ### ERROR ### Please RESET the board ### ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
v2022.05.0
Release v2022.05.0 Steffen Trumtrar (2): net: phy: mv88e6xxx: implement port_set_speed for mv88e6250 net: phy: mv88e6xxx: add support for mv88e6250 -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox