All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [BuildRoot] at91sam9x5ek_defconfig not booting
@ 2017-10-12 19:11 Alejandro Ariel Fachini
  2017-10-12 20:01 ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: Alejandro Ariel Fachini @ 2017-10-12 19:11 UTC (permalink / raw)
  To: buildroot

Hello, im new to Buildroot and I understand this may be more related to
linux4sam website but i need some help.
I am currently beginning with at91sam9x35ek. I've read and followed these
documentations:

linux4sam/bin/view/Linux4SAM/BuildRootB ... nux_U_boot
<http://www.at91.com/linux4sam/bin/view/Linux4SAM/BuildRootBuild#Customizing_Busybox_Linux_U_boot>
linux4sam/bin/view/Linux4SAM/BuildRoot_9x5
<http://www.at91.com/linux4sam/bin/view/Linux4SAM/BuildRoot_9x5>

Doing what was described in these documents i got on Ubuntu 16.04 LTS the
following resulting files, I am using this buildroot tag; *2016.02-rc3*:

buildroot/output/images$ ls
at91bootstrap.bin at91sam9x35ek.dtb rootfs.ubifs
at91sam9g15ek.dtb at91sam9x5ek-nandflashboot-uboot-3.8.bin u-boot.bin
at91sam9g25ek.dtb boot.bin zImage
at91sam9g35ek.dtb rootfs.tar
at91sam9x25ek.dtb rootfs.ubi

I have to flash the device with windows where my Ubuntu VM runs.
The flashing addresses aree found inside the script for flashing being:

   - 0x0 for atboostrap.bin


   - 0x40000 for u-boot.bin


   - 0x180000 for at91sam9x35ek.dtb


   - 0x200000 for zImage


   - 0x800000 for rootfs.ubi

This configuration won't boot KERNEL. System goes to u-boot> prompt and
when i use:
*bootz 0x22000000 - 0x21000000*
Results in:

*Wrong Ramdisk Image FormatRamdisk image is corrupt or invalid*

Now. i have this demo:
*linux4sam-buildroot-at91sam9x5ek-4.2*

This demo contains the following files(relevant):

at91sam9x5ek-nandflashboot-uboot-3.6.0.bin
at91sam9x35ek.dtb
u-boot-at91sam9x5ek_nandflash.bin
ubootEnvtFileNandFlash.bin
zImage-at91_dt
rootfs-at91sam9.ubi

I flash them with SAM-BA 2.12 on windows 10 at the following addresses:

   - 0x0 for at91sam9x5ek-nandflashboot-uboot-3.6.0.bin


   - 0x40000 for u-boot-at91sam9x5ek_nandflash.bin


   - 0xc0000 for ubootEnvtFileNandFlash.bin


   - 0x180000 for at91sam9x35ek.dtb


   - 0x200000 for zImage-at91_dt


   - 0x800000 for rootfs-at91sam9.ubi

THis configuraion and these files work up to buildroot login prompt without
issues.

So i have a set of questions may be related to my inexperience:

1- In my Buildroots build on my Ubuntu enviroment, if the file
*at91bootstrap.bin* is my ATbootstrap bootloader, what is the file
*at91sam9x5ek-nandflashboot-uboot-3.8.bin*?

2- What is the file *boot.bin*?

3-Where is the file with the U_BOOT enviroment variables, in the compiled
Buildroot results?????

4-I used "make at91sam9x5ek_defconfig", then "make". Does this means that
the default configuration in these files are not working???

5- Where do i set for building the file with Uboot Environment Variables?

6- Do i need to apply patches to the newest Bootloader version?

7- How do i do to change UBI format to jffs2 for compiling? i know how to
do it in buildroot's menuconfig, but environment variables still sets to
UBI.


Thanks for your help and patience since I dont really know much about this.

On side note I tried using the latest Build from Buildroot master at git
and got same results. so All the above questons apply for BuildRoot
mainline too. PLease Help me and Im sorry for asking noob things here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20171012/75fcd5d4/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [BuildRoot] at91sam9x5ek_defconfig not booting
  2017-10-12 19:11 [Buildroot] [BuildRoot] at91sam9x5ek_defconfig not booting Alejandro Ariel Fachini
@ 2017-10-12 20:01 ` Thomas Petazzoni
       [not found]   ` <CAHnuF30iK6AQeoZBn3f35q1B5Ff+SG9uGUywzKH--wPp-THVVg@mail.gmail.com>
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2017-10-12 20:01 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 12 Oct 2017 16:11:38 -0300, Alejandro Ariel Fachini wrote:

> following resulting files, I am using this buildroot tag; *2016.02-rc3*:

Why use this tag, which is old *and* is a release candidate and not a
final stable release ?

> I have to flash the device with windows where my Ubuntu VM runs.
> The flashing addresses aree found inside the script for flashing being:
> 
>    - 0x0 for atboostrap.bin
> 
> 
>    - 0x40000 for u-boot.bin
> 
> 
>    - 0x180000 for at91sam9x35ek.dtb
> 
> 
>    - 0x200000 for zImage
> 
> 
>    - 0x800000 for rootfs.ubi
> 
> This configuration won't boot KERNEL. System goes to u-boot> prompt and
> when i use:
> *bootz 0x22000000 - 0x21000000*

Those addresses (0x22000000 and 0x21000000) are addresses in RAM. You
have to load zImage from flash to RAM at 0x22000000 and
at91sam9x35ek.dtb from flash to RAM at 0x21000000 prior to issuing the
"bootz" command. "bootz" only starts the kernel. If you haven't loaded
the kernel and device tree before running bootz, it obviously cannot
work.

> So i have a set of questions may be related to my inexperience:
> 
> 1- In my Buildroots build on my Ubuntu enviroment, if the file
> *at91bootstrap.bin* is my ATbootstrap bootloader, what is the file
> *at91sam9x5ek-nandflashboot-uboot-3.8.bin*?

They are exactly identical:

$ md5sum at91bootstrap.bin at91sam9x5ek-nandflashboot-uboot-3.8.8.bin 
fef2c8c4cf8eef64e28488324b11f86b  at91bootstrap.bin
fef2c8c4cf8eef64e28488324b11f86b  at91sam9x5ek-nandflashboot-uboot-3.8.8.bin

> 2- What is the file *boot.bin*?

It's again the same thing:

fef2c8c4cf8eef64e28488324b11f86b  boot.bin

The bootloader must be named boot.bin when you're doing SD card based
boot, but that's not what you're doing here, so you don't care.

> 3-Where is the file with the U_BOOT enviroment variables, in the compiled
> Buildroot results?????

No such file is produced. Therefore, the U-Boot environment on flash is
empty. But the U-Boot binary embeds a default environment, which takes
precedence when there is no environment defined in flash.

> 4-I used "make at91sam9x5ek_defconfig", then "make". Does this means that
> the default configuration in these files are not working???

I believe they are working. Have you followed the instructions in
board/atmel/readme.txt ?

> 5- Where do i set for building the file with Uboot Environment Variables?

You don't need this for a basic build.

> 6- Do i need to apply patches to the newest Bootloader version?

No, it should work as-is.

> 7- How do i do to change UBI format to jffs2 for compiling? i know how to
> do it in buildroot's menuconfig, but environment variables still sets to
> UBI.

Just don't use JFFS2. UBI is the thing you want to use.

Once again, please follow the instructions in board/atmel/readme.txt,
this should get you running.

Also, I suggest that you go through Free Electrons training materials
(both slides [1] and labs [2] are available, and labs are done on an Atmel
SAMA5D3 Xplained, with has lots of similarities). This would help
giving you the background necessary.

[1] http://free-electrons.com/doc/training/embedded-linux/embedded-linux-slides.pdf
[2] http://free-electrons.com/doc/training/embedded-linux/embedded-linux-labs.pdf

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Fwd:  [BuildRoot] at91sam9x5ek_defconfig not booting
       [not found]   ` <CAHnuF30iK6AQeoZBn3f35q1B5Ff+SG9uGUywzKH--wPp-THVVg@mail.gmail.com>
@ 2017-10-13 12:44     ` Alejandro Ariel Fachini
  2017-10-13 13:50       ` [Buildroot] " Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: Alejandro Ariel Fachini @ 2017-10-13 12:44 UTC (permalink / raw)
  To: buildroot

---------- Forwarded message ----------
From: Alejandro Ariel Fachini <alefachinic@gmail.com>
Date: 2017-10-12 17:30 GMT-03:00
Subject: Re: [Buildroot] [BuildRoot] at91sam9x5ek_defconfig not booting
To: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>


Mr Thomas:
Thanks For your help. I used the tag 2017.03 and Still got the same Result
in fact the first thing i did was use the latest version of BuildRoot.
 If i understand correctly:
At first Boot after Install binaries i should set environment variables,
then saveenv and then reset. After that use bootz?

How do I make the boot into Kernel auomatic? I believe all tthis is U-Boot
Related? If thats so just tell me and i wont bother anymore.

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Libre
de virus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#m_6279347772450905483_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

2017-10-12 17:01 GMT-03:00 Thomas Petazzoni <thomas.petazzoni@free-
electrons.com>:

> Hello,
>
> On Thu, 12 Oct 2017 16:11:38 -0300, Alejandro Ariel Fachini wrote:
>
> > following resulting files, I am using this buildroot tag; *2016.02-rc3*:
>
> Why use this tag, which is old *and* is a release candidate and not a
> final stable release ?
>
> > I have to flash the device with windows where my Ubuntu VM runs.
> > The flashing addresses aree found inside the script for flashing being:
> >
> >    - 0x0 for atboostrap.bin
> >
> >
> >    - 0x40000 for u-boot.bin
> >
> >
> >    - 0x180000 for at91sam9x35ek.dtb
> >
> >
> >    - 0x200000 for zImage
> >
> >
> >    - 0x800000 for rootfs.ubi
> >
> > This configuration won't boot KERNEL. System goes to u-boot> prompt and
> > when i use:
> > *bootz 0x22000000 - 0x21000000*
>
> Those addresses (0x22000000 and 0x21000000) are addresses in RAM. You
> have to load zImage from flash to RAM at 0x22000000 and
> at91sam9x35ek.dtb from flash to RAM at 0x21000000 prior to issuing the
> "bootz" command. "bootz" only starts the kernel. If you haven't loaded
> the kernel and device tree before running bootz, it obviously cannot
> work.
>
> > So i have a set of questions may be related to my inexperience:
> >
> > 1- In my Buildroots build on my Ubuntu enviroment, if the file
> > *at91bootstrap.bin* is my ATbootstrap bootloader, what is the file
> > *at91sam9x5ek-nandflashboot-uboot-3.8.bin*?
>
> They are exactly identical:
>
> $ md5sum at91bootstrap.bin at91sam9x5ek-nandflashboot-uboot-3.8.8.bin
> fef2c8c4cf8eef64e28488324b11f86b  at91bootstrap.bin
> fef2c8c4cf8eef64e28488324b11f86b  at91sam9x5ek-nandflashboot-ubo
> ot-3.8.8.bin
>
> > 2- What is the file *boot.bin*?
>
> It's again the same thing:
>
> fef2c8c4cf8eef64e28488324b11f86b  boot.bin
>
> The bootloader must be named boot.bin when you're doing SD card based
> boot, but that's not what you're doing here, so you don't care.
>
> > 3-Where is the file with the U_BOOT enviroment variables, in the compiled
> > Buildroot results?????
>
> No such file is produced. Therefore, the U-Boot environment on flash is
> empty. But the U-Boot binary embeds a default environment, which takes
> precedence when there is no environment defined in flash.
>
> > 4-I used "make at91sam9x5ek_defconfig", then "make". Does this means that
> > the default configuration in these files are not working???
>
> I believe they are working. Have you followed the instructions in
> board/atmel/readme.txt ?
>
> > 5- Where do i set for building the file with Uboot Environment Variables?
>
> You don't need this for a basic build.
>
> > 6- Do i need to apply patches to the newest Bootloader version?
>
> No, it should work as-is.
>
> > 7- How do i do to change UBI format to jffs2 for compiling? i know how to
> > do it in buildroot's menuconfig, but environment variables still sets to
> > UBI.
>
> Just don't use JFFS2. UBI is the thing you want to use.
>
> Once again, please follow the instructions in board/atmel/readme.txt,
> this should get you running.
>
> Also, I suggest that you go through Free Electrons training materials
> (both slides [1] and labs [2] are available, and labs are done on an Atmel
> SAMA5D3 Xplained, with has lots of similarities). This would help
> giving you the background necessary.
>
> [1] http://free-electrons.com/doc/training/embedded-linux/embedd
> ed-linux-slides.pdf
> [2] http://free-electrons.com/doc/training/embedded-linux/embedd
> ed-linux-labs.pdf
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20171013/e7c5ad35/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [BuildRoot] at91sam9x5ek_defconfig not booting
  2017-10-13 12:44     ` [Buildroot] Fwd: " Alejandro Ariel Fachini
@ 2017-10-13 13:50       ` Thomas Petazzoni
  2017-10-13 18:36         ` Alejandro Ariel Fachini
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2017-10-13 13:50 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 13 Oct 2017 09:44:06 -0300, Alejandro Ariel Fachini wrote:

> Thanks For your help. I used the tag 2017.03 and Still got the same Result

There is no 2017.03 tag, so this is not possible.

> in fact the first thing i did was use the latest version of BuildRoot.
>  If i understand correctly:
> At first Boot after Install binaries i should set environment variables,

No, the default environment variables set inside the U-Boot binary
should be good enough.

> How do I make the boot into Kernel auomatic? I believe all tthis is U-Boot
> Related? If thats so just tell me and i wont bother anymore.

This is all U-Boot related of course. Please read the materials that I
pointed in my previous e-mail. And as I said, the default U-Boot
environment should automatically load and boot a Linux kernel, if I
remember correctly.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [BuildRoot] at91sam9x5ek_defconfig not booting
  2017-10-13 13:50       ` [Buildroot] " Thomas Petazzoni
@ 2017-10-13 18:36         ` Alejandro Ariel Fachini
  2017-10-18 20:21           ` Alejandro Ariel Fachini
  2017-10-18 21:01           ` Thomas Petazzoni
  0 siblings, 2 replies; 8+ messages in thread
From: Alejandro Ariel Fachini @ 2017-10-13 18:36 UTC (permalink / raw)
  To: buildroot

Mr Thomas:
I made a full new build from tag 2017.08.
 commands:
                make at91sam9x5ek_defconfig
                make

I flashed this binaries WITH SAM-BA 2.12 on WINDOWS, because my Ubuntu is a
VirtualMachine.

I share the results with full flashing Console and Reset After Flashing:

> -I- -- NandFlash SAM-BA applet 2.12 --
>
> -I- -- SAM9XX5-EK
>
> -I- -- Compiled: Jun 27 2012 13:39:59 --
>
> -I- INIT command
>
> -I- CHIP ID ad da 10 95 44
>
> -I- Nandflash ID is 0x9510DAAD
>
> -I-     Nandflash driver initialized
>
> -I-     pageSize : 0x800 blockSize : 0x20000 blockNb : 0x800
>
> -I-     Nandflash PMECC initialized
>
> -I-     End of applet (command : 0 --- status : 0)
>
> -I- BATCH ERASE command
>
> -I- Erase block from #0 to #256
>
> -I- SkipBlockNandFdFlash_EraseBsock: Block is BAD
>
> -I- Found block #44 BAD, skip it
>
> -I- Batch Erase achieved
>
> -I-     End of applet (command : 14 --- status : 0)
>
> -I- BATCH ERASE command
>
> -I- Erase block from #256 to #512
>
> -I- SkipBlockNandFlash_EraseBlock: Block is BAD
>
> -I- Found block #415 BAD, skip it
>
> -I- Batch Erase achieved
>
> -I-     End of applet (command : 14 --- status : 0)
>
> -I- BATCH ERASE command
>
> -I- Erase block from #512 to #768
>
> -I- Batch Erase achieved
>
> -I-     End of applet (command : 14 --- status : 0)
>
> -I- BATCH ERASE coommand
>
> -I- Erase block from #768 to #1024
>
> -I- Batch Erase achieved
>
> -I-     End of applet (command : 14 --- status : 0)
>
> -I- BATCH ERASE command
>
> -I- Erase block from #1024 to #1280
>
> -I- Batch Erasee achieved
>
> -I-     End of applet (command : 14 --- status : 0)
>
> -I- BATCH ERASE command
>
> -I- Erase block from #1280 to #1536
>
> -I- Batch Erase achieved
>
> -I-     End of applet (command : 14 --- status : 0)
>
> -I- BATCH ERASE command
>
> -I- Erase block from #1536 to #1792
>
> -I- SkipBlockNandFlash_EraseBlock: Block is BAD
>
> -I- Found block #1586 BAD, skip it
>
> -I- Batch Erase achieved
>
> -I-     End of applet (command : 14 --- status : 0)
>
> -I- BATCH ERASE command
>
> -I- Erase block from #1792 to #2048
>
> -I- Full Erase achieved, erase type is 0
>
> -I-     End of applet (command : 14 --- status : 0)
>
> -I- SEND BOOT FILE command
>
> -I-     End of applet (command : 16 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x40000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x2, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x60000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x3, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x80000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x4, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
> )-I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0xa0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x5, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
>
> I- Pmecc initialized
>
> -I- WRITE arguments : offset 0xc0000, buffer at 0x20010df0, of 0x67e0 Bytes
>
> -I- WRITE at block 0x6, page 0x0, offset 0x0
>
> -I- Retrieve data in block,6
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x180000, buffer at 0x20010df0, of 0x72fc
> Bytes
>
> -I- WRITE at block 0xc, page 0x0, offset 0x0
>
> -I- Retrieve data in block,12
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x200000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x10, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x220000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x11, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x240000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x12, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x260000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x13, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x280000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x14, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x2a0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x15, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x2c0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x16, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x2e0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x17, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x300000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x18, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x320000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x19, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x340000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x1a, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x360000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x1b, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x380000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x1c, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x3a0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x1d, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x3c0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x1e, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x3e0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x1f, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x400000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x20, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initializee
>
> -I- WRITE arguments : offset 0x420000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x21, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x440000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x22, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x460000, buffer at 0x20010dd0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x23, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x480000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x24, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x4a0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x25, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x4c0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x26, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x4e0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x27, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x500000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x28, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x520000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x29, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x540000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x2a, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x560000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x2b, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x580000, buffer at 0x20010df0, of 0x1a970
> Bytes
>
> -I- WRITE at block 0x2c, page 0x0, offset 0x0
>
> -I- Retrieve data in block,44
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x800000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x40, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x820000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x41, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x840000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x42, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x860000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x43, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x880000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x44, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x8a0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x45, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x8c0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x46, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x8e0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x47, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x900000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x48, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x920000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x49, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x940000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x4a, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x960000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x4b, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x980000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x4c, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x9a0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x4d, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x9c0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x4e, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0x9e0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x4f, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0xa00000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x50, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0xa20000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x51, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0xa40000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x52, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0xa60000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x53, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0xa80000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x54, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0xaa0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x55, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0xac0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x56, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0xae0000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x57, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0xb00000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x58, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0xb20000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x59, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0xb40000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x5a, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0xb60000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x5b, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> -I- SEND FILE command
>
> -I- Pmecc initialized
>
> -I- WRITE arguments : offset 0xb80000, buffer at 0x20010df0, of 0x20000
> Bytes
>
> -I- WRITE at block 0x5c, page 0x0, offset 0x0
>
> -I-     End of applet (command : 2 --- status : 0)
>
> RomBOOT
>
>
>
> AT91Bootstrap 3.8.7 (lun oct  9 13:46:05 ART 2017)
>
> 1-Wire: Loading 1-Wire information ...
> 1-Wire: ROM Searching ... Done, 3 1-Wire chips found
>
> 1-Wire: BoardName | [Revid] | VendorName
>   #0  SAM9x5-EK [B0]      FLEX
>   #1  SAM9X35-CM [B2]      RONETIX
>   #2  SAM9x5-DM [B0]      FLEX
>
> 1-Wire: Board sn: 0x4010466 revision: 0x10421
>
> NAND: ONFI flash detected
> NAND: ONFI para CRC error!
> NAND: Manufacturer ID: 0xad Chip ID: 0xda
> WARNING: Fail to disable On-Die ECC
> Nand flash is not ONFI compliant, use 2-bit/512-byte ecc.
> NAND: Initialize PMECC params, cap: 2, sector: 512
> NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000
> NAND: Done to load image
> <debug_uart> No serial driver found
> resetting ...
> RomBOOT
>
>
>
> AT91Bootstrap 3.8.7 (lun oct  9 13:46:05 ART 2017)
>
> 1-Wire: Loading 1-Wire information ...
> 1-Wire: ROM Searching ... Done, 3 1-Wire chips found
>
> 1-Wire: BoardName | [Revid] | VendorName
>   #0  SAM9x5-EK [B0]      FLEX
>   #1  SAM9X35-CM [B2]      RONETIX
>   #2  SAM9x5-DM [B0]      FLEX
>
> 1-Wire: Board sn: 0x4010466 revision: 0x10421
>
> NAND: ONFI flash detected
> NAND: ONFI para CRC error!
> NAND: Manufacturer ID: 0xad Chip ID: 0xda
> WARNING: Fail to disable On-Die ECC
> Nand flash is not ONFI compliant, use 2-bit/512-byte ecc.
> NAND: Initialize PMECC params, cap: 2, sector: 512
> NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000
> NAND: Done to load image
> <debug_uart> No serial driver found
> resetting ...
> RomBOOT
>
>
>
> AT91Bootstrap 3.8.7 (lun oct  9 13:46:05 ART 2017)
>
> 1-Wire: Loading 1-Wire information ...
> 1-Wire: ROM Searching ... Done, 3 1-Wire chips found
>
> 1-Wire: BoardName | [Revid] | VendorName
>   #0  SAM9x5-EK [B0]      FLEX
>   #1  SAM9X35-CM [B2]      RONETIX
>   #2  SAM9x5-DM [B0]      FLEX
>
> 1-Wire: Board sn: 0x4010466 revision: 0x10421
>
> NAND: ONFI flash detected
> NAND: ONFI para CRC error!
> NAND: Manufacturer ID: 0xad Chip ID: 0xda
> WARNING: Fail to disable On-Die ECC
> Nand flash is not ONFI compliant, use 2-bit/512-byte ecc.
> NAND: Initialize PMECC params, cap: 2, sector: 512
> NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000
> NAND: Done to load image
> <debug_uart> No serial driver found
> resetting ...
> RomBOOT
>


IMPORTANT: I tried also flashing with a *.bat invoking the nandflash.tcl
script, but it seems that its not directly compatible with windows since it
wont find the paths to the files. But it wont work.

As i see now the problem is in U-boot default config???

2017-10-13 10:50 GMT-03:00 Thomas Petazzoni <
thomas.petazzoni@free-electrons.com>:

> Hello,
>
> On Fri, 13 Oct 2017 09:44:06 -0300, Alejandro Ariel Fachini wrote:
>
> > Thanks For your help. I used the tag 2017.03 and Still got the same
> Result
>
> There is no 2017.03 tag, so this is not possible.
>
> > in fact the first thing i did was use the latest version of BuildRoot.
> >  If i understand correctly:
> > At first Boot after Install binaries i should set environment variables,
>
> No, the default environment variables set inside the U-Boot binary
> should be good enough.
>
> > How do I make the boot into Kernel auomatic? I believe all tthis is
> U-Boot
> > Related? If thats so just tell me and i wont bother anymore.
>
> This is all U-Boot related of course. Please read the materials that I
> pointed in my previous e-mail. And as I said, the default U-Boot
> environment should automatically load and boot a Linux kernel, if I
> remember correctly.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20171013/32cb346e/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [BuildRoot] at91sam9x5ek_defconfig not booting
  2017-10-13 18:36         ` Alejandro Ariel Fachini
@ 2017-10-18 20:21           ` Alejandro Ariel Fachini
  2017-10-18 21:01           ` Thomas Petazzoni
  1 sibling, 0 replies; 8+ messages in thread
From: Alejandro Ariel Fachini @ 2017-10-18 20:21 UTC (permalink / raw)
  To: buildroot

Hello:
Still having this issue cant figure whats going on. Im using default
configuration for sam9x35 nandlfash defconfig.
Please Help.
Thanks

2017-10-13 15:36 GMT-03:00 Alejandro Ariel Fachini <alefachinic@gmail.com>:

> Mr Thomas:
> I made a full new build from tag 2017.08.
>  commands:
>                 make at91sam9x5ek_defconfig
>                 make
>
> I flashed this binaries WITH SAM-BA 2.12 on WINDOWS, because my Ubuntu is
> a VirtualMachine.
>
> I share the results with full flashing Console and Reset After Flashing:
>
>> -I- -- NandFlash SAM-BA applet 2.12 --
>>
>> -I- -- SAM9XX5-EK
>>
>> -I- -- Compiled: Jun 27 2012 13:39:59 --
>>
>> -I- INIT command
>>
>> -I- CHIP ID ad da 10 95 44
>>
>> -I- Nandflash ID is 0x9510DAAD
>>
>> -I-     Nandflash driver initialized
>>
>> -I-     pageSize : 0x800 blockSize : 0x20000 blockNb : 0x800
>>
>> -I-     Nandflash PMECC initialized
>>
>> -I-     End of applet (command : 0 --- status : 0)
>>
>> -I- BATCH ERASE command
>>
>> -I- Erase block from #0 to #256
>>
>> -I- SkipBlockNandFdFlash_EraseBsock: Block is BAD
>>
>> -I- Found block #44 BAD, skip it
>>
>> -I- Batch Erase achieved
>>
>> -I-     End of applet (command : 14 --- status : 0)
>>
>> -I- BATCH ERASE command
>>
>> -I- Erase block from #256 to #512
>>
>> -I- SkipBlockNandFlash_EraseBlock: Block is BAD
>>
>> -I- Found block #415 BAD, skip it
>>
>> -I- Batch Erase achieved
>>
>> -I-     End of applet (command : 14 --- status : 0)
>>
>> -I- BATCH ERASE command
>>
>> -I- Erase block from #512 to #768
>>
>> -I- Batch Erase achieved
>>
>> -I-     End of applet (command : 14 --- status : 0)
>>
>> -I- BATCH ERASE coommand
>>
>> -I- Erase block from #768 to #1024
>>
>> -I- Batch Erase achieved
>>
>> -I-     End of applet (command : 14 --- status : 0)
>>
>> -I- BATCH ERASE command
>>
>> -I- Erase block from #1024 to #1280
>>
>> -I- Batch Erasee achieved
>>
>> -I-     End of applet (command : 14 --- status : 0)
>>
>> -I- BATCH ERASE command
>>
>> -I- Erase block from #1280 to #1536
>>
>> -I- Batch Erase achieved
>>
>> -I-     End of applet (command : 14 --- status : 0)
>>
>> -I- BATCH ERASE command
>>
>> -I- Erase block from #1536 to #1792
>>
>> -I- SkipBlockNandFlash_EraseBlock: Block is BAD
>>
>> -I- Found block #1586 BAD, skip it
>>
>> -I- Batch Erase achieved
>>
>> -I-     End of applet (command : 14 --- status : 0)
>>
>> -I- BATCH ERASE command
>>
>> -I- Erase block from #1792 to #2048
>>
>> -I- Full Erase achieved, erase type is 0
>>
>> -I-     End of applet (command : 14 --- status : 0)
>>
>> -I- SEND BOOT FILE command
>>
>> -I-     End of applet (command : 16 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x40000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x2, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x60000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x3, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x80000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x4, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>> )-I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0xa0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x5, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>>
>> I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0xc0000, buffer at 0x20010df0, of 0x67e0
>> Bytes
>>
>> -I- WRITE at block 0x6, page 0x0, offset 0x0
>>
>> -I- Retrieve data in block,6
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x180000, buffer at 0x20010df0, of 0x72fc
>> Bytes
>>
>> -I- WRITE at block 0xc, page 0x0, offset 0x0
>>
>> -I- Retrieve data in block,12
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x200000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x10, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x220000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x11, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x240000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x12, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x260000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x13, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x280000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x14, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x2a0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x15, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x2c0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x16, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x2e0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x17, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x300000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x18, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x320000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x19, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x340000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x1a, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x360000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x1b, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x380000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x1c, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x3a0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x1d, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x3c0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x1e, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x3e0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x1f, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x400000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x20, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initializee
>>
>> -I- WRITE arguments : offset 0x420000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x21, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x440000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x22, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x460000, buffer at 0x20010dd0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x23, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x480000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x24, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x4a0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x25, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x4c0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x26, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x4e0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x27, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x500000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x28, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x520000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x29, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x540000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x2a, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x560000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x2b, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x580000, buffer at 0x20010df0, of 0x1a970
>> Bytes
>>
>> -I- WRITE at block 0x2c, page 0x0, offset 0x0
>>
>> -I- Retrieve data in block,44
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x800000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x40, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x820000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x41, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x840000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x42, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x860000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x43, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x880000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x44, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x8a0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x45, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x8c0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x46, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x8e0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x47, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x900000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x48, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x920000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x49, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x940000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x4a, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x960000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x4b, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x980000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x4c, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x9a0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x4d, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x9c0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x4e, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0x9e0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x4f, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0xa00000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x50, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0xa20000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x51, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0xa40000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x52, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0xa60000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x53, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0xa80000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x54, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0xaa0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x55, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0xac0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x56, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0xae0000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x57, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0xb00000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x58, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0xb20000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x59, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0xb40000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x5a, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0xb60000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x5b, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> -I- SEND FILE command
>>
>> -I- Pmecc initialized
>>
>> -I- WRITE arguments : offset 0xb80000, buffer at 0x20010df0, of 0x20000
>> Bytes
>>
>> -I- WRITE at block 0x5c, page 0x0, offset 0x0
>>
>> -I-     End of applet (command : 2 --- status : 0)
>>
>> RomBOOT
>>
>>
>>
>> AT91Bootstrap 3.8.7 (lun oct  9 13:46:05 ART 2017)
>>
>> 1-Wire: Loading 1-Wire information ...
>> 1-Wire: ROM Searching ... Done, 3 1-Wire chips found
>>
>> 1-Wire: BoardName | [Revid] | VendorName
>>   #0  SAM9x5-EK [B0]      FLEX
>>   #1  SAM9X35-CM [B2]      RONETIX
>>   #2  SAM9x5-DM [B0]      FLEX
>>
>> 1-Wire: Board sn: 0x4010466 revision: 0x10421
>>
>> NAND: ONFI flash detected
>> NAND: ONFI para CRC error!
>> NAND: Manufacturer ID: 0xad Chip ID: 0xda
>> WARNING: Fail to disable On-Die ECC
>> Nand flash is not ONFI compliant, use 2-bit/512-byte ecc.
>> NAND: Initialize PMECC params, cap: 2, sector: 512
>> NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000
>> NAND: Done to load image
>> <debug_uart> No serial driver found
>> resetting ...
>> RomBOOT
>>
>>
>>
>> AT91Bootstrap 3.8.7 (lun oct  9 13:46:05 ART 2017)
>>
>> 1-Wire: Loading 1-Wire information ...
>> 1-Wire: ROM Searching ... Done, 3 1-Wire chips found
>>
>> 1-Wire: BoardName | [Revid] | VendorName
>>   #0  SAM9x5-EK [B0]      FLEX
>>   #1  SAM9X35-CM [B2]      RONETIX
>>   #2  SAM9x5-DM [B0]      FLEX
>>
>> 1-Wire: Board sn: 0x4010466 revision: 0x10421
>>
>> NAND: ONFI flash detected
>> NAND: ONFI para CRC error!
>> NAND: Manufacturer ID: 0xad Chip ID: 0xda
>> WARNING: Fail to disable On-Die ECC
>> Nand flash is not ONFI compliant, use 2-bit/512-byte ecc.
>> NAND: Initialize PMECC params, cap: 2, sector: 512
>> NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000
>> NAND: Done to load image
>> <debug_uart> No serial driver found
>> resetting ...
>> RomBOOT
>>
>>
>>
>> AT91Bootstrap 3.8.7 (lun oct  9 13:46:05 ART 2017)
>>
>> 1-Wire: Loading 1-Wire information ...
>> 1-Wire: ROM Searching ... Done, 3 1-Wire chips found
>>
>> 1-Wire: BoardName | [Revid] | VendorName
>>   #0  SAM9x5-EK [B0]      FLEX
>>   #1  SAM9X35-CM [B2]      RONETIX
>>   #2  SAM9x5-DM [B0]      FLEX
>>
>> 1-Wire: Board sn: 0x4010466 revision: 0x10421
>>
>> NAND: ONFI flash detected
>> NAND: ONFI para CRC error!
>> NAND: Manufacturer ID: 0xad Chip ID: 0xda
>> WARNING: Fail to disable On-Die ECC
>> Nand flash is not ONFI compliant, use 2-bit/512-byte ecc.
>> NAND: Initialize PMECC params, cap: 2, sector: 512
>> NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000
>> NAND: Done to load image
>> <debug_uart> No serial driver found
>> resetting ...
>> RomBOOT
>>
>
>
> IMPORTANT: I tried also flashing with a *.bat invoking the nandflash.tcl
> script, but it seems that its not directly compatible with windows since it
> wont find the paths to the files. But it wont work.
>
> As i see now the problem is in U-boot default config???
>
> 2017-10-13 10:50 GMT-03:00 Thomas Petazzoni <thomas.petazzoni@free-
> electrons.com>:
>
>> Hello,
>>
>> On Fri, 13 Oct 2017 09:44:06 -0300, Alejandro Ariel Fachini wrote:
>>
>> > Thanks For your help. I used the tag 2017.03 and Still got the same
>> Result
>>
>> There is no 2017.03 tag, so this is not possible.
>>
>> > in fact the first thing i did was use the latest version of BuildRoot.
>> >  If i understand correctly:
>> > At first Boot after Install binaries i should set environment variables,
>>
>> No, the default environment variables set inside the U-Boot binary
>> should be good enough.
>>
>> > How do I make the boot into Kernel auomatic? I believe all tthis is
>> U-Boot
>> > Related? If thats so just tell me and i wont bother anymore.
>>
>> This is all U-Boot related of course. Please read the materials that I
>> pointed in my previous e-mail. And as I said, the default U-Boot
>> environment should automatically load and boot a Linux kernel, if I
>> remember correctly.
>>
>> Best regards,
>>
>> Thomas
>> --
>> Thomas Petazzoni, CTO, Free Electrons
>> Embedded Linux and Kernel engineering
>> http://free-electrons.com
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20171018/f81ed5ca/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [BuildRoot] at91sam9x5ek_defconfig not booting
  2017-10-13 18:36         ` Alejandro Ariel Fachini
  2017-10-18 20:21           ` Alejandro Ariel Fachini
@ 2017-10-18 21:01           ` Thomas Petazzoni
  2017-10-19 12:45             ` Alejandro Ariel Fachini
  1 sibling, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2017-10-18 21:01 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 13 Oct 2017 15:36:24 -0300, Alejandro Ariel Fachini wrote:

> > AT91Bootstrap 3.8.7 (lun oct  9 13:46:05 ART 2017)
> >
> > 1-Wire: Loading 1-Wire information ...
> > 1-Wire: ROM Searching ... Done, 3 1-Wire chips found
> >
> > 1-Wire: BoardName | [Revid] | VendorName
> >   #0  SAM9x5-EK [B0]      FLEX
> >   #1  SAM9X35-CM [B2]      RONETIX
> >   #2  SAM9x5-DM [B0]      FLEX
> >
> > 1-Wire: Board sn: 0x4010466 revision: 0x10421
> >
> > NAND: ONFI flash detected
> > NAND: ONFI para CRC error!
> > NAND: Manufacturer ID: 0xad Chip ID: 0xda
> > WARNING: Fail to disable On-Die ECC
> > Nand flash is not ONFI compliant, use 2-bit/512-byte ecc.
> > NAND: Initialize PMECC params, cap: 2, sector: 512
> > NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000
> > NAND: Done to load image
> > <debug_uart> No serial driver found

This last message looks really weird, and smells like a bogus U-Boot
configuration.

However, you posted in the at91.com forums at
https://www.at91.com/viewtopic.php?f=9&p=49635 and here your boot logs
show U-Boot starting.

I don't have a at91sam9x5ek board at hand to test this.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [BuildRoot] at91sam9x5ek_defconfig not booting
  2017-10-18 21:01           ` Thomas Petazzoni
@ 2017-10-19 12:45             ` Alejandro Ariel Fachini
  0 siblings, 0 replies; 8+ messages in thread
From: Alejandro Ariel Fachini @ 2017-10-19 12:45 UTC (permalink / raw)
  To: buildroot

Well ill keep rying with at91 site support, because i did not changed
anything in the defconfig, is the defaultt configuration for nandflash.
I know for another search i did, that sam-ba 2.16 has an issue flashing
sam9x35 thats because i use 2.12.

Worth mentioning: The BootStrap Version is not changing even though it
should be 3.8.9, may be my kit is broken.

2017-10-18 18:01 GMT-03:00 Thomas Petazzoni <
thomas.petazzoni@free-electrons.com>:

> Hello,
>
> On Fri, 13 Oct 2017 15:36:24 -0300, Alejandro Ariel Fachini wrote:
>
> > > AT91Bootstrap 3.8.7 (lun oct  9 13:46:05 ART 2017)
> > >
> > > 1-Wire: Loading 1-Wire information ...
> > > 1-Wire: ROM Searching ... Done, 3 1-Wire chips found
> > >
> > > 1-Wire: BoardName | [Revid] | VendorName
> > >   #0  SAM9x5-EK [B0]      FLEX
> > >   #1  SAM9X35-CM [B2]      RONETIX
> > >   #2  SAM9x5-DM [B0]      FLEX
> > >
> > > 1-Wire: Board sn: 0x4010466 revision: 0x10421
> > >
> > > NAND: ONFI flash detected
> > > NAND: ONFI para CRC error!
> > > NAND: Manufacturer ID: 0xad Chip ID: 0xda
> > > WARNING: Fail to disable On-Die ECC
> > > Nand flash is not ONFI compliant, use 2-bit/512-byte ecc.
> > > NAND: Initialize PMECC params, cap: 2, sector: 512
> > > NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000
> > > NAND: Done to load image
> > > <debug_uart> No serial driver found
>
> This last message looks really weird, and smells like a bogus U-Boot
> configuration.
>
> However, you posted in the at91.com forums at
> https://www.at91.com/viewtopic.php?f=9&p=49635 and here your boot logs
> show U-Boot starting.
>
> I don't have a at91sam9x5ek board at hand to test this.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20171019/051ff442/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-10-19 12:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-12 19:11 [Buildroot] [BuildRoot] at91sam9x5ek_defconfig not booting Alejandro Ariel Fachini
2017-10-12 20:01 ` Thomas Petazzoni
     [not found]   ` <CAHnuF30iK6AQeoZBn3f35q1B5Ff+SG9uGUywzKH--wPp-THVVg@mail.gmail.com>
2017-10-13 12:44     ` [Buildroot] Fwd: " Alejandro Ariel Fachini
2017-10-13 13:50       ` [Buildroot] " Thomas Petazzoni
2017-10-13 18:36         ` Alejandro Ariel Fachini
2017-10-18 20:21           ` Alejandro Ariel Fachini
2017-10-18 21:01           ` Thomas Petazzoni
2017-10-19 12:45             ` Alejandro Ariel Fachini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.