Re: [U-Boot] Issue in u-boot; TFTP error: trying to overwrite reserved memory...

2020-11-12 Thread Bernhard Kirchen
Hello Christopher, hello SImon, today I debugged this problem, as tftp was not working in my u-boot SPL (AM335x based custom board) for the reasons described in this thread. It turns out that lmb_init_and_reserve() could not set proper values as bd->bi_dram[0].size = . The reason IMHO is

Re: U-Boot issue

2020-09-28 Thread Matthias Brugger
Hi Matteo, On 16/09/2020 00:27, Heinrich Schuchardt wrote: On 8/17/20 11:59 AM, 0x5c4r3 wrote: Hello guys, I am Matteo Peruzzi, a cyber-security expert. I am currently working on a project, creating a root of trust on RPI 2 using a TPM2 module and U-Boot. I noticed that in the latest update, u-

Re: U-Boot issue

2020-09-23 Thread Heinrich Schuchardt
On 17.08.20 11:59, 0x5c4r3 wrote: > Hello guys, > I am Matteo Peruzzi, a cyber-security expert. > I am currently working on a project, creating a root of trust on RPI 2 > using a TPM2 module and U-Boot. Contributions to U-Boot to support TPM2 on Raspberry would be very welcome. A further gap in U-

Re: U-Boot issue

2020-09-15 Thread Heinrich Schuchardt
On 8/17/20 11:59 AM, 0x5c4r3 wrote: > Hello guys, > I am Matteo Peruzzi, a cyber-security expert. > I am currently working on a project, creating a root of trust on RPI 2 > using a TPM2 module and U-Boot. > I noticed that in the latest update, u-boot has an issue: it does not > detect my USB keyboa

U-Boot issue

2020-08-17 Thread 0x5c4r3
Hello guys, I am Matteo Peruzzi, a cyber-security expert. I am currently working on a project, creating a root of trust on RPI 2 using a TPM2 module and U-Boot. I noticed that in the latest update, u-boot has an issue: it does not detect my USB keyboard connected to the RPI (if I use an early versi

[U-Boot] issue when git-pw series apply fail

2019-10-12 Thread Kever Yang
Hi     I'm using git-pw to apply patches, and I got fail with one 'git-pw series apply' command, I use 'git am --abort' to skip that failed patch, but after that, no matter I use 'git am' or 'git-pw' command to apply other patches, the git will always apply the failed patch set first. Ho

Re: [U-Boot] Issue in u-boot; TFTP error: trying to overwrite reserved memory...

2019-09-11 Thread Simon Goldschmidt
On 11.09.19 21:33, Moses Christopher wrote: On Wed, 11 Sep, 2019, 9:12 PM Simon Goldschmidt, > wrote: On 11.09.19 20:59, Moses Christopher wrote: > > On Wed, 11 Sep, 2019, 4:43 PM Simon Goldschmidt, > mailto:simon.k.r.goldschm...@

Re: [U-Boot] Issue in u-boot; TFTP error: trying to overwrite reserved memory...

2019-09-11 Thread Moses Christopher
On Wed, 11 Sep, 2019, 9:12 PM Simon Goldschmidt, < simon.k.r.goldschm...@gmail.com> wrote: > > > On 11.09.19 20:59, Moses Christopher wrote: > > > > On Wed, 11 Sep, 2019, 4:43 PM Simon Goldschmidt, > > > > wrote: > > > > On Wed, Sep 11, 2019 at 11:44 AM

Re: [U-Boot] Issue in u-boot; TFTP error: trying to overwrite reserved memory...

2019-09-11 Thread Moses Christopher
On Wed, 11 Sep, 2019, 4:43 PM Simon Goldschmidt, < simon.k.r.goldschm...@gmail.com> wrote: > On Wed, Sep 11, 2019 at 11:44 AM Moses Christopher > wrote: > > > > > > > > On Wed, 11 Sep, 2019, 10:32 AM Simon Goldschmidt, < > simon.k.r.goldschm...@gmail.com> wrote: > >> > >> On Mon, Sep 9, 2019 at 1

Re: [U-Boot] Issue in u-boot; TFTP error: trying to overwrite reserved memory...

2019-09-11 Thread Simon Goldschmidt
On 11.09.19 20:59, Moses Christopher wrote: On Wed, 11 Sep, 2019, 4:43 PM Simon Goldschmidt, > wrote: On Wed, Sep 11, 2019 at 11:44 AM Moses Christopher mailto:moseschristoph...@gmail.com>> wrote: > > > > On Wed, 11 Sep

Re: [U-Boot] Issue in u-boot; TFTP error: trying to overwrite reserved memory...

2019-09-11 Thread Simon Goldschmidt
On Wed, Sep 11, 2019 at 11:44 AM Moses Christopher wrote: > > > > On Wed, 11 Sep, 2019, 10:32 AM Simon Goldschmidt, > wrote: >> >> On Mon, Sep 9, 2019 at 11:29 AM Moses Christopher >> wrote: >> > >> > Hi Simon, >> > >> > >> > Thanks for the prompt reply. >> > >> > On Fri, 6 Sep, 2019, 8:13 AM S

Re: [U-Boot] Issue in u-boot; TFTP error: trying to overwrite reserved memory...

2019-09-11 Thread Moses Christopher
On Wed, 11 Sep, 2019, 10:32 AM Simon Goldschmidt, < simon.k.r.goldschm...@gmail.com> wrote: > On Mon, Sep 9, 2019 at 11:29 AM Moses Christopher > wrote: > > > > Hi Simon, > > > > > > Thanks for the prompt reply. > > > > On Fri, 6 Sep, 2019, 8:13 AM Simon Goldschmidt, < > simon.k.r.goldschm...@gma

Re: [U-Boot] Issue in u-boot; TFTP error: trying to overwrite reserved memory...

2019-09-11 Thread Simon Goldschmidt
On Mon, Sep 9, 2019 at 11:29 AM Moses Christopher wrote: > > Hi Simon, > > > Thanks for the prompt reply. > > On Fri, 6 Sep, 2019, 8:13 AM Simon Goldschmidt, > wrote: > > Hi, > > On Thu, Sep 5, 2019 at 4:14 PM Moses Christopher > wrote: > > Hello together, > > > > I was trying to build u-boot a

Re: [U-Boot] Issue in u-boot; TFTP error: trying to overwrite reserved memory...

2019-09-09 Thread Moses Christopher
Hi Simon, Thanks for the prompt reply. On Fri, 6 Sep, 2019, 8:13 AM Simon Goldschmidt, < simon.k.r.goldschm...@gmail.com> wrote: Hi, On Thu, Sep 5, 2019 at 4:14 PM Moses Christopher wrote: > Hello together, > > I was trying to build u-boot and spl for the arm target and tried to boot via usb-

Re: [U-Boot] Issue in u-boot; TFTP error: trying to overwrite reserved memory...

2019-09-05 Thread Simon Goldschmidt
Hi, On Thu, Sep 5, 2019 at 4:14 PM Moses Christopher wrote: > Hello together, > > I was trying to build u-boot and spl for the arm target and tried to boot via > usb-ethernet. > I found an issue with one of the commit made in the early 2019, > http://patchwork.ozlabs.org/patch/1024795/ > > When

[U-Boot] Issue in u-boot; TFTP error: trying to overwrite reserved memory...

2019-09-05 Thread Moses Christopher
Hello together, I was trying to build u-boot and spl for the arm target and tried to boot via usb-ethernet. I found an issue with one of the commit made in the early 2019, http://patchwork.ozlabs.org/patch/1024795/ When using this CONFIG_LMB the max_size or the *lmb_get_free_size(&lmb, load_

Re: [U-Boot] Issue enabling TPM 2.0 on RPI

2019-06-20 Thread Hecht, Martin (Avnet Silica)
vnet-silica.com Von: U-Boot im Auftrag von Miquel Raynal Gesendet: Montag, 17. Juni 2019 16:28 An: Elena Unix Cc: u-boot@lists.denx.de Betreff: Re: [U-Boot] Issue enabling TPM 2.0 on RPI Hi Elena, Elena Unix wrote on Mon, 17 Jun 2019 15:46:29 +0200: > Hi Miquèl, >

Re: [U-Boot] Issue enabling TPM 2.0 on RPI

2019-06-17 Thread Miquel Raynal
Hi Elena, Elena Unix wrote on Mon, 17 Jun 2019 15:46:29 +0200: > Hi Miquèl, > > Thank you for your answer. > > > Miquel Raynal wrote on Mon, 17 Jun 2019 > > 10:44:52 +0200: > > > > Hi Elena, > > > > Elena Unix wrote on Fri, 14 Jun 2019 09:43:46 > > +0200: > > > >> Hello, > >> > >> I a

Re: [U-Boot] Issue enabling TPM 2.0 on RPI

2019-06-17 Thread Elena Unix
Hello Miquèl, > Miquel Raynal wrote on Mon, 17 Jun 2019 10:44:52 > +0200 : > > Hello, > > Miquel Raynal wrote on Mon, 17 Jun 2019 > 10:44:52 +0200: > >> Hi Elena, >> >> Elena Unix wrote on Fri, 14 Jun 2019 09:43:46 >> +0200: >> >>> Hello, >>> >>> I am trying to enable the TPM 2.0 SLB9670

Re: [U-Boot] Issue enabling TPM 2.0 on RPI

2019-06-17 Thread Elena Unix
Hi Miquèl, Thank you for your answer. > Miquel Raynal wrote on Mon, 17 Jun 2019 10:44:52 > +0200: > > Hi Elena, > > Elena Unix wrote on Fri, 14 Jun 2019 09:43:46 > +0200: > >> Hello, >> >> I am trying to enable the TPM 2.0 SLB9670 in U-Boot for a Raspberry Pi 3 B+. >> More precisely, the

Re: [U-Boot] Issue enabling TPM 2.0 on RPI

2019-06-17 Thread Miquel Raynal
Hello, Miquel Raynal wrote on Mon, 17 Jun 2019 10:44:52 +0200: > Hi Elena, > > Elena Unix wrote on Fri, 14 Jun 2019 09:43:46 > +0200: > > > Hello, > > > > I am trying to enable the TPM 2.0 SLB9670 in U-Boot for a Raspberry Pi 3 > > B+. More precisely, the TPM is on an add-on board, the IRID

Re: [U-Boot] Issue enabling TPM 2.0 on RPI

2019-06-17 Thread Miquel Raynal
Hi Elena, Elena Unix wrote on Fri, 14 Jun 2019 09:43:46 +0200: > Hello, > > I am trying to enable the TPM 2.0 SLB9670 in U-Boot for a Raspberry Pi 3 B+. > More precisely, the TPM is on an add-on board, the IRIDIUM SLB9670. > The communication between the RPI and the TPM is ensured by SPI so I

[U-Boot] Issue enabling TPM 2.0 on RPI

2019-06-14 Thread Elena Unix
Hello, I am trying to enable the TPM 2.0 SLB9670 in U-Boot for a Raspberry Pi 3 B+. More precisely, the TPM is on an add-on board, the IRIDIUM SLB9670. The communication between the RPI and the TPM is ensured by SPI so I enabled the software spi driver (spi-gpio) in U-Boot because the bcm28x spi

Re: [U-Boot] Issue with compiling uboot for SoC-eds arria 10

2019-01-10 Thread Michael Nazzareno Trimarchi
d a link to it Michael > > > From: Michael Nazzareno Trimarchi > To: Sujay Suresh > Cc: "u-boot@lists.denx.de" > Sent: Thursday, January 10, 2019 5:54 PM > Subject: Re: [U-Boot] Issue with compiling uboot for SoC-eds arria 10 >

Re: [U-Boot] Issue with memcpy when booting a fitImage on SPEAr600

2019-01-10 Thread Simon Glass
Hi Quentin, On Tue, 8 Jan 2019 at 04:03, Quentin Schulz wrote: > > Hi Simon, > > On Mon, Jan 07, 2019 at 05:38:19PM -0700, Simon Glass wrote: > > Hi, > > > > On Thu, 6 Dec 2018 at 03:37, Thomas Petazzoni > > wrote: > > > > > > Hello Stefan, > > > > > > On Wed, 5 Dec 2018 12:30:57 +0100, Stefan R

Re: [U-Boot] Issue with compiling uboot for SoC-eds arria 10

2019-01-10 Thread Michael Nazzareno Trimarchi
Hi On Thu, Jan 10, 2019 at 1:17 PM Sujay Suresh wrote: > > Hi, > I am trying to compile uboot in my linux machine but the 2 bin file needed > are not generating, instead I get these errors as in the picture enclosed. version of u-boot. Not add picture but pastbin resonable part of the build log

Re: [U-Boot] Issue with memcpy when booting a fitImage on SPEAr600

2019-01-08 Thread Quentin Schulz
Hi Simon, On Mon, Jan 07, 2019 at 05:38:19PM -0700, Simon Glass wrote: > Hi, > > On Thu, 6 Dec 2018 at 03:37, Thomas Petazzoni > wrote: > > > > Hello Stefan, > > > > On Wed, 5 Dec 2018 12:30:57 +0100, Stefan Roese wrote: > > > > > > It's weird to me that it's happening with this SoC because it's

Re: [U-Boot] Issue faced due to "serial: Remove DM_FLAG_PRE_RELOC flag in various drivers" patch

2019-01-07 Thread Simon Glass
Hi, On Mon, 7 Jan 2019 at 00:19, Priyanka Jain wrote: > > Hello Simon, > > > > Creating a duplicate driver for enabling the flag will add a lot of redundant > code. Please can you avoid top posting? > > Is there a way, I can add some conditional code to enable this flag for case > when pl01x_

Re: [U-Boot] Issue with memcpy when booting a fitImage on SPEAr600

2019-01-07 Thread Simon Glass
Hi, On Thu, 6 Dec 2018 at 03:37, Thomas Petazzoni wrote: > > Hello Stefan, > > On Wed, 5 Dec 2018 12:30:57 +0100, Stefan Roese wrote: > > > > It's weird to me that it's happening with this SoC because it's based on > > > ARM926ejs which is widely used I assume. Shouldn't have anyone already > > >

Re: [U-Boot] Issue with memcpy when booting a fitImage on SPEAr600

2019-01-07 Thread Quentin Schulz
Hi all, On Thu, Dec 06, 2018 at 11:37:14AM +0100, Thomas Petazzoni wrote: > Hello Stefan, > > On Wed, 5 Dec 2018 12:30:57 +0100, Stefan Roese wrote: > > > > It's weird to me that it's happening with this SoC because it's based on > > > ARM926ejs which is widely used I assume. Shouldn't have anyo

Re: [U-Boot] Issue faced due to "serial: Remove DM_FLAG_PRE_RELOC flag in various drivers" patch

2019-01-06 Thread Priyanka Jain
Hello Simon, Creating a duplicate driver for enabling the flag will add a lot of redundant code. Is there a way, I can add some conditional code to enable this flag for case when pl01x_serial_platdata in the same driver. Regards Priyanka From: Simon Glass Sent: Friday, January 4, 2019 3:00 AM

Re: [U-Boot] Issue faced due to "serial: Remove DM_FLAG_PRE_RELOC flag in various drivers" patch

2019-01-03 Thread Simon Glass
Hi Priyanka, On Thu, 3 Jan 2019 at 03:31, Priyanka Jain wrote: > Hello, > > I am working to add support for NXP LX2160ARDB board support" " > https://patchwork.ozlabs.org/patch/1004541/"; > > For serial driver, we are using PL01X_SERIAL driver with DM_SERIAL enabled > Since we need to support va

Re: [U-Boot] Issue faced due to "serial: Remove DM_FLAG_PRE_RELOC flag in various drivers" patch

2019-01-03 Thread Lukasz Majewski
Hi Priyanka, > Hello, > > I am working to add support for NXP LX2160ARDB board support" > "https://patchwork.ozlabs.org/patch/1004541/"; > > For serial driver, we are using PL01X_SERIAL driver with DM_SERIAL > enabled Since we need to support various clock frequencies, we have > defined pl01x_se

[U-Boot] Issue faced due to "serial: Remove DM_FLAG_PRE_RELOC flag in various drivers" patch

2019-01-03 Thread Priyanka Jain
Hello, I am working to add support for NXP LX2160ARDB board support" "https://patchwork.ozlabs.org/patch/1004541/"; For serial driver, we are using PL01X_SERIAL driver with DM_SERIAL enabled Since we need to support various clock frequencies, we have defined pl01x_serial_platdata in board file

Re: [U-Boot] Issue with memcpy when booting a fitImage on SPEAr600

2018-12-06 Thread Thomas Petazzoni
Hello Stefan, On Wed, 5 Dec 2018 12:30:57 +0100, Stefan Roese wrote: > > It's weird to me that it's happening with this SoC because it's based on > > ARM926ejs which is widely used I assume. Shouldn't have anyone already > > encountered the bug? Or is nobody actually booting a fitImage and had th

Re: [U-Boot] Issue with memcpy when booting a fitImage on SPEAr600

2018-12-05 Thread Stefan Roese
Hi Quentin, On 05.12.18 11:38, Quentin Schulz wrote: I'm working on porting a mainline U-Boot on a custom board based on a SPEAr600. Right now, I'm facing an issue related with fitImage booting. Before starting on the fitImage issue, let me state that the zImage and the custom DTB concatenated

[U-Boot] Issue with memcpy when booting a fitImage on SPEAr600

2018-12-05 Thread Quentin Schulz
Hello everyone, I'm working on porting a mainline U-Boot on a custom board based on a SPEAr600. Right now, I'm facing an issue related with fitImage booting. Before starting on the fitImage issue, let me state that the zImage and the custom DTB concatenated in a uImage have the load address and e

Re: [U-Boot] Issue with relocating code to DDR

2018-11-08 Thread Clément Péron
Hi, Maybe check the GCC option "-mno-unaligned-access" $>cat arch/arm/cpu/armv7/config.mk # # (C) Copyright 2002 # Gary Jennejohn, DENX Software Engineering, # # SPDX-License-Identifier: GPL-2.0+ # # On supported platforms we set the bit which causes us to trap on unaligned # memory access. Th

Re: [U-Boot] Issue with relocating code to DDR

2018-11-08 Thread SHEKHAR SINGH
Hi All, We got the issue, actually our DDR only supports 32bit access, 16bit and 8bit access are not supported. Is there any compiler option or any u-boot option, we need to configure so that u-boot use 32 bit access only. Thanks in advance. Regards Shekhar Singh On Thu, Nov 1, 2018 at 7:14 PM S

Re: [U-Boot] Issue with relocating code to DDR

2018-11-04 Thread Heiko Schocher
Hello SHEKHAR SINGH, Am 01.11.2018 um 14:44 schrieb SHEKHAR SINGH: Hi All, I am new to U-boot. Currently, I am working on developing U-boot for a new SOC. The SOC has arm926ej-s as the core and is implemented on Xilinx FPGA with SD-card as the boot device. With current setup DDR is already init

[U-Boot] Issue with relocating code to DDR

2018-11-01 Thread SHEKHAR SINGH
Hi All, I am new to U-boot. Currently, I am working on developing U-boot for a new SOC. The SOC has arm926ej-s as the core and is implemented on Xilinx FPGA with SD-card as the boot device. With current setup DDR is already initialized by FPGA and SD card can be accessed using direct addressing. W

Re: [U-Boot] Issue with fat16 format

2018-07-19 Thread Siva Durga Prasad Paladugu
Majewski > ; Simon Glass > Subject: RE: [U-Boot] Issue with fat16 format > > Hi Heinrich, > > > -Original Message- > > From: Heinrich Schuchardt [mailto:xypron.deb...@gmx.de] > > Sent: Sunday, June 17, 2018 1:07 AM > > To: Vipul Kumar ; u-boot@lists.

Re: [U-Boot] Issue with fat16 format

2018-06-18 Thread Vipul Kumar
ss > Subject: Re: [U-Boot] Issue with fat16 format > > On 06/15/2018 08:37 AM, Vipul Kumar wrote: > > Hi, > > > > After formatting SD card in fat16 format in windows, we are facing issue. I > used git bisect and came to know that this issue is due to > 8eafae209c3593

Re: [U-Boot] Issue with fat16 format

2018-06-16 Thread Heinrich Schuchardt
On 06/15/2018 08:37 AM, Vipul Kumar wrote: > Hi, > > After formatting SD card in fat16 format in windows, we are facing issue. I > used git bisect and came to know that this issue is due to > 8eafae209c35932d9a6560809c55ee4641534236 commit. > > When we use "gparted" utility for formatting SD ca

[U-Boot] Issue with fat16 format

2018-06-15 Thread Vipul Kumar
Hi, After formatting SD card in fat16 format in windows, we are facing issue. I used git bisect and came to know that this issue is due to 8eafae209c35932d9a6560809c55ee4641534236 commit. When we use "gparted" utility for formatting SD card in fat16 in linux, it works fine. Please give your c

[U-Boot] Firefly Fireprime RK3128 u-boot issue

2018-03-11 Thread Tibor Hársszegi
Hello, I have problem booting my RK3128 with u-boot. This is the log I get (I have already applied the last 3 RK3128 related patches to the Rockchip u-boot repository - which seems to be a bit older compared to u-boot head). Any hints what I should check? Thanks, Tibor DDR Version 2.04 20150121

[U-Boot] Issue with USB mass storage (thumb drives)

2016-10-14 Thread Michael Kasprowicz
Hi Uboot team, Is this problem of EHCI timed out on TD - token=0x80008d80 already resolved ? If yes can soneone please point me to the solution. I am seeing this read timeout failure with 2 n 4 GB Usb drives. Its a no go for our project, please help or advise. Thanks, Mike ___

Re: [U-Boot] [issue report] mainline u-boot was stuck before booting kernel

2016-07-26 Thread Ziyuan Xu
Hi Sandy, I'm pleased to learn that it does fix for you. On 2016年07月26日 21:16, Sandy Patterson wrote: Hi Ziyuan, good work! This does in fact fix it for me. I followed through your notes. What is isr() supposed to do? it looks like it just tells the compiler that the memory cache has been i

Re: [U-Boot] [issue report] mainline u-boot was stuck before booting kernel

2016-07-26 Thread Sandy Patterson
Hi Ziyuan, good work! This does in fact fix it for me. I followed through your notes. What is isr() supposed to do? it looks like it just tells the compiler that the memory cache has been invalidated. But in the TRM it says we need to actually do an ISB. Would fixing the dcache flush so it does

Re: [U-Boot] [issue report] mainline u-boot was stuck before booting kernel

2016-07-26 Thread Ziyuan Xu
+ Simon and heiko On 2016年07月26日 14:30, Ziyuan Xu wrote: Dear All, I add the ISB operation after dcache_disable(), and I can jump to linux kernel entry.:-) diff --git a/arch/arm/cpu/armv7/cpu.c b/arch/arm/cpu/armv7/cpu.c index 6eac5ef..5cc09ba 100644 --- a/arch/arm/cpu/armv7/cpu.c +++ b/arch

Re: [U-Boot] [issue report] mainline u-boot was stuck before booting kernel

2016-07-25 Thread Ziyuan Xu
+Simon and heiko On 2016年07月26日 14:30, Ziyuan Xu wrote: Dear All, I add the ISB operation after dcache_disable(), and I can jump to linux kernel entry.:-) diff --git a/arch/arm/cpu/armv7/cpu.c b/arch/arm/cpu/armv7/cpu.c index 6eac5ef..5cc09ba 100644 --- a/arch/arm/cpu/armv7/cpu.c +++ b/arch/

Re: [U-Boot] [issue report] mainline u-boot was stuck before booting kernel

2016-07-25 Thread Ziyuan Xu
Dear All, I add the ISB operation after dcache_disable(), and I can jump to linux kernel entry.:-) diff --git a/arch/arm/cpu/armv7/cpu.c b/arch/arm/cpu/armv7/cpu.c index 6eac5ef..5cc09ba 100644 --- a/arch/arm/cpu/armv7/cpu.c +++ b/arch/arm/cpu/armv7/cpu.c @@ -43,6 +43,7 @@ int cleanup_before_l

Re: [U-Boot] [issue report] mainline u-boot was stuck before booting kernel

2016-07-25 Thread Sandy Patterson
Ah, thanks. Your debugging looks the same as what I've seen from printf debugging. I'll try to verify though. On Mon, Jul 25, 2016 at 10:58 AM, Ziyuan Xu wrote: > hi Stany, > > The difference is that you print out assertion log. > > Reset not supported on this platform > ### ERROR ### Please RES

Re: [U-Boot] [issue report] mainline u-boot was stuck before booting kernel

2016-07-25 Thread Ziyuan Xu
hi Stany, The difference is that you print out assertion log. Reset not supported on this platform ### ERROR ### Please RESET the board ### You can add show_boot_progress() function in your bsp file to find out something. #define CONFIG_SHOW_BOOT_PROGRESS void show_boot_progress(int progress)

[U-Boot] [issue report] mainline u-boot was stuck before booting kernel

2016-07-25 Thread Ziyuan Xu
Hi All, I'm sorry to tell you that I failed to boot linux kernel with the mainline u-boot on rk3288 board(both evb-rk3288 & fennec-rk3288). It was stuck in cleanup_before_linux() before jumping to linux, and the boot_stage_flag is BOOTSTAGE_ID_BOOTM_HANDOFF. ## Current stack ends at 0x7df638

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-05-20 Thread Rajesh Bhagat
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Marek Vasut > Sent: Tuesday, May 10, 2016 6:02 PM > To: Diego > Cc: u-boot@lists.denx.de; Stefan Roese > Subject: Re: [U-Boot] Issue with USB mass storage (thumb drives) > >

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-05-20 Thread Marek Vasut
On 05/20/2016 07:07 AM, Rajesh Bhagat wrote: > > >> -Original Message- >> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Marek Vasut >> Sent: Tuesday, May 10, 2016 6:02 PM >> To: Diego >> Cc: u-boot@lists.denx.de; Stefan Roese >

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-05-10 Thread Marek Vasut
On 05/10/2016 02:04 PM, Diego wrote: > In data mercoledì 4 maggio 2016 23:36:46, Marek Vasut ha scritto: >> On 05/04/2016 04:06 PM, Diego wrote: >>> In data mercoledì 4 maggio 2016 13:45:57, Marek Vasut ha scritto: On 05/04/2016 11:13 AM, Diego wrote: > > So I see three options: >

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-05-10 Thread Diego
In data mercoledì 4 maggio 2016 23:36:46, Marek Vasut ha scritto: > On 05/04/2016 04:06 PM, Diego wrote: > > In data mercoledì 4 maggio 2016 13:45:57, Marek Vasut ha scritto: > >> On 05/04/2016 11:13 AM, Diego wrote: > >>> > >>> So I see three options: > >>> 1) 65535 default with quirk table > >>>

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-05-04 Thread Marek Vasut
On 05/04/2016 04:06 PM, Diego wrote: > In data mercoledì 4 maggio 2016 13:45:57, Marek Vasut ha scritto: >> On 05/04/2016 11:13 AM, Diego wrote: >>> In data martedì 3 maggio 2016 23:01:10, Marek Vasut ha scritto: On 04/29/2016 09:58 AM, Diego wrote: > For me it fails for files bigger than

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-05-04 Thread Diego
In data mercoledì 4 maggio 2016 13:45:57, Marek Vasut ha scritto: > On 05/04/2016 11:13 AM, Diego wrote: > > In data martedì 3 maggio 2016 23:01:10, Marek Vasut ha scritto: > >> On 04/29/2016 09:58 AM, Diego wrote: > >>> For me it fails for files bigger than 16MB: > >> Ha ok, I see it now. Accordin

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-05-04 Thread Marek Vasut
On 05/04/2016 11:13 AM, Diego wrote: > In data martedì 3 maggio 2016 23:01:10, Marek Vasut ha scritto: >> On 04/29/2016 09:58 AM, Diego wrote: >>> In data venerdì 29 aprile 2016 00:49:22, Marek Vasut ha scritto: Urgh, so you seem to have third revision of this stick. I have two >>> sticks

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-05-04 Thread Diego
In data martedì 3 maggio 2016 23:01:10, Marek Vasut ha scritto: > On 04/29/2016 09:58 AM, Diego wrote: > > In data venerdì 29 aprile 2016 00:49:22, Marek Vasut ha scritto: > >> Urgh, so you seem to have third revision of this stick. I have two > > > >> sticks which are exactly the same and work in

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-05-03 Thread Marek Vasut
On 04/29/2016 09:58 AM, Diego wrote: > In data venerdì 29 aprile 2016 00:49:22, Marek Vasut ha scritto: >> >> Urgh, so you seem to have third revision of this stick. I have two >> sticks which are exactly the same and work in U-Boot on MX6 wandboard: >> > > Hi Marek, > > how big is the file you'r

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-04-29 Thread Diego
In data venerdì 29 aprile 2016 00:49:22, Marek Vasut ha scritto: > > Urgh, so you seem to have third revision of this stick. I have two > sticks which are exactly the same and work in U-Boot on MX6 wandboard: > Hi Marek, how big is the file you're trying to load? For me it fails for files bigge

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-04-28 Thread Marek Vasut
On 04/28/2016 03:04 PM, Diego wrote: > In data mercoledì 27 aprile 2016 18:13:51, Marek Vasut ha scritto: >> >> OK, I have to two identical sticks and neither has the same USB ID as >> yours. Can you do lsusb -vvv -d 0951:1689 ? > > Hi Marek, > > thanks for taking the time to look into this. > He

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-04-28 Thread Diego
In data mercoledì 27 aprile 2016 18:13:51, Marek Vasut ha scritto: > > OK, I have to two identical sticks and neither has the same USB ID as > yours. Can you do lsusb -vvv -d 0951:1689 ? Hi Marek, thanks for taking the time to look into this. Here you are: # lsusb -vvv -d 0951:1689 Bus 003 Devi

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-04-27 Thread Marek Vasut
On 04/27/2016 11:04 AM, Diego wrote: > > > Il 27 aprile 2016 04:14:45 CEST, Marek Vasut ha scritto: >> On 04/15/2016 02:13 PM, Diego wrote: >>> >>> Hi Marek, >>> >>> yes, I was getting the following error with the Kingston DTSE9 USB >> 2.0: >>> EHCI timed out on TD - token=0x1e008d80 >>> EHCI ti

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-04-27 Thread Diego
Il 27 aprile 2016 04:14:45 CEST, Marek Vasut ha scritto: >On 04/15/2016 02:13 PM, Diego wrote: >> >> Hi Marek, >> >> yes, I was getting the following error with the Kingston DTSE9 USB >2.0: >> EHCI timed out on TD - token=0x1e008d80 >> EHCI timed out on TD - token=0x1e008d80 >> EHCI timed out

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-04-26 Thread Marek Vasut
On 04/15/2016 02:13 PM, Diego wrote: > In data venerdì 15 aprile 2016 12:53:36, Marek Vasut ha scritto: >> On 04/14/2016 03:20 PM, Diego wrote: >>> On 18.02.2016, Schrempf Frieder wrote: At the moment I have two sticks with the same chip around for which setting USB_MAX_XFER_BLK from 6553

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-04-25 Thread Stefan Roese
Hi Marek, On 19.04.2016 01:54, Marek Vasut wrote: > On 04/15/2016 02:13 PM, Diego wrote: >> In data venerdì 15 aprile 2016 12:53:36, Marek Vasut ha scritto: >>> On 04/14/2016 03:20 PM, Diego wrote: On 18.02.2016, Schrempf Frieder wrote: > At the moment I have two sticks with the same chip

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-04-18 Thread Marek Vasut
On 04/15/2016 02:13 PM, Diego wrote: > In data venerdì 15 aprile 2016 12:53:36, Marek Vasut ha scritto: >> On 04/14/2016 03:20 PM, Diego wrote: >>> On 18.02.2016, Schrempf Frieder wrote: At the moment I have two sticks with the same chip around for which setting USB_MAX_XFER_BLK from 6553

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-04-15 Thread Diego
In data venerdì 15 aprile 2016 12:53:36, Marek Vasut ha scritto: > On 04/14/2016 03:20 PM, Diego wrote: > > On 18.02.2016, Schrempf Frieder wrote: > >> At the moment I have two sticks with the same chip around for which > >> setting USB_MAX_XFER_BLK from 65535 to 32767 fixed the file transfer. > >>

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-04-15 Thread Marek Vasut
On 04/14/2016 03:20 PM, Diego wrote: > On 18.02.2016, Schrempf Frieder wrote: >> At the moment I have two sticks with the same chip around for which >> setting USB_MAX_XFER_BLK from 65535 to 32767 fixed the file transfer. >> Also one of our customers tested a few non-working sticks with this >> cha

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-04-14 Thread Diego
On 18.02.2016, Schrempf Frieder wrote: > At the moment I have two sticks with the same chip around for which > setting USB_MAX_XFER_BLK from 65535 to 32767 fixed the file transfer. > Also one of our customers tested a few non-working sticks with this > change and reported, that it fixed it for him.

Re: [U-Boot] Issue with ALLOC_CACHE_ALIGN_BUFFER in env_relocate_spec and

2016-03-30 Thread Vincent
Hi, In the end, it seems that the issue is neither MMC nor Normal/Secure world related, but cache related. Between SPL and u-boot, I run a small piece of secure software, which turns on the ACTLR.SMP bit. According to cortex a7 TRM, this is mandatory to enable caching. Setting the MMU is not enough

[U-Boot] Issue with ALLOC_CACHE_ALIGN_BUFFER in env_relocate_spec and

2016-03-25 Thread Vincent
Hi, I am having some issue with several instances of ALLOC_CACHE_ALIGN_BUFFER in (at least): - common/env_mmc: env_relocate_spec - disk/part_dos: test_part_dos U-boot (ls1021atwr) is build in SPL mode, SPL part is in Secure World, u-boot is in Normal World. In the SPL part, there is no problem, MM

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-25 Thread Simon Glass
Hi Marek, On 25 February 2016 at 10:56, Marek Vasut wrote: > On 02/25/2016 05:13 AM, Simon Glass wrote: >> Hi, >> >> On 24 February 2016 at 10:43, Marek Vasut wrote: >>> >>> On 02/23/2016 07:38 AM, Hannes Schmelzer wrote: On 22.02.2016 18:59, Fabio Estevam wrote: > On Mon, Feb 22, 2016

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-25 Thread Marek Vasut
On 02/25/2016 05:13 AM, Simon Glass wrote: > Hi, > > On 24 February 2016 at 10:43, Marek Vasut wrote: >> >> On 02/23/2016 07:38 AM, Hannes Schmelzer wrote: >>> On 22.02.2016 18:59, Fabio Estevam wrote: On Mon, Feb 22, 2016 at 2:51 PM, Maxime Jayat wrote: > Hello, > I was h

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-24 Thread Simon Glass
Hi, On 24 February 2016 at 10:43, Marek Vasut wrote: > > On 02/23/2016 07:38 AM, Hannes Schmelzer wrote: > > On 22.02.2016 18:59, Fabio Estevam wrote: > >> On Mon, Feb 22, 2016 at 2:51 PM, Maxime Jayat > >> wrote: > >> > >>> Hello, > >>> I was hit by the same problem, where my USB SD card reader

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-24 Thread Marek Vasut
On 02/23/2016 07:38 AM, Hannes Schmelzer wrote: > On 22.02.2016 18:59, Fabio Estevam wrote: >> On Mon, Feb 22, 2016 at 2:51 PM, Maxime Jayat >> wrote: >> >>> Hello, >>> I was hit by the same problem, where my USB SD card reader would timeout >>> in U-boot when reading a large file (16 MB). Changin

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-23 Thread Maxime Jayat
Le 22/02/2016 08:03, Schrempf Frieder a écrit : > On 18.02.2016 18:14, Fabio Estevam wrote: >> On Thu, Feb 18, 2016 at 1:32 PM, Marek Vasut wrote: >> Also one of our customers tested a few non-working sticks with this change and reported, that it fixed it for him. Here's a list of t

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-22 Thread Hannes Schmelzer
On 22.02.2016 18:59, Fabio Estevam wrote: On Mon, Feb 22, 2016 at 2:51 PM, Maxime Jayat wrote: Hello, I was hit by the same problem, where my USB SD card reader would timeout in U-boot when reading a large file (16 MB). Changing USB_MAX_XFER_BLK to 32767 fixed the problem but I investigated a

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-22 Thread Fabio Estevam
On Mon, Feb 22, 2016 at 2:51 PM, Maxime Jayat wrote: > Hello, > I was hit by the same problem, where my USB SD card reader would timeout > in U-boot when reading a large file (16 MB). Changing USB_MAX_XFER_BLK > to 32767 fixed the problem but I investigated a little more. > I was curious to see w

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-21 Thread Schrempf Frieder
On 18.02.2016 18:14, Fabio Estevam wrote: > On Thu, Feb 18, 2016 at 1:32 PM, Marek Vasut wrote: > >>> Also one of our customers tested a few non-working sticks with this >>> change and reported, that it fixed it for him. >>> Here's a list of those devices, but I guess there are a lot more: >>> >>>

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-18 Thread Fabio Estevam
On Thu, Feb 18, 2016 at 1:32 PM, Marek Vasut wrote: >> Also one of our customers tested a few non-working sticks with this >> change and reported, that it fixed it for him. >> Here's a list of those devices, but I guess there are a lot more: >> >> 1. Silicon Motion, Inc. - Taiwan (formerly Feiya

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-18 Thread Marek Vasut
On 02/18/2016 11:05 AM, Schrempf Frieder wrote: > On 04.02.2016 12:28, Marek Vasut wrote: >> On Thursday, February 04, 2016 at 09:21:08 AM, Schrempf Frieder wrote: >>> On 03.02.2016 20:16, Sergei Temerkhanov wrote: On Wed, Feb 3, 2016 at 8:40 AM, Marek Vasut wrote: > On Wednesday, Februar

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-18 Thread Schrempf Frieder
On 04.02.2016 12:28, Marek Vasut wrote: > On Thursday, February 04, 2016 at 09:21:08 AM, Schrempf Frieder wrote: >> On 03.02.2016 20:16, Sergei Temerkhanov wrote: >>> On Wed, Feb 3, 2016 at 8:40 AM, Marek Vasut wrote: On Wednesday, February 03, 2016 at 12:49:20 PM, Schrempf Frieder wrote: >>>

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-12 Thread Hannes Schmelzer
On 2016-02-12 16:53, Simon Glass wrote: Hi, On 8 February 2016 at 07:58, Marek Vasut wrote: On Monday, February 08, 2016 at 09:41:09 AM, Hannes Schmelzer wrote: On 04.02.2016 12:28, Marek Vasut wrote: On Thursday, February 04, 2016 at 09:21:08 AM, Schrempf Frieder wrote: On 03.02.2016 20:1

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-12 Thread Simon Glass
Hi, On 8 February 2016 at 07:58, Marek Vasut wrote: > On Monday, February 08, 2016 at 09:41:09 AM, Hannes Schmelzer wrote: >> On 04.02.2016 12:28, Marek Vasut wrote: >> > On Thursday, February 04, 2016 at 09:21:08 AM, Schrempf Frieder wrote: >> >> On 03.02.2016 20:16, Sergei Temerkhanov wrote: >>

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-08 Thread Marek Vasut
On Monday, February 08, 2016 at 09:41:09 AM, Hannes Schmelzer wrote: > On 04.02.2016 12:28, Marek Vasut wrote: > > On Thursday, February 04, 2016 at 09:21:08 AM, Schrempf Frieder wrote: > >> On 03.02.2016 20:16, Sergei Temerkhanov wrote: > >>> On Wed, Feb 3, 2016 at 8:40 AM, Marek Vasut wrote: > >

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-08 Thread Hannes Schmelzer
On 04.02.2016 12:28, Marek Vasut wrote: On Thursday, February 04, 2016 at 09:21:08 AM, Schrempf Frieder wrote: On 03.02.2016 20:16, Sergei Temerkhanov wrote: On Wed, Feb 3, 2016 at 8:40 AM, Marek Vasut wrote: On Wednesday, February 03, 2016 at 12:49:20 PM, Schrempf Frieder wrote: On 03.02.2

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-04 Thread Marek Vasut
On Thursday, February 04, 2016 at 09:21:08 AM, Schrempf Frieder wrote: > On 03.02.2016 20:16, Sergei Temerkhanov wrote: > > On Wed, Feb 3, 2016 at 8:40 AM, Marek Vasut wrote: > >> On Wednesday, February 03, 2016 at 12:49:20 PM, Schrempf Frieder wrote: > >>> On 03.02.2016 12:12, Marek Vasut wrote:

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-04 Thread Schrempf Frieder
On 03.02.2016 20:16, Sergei Temerkhanov wrote: > On Wed, Feb 3, 2016 at 8:40 AM, Marek Vasut wrote: >> On Wednesday, February 03, 2016 at 12:49:20 PM, Schrempf Frieder wrote: >>> On 03.02.2016 12:12, Marek Vasut wrote: On Wednesday, February 03, 2016 at 11:15:00 AM, Schrempf Frieder wrote: >>

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-04 Thread Schrempf Frieder
On 03.02.2016 17:40, Marek Vasut wrote: > On Wednesday, February 03, 2016 at 12:49:20 PM, Schrempf Frieder wrote: >> On 03.02.2016 12:12, Marek Vasut wrote: >>> On Wednesday, February 03, 2016 at 11:15:00 AM, Schrempf Frieder wrote: On 03.02.2016 10:55, Fabio Estevam wrote: > On Wed, Feb 3

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-03 Thread Sergei Temerkhanov
On Wed, Feb 3, 2016 at 8:40 AM, Marek Vasut wrote: > On Wednesday, February 03, 2016 at 12:49:20 PM, Schrempf Frieder wrote: >> On 03.02.2016 12:12, Marek Vasut wrote: >> > On Wednesday, February 03, 2016 at 11:15:00 AM, Schrempf Frieder wrote: >> >> On 03.02.2016 10:55, Fabio Estevam wrote: >> >>

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-03 Thread Marek Vasut
On Wednesday, February 03, 2016 at 12:49:20 PM, Schrempf Frieder wrote: > On 03.02.2016 12:12, Marek Vasut wrote: > > On Wednesday, February 03, 2016 at 11:15:00 AM, Schrempf Frieder wrote: > >> On 03.02.2016 10:55, Fabio Estevam wrote: > >>> On Wed, Feb 3, 2016 at 7:40 AM, Marek Vasut wrote: > >>

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-03 Thread Schrempf Frieder
On 03.02.2016 12:12, Marek Vasut wrote: > On Wednesday, February 03, 2016 at 11:15:00 AM, Schrempf Frieder wrote: >> On 03.02.2016 10:55, Fabio Estevam wrote: >>> On Wed, Feb 3, 2016 at 7:40 AM, Marek Vasut wrote: In that case, debug time. Usual problems are bad routing of the track

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-03 Thread Marek Vasut
On Wednesday, February 03, 2016 at 11:15:00 AM, Schrempf Frieder wrote: > On 03.02.2016 10:55, Fabio Estevam wrote: > > On Wed, Feb 3, 2016 at 7:40 AM, Marek Vasut wrote: > >> In that case, debug time. > >> > >> Usual problems are bad routing of the tracks on the board , so try with > >> USB 1.1

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-03 Thread Schrempf Frieder
On 03.02.2016 10:55, Fabio Estevam wrote: > On Wed, Feb 3, 2016 at 7:40 AM, Marek Vasut wrote: > >> In that case, debug time. >> >> Usual problems are bad routing of the tracks on the board , so try with USB >> 1.1 >> hub and if that works, that's your problem. > Another suggestion would be to tr

  1   2   >