All of lore.kernel.org
 help / color / mirror / Atom feed
* am335x_evm: failed to boot via USB
@ 2021-08-04 20:38 Matwey V. Kornilov
  2021-08-04 22:39 ` Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: Matwey V. Kornilov @ 2021-08-04 20:38 UTC (permalink / raw)
  To: U-Boot Mailing List

Hi,

I am trying to boot an am335x based board (BeagleBone Black) from USB
using v2021.07. I see the following issue when trying to boot via USB
(USB based network):


U-Boot SPL 2021.07-00013-gd0f1ad9f23 (Aug 02 2021 - 21:29:57 +0300)
Trying to boot from USB eth
## Error: flags type check failure for "ethaddr" <= "40309614M" (type: m)
## Error inserting "ethaddr" variable, errno=1
eth0: eth_cpsw## Error: flags type check failure for "eth1addr" <=
"81f01114M" (type: m)
## Error inserting "eth1addr" variable, errno=1
, eth1: usb_ether
eth_cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
Problem booting with BOOTP
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###


I suppose that _env_flags_validate_type doesn't like this "M" suffix.
But I don't know where it came from.

-- 
With best regards,
Matwey V. Kornilov

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

* Re: am335x_evm: failed to boot via USB
  2021-08-04 20:38 am335x_evm: failed to boot via USB Matwey V. Kornilov
@ 2021-08-04 22:39 ` Tom Rini
  2021-08-05  7:59   ` Matwey V. Kornilov
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Rini @ 2021-08-04 22:39 UTC (permalink / raw)
  To: Matwey V. Kornilov; +Cc: U-Boot Mailing List

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

On Wed, Aug 04, 2021 at 11:38:02PM +0300, Matwey V. Kornilov wrote:

> Hi,
> 
> I am trying to boot an am335x based board (BeagleBone Black) from USB
> using v2021.07. I see the following issue when trying to boot via USB
> (USB based network):
> 
> 
> U-Boot SPL 2021.07-00013-gd0f1ad9f23 (Aug 02 2021 - 21:29:57 +0300)
> Trying to boot from USB eth
> ## Error: flags type check failure for "ethaddr" <= "40309614M" (type: m)
> ## Error inserting "ethaddr" variable, errno=1
> eth0: eth_cpsw## Error: flags type check failure for "eth1addr" <=
> "81f01114M" (type: m)
> ## Error inserting "eth1addr" variable, errno=1
> , eth1: usb_ether
> eth_cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
> Problem booting with BOOTP
> SPL: failed to boot from all boot devices
> ### ERROR ### Please RESET the board ###
> 
> 
> I suppose that _env_flags_validate_type doesn't like this "M" suffix.
> But I don't know where it came from.

What does the environment look like here?

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

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

* Re: am335x_evm: failed to boot via USB
  2021-08-04 22:39 ` Tom Rini
@ 2021-08-05  7:59   ` Matwey V. Kornilov
  2021-08-05 11:43     ` Matwey V. Kornilov
  0 siblings, 1 reply; 4+ messages in thread
From: Matwey V. Kornilov @ 2021-08-05  7:59 UTC (permalink / raw)
  To: Tom Rini; +Cc: U-Boot Mailing List

чт, 5 авг. 2021 г. в 01:39, Tom Rini <trini@konsulko.com>:
>
> On Wed, Aug 04, 2021 at 11:38:02PM +0300, Matwey V. Kornilov wrote:
>
> > Hi,
> >
> > I am trying to boot an am335x based board (BeagleBone Black) from USB
> > using v2021.07. I see the following issue when trying to boot via USB
> > (USB based network):
> >
> >
> > U-Boot SPL 2021.07-00013-gd0f1ad9f23 (Aug 02 2021 - 21:29:57 +0300)
> > Trying to boot from USB eth
> > ## Error: flags type check failure for "ethaddr" <= "40309614M" (type: m)
> > ## Error inserting "ethaddr" variable, errno=1
> > eth0: eth_cpsw## Error: flags type check failure for "eth1addr" <=
> > "81f01114M" (type: m)
> > ## Error inserting "eth1addr" variable, errno=1
> > , eth1: usb_ether
> > eth_cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
> > Problem booting with BOOTP
> > SPL: failed to boot from all boot devices
> > ### ERROR ### Please RESET the board ###
> >
> >
> > I suppose that _env_flags_validate_type doesn't like this "M" suffix.
> > But I don't know where it came from.
>
> What does the environment look like here?

How could I ask SPL about the environment? I suppose the environment
is clean/default, there is no source for it.

>
> --
> Tom



-- 
With best regards,
Matwey V. Kornilov

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

* Re: am335x_evm: failed to boot via USB
  2021-08-05  7:59   ` Matwey V. Kornilov
@ 2021-08-05 11:43     ` Matwey V. Kornilov
  0 siblings, 0 replies; 4+ messages in thread
From: Matwey V. Kornilov @ 2021-08-05 11:43 UTC (permalink / raw)
  To: Tom Rini; +Cc: U-Boot Mailing List

чт, 5 авг. 2021 г. в 10:59, Matwey V. Kornilov <matwey.kornilov@gmail.com>:
>
> чт, 5 авг. 2021 г. в 01:39, Tom Rini <trini@konsulko.com>:
> >
> > On Wed, Aug 04, 2021 at 11:38:02PM +0300, Matwey V. Kornilov wrote:
> >
> > > Hi,
> > >
> > > I am trying to boot an am335x based board (BeagleBone Black) from USB
> > > using v2021.07. I see the following issue when trying to boot via USB
> > > (USB based network):
> > >
> > >
> > > U-Boot SPL 2021.07-00013-gd0f1ad9f23 (Aug 02 2021 - 21:29:57 +0300)
> > > Trying to boot from USB eth
> > > ## Error: flags type check failure for "ethaddr" <= "40309614M" (type: m)
> > > ## Error inserting "ethaddr" variable, errno=1
> > > eth0: eth_cpsw## Error: flags type check failure for "eth1addr" <=
> > > "81f01114M" (type: m)
> > > ## Error inserting "eth1addr" variable, errno=1
> > > , eth1: usb_ether
> > > eth_cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
> > > Problem booting with BOOTP
> > > SPL: failed to boot from all boot devices
> > > ### ERROR ### Please RESET the board ###
> > >
> > >
> > > I suppose that _env_flags_validate_type doesn't like this "M" suffix.
> > > But I don't know where it came from.
> >
> > What does the environment look like here?
>
> How could I ask SPL about the environment? I suppose the environment
> is clean/default, there is no source for it.

It looks like sprintf doesn't like the %pM format in eth_env_set_enetaddr().

>
> >
> > --
> > Tom
>
>
>
> --
> With best regards,
> Matwey V. Kornilov



-- 
With best regards,
Matwey V. Kornilov

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

end of thread, other threads:[~2021-08-05 11:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04 20:38 am335x_evm: failed to boot via USB Matwey V. Kornilov
2021-08-04 22:39 ` Tom Rini
2021-08-05  7:59   ` Matwey V. Kornilov
2021-08-05 11:43     ` Matwey V. Kornilov

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.