nand flash driver

2023-07-24 Thread momo aubin
Dear all, I faced the nand flash driver in u-boot. After flashing the u-boot into NAND flash, I have two datas. 1. The first one is related to u-boot data which is correct . 2. The second one is the extra data that I didn't know where it was coming from. The second data is just writing

Re: Nand write from uboot

2022-10-22 Thread momo aubin
Thanks for frank your answer. > On 22 Oct 2022, at 9:57 AM, Frank Wunderlich wrote: > > Hi, > > this is how i do nand-write on a mediatek board, if your driver is capable > with mtd it should be similar: > > https://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r3:uboot#nand_flash > > HTH > >

Nand write from uboot

2022-10-22 Thread momo aubin
Hello all, I'm using the evaluation board for davinci. I'm using uboot 2013 because the project started 10 years ago. I want to write to the NAND from u-boot code. I saw there is a driver for davinci in davinci_nand.c. How to write in the nand from u-boot code ? I need to write in a block (page) of

Re: Question about uboot initialisation

2022-10-13 Thread momo aubin
Hi Simon, > On 12 Sep 2022, at 10:59 PM, momo aubin wrote: > >  > > Sent from my iPhone > >> On 12 Sep 2022, at 8:31 PM, Simon Glass wrote: >> >> Hi Aubin, >> >>>> On Mon, 12 Sept 2022 at 09:13, momo aubin wrote: >>> &

Re: Bad Data CRC

2022-10-12 Thread momo aubin
Oct 10, 2022 at 6:31 PM momo aubin wrote: > > > > Hello Simon, > > > > My board boots well . When I added the second partition into my kernel I > > got this message > > *Verifying Checksum ... Bad Data CRC* > > what could be the root cause ? > > Try to run "saveenv", >

Re: Bad Data CRC

2022-10-10 Thread momo aubin
Hi Simon > On 11 Oct 2022, at 12:33 AM, Simon Glass wrote: > > Hi Momo, > >> On Mon, 10 Oct 2022 at 15:31, momo aubin wrote: >> >> Hello Simon, >> >> My board boots well . When I added the second partition into my kernel I got >> thi

Bad Data CRC

2022-10-10 Thread momo aubin
Hello Simon, My board boots well . When I added the second partition into my kernel I got this message *Verifying Checksum ... Bad Data CRC* what could be the root cause ? Which data is talking about ? u boot data or kernel data ? Thanks in advance.

Re: Question about uboot initialisation

2022-09-12 Thread momo aubin
Sent from my iPhone > On 12 Sep 2022, at 8:31 PM, Simon Glass wrote: > > Hi Aubin, > >> On Mon, 12 Sept 2022 at 09:13, momo aubin wrote: >> >> >> >>> On Mon, 12 Sept 2022 at 17:07, Simon Glass wrote: >>> >>> Hi A

Re: Question about uboot initialisation

2022-09-12 Thread momo aubin
On Mon, 12 Sept 2022 at 17:07, Simon Glass wrote: > Hi Aubin, > > On Mon, 12 Sept 2022 at 08:23, momo aubin wrote: > > > > Hi Simon, > > > > Thanks for your answer and explanations. > > > > The sequence of boot is : > > RBL->UBL->UBOOT-&g

Re: Question about uboot initialisation

2022-09-11 Thread momo aubin
l has not started , can the system reboot by choosing another u-boot ? Thanks for your answer in advance. Aubin On Tue, 30 Aug 2022 at 04:30, Simon Glass wrote: > Hi Aubin, > > On Mon, 29 Aug 2022 at 01:40, momo aubin wrote: > > > > Hi Simon, > > I got what is the &

Re: Question about uboot initialisation

2022-08-29 Thread momo aubin
ong in the initialisation ? Best Regard, Aubin On Mon, 29 Aug 2022 at 05:24, momo aubin wrote: > Hi Simon, > > Thanks for your answer. > > The script that you are telling it is Env.txt right ? > > What is a 'dm tree' ? Please could you provide me more infos about thi

Re: Question about uboot initialisation

2022-08-28 Thread momo aubin
6 Aug 2022 at 06:41, momo aubin wrote: > > > > Dear all, > > > > > > Is there any way that allows us to know that uboot has initialised all > his > > peripherals before starting loading kernel ? > > > > The goal of this check is to reset the

Question about uboot initialisation

2022-08-26 Thread momo aubin
Dear all, Is there any way that allows us to know that uboot has initialised all his peripherals before starting loading kernel ? The goal of this check is to reset the board in case of bad initialisation and choose a different uboot . Thanks for your answer in advance. Aubin