On 02/23/2018 04:58 AM, Alexander Kurtz wrote:
> Hi!
>
> I am using U-Boot to boot Debian Buster arm64 (standard kernel with a
> dracut-based initramfs) via an extlinux.conf on my Raspberry Pi 3.
>
> Recently, the Debian kernel grew beyond 16 MiB:
>
> 4.13: /boot/vmlinuz-4.13.0-1-arm64 == 1
TPL offset 0xff704004 is unaligned address which is adding nearest
8-bytes for next instruction, So 0xff704004 is adding 0x20 for
proper alignment which is causing the next instruction data
0xefff is moved.
Hexdump with overlaped bytes:
-
000 000
Due to size limitations in SPL by adding falcon mode,
rk3288 support TPL. In order to not overlap SPL_TEXT_BASE
add TPL_TEXT_BASE with u-boot-tpl.lds that intern call
u-boot-spl.lds with proper TEXT_BASE values.
Signed-off-by: Jagan Teki
Acked-by: Philipp Tomsich
---
Changes for v2:
- none
arc
Hi,
On 02/23/2018 04:21 PM, Jaehoon Chung wrote:
> During disabled MMC_HS200_SUPPORT, it doesn't use anywhere.
This patch is based on u-boot-mmc/next branch.
Best Regards,
Jaehoon Chung
>
> Signed-off-by: Jaehoon Chung
> ---
> drivers/mmc/uniphier-sd-rcar.c | 4
> 1 file changed, 4 inse
During disabled MMC_HS200_SUPPORT, it doesn't use anywhere.
Signed-off-by: Jaehoon Chung
---
drivers/mmc/uniphier-sd-rcar.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/mmc/uniphier-sd-rcar.c b/drivers/mmc/uniphier-sd-rcar.c
index 8baa2a9b46..894decd04d 100644
--- a/drivers/mm
On 02/23/2018 07:04 AM, Marek Vasut wrote:
On 02/23/2018 06:50 AM, Heinrich Schuchardt wrote:
[...]
When starting an EFI application the xterm escape sequences are
translated to EFI scan codes. See lib/efi_loader/efi_console.c
So this is only usable if you have display connected to the board ?
On 02/23/2018 12:47 AM, Tom Rini wrote:
> On Thu, Feb 22, 2018 at 11:25:47AM +0100, Jean-Jacques Hiblot wrote:
>> This reduces the size of the binary by about 600 bytes.
>>
>> Signed-off-by: Jean-Jacques Hiblot
>> ---
>>
>> drivers/mmc/omap_hsmmc.c | 16 ++--
>> 1 file changed, 10 ins
On 02/23/2018 08:05 AM, Adam Ford wrote:
> On Thu, Feb 22, 2018 at 4:43 PM, Adam Ford wrote:
>
>>
>>
>> On Tue, Jan 30, 2018 at 9:01 AM, Jean-Jacques Hiblot
>> wrote:
>>
>>> From: Kishon Vijay Abraham I
>>>
>>> Use the mmc_of_parse library function to populate mmc_config instead of
>>> repeatin
On 02/21/2018 05:57 PM, Jaehoon Chung wrote:
> Hi Alexander,
>
> On 02/21/2018 05:44 PM, Alexander Kochetkov wrote:
>>
>>> Do you mean SD-card or MMC-card? :)
>>> SD doesn't have EXT_CSD register.
>>
>> I see now. MMC-card. So, send v2? or you can simple fix SD with MMC in
>> commit msg.
>
> If
On 02/19/2018 02:31 PM, Faiz Abbas wrote:
> Hi,
>
> On Monday 12 February 2018 07:35 PM, Faiz Abbas wrote:
>> Drop the unnecessary empty function case for mmc_probe().
>>
>> Signed-off-by: Faiz Abbas
Applied to u-boot-mmc.
Best Regards,
Jaehoon Chung
>> ---
>> drivers/mmc/mmc.c | 7 +--
>>
On 01/30/2018 02:10 PM, Jaehoon Chung wrote:
> If some configs are disabled, number of freqs array will not assigned to
> correct value with bus_mode.
> Synchornize the ordering with enum bus_mode in mmc.h.
>
> Signed-off-by: Jaehoon Chung
Applied to u-boot-mmc.
Best Regards,
Jaehoon Chung
> -
On 02/23/2018 06:50 AM, Heinrich Schuchardt wrote:
[...]
>>> When starting an EFI application the xterm escape sequences are
>>> translated to EFI scan codes. See lib/efi_loader/efi_console.c
>>
>> So this is only usable if you have display connected to the board ?
>
> Why? We are talking about in
Hi Fabio,
On Thu, Feb 22, 2018 at 01:40:47PM -0300, Fabio Estevam wrote:
>Hi Peng,
>
>On Sun, Feb 4, 2018 at 7:42 AM, Stefano Babic wrote:
>
>> I have merged most of the series, Patch 2 up to patch 30, leaving out
>> just the last one for the EVK. Building mx8evk is fine, I have just
>> noted a co
Hello Lukasz,
Am 22.02.2018 um 14:03 schrieb Lukasz Majewski:
Hi Stefano,
Hi Lukasz,
On 22/02/2018 12:52, Lukasz Majewski wrote:
Hi Stefano,
If the bootcounter address is in a cached memory,
a flush of dcache must occur after updateing the bootcounter.
Issue found on i.MX6 where bootco
On 02/23/2018 12:02 AM, Marek Vasut wrote:
On 02/22/2018 09:53 PM, Heinrich Schuchardt wrote:
On 02/22/2018 08:55 PM, Marek Vasut wrote:
On 02/22/2018 07:06 PM, Heinrich Schuchardt wrote:
On 02/22/2018 03:20 PM, Marek Vasut wrote:
On 02/22/2018 01:04 PM, Heinrich Schuchardt wrote:
The USB ke
Hi!
I am using U-Boot to boot Debian Buster arm64 (standard kernel with a
dracut-based initramfs) via an extlinux.conf on my Raspberry Pi 3.
Recently, the Debian kernel grew beyond 16 MiB:
4.13: /boot/vmlinuz-4.13.0-1-arm64 == 16448000 bytes (< 16 MiB) [0]
4.14: /boot/vmlinuz-4.14.0-3-a
For the omap3_logic boards, the environment is always in NAND.
This removes the ENV_IS_IN_FAT flag to eliminate the extra chatter.
Signed-off-by: Adam Ford
diff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig
index 02eb2cf..0a60319 100644
--- a/configs/omap3_logic_defconfig
On Thu, Feb 22, 2018 at 4:25 AM, Jean-Jacques Hiblot wrote:
>
>
> This series aims at reducing the footprint of the omap_hsmmc driver in
> the SPL (1.5 kB gain in the case of the SPL for the am335x evm).
> It also fixes an issue with the am335x_evm by setting a default maximum
> frequency if none
The following changes since commit f0f6917188ad660cf002c10095f46ecf748b8f58:
Prepare v2018.03-rc3 (2018-02-20 16:51:56 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-usb.git master
for you to fetch changes up to b0cce3f90f546da0c1e0dda5abcaf05d81078b0d:
cmd: fast
On Thu, Feb 22, 2018 at 4:43 PM, Adam Ford wrote:
>
>
> On Tue, Jan 30, 2018 at 9:01 AM, Jean-Jacques Hiblot
> wrote:
>
>> From: Kishon Vijay Abraham I
>>
>> Use the mmc_of_parse library function to populate mmc_config instead of
>> repeating the same code in host controller driver.
>>
>> Signe
On 02/22/2018 09:53 PM, Heinrich Schuchardt wrote:
> On 02/22/2018 08:55 PM, Marek Vasut wrote:
>> On 02/22/2018 07:06 PM, Heinrich Schuchardt wrote:
>>> On 02/22/2018 03:20 PM, Marek Vasut wrote:
On 02/22/2018 01:04 PM, Heinrich Schuchardt wrote:
> The USB keyboard driver provides a ring
On Tue, Jan 30, 2018 at 9:01 AM, Jean-Jacques Hiblot
wrote:
> From: Kishon Vijay Abraham I
>
> Use the mmc_of_parse library function to populate mmc_config instead of
> repeating the same code in host controller driver.
>
> Signed-off-by: Kishon Vijay Abraham I
> Signed-off-by: Jean-Jacques Hib
On 02/22/2018 08:55 PM, Marek Vasut wrote:
On 02/22/2018 07:06 PM, Heinrich Schuchardt wrote:
On 02/22/2018 03:20 PM, Marek Vasut wrote:
On 02/22/2018 01:04 PM, Heinrich Schuchardt wrote:
The USB keyboard driver provides a ring buffer for key strokes.
Function keys cannot be encoded as single
Hi Grygori,
El 22/02/2018 a las 20:50, Grygorii Strashko escribió:
Hi
I'd appreciated if you can clarify few points below.
On 02/21/2018 10:10 AM, Álvaro Fernández Rojas wrote:
BCM6348 IUDMA controller is present on multiple BMIPS (BCM63xx) SoCs.
Signed-off-by: Álvaro Fernández Rojas
---
On 02/22/2018 07:06 PM, Heinrich Schuchardt wrote:
> On 02/22/2018 03:20 PM, Marek Vasut wrote:
>> On 02/22/2018 01:04 PM, Heinrich Schuchardt wrote:
>>> The USB keyboard driver provides a ring buffer for key strokes.
>>>
>>> Function keys cannot be encoded as single bytes. Instead xterm control
>>
Hi
I'd appreciated if you can clarify few points below.
On 02/21/2018 10:10 AM, Álvaro Fernández Rojas wrote:
> BCM6348 IUDMA controller is present on multiple BMIPS (BCM63xx) SoCs.
>
> Signed-off-by: Álvaro Fernández Rojas
> ---
> v3: no changes
> v2: Fix dma rx burst config and select DM
On 02/22/2018 03:20 PM, Marek Vasut wrote:
On 02/22/2018 01:04 PM, Heinrich Schuchardt wrote:
The USB keyboard driver provides a ring buffer for key strokes.
Function keys cannot be encoded as single bytes. Instead xterm control
sequences have to be put into the ring buffer.
Does it work with
Hi Alexey,
On 22 February 2018 at 09:23, Alexey Brodkin
wrote:
> Hi Simon,
>
> On Thu, 2018-02-22 at 09:17 -0700, Simon Glass wrote:
>> Hi,
>>
>> On 21 February 2018 at 05:26, Alexey Brodkin
>> wrote:
>> > Synopsys Data Fusion subsystem (DFSS) is targeted to deeply built-in
>> > use-cases and so
Hi Florian,
On 22.02.2018 15:52, Florian Klink wrote:
According to the clearfog wiki and uboot-armada38x src tree, there
are separate
images for sd and sata, with the makefile there calling
$(obj)tools/marvell/doimage -T mmc -D 0x0 -E 0x0 -G
$(obj)tools/marvell/bin_hdr/bin_hdr.bin u-boot.bin u-
Hi Peng,
On Sun, Feb 4, 2018 at 7:42 AM, Stefano Babic wrote:
> I have merged most of the series, Patch 2 up to patch 30, leaving out
> just the last one for the EVK. Building mx8evk is fine, I have just
> noted a couple of checkpatch warnings in mx8mq_evk.h
> (CONFIG_EXTRA_SETTINGS, line too lo
Hi Simon,
On Thu, 2018-02-22 at 09:17 -0700, Simon Glass wrote:
> Hi,
>
> On 21 February 2018 at 05:26, Alexey Brodkin
> wrote:
> > Synopsys Data Fusion subsystem (DFSS) is targeted to deeply built-in
> > use-cases and so to save some silicon area decision was made to
> > escape usage of any bus
On Thu, Feb 22, 2018 at 04:07:39PM +, Alexey Brodkin wrote:
> Hi Tom,
>
> On Thu, 2018-02-22 at 10:43 -0500, Tom Rini wrote:
> > On Wed, Feb 21, 2018 at 03:26:05PM +0300, Alexey Brodkin wrote:
>
> [snip]
>
> > > static inline void serial_out_shift(void *addr, int shift, int value)
> > > {
On 21 February 2018 at 09:10, Álvaro Fernández Rojas wrote:
> This adds channels support for dma controllers that have multiple channels
> which can transfer data to/from different devices (enet, usb...).
>
> Signed-off-by: Álvaro Fernández Rojas
> ---
> v3: Introduce changes reported by Simon G
Hi Alexey,
On 20 February 2018 at 09:28, Alexey Brodkin
wrote:
> Hi Simon,
>
> On Sun, 2018-02-04 at 06:40 -0700, Simon Glass wrote:
>> Hi Alexey,
>>
>> On 25 January 2018 at 10:56, Alexey Brodkin
>> wrote:
>> > In case of no relocation we'll just waste some paceat the very end
>>
>> space at?
On 21 February 2018 at 09:10, Álvaro Fernández Rojas wrote:
> Move dma_ops to a separate header file, following other uclass
> implementations.
> While doing so, this patch also improves dma_ops documentation.
>
> Signed-off-by: Álvaro Fernández Rojas
> ---
> v3: Introduce changes reported by S
Hi Alexey,
On 20 February 2018 at 10:54, Alexey Brodkin
wrote:
> Hi Simon, Tom,
>
> On Sun, 2018-02-04 at 06:40 -0700, Simon Glass wrote:
>> On 25 January 2018 at 11:22, Alexey Brodkin
>> wrote:
>> > From: Alexey Brodkin
>> >
>> > Disabling relocation might be useful on ARC for 2 reasons:
>> >
Hi,
On 21 February 2018 at 05:26, Alexey Brodkin
wrote:
> Synopsys Data Fusion subsystem (DFSS) is targeted to deeply built-in
> use-cases and so to save some silicon area decision was made to
> escape usage of any busses and use instead directly wired to CPU
> peripherals. And one of those is DW
Hi Tom,
On Thu, 2018-02-22 at 10:43 -0500, Tom Rini wrote:
> On Wed, Feb 21, 2018 at 03:26:05PM +0300, Alexey Brodkin wrote:
[snip]
> > static inline void serial_out_shift(void *addr, int shift, int value)
> > {
> > -#ifdef CONFIG_SYS_NS16550_PORT_MAPPED
> > +#ifdef CONFIG_ARCH_DFSS
> > + wr
On Thu, Feb 22, 2018 at 03:28:12PM +0100, Marek Vasut wrote:
> On 02/22/2018 09:18 AM, Chee, Tien Fong wrote:
> > On Thu, 2018-02-15 at 15:58 +0100, Marek Vasut wrote:
> >> On 02/05/2018 08:06 AM, tien.fong.c...@intel.com wrote:
> >>>
> >>> From: Tien Fong Chee
> >>>
> >>> This is file system gene
On Thu, Feb 22, 2018 at 11:25:48AM +0100, Jean-Jacques Hiblot wrote:
> mmc_of_parse() doesn't set a default value if none is available in DT.
> In that case, use a default 52MHz clock rate.
>
> Signed-off-by: Alex Kiernan
> Signed-off-by: Jean-Jacques Hiblot
>
Reviewed-by: Tom Rini
--
Tom
On Thu, Feb 22, 2018 at 11:25:45AM +0100, Jean-Jacques Hiblot wrote:
> The area for struct mmc can be allocated dynamically. It greatly reduces
> the size of struct omap_hsmmc_plat. This is useful in cases where the board
> level code declares one or two struct omap_hsmmc_plat because it doesn't
>
On Thu, Feb 22, 2018 at 11:25:46AM +0100, Jean-Jacques Hiblot wrote:
> This reduces the size of the binary by about 196 bytes.
>
> Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini
--
Tom
signature.asc
Description: PGP signature
___
U-Boot
On Thu, Feb 22, 2018 at 11:25:47AM +0100, Jean-Jacques Hiblot wrote:
> This reduces the size of the binary by about 600 bytes.
>
> Signed-off-by: Jean-Jacques Hiblot
> ---
>
> drivers/mmc/omap_hsmmc.c | 16 ++--
> 1 file changed, 10 insertions(+), 6 deletions(-)
>
> diff --git a/dr
On Wed, Feb 21, 2018 at 03:26:05PM +0300, Alexey Brodkin wrote:
> Synopsys Data Fusion subsystem (DFSS) is targeted to deeply built-in
> use-cases and so to save some silicon area decision was made to
> escape usage of any busses and use instead directly wired to CPU
> peripherals. And one of those
Hey Stefan,
According to the clearfog wiki and uboot-armada38x src tree, there
are separate
images for sd and sata, with the makefile there calling
$(obj)tools/marvell/doimage -T mmc -D 0x0 -E 0x0 -G
$(obj)tools/marvell/bin_hdr/bin_hdr.bin u-boot.bin u-boot.mmc
vs
$(obj)tools/marvell/doimage
On 19.02.2018 07:17, Baruch Siach wrote:
This makes the network devices usable when booting a blank board over
UART, with no pre-configured MAC address stored in the environment area.
Signed-off-by: Baruch Siach
---
configs/clearfog_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git
On 02/22/2018 09:18 AM, Chee, Tien Fong wrote:
> On Thu, 2018-02-15 at 15:58 +0100, Marek Vasut wrote:
>> On 02/05/2018 08:06 AM, tien.fong.c...@intel.com wrote:
>>>
>>> From: Tien Fong Chee
>>>
>>> This is file system generic loader which can be used to load
>>> the file image from the storage in
On 02/22/2018 02:39 PM, See, Chin Liang wrote:
> On Thu, 2018-02-22 at 11:45 +0100, Marek Vasut wrote:
>> On 02/22/2018 07:29 AM, See, Chin Liang wrote:
>>>
>>> On Wed, 2018-02-21 at 20:23 +0100, Marek Vasut wrote:
On 02/21/2018 08:39 AM, chin.liang@intel.com wrote:
>
>
>
On 02/22/2018 01:04 PM, Heinrich Schuchardt wrote:
> The USB keyboard driver provides a ring buffer for key strokes.
>
> Function keys cannot be encoded as single bytes. Instead xterm control
> sequences have to be put into the ring buffer.
Does it work without xterm or with any other terminal ?
Hi Florian,
On 16.02.2018 11:23, Florian Klink wrote:
Hey,
I tried getting ClearFog to load u-boot from a M.2 SSD (via SATA)
So I built u-boot-spl.kwb
make clearfog_defconfig
make -j4 ARCH=arm CROSS_COMPILE=arm-none-eabi-
dd'ed it on the SSD:
dd if=u-boot-spl.kwb of=/dev/sdX bs=512 seek=
On Thu, 22 Feb 2018 15:06:19 +0100
Boris Brezillon wrote:
> On Thu, 22 Feb 2018 14:33:30 +0100
> Miquel Raynal wrote:
>
> > Hello,
> >
> > This series first adds fixes and enhancements to sunxi NAND drivers (SPL
> > and U-Boot). Once this is done, the SPL NAND driver is converted to use
> > PI
Hi,
On Thu, Feb 22, 2018 at 02:33:31PM +0100, Miquel Raynal wrote:
> A previous commit introduced the use of binman in the SPL.
>
> After the binman_sym call over the 'pos' symbol, the output value is
> checked against BINMAN_SYM_MISSING (-1UL). According to the
> documentation (tools/binman/READ
Hi,
On Thu, Feb 22, 2018 at 02:33:45PM +0100, Miquel Raynal wrote:
> Add some clocks/PLL definitions and the dependency on MACH_SUN8I in
> Kconfig so the NAND support in the SPL could be compiled for boards
> using A33 SoCs.
>
> Signed-off-by: Miquel Raynal
The patch is fine but the title is mi
On Wed, Feb 21, 2018 at 9:42 PM, Breno Lima wrote:
> From: Breno Lima
>
> Currently the High Assurance Boot procedure is documented in two
> places:
>
> - doc/README.imx6
> - doc/README.mxc_hab
>
> It is better to consolidate all HAB related information into
> README.mxc_hab file, so move the con
On Thu, 22 Feb 2018 14:33:30 +0100
Miquel Raynal wrote:
> Hello,
>
> This series first adds fixes and enhancements to sunxi NAND drivers (SPL
> and U-Boot). Once this is done, the SPL NAND driver is converted to use
> PIO instead of DMA with the goal to support all SoCs with this IP
> without th
On Thu, Feb 22, 2018 at 02:33:50PM +0100, Miquel Raynal wrote:
> Add NAND parameters to the Nintendo NES Classic configuration file which
> features a Macronix NAND flash chip with 128kiB blocks of 2kiB pages
> plus 64 OOB bytes.
>
> Signed-off-by: Miquel Raynal
Acked-by: Maxime Ripard
Thanks!
On Thu, Feb 22, 2018 at 02:33:49PM +0100, Miquel Raynal wrote:
> Move the NAND parameters from defconfig files to Kconfig for SUNXI
> architecture only. Fort now only the CHIP pro is migrated.
>
> It would have been better to convert this defconfig entry to Kconfig for
> all supported machines/arc
On Thu, Feb 22, 2018 at 02:33:47PM +0100, Miquel Raynal wrote:
> Make SUNXI_NAND select SPL_NAND_SUPPORT in Kconfig, this limit the
> number of entries to add in defconfig files when adding NAND support.
>
> For now, the only board using it is the CHIP pro.
>
> Signed-off-by: Miquel Raynal
Acke
On Thu, Feb 22, 2018 at 02:33:48PM +0100, Miquel Raynal wrote:
> Remove NAND_SUNXI from the CHIP pro defconfig to be automatically
> selected depending on the state of ARCH_SUNXI.
>
> Signed-off-by: Miquel Raynal
Acked-by: Maxime Ripard
Thanks!
Maxime
--
Maxime Ripard, Bootlin (formerly Free
Hi,
On Thu, Feb 22, 2018 at 02:33:46PM +0100, Miquel Raynal wrote:
> Let the Nintendo NES Classic use the Macronix NAND chip on it.
>
> Signed-off-by: Miquel Raynal
> ---
> arch/arm/dts/sun8i-a23-a33.dtsi| 18
> ++
> .../arm/dts/sun8i-r16-nintendo-nes-cl
On Thu, Feb 22, 2018 at 02:33:41PM +0100, Miquel Raynal wrote:
> Ensure the NAND controller reset line is deasserted before use.
>
> Signed-off-by: Miquel Raynal
> ---
> board/sunxi/board.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/board/sunxi/board.c b/board/sunxi/board.c
> inde
On Thu, Feb 22, 2018 at 7:08 PM, Stefano Babic wrote:
> Hi Jagan,
>
> On 20/02/2018 08:16, Jagan Teki wrote:
>> i.MX6 boards still using raw MMC write for SPL and
>> u-boot-dtb.img along with Falcon mode configurations,
>> so drop filesystem based write through SPL_EXT_SUPPORT.
>>
>> Signed-off-by
Hi Jagan,
On 20/02/2018 08:16, Jagan Teki wrote:
> i.MX6 boards still using raw MMC write for SPL and
> u-boot-dtb.img along with Falcon mode configurations,
> so drop filesystem based write through SPL_EXT_SUPPORT.
>
> Signed-off-by: Jagan Teki
> ---
This is a fix, I pick it up (the whole seri
On Thu, 2018-02-22 at 11:45 +0100, Marek Vasut wrote:
> On 02/22/2018 07:29 AM, See, Chin Liang wrote:
> >
> > On Wed, 2018-02-21 at 20:23 +0100, Marek Vasut wrote:
> > >
> > > On 02/21/2018 08:39 AM, chin.liang@intel.com wrote:
> > > >
> > > >
> > > > From: Chin Liang See
> > > >
> > > >
On Thu, 22 Feb 2018 14:33:39 +0100
Miquel Raynal wrote:
> When changing the column, the ONFI specification states that a minimum
> time of tCCS (Change Column Setup time) must elapse between the last
> address cycle is asserted on the bus and the first data cycle is
> clocked. An usual value for
Add some clocks/PLL definitions and the dependency on MACH_SUN8I in
Kconfig so the NAND support in the SPL could be compiled for boards
using A33 SoCs.
Signed-off-by: Miquel Raynal
---
arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 6 ++
drivers/mtd/nand/Kconfig | 2 +-
Ensure the NAND controller reset line is deasserted before use.
Signed-off-by: Miquel Raynal
---
board/sunxi/board.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 8891961dcc..54ac018b80 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board
Move the ecc_bytes array out of nand_max_ecc_strength() for future use
by nand_read_page().
Signed-off-by: Miquel Raynal
---
drivers/mtd/nand/sunxi_nand_spl.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/sunxi_nand_spl.c
b/drivers/mtd/nand/sunxi_nand_sp
It is best practice to always clear the status register before executing
a command to be sure that the status read afterwards is relevant.
Signed-off-by: Miquel Raynal
---
drivers/mtd/nand/sunxi_nand_spl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/nand/sunxi_nand_spl.c
b/d
On 20/02/2018 11:44, Fabio Estevam wrote:
> On Mon, Feb 19, 2018 at 10:19 PM, Breno Lima wrote:
>> From: Breno Lima
>>
>> Currently it is not possible to run CMD_DEK on i.MX SPL targets:
>>
>> => dek_blob 0x1200 0x12001000 128
>>
>> The system hangs after running dek_blob because the CAAM clo
Move the NAND parameters from defconfig files to Kconfig for SUNXI
architecture only. Fort now only the CHIP pro is migrated.
It would have been better to convert this defconfig entry to Kconfig for
all supported machines/architectures but it has been abandoned due to a
fairly high amount of error
SPL support was first written to support only the earlier generations of
Allwinner SoCs, and was only really enabled on the A13 / GR8. However,
those old SoCs had a DMA engine that has been replaced since the A31 by
another DMA controller that is no longer compatible.
Since the code directly uses
Add NAND parameters to the Nintendo NES Classic configuration file which
features a Macronix NAND flash chip with 128kiB blocks of 2kiB pages
plus 64 OOB bytes.
Signed-off-by: Miquel Raynal
---
configs/Nintendo_NES_Classic_Edition_defconfig | 4
1 file changed, 4 insertions(+)
diff --git a
The pattern of polling on a status register until a bit is set or a
timeout occurs is repeated multiple times in the driver. Mutualize the
code by introducing the nand_wait_int() helper that does wait for the
bit to flip or returns an error in case of timeout.
Signed-off-by: Miquel Raynal
---
dr
Remove NAND_SUNXI from the CHIP pro defconfig to be automatically
selected depending on the state of ARCH_SUNXI.
Signed-off-by: Miquel Raynal
---
configs/CHIP_pro_defconfig | 1 -
drivers/mtd/nand/Kconfig | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/CHIP_pro_defc
Change NFC_SEND_ADR to NFC_SEND_ADDR.
Signed-off-by: Miquel Raynal
---
drivers/mtd/nand/sunxi_nand_spl.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/nand/sunxi_nand_spl.c
b/drivers/mtd/nand/sunxi_nand_spl.c
index 06695fc15f..608cc997ca 100644
--- a/driv
On Thu, 22 Feb 2018 14:33:35 +0100
Miquel Raynal wrote:
> The pattern of polling on a status register until a bit is set or a
> timeout occurs is repeated multiple times in the driver. Mutualize the
> code by introducing the nand_wait_int() helper that does wait for the
> bit to flip or returns a
Hello,
This series first adds fixes and enhancements to sunxi NAND drivers (SPL
and U-Boot). Once this is done, the SPL NAND driver is converted to use
PIO instead of DMA with the goal to support all SoCs with this IP
without the need for DMA-related code. Finally, NAND support is added to
Nintend
When changing the column, the ONFI specification states that a minimum
time of tCCS (Change Column Setup time) must elapse between the last
address cycle is asserted on the bus and the first data cycle is
clocked. An usual value for average NANDs is 500 nanoseconds. Round it
up to 1 microsecond to
One bit in the control registers indicates if the NAND controller is
ready to receive a new command. Otherwise, the command FIFO is full and
we should wait for this bit to flip. It then states that the last
command has been processed and the FIFO is now free to welcome another
command.
Add this sa
Let the Nintendo NES Classic use the Macronix NAND chip on it.
Signed-off-by: Miquel Raynal
---
arch/arm/dts/sun8i-a23-a33.dtsi| 18 ++
.../arm/dts/sun8i-r16-nintendo-nes-classic-edition.dts | 14 ++
2 files changed, 32 insertions(+)
diff --gi
In the nand_read_buffer() step, the seed is calculated by doing a modulo
by conf->nseeds which is always zero when not using the randomizer (most
of SLC NANDs).
This situation turns out to lead to a run time freeze with certain
toolchains.
Derive this seed only when the randomizer is enabled (and
Executing a command is matter of always doing the following sequence:
* Waiting for the FIFO to be empty so we can fill it with the new
command.
* Clearing the status register.
* Writing the command in the FIFO.
* Waiting for the command to finish.
Add a nand_exec_cmd() helper to handl
Prepare the future use of an helper to move the data pointer (the
column) of the NAND chip by renaming nand_reset_column() to
nand_change_column(). Resetting the column is just a matter of giving 0
as argument.
Signed-off-by: Miquel Raynal
---
drivers/mtd/nand/sunxi_nand_spl.c | 10 +-
1
A previous commit introduced the use of binman in the SPL.
After the binman_sym call over the 'pos' symbol, the output value is
checked against BINMAN_SYM_MISSING (-1UL). According to the
documentation (tools/binman/README), when it comes to the 'pos'
attribute:
pos:
This sets the positio
Code has been changed to do not use DMA anymore with the NAND
controller, instead PIO is used. Then, DMA-specific initialization may
be dropped.
Signed-off-by: Miquel Raynal
---
board/sunxi/board.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
When the requested ECC strength does not exactly match the strengths
supported by the ECC engine, the driver is selecting the closest
strength meeting the 'selected_strength > requested_strength'
constraint. Fix the fact that, in this particular case, ecc->strength
value was not updated to match th
Make SUNXI_NAND select SPL_NAND_SUPPORT in Kconfig, this limit the
number of entries to add in defconfig files when adding NAND support.
For now, the only board using it is the CHIP pro.
Signed-off-by: Miquel Raynal
---
configs/CHIP_pro_defconfig | 1 -
drivers/mtd/nand/Kconfig | 1 +
2 files
On Wed, Feb 21, 2018 at 10:14:47AM -0500, Tom Rini wrote:
> > > > Also, for transitioning e.g. from MMC to FAT, we would need a mechanism
> > > > to
> > > > store to an environment place other than the one selected at load time.
> > >
> > > Ah, so we have different valid use cases. Maybe a new e
Hi Stefano,
> Hi Lukasz,
>
> On 22/02/2018 12:52, Lukasz Majewski wrote:
> > Hi Stefano,
> >
> >> If the bootcounter address is in a cached memory,
> >> a flush of dcache must occur after updateing the bootcounter.
> >>
> >> Issue found on i.MX6 where bootcounter is put into the internal
> >>
This series of patch added Kconfig support for eeprom u-boot
headers and enabled in respective defconfig.
These are the configs:
-CONFIG_ZYNQ_EEPROM
-CONFIG_ZYNQ_EEPROM_BUS
-CONFIG_ZYNQ_GEM_EEPROM_ADDR
Vipul Kumar (2):
eeprom: Added Kconfig support for ZYNQ_EEPROM
eeprom: Added Kconfig suppor
This patch added Kconfig support for CONFIG_ZYNQ_EEPROM_BUS
and CONFIG_ZYNQ_GEM_EEPROM_ADDR and enabled it in
respective defconfig.
Signed-off-by: Vipul Kumar
Signed-off-by: Siva Durga Prasad Paladugu
---
configs/syzygy_hub_defconfig | 1 +
configs/xilinx_zynqmp_zcu102_rev1_0_
This patch added Kconfig support for ZYNQ_EEPROM
and enabled it in respective defconfig.
Signed-off-by: Vipul Kumar
Signed-off-by: Siva Durga Prasad Paladugu
---
configs/xilinx_zynqmp_ep_defconfig | 1 +
configs/zynq_zc702_defconfig | 1 +
configs/zynq_zc706_defconfig | 1 +
drivers
Hi Lukasz,
On 22/02/2018 12:52, Lukasz Majewski wrote:
> Hi Stefano,
>
>> If the bootcounter address is in a cached memory,
>> a flush of dcache must occur after updateing the bootcounter.
>>
>> Issue found on i.MX6 where bootcounter is put into the internal
>> (cached) IRAM.
>>
>> Signed-off-by:
This patch added Kconfig support for CONFIG_ZYNQ_SDHCI_MIN_FREQ
and enabled it in respective defconfig.
Signed-off-by: Vipul Kumar
Signed-off-by: Siva Durga Prasad Paladugu
---
configs/xilinx_zynqmp_ep_defconfig | 1 +
drivers/mmc/Kconfig| 7 +++
drivers/mmc/zynq_sdhci.c
This series of patch added Kconfig support for
CONFIG_ZYNQ_SDHCI_MAX_FREQ and CONFIG_ZYNQ_SDHCI_MIN_FREQ and
set the default values.
Vipul Kumar (2):
mmc: Added Kconfig support for CONFIG_ZYNQ_SDHCI_MAX_FREQ
mmc: Added Kconfig support for CONFIG_ZYNQ_SDHCI_MIN_FREQ
arch/arm/cpu/armv8/zynqmp/
This patch added Kconfig support for CONFIG_ZYNQ_SDHCI_MAX_FREQ
and enabled it in respective defconfig.
Signed-off-by: Vipul Kumar
Signed-off-by: Siva Durga Prasad Paladugu
---
arch/arm/cpu/armv8/zynqmp/Kconfig | 3 +++
arch/arm/mach-zynq/Kconfig | 3 +++
configs/xilinx_zynqmp_ep_defco
Correct support for arrow keys: use the standard xterm escape sequences.
Provide support for F1-F12, Insert, Delete, Home, End, Page Up, Page Down.
Signed-off-by: Heinrich Schuchardt
---
common/usb_kbd.c | 121 +--
1 file changed, 90 insertion
The USB keyboard driver provides a ring buffer for key strokes.
Function keys cannot be encoded as single bytes. Instead xterm control
sequences have to be put into the ring buffer.
This preparatory patch changes function usb_kbd_put_queue() to allow adding
multiple characters at once. If the buf
Correct support for arrow keys: use the standard xterm escape sequences.
Provide support for F1-F12, Insert, Delete, Home, End, Page Up, Page Down.
Signed-off-by: Heinrich Schuchardt
Heinrich Schuchardt (2):
usb: kbd: allow multibyte sequences to be put into ring buffer
usb: kbd: implement
1 - 100 of 119 matches
Mail list logo