All of lore.kernel.org
 help / color / mirror / Atom feed
* Meta-yocto-bsp fails to boot with META-TI [ Yocto-2.6.1]
@ 2019-05-05 14:42 AshishKumar Mishra
  2019-05-07 16:51 ` Robert Nelson
  0 siblings, 1 reply; 4+ messages in thread
From: AshishKumar Mishra @ 2019-05-05 14:42 UTC (permalink / raw)
  To: meta-ti, linux-yocto

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

Hi All ,
I am starting to learn Yocto & following the manual from the Yocto website

I have added meta-ti to yocto and create the images

Can team please provide some pointer to resolve the below error
or let me know if i am doing any thing wong.

When flashed the images on SD card , the uboot is struck with below
mentioned error


U-Boot#
U-Boot#
U-Boot#

U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)

I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment

Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot:  0
gpio: pin 53 (gpio 53) value is 1
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt
** Unable to read file uEnv.txt **
Checking if uenvcmd is set ...

uenvcmd was not defined in uEnv.txt ...
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
mmc1(part 0) is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 1
reading uEnv.txt
1430 bytes read in 5 ms (279.3 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from uEnv.txt
Importing environment from mmc ...
Checking if uenvcmd is set ...
gpio: pin 56 (gpio 56) value is 1
Running uenvcmd ...
reading zImage
3717760 bytes read in 205 ms (17.3 MiB/s)
reading initrd.img
2869068 bytes read in 160 ms (17.1 MiB/s)
reading /dtbs/am335x-boneblack.dtb
** Unable to read file /dtbs/am335x-boneblack.dtb **
Kernel image @ 0x82000000 [ 0x000000 - 0x38ba80 ]
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree

uenvcmd was not defined in uEnv.txt ...
Booting from nand ...

no devices available

no devices available
Kernel image @ 0x82000000 [ 0x000000 - 0x38ba80 ]
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
U-Boot#
U-Boot#

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

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

* Re: Meta-yocto-bsp fails to boot with META-TI [ Yocto-2.6.1]
  2019-05-05 14:42 Meta-yocto-bsp fails to boot with META-TI [ Yocto-2.6.1] AshishKumar Mishra
@ 2019-05-07 16:51 ` Robert Nelson
  2019-05-07 17:14   ` Denys Dmytriyenko
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Nelson @ 2019-05-07 16:51 UTC (permalink / raw)
  To: AshishKumar Mishra; +Cc: meta-ti, linux-yocto

On Sun, May 5, 2019 at 9:43 AM AshishKumar Mishra
<ashish.emailaddress@gmail.com> wrote:
>
> Hi All ,
> I am starting to learn Yocto & following the manual from the Yocto website
>
> I have added meta-ti to yocto and create the images
>
> Can team please provide some pointer to resolve the below error
> or let me know if i am doing any thing wong.
>
> When flashed the images on SD card , the uboot is struck with below mentioned error
>
>
> U-Boot#
> U-Boot#
> U-Boot#
> U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
> reading args
> spl_load_image_fat_os: error reading image args, err - -1
> reading u-boot.img
> reading u-boot.img
>
>
> U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)

Clear out your eMMC, you have a really old build of u-boot installed
to eMMC that is blocking your new image..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/


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

* Re: Meta-yocto-bsp fails to boot with META-TI [ Yocto-2.6.1]
  2019-05-07 16:51 ` Robert Nelson
@ 2019-05-07 17:14   ` Denys Dmytriyenko
  2019-05-08 15:17     ` AshishKumar Mishra
  0 siblings, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2019-05-07 17:14 UTC (permalink / raw)
  To: Robert Nelson; +Cc: meta-ti, linux-yocto, AshishKumar Mishra

On Tue, May 07, 2019 at 11:51:41AM -0500, Robert Nelson wrote:
> On Sun, May 5, 2019 at 9:43 AM AshishKumar Mishra
> <ashish.emailaddress@gmail.com> wrote:
> >
> > Hi All ,
> > I am starting to learn Yocto & following the manual from the Yocto website
> >
> > I have added meta-ti to yocto and create the images
> >
> > Can team please provide some pointer to resolve the below error
> > or let me know if i am doing any thing wong.
> >
> > When flashed the images on SD card , the uboot is struck with below mentioned error
> >
> >
> > U-Boot#
> > U-Boot#
> > U-Boot#
> > U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
> > reading args
> > spl_load_image_fat_os: error reading image args, err - -1
> > reading u-boot.img
> > reading u-boot.img
> >
> >
> > U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
> 
> Clear out your eMMC, you have a really old build of u-boot installed
> to eMMC that is blocking your new image..

Yes, I even had that mentioned in the corresponding README:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-yocto/tree/meta-yocto-bsp/README.hardware#n134

Denys


> Regards,
> 
> -- 
> Robert Nelson
> https://rcn-ee.com/
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


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

* Re: Meta-yocto-bsp fails to boot with META-TI [ Yocto-2.6.1]
  2019-05-07 17:14   ` Denys Dmytriyenko
@ 2019-05-08 15:17     ` AshishKumar Mishra
  0 siblings, 0 replies; 4+ messages in thread
From: AshishKumar Mishra @ 2019-05-08 15:17 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti, linux-yocto

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

HI Denys / Robert ,

Thanks , got the board boot up now.
Followed below mentioned steps ( just in case if any one face similar
problem )

1) Erase the MMC
    => mmc dev 1
    => mmc erase 0 512

2) Install TFTP server on host
https://askubuntu.com/questions/201505/how-do-i-install-and-run-a-tftp-server

3) Transfer the dtb & zImage
=> setenv gatewayip 192.168.1.1
=> setenv ipaddr 192.168.1.2
=> setenv serverip 192.168.1.3
=> ping 192.168.1.3
 => tftp 0x82000000 zImage
=> tftp 0x88000000 am335x-boneblack.dtb
=> bootz 0x82000000 - 0x88000000

Thanks
Ashish











On Tue, May 7, 2019 at 10:44 PM Denys Dmytriyenko <denys@ti.com> wrote:

> On Tue, May 07, 2019 at 11:51:41AM -0500, Robert Nelson wrote:
> > On Sun, May 5, 2019 at 9:43 AM AshishKumar Mishra
> > <ashish.emailaddress@gmail.com> wrote:
> > >
> > > Hi All ,
> > > I am starting to learn Yocto & following the manual from the Yocto
> website
> > >
> > > I have added meta-ti to yocto and create the images
> > >
> > > Can team please provide some pointer to resolve the below error
> > > or let me know if i am doing any thing wong.
> > >
> > > When flashed the images on SD card , the uboot is struck with below
> mentioned error
> > >
> > >
> > > U-Boot#
> > > U-Boot#
> > > U-Boot#
> > > U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
> > > reading args
> > > spl_load_image_fat_os: error reading image args, err - -1
> > > reading u-boot.img
> > > reading u-boot.img
> > >
> > >
> > > U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
> >
> > Clear out your eMMC, you have a really old build of u-boot installed
> > to eMMC that is blocking your new image..
>
> Yes, I even had that mentioned in the corresponding README:
>
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-yocto/tree/meta-yocto-bsp/README.hardware#n134
>
> Denys
>
>
> > Regards,
> >
> > --
> > Robert Nelson
> > https://rcn-ee.com/
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
>

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

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

end of thread, other threads:[~2019-05-08 15:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-05 14:42 Meta-yocto-bsp fails to boot with META-TI [ Yocto-2.6.1] AshishKumar Mishra
2019-05-07 16:51 ` Robert Nelson
2019-05-07 17:14   ` Denys Dmytriyenko
2019-05-08 15:17     ` AshishKumar Mishra

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.