Now that we've switched to the new FAT filesystem implementation, delete
the old implementation.
Signed-off-by: Stephen Warren
---
fs/fat_orig/Kconfig |0
fs/fat_orig/Makefile| 11 -
fs/fat_orig/fat.c | 1360
Add a file that converts all the FAT-related APIs used by U-Boot into
ff.c calls. This allows ff.c to provide the FAT implementation for
U-Boot.
Signed-off-by: Stephen Warren
---
v3:
* Fix writes to truncate the file to the written length.
* Add error cleanup (e.g.
Modify the U-Boot build system to build the new FAT implementation in
fs/fat/ rather than the old implementation in fs/fat_orig/.
Signed-off-by: Stephen Warren
---
fs/Kconfig | 2 +-
fs/Makefile | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
ff.c uses a bunch of custom typedefs. Define these in terms of standard
types from , so they'll automatically be the correct size
for any build of U-Boot.
Signed-off-by: Stephen Warren
---
v2: Make INT and UINT 32-bit types e.g. so that f_read() can read (or
at the least,
Add a case statement for IF_TYPE_HOST in dev_print() so that it prints
the device type rather than the "device type unknown" message.
Signed-off-by: Stephen Warren
---
disk/part.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/disk/part.c b/disk/part.c
index
Enhance f_read() to find the maximum contiguous set of clusters to read,
and read it all at once (which is fast) rather one by one (which is
slow).
Signed-off-by: Stephen Warren
---
V3: New patch.
---
fs/fat/ff.c | 45 -
1 file
A future patch will add a new implementation of the FAT filesystem in
fat/. Move the old version to fat_orig/ so that the patches which add
the new implementation can add it directly in the final location.
Signed-off-by: Stephen Warren
---
fs/Kconfig
Without this, any board that doesn't enable read-write FAT triggers:
fs/fat/ff.c:1331:6: warning: ‘gen_numname’ defined but not used
[-Wunused-function]
... since gen_numname() is not referenced from dir_register() is ifdef'd
out.
Signed-off-by: Stephen Warren
---
v2:
Turn on _FS_NORTC: This means we don't have to implement get_fattime()
which simplifies life for now.
Automatically set _FS_READONLY based on CONFIG_FAT_WRITE. This requires
including since we reference CONFIG_*.
Set _USE_LFN to enable long filename handling; an essential feature.
Set
This reverts commit 8fe11b8901a31d11990488c82bc23612589d57be.
I'll add support to lwmon5 in the next patch and will remove
support for the broken lcd4_lwmon5 as well.
Signed-off-by: Stefan Roese
Cc: Masahiro Yamada
---
This platform has not gone into production. So lets remove it.
Signed-off-by: Stefan Roese
Cc: Masahiro Yamada
---
arch/powerpc/cpu/ppc4xx/Kconfig | 1 -
board/lwmon5/MAINTAINERS| 1 -
board/lwmon5/lwmon5.c | 8 --
Add CONFIG_SYS_GENERIC_BOARD to lwmon5.h and CONFIG_DISPLAY_BOARDINFO
to Kconfig file.
Signed-off-by: Stefan Roese
Cc: Masahiro Yamada
---
board/lwmon5/Kconfig | 4
include/configs/lwmon5.h | 2 ++
2 files changed, 6 insertions(+)
diff
Hi guys,
I am searching for a command to create
a partition table (like fdisk command).
I can create a partition table by PC
for removable devics such as SD card,
but I want U-boot to do that for on-board devices
such as eMMC.
Does U-boot have one?
--
Best Regards
Masahiro Yamada
The following changes since commit 1f8836396de8215b7f460616926052b32597bb29:
Prepare v2015.10-rc4 (2015-09-28 16:57:42 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-fdt.git
for you to fetch changes up to 8809141907528550750420e14c24fa66e089b3f8:
dts: Add a
Hi Fabio
On 02/10/15 09:25 AM, Fabio Estevam wrote:
From: Fabio Estevam
Since commit 623d96e89aca6("imx: wdog: correct wcr register settings")
issuing a 'reset' command causes the system to hang.
Unlike i.MX and Vybrid, the watchdog controller on LS102x is
On 06/09/2015 11:15, Peng Fan wrote:
> We should follow 'read->set/clr bit->write' flow for enable_fec_anatop_clock,
> otherwise we may overridden configuration before enable_fec_anatop_clock.
>
> Signed-off-by: Peng Fan
> Cc: Stefano Babic
> Cc: Cc:
Hi Tom,
please pull from u-boot-imx, thanks !
The following changes since commit 1f8836396de8215b7f460616926052b32597bb29:
Prepare v2015.10-rc4 (2015-09-28 16:57:42 -0400)
are available in the git repository at:
git://www.denx.de/git/u-boot-imx.git master
for you to fetch changes up to
Hi,
thx for answer.
My colleague found a way that he:
- converts txt script to u-boot form (by mkimage)
- converts uboot script to .o object ($(OBJCOPY) -I binary -O
elf32-littlearm -B arm --rename-section .data=.rodata boot_script
boot_script.o)
- then:
extern unsigned char
Le mercredi 30 septembre 2015 à 08:50 -0700, Vagrant Cascadian a écrit :
> On 2015-09-28, Paul Kocialkowski wrote:
> > What do you think? Please let me know if I'm wrong.
>
> This patch on top of 2015.10-rc4 seems to resolve the issue for me:
>
> Index: u-boot/tools/default_image.c
>
On Fri, Oct 2, 2015 at 1:30 AM, Wolfgang Denk wrote:
> In message
>
On Fri, Oct 2, 2015 at 10:04 AM, Sinan Akman wrote:
> I'll test this little later on when I am in the lab, but why are
> we setting WCR_WDE anyways. We are not re-setting a new time
> out value so this should be irrelevant.
>
> All we need is to clear the SRS bit, no need
From: Fabio Estevam
Since commit 623d96e89aca6("imx: wdog: correct wcr register settings")
issuing a 'reset' command causes the system to hang.
Unlike i.MX and Vybrid, the watchdog controller on LS102x is big-endian.
This means that the watchdog on LS1021 has been
Hi Liviu,
On 2 October 2015 at 14:21, Liviu Dudau wrote:
> Hi Ryan,
>
> On Thu, Oct 01, 2015 at 06:43:35PM +0100, Ryan Harkin wrote:
> > The default Juno firmware has renamed the kernel and device tree
> > filenames to norkern and board.dtb.
> >
> > Rather than change the
Hi Julius,
On 25 September 2015 at 18:27, Julius Werner wrote:
> This patch adds support for LZ4-compressed FIT image contents. This
> algorithm has a slightly worse compression ration than LZO while being
> nearly twice as fast to decompress. When loading images from a
On 02/10/15 07:39 AM, Fabio Estevam wrote:
On Fri, Oct 2, 2015 at 8:10 AM, Fabio Estevam wrote:
On Fri, Oct 2, 2015 at 1:30 AM, Wolfgang Denk wrote:
In message
On Fri, Oct 2, 2015 at 11:21 AM, Sinan Akman wrote:
>Tested-by: Sinan Akman
Thanks a lot for your help, Sinan!
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On Fri, Sep 25, 2015 at 4:06 PM, Hans de Goede wrote:
> Hi,
>
> On 25-09-15 04:35, Chen-Yu Tsai wrote:
>>
>> On Thu, Sep 24, 2015 at 11:24 PM, Hans de Goede
>> wrote:
>
>
>
>
>>> diff --git a/configs/q8_a33_tablet_800x480_defconfig
>>>
On 21/09/2015 22:43, Albert ARIBAUD (3ADEV) wrote:
> The driver assumed that I2C1 and I2C2 were always enabled,
> and if they were not, then an asynchronous abort was (silently)
> raised, to be caught much later on in the Linux kernel.
>
> Fix this by making I2C1 and I2C2 optional just like I2C3
On 21/09/2015 22:43, Albert ARIBAUD (3ADEV) wrote:
> The VF610 DDRMC driver code contains settings which are
> board-specific. Move these out to boards so that new boards
> can define their own without having to modify the driver.
>
> Signed-off-by: Albert ARIBAUD (3ADEV)
Hi Soeren,
On 01/10/2015 22:52, Soeren Moch wrote:
> On 01.10.2015 22:48, Soeren Moch wrote:
>> Set missing boot address in bootm command. This fixes the error:
>> Wrong Image Format for bootm command
>> ERROR: can't get kernel image!
>>
>> Reported-by: Uwe Scheffler
>>
Hi,
On 02-10-15 10:49, Chen-Yu Tsai wrote:
On Fri, Sep 25, 2015 at 4:06 PM, Hans de Goede wrote:
Hi,
On 25-09-15 04:35, Chen-Yu Tsai wrote:
On Thu, Sep 24, 2015 at 11:24 PM, Hans de Goede
wrote:
diff --git
Hi,
On 1 October 2015 at 12:51, Sjoerd Simons wrote:
> When malloc_base initially gets setup in the SPL it is based on the
> current (early) stack pointer, which for rockchip is pointing into SRAM.
> This means simple memory allocations happen in SRAM space, which
Hi Peng,
I have not forgotten this series. Anyway, this has introduced aome
changes that could brick other boards and it is my opininio to postpone
it after 2015.10 release. Of course, I will send to you a full review
for that.
Best regards,
Stefano Babic
On 10/09/2015 12:28, Peng Fan wrote:
>
On 23/09/2015 05:52, Fabio Estevam wrote:
> From: Fabio Estevam
>
> Add DFU support.
>
> Tested by flashing SPL and u-boot.img into SPI NOR flash with the
> following commands:
>
> => setenv dfu_alt_info ${dfu_alt_info_spl}
>
> => run dfuspi
>
> On the host PC:
>
On 1 October 2015 at 18:16, Thomas Chou wrote:
> Hi Simon,
>
> On 10/02/2015 06:49 AM, Simon Glass wrote:
Add ioremap() to map physical address to uncached virtual
address. We need this to convert the reg address from the
device tree.
>>
>> Can we not
On Fri, Oct 2, 2015 at 8:10 AM, Fabio Estevam wrote:
> On Fri, Oct 2, 2015 at 1:30 AM, Wolfgang Denk wrote:
>
>> In message
>>
On 21/09/2015 22:43, Albert ARIBAUD (3ADEV) wrote:
> Devices supported are:
> - NFC (NAND FLASH)
> - MMC
> - QSPI (SPI NOR FLASH)
> - I2C (only bus 2)
> - I2C RTC
> - I2C EEPROM
> - FEC
>
> Patch-series: 2
> - remove useless CONFIG_SYS_SPD_BUS_NUM from config
> - remove include of
Dear Fabio,
In message <1443792315-18997-1-git-send-email-feste...@gmail.com> you wrote:
>
...
> Unlike i.MX and Vybrid, the watchdog controller on LS102x is big-endian.
...
> +struct watchdog_regs {
> + u16 wcr;/* Control */
> + u16 wsr;/* Service */
> + u16
Dear Fabio Estevam,
In message <1443799557-26419-2-git-send-email-feste...@gmail.com> you wrote:
>
> Since commit 623d96e89aca6("imx: wdog: correct wcr register settings")
> issuing a 'reset' command causes the system to hang.
>
> Unlike i.MX and Vybrid, the watchdog controller on LS102x is
When building with SOURCE_DATE_EPOCH set, avoid use of mktime in
default_image.c, which converts the timestamp into localtime. This
causes variation based on timezone when building u-boot.img and
u-boot-sunxi-with-spl.bin targets.
Signed-off-by: Vagrant Cascadian
---
From: Fabio Estevam
Since commit 623d96e89aca6("imx: wdog: correct wcr register settings")
issuing a 'reset' command causes the system to hang.
Unlike i.MX and Vybrid, the watchdog controller on LS102x is big-endian.
This means that the watchdog on LS1021 has been
From: Fabio Estevam
Create fsl_wdog.h to store the watchdog registers and bit fields.
This can be useful when accesses to the watchdog block are made from other
parts, such as arch/arm/ cpu code.
Signed-off-by: Fabio Estevam
---
From: Fabio Estevam
Create fsl_wdog.h to store the watchdog registers and bit fields.
This can be useful when accesses to the watchdog block are made from other
parts, such as arch/arm/ cpu code.
Signed-off-by: Fabio Estevam
---
From: Fabio Estevam
Since commit 623d96e89aca6("imx: wdog: correct wcr register settings")
issuing a 'reset' command causes the system to hang.
Unlike i.MX and Vybrid, the watchdog controller on LS102x is big-endian.
This means that the watchdog on LS1021 has been
Hi Wolfgang
On 02/10/15 10:42 AM, Wolfgang Denk wrote:
Dear Fabio,
In message <1443792315-18997-1-git-send-email-feste...@gmail.com> you wrote:
...
Unlike i.MX and Vybrid, the watchdog controller on LS102x is big-endian.
...
+struct watchdog_regs {
+ u16 wcr;/* Control */
+
On 02/10/15 10:34 AM, Fabio Estevam wrote:
On Fri, Oct 2, 2015 at 11:21 AM, Sinan Akman wrote:
Tested-by: Sinan Akman
Thanks a lot for your help, Sinan!
You are very welcome Fabio. Let's take a cleaner look
at this for 2016.01 to consider all
On Fri, Oct 2, 2015 at 11:42 AM, Wolfgang Denk wrote:
> So this fixes the reset problem for now - but what happens when
> someone wants to use the watchdog for real? Will we create a copy of
> drivers/watchdog/imx_watchdog.c using big-endian accessors? This
> cannot be right?
Tom,
Please pull u-boot-tegra/master into U-Boot/master. Thanks!
All tegra builds are OK (32-bit and 64-bit), and P2571 T210 64-bit boots to
cmd prompt OK.
The following changes since commit 1f8836396de8215b7f460616926052b32597bb29:
Prepare v2015.10-rc4 (2015-09-28 16:57:42 -0400)
are
Hi Ryan,
On Thu, Oct 01, 2015 at 06:43:35PM +0100, Ryan Harkin wrote:
> The default Juno firmware has renamed the kernel and device tree
> filenames to norkern and board.dtb.
>
> Rather than change the default configuration to use the new names,
> breaking those with the old firmware, attempt to
Hello Heiko,
According to Richard Weinberger, UBI fastmap is broken in U-Boot.
There are plenty
of fixes in Linux that we should pull in U-Boot to fix it.
Maybe you are already aware of this and you have some work-in-progress
patches to share?
Otherwise, I might be able to spend some time
On 10/02/2015 08:25 AM, Fabio Estevam wrote:
> From: Fabio Estevam
>
> Since commit 623d96e89aca6("imx: wdog: correct wcr register settings")
> issuing a 'reset' command causes the system to hang.
>
> Unlike i.MX and Vybrid, the watchdog controller on LS102x is
On Thu, Oct 01, 2015 at 09:44:12AM +0200, Andreas Bießmann wrote:
> Hi Tom,
>
> here are two small fixes for v2015.10 regarding atmel boards.
>
> Andreas
>
> The following changes since commit 1f8836396de8215b7f460616926052b32597bb29:
>
> Prepare v2015.10-rc4 (2015-09-28 16:57:42 -0400)
>
On Thu, Oct 01, 2015 at 12:07:42AM +, Luka Perkov wrote:
> Hi Tom,
>
> can you please pull these three commits containing two mvebu related
> fixes and one handy kwboot tool feature?
>
> The following changes since commit 1f8836396de8215b7f460616926052b32597bb29:
>
> Prepare v2015.10-rc4
On Tue, Sep 29, 2015 at 02:00:38PM +0200, Hans de Goede wrote:
> Hi Tom,
>
> Here is a (the final?) sunxi pull-req for v2015.10, highlights:
>
> -Misc fixes / tweaks
> -Add support for 2 new boards
>
> The following changes since commit 1f8836396de8215b7f460616926052b32597bb29:
>
> Prepare
On Tue, Sep 29, 2015 at 09:20:53AM -0600, Simon Glass wrote:
> Hi Tom.
>
> This include one more bug fix.
>
> The following changes since commit 1f8836396de8215b7f460616926052b32597bb29:
>
> Prepare v2015.10-rc4 (2015-09-28 16:57:42 -0400)
>
> are available in the git repository at:
>
>
On Wed, Sep 30, 2015 at 12:23:38PM -0500, Joe Hershberger wrote:
> The following changes since commit 1f8836396de8215b7f460616926052b32597bb29:
>
> Prepare v2015.10-rc4 (2015-09-28 16:57:42 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-net.git master
>
>
On Thu, Oct 1, 2015 at 9:18 AM, Wolfgang Denk wrote:
> Dear Andy,
>
> In message
>
From: Stephen Warren
Casting from dev->priv to pci_dev_t changes the value's size on a 64-bit
system. This causes the compiler to complain about casting a pointer to an
integer of a different (smaller) size. To avoid this, cast to an integer
of matching size first, then
From: Stephen Warren
PCI addresses are always represented as 3 cells in DT. (one cell for bus
and device, and two cells for a 64-bit addres). This does not vary based
on either the physical address size of the CPU, nor any #address-cells
property in DT (or more precisely,
On Fri, Oct 02, 2015 at 11:11:40AM +0200, Stefano Babic wrote:
> Hi Tom,
>
> please pull from u-boot-imx, thanks !
>
> The following changes since commit 1f8836396de8215b7f460616926052b32597bb29:
>
> Prepare v2015.10-rc4 (2015-09-28 16:57:42 -0400)
>
> are available in the git repository
On Fri, Oct 02, 2015 at 11:15:51AM -0700, Tom Warren wrote:
> Tom,
>
> Please pull u-boot-tegra/master into U-Boot/master. Thanks!
>
> All tegra builds are OK (32-bit and 64-bit), and P2571 T210 64-bit boots to
> cmd prompt OK.
>
> The following changes since commit
On Monday, 28 September 2015, Bin Meng wrote:
>
> CONFIG_HOSTNAME is an environment varible, so that quotation mark
> is not needed.
>
> Signed-off-by: Bin Meng
>
> ---
>
> Changes in v2:
> - New patch to remove quotation mark in CONFIG_HOSTNAME
>
>
On Monday, 28 September 2015, Bin Meng wrote:
>
> VxWorks on x86 uses stack to pass parameters.
>
> Reported-by: Jian Luo
> Signed-off-by: Bin Meng
>
> ---
>
> Changes in v2:
> - New patch to add asmlinkage to the VxWorks x86
On Monday, 28 September 2015, Bin Meng wrote:
>
> E820 is critical to the kernel as it provides system memory map
> information. Pass it to an x86 VxWorks kernel.
>
> Signed-off-by: Bin Meng
> Reviewed-by: Tom Rini
> Tested-by: Jian
On Monday, 28 September 2015, Bin Meng wrote:
>
> install_e820_map() has nothing to do with zimage related codes.
> Move it to a dedicated place.
>
> Signed-off-by: Bin Meng
>
> ---
>
> Changes in v2:
> - New patch to move install_e820_map() out of
On Wednesday, 30 September 2015, Thomas Chou wrote:
>
> Convert nios2 cpu to driver model. The cpu parameters are
> extracted from device tree and saved to global data structure.
> We will use them to replace the custom_fpga.h .
>
> Signed-off-by: Thomas Chou
Hi,
On 01-10-15 20:51, Sjoerd Simons wrote:
When malloc_base initially gets setup in the SPL it is based on the
current (early) stack pointer, which for rockchip is pointing into SRAM.
This means simple memory allocations happen in SRAM space, which is
somewhat unfortunate. Specifically a
Hi,
On 09/30/2015 10:06 AM, Zatkovský Dušan wrote:
Really nobody?
--
Dusan
Dňa 22. 9. 2015 o 14:20 Zatkovský Dušan napísal(a):
Hi all,
Excuse my question if it was solved somewhere in forum, but I didn't
found an answer yet (maybe I can't find the right keywords).
I am building the uboot
Hello,
Am 02.10.2015 um 20:46 schrieb Richard Weinberger:
Hi!
Am 02.10.2015 um 18:27 schrieb Ezequiel Garcia:
Hello Heiko,
According to Richard Weinberger, UBI fastmap is broken in U-Boot.
There are plenty
of fixes in Linux that we should pull in U-Boot to fix it.
Thanks for pointing!
69 matches
Mail list logo