Skip to content

From Simon:

Heiko Stübner u-boot 4 versions – New

Get series with b4
b4 am 4246938.3VVpPakhu8@diego

Versions newest first · linked by author and title

  1. v3 Latest posting 4/40 of 9 patches 0 repliesNew
  2. v3 posting 3/40 of 9 patches 0 repliesSuperseded
  3. v3 posting 2/40 of 9 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v3 posting 1/41 of 9 patches0 repliesSuperseded

Patches in v3 posting 4/4 No applies recorded yet

None of the 9 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/9] From Simon:

Am Mittwoch, 30. November 2016, 19:20:30 schrieb Simon Glass:

Quoted 82 lines

Hi Heiko,

Quoted 79 lines · Heiko St?bner

Am Dienstag, 29. November 2016, 19:47:10 schrieb Simon Glass:

Quoted 77 lines

Hi Heiko,

Quoted 63 lines · Heiko St?bner

Hi Simon,

Am Sonntag, 27. November 2016, 10:01:40 schrieb Simon Glass:

Quoted 7 lines

This v3 patch is an update on Sjoerd's original v2 series from Feburary.
I have dealt with the changes requested at the time, and adjusted the way
that the speed change is handled.

Tested on firefly-rk3288, rock2.

Tested on a firefly as well. Though I get mixed results in my netboot environment. At 100MBit (manually limited) everything seems fine:

----------------------
Speed: 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.140.58 (269 ms) Using ethernet at ff290000 device
TFTP from server 192.168.140.1; our IP address is 192.168.140.58 Filename 'hstuebner/firefly.vmlinuz'.
Load address: 0x4000000
Loading:
#################################################################

         ##############################################################
         ###
         ##############################################################
         ###
         ##############################################################
         ###
         ##############################################################
         ###
         ##############################################################
         ###
         ##############################################################
         ###
         #########################
         2.9 MiB/s

done
Bytes transferred = 7033483 (6b528b hex)
----------------------

5 out of 5 boots worked fine.

but at 1000MHz I only get:

----------------------
Speed: 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.140.57 (270 ms) Using ethernet at ff290000 device
TFTP from server 192.168.140.1; our IP address is 192.168.140.57 Filename 'hstuebner/firefly.vmlinuz'.
Load address: 0x4000000
Loading: #####T #T #T ##T T #T #T T ####T #T #### Retry count exceeded; starting again
----------------------

Quoted 7 lines

on 5 boots. 1 lonely boot also worked at 1000MBit for some unknown reason.
I'm not sure if just my switch is some special snowflake (TL-SG1024 from
TP- Link) or there is some other voodoo at work here.

The rootfs over nfs seems to work fine on 1000MBit though.

Yes I see some timeouts, although I don't think it is anything to do with the driver conversion. Or does this not happen unless my patches are applied?

Quoted 6 lines
Quoted 3 lines

nope, really looks like some other parts are just not fast enough? And the setup of GRF and so on, look the same as in the linux kernel, so should be fine as well.

So to be clear, are you saying that the same problem happens on a downstream tree that you tried, or not?

nope, didn't say that. The firefly actually is my first board using the internal ethernet. My other boards normally use usb-ethernet adapters as the arc-emac used in other socs isn't supported at all yet.

Quoted 3 lines

In terms of 'not fast enough' you could try turning off HDMI if that is on. Also see veyron_init() and see if you can adapt that to firefly to get the clock speed up?

Sadly not until after the 11th of december. But I guess we could just merge it now and hopefully fixup the special case later on. It seems to work always at 100MBit and it seems also at 1000MBit on your side.

Heiko