am335x_evm: failed to boot via USB

Matwey V. Kornilov matwey.kornilov at gmail.com
Thu Aug 5 13:43:42 CEST 2021


чт, 5 авг. 2021 г. в 10:59, Matwey V. Kornilov <matwey.kornilov at gmail.com>:
>
> чт, 5 авг. 2021 г. в 01:39, Tom Rini <trini at 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


More information about the U-Boot mailing list