All of lore.kernel.org
 help / color / mirror / Atom feed
* How to use mfgtool 2 to boot iMX7dsabresd from NAND
@ 2017-07-06 19:14 Bejar-Colonia, Carlos
  2017-07-07 19:29 ` Daiane Angolini
  0 siblings, 1 reply; 5+ messages in thread
From: Bejar-Colonia, Carlos @ 2017-07-06 19:14 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1834 bytes --]

Dear NXP,

I have an iMX7dsabresd board and would like to boot it from NAND using MfgTool V2.
I have tried to use mfgtool2-yocto-mx-sabresd-nand.vbs script provided in MfgTool V2, but failed.
I replaced the "sabreauto" with "sabresd" in the same script and I also rebuild Mfg Tools firmware (fsl-arm-yocto-bsp.git) and updated fsl-image-mfgtool-initramfs-imx7dsabresd.cpio.gz.u-boot in the MfgTool. But still fails

These are the last lines from the console output:

UTP: received command '$ mount -t debugfs debugfs /sys/kernel/debug'
UTP: executing "mount -t debugfs debugfs /sys/kernel/debug"
UTP: sending Success to kernel for command $ mount -t debugfs debugfs /sys/kernel/debug.
utp_poll: pass returned.
UTP: received command '$ flash_erase /dev/mtd0 0 0'
UTP: executing "flash_erase /dev/mtd0 0 0"
flash_erase: error!: /dev/mtd0
             error 2 (No such file or directory)
UTP: sending Non-success to kernel for command $ flash_erase /dev/mtd0 0 0.
utp_poll: exit with status 65280

Is mfgtool2-yocto-mx-sabresd-nand.vbs the right file to flash NAND for iMX7dsabresd board or I need to create my own script?
I checked the iMX Yocto Project Guide, iMX Linux User Guide, MfgTool2 documentation, but was not able to figure out. Could you provide the steps to flash NAND?

Best Regards,
Carlos


________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.

[-- Attachment #2: Type: text/html, Size: 7040 bytes --]

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

* Re: How to use mfgtool 2 to boot iMX7dsabresd from NAND
  2017-07-06 19:14 How to use mfgtool 2 to boot iMX7dsabresd from NAND Bejar-Colonia, Carlos
@ 2017-07-07 19:29 ` Daiane Angolini
  2017-07-07 19:54   ` Bejar-Colonia, Carlos
  2017-07-07 20:04   ` Bas Mevissen
  0 siblings, 2 replies; 5+ messages in thread
From: Daiane Angolini @ 2017-07-07 19:29 UTC (permalink / raw)
  To: Bejar-Colonia, Carlos; +Cc: meta-freescale

On Thu, Jul 6, 2017 at 4:14 PM, Bejar-Colonia, Carlos
<carlos.bejar-colonia@philips.com> wrote:
> Dear NXP,
>
>
>
> I have an iMX7dsabresd board and would like to boot it from NAND using
> MfgTool V2.

Have you tried your NAND already? I mean, have you flashed it
manually? Only to make sure all the support is in place?

>
> I have tried to use mfgtool2-yocto-mx-sabresd-nand.vbs script provided in
> MfgTool V2, but failed.
>
> I replaced the “sabreauto” with “sabresd” in the same script and I also
> rebuild Mfg Tools firmware (fsl-arm-yocto-bsp.git) and updated
> fsl-image-mfgtool-initramfs-imx7dsabresd.cpio.gz.u-boot in the MfgTool. But
> still fails
>

I would prefer to use the scripts with the board name included.
Anyway, can you, please, share the exact version of mfgtools you are
using only to make sure we're in the same page?


>
>
> These are the last lines from the console output:
>
>
>
> UTP: received command '$ mount -t debugfs debugfs /sys/kernel/debug'
> UTP: executing "mount -t debugfs debugfs /sys/kernel/debug"
> UTP: sending Success to kernel for command $ mount -t debugfs debugfs
> /sys/kernel/debug.
> utp_poll: pass returned.
> UTP: received command '$ flash_erase /dev/mtd0 0 0'
> UTP: executing "flash_erase /dev/mtd0 0 0"
> flash_erase: error!: /dev/mtd0
>              error 2 (No such file or directory)
> UTP: sending Non-success to kernel for command $ flash_erase /dev/mtd0 0 0.
> utp_poll: exit with status 65280
>
>
>
> Is mfgtool2-yocto-mx-sabresd-nand.vbs the right file to flash NAND for
> iMX7dsabresd board or I need to create my own script?
>
> I checked the iMX Yocto Project Guide, iMX Linux User Guide, MfgTool2
> documentation, but was not able to figure out. Could you provide the steps
> to flash NAND?

As far as I know, only the MfgTool documentation can help on this.

Do you really need to use mfgtool?

Daiane
>
>
>
> Best Regards,
>
> Carlos
>
>
>
>
> ________________________________
> The information contained in this message may be confidential and legally
> protected under applicable law. The message is intended solely for the
> addressee(s). If you are not the intended recipient, you are hereby notified
> that any use, forwarding, dissemination, or reproduction of this message is
> strictly prohibited and may be unlawful. If you are not the intended
> recipient, please contact the sender by return e-mail and destroy all copies
> of the original message.
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


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

* Re: How to use mfgtool 2 to boot iMX7dsabresd from NAND
  2017-07-07 19:29 ` Daiane Angolini
@ 2017-07-07 19:54   ` Bejar-Colonia, Carlos
  2017-07-11 13:22     ` Daiane Angolini
  2017-07-07 20:04   ` Bas Mevissen
  1 sibling, 1 reply; 5+ messages in thread
From: Bejar-Colonia, Carlos @ 2017-07-07 19:54 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale

Hi Daiane,

I haven't flashed the NAND manually yet. I am new to Yocto Project-based image build and having some difficulties to build the image (NAND boot, UBIFS file system), I thought I would try first loading the images that comes in MfgTool.

I am using L4.1.15_1.2.0_ga-mfg-tools.tar.gz. and we would like to use it for flashing new boards

Thanks,
Carlos

-----Original Message-----
From: angolini@gmail.com [mailto:angolini@gmail.com] On Behalf Of Daiane Angolini
Sent: Friday, July 07, 2017 3:29 PM
To: Bejar-Colonia, Carlos <carlos.bejar-colonia@philips.com>
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] How to use mfgtool 2 to boot iMX7dsabresd from NAND

On Thu, Jul 6, 2017 at 4:14 PM, Bejar-Colonia, Carlos <carlos.bejar-colonia@philips.com> wrote:
> Dear NXP,
>
>
>
> I have an iMX7dsabresd board and would like to boot it from NAND using
> MfgTool V2.

Have you tried your NAND already? I mean, have you flashed it manually? Only to make sure all the support is in place?

>
> I have tried to use mfgtool2-yocto-mx-sabresd-nand.vbs script provided
> in MfgTool V2, but failed.
>
> I replaced the “sabreauto” with “sabresd” in the same script and I
> also rebuild Mfg Tools firmware (fsl-arm-yocto-bsp.git) and updated
> fsl-image-mfgtool-initramfs-imx7dsabresd.cpio.gz.u-boot in the
> MfgTool. But still fails
>

I would prefer to use the scripts with the board name included.
Anyway, can you, please, share the exact version of mfgtools you are using only to make sure we're in the same page?


>
>
> These are the last lines from the console output:
>
>
>
> UTP: received command '$ mount -t debugfs debugfs /sys/kernel/debug'
> UTP: executing "mount -t debugfs debugfs /sys/kernel/debug"
> UTP: sending Success to kernel for command $ mount -t debugfs debugfs
> /sys/kernel/debug.
> utp_poll: pass returned.
> UTP: received command '$ flash_erase /dev/mtd0 0 0'
> UTP: executing "flash_erase /dev/mtd0 0 0"
> flash_erase: error!: /dev/mtd0
>              error 2 (No such file or directory)
> UTP: sending Non-success to kernel for command $ flash_erase /dev/mtd0 0 0.
> utp_poll: exit with status 65280
>
>
>
> Is mfgtool2-yocto-mx-sabresd-nand.vbs the right file to flash NAND for
> iMX7dsabresd board or I need to create my own script?
>
> I checked the iMX Yocto Project Guide, iMX Linux User Guide, MfgTool2
> documentation, but was not able to figure out. Could you provide the
> steps to flash NAND?

As far as I know, only the MfgTool documentation can help on this.

Do you really need to use mfgtool?

Daiane
>
>
>
> Best Regards,
>
> Carlos
>
>
>
>
> ________________________________
> The information contained in this message may be confidential and
> legally protected under applicable law. The message is intended solely
> for the addressee(s). If you are not the intended recipient, you are
> hereby notified that any use, forwarding, dissemination, or
> reproduction of this message is strictly prohibited and may be
> unlawful. If you are not the intended recipient, please contact the
> sender by return e-mail and destroy all copies of the original message.
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>

________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.

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

* Re: How to use mfgtool 2 to boot iMX7dsabresd from NAND
  2017-07-07 19:29 ` Daiane Angolini
  2017-07-07 19:54   ` Bejar-Colonia, Carlos
@ 2017-07-07 20:04   ` Bas Mevissen
  1 sibling, 0 replies; 5+ messages in thread
From: Bas Mevissen @ 2017-07-07 20:04 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale





Bas Mevissen
> On 7 Jul 2017, at 21:29, Daiane Angolini <daiane.list@gmail.com> wrote:
> 
> On Thu, Jul 6, 2017 at 4:14 PM, Bejar-Colonia, Carlos
> <carlos.bejar-colonia@philips.com> wrote:
>> Dear NXP,
>> 
>> 
>> 
>> I have an iMX7dsabresd board and would like to boot it from NAND using
>> MfgTool V2.
> 
> Have you tried your NAND already? I mean, have you flashed it
> manually? Only to make sure all the support is in place?
> 
>> 


First make sure the actual hardware is there, as these boards come without the nand populated.


Bas.


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

* Re: How to use mfgtool 2 to boot iMX7dsabresd from NAND
  2017-07-07 19:54   ` Bejar-Colonia, Carlos
@ 2017-07-11 13:22     ` Daiane Angolini
  0 siblings, 0 replies; 5+ messages in thread
From: Daiane Angolini @ 2017-07-11 13:22 UTC (permalink / raw)
  To: Bejar-Colonia, Carlos; +Cc: meta-freescale

On Fri, Jul 7, 2017 at 4:54 PM, Bejar-Colonia, Carlos
<carlos.bejar-colonia@philips.com> wrote:
> Hi Daiane,
>
> I haven't flashed the NAND manually yet. I am new to Yocto Project-based image build and having some difficulties to build the image (NAND boot, UBIFS file system), I thought I would try first loading the images that comes in MfgTool.

I don't have NAND to try on my imx7D board, so I have no idea if
mfgtools works out of box or not.

However, I would first start booting from sdcard, then you manually
copy the image from NAND and boot from there

Only to make sure your hardware is OK

Daiane
>
> I am using L4.1.15_1.2.0_ga-mfg-tools.tar.gz. and we would like to use it for flashing new boards
>
> Thanks,
> Carlos
>
> -----Original Message-----
> From: angolini@gmail.com [mailto:angolini@gmail.com] On Behalf Of Daiane Angolini
> Sent: Friday, July 07, 2017 3:29 PM
> To: Bejar-Colonia, Carlos <carlos.bejar-colonia@philips.com>
> Cc: meta-freescale@yoctoproject.org
> Subject: Re: [meta-freescale] How to use mfgtool 2 to boot iMX7dsabresd from NAND
>
> On Thu, Jul 6, 2017 at 4:14 PM, Bejar-Colonia, Carlos <carlos.bejar-colonia@philips.com> wrote:
>> Dear NXP,
>>
>>
>>
>> I have an iMX7dsabresd board and would like to boot it from NAND using
>> MfgTool V2.
>
> Have you tried your NAND already? I mean, have you flashed it manually? Only to make sure all the support is in place?
>
>>
>> I have tried to use mfgtool2-yocto-mx-sabresd-nand.vbs script provided
>> in MfgTool V2, but failed.
>>
>> I replaced the “sabreauto” with “sabresd” in the same script and I
>> also rebuild Mfg Tools firmware (fsl-arm-yocto-bsp.git) and updated
>> fsl-image-mfgtool-initramfs-imx7dsabresd.cpio.gz.u-boot in the
>> MfgTool. But still fails
>>
>
> I would prefer to use the scripts with the board name included.
> Anyway, can you, please, share the exact version of mfgtools you are using only to make sure we're in the same page?
>
>
>>
>>
>> These are the last lines from the console output:
>>
>>
>>
>> UTP: received command '$ mount -t debugfs debugfs /sys/kernel/debug'
>> UTP: executing "mount -t debugfs debugfs /sys/kernel/debug"
>> UTP: sending Success to kernel for command $ mount -t debugfs debugfs
>> /sys/kernel/debug.
>> utp_poll: pass returned.
>> UTP: received command '$ flash_erase /dev/mtd0 0 0'
>> UTP: executing "flash_erase /dev/mtd0 0 0"
>> flash_erase: error!: /dev/mtd0
>>              error 2 (No such file or directory)
>> UTP: sending Non-success to kernel for command $ flash_erase /dev/mtd0 0 0.
>> utp_poll: exit with status 65280
>>
>>
>>
>> Is mfgtool2-yocto-mx-sabresd-nand.vbs the right file to flash NAND for
>> iMX7dsabresd board or I need to create my own script?
>>
>> I checked the iMX Yocto Project Guide, iMX Linux User Guide, MfgTool2
>> documentation, but was not able to figure out. Could you provide the
>> steps to flash NAND?
>
> As far as I know, only the MfgTool documentation can help on this.
>
> Do you really need to use mfgtool?
>
> Daiane
>>
>>
>>
>> Best Regards,
>>
>> Carlos
>>
>>
>>
>>
>> ________________________________
>> The information contained in this message may be confidential and
>> legally protected under applicable law. The message is intended solely
>> for the addressee(s). If you are not the intended recipient, you are
>> hereby notified that any use, forwarding, dissemination, or
>> reproduction of this message is strictly prohibited and may be
>> unlawful. If you are not the intended recipient, please contact the
>> sender by return e-mail and destroy all copies of the original message.
>>
>> --
>> _______________________________________________
>> meta-freescale mailing list
>> meta-freescale@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale
>>
>
> ________________________________
> The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.


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

end of thread, other threads:[~2017-07-11 13:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-06 19:14 How to use mfgtool 2 to boot iMX7dsabresd from NAND Bejar-Colonia, Carlos
2017-07-07 19:29 ` Daiane Angolini
2017-07-07 19:54   ` Bejar-Colonia, Carlos
2017-07-11 13:22     ` Daiane Angolini
2017-07-07 20:04   ` Bas Mevissen

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.