Import most of libexfat from [1] except for log.c verbatim. The code
does not even compile and further adjustments and integration into
U-Boot filesystem code is in the next patch.
[1] https://github.com/relan/exfat
0b41c6d3560d ("CI: bump FreeBSD to 13.1.")
Signed-off-by: Marek Vasut
---
Cc
I got multiple reports that DRAM size is occasionally misdetected on H616.
Some analysis revealed that issues are the same as on currently WIP A523
DRAM driver. Namely:
- size check might test outside H616 DRAM memory region
- only one dword pattern is not enough for memory aliasing testing
Follow
Since there is quite a few possible DRAM configurations in terms of bus
width, rank and rows and columns count, size detection algorithm must be
very careful not to test combination which would be bigger than H616 is
actually capable of handling.
Ideally, we should always detect memory aliasing, e
It turns out that checking just one write is not enough. Due to
unexplained reasons scan procedure detected double the size. By making
16 dword writes and comparisons that never happens.
New procedure is also inverted. Instead of writing two different values
to base address and some offset and the
Save the struct netif pointer in the corresponding struct udevice when
the netif is created. This avoids needlessly re-creating devices each
time the lwIP stack is entered.
Replace functions net_lwip_new_netif() and net_lwip_new_netif_noip()
with net_lwip_netif() and net_lwip_netif_noip() respecti
Cards should always be reset and threshold set. This fixes eMMC on H616.
Signed-off-by: Jernej Skrabec
---
drivers/mmc/sunxi_mmc.c | 28 ++--
drivers/mmc/sunxi_mmc.h | 15 +--
2 files changed, 35 insertions(+), 8 deletions(-)
diff --git a/drivers/mmc/sunxi_mm
On Wednesday, March 5th, 2025 at 12:20 AM, Heinrich Schuchardt
wrote:
>
> On 3/5/25 09:13, Sughosh Ganu wrote:
> >
> > Can you check what is the address being asked for in the
> > lmb_alloc_addr() function.
>
> maybe also add a call to lmb_dump_all_force()
Thank you both! This was exactly wha
On STM32MP15xx with 1 GiB of DRAM, the gd->ram_top becomes 0,
because DRAM base 0xc000 + DRAM size 0x4000 leads to
gd->ram_top overflow which resets it to 0. Handle this special
case simply by checking for gd->ram_top being zero, and if it
is, assume there is no addr >= gd->ram_top .
This
On Thu, Mar 6, 2025 at 9:57 AM Fabio Estevam wrote:
>
> On Sun, Mar 2, 2025 at 1:53 PM Adam Ford wrote:
> >
> > The ECSPI clock has the ability to select between pll3_60m and
> > osc on the imx6qp, where it's fixed on other variants. Fix this
> > by adding using a helper function to determine So
Hi Patrick,
On Sun, 16 Feb 2025 at 05:56, Simon Glass wrote:
>
> Hi Patrick,
>
> On Sun, 16 Feb 2025 at 01:28, Patrick Rudolph
> wrote:
> >
> > Hi Simon,
> > On Thu, Jan 23, 2025 at 3:13 PM Tom Rini wrote:
> > >
> > > On Fri, 10 Jan 2025 16:59:59 -0700, Simon Glass wrote:
> > >
> > > > The curr
On 3/8/25 3:50 PM, Paul Barker wrote:
On 06/03/2025 22:12, Marek Vasut wrote:
Update the miiphybb documentation to match current implementation.
The static struct bb_miiphy_bus bb_miiphy_buses[] array is removed.
The example is updated to match current Renesas RAVB driver, which
is one of the mi
Update the miiphybb documentation to match current implementation.
The static struct bb_miiphy_bus bb_miiphy_buses[] array is removed.
The example is updated to match current Renesas RAVB driver, which
is one of the miiphybb users.
Reviewed-by: Paul Barker
Signed-off-by: Marek Vasut
---
Cc: Jim
Convert the current miiphybb documentation to rst. Rename
the README.bitbangMII to bitbangmii.rst in the process.
Signed-off-by: Marek Vasut
---
Cc: Jim Liu
Cc: Joe Hershberger
Cc: Mario Six
Cc: Michael Chang
Cc: Nobuhiro Iwamatsu
Cc: Parvathi Bhogaraju
Cc: Paul Barker
Cc: Ramon Fried
Cc:
Add generic implementation of the 'rm' command to delete files
from filesystems using the generic filesystem API.
Signed-off-by: Marek Vasut
---
Cc: Baruch Siach
Cc: Francesco Dolcini
Cc: Heinrich Schuchardt
Cc: Hiago De Franco
Cc: Ilias Apalodimas
Cc: Nam Cao
Cc: Simon Glass
Cc: Sughosh G
Add generic implementation of write into a block device to be used
by filesystem implementations. This is a pair function for already
existing fs_devread().
Signed-off-by: Marek Vasut
---
Cc: Baruch Siach
Cc: Francesco Dolcini
Cc: Heinrich Schuchardt
Cc: Hiago De Franco
Cc: Ilias Apalodimas
Demote "exFAT file system is not found" message to debug(). This is
printed when U-Boot attempts to auto-detect the filesystem via generic
filesystem API by attempting to mount the device, and fails to do so
because there is another filesystem in place. The libexfat-fuse code
prints this an error,
Enable exfat support in sandbox and sandbox64 to assure build and
test coverage of this filesystem on both 32bit and 64bit builds.
Signed-off-by: Marek Vasut
---
Cc: Baruch Siach
Cc: Francesco Dolcini
Cc: Heinrich Schuchardt
Cc: Hiago De Franco
Cc: Ilias Apalodimas
Cc: Nam Cao
Cc: Simon Gla
Add tests for the exfat filesystem. These tests are largely an
extension of the FS_GENERIC tests with the following notable
exceptions.
The filesystem image for exfat tests is generated using combination
of exfatutils mkfs.exfat and python fattools. The fattols are capable
of generating exfat file
This seems to be needed for filesystem tests at least on
ubuntu 22.04 machines. Add setuptools into requirements.txt .
Signed-off-by: Marek Vasut
---
Cc: Baruch Siach
Cc: Francesco Dolcini
Cc: Heinrich Schuchardt
Cc: Hiago De Franco
Cc: Ilias Apalodimas
Cc: Nam Cao
Cc: Simon Glass
Cc: Sugh
Fix the following conversion overflow errors. The input field is already
limited to 3/2/1 bits using the bitwise and, move the parenthesis around
to avoid the bogus warning:
"
fs/exfat/utf.c: In function ‘utf8_to_wchar’:
fs/exfat/utf.c:165:23: warning: overflow in conversion from ‘int’ to ‘wchar_t
Add U-Boot adjustments to the libexfat code and integrate
the result into U-Boot filesystem layer. This provides full
read-write exfat support for U-Boot available via generic
filesystem interface.
FS_DIRENT_NAME_LEN is increased to 1024 in case exfat is
enabled, because EXFAT can use UTF16 names,
Add generic implementation of struct stat {} imported from Linux 6.13.y
commit 27560b371ab8 ("fs: pack struct kstat better"). This can be used
by filesystem code imported from elsewhere. Now struct stat {} becomes
available on all supported architectures.
Signed-off-by: Marek Vasut
---
Cc: Baruch
The generic filesystem interface was so far untested. The interface
is similar to the FS specific interfaces with FS specific prefixes,
like ext4ls, fatmkdir, ... but it does not have any prefixes, i.e.
it provides plain ls, mkdir, ... commands.
Extend the test parameters to include 'fs_cmd_prefix
Add generic implementation of the 'mkdir' command to create directories
in filesystems using the generic filesystem API.
Signed-off-by: Marek Vasut
---
Cc: Baruch Siach
Cc: Francesco Dolcini
Cc: Heinrich Schuchardt
Cc: Hiago De Franco
Cc: Ilias Apalodimas
Cc: Nam Cao
Cc: Simon Glass
Cc: Su
Import exfat-fuse libexfat, add U-Boot filesystem layer porting glue
code and wire exfat support into generic filesystem support code. This
adds exfat support to U-Boot.
Fill in generic filesystem interface for mkdir and rm commands.
Make filesystem tests test the generic interface as well as exfa
Hi Adam,
On Sat, Mar 8, 2025 at 4:07 PM Adam Ford wrote:
> Thanks for the review. I will make the updates to the two patches you
> requested. Is there anything else you want changed before I submit
> V2?
The rest looks good, thanks.
The existing memory layout places the bloblist at 0xb000 and the fdt at
0x100, resulting in a 0xaf00 size constraint for the fdt. This constraint
has been reached. Lets modify the layout by moving the bloblist to 0x100,
device tree to 0x1000 and placing early memory allocation after pre-console
buf
The existing memory layout places the bloblist at 0xb000 and the fdt at
0x100, resulting in a 0xaf00 size constraint for the fdt. This constraint
has been reached. Lets modify the layout by moving the bloblist to 0x100,
device tree to 0x1000 and placing early memory allocation after pre-console
buf
On 05/03/2025 20:05, Marek Vasut wrote:
> On 3/4/25 5:37 PM, Paul Barker wrote:
>
> [...]
>
>> +static int rzg2l_usbphy_ctrl_assert(struct reset_ctl *reset_ctl)
>> +{
>> +struct rzg2l_usbphy_ctrl_priv *priv = dev_get_priv(reset_ctl->dev);
>> +u32 val;
>> +
>> +val = readl(priv->regs +
On 06/03/2025 22:12, Marek Vasut wrote:
> Update the miiphybb documentation to match current implementation.
> The static struct bb_miiphy_bus bb_miiphy_buses[] array is removed.
> The example is updated to match current Renesas RAVB driver, which
> is one of the miiphybb users.
>
> Signed-off-by:
On Sat, Mar 08, 2025 at 03:07:19PM +0500, Ali Tariq wrote:
> Hello everyone,
>
> I am trying to build a separate SPL for u-boot (which would produce a file
> named FSBL.bin - first stage boot loader after the build) for testing
> purposes. I am using bananapi-f3_defconfig as the config file.
iirc
On Mon, 17 Feb 2025 13:26:41 -0500, Gabriel Dalimonte wrote:
> This series adds support for file renaming to EFI_FILE_PROTOCOL.SetInfo().
> One of the use cases for renaming in EFI is to facilitate boot loader
> boot counting.
>
> No existing filesystems in U-Boot currently include file renaming,
Hello everyone,
I am trying to build a separate SPL for u-boot (which would produce a file
named FSBL.bin - first stage boot loader after the build) for testing
purposes. I am using bananapi-f3_defconfig as the config file. But I want
to know how to produce a separate SPL for any SoC or board.
Is
On 3/6/25 11:56, Cheick Traore wrote:
> Enable the following configs:
>
> * CONFIG_MFD_STM32_TIMERS: enables support for the STM32 multifunction
>timer
> * CONFIG_DM_PWM: enables support for pulse-width modulation devices
> * CONFIG_CMD_PWM: enables 'pwm' command to
34 matches
Mail list logo