Skip to contentSkip to conversation

v2022.05.0

DISCUSSION Sascha Hauer 2 participants 3 messages May 18, 2022 – May 19, 2022

lore
Share & tools
lore
#0 lore raw

Hi All,

barebox-2022.05.0 is out.

With this version barebox now has initial DSA (Distributed Switch Architecture) support. Thanks, Oleksij. While barebox is not famous for its elaborated networking capabilities, DSA can be quite interesting to allow networking on boards which have programmable switches attached to their network ports. Without DSA it's often not possible to do any networking on these boards as the default settings of the switch do not pass through any packets.

Other than that we have the usual flow of smaller fixes and changes, see below.

Have fun!
Sascha

----------------------------------------------------------------
Ahmad Fatoum (20):
ARM: dts: stm32mp: remove no-longer required DT override
gpio: include header for BIT() used in <gpio.h>
ARM: asm: setjmp: add missing .pop_section
partitions: efi: print GPT offset in debug message
scripts: constify write_full input buffer
libfile: implement new pread_full
scripts: remove non-existent bareboxstate binaries from .gitignore
sandbox: board: add stickypage.bin into .gitignore
mci: mci_spi: extend driver for device tree probing
mtd: spi-nor: add support for ISSI IS25WP256
video: ipuv3: combine two subsequent info prints into one
ARM: asm: fix miscompilation of 32-bit ENTRY_FUNCTION_WITHSTACK
clk: add BCM2835 auxiliary peripheral clock driver
clocksource: assign non-zero priorities to all clocksources
gpiolib: remove declaration of now unused variable
Documentation: remote-control: be explicit about python2 requirement
mci: stm32_sdmmc2: add STM32MP131 AMBA primecell peripheral ID
Documentation: boards: stm32mp: elaborate on how to build
ARM: rpi: fix CM3 breakage after multi-image rework
ARM: i.MX7: esdctl: fix out-of-bounds read on memory size calculation

Alexander Shiyan (4):
ARM: CCMX51: Remove excess assignment
ARM: CCMX51: Add support for low-level debug
ARM: CCMX51: Add support for 16-bit memory module variants
GPIO: clps711x: Simplify initialization

Andrej Picej (1):
ARM: pbab01: allow USB-OTG port runtime configuration

Bastian Krause (2):
clk: handle NULL args in clk_set_parent()
clk: handle NULL args in clk_{g,s}et_parent() v2

Denis Orlov (1):
ata: ide-sff: fix integer overflow in ata_wait_busy()

Frank Wunderlich (2):
ARM: Rockchip: Update DTS for BPI-R2Pro for new HW-Rev
ARM: rockchip: fix iodomain for r2pro V1.0

Ian Abbott (1):
ARM: fix GCC 11.x build failures for ARMv7

Juergen Borleis (3):
ARM: webasto-ccbv2: consider the available memory size for optee
ARM: webasto-marvel: add device tree shared with the kernel
ARM: webasto-marvel: share the run-time setup with the ccbv2 variant

Jules Maselbas (1):
net: dns: Generate and verify transaction ID

Lucas Stach (3):
phy: freescale: imx8mq-usb: add support for i.MX8MP PHY
usb: dwc3: of-simple: add i.MX8MP compatible
ARM: imx: esdctl: fix LPDDR4 size calculation

Oleksij Rempel (21):
ARM: boards: protonic-imx6: add board specific BBU SD handlers
ARM: boards: protonic-imx6: properly configure RGMII direction for the FEC MAC
ARM: boards: protonic-imx6: fix file system access warning
net: designware: eqos: fix receive issue with external switch
ARM: dts: at91-microchip-ksz9477-evb: start using kernel DT
net: add RX preprocessor support
net: add of_find_eth_device_by_node() function
net: phy: export of_phy_register_fixed_link() function
net: add DSA framework to support basic switch functionality
driver: add dev_get_priv() helper
net: port part of if_vlan header from kernel v5.17
spi: port spi_sync_transfer() function from kernel v5.17
net: mdio: add MDIO_DEVAD_NONE define
net: phy: make sure MDIO bus is probed if we search for the PHY
of_net: add rev-rmii support
net: dsa: add support for SJA11xx switches
net: dsa: add KSZ9477 switch SPI driver
hexdump: provide support for dev_print_hex_dump()
add ethlog command
net: phy: do not call adjust_link() form phy_device_attach()
net: phy: add TI DP83TD510E T1L PHY support

Rouven Czerwinski (1):
net: designware: eqos: do not try to talk to not existing PHY

Sascha Hauer (17):
dts: update to v5.17-rc8
dts: update to v5.17
gpio: allocate dynamic gpio numbers top down
dts: update to v5.18-rc1
dts: update to v5.18-rc2
usb: xhci: Honor transfer timeouts
dts: update to v5.18-rc3
ARM: omap: Fix linker error with MTD disabled Merge branch 'for-next/dsa'
Merge branch 'for-next/dts'
Merge branch 'for-next/imx'
Merge branch 'for-next/misc'
Merge branch 'for-next/stm32'
clk: imx8mp: remove SYS PLL 1/2 clock gates
Documentation: boards: i.MX8MP-EVK: Fix typo
ARM: karo-tx6x: Fix DCD check operations Release v2022.05.0

Steffen Trumtrar (2):
net: phy: mv88e6xxx: implement port_set_speed for mv88e6250
net: phy: mv88e6xxx: add support for mv88e6250

Signature · 9 lines
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-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

ср, 18 мая 2022 г. в 16:00, Sascha Hauer <[email protected]>:

Quoted 2 lines

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 [email protected]: detected phy mask 0x10
mdio_bus: miibus0: probed
eth0: got preset MAC address: d0:03:eb:ef:c2:a6
i2c-omap [email protected]: bus 0 rev0.11 at 400 kHz omap-hsmmc [email protected]: registered as mmc0
omap_wdt [email protected]: OMAP Watchdog Timer Rev 0x01 unable to handle paging request at address 0x3e0d0008

pc : [<8fe2b208>]    lr : [<8fe2bf3f>]

sp : 8ffeff40 ip : 00000000 fp : 0003f4f4
r10: 0017a4d8 r9 : 8fe7d628 r8 : 00000000
r7 : 87f59cd0 r6 : 00000000 r5 : 87f5afbc r4 : 3e0d0000 r3 : 0000010c r2 : 00000001 r1 : 87eff048 r0 : 00000008
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 [<8fe00005>] (__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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#2 lore raw
Quoted 4 lines · Alexander Shiyan

ср, 18 мая 2022 г. в 16:00, Sascha Hauer <[email protected]>:

Quoted 2 lines

Hi All,
barebox-2022.05.0 is out.

Quoted 13 lines

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

Signature · 9 lines
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-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox