10 Oct, 2014

30 commits


08 Oct, 2014

1 commit

  • In order for the gmac nic to work reliable on the Bananapi, we need to set
    bits 10-12 GTXDC "GMAC Transmit Clock Delay Chain" of the GMAC clk register
    (0x01c20164) to 3.

    Without this about 9 out of 10 ethernet packets get lost, with this setting
    there is no packet loss.

    So far setting these bits is only necessary on the Bananapi, so this commit
    solves this with a bit of #ifdef CONFIG_BANANAPI code. If in the future we
    need to do something similar for other boards, we can create a specific
    CONFIG_FOO option for this then.

    Reported-by: Karsten Merker
    Signed-off-by: Hans de Goede
    Tested-by: Karsten Merker
    Tested-by: Zoltan HERPAI
    Tested-by: Tony Zhang
    Acked-by: Ian Campbell

    Hans de Goede
     

07 Oct, 2014

8 commits


06 Oct, 2014

1 commit

  • Enable and use the CONFIG_CMD_FS_GENERIC to avoid hard-coding the
    filesystem type into the environment.

    Signed-off-by: Marek Vasut
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Albert Aribaud
    Cc: Tom Rini
    Cc: Wolfgang Denk
    Cc: Pavel Machek
    Acked-by: Pavel Machek

    Marek Vasut