On Thu, Jan 12, 2023 at 01:55:28PM +0100, Ahmad Fatoum wrote:
> File has a mixture of tabs, spaces and even both in the same line.
> Use tabs throughout.
>
> Signed-off-by: Ahmad Fatoum
> ---
> firmware/Kconfig | 12 ++--
> 1 file changed, 6 insertions(+), 6 deletions(-)
Applied, thanks
On Wed, Jan 11, 2023 at 06:40:17PM +0100, Ahmad Fatoum wrote:
> We may want to port the whole of the Linux generic allocator
> implementation in future as it would come in handy in drivers that need
> special memory for DMA. For now, support just the use case of the
> incoming Atmel NAND driver, wh
On Wed, Jan 11, 2023 at 06:40:08PM +0100, Ahmad Fatoum wrote:
> For a few years, Linux has been using the new EBI bindings for NAND
> controllers on all AT91 SoCs newer than the AT91RM2000. We have so far
> only supported the old bindings by hacking the DT, but this doesn't
> suffice for the SAMA5D
On Wed, Jan 11, 2023 at 06:39:20PM +0100, Ahmad Fatoum wrote:
> read_poll_timeout assumes microsecond timeouts, not nanoseconds. One
> second instead of a thousand is still plenty time when polling for a
> MCI controller to change state, so use that.
>
> Fixes: 4fc0369b1a55 ("mci: atmel_mci: add P
On Wed, Jan 11, 2023 at 06:35:48PM +0100, Ahmad Fatoum wrote:
> Get barebox on non-DT platforms with NAND a tiny bit smaller by
> directly returning NULL if CONFIG_OFDEVICE is not enabled, thereby
> allowing more code to be discarded at compile-time in absence of
> link-time optimization.
>
> Sign
On Wed, Jan 11, 2023 at 06:22:18PM +0100, Ahmad Fatoum wrote:
> The sama5d4[devices].c files are for non-OF instantiation of platform
> devices. We don't need anything out of these two files, so don't build
> them when compiling for CONFIG_AT91_MULTI_BOARDS. We use that instead of
> CONFIG_OFDEVICE
On Wed, Jan 11, 2023 at 04:28:36PM +0100, Ahmad Fatoum wrote:
> At first glance:
>
> const u32 *rom_log_addr;
> kstrtoul(optarg, 0, (ulong *)&rom_log_addr) with
>
> looks like it would conflate u32/ulong. While the code is fine,
> it is better to just use the correct types and forego
On Wed, Jan 11, 2023 at 02:29:45PM +0100, Ahmad Fatoum wrote:
> The Linux DSA driver supports both I2C and SPI as management interface
> by using regmaps as abstraction. barebox regmaps were not quite that
> powerful yet, so we rework our regmaps to support optional formatting
> and then use that t
On Wed, Jan 11, 2023 at 12:37:29PM +0100, Johannes Schneider wrote:
> Add a separate function call for imx8mp_early_clock_init, to avoid
> confusion with imx8mm.
>
> Signed-off-by: Johannes Schneider
> ---
> arch/arm/boards/nxp-imx8mp-evk/lowlevel.c | 2 +-
> arch/arm/boards/tqma8mpxl/low
On Thu, Jan 12, 2023 at 01:57:27PM +, SCHNEIDER Johannes wrote:
> Hoi,
>
> reasoning is that the common config switch limits the codeblock to
> imx8m boards only... or at least was, since on second thought: this is
> inside imx8m.c... so the previous version with current_el might be
> better?
On Wed, Jan 11, 2023 at 01:00:02PM +0100, Ahmad Fatoum wrote:
> O_RWSIZE_MASK is what's now used and it's passed as argument to open.
> There remain no users of either RW_SIZE or RW_SIZE_MASK. Remove to avoid
> confusion.
>
> Signed-off-by: Ahmad Fatoum
> ---
> include/driver.h | 3 ---
> 1 file
reseved-memory nodes are duplicated in some dts file, remove the
duplicates.
Signed-off-by: Sascha Hauer
---
arch/arm/dts/imx6qdl-prti6q-emmc.dtsi | 11 ---
arch/arm/dts/imx6ul-prti6g.dts| 11 ---
arch/arm/dts/imx6ull-jozacp.dts | 11 ---
3 files changed
On Fri, Jan 13, 2023 at 12:34:00PM +0100, Oleksij Rempel wrote:
> Port board code to the driver model
>
> Signed-off-by: Oleksij Rempel
> ---
> arch/arm/boards/udoo-neo/board.c | 18 +-
> 1 file changed, 13 insertions(+), 5 deletions(-)
Applied, thanks
Sascha
>
> diff --git a
On Fri, Jan 13, 2023 at 05:06:48PM +0300, Denis Orlov wrote:
> Using signed char type for computed CRC bytes leads to them being sign
> extended on comparison with unsigned char values from SPD EEPROM struct.
> This happens as when being compared those values undergo integer
> promotion that conver
On Fri, Jan 13, 2023 at 05:09:09PM +0300, Denis Orlov wrote:
> For some reason, we would only use EERD if Flash is used as non-volatile
> memory. However, looking at e1000e driver sources from Linux this is how
> they are reading NVM on those cards for both EEPROM and Flash.
>
> This fixes issues
On Mon, Jan 16, 2023 at 02:35:00PM +0100, Ahmad Fatoum wrote:
> For symmetry with of_device_disable, which already has direct, path and
> by alias variants, implement the missing of_device_enable_by alias as
> well.
>
> Signed-off-by: Ahmad Fatoum
> ---
> drivers/of/base.c | 15 +++
>
On Mon, Jan 16, 2023 at 01:54:43PM +0100, Ahmad Fatoum wrote:
> We unconditionally open the device backing a direct bucket in read-write
> mode. We already populate struct state_backend_storage::readonly though,
> which we could consult at device open time. Do so. This could possibly
> be done for
On Mon, Jan 16, 2023 at 02:36:37PM +0100, Ahmad Fatoum wrote:
> Most devices featuring a detect callback use it to probe an underlying
> bus. However, of_device_create_on_demand so far created devices on the
> platform bus, ignoring that it might be e.g. an I2C device that's
> supposed to be crated
On Tue, Jan 17, 2023 at 10:49:34AM +0100, Ahmad Fatoum wrote:
> Ethernet device global mode (ethX.mode) may be set to disabled when
> ports should not be used. This setting is already respect in ifup, so do
> likewise for eth_open_all(), which is called when going interactive.
>
> Signed-off-by: A
D check
net: e1000: read EEPROM through EERD register on 8257x adapters
Johannes Zink (1):
mfd: axp20x: support AXP313A PMIC
Marcin Niestroj (1):
ARM: rpi: parse memory from vc fdt
Sascha Hauer (26):
mtd: nand: nand-mxs: Move register definitions to separate file
ARM
On Mon, Jan 16, 2023 at 02:44:52PM +0100, Ahmad Fatoum wrote:
> This imports the Linux v6.1 state of the driver into barebox. This has
> been tested with the RTL8365MB in (bitbanged) SMI mode connected
> to an i.MX8MM FEC.
>
> Ahmad Fatoum (9):
> driver: alias of_match_ptr and DRV_OF_COMPAT
>
On Mon, Jan 16, 2023 at 02:29:11PM +0100, Ahmad Fatoum wrote:
> When board support was first added, it used a version of the device tree
> of the Linux kernel mailing list. The device tree is now upstream, so
> replace the copy we have with the version already existing in dts/.
>
> Signed-off-by:
MCI_DW in PIO mode doesn't work for me. We should search for the
reason, but in the end we want to do DMA anyway, which works here.
Disable PIO mode for now.
Signed-off-by: Sascha Hauer
---
arch/arm/configs/rockchip_v8_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arc
Just an oldconfig to make changing the defconfig easier in the next
step.
Signed-off-by: Sascha Hauer
---
arch/arm/configs/rockchip_v8_defconfig | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/arch/arm/configs/rockchip_v8_defconfig
b/arch/arm/configs
Upstream rkbin repository has been updated, update the paths in the
documentation accordingly.
Signed-off-by: Sascha Hauer
---
Documentation/boards/rockchip.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/boards/rockchip.rst
b/Documentation/boards
On Sun, Jan 22, 2023 at 09:09:38PM +0300, Alexander Shiyan wrote:
> I dont know. I said how would I do it if it was my patch. I hope
> Sasсha will decide how it will be better.
I would also prefer a dedicated function that just returns 0 if there
are no CS GPIOs found.
Sascha
--
Pengutronix e.K
On Mon, Jan 23, 2023 at 04:51:37AM +1100, John Watts wrote:
> The Kosagi Novena is an open source laptop released in 2014.
>
> This patch adds the initial project skeleton for running the PBL
> and debugging over the UART2 port (labeled DEBUG on the board.)
>
> Signed-off-by: John Watts
> ---
>
On Mon, Jan 23, 2023 at 04:51:40AM +1100, John Watts wrote:
> The Novena has an EEPROM used for storing information about the board,
> including the Ethernet MAC address.
>
> The reference for the EEPROM fields is the novena-eeprom source code.
>
> Signed-off-by: John Watts
> ---
> arch/arm/boa
On Mon, Jan 23, 2023 at 10:17:11AM +0100, Ahmad Fatoum wrote:
> On 23.01.23 09:35, Sascha Hauer wrote:
> > MCI_DW in PIO mode doesn't work for me. We should search for the
> > reason, but in the end we want to do DMA anyway, which works here.
> > Disable PIO mode for now.
On Sun, Jan 22, 2023 at 01:44:22AM +1100, John Watts wrote:
> Boards that with swappable RAM sticks need to read SPD data and generate
> useful parameters for the board's memory controller.
>
> Currently the only board that does this is the ls1046ardb.
> This patch series modifies and re-organizes
r_bus() to return -EBUSY instead.
Signed-off-by: Sascha Hauer
---
drivers/i2c/i2c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/i2c.c b/drivers/i2c/i2c.c
index 7e1cea49f3..f3efb62087 100644
--- a/drivers/i2c/i2c.c
+++ b/drivers/i2c/i2c.c
@@ -353,7 +353,7 @
Signed-off-by: Sascha Hauer
---
drivers/i2c/busses/i2c-imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
index e4b04327ee..3be3b158c7 100644
--- a/drivers/i2c/busses/i2c-imx.c
+++ b/drivers/i2c/busses/i2c-imx.c
On Thu, Jan 19, 2023 at 04:56:01PM +0100, Marco Felsch wrote:
> Move the dts file into a dtsi file. This is in preparation for the
> imx8mm-evkb support which will reuse the config. No functional change.
>
> Signed-off-by: Marco Felsch
> ---
> v3:
> - new in this series
>
> arch/arm/dts/imx8mm-
On Wed, Jan 25, 2023 at 05:35:53AM +1100, John Watts wrote:
> On Mon, Jan 23, 2023 at 10:33:05AM +0100, Sascha Hauer wrote:
> > And here is the point where you have to request that the EEPROM is
> > actually availabe to support the deep probe mechanism. Before reading
> > the
gpio_suffixes is only used inside #ifdef CONFIG_OFDEVICE, so put
it into this ifdef as well.
Fixes: 9fb2fa240d58 ("gpiolib: implement dev_gpiod_get_index")
Signed-off-by: Sascha Hauer
---
drivers/gpio/gpiolib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dr
On Wed, Jan 25, 2023 at 07:11:36PM +1100, John Watts wrote:
> On Wed, Jan 25, 2023 at 09:04:06AM +0100, Sascha Hauer wrote:
> > It looks like something is not initialized correctly yet. Normally
> > the usual suspects are pinctrl, clocks or regulators. Each of them
> > sho
On Wed, Jan 25, 2023 at 08:53:53AM +0100, Ahmad Fatoum wrote:
> We have drivers for both rtl8365mb and rtl8366rb and each uses a
> different tagger. realtek-dsa didn't know that and caused a reference to
> an unavailable symbol when one of them was disabled. Add IS_ENABLED()
> guards to fix this.
>
i2c_fsl_set_clk() is called before the i2c device has been initialized,
so the dev_dbg() messages therein show up as:
: I2C_CLK=6600, REQ DIV=660
Use the parent device instead for printing these messages.
Signed-off-by: Sascha Hauer
---
drivers/i2c/busses/i2c-imx.c | 16
On Wed, Jan 25, 2023 at 10:21:29AM +0100, Marco Felsch wrote:
> On 23-01-25, Sascha Hauer wrote:
> > Signed-off-by: Sascha Hauer
> > ---
> > drivers/i2c/busses/i2c-imx.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/dri
On Thu, Jan 26, 2023 at 12:31:04AM +1100, John Watts wrote:
> On Wed, Jan 25, 2023 at 09:19:23AM +0100, Sascha Hauer wrote:
> > Yes, normally it should be set up already, unless of course there is
> > some needed pinctrl configuration in an unrelated device tree node.
> >
On Wed, Jan 25, 2023 at 04:41:15AM +1100, John Watts wrote:
> The MPWLGCR registers clear the error bits before software can read them,
> so rely on the MPWLHWERR registers for error reporting instead.
>
> This errata was announced in 2019 but it seems to apply to all chip revisions.
>
> U-Boot c
On Wed, Jan 25, 2023 at 08:33:57PM +0100, Marco Felsch wrote:
> Hi John,
>
> thanks for your patch.
>
> On 23-01-26, John Watts wrote:
> > The Kosagi Novena is an open source laptop released in 2014.
> >
> > This patch adds the initial project skeleton for running the PBL
> > and debugging over
On Thu, Jan 26, 2023 at 06:54:06PM +1100, John Watts wrote:
> On Wed, Jan 25, 2023 at 08:39:40PM +0100, Marco Felsch wrote:
> > Hi John,
> >
> > this patch should be part of patch1 since without this one you can't
> > boot the board, right?
>
> Yes, but I wanted to do a separate commit so I can d
On Wed, Jan 25, 2023 at 07:05:55AM +1100, John Watts wrote:
> of_gpio_named_count returns a negative value on error but this
> is discarded and cast to a u16, making error handling impossible.
>
> With debug logging enabled this effectively halts booting so the board can
> print an error over seri
On Tue, Jan 24, 2023 at 09:31:19PM +0100, Michael Grzeschik wrote:
> An mdelay of 1 seems to be necessary on some machines, since
> the monsel status does not seem to be accurate. On rare occasions just
> working with the phy after this pll check lead to no functional usb.
> With this short mdelay
On Tue, Jan 24, 2023 at 09:44:34PM +0100, Michael Grzeschik wrote:
> An mdelay of 1 seems to be necessary on some machines, since
> the monsel status does not seem to be accurate. On rare occasions just
> working with the phy after this pll check lead to no functional usb.
> With this short mdelay
On Wed, Jan 25, 2023 at 01:48:40PM +0100, Marco Felsch wrote:
> From: Marco Felsch
>
> The buf8 variable was never used so remove it.
>
> Fixes: 2f1fc1c92 ("ddr_spd: Add function to read eeprom")
> Signed-off-by: Marco Felsch
> ---
> common/ddr_spd.c | 1 -
> 1 file changed, 1 deletion(-)
App
On Wed, Jan 25, 2023 at 08:53:23AM +0100, Ahmad Fatoum wrote:
> For MMCs, we already support detect on both the hardware device and the
> mmcX virtual device. Let's do the same for i2c, so users have the option
> to do `detect i2c0` instead of `detect 30a3@30a3.of`.
>
> `detect -a` sti
On Wed, Jan 25, 2023 at 10:52:35AM +0100, Ahmad Fatoum wrote:
> ifup -a on a platform with a DSA switch can take quite a while, because
> barebox will attempt sending a DHCP DISCOVER on every port in sequence
> and waiting until timeout. This could use some refactoring to make it
> possible to make
On Wed, Jan 25, 2023 at 10:52:36AM +0100, Ahmad Fatoum wrote:
> The normal use case for ifup -a is to get *some* interface working and
> not really wait for all interfaces to come up and then timeout waiting
> for those without link up to get their DHCP lease. Thus repurpose ifup
> -a to mean bring
On Wed, Jan 11, 2023 at 07:21:55PM +0100, Lucas Stach wrote:
> i.MX8MP has the same quirk as the i.MX6UL: the MAC address for the
> second ethernet interface is stored at an unaligned location and thus
> needs to be handled by skipping the first 2 bytes from the OCOTP
> register.
>
> Signed-off-by
On Fri, Jan 27, 2023 at 05:56:43AM +1100, John Watts wrote:
> udelay isn't provided in the PBL, so use our own definition.
>
> This avoids boards having to define udelay in their code.
>
> Signed-off-by: John Watts
> ---
> drivers/i2c/busses/i2c-imx-early.c | 9 -
> 1 file changed, 8 in
On Mon, Jan 30, 2023 at 11:24:55PM +1100, John Watts wrote:
> On Mon, Jan 30, 2023 at 01:17:52PM +0100, Sascha Hauer wrote:
> > On Mon, Jan 30, 2023 at 09:42:53PM +1100, John Watts wrote:
> > > On Mon, Jan 30, 2023 at 11:27:27AM +0100, Sascha Hauer wrote:
> > > > This
On Mon, Jan 30, 2023 at 11:56:20PM +1100, John Watts wrote:
> On Mon, Jan 30, 2023 at 01:31:42PM +0100, Sascha Hauer wrote:
> > As said, the code is also for other i.MX SoCs, so a fixed base address
> > won't do it. You would first have to detect the SoC type, but we can
> &
On Fri, Jan 27, 2023 at 07:56:42PM +1100, John Watts wrote:
> On Fri, Jan 27, 2023 at 09:06:33AM +0100, Marco Felsch wrote:
> > Hi John,
> >
> > On 23-01-27, John Watts wrote:
> > > The i.MX6 includes some on-chip RAM: 128KiB on most variants, with 256KiB
> > > on
> > > the Dual and Quad variants
On Fri, Jan 27, 2023 at 06:02:58AM +1100, John Watts wrote:
> The i.MX6 includes some on-chip RAM: 128KiB on most variants, with 256KiB on
> the Dual and Quad variants.
>
> This region is where the first stage of Barebox gets loaded if RAM
> initialization isn't hard coded using DCD information.
>
On Mon, Jan 30, 2023 at 09:42:53PM +1100, John Watts wrote:
> On Mon, Jan 30, 2023 at 11:27:27AM +0100, Sascha Hauer wrote:
> > This takes around 5 times too long on a i.MX8MM and around 50 times too
> > long on a i.MX6Q. This was measured under a regular barebox on the
> &g
On Tue, Jan 31, 2023 at 05:42:29AM +1100, John Watts wrote:
> On Mon, Jan 30, 2023 at 05:36:58PM +0100, Sascha Hauer wrote:
> > You can't disable MMU during runtime, but you can compile without MMU
> > support, just disable CONFIG_MMU. However, the early I2C code already
> &
On Mon, Jan 30, 2023 at 12:34:05PM +0100, Ahmad Fatoum wrote:
> Same macro is already defined in .
>
> Signed-off-by: Ahmad Fatoum
> ---
> drivers/net/phy/phy.c | 2 --
> 1 file changed, 2 deletions(-)
Applied, thanks
Sascha
>
> diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
> in
On Tue, Jan 31, 2023 at 12:45:00AM +0100, Marco Felsch wrote:
> The pdev member is unused neither do have barebox support for 'struct
> platform_device' so remove the usage.
>
> Signed-off-by: Marco Felsch
> ---
> drivers/net/ks8851_mll.c | 2 --
> 1 file changed, 2 deletions(-)
Applied, thanks
On Mon, Jan 30, 2023 at 08:27:03AM +0100, Ahmad Fatoum wrote:
> QEMU's ramfb is a very simple Qemu fw_cfg protocol, where the guest
> need only write a video settings structure to /etc/ramfb to get
> DMA from the framebuffer working. Add a driver for this on top
> of a newly added character device
On Mon, Jan 30, 2023 at 08:21:57AM +0100, Ahmad Fatoum wrote:
> Original values used when WB15 support was upstreamed were taken from
> EVK, but original U-Boot port, we had been running for years now, is
> configured differently and is known to be stable. Revert to those values.
>
> Signed-off-by
On Mon, Jan 30, 2023 at 08:16:22AM +0100, Ahmad Fatoum wrote:
> Rohm BD71837 is a PMIC for i.MX8MM, which is used on most boards
> supported by barebox. So far, we didn't need to change PMIC
> configuration after the initial setup in PBL, but to support future
> debugging and development, let's por
On Mon, Jan 30, 2023 at 07:45:10AM +0100, Ahmad Fatoum wrote:
> From: Ahmad Fatoum
>
> We have DEBUG_LL for the PL011 on the ARM64 QEMU Virt,
> but it is unused. Wire it in.
>
> Signed-off-by: Ahmad Fatoum
> ---
> arch/arm/Kconfig| 1 +
> arch/arm/cpu/board-dt-2nd.c | 2 +
On Tue, Jan 24, 2023 at 09:01:13PM +0100, Michael Grzeschik wrote:
> There are in sum 952 dwords available for g-rx-fifo-size,
> g-np-tx-fifo-size and the eight entries of g-tx-fifo-size. For high
> speed endpoints the maximal packet size is 512 (for full speed it's 64)
> bytes. So a tx-fifo-size o
On Wed, Feb 01, 2023 at 07:13:24PM +0100, Ahmad Fatoum wrote:
> On 24.01.23 21:01, Michael Grzeschik wrote:
> > If the multiplier is 0 in the descriptor bitfield the multiplier count
> > is one. For calculating the multiplier count the extra function
> > usb_endpoint_maxp_mult should be used. Rewor
On Wed, Feb 01, 2023 at 04:33:34PM +1100, John Watts wrote:
> Checking the mem_type here as well as the CRC means developers can
> just read the SPD and pass it directly to parameter computation.
>
> This makes it so developers can rely fully on parameters for checking
> if RAM is compatible with
On Wed, Feb 01, 2023 at 08:44:35PM +1100, John Watts wrote:
> The i.MX early I2C code requires waiting for the controller to settle
> after configuration. This is currently done using udelay which is
> supported on ARMv8 but not on ARMv7.
>
> For the i.MX6 we will have to use a custom delay. This
On Thu, Feb 02, 2023 at 09:34:04AM +1100, John Watts wrote:
> If a server doesn't provide a service the port lookup will return 0.
> Check for this and return an appropriate error code.
>
> This was tested by running NFS with UDP disabled, which seems to be
> the default in Arch at least.
>
> Sig
On Thu, Feb 02, 2023 at 01:20:00PM +0100, Ahmad Fatoum wrote:
> Writing past end of a file results in a cryptic error code:
>
> barebox@board:/ cp /dev/zero /dev/mmc0.part
> write: Operation not permitted
> cp: Operation not permitted
>
> Because the cdev's truncate is not implemented and a
On Thu, Feb 02, 2023 at 01:05:24PM +0100, Lucas Stach wrote:
> Linux added another USB clock to properly describe the controller root
> and suspend clocks. As new DTs are using this clock to keep the shared
> gate enabled, access to the USB controller will hang Barebox without
> support for this cl
On Thu, Feb 02, 2023 at 03:25:12PM +0100, Ahmad Fatoum wrote:
> Some members in struct stat are never written, so drop them.
>
> Signed-off-by: Ahmad Fatoum
> ---
> fs/fs.c | 4 ++--
> include/linux/stat.h | 3 ---
> 2 files changed, 2 insertions(+), 5 deletions(-)
Applied, thanks
On Thu, Feb 02, 2023 at 02:34:13PM +0100, Ahmad Fatoum wrote:
> These are useful as a less verbose alternative to WARN_ONCE, which also
> prints a stack trace if possible.
>
> Signed-off-by: Ahmad Fatoum
> ---
> v1 -> v2:
> unchanged
> ---
> include/linux/printk.h | 20
>
On Thu, Feb 02, 2023 at 02:27:34PM +0100, Ahmad Fatoum wrote:
> Writing past end of a file results in a cryptic error code:
>
> barebox@board:/ cp /dev/zero /dev/mmc0.part
> write: Operation not permitted
> cp: Operation not permitted
>
> Because the cdev's truncate is not implemented and a
On Thu, Feb 02, 2023 at 10:20:24PM +1100, John Watts wrote:
> If a server doesn't provide a service the port lookup will return 0.
>
> Check for this, return an appropriate error code and give a hint as to
> why this might be happening.
>
> This was tested by running NFS with UDP disabled, which
On Thu, Feb 02, 2023 at 06:57:37PM +1100, John Watts wrote:
> This patch series introduces support for the Novena board.
> This support is basic but enough to boot Barebox.
>
> The EEPROM code here is included in anticipation for reading the features
> flag in the future when more board features a
On Thu, Feb 02, 2023 at 03:20:00PM +0100, Ahmad Fatoum wrote:
> The overlay adds a SRAM at address 0x1000, but the unit address was
> still 0, which is confusing. Change it to sram@1000 instead.
>
> Reported-by: Marco Felsch
> Signed-off-by: Ahmad Fatoum
> ---
> arch/riscv/boards/riscvemu/overl
On Thu, Feb 02, 2023 at 02:26:10PM +0100, Marco Felsch wrote:
> The cflag and cppflag handling is rather complicated for this small
> Makefile. The code uses two helper variables riscv-cflags-y cflags-y
> which are assigned later to PBL_CPPFLAGS, KBUILD_CPPFLAGS and
> KBUILD_CFLAGS.
>
> Remove thi
On Mon, Jan 30, 2023 at 08:20:54AM +0100, Ahmad Fatoum wrote:
> So far, ifup -a tries to up all non-disabled interfaces in sequence.
> This can take a quite a while, because interfaces with the link down,
> will be polled for 10s, before giving up on doing DHCP on them.
>
> This series accelerates
Hi Jules,
On Wed, Jan 25, 2023 at 04:39:59PM +0100, Jules Maselbas wrote:
> Using sendmsg_current to detect if a packet needs to be retransmitted is
> brittle as only packets containing data will ever be considered, packets
> only containing a header (without data) were never being retransmitted.
On Fri, Feb 03, 2023 at 10:07:22AM +0100, Lucas Stach wrote:
> Am Freitag, dem 03.02.2023 um 08:55 +0100 schrieb Sascha Hauer:
> > On Thu, Feb 02, 2023 at 01:05:24PM +0100, Lucas Stach wrote:
> > > Linux added another USB clock to properly describe the controller root
> >
On Thu, Feb 02, 2023 at 06:33:08PM +0100, Lucas Stach wrote:
> This is a port of the Linux commit 5008062f1c3f ("nvmem: core: add nvmem
> cell post processing callback"). It looks a little different, as Linux
> switched to create nvmem cells at registration time, effectively
> deduplicating the cel
The Riotboard has an SD card slot from which the board can be booted.
Add an update handler for it.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/embest-riotboard/board.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boards/embest-riotboard/board.c
b/arch/arm/boards/embest
Switch the Riotboard to board driver with deep probe enabled.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/embest-riotboard/board.c | 20 +++-
1 file changed, 15 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boards/embest-riotboard/board.c
b/arch/arm/boards/embest
The phy setup done in the board code is done by the phy driver already,
so drop the board code.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/embest-riotboard/board.c | 35
arch/arm/mach-imx/Kconfig| 1 +
2 files changed, 1 insertion(+), 35 deletions
On Mon, Feb 06, 2023 at 09:59:28PM +0100, Lucas Stach wrote:
> The Linux kernel or whatever is started from Barebox might switch the
> ARM frequency to OD level, without first reprogramming the PMIC as
> required. This might lead to system instability. To avoid this,
> increase VDD_ARM to OD level.
On Mon, Feb 06, 2023 at 10:00:02PM +0100, Lucas Stach wrote:
> Limit detected early memory size to 1GB on i.MX8MP, as the default DT
> has a reserved memory region at 0x9240, which will conflict with
> our malloc area in some configurations. Until we can properly parse
> and exclude the reserve
On Mon, Feb 06, 2023 at 02:45:51PM +0100, Roland Hieber wrote:
> Signed-off-by: Roland Hieber
> ---
> Documentation/user/booting-linux.rst | 2 ++
> Documentation/user/networking.rst| 10 ++
> 2 files changed, 8 insertions(+), 4 deletions(-)
Applied, thanks
Sascha
>
> diff --git
On Wed, Feb 08, 2023 at 09:20:15AM +0100, Sascha Hauer wrote:
> On Mon, Feb 06, 2023 at 10:00:02PM +0100, Lucas Stach wrote:
> > Limit detected early memory size to 1GB on i.MX8MP, as the default DT
> > has a reserved memory region at 0x9240, which will conflict with
> &g
On Wed, Feb 08, 2023 at 11:13:06AM +0300, Denis Orlov wrote:
> This driver seems to work fine on ARM64 Virtual Machine in QEMU.
>
> Signed-off-by: Denis Orlov
> ---
> drivers/net/Kconfig | 1 -
> drivers/net/rtl8139.c | 2 --
> 2 files changed, 3 deletions(-)
Applied including the fixup!
Tha
On Wed, Feb 08, 2023 at 02:34:06PM +0100, Lucas Stach wrote:
> All i.MX8M* DDRC nodes are compatible to "fsl,imx8m-ddrc". As the memory
> size detection works the same on most of them, with the only exception
> being the i.MX8MN, which only has a 16bit data bus, there is no need to
> match the more
On Wed, Feb 08, 2023 at 02:35:18PM +0100, Lucas Stach wrote:
> From: Ahmad Fatoum
>
> Signed-off-by: Ahmad Fatoum
> Signed-off-by: Lucas Stach
> ---
> drivers/ddr/imx8m/ddrphy_utils.c | 3 +++
> 1 file changed, 3 insertions(+)
Applied, thanks
Sascha
>
> diff --git a/drivers/ddr/imx8m/ddrph
On Wed, Feb 08, 2023 at 02:35:19PM +0100, Lucas Stach wrote:
> From: Ahmad Fatoum
>
> The Polyhex DEBIX Model A is an i.MX8MP based Rpi form factor board.
> This commit imports the v6 of the Linux device tree[1], and the timings
> from the vendor U-Boot[2] and combines it with existing barebox i.
On Thu, Feb 09, 2023 at 10:56:40AM +0100, Kilian Strasser wrote:
> Function gpioinfo returns wrong gpio values.
> In the file pinctrl.rockchip.c a wrong register offset is used by the
> function rockchip_gpiov2_get_value. Also the bit-mask for this register
> is wrong. Change register offset for th
On Thu, Feb 09, 2023 at 05:37:51PM +0300, Denis Orlov wrote:
> Otherwise, we can not access file systems located on partitioned NVME
> drives.
>
> Signed-off-by: Denis Orlov
> ---
> drivers/nvme/host/core.c | 5 +
> 1 file changed, 5 insertions(+)
Applied, thanks
Sascha
>
> diff --git a/
On Wed, Feb 08, 2023 at 01:26:21PM +, Renaud Barbier wrote:
> The LS1021A-IOT is NXP ARMv7 Layerscape evaluation board.
>
> These patches provide a basic board support with:
> - UART
> - boot from SPI
> - One Ethernet port - eth1*
>
> The content of the EEPROM having been lo
On Wed, Feb 08, 2023 at 01:26:30PM +, Renaud Barbier wrote:
> The LS1021A-IOR is a NXP reference board.
> Currently supported:
>
> - DDR3 RAM fixed settings
> - UART
> - SPI boot
> - One SGMII network ports
>
> Signed-off-by: Renaud Barbier
> ---
> arch/arm/boards/Makefile
though it's never compiled
together as they are different compiler architectures.
Sascha
>
> > -Original Message-
> > From: Sascha Hauer
> > Sent: 10 February 2023 11:26
> > To: Renaud Barbier
> > Cc: Barebox List
> > Subject: Re: [PATCH 0/2
On Fri, Feb 10, 2023 at 11:48:31PM +0100, Roland Hieber wrote:
> There are use cases where the port and mount path of the NFS root need
> to be changed from the default values, e.g. with the userspace NFS
> daemon used by 'ptxdist nfsroot', which tells you:
>
> Mount rootfs with nfsroot=/root,
On Fri, Feb 10, 2023 at 05:53:53PM +0100, Ahmad Fatoum wrote:
> FIT public key is usually passed in via board DT. Usual way to use
> barebox with QEMU Virt however is to use DT supplied by Qemu and apply
> overlay to it. mkimage doesn't generate overlay DTB though. To make
> barbebox Qemu Virt beha
1 - 100 of 16535 matches
Mail list logo